/* generated from site/theme */
:root {
  --font-display: "Space Grotesk", "Hind Siliguri", system-ui, sans-serif;
  --font-body: "Archivo", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --bg: #f6f4ef;
  --bg-elev: #ffffff;
  --bg-sunk: #ece9e1;
  --ink: #16161a;
  --ink-2: #44444c;
  --muted: #5f5f68;
  --line: #dedad0;
  --line-strong: #c9c4b7;
  --accent: #a15c00;
  --accent-ink: #ffffff;
  --accent-soft: #f6e7cf;
  --hero: #101012;
  --hero-ink: #f5f3ee;
  --danger: #b42318;
  --ok: #1f7a45;
  --warn: #9a5b00;
  --shadow: 0 1px 2px rgb(20 20 25 / .06), 0 8px 24px -12px rgb(20 20 25 / .18);
  --shadow-lg: 0 24px 60px -24px rgb(20 20 25 / .35);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d0d0f;
  --bg-elev: #17171b;
  --bg-sunk: #08080a;
  --ink: #f2f0ea;
  --ink-2: #cfccc4;
  --muted: #a3a1a9;
  --line: #2a2a31;
  --line-strong: #3a3a43;
  --accent: #f0b44c;
  --accent-ink: #1a1206;
  --accent-soft: #2c2212;
  --hero: #060607;
  --hero-ink: #f5f3ee;
  --danger: #ff6b5e;
  --ok: #4cc38a;
  --warn: #f0b44c;
  --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 8px 24px -12px rgb(0 0 0 / .6);
  --shadow-lg: 0 24px 60px -24px rgb(0 0 0 / .8);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #0d0d0f;
  --bg-elev: #17171b;
  --bg-sunk: #08080a;
  --ink: #f2f0ea;
  --ink-2: #cfccc4;
  --muted: #a3a1a9;
  --line: #2a2a31;
  --line-strong: #3a3a43;
  --accent: #f0b44c;
  --accent-ink: #1a1206;
  --accent-soft: #2c2212;
  --hero: #060607;
  --hero-ink: #f5f3ee;
  --danger: #ff6b5e;
  --ok: #4cc38a;
  --warn: #f0b44c;
  --shadow: 0 1px 2px rgb(0 0 0 / .5), 0 8px 24px -12px rgb(0 0 0 / .6);
  --shadow-lg: 0 24px 60px -24px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}

/* Self-hosted Google Fonts (OFL). Generated once; see README. */
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext-594978.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-2d6953.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext-594978.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-2d6953.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext-594978.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-2d6953.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext-594978.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-2d6953.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* bengali */
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/hind-siliguri-bengali-b4d827.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}
/* latin-ext */
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/hind-siliguri-latin-ext-029546.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/hind-siliguri-latin-6d3d41.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* bengali */
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/hind-siliguri-bengali-433cff.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}
/* latin-ext */
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/hind-siliguri-latin-ext-0504e6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/hind-siliguri-latin-67f9ab.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* bengali */
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/hind-siliguri-bengali-c9685b.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1;
}
/* latin-ext */
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/hind-siliguri-latin-ext-2c0b10.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/hind-siliguri-latin-29107f.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-latin-ext-c0b223.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-latin-4ecc7e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-latin-ext-c0b223.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-latin-4ecc7e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-latin-ext-c0b223.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-latin-4ecc7e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   ClubKit public site styles. Colours/fonts come from /theme.css tokens.
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink); font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.i { flex: none; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; justify-content: center; }
main:focus { outline: none; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 16px; }
.container.narrow { max-width: 820px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.alt { background: var(--bg-sunk); }
.grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row-2, .row-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } .row-3 { grid-template-columns: repeat(3, 1fr); } }
.stack > * + * { margin-top: 18px; }

/* ---------- type helpers ---------- */
.kicker { font: 600 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px;
  display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); margin: 0; }
.section-text { color: var(--muted); margin: 10px 0 0; max-width: 60ch; }
.sub-label { display: flex; align-items: center; gap: 8px; font: 600 .82rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 32px 0 16px; }
.sub-label:first-of-type { margin-top: 0; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 8px 0; min-height: 44px; }
.link-arrow .i { transition: transform .2s ease; }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow:hover { color: var(--accent); }
.link-arrow.light { color: var(--hero-ink); }

/* ---------- buttons ---------- */
.btn { --b: var(--line-strong); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid var(--b); background: var(--bg-elev); color: var(--ink); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .12s, box-shadow .2s; touch-action: manipulation; white-space: nowrap; }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); box-shadow: 0 8px 22px -10px var(--accent); }
.btn.ghost { background: transparent; }
.btn.light { background: #fff; color: #111; border-color: #fff; }
.btn.glass { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .28); backdrop-filter: blur(8px); }
.btn.glass:hover { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .6); }
.btn.sm { min-height: 38px; padding: 6px 14px; font-size: .88rem; }
.btn.lg { min-height: 52px; padding: 12px 26px; font-size: 1rem; }
.btn.block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: inherit; text-decoration: none; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.icon-btn.sm { width: 36px; height: 36px; }
.icon-btn.glass { background: rgb(0 0 0 / .35); color: #fff; border-color: rgb(255 255 255 / .2); backdrop-filter: blur(8px); }
.icon-btn.glass:hover { background: rgb(0 0 0 / .55); }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  background: var(--bg-sunk); color: var(--ink-2); border: 1px solid var(--line); text-decoration: none; white-space: nowrap; }
a.chip:hover { border-color: var(--ink); }
.chip.ghost { background: transparent; }
.chip.accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.chip.st-upcoming { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.chip.st-ongoing { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); border-color: transparent; }
.chip.st-past { color: var(--muted); }
.chip.st-important { background: var(--accent-soft); color: var(--warn); border-color: transparent; }
.chip.st-urgent { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); border-color: transparent; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- admin bar ---------- */
.adminbar { background: #111; color: #eee; font-size: .82rem; position: relative; z-index: 60; }
.adminbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.adminbar span { display: inline-flex; gap: 6px; align-items: center; }
.adminbar-links { gap: 16px !important; }
.adminbar a { color: #fff; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); transition: transform .4s cubic-bezier(.2, .7, .2, 1), background .3s, border-color .3s, color .3s; }
.site-header.hide { transform: translateY(-105%); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; padding: 6px 0; }
.brand .logo { height: 40px; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
.main-nav { display: none; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 12px; border-radius: 999px; background: none; border: 0;
  font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--ink-2); transition: color .2s, background .2s; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { content: ""; position: absolute; }
.nav-link .chev { transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 8px; background: var(--bg-elev); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.has-sub.open .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.sub a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500; font-size: .94rem; }
.sub a:hover, .sub a[aria-current] { background: var(--bg-sunk); }
.sub a[aria-current] { color: var(--accent); }
.sub .sub-all { color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 4px; }
.head-actions { display: flex; align-items: center; gap: 4px; }
.join-btn { display: none; margin-inline: 6px; }
@media (min-width: 640px) { .join-btn { display: inline-flex; } }
@media (min-width: 1180px) { .main-nav { display: block; } .menu-toggle { display: none; } }
.theme-menu { position: relative; }
.theme-pop { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg-elev); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; min-width: 160px; }
.theme-pop button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; border-radius: var(--radius-sm); font-size: .92rem; text-align: left; }
.theme-pop button:hover { background: var(--bg-sunk); }
.theme-pop button[aria-checked="true"] { color: var(--accent); font-weight: 600; }
.t-dark { display: none; }
:root[data-theme="dark"] .t-dark { display: block; } :root[data-theme="dark"] .t-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .t-dark { display: block; } :root:not([data-theme="light"]) .t-light { display: none; } }

/* Header over the dark hero on the home page */
.hero-header .site-header:not(.scrolled) { background: transparent; border-color: transparent; color: var(--hero-ink); backdrop-filter: none; }
.hero-header .site-header:not(.scrolled) .nav-link { color: rgb(255 255 255 / .82); }
.hero-header .site-header:not(.scrolled) .nav-link:hover, .hero-header .site-header:not(.scrolled) .nav-link.active, .hero-header .site-header:not(.scrolled) .nav-link[aria-expanded="true"] { color: #fff; background: rgb(255 255 255 / .1); }
.hero-header .site-header:not(.scrolled) .logo-light { display: none; }
.hero-header .site-header:not(.scrolled) .logo-dark { display: block; }
.hero-header .site-header:not(.scrolled) .icon-btn:hover { background: rgb(255 255 255 / .12); }
.hero-header .site-header { position: fixed; left: 0; right: 0; }
.hero-header .adminbar + .site-header { top: 0; }

/* ---------- drawer (mobile nav) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgb(0 0 0 / .55); animation: fade .2s ease; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--bg-elev); color: var(--ink); z-index: 1;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slideIn .28s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; overscroll-behavior: contain; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-nav { padding: 8px; flex: 1; }
.drawer-nav a, .drawer-nav summary { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 14px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary .chev { margin-left: auto; transition: transform .2s; }
.drawer-nav details[open] summary .chev { transform: rotate(180deg); }
.drawer-nav a:hover, .drawer-nav summary:hover { background: var(--bg-sunk); }
.drawer-nav a[aria-current] { color: var(--accent); background: var(--accent-soft); }
.drawer-nav details ul { padding: 0 0 8px 46px; }
.drawer-nav details ul a { min-height: 44px; font-weight: 500; color: var(--ink-2); }
.drawer-nav .i { color: var(--muted); }
.drawer-foot { padding: 16px 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.socials { display: flex; gap: 6px; flex-wrap: wrap; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); transition: all .2s; }
.social:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero); color: var(--hero-ink); padding: calc(72px + clamp(48px, 9vw, 110px)) 0 40px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.2) brightness(.45); transform: scale(1.2); opacity: .9; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 70% at 50% 0%, transparent 0%, var(--hero) 78%),
              radial-gradient(60% 50% at 85% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; font-size: .85rem;
  background: rgb(255 255 255 / .06); backdrop-filter: blur(6px); margin-bottom: 24px; color: rgb(255 255 255 / .9); }
.eyebrow-pill .i { color: var(--accent); }
.hero-title { font-size: clamp(2.35rem, 1.2rem + 5.6vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 16ch; margin: 0 0 20px; font-weight: 700; }
.hero-title .hl { color: var(--accent); }
:root:not([data-theme="dark"]) .hero-title .hl { color: #f0b44c; }
.hero-sub { font-size: clamp(1rem, .95rem + .35vw, 1.2rem); color: rgb(255 255 255 / .78); max-width: 60ch; margin: 0 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
:root:not([data-theme="dark"]) .hero .btn.primary { background: #f0b44c; border-color: #f0b44c; color: #1a1206; }

/* coverflow */
.coverflow { position: relative; margin-top: clamp(40px, 7vw, 72px); }
.cf-track { position: relative; height: clamp(230px, 34vw, 380px); perspective: 1400px; }
.cf-item { position: absolute; top: 0; left: 50%; width: clamp(220px, 34vw, 440px); height: 100%; margin-left: calc(clamp(220px, 34vw, 440px) / -2);
  transition: transform .7s cubic-bezier(.2, .75, .2, 1), opacity .7s, filter .7s; will-change: transform; opacity: 0; pointer-events: none; }
.cf-item figure { margin: 0; height: 100%; border-radius: calc(var(--radius) + 4px); overflow: hidden; position: relative; box-shadow: 0 30px 70px -30px rgb(0 0 0 / .9); background: #1a1a1d; }
.cf-item img { width: 100%; height: 100%; object-fit: cover; }
.cf-item figcaption { position: absolute; inset: auto 0 0; padding: 36px 16px 14px; background: linear-gradient(transparent, rgb(0 0 0 / .8)); font-size: .82rem; display: flex; flex-direction: column; gap: 2px; text-align: left; opacity: 0; transition: opacity .4s; }
.cf-item figcaption span { display: inline-flex; align-items: center; gap: 6px; color: rgb(255 255 255 / .8); }
.cf-item[data-pos="0"] { transform: translateX(0) scale(1); opacity: 1; z-index: 5; pointer-events: auto; }
.cf-item[data-pos="0"] figcaption { opacity: 1; }
.cf-item[data-pos="1"] { transform: translateX(62%) scale(.8) rotateY(-14deg); opacity: .75; z-index: 4; filter: brightness(.6); pointer-events: auto; cursor: pointer; }
.cf-item[data-pos="-1"] { transform: translateX(-62%) scale(.8) rotateY(14deg); opacity: .75; z-index: 4; filter: brightness(.6); pointer-events: auto; cursor: pointer; }
.cf-item[data-pos="2"] { transform: translateX(112%) scale(.62) rotateY(-18deg); opacity: .4; z-index: 3; filter: brightness(.45); }
.cf-item[data-pos="-2"] { transform: translateX(-112%) scale(.62) rotateY(18deg); opacity: .4; z-index: 3; filter: brightness(.45); }
.cf-item[data-pos="3"] { transform: translateX(150%) scale(.5); opacity: 0; }
.cf-item[data-pos="-3"] { transform: translateX(-150%) scale(.5); opacity: 0; }
.cf-controls { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 24px; }
.cf-controls .link-arrow { margin-left: 12px; }
.cf-controls .i-play { display: none; }
.cf-controls [aria-pressed="true"] .i-play { display: block; }
.cf-controls [aria-pressed="true"] .i-pause { display: none; }

/* ---------- stats ---------- */
.stats { background: var(--hero); color: var(--hero-ink); border-top: 1px solid rgb(255 255 255 / .08); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px 12px; text-align: center; border-right: 1px solid rgb(255 255 255 / .08); }
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 768px) { .stat:nth-child(2n) { border-right: 1px solid rgb(255 255 255 / .08); } .stat:last-child { border-right: 0; } }
.stat strong { display: block; font: 700 clamp(1.8rem, 1.3rem + 2vw, 2.8rem)/1 var(--font-display); color: #f0b44c; font-variant-numeric: tabular-nums; }
.stat span { font-size: .88rem; color: rgb(255 255 255 / .7); }

/* ---------- cards ---------- */
.card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-media { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-sunk); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img, .card:focus-within .card-media img { transform: scale(1.05); }
.media-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted); background: repeating-linear-gradient(45deg, var(--bg-sunk), var(--bg-sunk) 10px, transparent 10px, transparent 20px); }
.card-body { padding: 20px; }
.card-title { font-size: 1.15rem; margin: 0 0 10px; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card-text { color: var(--muted); font-size: .94rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .chips a, .card .card-body a:not(.card-title a) { position: relative; z-index: 2; }
.meta { display: grid; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.meta li { display: flex; gap: 8px; align-items: flex-start; }
.meta .i { margin-top: 3px; }
.date-badge { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; min-width: 56px; padding: 6px 8px; border-radius: 12px; background: var(--bg-elev); color: var(--ink); text-align: center; line-height: 1.1; box-shadow: var(--shadow); }
.date-badge span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.date-badge strong { font: 700 1.4rem/1 var(--font-display); }
.event-card.is-past .card-media img { filter: grayscale(.35); }
.event-card.compact { display: grid; grid-template-columns: 120px 1fr; }
.event-card.compact .card-media { aspect-ratio: auto; min-height: 100%; }
.event-card.compact .date-badge { top: 8px; left: 8px; min-width: 44px; padding: 4px 6px; }
.event-card.compact .date-badge strong { font-size: 1.1rem; }
.event-card.compact .card-body { padding: 14px 16px; }
.event-card.compact .card-title { font-size: 1rem; }
.event-card.compact .meta { margin: 0; font-size: .82rem; }

.album-card { border: 0; background: none; box-shadow: none; overflow: visible; }
.album-card:hover { transform: none; box-shadow: none; }
.album-link { display: block; text-decoration: none; }
.album-stack { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.album-stack::before, .album-stack::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: var(--line-strong); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.album-stack::before { transform: rotate(-3deg) translate(-4px, 4px); opacity: .6; }
.album-stack::after { transform: rotate(2deg) translate(4px, 2px); opacity: .9; background: var(--line); }
.album-stack img, .album-stack .media-fallback { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.album-link:hover .album-stack::before { transform: rotate(-6deg) translate(-12px, 6px); }
.album-link:hover .album-stack::after { transform: rotate(5deg) translate(12px, 2px); }
.album-info { display: flex; flex-direction: column; gap: 4px; padding: 16px 4px 0; }
.album-title { font: 600 1.1rem/1.3 var(--font-display); }
.album-link:hover .album-title { color: var(--accent); }
.album-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }

.news-grid { grid-template-columns: 1fr; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } .post-card.large { grid-column: span 2; grid-row: span 2; } .post-card.large .card-media { aspect-ratio: 16 / 9; } .post-card.large .card-title { font-size: 1.6rem; } }

/* ---------- story ---------- */
.story-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 5fr 6fr; gap: 72px; } }
.story-media { position: relative; }
.story-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); }
.since { position: absolute; right: -8px; bottom: 24px; background: var(--accent); color: var(--accent-ink); padding: 14px 20px; border-radius: var(--radius); font-size: .85rem; box-shadow: var(--shadow-lg); line-height: 1.2; }
.since strong { display: block; font: 700 1.8rem/1 var(--font-display); }
@media (min-width: 900px) { .since { right: -28px; } }
.prose { max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; } .prose ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--accent); font-weight: 500; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-size: 1.1rem; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose strong { color: var(--ink); }
.prose.sm { font-size: .95rem; }
.muted-prose { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.intro-prose { margin-bottom: 32px; }
.ribbon { margin-top: clamp(56px, 8vw, 96px); background: var(--ink); color: var(--bg); overflow: hidden; padding: 18px 0; }
.ribbon.dark { margin-top: 0; }
.ribbon-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font: 500 clamp(1.1rem, 1rem + 1vw, 1.6rem)/1 var(--font-display); white-space: nowrap; }
.ribbon-track i { color: var(--accent); display: inline-flex; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- members spotlight band ---------- */
.dark-band { background: var(--hero); color: var(--hero-ink); }
.dark-band .section-title { color: #fff; }
.dark-band .section-text, .dark-band .muted { color: rgb(255 255 255 / .65); }
.dark-band .link-arrow { color: #fff; }
.dark-band .kicker { color: #f0b44c; }
.spot-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .spot-grid { grid-template-columns: 1.1fr 1fr; align-items: stretch; } }
.spotlight { margin: 0; display: grid; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1); }
.spot-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.spotlight figcaption { padding: 20px 22px 16px; }
.spotlight h3 { font-size: 1.3rem; margin: 12px 0 6px; color: #fff; }
.spotlight .chip.accent { background: rgb(240 180 76 / .15); color: #f0b44c; }
.by { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 0 0 6px; }
.mini-mosaic { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(110px, 1fr); }
.mm { display: block; overflow: hidden; border-radius: var(--radius-sm); background: #1a1a1d; }
.mm img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; filter: grayscale(.2); }
.mm:hover img { transform: scale(1.06); filter: none; }
.mm-0 { grid-column: span 2; grid-row: span 2; }

/* ---------- notices & calendar ---------- */
.board-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .board-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.board-grid .section-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.notices { display: grid; gap: 12px; }
.notice { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 16px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.notice::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: transparent; }
.notice.p-important::before { background: var(--warn); }
.notice.p-urgent::before { background: var(--danger); }
.notice-date { display: grid; place-content: center; text-align: center; background: var(--bg-sunk); border-radius: var(--radius-sm); line-height: 1.1; height: 64px; }
.notice-date strong { font: 700 1.5rem/1 var(--font-display); }
.notice-date span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.notice h3 { font-size: 1.05rem; margin: 0 0 4px; }
.notice h3 a { text-decoration: none; }
.notice h3 a:hover { color: var(--accent); }
.notice .chips { margin-bottom: 6px; }
.notice .chips:empty { display: none; }
.notice p { margin: 0; font-size: .92rem; }
.notices.full .notice { padding: 22px; }
.calendar { padding: 18px; overflow: visible; }
.calendar:hover { transform: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-title { font-size: 1.05rem; margin: 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; padding: 6px 0; letter-spacing: .06em; }
.cal-cell { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; border: 1px solid transparent; background: none; font-size: .9rem; font-variant-numeric: tabular-nums; min-height: 36px; }
.cal-cell:hover { background: var(--bg-sunk); }
.cal-cell.out { color: var(--muted); opacity: .5; }
.cal-cell.today { border-color: var(--accent); font-weight: 700; }
.cal-cell.sel { background: var(--accent); color: var(--accent-ink); }
.cal-cell.has::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cal-cell.sel.has::after { background: var(--accent-ink); }
.cal-day { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); min-height: 64px; }
.cal-day h4 { font: 600 .85rem/1.2 var(--font-body); color: var(--muted); margin: 0 0 10px; }
.cal-day ul { display: grid; gap: 8px; }
.cal-day a { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; background: var(--bg-sunk); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; font-size: .92rem; }
.cal-day a:hover { color: var(--accent); }
.cal-day time { font-size: .8rem; color: var(--accent); font-weight: 700; min-width: 48px; }
.cal-day p { margin: 0; color: var(--muted); font-size: .9rem; }
.cal-page { display: grid; gap: 40px; }
@media (min-width: 1024px) { .cal-page { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.calendar.big .cal-cell { aspect-ratio: auto; min-height: 64px; }
.stack-list { display: grid; gap: 12px; }

/* ---------- features / activities ---------- */
.feature-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.feature { padding: 26px; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.closing { text-align: center; font: 500 1.2rem/1.5 var(--font-display); margin: 48px auto 0; max-width: 50ch; }
.quick-links { display: grid; gap: 16px; }
@media (min-width: 900px) { .quick-links { grid-template-columns: repeat(3, 1fr); } }
.quick { display: flex; align-items: center; gap: 16px; padding: 22px; text-decoration: none; }
.quick > .i:first-child { color: var(--accent); }
.quick span { display: flex; flex-direction: column; flex: 1; }
.quick small { color: var(--muted); }
.quote { padding: 26px; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quote blockquote { margin: 0; font: 500 1.05rem/1.6 var(--font-display); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.q-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption span { display: flex; flex-direction: column; } .quote small { color: var(--muted); }

/* ---------- CTA & contact band ---------- */
.cta-band { background: radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--accent) 35%, var(--hero)), var(--hero) 70%); color: #fff; padding: clamp(64px, 9vw, 110px) 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); margin-bottom: 20px; }
.cta-band h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3rem); }
.cta-band p { color: rgb(255 255 255 / .75); max-width: 56ch; margin-bottom: 28px; }
.partners { margin-top: 48px; width: 100%; }
.partners p { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.partners ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 36px; align-items: center; }
.partners img { max-height: 44px; width: auto; filter: grayscale(1) brightness(1.8); opacity: .8; }
.contact-band { position: relative; padding: clamp(64px, 10vw, 140px) 0; background: var(--bg-sunk); isolation: isolate; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .55), rgb(0 0 0 / .1)); }
.contact-card { max-width: 440px; padding: 32px; background: var(--bg-elev); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); }
.contact-card h2 { font-size: 1.6rem; }
.contact-list { display: grid; gap: 12px; margin-bottom: 24px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .i { color: var(--accent); margin-top: 4px; }
.contact-list a { text-decoration: none; } .contact-list a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- page hero ---------- */
.page-hero { position: relative; background: var(--hero); color: var(--hero-ink); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 90% 0%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 70%); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); margin: 0; max-width: 20ch; }
.page-hero .lead { color: rgb(255 255 255 / .72); margin: 16px 0 0; }
.page-hero .kicker { color: #f0b44c; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 20px; color: rgb(255 255 255 / .6); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: rgb(255 255 255 / .9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; display: inline-block; vertical-align: bottom; }

/* ---------- filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.seg { display: inline-flex; padding: 4px; background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 999px; gap: 2px; flex-wrap: wrap; }
.seg a { padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--muted); min-height: 40px; display: inline-flex; align-items: center; }
.seg a:hover { color: var(--ink); }
.seg a[aria-current] { background: var(--bg-elev); color: var(--ink); box-shadow: var(--shadow); }
.wide-seg { margin-bottom: 40px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-bar .cat-pills { margin: 0; }
.cat-pills a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .88rem; font-weight: 500; min-height: 40px; display: inline-flex; align-items: center; }
.cat-pills a:hover { border-color: var(--ink); }
.cat-pills a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pagination .gap { border: 0; }

/* ---------- empty state ---------- */
.empty { text-align: center; padding: 48px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: color-mix(in srgb, var(--bg-elev) 50%, transparent); }
.empty-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.empty h3 { font-size: 1.1rem; margin-bottom: 6px; }
.empty p { color: var(--muted); margin: 0 auto 16px; max-width: 42ch; }

/* ---------- gallery ---------- */
.masonry { columns: 2 160px; column-gap: 12px; }
@media (min-width: 768px) { .masonry { columns: 3 220px; column-gap: 16px; } }
@media (min-width: 1200px) { .masonry { columns: 4 240px; } }
.masonry li { break-inside: avoid; margin-bottom: 12px; }
@media (min-width: 768px) { .masonry li { margin-bottom: 16px; } }
.ph { display: block; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-sunk); cursor: zoom-in; }
.ph img { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ph:hover img { transform: scale(1.04); }
.ph-cap { position: absolute; inset: auto 0 0; padding: 32px 12px 10px; background: linear-gradient(transparent, rgb(0 0 0 / .75)); color: #fff; font-size: .8rem; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.ph-cap span { display: inline-flex; gap: 6px; align-items: center; opacity: .85; }
.ph:hover .ph-cap, .ph:focus-visible .ph-cap { opacity: 1; transform: none; }
@media (hover: none) { .ph-cap { opacity: 1; transform: none; } }
.spot-list { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.spot-list .ph { border-radius: 0; aspect-ratio: 4 / 3; }
.spot-list .ph img { height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(8 8 10 / .96); display: grid; place-items: center; padding: 56px 12px; animation: fade .2s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: min(96vw, 1800px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: #eee; text-align: center; font-size: .92rem; }
.lightbox figcaption small { display: block; color: #aaa; }
.lb-close { position: absolute; top: 12px; right: 12px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-count { position: absolute; top: 20px; left: 20px; color: #aaa; font-size: .85rem; margin: 0; }

/* ---------- detail pages ---------- */
.detail-hero { position: relative; background: var(--hero); color: var(--hero-ink); overflow: hidden; isolation: isolate; }
.detail-cover { position: absolute; inset: 0; z-index: -1; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: saturate(.85); }
.detail-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .6), rgb(0 0 0 / .1)), linear-gradient(transparent 30%, var(--hero)); }
.detail-hero .chip.ghost, .page-hero .chip.ghost { color: #fff; border-color: rgb(255 255 255 / .35); }
.detail-hero .chip.st-past { background: rgb(255 255 255 / .12); color: rgb(255 255 255 / .85); border-color: transparent; }
.detail-head h1, .page-hero h1 { text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.detail-head { padding-block: clamp(80px, 14vw, 180px) 48px; }
.detail-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); max-width: 22ch; margin-bottom: 12px; }
.detail-head .lead { color: rgb(255 255 255 / .75); }
.detail-grid { display: grid; gap: 40px; padding-block: 48px 96px; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } .detail-side { position: sticky; top: 96px; align-self: start; } }
.info-card { padding: 22px; display: grid; gap: 12px; }
.info-card:hover { transform: none; }
.info-card dl { margin: 0 0 8px; display: grid; gap: 16px; }
.info-card dt { display: flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.info-card dt .i { color: var(--accent); }
.info-card dd { margin: 4px 0 0 26px; font-weight: 600; }
.side-list { margin-top: 32px; display: grid; gap: 12px; }
.side-list h2 { font-size: 1.1rem; }
.article-head { padding-block: 48px 32px; }
.article-head .crumbs ol { color: var(--muted); }
.article-head .crumbs a:hover { color: var(--ink); }
.article-head .crumbs [aria-current] { color: var(--ink-2); }
.article-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.article-cover { max-width: 1100px; margin-bottom: 40px; }
.article-cover img { width: 100%; border-radius: calc(var(--radius) + 4px); max-height: 640px; object-fit: cover; }
.article-body { font-size: 1.08rem; }
.share { display: flex; align-items: center; gap: 8px; padding-block: 32px 72px; border-top: 1px solid var(--line); margin-top: 40px; }
.share span { font-weight: 600; margin-right: 8px; }
.share .icon-btn { border-color: var(--line); }

/* ---------- committee ---------- */
.members { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); }
.members.lead { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 280px)); justify-content: center; margin-bottom: 40px; }
.member { text-align: center; padding: 16px 12px 20px; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.member:hover { border-color: var(--accent); transform: translateY(-3px); }
.member-photo { aspect-ratio: 1; border-radius: calc(var(--radius) - 4px); overflow: hidden; margin-bottom: 14px; background: var(--bg-sunk); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(.15); transition: filter .4s, transform .6s; }
.member:hover .member-photo img { filter: none; transform: scale(1.04); }
.avatar-fallback { display: grid; place-items: center; height: 100%; font: 700 2.2rem/1 var(--font-display); color: var(--muted); }
.member h3 { font-size: 1rem; margin: 0 0 4px; }
.member.big h3 { font-size: 1.15rem; }
.role { color: var(--accent); font-weight: 600; font-size: .88rem; margin: 0 0 4px; }
.member .muted { margin: 0; font-size: .82rem; }
.member-links { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); overflow: hidden; }
.acc-item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; list-style: none; min-height: 60px; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary > span:first-child { display: flex; flex-direction: column; }
.acc-item summary small { color: var(--muted); }
.acc-count { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.acc-item .chev { transition: transform .2s; }
.acc-item[open] .chev { transform: rotate(180deg); }
.acc-item[open] summary { border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { text-align: left; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.table td:first-child { font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }

/* ---------- publications ---------- */
.pubs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.pub-cover { aspect-ratio: 3 / 4; background: var(--bg-sunk); overflow: hidden; }
.pub-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pub:hover .pub-cover img { transform: scale(1.04); }
.pub .card-body { display: grid; gap: 10px; justify-items: start; }
.pub .card-title { margin: 0; font-size: 1.05rem; }
.pub .btn, .pub a { position: relative; z-index: 2; }

/* ---------- forms ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.info-list { display: grid; gap: 20px; margin-bottom: 32px; }
.info-list li { display: flex; gap: 16px; }
.ii { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); flex: none; }
.info-list strong { display: block; margin-bottom: 2px; }
.info-list p { margin: 0; color: var(--ink-2); }
.info-list a { text-decoration: none; } .info-list a:hover { text-decoration: underline; }
.note { display: flex; gap: 14px; padding: 20px; margin-bottom: 24px; }
.note:hover { transform: none; }
.note > .i { color: var(--accent); margin-top: 3px; }
.note p { margin: 4px 0 0; color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-sunk); }
.map iframe { width: 100%; height: 100%; border: 0; }
.form-card { padding: clamp(22px, 4vw, 36px); }
.form-card:hover { transform: none; }
.form-card h2 { font-size: 1.5rem; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
legend { font: 600 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.req { color: var(--danger); margin-left: 2px; }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--bg); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.error { display: flex; gap: 6px; align-items: center; color: var(--danger); font-size: .86rem; font-weight: 500; }
.form-error { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); font-weight: 600; margin-bottom: 18px; }
.success { text-align: center; padding: 32px 8px; display: grid; justify-items: center; gap: 4px; }
.success > .i { color: var(--ok); width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, transparent); margin-bottom: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-sunk); border-top: 1px solid var(--line); padding-top: 64px; font-size: .94rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-brand .logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 40ch; }
.site-footer h2 { font: 600 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.site-footer nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.site-footer nav a { text-decoration: none; display: inline-block; padding: 6px 0; } .site-footer nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); padding-block: 20px 28px; color: var(--muted); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-elev); color: var(--ink); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.to-top .i { transform: rotate(180deg); }
.to-top[hidden] { display: none; }

/* ---------- misc ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; }
.big-num { font: 700 clamp(5rem, 3rem + 10vw, 10rem)/1 var(--font-display); color: var(--accent); margin: 0; letter-spacing: -0.05em; }
.edit-fab { position: fixed; left: 16px; bottom: 16px; z-index: 40; }
.cal-noscript { display: grid; gap: 6px; }


/* ==========================================================================
   Film strip (home) — free-browsing row: swipe, drag, arrows; fx.js adds a gentle drift
   ========================================================================== */
.filmstrip { position: relative; background: var(--hero); color: var(--hero-ink); padding-block: clamp(56px, 8vw, 96px); overflow-x: clip; isolation: isolate; }
.filmstrip::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 80% 10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
.filmstrip .section-title { color: #fff; }
.filmstrip .kicker { color: #f0b44c; }
.fs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.fs-meta { display: flex; align-items: center; gap: 24px; }
.fs-count { margin: 0; font: 700 clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem)/1 var(--font-display); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.fs-count strong { color: #f0b44c; min-width: 2ch; }
.fs-count span { font-size: .38em; color: rgb(255 255 255 / .5); }
.fs-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: 16px; overscroll-behavior-x: contain; }
.fs-viewport::-webkit-scrollbar { display: none; }
.fs-track { position: relative; display: flex; align-items: flex-end; gap: clamp(14px, 2.2vw, 32px); width: max-content; padding: 30px 0; }
.fs-track::before, .fs-track::after { content: ""; position: absolute; left: -40px; right: -40px; height: 12px; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgb(255 255 255 / .16) 0 3.5px, transparent 4px) 0 0 / 22px 12px repeat-x; }
.fs-track::before { top: 6px; } .fs-track::after { bottom: 6px; }
.fs-frame { flex: none; scroll-snap-align: center; }
.fs-frame a { display: block; color: inherit; text-decoration: none; }
.fs-frame figure { margin: 0; }
.fs-img { height: clamp(240px, 52vh, 540px); width: fit-content; max-width: min(82vw, 860px); overflow: hidden; border-radius: 6px; background: #151518;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .9); }
.fs-img img { height: 100%; width: auto; max-width: none; transition: filter .6s ease; }
.fs-frame a:hover .fs-img img { filter: brightness(1.08); }
.fs-frame figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 14px; font-size: .85rem; color: rgb(255 255 255 / .7); max-width: min(82vw, 860px); }
.fs-frame figcaption strong { color: #fff; font-weight: 600; }
.fs-frame figcaption span:not(.fs-no):not(.chip) { display: inline-flex; gap: 6px; align-items: center; }
.fs-no { font: 700 .78rem/1 var(--font-display); color: #f0b44c; letter-spacing: .08em; }
.fs-spot .fs-img { outline: 2px solid #f0b44c; outline-offset: 6px; }
.fs-end { flex: none; align-self: center; padding-inline: clamp(24px, 6vw, 96px); }
.fs-progress { height: 2px; margin-top: 24px; background: rgb(255 255 255 / .12); border-radius: 2px; overflow: hidden; }
.fs-progress span { display: block; height: 100%; background: #f0b44c; transform-origin: 0 50%; transform: scaleX(0); }
@media (min-width: 640px) { .fs-viewport { padding-inline: 24px; } }

/* browsing states */
.fs-nav { display: flex; gap: 8px; }
.fs-nav .icon-btn:disabled { opacity: .35; cursor: default; }
.fs-viewport { cursor: grab; outline-offset: -3px; }
.fs-viewport.dragging { cursor: grabbing; scroll-snap-type: none; }
.fs-viewport.dragging a { pointer-events: none; }
.fs-progress { display: block; }
.fs-frame { opacity: .5; transition: opacity .5s ease; }
.fs-frame .fs-img img { filter: grayscale(.85) contrast(1.05); will-change: transform; transition: filter .6s ease; }
.fs-frame.active, .fs-frame:hover, .fs-frame:focus-within { opacity: 1; }
.fs-frame.active .fs-img img, .fs-frame:hover .fs-img img { filter: none; }
@media (min-width: 1024px) { .fs-viewport { padding-inline: max(32px, calc((100vw - 1240px) / 2 + 32px)); } }
.fx .fs-track { will-change: translate; }

/* ==========================================================================
   Scroll effects — only active when fx.js adds .fx to <html>
   ========================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), #f0b44c); transform-origin: 0 50%; transform: scaleX(0); }

/* kinetic headings: each word rises out of a mask */
.fx .fx-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .06em .02em .12em; margin: -.06em -.02em -.12em; }
.fx .fx-words .w > span { display: inline-block; transform: translate3d(0, 110%, 0) rotate(5deg); transform-origin: 0 100%;
  transition: transform 1s cubic-bezier(.16, .84, .24, 1); }
.fx .fx-words.in .w > span { transform: none; }

/* rise + slight 3D tilt for blocks and cards */
.fx .fx-rise { opacity: 0; transform: perspective(900px) translate3d(0, 34px, 0) rotateX(9deg); transform-origin: 50% 100%;
  transition: opacity .7s ease-out var(--d, 0ms), transform 1s cubic-bezier(.16, .84, .24, 1) var(--d, 0ms); }
.fx .fx-rise.in { opacity: 1; transform: none; }

/* cinematic unmask for photos */
.fx .fx-unmask { clip-path: inset(12% 9% 12% 9% round 18px); scale: 1.22;
  transition: clip-path 1.25s cubic-bezier(.16, .84, .24, 1), scale 1.8s cubic-bezier(.16, .84, .24, 1); }
.fx .fx-unmask.in { clip-path: inset(0 0 0 0 round 0); scale: 1; }

/* background parallax (scrubbed, set via --py) */
.fx .page-hero-bg img, .fx .detail-cover img, .fx .contact-bg img { scale: 1.16; translate: 0 var(--py, 0); will-change: translate; }
.fx .story-media img { translate: 0 calc(var(--py, 0%) * .6); }
.fx .hero-inner, .fx .coverflow { will-change: transform, opacity; transform-origin: 50% 0; }
.fx .ribbon { transition: transform .25s ease-out; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ribbon-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
@media print { .scroll-progress, .site-header, .site-footer, .drawer, .to-top, .adminbar, .cta-band, .contact-band { display: none !important; } body { background: #fff; color: #000; } }
