:root {
  --bg: #070b10;
  --surface: #10161d;
  --surface-2: #18222c;
  --fg: #e7eef4;
  --muted: #93a3b3;
  --subtle: #66788a;
  --line: #243140;
  --accent: #f0b429;
  --accent-fg: #1a1204;
  --signal: #e23d2b;
  --sans: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); }
body { margin: 0; min-height: 100vh; font-family: var(--sans); background: var(--bg); color: var(--fg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, .display, .family, .foot-name { font-family: var(--display); font-weight: 560; letter-spacing: -0.02em; }
h1, .display { font-size: clamp(2.4rem, 8vw, 4.6rem); line-height: 1.05; margin: 0.2em 0; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 0.2em 0 0.4em; }
p { line-height: 1.6; }
.muted { color: var(--muted); }
.tiny, .film-by { color: var(--subtle); font-size: 0.78rem; }
.kicker { color: var(--subtle); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2rem)); }
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; min-height: 64px; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; min-width: 0; }
.brand span:last-child { font-family: var(--display); font-size: 1.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo, .mark { width: 36px; height: 36px; flex: none; object-fit: cover; }
.mark { background: var(--surface-2); border-radius: 8px; position: relative; }
.mark:before { content: ""; position: absolute; left: 8px; right: 8px; top: 9px; height: 2px; background: var(--fg); }
.mark:after { content: ""; position: absolute; left: 11px; top: 16px; width: 14px; height: 14px; border: 2px solid var(--fg); border-radius: 50%; }
.desk { margin-left: auto; display: none; gap: 0.2rem; }
.desk a { text-decoration: none; color: var(--muted); padding: 0.5rem 0.7rem; font-size: 0.92rem; }
.desk a.on { color: var(--fg); }
.menu-btn { margin-left: auto; height: 44px; padding: 0 0.9rem; background: transparent; border: 1px solid var(--line); border-radius: 8px; }
.sheet { position: fixed; inset: 64px 0 0; background: var(--bg); z-index: 19; padding: 0.5rem 1rem 2rem; }
.sheet a { display: flex; align-items: center; height: 48px; border-bottom: 1px solid var(--line); text-decoration: none; }
.hero { height: 68svh; min-height: 420px; background: var(--surface); position: relative; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { margin-top: -4rem; background: var(--bg); position: relative; }
.hero-copy .wrap { padding-top: 1.5rem; }
.lead { max-width: 38rem; color: var(--muted); }
.row-btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1rem; background: var(--accent); color: var(--accent-fg); text-decoration: none; border: 0; border-radius: 8px; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn.danger { background: transparent; color: var(--signal); border: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin: 1.5rem 0 0; }
.stats div { padding: 0.9rem 0.6rem 0.2rem 0; }
.stats div + div { border-left: 1px solid var(--line); padding-left: 0.7rem; }
.stats dt { color: var(--subtle); font-size: 0.75rem; }
.stats dd { margin: 0.15rem 0 0; font-family: var(--display); font-size: 2rem; }
.block { padding-bottom: 4rem; }
.block-top, .split, .post, .ride { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.4rem; }
.between { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; }
.cover { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: var(--surface); }
.cover.empty { background: var(--surface); }
.story { white-space: pre-wrap; }
.rules, .roster, .wall, .facts, .board { list-style: none; margin: 0; padding: 0; }
.rules li, .roster li, .facts div, .wall li { border-top: 1px solid var(--line); padding: 0.85rem 0; }
.roster li, .facts div { display: grid; gap: 0.15rem; }
.film { margin: 0; }
.film-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.film-strip { display: flex; background: var(--surface-2); }
.sprocket { width: 18px; flex: none; background: repeating-linear-gradient(to bottom, #070b10 0 8px, transparent 8px 18px), #18222c; }
.film-img { min-width: 0; flex: 1; object-fit: cover; aspect-ratio: 4/5; }
.film-img.is-wide-img, .film.is-wide .film-img { aspect-ratio: 16/10; }
.film-meta { display: flex; justify-content: space-between; gap: 0.8rem; align-items: baseline; margin-top: 0.45rem; }
.film-meta p { margin: 0; }
.film-meta span { font-family: var(--display); color: var(--accent); font-size: 1.3rem; }
.film-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 0.7rem; margin-top: 1.6rem; }
.film.is-wide { grid-column: 1 / -1; }
.ride { display: grid; gap: 1rem; }
.ride img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post h2, .ride h2 { margin-bottom: 0.3rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; margin: 1rem 0; }
.form { display: grid; gap: 0.8rem; }
.form h2 { margin-top: 0; }
label { display: grid; gap: 0.35rem; color: var(--muted); font-size: 0.92rem; }
input, textarea, select { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 0.7rem 0.8rem; }
.check { display: flex; align-items: center; gap: 0.5rem; }
.check input { width: auto; }
.hp { position: absolute; left: -9999px; }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.board img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--surface); }
.family { font-size: 1.5rem; margin: 0; }
.thumb { width: 96px; height: 96px; object-fit: cover; }
.thumb.wide { width: 100%; height: auto; aspect-ratio: 16/9; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.tabs a { text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.7rem; color: var(--muted); }
.tabs a.on { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.note { border: 1px solid var(--line); padding: 0.7rem 0.8rem; border-radius: 8px; }
.toast { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; margin: 0; padding: 0.8rem 1rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; z-index: 40; }
.toast.bad { border-color: var(--signal); }
.light { position: fixed; inset: 0; background: rgba(7, 11, 16, 0.94); z-index: 50; display: grid; align-content: center; justify-items: center; gap: 0.8rem; padding: 1rem; }
.light[hidden] { display: none; }
.light img { max-height: 78vh; object-fit: contain; }
.light button { justify-self: end; }
footer { border-top: 1px solid var(--line); }
.foot { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 3rem; display: grid; gap: 1.2rem; }
.foot nav { display: grid; gap: 0.4rem; }
.foot a { color: var(--muted); text-decoration: none; }
.rise { animation: rise 520ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 800px) {
  .desk { display: flex; }
  .menu-btn, .sheet { display: none !important; }
  .split, .ride { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .club { align-items: start; }
  .roster li { grid-template-columns: 1.3fr 1fr 1fr auto; align-items: baseline; }
  .facts div { grid-template-columns: 140px 1fr; }
  .foot { grid-template-columns: 1.4fr 1fr 1fr; }
  .board { grid-template-columns: repeat(5, 1fr); }
  .hero-copy { margin-top: -6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
}
