:root {
  --paper: #f5f8ff;
  --surface: #ffffff;
  --ink: #191c27;
  --muted: #566176;
  --line: #d8e2f0;
  --green: #006b80;
  --accent: #c51d65;
  --accent-hover: #9b1450;
  --show-surface: #d2fff3;
  --show-line: #47d9c1;
  --body-font: "Avenir Next", "Trebuchet MS", sans-serif;
  --display-font: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body-font); font-size: 17px; line-height: 1.7; letter-spacing: 0; }
img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--green); text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2 { font-family: var(--display-font); line-height: 1.15; font-weight: 500; text-wrap: balance; overflow-wrap: anywhere; }
h1 { margin: 0; font-size: 48px; }
h2 { margin: 2.8rem 0 1.2rem; font-size: 30px; scroll-margin-top: 2rem; }
h3, h4 { font-size: 22px; line-height: 1.3; }
p { margin: 0 0 1.4rem; }
hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }
ol, ul { padding-left: 1.5rem; }
li { margin-bottom: .65rem; }
iframe { width: 100%; max-width: 640px; aspect-ratio: 16 / 9; height: auto; border: 0; }
.skip-link { position: absolute; top: 1rem; left: 1rem; z-index: 10; padding: .6rem 1rem; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; max-width: 1280px; margin: auto; padding: 1.1rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { display: flex; align-items: center; min-width: 0; margin-right: auto; gap: .8rem; color: var(--ink); text-decoration: none; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand span { font-family: var(--display-font); font-size: 25px; white-space: nowrap; }
.booking-link { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 44px; padding: .5rem .8rem; color: white; background: var(--accent); border-radius: 4px; font-size: 14px; font-weight: 600; text-decoration: none; text-align: center; }
.booking-link:hover { color: white; background: var(--accent-hover); }
.language-switch { display: flex; flex: 0 0 auto; gap: .2rem; }
.language-switch button { width: 36px; min-height: 44px; padding: .3rem; border: 0; border-radius: 4px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: transparent; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: var(--ink); color: white; }
.language-switch button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hero { position: relative; width: 100%; margin: 0; height: min(480px, 58svh); min-height: 280px; background: var(--ink); overflow: hidden; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 65%), transparent 60%); pointer-events: none; }
.hero-copy { position: absolute; left: max(2.5rem, calc((100% - 1200px) / 2)); bottom: 2.5rem; right: 2rem; color: white; z-index: 1; }
.hero-copy h1 { font-size: 64px; }
.eyebrow { font-size: 13px; margin-bottom: .6rem; text-transform: uppercase; }
.photo-credit { max-width: 1280px; margin: auto; padding: .6rem 2.5rem 0; color: var(--muted); font-size: 12px; }
.page-heading { max-width: 1280px; margin: auto; padding: 3.5rem 2.5rem 2.5rem; border-bottom: 1px solid var(--line); }
.page-heading .eyebrow { color: var(--green); }
.page-layout { max-width: 1280px; margin: auto; padding: 2.5rem; }
.page-layout.with-index { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 3.5rem; }
.content { min-width: 0; max-width: 880px; }
.content > p { max-width: 72ch; }
.content > hr:first-child { display: none; }
.content > h2:first-child { margin-top: 0; }
.page-om-koren .content { max-width: none; }
.page-om-koren .content > p:first-of-type { font-family: var(--display-font); font-size: 25px; line-height: 1.5; max-width: 72ch; }
.page-om-koren .content > p[lang] { font-family: var(--body-font); font-size: 17px; }
.page-index { min-width: 0; }
.page-index details { position: sticky; top: 2rem; max-height: calc(100svh - 4rem); overflow-y: auto; scrollbar-width: thin; }
.page-index summary { padding: .4rem 0 1rem; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.page-index nav { display: grid; gap: .2rem; padding-right: .6rem; }
.page-index a { display: block; padding: .55rem 0; font-size: 14px; line-height: 1.4; text-decoration: none; border-bottom: 1px solid var(--line); }
.media-layout { margin: 1.5rem 0 2rem; }
.project-flyer { margin: 0 0 2rem; }
.project-flyer img { display: block; width: 100%; height: auto; }
.project-flyer figcaption { margin-top: .6rem; font-size: 14px; }
.media-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.media-column { flex: 1 1 250px; min-width: 0; }
.media-column img { max-height: 520px; object-fit: contain; object-position: left; }
.media-column i { font-size: 13px; color: var(--muted); }
.content > p > img, .content > img { max-height: 520px; width: auto; object-fit: contain; margin: .5rem .5rem .5rem 0; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 1.2rem 0 2.5rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: 16px; text-align: left; }
.data-table th, .data-table td { padding: .85rem .9rem; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.data-table th { width: 24%; font-weight: 500; color: var(--muted); }
.data-table tr:nth-child(odd) { background: rgb(255 255 255 / 70%); }
.page-styrelse .data-table th { width: 25%; }
.page-styrelse .data-table td { min-width: 150px; }
.directory { display: grid; gap: 1rem; font-size: 24px; }
.site-footer { border-top: 3px solid var(--green); background: var(--surface); margin-top: 2rem; }
.footer-inner { max-width: 1280px; margin: auto; padding: 2.5rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer-contact { min-width: 0; }
.footer-contact h2 { margin: 0 0 1.5rem; font-size: 27px; }
.footer-contact p { font-size: 14px; }
.site-footer .footer-history { display: grid; gap: .8rem; min-width: 0; }
.footer-history h2 { margin: 0 0 .7rem; font-size: 27px; }
.site-footer .footer-links { display: grid; gap: .8rem; }
.footer-meta { max-width: 1280px; margin: auto; padding: 0 2.5rem 2rem; color: var(--muted); font-size: 12px; }
.footer-meta p { margin-bottom: .4rem; }
.booking-photo { display: block; width: auto; max-height: 580px; margin: 0 auto 2.5rem; }
.booking-content h2 { font-size: 26px; }
.booking-content ul { padding-left: 1.5rem; }
.footer-name { margin: 0; font-family: var(--display-font); font-size: 25px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; font-size: 14px; }

@media (max-width: 1100px) {
  .page-layout.with-index { grid-template-columns: 190px minmax(0, 1fr); gap: 2rem; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-inner, .page-heading, .page-layout, .footer-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .header-inner { padding-top: .8rem; padding-bottom: .7rem; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .6rem; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 23px; }
  .brand { gap: .4rem; }
  .brand span { font-size: 18px; white-space: normal; line-height: 1.1; }
  .language-switch { gap: 0; }
  .language-switch button { width: 31px; }
  .booking-link { font-size: 13px; padding: .4rem .6rem; }
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .hero { height: min(360px, 43svh); min-height: 200px; }
  .hero-photo { object-position: center; }
  .hero-copy { left: 1.25rem; right: 1.25rem; bottom: 1.8rem; }
  .hero-copy h1 { font-size: 44px; }
  .photo-credit { padding-left: 1.25rem; padding-right: 1.25rem; }
  .page-heading { padding-top: 2rem; padding-bottom: 2rem; }
  .page-layout { padding-top: 1.8rem; }
  .page-layout.with-index { display: block; }
  .page-index { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
  .page-index details { position: static; max-height: none; }
  .page-index nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
  .page-index a { max-width: 100%; }
  .page-projektarkiv .page-index nav { display: grid; }
  .page-om-koren .content > p:first-of-type { font-size: 22px; }
  .media-row { gap: 1.2rem; }
  .media-column { flex-basis: 100%; }
  .data-table { font-size: 14px; }
  .data-table th, .data-table td { padding: .75rem .55rem; }
  .page-styrelse .data-table, .page-styrelse .data-table tbody { display: block; }
  .page-styrelse .data-table tr { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .page-styrelse .data-table th, .page-styrelse .data-table td { display: block; width: auto; min-width: 0; padding: .2rem .75rem; border-bottom: 0; }
  .page-styrelse .data-table th { font-weight: 600; color: var(--green); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media (max-width: 420px) {
  .header-inner { padding-left: .75rem; padding-right: .75rem; gap: .4rem; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 16px; }
  .booking-link { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .page-index, .skip-link { display: none; }
  .page-layout.with-index { display: block; }
  .page-layout, .page-heading { padding: 0; }
  .table-scroll { overflow: visible; }
}