/* MBK 1943 – Motorbådsklubben af 1943
   Design tokens, layout og komponenter. Ingen build-trin, ren CSS. */

:root {
  /* Farver – hentet fra klubbens bomærke: marineblå skive, messingkant, rød stander */
  --fjord: #0f2b4c;
  --fjord-deep: #0a1d35;
  --stander: #c8232e;
  --stander-ink: #a3151f;
  --messing: #d8a93a;
  --ground: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #e9edf3;
  --line: #d4dbe5;
  --ink: #14233a;
  --ink-2: #3d4d66;
  --mist: #65758d;
  --on-dark: #e9eff7;
  --on-dark-mist: #a9b8cc;
  --focus: #2a6fd6;
  --ok: #1e7f4f;
  --warn: #b7791f;
  --link: #0f2b4c;
  --accent-text: #0f2b4c;
  --hover-line: #0f2b4c;

  --font-display: "Bricolage Grotesque", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 43, 76, 0.10), 0 1px 2px rgba(15, 43, 76, 0.06);
  --shadow-soft: 0 1px 2px rgba(15, 43, 76, 0.06);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fjord: #163a63;
    --fjord-deep: #0b1a2e;
    --stander: #e2454f;
    --stander-ink: #ff6b74;
    --messing: #e3b955;
    --ground: #0b1727;
    --surface: #122238;
    --surface-2: #1a2d47;
    --line: #27405f;
    --ink: #e7edf6;
    --ink-2: #c0cce0;
    --mist: #8fa2bc;
    --on-dark: #e9eff7;
    --on-dark-mist: #a9b8cc;
    --focus: #7fb0ff;
    --ok: #4fc081;
    --warn: #e0a640;
    --link: #9cc3ff;
    --accent-text: #e3b955;
    --hover-line: #9cc3ff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fjord: #163a63;
  --fjord-deep: #0b1a2e;
  --stander: #e2454f;
  --stander-ink: #ff6b74;
  --messing: #e3b955;
  --ground: #0b1727;
  --surface: #122238;
  --surface-2: #1a2d47;
  --line: #27405f;
  --ink: #e7edf6;
  --ink-2: #c0cce0;
  --mist: #8fa2bc;
  --on-dark: #e9eff7;
  --on-dark-mist: #a9b8cc;
  --focus: #7fb0ff;
  --ok: #4fc081;
  --warn: #e0a640;
  --link: #9cc3ff;
  --accent-text: #e3b955;
  --hover-line: #9cc3ff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--stander); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.005em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
small { font-size: 0.875em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { max-width: 68ch; }
.num { font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stander);
  margin: 0 0 0.75rem;
}
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--mist); }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.75em 1.25em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--stander); color: #fff; }
.btn-primary:hover { background: var(--stander-ink); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--link); background: transparent; }
.btn-ghost:hover { color: var(--stander); }
.btn-ghost.on-dark, .on-dark .btn-ghost { color: var(--on-dark); border-color: rgba(255,255,255,0.7); }
.btn-ghost.on-dark:hover, .on-dark .btn-ghost:hover { color: var(--messing); border-color: var(--messing); }
.btn-small { font-size: 0.9rem; padding: 0.55em 1em; }
@media (pointer: coarse) {
  .btn, .nav-toggle { min-height: 44px; }
  .faq summary { min-height: 48px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--ink);
}
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand strong { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1; }
.brand small { display: block; color: var(--mist); font-size: 0.78rem; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a:not(.btn) {
  padding: 0.55em 0.8em;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.95rem;
}
.nav a:not(.btn):hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--stander); }
.nav .btn { margin-left: 0.5rem; }
.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--line); border-radius: 999px;
  padding: 0.5em 0.9em; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 0.8em 0.6em; font-size: 1.05rem; }
  .nav .btn { margin: 0.5rem 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--on-dark);
  background: var(--fjord-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -1;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 29, 53, 0.35) 0%, rgba(10, 29, 53, 0.55) 55%, rgba(10, 29, 53, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 29, 53, 0.55) 0%, rgba(10, 29, 53, 0) 70%);
}
.hero-inner {
  padding-block: clamp(4rem, 11vw, 8.5rem) clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: 1.5rem;
  max-width: 760px;
}
.hero h1 { color: #fff; margin: 0; }
.hero h1 em { font-style: normal; color: var(--messing); }
.hero .eyebrow { color: var(--messing); }
.hero .lede { color: var(--on-dark); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Statusstribe – "logbogen" */
.logbook {
  margin-top: -1px;
  background: var(--fjord);
  color: var(--on-dark);
}
.logbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.logbook-item {
  padding: 1.25rem 1.4rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: grid; gap: 0.3rem; align-content: start;
}
.logbook-item .label {
  font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-mist);
}
.logbook-item .value {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700; line-height: 1.15; color: #fff;
}
.logbook-item .note { font-size: 0.9rem; color: var(--on-dark-mist); }
.logbook-item a { color: #fff; }
.logbook-item a:hover { color: var(--messing); }
.status-dot {
  display: inline-block; width: 0.6em; height: 0.6em; border-radius: 50%;
  background: var(--messing); margin-right: 0.4em; vertical-align: 0.05em;
}
.status-dot.ok { background: #4fc081; }

/* ---------- Sektioner ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0.5rem 0 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-dark { background: var(--fjord-deep); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--on-dark-mist); }
.section-dark a { color: #fff; }
.section-dark a:hover { color: var(--messing); }
.section-dark .card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.section-dark .card p { color: var(--on-dark-mist); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Sæsonlinje ---------- */
.season { background: var(--surface); border-block: 1px solid var(--line); }
.season-band { overflow-x: auto; padding-bottom: 0.5rem; }
.season-list { display: none; }
@media (max-width: 700px) {
  .season-band, .season-legend { display: none; }
  .season-list { display: grid; gap: 0.6rem; padding: 0; list-style: none; }
  .season-list li { display: grid; grid-template-columns: 6px 1fr; gap: 0.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.85rem 1rem; }
  .season-list li::before { content: ""; border-radius: 3px; background: var(--fjord); }
  .season-list li.l-apply::before { background: var(--messing); }
  .season-list li.l-land::before { background: var(--line); }
  .season-list li.l-red::before { background: var(--stander); }
  .season-list strong { display: block; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
  .season-list span { color: var(--ink-2); font-size: 0.95rem; }
}
.season-band svg { width: 100%; min-width: 760px; height: auto; display: block; }
.season-legend { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: 1rem; font-size: 0.92rem; color: var(--ink-2); }
.season-legend span::before {
  content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 0.5em; vertical-align: -1px;
}
.season-legend .l-water::before { background: var(--fjord); }
.season-legend .l-apply::before { background: var(--messing); }
.season-legend .l-land::before { background: var(--line); }
.season-legend .l-today::before { background: var(--stander); border-radius: 50%; }

/* ---------- Arrangementer ---------- */
.event-list { display: grid; gap: 0.75rem; }
.event {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 1.25rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none; color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.event:hover { border-color: var(--hover-line); transform: translateY(-1px); color: inherit; }
.event-date {
  text-align: center; font-family: var(--font-display); line-height: 1;
  border-right: 1px solid var(--line); padding-right: 1.25rem;
}
.event-date .d { display: block; font-size: 2rem; font-weight: 800; color: var(--stander); font-variant-numeric: tabular-nums; }
.event-date .m { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); margin-top: 0.3rem; }
.event h3 { margin: 0 0 0.2rem; }
.event p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.event .tag {
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-text); background: var(--surface-2); padding: 0.35em 0.7em; border-radius: 999px; white-space: nowrap;
}
.event.is-board .tag { color: var(--mist); }
.event.is-past { opacity: 0.6; }
@media (max-width: 560px) {
  .event { grid-template-columns: 64px 1fr; }
  .event .tag { display: none; }
  .event-date .d { font-size: 1.6rem; }
}
.month-head { margin: 2rem 0 0.75rem; color: var(--mist); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-display); font-weight: 700; }
.month-head:first-child { margin-top: 0; }

/* ---------- Nyheder (logbog) ---------- */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line);
}
.news-item time { font-variant-numeric: tabular-nums; color: var(--mist); font-size: 0.95rem; padding-top: 0.25rem; }
.news-item h3 { margin: 0 0 0.35rem; }
.news-item h3 a { text-decoration: none; }
.news-item h3 a:hover { text-decoration: underline; }
.news-item p { margin: 0; color: var(--ink-2); }
.news-item .cat { font-size: 0.8rem; color: var(--mist); margin-top: 0.4rem; display: block; }
@media (max-width: 560px) { .news-item { grid-template-columns: 1fr; gap: 0.25rem; } }
.article { max-width: 68ch; }
.article header { margin-bottom: 1.5rem; }
.article time { color: var(--mist); font-variant-numeric: tabular-nums; }
.article blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--messing); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); }
.article blockquote p:last-child { margin: 0; }
.notice {
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--stander);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.notice p:last-child { margin: 0; }

/* ---------- Kort ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: grid; gap: 0.6rem; align-content: start;
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-2); }
.card .card-icon { width: 40px; height: 40px; color: var(--stander); }
.card-link { text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.card-link .more { color: var(--stander); font-weight: 700; margin-top: 0.4rem; }

.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
}
.feature img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature.reverse > :first-child { order: 2; }
@media (max-width: 820px) { .feature, .feature.reverse { grid-template-columns: 1fr; } .feature.reverse > :first-child { order: 0; } }

.quote {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; line-height: 1.3;
  color: var(--ink); margin: 0; max-width: 32ch; text-wrap: balance;
}
.quote + .cite { color: var(--mist); margin-top: 0.75rem; font-size: 0.95rem; }

/* ---------- Tabeller ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th, td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.price, th.price { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
td .sub { display: block; color: var(--mist); font-size: 0.88rem; font-weight: 400; }
@media (max-width: 640px) {
  .table-wrap.stack thead { display: none; }
  .table-wrap.stack tr { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.7rem 1rem; }
  .table-wrap.stack td { display: block; padding: 0; border: 0; }
  .table-wrap.stack td:first-child { font-weight: 700; }
  .table-wrap.stack td:nth-child(2) { grid-column: 1; color: var(--mist); font-size: 0.88rem; margin-top: 0.15rem; }
  .table-wrap.stack td:nth-child(2):empty { display: none; }
  .table-wrap.stack td.price { grid-row: 1; grid-column: 2; align-self: start; }
  .table-wrap.stack tr.group { display: block; padding: 0.6rem 1rem; background: var(--surface-2); }
  .table-wrap.stack tr.group td { background: transparent; }
  .table-wrap.stack tr.group td { font-weight: 700; }
}
tbody tr.group td { background: var(--surface-2); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }

/* ---------- Definitioner / bestyrelse ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 0.25rem; }
.person .role { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stander); }
.person .name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.person a { text-decoration: none; color: var(--ink-2); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.person a:hover { color: var(--stander); text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--stander); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1.25rem; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .rev { font-size: 0.8rem; color: var(--mist); }

/* ---------- Trin ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; padding: 0; list-style: none; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem;
}
.steps li::before {
  content: counter(step);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fjord); color: #fff; font-family: var(--font-display); font-weight: 800;
}
.steps h3 { margin: 0.3rem 0 0.25rem; }
.steps p { margin: 0; color: var(--ink-2); }

/* ---------- Dokumentkort ---------- */
.doc { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.doc svg { width: 48px; height: 48px; color: var(--stander); }
.doc .meta { font-size: 0.85rem; color: var(--mist); }

/* ---------- Galleri ---------- */
.album-list { columns: 3; column-gap: 1.5rem; padding: 0; list-style: none; }
.album-list li { break-inside: avoid; margin: 0 0 0.5rem; }
.album-list a { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; }
.album-list a:hover { border-color: var(--hover-line); }
.album-list .y { color: var(--mist); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .album-list { columns: 2; } }
@media (max-width: 520px) { .album-list { columns: 1; } }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.photo-strip figure { margin: 0; }
.photo-strip img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.photo-strip figcaption { font-size: 0.88rem; color: var(--mist); margin-top: 0.5rem; }
@media (max-width: 680px) { .photo-strip { grid-template-columns: 1fr; } }

/* ---------- Sidehoved på undersider ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { margin-bottom: 0.4em; }
.page-head .lede { margin: 0; }

/* ---------- Links ---------- */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.link-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; text-decoration: none; color: inherit; display: grid; gap: 0.2rem; }
.link-card:hover { border-color: var(--hover-line); color: inherit; }
.link-card strong { font-family: var(--font-display); }
.link-card span { color: var(--mist); font-size: 0.9rem; }
.link-card .host { font-size: 0.8rem; color: var(--stander); }

/* ---------- Footer ---------- */
.site-footer { background: var(--fjord-deep); color: var(--on-dark-mist); margin-top: clamp(3rem, 7vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--messing); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; color: #fff; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.3rem; display: block; line-height: 1; }
.footer-brand small { color: var(--on-dark-mist); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.88rem; }
.footer-bottom ul { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom li { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Diverse ---------- */
.pill { display: inline-block; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35em 0.7em; border-radius: 999px; background: var(--surface-2); color: var(--accent-text); }
.pill.red { background: color-mix(in srgb, var(--stander) 14%, transparent); color: var(--stander-ink); }
.link-card .host, .card-link .more { color: var(--stander-ink); }
.pill.gold { background: color-mix(in srgb, var(--messing) 22%, transparent); color: #7a5a10; }
:root[data-theme="dark"] .pill.gold { color: var(--messing); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.gold { color: var(--messing); } }
.inline-list { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.inline-list li { margin: 0; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-1 { margin-top: 1rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--stander); color: #fff; padding: 0.6em 1em; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
