@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/fonts/LibreFranklin-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
/* Original styling informed by German club sites; no third-party assets required. */
:root {
  color-scheme: light;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --ink: #222b25;
  --muted: #526057;
  --line: #d6ddd7;
  --soft: #edf2ec;
  --accent: #d7ed8c;
  --accent-ink: #20391e;
  --forest: #173e2d;
  --forest-text: #f4f6e9;
  --forest-muted: #c4d2be;
  --warning: #f0ead7;
  --warning-text: #66562b;
  --focus: #286344;
  --content: 1200px;
}
html[data-theme=dark] {
  color-scheme: dark;
  --paper: #151b17;
  --surface: #202a23;
  --ink: #f0f4ee;
  --muted: #becac1;
  --line: #46574b;
  --soft: #29372d;
  --forest: #133322;
  --forest-text: #f4f6e9;
  --forest-muted: #c4d2be;
  --warning: #383525;
  --warning-text: #ede0b1;
  --focus: #d7ed8c;
}
@media (prefers-color-scheme: dark) {
  html[data-theme=system] {
    color-scheme: dark;
    --paper: #151b17;
    --surface: #202a23;
    --ink: #f0f4ee;
    --muted: #becac1;
    --line: #46574b;
    --soft: #29372d;
    --forest: #133322;
    --forest-text: #f4f6e9;
    --forest-muted: #c4d2be;
    --warning: #383525;
    --warning-text: #ede0b1;
    --focus: #d7ed8c;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 125px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Libre Franklin", "Segoe UI", Arial, sans-serif; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a, button, input, select, summary { transition: background-color .18s, color .18s, border-color .18s; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
p { color: var(--muted); line-height: 1.65; }
h2 { font-size: clamp(27px, 3.1vw, 43px); line-height: 1.15; letter-spacing: -1.5px; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.45px; }
header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 92px; padding: 16px max(4%, calc((100% - var(--content)) / 2)); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex-shrink: 0; font-size: 16px; font-weight: 750; letter-spacing: -.5px; line-height: 1.3; }
.brand small { display: block; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 1.5px; margin-top: 6px; }
nav { display: flex; align-items: center; gap: 23px; font-size: 14px; font-weight: 550; }
nav a { padding: 10px 0; }
nav a:hover { color: var(--muted); }
.nav-cta { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 11px 14px; }
.nav-cta:hover { background: var(--soft); color: var(--ink); }
.preferences { display: flex; gap: 7px; }
.preferences label { min-width: 0; }
.preferences select { max-width: 99px; min-height: 40px; padding: 8px 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--ink); font-size: 14px; cursor: pointer; }
.menu { display: none; }
.eyebrow { font-size: 14px; font-weight: 650; line-height: 1.65; letter-spacing: 1.7px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(265px, 1fr); gap: 8%; padding: 76px max(6%, calc((100% - var(--content)) / 2)) 34px; color: var(--forest-text); background: var(--forest); }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: var(--forest-muted); font-size: 14px; letter-spacing: 1.4px; max-width: 470px; }
.hero h1 { font-size: clamp(62px, 7.1vw, 108px); line-height: .98; font-weight: 650; letter-spacing: -5px; margin: 28px 0; }
.club-prefix { display: block; color: var(--accent); }
.club-name { display: block; }
.hero-copy > p { font-size: 17px; line-height: 1.7; max-width: 510px; color: var(--forest-muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin: 30px 0 45px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 6px; padding: 15px 20px; min-height: 48px; font-size: 14px; font-weight: 650; line-height: 1.4; }
.button:hover { background: #e5f4b7; border-color: #e5f4b7; }
.text-link { display: inline-block; font-size: 14px; font-weight: 550; line-height: 1.7; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-color: currentColor; }
.hero .text-link { color: var(--forest-text); text-decoration-color: #6f8e72; }
.hero :focus-visible, .membership :focus-visible { outline-color: var(--accent); }
.hero-bottom { display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; max-width: 540px; border-top: 1px solid #537056; padding-top: 21px; font-size: 14px; letter-spacing: 1.7px; color: var(--forest-muted); }
.club-contact { min-width: 0; align-self: center; background: #244c36; border: 1px solid #527157; border-radius: 9px; padding: 30px; margin: 0 0 35px; }
.club-contact h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.5px; margin-bottom: 20px; }
.club-contact > a { display: block; color: var(--accent); font-size: 17px; line-height: 1.6; font-weight: 550; overflow-wrap: anywhere; border-bottom: 1px solid #527157; padding-bottom: 22px; }
.club-contact > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.club-contact p { color: var(--forest-muted); font-size: 14px; line-height: 1.8; margin-top: 19px; }
.club-contact p:last-child { padding-top: 16px; border-top: 1px solid #527157; font-size: 14px; }
.section { padding: 72px max(6%, calc((100% - var(--content)) / 2)); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 32px; }
.section-head h2 { margin-top: 13px; max-width: 540px; }
.section-head > p { max-width: 350px; font-size: 14px; }
.prevention .eyebrow { color: var(--muted); }
.knowledge { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10%; padding-top: 32px; border-top: 1px solid var(--line); }
.knowledge-intro { padding-top: 18px; }
.knowledge-intro h3 { font-size: 24px; }
.knowledge-intro p { font-size: 14px; margin: 17px 0 25px; max-width: 350px; }
.accordions details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; gap: 18px; list-style: none; cursor: pointer; padding: 23px 0; font-size: 18px; font-weight: 550; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--muted); }
summary > span { color: var(--muted); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
summary b { display: grid; place-items: center; flex-shrink: 0; margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); font-weight: 400; font-size: 21px; }
details[open] summary b { transform: rotate(45deg); }
details p { font-size: 14px; padding: 0 18px 24px 32px; }
details > a { display: inline-block; font-size: 14px; margin: 0 18px 24px 32px; text-decoration: underline; text-underline-offset: 4px; }
.community { display: grid; grid-template-columns: 1.35fr 1fr; align-items: start; gap: 10%; background: var(--soft); padding: 65px max(6%, calc((100% - var(--content)) / 2)); border-block: 1px solid var(--line); }
.community-copy h2 { margin: 13px 0 23px; }
.community-copy p { font-size: 15px; margin-bottom: 18px; }
.community-copy .text-link { margin-top: 5px; }
.community-sources { margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.community-sources h3 { font-size: 21px; margin-bottom: 16px; }
.community-sources p { font-size: 14px; margin-bottom: 20px; }
.community-sources .source-note { border-top: 1px solid var(--line); padding-top: 18px; margin: 23px 0 0; font-size: 14px; }
.events .section-head { margin-bottom: 26px; }
.events-empty { padding: 28px 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.events-empty h3 { display: flex; align-items: baseline; gap: 12px; font-size: 21px; }
.events-empty h3::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--muted); align-self: center; }
.events-empty p { font-size: 14px; max-width: 680px; margin: 13px 0 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { padding: 10px 15px; min-height: 42px; border-radius: 5px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 14px; }
.filters button.active { background: var(--ink); color: var(--paper); }
.notice { font-size: 14px; margin-bottom: 20px; }
.events article { display: grid; grid-template-columns: 105px 1fr 48px; gap: 25px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.events article:last-child { border-bottom: 1px solid var(--line); }
.event-date { font-size: 14px; line-height: 1.8; letter-spacing: 1px; }
.event-date strong { font-size: 14px; font-weight: 600; }
.tag { font-size: 14px; line-height: 1.6; letter-spacing: 1.2px; color: var(--muted); }
.events article h3 { margin: 7px 0; }
.events article p { font-size: 14px; }
.event-inquiry { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); height: 44px; width: 44px; font-size: 22px; }
.event-inquiry:hover { background: var(--soft); }
.membership { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; background: var(--forest); color: var(--forest-text); padding: 70px max(6%, calc((100% - var(--content)) / 2)); }
.membership .eyebrow { color: var(--accent); }
.membership h2 { font-size: clamp(30px, 3.7vw, 49px); margin: 18px 0 25px; }
.membership p { color: var(--forest-muted); font-size: 15px; max-width: none; }
.membership .membership-context { padding-top: 22px; margin-top: 27px; border-top: 1px solid #537056; font-size: 14px; }
.membership form { justify-self: end; width: min(100%, 450px); align-self: start; min-width: 0; padding: 28px; background: #244c36; border: 1px solid #527157; border-radius: 9px; }
.membership form h3 { margin-bottom: 24px; font-size: 23px; }
.membership label:not(.checkbox) { display: block; margin: 18px 0 8px; font-size: 14px; color: var(--forest-text); }
.membership input:not([type=checkbox]), .membership select { width: 100%; min-height: 47px; border: 1px solid #6d886d; border-radius: 5px; background: #193d29; color: var(--forest-text); padding: 12px; font-size: 14px; }
.membership input::placeholder { color: #bdcdb8; opacity: 1; }
.membership input:hover, .membership select:hover { border-color: #b4c9a2; }
.checkbox { display: flex; align-items: start; gap: 9px; font-size: 14px; line-height: 1.6; margin: 20px 0; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.light { width: 100%; }
.membership .form-note { font-size: 14px; margin-top: 15px; line-height: 1.7; }
.inline { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
#form-status { margin-top: 14px; font-size: 14px; }
#form-status:empty { display: none; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 35px max(6%, calc((100% - var(--content)) / 2)); border-bottom: 1px solid var(--line); }
.contact > span { font-size: 14px; font-weight: 650; letter-spacing: 1.8px; }
.contact > a { font-size: clamp(18px, 2.4vw, 29px); letter-spacing: -.7px; overflow-wrap: anywhere; min-width: 0; }
.contact > a:hover { text-decoration: underline; text-underline-offset: 7px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 32px max(4%, calc((100% - var(--content)) / 2)); }
footer .brand { font-size: 14px; }
footer .brand small { font-size: 14px; }
footer p { font-size: 14px; }
footer > div { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
footer button { border: 0; padding: 8px 0; background: none; font: inherit; color: inherit; }
footer > div > a { padding: 8px 0; }
footer button:hover, footer > div > a:hover { text-decoration: underline; text-underline-offset: 5px; }
dialog { width: calc(100% - 32px); max-width: 700px; max-height: 85dvh; padding: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #08190fba; }
dialog h2 { font-size: 30px; margin: 0 30px 25px 0; }
dialog h3 { font-size: 18px; margin: 25px 0 10px; }
dialog p { font-size: 14px; margin-bottom: 12px; }
dialog a { text-decoration: underline; overflow-wrap: anywhere; }
.close { position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border: 0; background: var(--soft); color: var(--ink); border-radius: 6px; font-size: 27px; }
.close:hover { background: var(--line); }
.legal-warning { padding: 17px; background: var(--warning); color: var(--warning-text); border-radius: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1600px) { .hero { padding-top: 90px; padding-bottom: 45px; } }
@media (max-width: 1320px) and (min-width: 901px) {
  header { flex-wrap: wrap; gap: 14px; padding-block: 15px; }
  nav { order: 3; width: 100%; justify-content: center; gap: 34px; }
  .preferences { margin-left: auto; }
  html { scroll-padding-top: 150px; }
  .hero { gap: 6%; padding-top: 55px; }
  .hero h1 { font-size: clamp(57px, 7.5vw, 83px); }
  .club-contact { padding: 24px; }
  .club-contact > a { font-size: 15px; }
  .membership { gap: 34px; }
  footer { flex-wrap: wrap; }
  footer p { order: 3; width: 100%; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 160px; }
  header { display: grid; grid-template-columns: 1fr auto; min-height: 120px; gap: 12px 20px; padding: 16px 6%; }
  .brand { font-size: 15px; }
  .brand small { font-size: 14px; letter-spacing: 1.3px; }
  .menu { display: grid; place-items: center; grid-column: 2; grid-row: 1; width: 42px; height: 42px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; font-size: 22px; }
  .preferences { grid-column: 1 / -1; justify-content: end; }
  .preferences select { min-width: 103px; max-width: 150px; font-size: 14px; min-height: 40px; }
  nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 20px 6%; border-bottom: 1px solid var(--line); background: var(--paper); flex-direction: column; align-items: stretch; gap: 6px; font-size: 14px; }
  nav.open { display: flex; }
  nav a { padding: 13px 10px; }
  .nav-cta { justify-content: space-between; margin-top: 4px; }
  .hero { grid-template-columns: 1fr; padding: 42px 6% 28px; gap: 30px; }
  .hero .eyebrow { font-size: 14px; letter-spacing: 1.1px; }
  .hero h1 { font-size: clamp(48px, 12vw, 86px); letter-spacing: -3px; margin: 23px 0; }
  .hero-copy > p { font-size: 16px; }
  .actions { gap: 20px; margin: 27px 0 30px; }
  .button { font-size: 14px; padding-inline: 16px; }
  .hero-bottom { font-size: 14px; letter-spacing: 1.3px; }
  .club-contact { padding: 24px; margin: 0; }
  .club-contact > a { font-size: 17px; }
  .club-contact p { font-size: 14px; }
  .club-contact h2 { font-size: 20px; }
  .section { padding: 45px 6%; }
  .section-head { flex-direction: column; align-items: start; gap: 20px; margin-bottom: 25px; }
  h2 { font-size: 31px; letter-spacing: -1px; }
  .section-head > p { max-width: none; font-size: 14px; }
  .knowledge { grid-template-columns: 1fr; gap: 20px; padding-top: 15px; }
  .knowledge-intro p { max-width: none; margin-bottom: 20px; }
  .knowledge-intro h3 { font-size: 23px; }
  summary { font-size: 17px; gap: 12px; padding: 20px 0; }
  details p { padding-left: 25px; font-size: 14px; }
  details > a { margin-left: 25px; }
  .community { grid-template-columns: 1fr; gap: 25px; padding: 45px 6%; }
  .community-copy p { font-size: 14px; }
  .community-sources { margin: 0; padding: 24px; }
  .community-sources h3 { font-size: 20px; }
  .events-empty { padding: 24px; }
  .events-empty h3 { font-size: 20px; }
  .events article { grid-template-columns: 1fr 44px; gap: 12px; padding-block: 23px; }
  .event-date { grid-column: 1 / -1; }
  .event-date br { display: none; }
  .event-date strong { margin-left: 5px; }
  .events article h3 { font-size: 20px; }
  .membership { grid-template-columns: 1fr; gap: 30px; padding: 45px 6%; }
  .membership h2 { font-size: 36px; }
  .membership p { max-width: none; font-size: 14px; }
  .membership form { width: 100%; padding: 24px; }
  .membership form h3 { font-size: 22px; }
  .contact { padding: 28px 6%; flex-direction: column; align-items: start; gap: 15px; }
  .contact > a { font-size: clamp(16px, 5vw, 25px); }
  footer { flex-wrap: wrap; padding: 30px 6%; gap: 20px; }
  footer p { order: 3; width: 100%; font-size: 14px; }
  footer > div { gap: 17px; }
  dialog { padding: 32px 22px 25px; }
  dialog h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* Club identity and original documents. */
.club-logo { display:block; width:100%; max-width:280px; height:auto; margin:0 auto 26px; border-radius:5px; background:white; }
.document-list { border-top:1px solid var(--line); }
.document-list > a { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 16px; border-bottom:1px solid var(--line); }
.document-list > a:hover { background:var(--soft); }
.document-list strong { display:block; font-size: 18px; font-weight:600; }
.document-list small { display:block; color:var(--muted); margin-top:8px; line-height:1.5; }
.document-list > a > span:last-child { font-size: 24px; }
.document-note { max-width:780px; margin-top:24px; font-size: 14px; }
.hero h1 { font-size:clamp(52px,6vw,88px); letter-spacing:-3px; }
@media(max-width:900px) { .club-logo { max-width:220px; } .document-list > a { padding:20px 4px; } .document-list strong { font-size: 16px; } }

/* Readability and contrast requested in the discovery interview. */
html[data-theme=contrast] { color-scheme:dark; --paper:#000; --surface:#000; --ink:#fff; --muted:#fff; --line:#fff; --soft:#151515; --accent:#ffeb00; --accent-ink:#000; --forest:#000; --forest-text:#fff; --forest-muted:#fff; --focus:#ffeb00; }
html[data-theme=contrast] .club-contact,html[data-theme=contrast] .membership form,html[data-theme=contrast] .membership input,html[data-theme=contrast] .membership select { background:#000; border-color:#fff; }
nav { font-size: 14px; } .eyebrow { font-size: 14px; } .preferences select { font-size: 14px; min-height:44px; max-width:130px; } .form-note { font-size: 14px!important; } .brand small { font-size: 14px; letter-spacing:1px; } .hero { padding-top:48px; } .hero h1 { line-height:1.05; }

.age-gate { min-height:100svh; display:grid; place-items:center; padding:32px 20px; background:var(--paper); }
.age-panel { width:100%; max-width:560px; border:1px solid var(--line); border-radius:8px; padding:clamp(24px,5vw,44px); background:var(--surface); }
.age-panel h1 { font-size:clamp(28px,5vw,38px); line-height:1.2; letter-spacing:-1px; margin:18px 0; }
.age-panel p { font-size: 16px; } .age-panel .eyebrow { font-size: 14px; }
.age-actions { display:grid; gap:12px; margin:28px 0; }
.age-actions button { min-height:48px; justify-content:center; font-size: 16px; }
.age-secondary { padding:14px 20px; background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:6px; }
.age-secondary:hover { background:var(--soft); }
.age-languages { position:static; display:flex; flex-direction:row; gap:24px; padding:0; margin-top:28px; width:auto; background:transparent; border:0; }
.age-languages a { text-decoration:underline; text-underline-offset:4px; min-height:44px; padding:12px 0; }
#age-denied { padding:16px; border:1px solid var(--line); margin-top:24px; }

/* Readable type hierarchy and restrained brand colours. */
:root { --link: #286344; }
html[data-theme=dark] { --link: #a9d6b6; }
@media (prefers-color-scheme: dark) { html[data-theme=system] { --link: #a9d6b6; } }
html[data-theme=contrast] { --link: #ffeb00; }
body { line-height: 1.65; }
h1, h2, h3 { font-weight: 700; }
h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.025em; line-height: 1.2; }
h3 { letter-spacing: -.015em; }
.hero h1 { font-size: clamp(44px, 5.2vw, 72px); letter-spacing: -.035em; line-height: 1.12; overflow-wrap: anywhere; }
nav { font-size: 15px; gap: 18px; }
.preferences select { font-size: 14px; }
.eyebrow, .hero .eyebrow, .hero-bottom { font-size: 14px; letter-spacing: .06em; }
.button { background: var(--forest); border-color: var(--forest); color: var(--forest-text); font-size: 16px; font-weight: 600; }
.button:hover { background: #286344; border-color: #286344; color: #fff; }
.hero .button, .membership .button { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hero .button:hover, .membership .button:hover { background: #e5f4b7; border-color: #e5f4b7; }
.text-link, details > a, .document-list > a, dialog a, .age-languages a { color: var(--link); }
.text-link { font-size: 16px; }
.hero .text-link, .membership .text-link { color: var(--forest-text); }
.knowledge-intro p, details p, .community-copy p, .events-empty p, .events article p, .membership p, dialog p { font-size: 17px; line-height: 1.65; }
.membership label:not(.checkbox), .checkbox, .membership input:not([type=checkbox]), .membership select { font-size: 16px; }
.membership h2 { font-size: clamp(28px, 3vw, 40px); }
html[data-theme=contrast] .button, html[data-theme=contrast] .button:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 900px) {
  .preferences { flex-wrap: wrap; }
  .preferences select { min-width: 0; max-width: 130px; }
  .hero h1 { font-size: clamp(44px, 9vw, 64px); }
  .hero .eyebrow, .hero-bottom { font-size: 14px; }
  .button { font-size: 16px; }
  nav { font-size: 16px; }
}

/* Collection pages share the site's existing theme tokens. */
.collection-page {min-height:60vh;padding-top:clamp(3rem,7vw,7rem)}
.collection-page h1 {font-size:clamp(2.4rem,6vw,5rem);line-height:1.05;margin:1rem 0 2rem}
.collection-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:2rem;margin-top:2rem}
.collection-grid figure {margin:0}
.collection-image {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:8px;margin-bottom:1rem}
.collection-card dl {margin:1rem 0}
.collection-card dl div {display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid currentColor;padding:.7rem 0}
.collection-card dd {margin:0;text-align:right}
.gallery-filters {display:flex;flex-wrap:wrap;gap:.6rem;margin:2rem 0}
#event-list .collection-image {max-width:420px}
header nav {flex-wrap:wrap}
[hidden] {display:none!important}

/* Sample collections and full-viewport image browser. */
.sample-notice {margin:1.5rem 0;padding:1rem 1.25rem;background:var(--soft);border-left:3px solid var(--forest);border-radius:0 8px 8px 0}
.sample-badge {display:inline-block;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;background:var(--soft);color:var(--ink);padding:.35rem .6rem;border-radius:4px;margin-bottom:.7rem}
.gallery-actions {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.gallery-actions p {color:var(--muted);font-size:.9rem}
.gallery-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5rem 1.5rem}
.photo-link {display:block;position:relative;border-radius:8px;overflow:hidden;background:var(--soft);cursor:zoom-in}
.photo-link .collection-image {margin:0;transition:transform .2s ease}
.photo-link:hover .collection-image {transform:scale(1.025)}
.photo-expand {position:absolute;right:.7rem;bottom:.7rem;background:#14241cdd;color:white;border:1px solid #ffffff55;border-radius:50%;width:2.5rem;height:2.5rem;display:grid;place-items:center;font-size:1.5rem}
.gallery-grid figcaption {padding-top:1rem;line-height:1.5}
.photo-credit {font-size:.72rem;line-height:1.6;color:var(--muted);margin-top:.65rem;overflow-wrap:anywhere}
.photo-credit a,.data-source a {text-decoration:underline;text-underline-offset:3px}
.variety-grid {align-items:start;grid-template-columns:repeat(3,minmax(0,1fr))}
.variety-grid .collection-card {background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.variety-grid .photo-link {border-radius:0}
.variety-grid .photo-link img {aspect-ratio:4/3}
.variety-grid .photo-credit {padding:0 1.25rem}
.variety-details {padding:1.25rem}
.variety-details h2 {font-size:1.8rem;margin:.3rem 0 1rem}
.variety-details p {line-height:1.6}
.variety-details h3 {margin-top:1.5rem;font-size:.95rem}
.variety-details dl {font-size:.85rem}
.variety-details dl div {border-color:var(--line)}
.variety-details dd {max-width:60%}
.data-source {font-size:.75rem;color:var(--muted);margin-top:1rem}
.viewer-open {overflow:hidden}
dialog.photo-viewer {position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:0;background:#111713;color:#f8faf8;overflow:hidden}
dialog.photo-viewer[open] {display:flex;flex-direction:column}
.photo-viewer::backdrop {background:#111713}
.viewer-toolbar {display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:max(.8rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) .8rem max(1rem,env(safe-area-inset-left));flex-shrink:0;border-bottom:1px solid #ffffff20}
.viewer-toolbar>div {display:flex;gap:.6rem}
.photo-viewer button {background:#27332b;color:#f8faf8;border:1px solid #ffffff55;border-radius:8px;min-height:44px;padding:.6rem 1rem;font-size:.85rem}
.photo-viewer button:hover {background:#3a4c40}
.photo-viewer button:focus-visible {outline:3px solid #d7ed8c;outline-offset:3px}
.photo-viewer button:disabled {opacity:.35;cursor:default}
.viewer-position {font-variant-numeric:tabular-nums;white-space:nowrap}
.viewer-stage {position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:1rem 5rem}
.viewer-image {display:block;width:100%;height:100%;max-height:100%;object-fit:contain;touch-action:pan-y pinch-zoom}
.photo-viewer .viewer-prev,.photo-viewer .viewer-next {position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;padding:0;font-size:1.6rem;z-index:1;border-radius:50%}
.viewer-prev {left:1rem}.viewer-next {right:1rem}
.viewer-details {padding:.8rem 1.5rem max(1rem,env(safe-area-inset-bottom));text-align:center;flex-shrink:0;max-height:28vh;overflow:auto}
.viewer-caption {font-size:1rem;line-height:1.5}
.viewer-credit .photo-credit {color:#c5d1c9;padding:0}
#viewer-help {font-size:.72rem;color:#adbeb2;margin-top:.65rem}
.viewer-error {margin-top:.6rem;color:#ffdb9c}
@media(max-width:1100px){.gallery-grid,.variety-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 .gallery-grid,.variety-grid {grid-template-columns:minmax(0,1fr)}
 .viewer-toolbar {padding-left:.7rem;padding-right:.7rem;gap:.4rem}
 .viewer-toolbar>div {gap:.4rem}
 .photo-viewer button {font-size:.75rem;padding:.5rem .65rem}
 .viewer-stage {padding:.5rem .2rem 3.8rem}
 .photo-viewer .viewer-prev,.photo-viewer .viewer-next {top:auto;bottom:.3rem;transform:none}
 .viewer-prev {left:calc(50% - 58px)}.viewer-next {right:calc(50% - 58px)}
 .viewer-details {padding:.5rem 1rem max(.8rem,env(safe-area-inset-bottom));max-height:30vh}
}
@media(prefers-reduced-motion:reduce){.photo-link .collection-image{transition:none}}
.viewer-credit {font-size:.72rem;line-height:1.6;color:#c5d1c9;overflow-wrap:anywhere}
.viewer-credit a {color:#d7ed8c;text-underline-offset:3px}
.photo-viewer p {margin-bottom:0}

/* Fullscreen targets the standard content wrapper inside the modal dialog. */
.viewer-shell {display:flex;flex-direction:column;width:100%;height:100%;min-height:0;background:#111713;color:#f8faf8}
.viewer-shell:fullscreen {width:100%;height:100dvh}
.viewer-fullscreen-status {color:#ffdb9c;font-size:.8rem;margin-top:.6rem}

/* Events retain distinct teaser and full editorial content. */
.events article.event-card,.event-collection article.event-card {display:grid;grid-template-columns:110px minmax(0,1fr);gap:1.5rem;align-items:start;padding:2rem 0;border-top:1px solid var(--line)}
.event-collection {margin-top:2rem}
.event-copy {min-width:0}
.event-copy .collection-image {max-width:580px!important;width:100%;aspect-ratio:16/9}
.event-copy .photo-credit {max-width:580px;margin-bottom:1rem;font-size:.72rem}
.event-copy .sample-badge {display:table}
.event-copy h3 {font-size:1.5rem;margin:.5rem 0 .8rem}
.event-copy .event-teaser {font-size:1rem;line-height:1.6;max-width:760px}
.event-copy .event-location {color:var(--muted);font-size:.85rem;margin-top:.6rem}
.event-timing {display:block;font-size:.75rem;letter-spacing:0;color:var(--muted);margin-top:.4rem}
.event-details {margin-top:1.25rem;border:1px solid var(--line);border-radius:8px;max-width:780px;background:var(--surface)}
.event-details summary {padding:1rem;font-size:.9rem;cursor:pointer}
.event-details>div {padding:0 1.25rem 1.25rem}
.event-details>div p {line-height:1.75;font-size:.95rem;margin:1rem 0 0}
@media(max-width:650px){.events article.event-card,.event-collection article.event-card{grid-template-columns:minmax(0,1fr);gap:.8rem}.event-card .event-date{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.event-timing{margin:0}}

/* Compact catalogue: native details and GET forms preserve keyboard/no-JS operation. */
.catalogue-filter-panel{margin:1rem 0}.catalogue-filter-panel>summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer}.catalogue-filter-panel>summary::-webkit-details-marker{display:none}
.catalogue-filter-trigger,.catalogue-control{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px;min-height:32px;padding:6px 11px;text-decoration:none;cursor:pointer}
.catalogue-count{font-size:12px;color:var(--muted)}
.catalogue-filters{margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.catalogue-ranges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:540px}
.catalogue-filters fieldset{min-width:0;margin:0;padding:0;border:0}.catalogue-filters legend,.catalogue-taxonomies>label>span{display:block;font-size:12px;font-weight:500;margin-bottom:5px;padding:0}
.catalogue-bounds{display:flex;align-items:center;gap:5px}.catalogue-bounds>span{font-size:12px;color:var(--muted)}
.catalogue-filters input[type=text]{width:68px;max-width:calc(50% - 10px);min-width:0;height:30px;padding:4px 7px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:4px;font:inherit;font-size:13px}
.catalogue-filters select{height:30px;max-width:100%;padding:3px 6px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:4px;font:inherit;font-size:13px}
.catalogue-taxonomies{display:flex;flex-wrap:wrap;align-items:start;gap:12px 18px;margin-top:12px}.catalogue-choices{display:flex;align-items:center;gap:5px 12px;min-height:30px;flex-wrap:wrap}.catalogue-choices label{display:inline-flex;align-items:center;gap:4px;font-size:13px;cursor:pointer}.catalogue-choices input{width:13px;height:13px;margin:0;accent-color:var(--forest)}
.catalogue-actions{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.catalogue-apply{background:var(--forest);color:var(--forest-text);border-color:var(--forest)}
.catalogue-error{font-size:12px;font-weight:600;margin:.5rem 0}.catalogue-filters [aria-invalid=true]{border:2px solid currentColor}
.catalogue-active{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:.6rem 0 1rem}.catalogue-chip{display:inline-flex;gap:6px;border-radius:5px;padding:3px 8px;color:var(--ink);background:var(--soft);text-decoration:none;font-size:12px}
.variety-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.variety-grid .collection-card{border-radius:7px}
.catalogue-product-summary{display:flex;align-items:center;gap:10px;padding:12px}.catalogue-product-copy{flex:1;min-width:0}.catalogue-product-copy h2{font-size:14px;font-weight:600;margin:0 0 4px;line-height:1.3}.catalogue-product-meta{font-size:12px;color:var(--muted);margin:0 0 8px}.catalogue-product-values{display:flex;flex-wrap:wrap;gap:7px 12px;font-size:12px;font-variant-numeric:tabular-nums}
.catalogue-thumbnail{flex:0 0 62px;width:62px}.variety-grid .catalogue-thumbnail .photo-link{border-radius:4px}.variety-grid .catalogue-thumbnail img.collection-image{display:block;width:62px;height:90px;object-fit:contain;aspect-ratio:auto;margin:0}
.catalogue-product-details>summary{font-size:12px;padding:0 12px 10px;cursor:pointer;color:var(--muted)}.catalogue-product-details .variety-details{padding:0 12px 12px}.catalogue-product-details .photo-credit{padding:0}
@media(max-width:650px){.variety-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:500px){.catalogue-ranges{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(pointer:coarse){.catalogue-filter-trigger,.catalogue-control,.catalogue-chip{min-height:44px}.catalogue-filters input[type=text],.catalogue-filters select{min-height:36px;font-size:16px}.catalogue-choices label{min-height:44px}}
