/* =========================================================
   Sun City Anthem Multimedia Club
   Screening-room palette, marquee display type, readable body.
   ========================================================= */

/* Self-hosted fonts (SIL Open Font License): no requests to Google */
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --ink: #0d1017;          /* house lights down */
  --velvet: #171b26;       /* raised panels */
  --velvet-2: #202533;
  --line: rgba(236, 232, 223, 0.14);
  --screen: #ece8df;       /* main text */
  --dim: #aba79f;          /* secondary text, 8:1 on ink */
  --amber: #ffb238;        /* projector light, the one accent */
  --amber-deep: #e89a1c;
  --rec: #ff4b3e;          /* live indicator only */
  --ok: #7fd89a;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Verdana, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 3px;
  --header-h: 76px;
}

html { font-size: 112.5%; scroll-behavior: smooth; }               /* 18px base */
html[data-text="lg"] { font-size: 125%; }
html[data-text="xl"] { font-size: 140%; }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--screen);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: #ffc867; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0 0 0.4em;
  color: var(--screen);
}
h1 { font-size: clamp(3.2rem, 8vw, 7.2rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; }
.lede { font-size: 1.22rem; line-height: 1.55; color: var(--screen); max-width: 38em; }
.muted { color: var(--dim); }
.small { font-size: 0.9rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 34em; color: var(--dim); }
.measure { max-width: 40em; }

.visually-hidden, .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: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; white-space: nowrap; align-items: center; gap: 10px;
  font: 700 1rem/1 var(--body);
  padding: 17px 26px; min-height: 54px;
  border-radius: var(--radius); border: 2px solid var(--amber);
  background: var(--amber); color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: #ffc35f; border-color: #ffc35f; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--screen); border-color: rgba(236, 232, 223, .55); }
.btn-ghost:hover { background: var(--screen); border-color: var(--screen); color: var(--ink); }
.btn-small { padding: 11px 16px; min-height: 44px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 700; color: var(--screen); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--amber); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(13, 16, 23, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.page-home .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(13,16,23,.75), rgba(13,16,23,0)); border-bottom-color: transparent; backdrop-filter: none; transition: background .3s; }
.page-home .site-header.scrolled { background: rgba(13, 16, 23, .94); border-bottom-color: var(--line); backdrop-filter: blur(10px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--screen); text-decoration: none; }
/* Logo mark: camera iris whose blades read as sun rays, with a play button */
.brand .mark { width: 54px; height: 54px; flex: none; overflow: visible; }
.brand .mark .iris { transform-origin: 32px 32px; transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); animation: iris-in 1.3s cubic-bezier(.2, .9, .3, 1.15) .3s both; }
.brand:hover .mark .iris, .brand:focus-visible .mark .iris { transform: rotate(60deg); }
@keyframes iris-in { from { transform: rotate(-150deg) scale(.55); opacity: 0; } to { transform: none; opacity: 1; } }
/* Lockup: community name small on top, Multimedia Club as the headline */
.brand-name { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name .b-top { font-family: var(--body); font-weight: 700; font-size: .68rem; color: var(--amber); text-transform: uppercase; letter-spacing: .2em; white-space: nowrap; margin-bottom: 3px; }
.brand-name .b-bot { font-family: var(--display); font-weight: 900; font-size: 1.95rem; color: var(--screen); letter-spacing: .005em; white-space: nowrap; line-height: .92; }
.site-footer .brand .mark { width: 64px; height: 64px; }
.site-footer .brand-name .b-top { font-size: .78rem; }
.site-footer .brand-name .b-bot { font-size: 2.3rem; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; color: var(--screen); text-decoration: none; font-weight: 700; font-size: .95rem; border-radius: var(--radius); }
.nav a:hover { color: var(--amber); }
.nav a[aria-current="page"] { color: var(--amber); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 0; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); background: transparent; color: var(--screen);
  border-radius: var(--radius); font: 700 .9rem var(--body); cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.icon-btn:hover { border-color: var(--amber); color: var(--amber); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }

.display-panel {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) - 6px);
  width: min(340px, calc(100vw - 32px)); padding: 22px; z-index: 60;
  background: var(--velvet); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.display-panel[hidden] { display: none; }
.display-panel h2 { font-size: 1.7rem; margin-bottom: 14px; }
.display-panel fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.display-panel legend { font-weight: 700; margin-bottom: 8px; }
.seg { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg button { flex: 1; min-height: 46px; background: transparent; color: var(--screen); border: 0; border-left: 1px solid var(--line); font: 700 .95rem var(--body); cursor: pointer; }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--amber); color: var(--ink); }
.seg .t-lg { font-size: 1.1rem; } .seg .t-xl { font-size: 1.28rem; }

@media (max-width: 1380px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; display: none; margin: 0; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { font-size: 1.15rem; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--amber); padding-left: 16px; }
  .header-tools { margin-left: auto; }
  .header-join { display: none; }
}
@media (max-width: 520px) {
  .brand-name .b-top { font-size: .6rem; letter-spacing: .16em; }
  .brand-name .b-bot { font-size: 1.55rem; }
  .brand .mark { width: 44px; height: 44px; }
  .icon-btn .label { display: none; }
}

/* ---------- the showreel (home hero) ---------- */
.reel { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #05070b; isolation: isolate; }
.reel-slides { position: absolute; inset: 0; z-index: -2; }
.reel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.reel-slide.on { opacity: 1; }
.reel-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.reel-slide.on img { animation: push 9s ease-out forwards; }
@keyframes push { from { transform: scale(1.04); } to { transform: scale(1.13) translate(-1.5%, -1%); } }
.reel::before { /* scrim for legibility */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 10, 15, .88) 0%, rgba(8, 10, 15, .55) 42%, rgba(8, 10, 15, .1) 75%),
    linear-gradient(0deg, rgba(8, 10, 15, .95) 0%, rgba(8, 10, 15, 0) 45%);
}
.reel::after { /* letterbox bars that open on load */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  border-top: 50vh solid #000; border-bottom: 50vh solid #000;
  animation: letterbox 1.4s cubic-bezier(.7, 0, .2, 1) .2s forwards;
}
@keyframes letterbox { to { border-top-width: 0; border-bottom-width: 0; } }

.reel-copy { padding-top: calc(var(--header-h) + 40px); padding-bottom: 36px; }
.reel-copy h1 { font-size: clamp(3.6rem, 10.5vw, 9.6rem); max-width: 7.5em; margin-bottom: 22px; text-wrap: balance; }
.reel-copy .lede { margin-bottom: 30px; }

.reel-bar { border-top: 1px solid var(--line); background: rgba(5, 7, 11, .72); backdrop-filter: blur(6px); }
.reel-bar-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding-top: 14px; padding-bottom: 16px; }
.reel-now { min-width: 0; width: 280px; }
.reel-now .tc { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.reel-now .credit { font-size: .92rem; line-height: 1.4; color: var(--dim); min-height: 2.8em; }
.reel-now .credit a { color: var(--screen); font-weight: 700; text-decoration: none; }
.reel-now .credit a:hover { color: var(--amber); }
.reel-now .live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); margin-right: 8px; vertical-align: 1px; animation: blink 1.6s steps(2) infinite; }
.reel.paused .live { animation: none; background: var(--dim); }
@keyframes blink { 50% { opacity: .2; } }

.strip {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
  padding: 12px 6px; background: #000; border-radius: 2px; cursor: ew-resize; touch-action: pan-y;
  --sprocket: radial-gradient(circle at 50% 50%, #2a2e38 0 2.5px, transparent 3px);
}
.strip::before, .strip::after { /* sprocket holes */
  content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg, transparent 0 7px, #343946 7px 15px, transparent 15px 22px);
  opacity: .9;
}
.strip::before { top: 2px; } .strip::after { bottom: 2px; }
.frame { position: relative; display: block; padding: 0; border: 0; background: #111; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; opacity: .5; transition: opacity .3s; }
.frame img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.frame:hover { opacity: .85; }
.frame[aria-current="true"] { opacity: 1; outline: 2px solid var(--amber); outline-offset: 1px; }
.playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--amber); box-shadow: 0 0 12px var(--amber); left: 0; pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--amber); }
.reel-ctrl { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--screen); background: transparent; color: var(--screen); display: grid; place-items: center; cursor: pointer; }
.reel-ctrl:hover { border-color: var(--amber); color: var(--amber); }
.reel-ctrl svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .reel-now { width: auto; }
  .reel-bar-inner { grid-template-columns: 1fr auto; }
  .strip { grid-column: 1 / -1; order: 3; }
  .reel::before { background: linear-gradient(0deg, rgba(8,10,15,.96) 0%, rgba(8,10,15,.55) 60%, rgba(8,10,15,.35) 100%); }
}

/* ---------- now-on strip ---------- */
.now-on { border-bottom: 1px solid var(--line); background: var(--velvet); }
.now-on ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.now-on li { padding: 20px 24px 20px 0; display: flex; gap: 14px; align-items: baseline; }
.now-on li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.now-on strong { font-family: var(--display); font-size: 1.9rem; color: var(--amber); line-height: 1; min-width: 1.2em; }
.now-on a { color: var(--screen); }
@media (max-width: 820px) {
  .now-on ul { grid-template-columns: 1fr; }
  .now-on li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- "I want to make" selector ---------- */
.maker-q { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; margin: 0 0 28px; }
.maker-q .pick { color: var(--amber); border-bottom: 5px solid var(--amber); }
.maker-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.maker-options button {
  font: 700 1.05rem var(--body); color: var(--screen); background: transparent;
  border: 2px solid var(--line); border-radius: 40px; padding: 12px 22px; min-height: 52px; cursor: pointer;
}
.maker-options button:hover { border-color: var(--amber); }
.maker-options button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.maker-results { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.maker-results > div { padding: 28px 28px 8px 0; }
.maker-results > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.maker-results h3 { font-size: 1.6rem; margin-bottom: 14px; }
.maker-results ul { list-style: none; margin: 0; padding: 0; }
.maker-results li { margin-bottom: 14px; }
.mini-work { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-work a { color: var(--screen); text-decoration: none; font-weight: 700; font-size: .95rem; }
.mini-work img { aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 8px; border-radius: var(--radius); }
.mini-work a:hover { color: var(--amber); }
@media (max-width: 900px) {
  .maker-results { grid-template-columns: 1fr; }
  .maker-results > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.work-grid.feature > :first-child { grid-column: span 2; grid-row: span 2; }
.work-grid.feature > :first-child .work-img { aspect-ratio: auto; height: calc(100% - 92px); min-height: 300px; }
.work-card { display: block; color: var(--screen); text-decoration: none; }
.work-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--velvet); margin-bottom: 14px; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-card:hover .work-img img { transform: scale(1.04); }
.work-card:hover h3 { color: var(--amber); }
.work-card h3 { font-size: 1.75rem; margin: 0 0 4px; }
.work-meta { color: var(--dim); font-size: .95rem; }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(5, 7, 11, .8); color: var(--screen); font-weight: 700; font-size: .82rem; padding: 6px 10px; border-radius: 2px; }
.tag.gold { background: var(--amber); color: var(--ink); }
.work-card[hidden] { display: none; }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-grid.feature > :first-child { grid-column: auto; grid-row: auto; }
  .work-grid.feature > :first-child .work-img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
}

/* ---------- filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chips button { font: 700 .98rem var(--body); color: var(--screen); background: transparent; border: 2px solid var(--line); border-radius: 40px; padding: 10px 18px; min-height: 48px; cursor: pointer; }
.chips button:hover { border-color: var(--amber); }
.chips button[aria-pressed="true"] { background: var(--screen); color: var(--ink); border-color: var(--screen); }
.chips .count { opacity: .65; font-weight: 400; margin-left: 4px; }

/* ---------- event slates ---------- */
.slates { display: grid; gap: 18px; }
.slate {
  display: grid; grid-template-columns: 150px 1fr 270px; gap: 0;
  background: var(--velvet); border-radius: 4px; overflow: hidden;
  border-left: 6px solid var(--amber);
}
.slate[data-past] { border-left-color: var(--dim); }
.slate-date { padding: 22px 18px; background: var(--velvet-2); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.slate-date .dow { font-weight: 700; color: var(--dim); font-size: .95rem; }
.slate-date .day { font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: .9; color: var(--screen); }
.slate-date .mon { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--amber); }
.slate-body { padding: 22px 26px; min-width: 0; }
.slate-body h3 { font-size: 2rem; margin-bottom: 8px; }
.slate-type { display: inline-block; font-weight: 700; font-size: .85rem; color: var(--ink); background: var(--screen); padding: 3px 9px; border-radius: 2px; margin-bottom: 10px; }
.slate-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 22px; margin: 14px 0 0; }
.slate-facts div { border-top: 1px solid var(--line); padding-top: 8px; }
.slate-facts dt { font-size: .82rem; color: var(--dim); }
.slate-facts dd { margin: 0; font-weight: 700; font-size: .98rem; }
.slate-actions { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; border-left: 1px solid var(--line); }
.slate[data-past] .slate-actions { padding: 0; }
.spots { font-size: .9rem; color: var(--dim); }
.spots .bar { height: 6px; background: rgba(236, 232, 223, .12); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.spots .bar i { display: block; height: 100%; background: var(--amber); }
.spots.low { color: var(--amber); font-weight: 700; }
.recap-img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }
@media (max-width: 860px) {
  .slate { grid-template-columns: 110px 1fr; }
  .slate-actions { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; }
  .slate-date .day { font-size: 3.2rem; }
}

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quote { margin: 0; padding-top: 22px; border-top: 3px solid var(--amber); }
.quote blockquote { margin: 0 0 18px; font-size: 1.22rem; line-height: 1.5; font-style: italic; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.initials { width: 48px; height: 48px; border-radius: 50%; background: var(--velvet-2); color: var(--amber); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.3rem; flex: none; }
.quote .who { font-weight: 700; line-height: 1.3; }
.quote .who span { display: block; font-weight: 400; color: var(--dim); font-size: .92rem; }
.sample { font-size: .75rem; font-weight: 700; color: var(--ink); background: var(--dim); padding: 2px 7px; border-radius: 2px; margin-left: auto; align-self: flex-start; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.split.wide-left { grid-template-columns: 1.3fr 1fr; }
.split.table-left { grid-template-columns: 2.2fr 1fr; }
@media (max-width: 900px) { .split, .split.wide-left, .split.table-left { grid-template-columns: 1fr; } }

.panel { background: var(--velvet); border-radius: 4px; padding: clamp(24px, 4vw, 40px); }
.panel h3 { margin-bottom: 14px; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--dim); }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- challenge ---------- */
.challenge { position: relative; overflow: hidden; border-radius: 4px; background: var(--velvet); display: grid; grid-template-columns: 1.2fr 1fr; }
.challenge-copy { padding: clamp(28px, 5vw, 56px); }
.challenge-copy h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.countdown { display: flex; gap: 22px; margin: 22px 0 28px; }
.countdown div { text-align: left; }
.countdown strong { display: block; font-family: var(--display); font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums; }
.countdown span { color: var(--dim); font-size: .9rem; }
.challenge-art { position: relative; min-height: 280px; }
.challenge-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .challenge { grid-template-columns: 1fr; } .challenge-art { min-height: 220px; order: -1; } }

/* ---------- join band ---------- */
.band { background: var(--amber); color: var(--ink); }
.band .wrap { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 100px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.band h2 { color: var(--ink); font-size: clamp(3rem, 7vw, 6rem); margin: 0; }
.band p { font-size: 1.15rem; }
.band .btn { background: var(--ink); border-color: var(--ink); color: var(--screen); }
.band .btn:hover { background: #262b38; border-color: #262b38; }
.band .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.band .btn-ghost:hover { background: var(--ink); color: var(--screen); }
.band a:not(.btn) { color: var(--ink); }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; } }

/* ---------- inner page head ---------- */
.page-head { position: relative; padding: clamp(70px, 10vw, 140px) 0 clamp(40px, 6vw, 70px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 9em; text-wrap: balance; }
.page-head .lede { color: var(--screen); }
.page-head-art { position: absolute; inset: 0; z-index: -1; }
.page-head-art img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-head-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(13, 16, 23, .55) 60%, rgba(13, 16, 23, .2)), linear-gradient(0deg, var(--ink), transparent 50%); }
.crumb { color: var(--dim); margin-bottom: 18px; font-size: .95rem; }
.crumb a { color: var(--dim); }

/* ---------- disciplines list ---------- */
.disc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.disc-list > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.disc-list > div:nth-child(3n+2), .disc-list > div:nth-child(3n) { padding-left: 28px; border-left: 1px solid var(--line); }
.disc-list h3 { font-size: 1.9rem; }
.disc-list p { color: var(--dim); margin: 0; }
@media (max-width: 860px) {
  .disc-list { grid-template-columns: 1fr; }
  .disc-list > div:nth-child(3n+2), .disc-list > div:nth-child(3n) { padding-left: 0; border-left: 0; }
}

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.person .initials { width: 84px; height: 84px; font-size: 2rem; margin-bottom: 16px; }
.person h3 { font-size: 1.7rem; margin-bottom: 2px; }
.person .role { color: var(--amber); font-weight: 700; margin-bottom: 8px; }
.person p { color: var(--dim); font-size: .95rem; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }

/* ---------- accordions ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; border-right: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--amber); }
.faq .answer { padding: 0 0 24px; max-width: 46em; color: var(--screen); }
.faq .answer ol, .faq .answer ul { padding-left: 1.3em; }
.faq .answer li { margin-bottom: 6px; }

/* ---------- gear ---------- */
.gear { width: 100%; border-collapse: collapse; }
.gear th, .gear td { text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.gear th { color: var(--dim); font-weight: 400; font-size: .9rem; }
.gear td:first-child { font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.status.available { color: var(--ok); }
.status.loan { color: var(--amber); }
.status.room { color: var(--dim); }
@media (max-width: 700px) {
  .gear thead { display: none; }
  .gear tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .gear td { border: 0; padding: 2px 0; }
  .gear td:nth-child(2) { display: none; }
  .gear td:nth-child(3) { grid-column: 1; color: var(--dim); }
  .gear td:nth-child(4) { grid-row: 1; grid-column: 2; }
}

/* ---------- software / resource tiles ---------- */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.tools a { display: block; padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); color: var(--screen); text-decoration: none; }
.tools a:nth-child(3n+2), .tools a:nth-child(3n) { padding-left: 22px; border-left: 1px solid var(--line); }
.tools a:hover strong { color: var(--amber); }
.tools strong { display: block; font-size: 1.12rem; }
.tools span { color: var(--dim); font-size: .95rem; }
@media (max-width: 860px) {
  .tools { grid-template-columns: 1fr; }
  .tools a:nth-child(3n+2), .tools a:nth-child(3n) { padding-left: 0; border-left: 0; }
}

/* ---------- project page ---------- */
.project-hero { position: relative; background: #05070b; }
.project-hero img { width: 100%; max-height: 78vh; object-fit: cover; }
.project-title { padding: 46px 0 10px; }
.project-title h1 { margin-bottom: 14px; }
.compare { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; user-select: none; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .raw { filter: saturate(.25) contrast(.72) brightness(1.12); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--screen); transform: translateX(-50%); pointer-events: none; }
.compare .divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: var(--screen); transform: translate(-50%, -50%); box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-labels { display: flex; justify-content: space-between; color: var(--dim); font-size: .92rem; margin-top: 10px; }
.compare:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 8px 0; border-top: 1px solid var(--line); }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; }
.field .hint { color: var(--dim); font-weight: 400; font-size: .9rem; }
.form-control {
  width: 100%; font: 1.05rem/1.5 var(--body); color: var(--screen);
  background: var(--ink); border: 2px solid rgba(236, 232, 223, .28); border-radius: var(--radius);
  padding: 14px 16px; min-height: 56px;
}
textarea.form-control { min-height: 170px; resize: vertical; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%), linear-gradient(135deg, var(--amber) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form-control::placeholder { color: #7d7a74; }
.form-control:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 178, 56, .25); }
.form-control.is-invalid { border-color: #ff6b6b; }
.form-control.is-valid { border-color: rgba(127, 216, 154, .6); }
.invalid-feedback { display: none; color: #ff8a8a; font-size: .92rem; margin-top: 6px; font-weight: 700; }
.is-invalid ~ .invalid-feedback, .is-invalid ~ .cf-field-foot .invalid-feedback { display: block; }
.cf-field-foot { display: flex; justify-content: space-between; gap: 12px; }
.cf-field-foot .invalid-feedback { flex: 1; }
.cf-counter { margin-left: auto; margin-top: 6px; font-size: .85rem; color: var(--dim); white-space: nowrap; }
.cf-counter-warn { color: var(--amber); }
.form .loading, .form .error-message, .form .sent-message { display: none; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 700; }
.form .d-block { display: block; }
.form .loading { background: var(--velvet-2); }
.form .loading::before { content: ""; display: inline-block; width: 18px; height: 18px; margin: 0 10px -3px 0; border-radius: 50%; border: 3px solid var(--amber); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form .error-message { background: rgba(255, 75, 62, .14); border: 1px solid rgba(255, 107, 107, .6); color: #ffb0a8; }
.form .sent-message { background: rgba(127, 216, 154, .14); border: 1px solid rgba(127, 216, 154, .6); color: #b9f0c9; }
.form button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
.cf-recaptcha-note { font-size: .82rem; color: var(--dim); margin: 16px 0 0; }
.cf-recaptcha-note a { color: var(--dim); }
.cf-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.grecaptcha-badge { visibility: hidden; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.topic-chips button { font: 700 .88rem var(--body); background: transparent; color: var(--dim); border: 1px solid var(--line); border-radius: 30px; padding: 8px 14px; min-height: 40px; cursor: pointer; }
.topic-chips button:hover { color: var(--amber); border-color: var(--amber); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { border-top: 1px solid var(--line); }
.checklist label { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; cursor: pointer; }
.checklist input { width: 26px; height: 26px; accent-color: var(--amber); flex: none; margin-top: 2px; }
.checklist input:checked + span { color: var(--dim); text-decoration: line-through; text-decoration-color: var(--amber); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 40px; background: #090b10; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 1.5rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--screen); text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.footer-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--dim); font-size: .9rem; }
.footer-base a { color: var(--dim); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- film grain overlay (static, very light) ---------- */
.grain::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reduced motion (system setting or the Display panel) ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html:not([data-motion="on"]) .reel::after { display: none; }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion="off"] .reel::after { display: none; }
html[data-motion="off"] { scroll-behavior: auto; }

@media print {
  .site-header, .reel-bar, .band, .site-footer, .grain::after { display: none !important; }
  body { background: #fff; color: #000; }
}

/* nav "Join" item only shows inside the mobile menu */
.nav-join { display: none; }
@media (max-width: 1380px) { .nav-join { display: block; } }

/* very narrow phones: keep logo and both header buttons on one line */
@media (max-width: 400px) {
  .header-inner { gap: 10px; }
  .header-tools { gap: 6px; }
  .icon-btn { padding: 0 10px; }
  .brand { gap: 9px; }
  .brand .mark { width: 38px; height: 38px; }
  .brand-name .b-top { font-size: .54rem; letter-spacing: .14em; }
  .brand-name .b-bot { font-size: 1.32rem; }
}
@media (max-width: 520px) {
  .site-footer .brand .mark { width: 48px; height: 48px; }
  .site-footer .brand-name .b-top { font-size: .62rem; }
  .site-footer .brand-name .b-bot { font-size: 1.7rem; }
}
@media (max-width: 340px) {
  .brand-name .b-bot { font-size: 1.18rem; }
  .brand .mark { width: 34px; height: 34px; }
}
.split > * { min-width: 0; }
.form .btn { white-space: normal; text-align: left; }
