/* ============================================================
   Bean Pot Rally 2026 — Thank-You / Recap site
   styles.css
   Brand system carried over from the print pieces:
   Bodoni Moda (display + italic accents), Manrope (sans/UI),
   JetBrains Mono (labels, coords, meta). Cream/forest/gold
   editorial palette with the barn-red wordmark as the brand mark.
   ============================================================ */

:root {
  /* ---- palette ---- */
  --cream:       #f1ead9;
  --cream-soft:  #e6dec9;
  --cream-deep:  #ded5bd;
  --paper:       #fbf8f0;     /* near-white card surface, warm */
  --white:       #ffffff;

  --ink:         #1a221c;
  --ink-soft:    #283129;
  --ink-mute:    #4c554b;

  --forest:      #2a3328;
  --forest-mid:  #3b4636;
  --forest-deep: #1b231c;

  --gold:        #c8a14a;
  --gold-warm:   #d4ab50;
  --gold-deep:   #9d7d2e;
  --gold-ink:    #5e4717;     /* legible gold on white */
  --bark:        #5a4a30;

  --red:         #b3322d;     /* brand red — the wordmark */
  --red-deep:    #8f2722;

  --line:        rgba(26,34,28,.14);
  --line-soft:   rgba(26,34,28,.08);
  --line-gold:   rgba(157,125,46,.45);

  /* ---- type ---- */
  --display: "Bodoni Moda", "Newsreader", Georgia, serif;
  --sans:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  /* ---- rhythm ---- */
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(56px, 8vw, 116px);
  --maxw: 1200px;
  --radius: 4px;

  --shadow-1: 0 1px 2px rgba(26,34,28,.06), 0 2px 6px rgba(26,34,28,.05);
  --shadow-2: 0 10px 30px -8px rgba(26,34,28,.22), 0 4px 10px -4px rgba(26,34,28,.12);
  --shadow-3: 0 30px 70px -20px rgba(13,19,15,.55);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-warm); color: var(--ink); }

/* focus — always visible, brand gold ring */
:where(a, button, input, select, textarea, [tabindex], summary):focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: var(--radius);
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  z-index: 200; transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ============================================================
   Shared type helpers
   ============================================================ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7;
}

.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-top: 16px;
}
.section-head h2 em { font-style: italic; color: var(--gold-ink); font-weight: 600; }
.section-head p { margin-top: 18px; color: var(--ink-mute); font-size: 1.06rem; max-width: 58ch; }
.section-head.center p { margin-inline: auto; }
.sponsor-credit { font-family: var(--mono); font-size: 13px; letter-spacing: .01em; color: var(--ink-soft); margin-top: 14px; }
.sponsor-credit a { color: var(--red); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .15s var(--ease); }
.sponsor-credit a:hover { border-bottom-color: currentColor; }

/* bean glyph divider (carried from the poster) */
.bean-rule { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold-deep); }
.bean-rule .ln { height: 1px; width: clamp(40px, 14vw, 120px); background: currentColor; opacity: .4; }
.bean {
  width: 18px; height: 11px; border-radius: 50%;
  background: currentColor; transform: rotate(-18deg); position: relative; flex: none;
}
.bean::after {
  content: ""; position: absolute; inset: 2px 5px 2px 2px;
  border-radius: 50%; border: 1px solid var(--cream);
  border-right: 0; border-bottom: 0; transform: rotate(20deg);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --bg: var(--gold-warm); --fg: var(--ink);
  font-family: var(--sans); font-weight: 800;
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--bg); color: var(--fg);
  border: 0; cursor: pointer;
  padding: 15px 28px;
  display: inline-flex; align-items: center; gap: 10px;
  clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
  transition: transform .12s var(--ease), background .16s var(--ease), filter .16s var(--ease);
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.04); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost {
  --bg: transparent; --fg: var(--cream);
  border: 1px solid rgba(241,234,217,.5); clip-path: none;
  border-radius: var(--radius); padding: 14px 26px;
}
.btn.ghost:hover { background: rgba(241,234,217,.1); border-color: var(--cream); filter: none; }
.btn.ink { --bg: var(--ink); --fg: var(--cream); }
.btn.block { width: 100%; justify-content: center; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(241,234,217,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(247,243,233,.96);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(26,34,28,.04), 0 8px 24px -16px rgba(26,34,28,.4);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 46px; height: auto; }
.brand .wm { line-height: .9; }
.brand .wm .b1 {
  font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: 30px; color: var(--red); letter-spacing: -.01em; display: block;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  letter-spacing: .01em; color: var(--ink-soft);
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold-deep); transition: width .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  position: relative; transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
    box-shadow: var(--shadow-2);
  }
  .nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .nav-links a::after { display: none; }
}
@media (max-width: 460px) {
  .nav-cta .btn { padding: 12px 18px; font-size: 12.5px; }
  .nav-cta .btn .arrow { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; color: var(--cream);
  min-height: clamp(560px, 86vh, 820px);
  display: flex; align-items: center;
  padding: 120px 0 150px;
  overflow: hidden; isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%; z-index: 0;
  background: var(--forest);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.64) 40%, rgba(0,0,0,.74) 80%, rgba(0,0,0,.85) 100%),
    radial-gradient(120% 90% at 30% 40%, rgba(0,0,0,.45) 0%, rgba(0,0,0,.70) 100%);
}
.hero-inner { max-width: 760px; position: relative; z-index: 2; }
.hero-lockup { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.hero .mark { width: 96px; height: auto; margin-bottom: 0;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)); }
.hero-wm {
  font-family: var(--display); font-weight: 700; font-style: italic; color: var(--cream);
  font-size: clamp(30px, 5vw, 50px); line-height: .95; letter-spacing: -.01em;
  text-shadow: 0 3px 14px rgba(0,0,0,.4);
}
.hero .presents {
  font-family: var(--mono); font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-warm); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(46px, 8.5vw, 104px); line-height: .92;
  letter-spacing: -.025em; text-shadow: 0 3px 24px rgba(0,0,0,.4);
}
.hero h1 em { font-style: italic; color: var(--gold-warm); font-weight: 600; }
.hero .sub {
  margin-top: 26px; font-size: clamp(17px, 2vw, 21px);
  max-width: 50ch; color: rgba(241,234,217,.92); line-height: 1.5;
}
.hero .save {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cream);
  border: 1px solid rgba(212,171,80,.5); border-radius: 999px;
  padding: 9px 18px; background: rgba(20,26,22,.35);
}
.hero .save .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-warm); flex: none; }
.hero .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* pine ridge transition into the next (forest) band */
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 3; pointer-events: none; }
.ridge svg { width: 100%; height: 100%; display: block; }
.ridge .back  { fill: rgba(27,35,28,.6); }
.ridge .front { fill: var(--forest-deep); }

/* ============================================================
   Email capture (sits on a dark forest band, under hero)
   ============================================================ */
.signup-band { background: var(--forest-deep); color: var(--cream); padding: clamp(40px,6vw,76px) 0 var(--section-y); }
.signup-card {
  background: var(--paper); color: var(--ink);
  border-radius: 6px; box-shadow: var(--shadow-3);
  border-top: 4px solid var(--gold-warm);
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
}
.signup-copy { padding: clamp(28px,4vw,52px); border-right: 1px solid var(--line-soft); }
.signup-copy .eyebrow { color: var(--gold-ink); }
.signup-copy h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(26px,3.2vw,40px);
  line-height: 1.04; letter-spacing: -.015em; margin-top: 14px;
}
.signup-copy h2 em { font-style: italic; color: var(--red); font-weight: 600; }
.signup-copy p { margin-top: 16px; color: var(--ink-mute); max-width: 42ch; }
.signup-copy .reassure {
  margin-top: 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em;
  color: var(--bark); display: flex; align-items: center; gap: 9px;
}
.signup-copy .reassure svg { width: 15px; height: 15px; flex: none; }

.signup-form { padding: clamp(28px,4vw,52px); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft);
}
.field label .req { color: var(--red); }
.field input, .field select {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 14px; width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a4a30' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.field input::placeholder { color: #9aa096; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(157,125,46,.18); }
.field .err-msg { font-size: 12.5px; color: var(--red-deep); font-weight: 600; display: none; align-items: center; gap: 6px; }
.field.invalid input, .field.invalid select { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,50,45,.14); }
.field.invalid .err-msg { display: flex; }

.form-foot { margin-top: 4px; }
.form-note { font-size: 12px; color: var(--ink-mute); margin-top: 12px; line-height: 1.5; }

/* form error summary (top of form) */
.form-alert {
  display: none; gap: 10px; align-items: flex-start;
  background: rgba(179,50,45,.07); border: 1px solid rgba(179,50,45,.3);
  border-radius: var(--radius); padding: 12px 14px; color: var(--red-deep);
  font-size: 13.5px; font-weight: 600;
}
.form-alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.signup-form.has-error .form-alert { display: flex; }

/* success state */
.form-success { display: none; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(28px,4vw,52px); }
.signup-card.success .signup-form { display: none; }
.signup-card.success .form-success { display: flex; }
.form-success .seal {
  width: 64px; height: 64px; border-radius: 50%; background: var(--gold-warm);
  display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-1);
}
.form-success .seal svg { width: 32px; height: 32px; }
.form-success h3 { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -.01em; }
.form-success p { color: var(--ink-mute); max-width: 38ch; }
.form-success .meta { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }

@media (max-width: 800px) {
  .signup-card { grid-template-columns: 1fr; }
  .signup-copy { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}

/* ============================================================
   Generic light section
   ============================================================ */
.section { padding: var(--section-y) 0; }
.section.cream { background: var(--cream); }
.section.paper { background: var(--paper); }
.section.tint  { background: var(--cream-soft); }

/* thank-you body */
.gratitude { text-align: center; }
.gratitude .lead {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 3.2vw, 34px); line-height: 1.42; letter-spacing: -.01em;
  color: var(--ink-soft); max-width: 22ch; margin: 26px auto 0; text-wrap: balance;
}
.gratitude .body { max-width: 60ch; margin: 26px auto 0; color: var(--ink-mute); font-size: 1.08rem; }
.gratitude .signoff { margin-top: 30px; font-family: var(--display); font-style: italic; font-size: 20px; color: var(--gold-ink); }

/* ============================================================
   Speakers — two distinct blocks
   ============================================================ */
.speakers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); margin-top: 52px; }
.speaker {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.speaker:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.speaker .cover {
  position: relative; aspect-ratio: 16/10; background: var(--forest-mid);
  display: grid; place-items: center; overflow: hidden;
}
.speaker .cover img { width: 100%; height: 100%; object-fit: cover; }
.speaker .badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(20,26,22,.78); color: var(--gold-warm); padding: 6px 11px; border-radius: 999px;
}
.speaker .body { padding: clamp(22px,2.6vw,32px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.speaker .role { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.speaker h3 { font-family: var(--display); font-weight: 700; font-size: clamp(24px,2.6vw,32px); line-height: 1.02; letter-spacing: -.015em; }
.speaker h3 + .work { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--red); margin-top: -4px; }
.speaker p { color: var(--ink-mute); font-size: 1rem; }
.speaker .vehicle {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--bark);
  display: flex; flex-wrap: wrap; gap: 6px 14px;
}

/* placeholder cover (for art not yet supplied) */
.ph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(241,234,217,.10) 0 10px, rgba(241,234,217,.03) 10px 20px),
    var(--forest-mid);
  display: grid; place-items: center; text-align: center; color: rgba(241,234,217,.7);
}
.ph .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 0 16px; }

@media (max-width: 760px) { .speakers { grid-template-columns: 1fr; } }

/* ============================================================
   Wood Run game
   ============================================================ */
.section.woodrun { background: var(--forest-deep); color: var(--cream); }
.section.woodrun .eyebrow { color: var(--gold-warm); }
.section.woodrun .section-head h2 { color: var(--cream); }
.section.woodrun .section-head h2 em { color: var(--gold-warm); }
.section.woodrun .section-head p { color: rgba(241,234,217,.8); }

.course-toggle { display: inline-flex; padding: 5px; gap: 5px; margin-top: 28px;
  background: rgba(0,0,0,.28); border: 1px solid rgba(241,234,217,.14); border-radius: 999px; }
.course-toggle button {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(241,234,217,.7); background: transparent; border: 0; cursor: pointer;
  padding: 11px 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.course-toggle button .ic { width: 15px; height: 15px; }
.course-toggle button[aria-selected="true"] { background: var(--gold-warm); color: var(--ink); }
.course-toggle button[disabled] { color: rgba(241,234,217,.4); cursor: not-allowed; }
.course-toggle button[disabled] .soon {
  font-size: 8.5px; letter-spacing: .14em; background: rgba(241,234,217,.16);
  color: rgba(241,234,217,.7); padding: 2px 6px; border-radius: 999px;
}

.woodrun-grid { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(20px, 3vw, 32px); margin-top: 26px; align-items: start; }

.game-frame {
  position: relative; background: #0e140f; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(241,234,217,.12); box-shadow: var(--shadow-3);
}
.game-frame .chrome {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px; background: rgba(0,0,0,.35); border-bottom: 1px solid rgba(241,234,217,.08);
}
.game-frame .chrome .t { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(241,234,217,.65); }
.game-frame .chrome .dots { display: flex; gap: 6px; }
.game-frame .chrome .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(241,234,217,.2); }
.game-viewport { position: relative; width: 100%; aspect-ratio: 9 / 16; background: #0e140f; }
.game-viewport iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.game-hint { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(241,234,217,.45); text-align: center; padding: 10px; }

.leaderboard {
  background: rgba(241,234,217,.04); border: 1px solid rgba(241,234,217,.12);
  border-radius: 8px; padding: clamp(20px,2.4vw,28px); display: flex; flex-direction: column;
}
.leaderboard h3 {
  font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.01em;
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.leaderboard h3 .course-name { font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-warm); font-weight: 400; }
.leaderboard .sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(241,234,217,.45); margin-top: 4px; }
.lb-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; }
.lb-list li {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid rgba(241,234,217,.08);
}
.lb-list li:last-child { border-bottom: 0; }
.lb-list .rank { font-family: var(--mono); font-size: 12px; color: rgba(241,234,217,.45); }
.lb-list .ini { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .06em; }
.lb-list .score { font-family: var(--mono); font-size: 15px; color: var(--gold-warm); font-weight: 500; }
.lb-list li:nth-child(1) .rank { color: var(--gold-warm); }
.lb-list li:nth-child(1) .ini { color: var(--gold-warm); }
.leaderboard .lb-foot { margin-top: auto; padding-top: 18px; font-size: 12px; color: rgba(241,234,217,.55); }
.leaderboard .lb-foot strong { color: var(--cream); font-weight: 700; }

@media (max-width: 880px) { .woodrun-grid { grid-template-columns: 1fr; } .game-frame { max-width: 360px; margin-inline: auto; width: 100%; } }

/* ============================================================
   Photo gallery
   ============================================================ */
.gallery { columns: 3; column-gap: 16px; margin-top: 48px; }
.gallery .cell { break-inside: avoid; margin-bottom: 16px; }
.shot {
  position: relative; width: 100%; border-radius: 5px; overflow: hidden;
  background: var(--cream-deep); border: 1px solid var(--line); cursor: pointer;
  display: block; box-shadow: var(--shadow-1);
}
.shot img { width: 100%; height: auto; display: block; transition: transform .4s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,26,22,.45));
  opacity: 0; transition: opacity .2s var(--ease);
}
.shot:hover::after { opacity: 1; }
.shot .cap {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); opacity: 0; transition: opacity .2s var(--ease);
}
.shot:hover .cap { opacity: 1; }

/* image placeholder fill inside .shot */
.shot.placeholder {
  display: grid; place-items: center; aspect-ratio: var(--ar, 4/3);
  background:
    repeating-linear-gradient(135deg, rgba(26,34,28,.05) 0 12px, rgba(26,34,28,.015) 12px 24px),
    var(--cream-deep);
}
.shot.placeholder .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bark); }

.more-tile {
  break-inside: avoid; margin-bottom: 16px;
  border: 1px dashed var(--line-gold); border-radius: 5px;
  aspect-ratio: 4/3; display: grid; place-content: center; justify-items: center; gap: 10px;
  text-align: center; padding: 20px; color: var(--gold-ink); background: rgba(200,161,74,.05);
}
.more-tile .ic { width: 30px; height: 30px; }
.more-tile .t { font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--ink); }
.more-tile .s { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bark); }

@media (max-width: 860px) { .gallery { columns: 2; } }
@media (max-width: 520px) { .gallery { columns: 1; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(13,19,15,.92); align-items: center; justify-content: center; padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: min(1100px, 94vw); max-height: 90vh; display: flex; flex-direction: column; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; box-shadow: var(--shadow-3); }
.lightbox .lb-ph {
  width: min(900px, 92vw); aspect-ratio: 4/3; border-radius: 4px;
  background: repeating-linear-gradient(135deg, rgba(241,234,217,.08) 0 14px, rgba(241,234,217,.02) 14px 28px), var(--forest-mid);
  display: grid; place-items: center; color: rgba(241,234,217,.7); font-family: var(--mono);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.lightbox figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: rgba(241,234,217,.8); text-align: center; }
.lightbox .close {
  position: absolute; top: 20px; right: 20px; width: 48px; height: 48px;
  background: rgba(241,234,217,.1); border: 1px solid rgba(241,234,217,.3); color: var(--cream);
  border-radius: 50%; cursor: pointer; font-size: 22px; display: grid; place-items: center;
}
.lightbox .close:hover { background: rgba(241,234,217,.2); }
.lightbox .nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  background: rgba(241,234,217,.08); border: 1px solid rgba(241,234,217,.25); color: var(--cream);
  border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.lightbox .nav-arrow:hover { background: rgba(241,234,217,.18); }
.lightbox .prev { left: 16px; } .lightbox .next { right: 16px; }
@media (max-width: 600px) { .lightbox .nav-arrow { display: none; } }

/* ============================================================
   Sponsors
   ============================================================ */
.tier { margin-top: 48px; }
.tier-label {
  display: flex; align-items: center; gap: 16px; margin-bottom: 26px;
}
.tier-label .name {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink);
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
}
.tier-label .name .pip { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-deep); }
.tier-label.path .name .pip { background: var(--bark); }
.tier-label .ln { flex: 1; height: 1px; background: var(--line); }

.sponsor-grid { display: grid; gap: 16px; }
.sponsor-grid.summit { grid-template-columns: repeat(3, 1fr); }
.sponsor-grid.path   { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.sponsor {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(26px,3vw,40px); display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; box-shadow: var(--shadow-1); transition: box-shadow .2s var(--ease), transform .2s var(--ease);
  text-decoration: none; color: inherit;
}
.sponsor:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.sponsor .logo {
  width: 100%; max-width: 190px; aspect-ratio: 1 / 1;
  display: grid; place-items: center; padding: 18px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
}
.sponsor .logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sponsor .label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
/* text-only sponsor (no logo supplied) */
.sponsor .wordlogo {
  display: grid; place-items: center; gap: 4px;
}
.sponsor .wordlogo .a { font-family: var(--display); font-weight: 700; font-size: clamp(22px,2.4vw,30px); color: var(--red); letter-spacing: -.01em; }
.sponsor .wordlogo .b { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bark); }

@media (max-width: 820px) { .sponsor-grid.summit { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sponsor-grid.path { grid-template-columns: 1fr; } }

/* additional support band */
.support {
  margin-top: 64px; border-top: 1px solid var(--line); padding-top: 44px; text-align: center;
}
.support h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 400; }
.support-row {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 48px);
}
.support-row .club-word { font-family: var(--display); font-weight: 600; font-style: italic; font-size: 20px; color: var(--gold-ink); }
.support-row .support-logo { display: inline-flex; align-items: center; opacity: .9; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.support-row .support-logo:hover { opacity: 1; transform: translateY(-2px); }
.support-row .support-logo img { width: auto; max-width: 240px; object-fit: contain; display: block; }
/* Per-logo heights tuned so all three read at a similar visual size despite very different aspect ratios */
.support-row .logo-anarc img { height: clamp(52px, 8.5vw, 74px); }
.support-row .logo-rn    img { height: clamp(44px, 7vw, 60px); }
.support-row .logo-ab    img { height: clamp(30px, 5vw, 42px); }

/* Five-club banner — caps mono, red rules (carried from the t-shirt design) */
.club-banner {
  margin: 28px auto 0; max-width: 860px;
  border-top: 1px solid var(--red); border-bottom: 1px solid var(--red);
  padding: 15px 6px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 7px 14px;
}
.club-banner .club-name {
  font-family: var(--mono); font-weight: 700; font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap; border-bottom: 1px solid transparent;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.club-banner .club-name:hover { color: var(--red); border-bottom-color: var(--red); }
.club-banner .sep { color: var(--red); opacity: .65; font-family: var(--mono); }
.support .attendees {
  margin-top: 30px; font-family: var(--display); font-style: italic; font-size: clamp(20px,2.6vw,28px);
  color: var(--ink-soft); text-wrap: balance;
}
.support .attendees b { font-style: normal; color: var(--red); font-weight: 700; }

/* ============================================================
   2027 teaser
   ============================================================ */
.teaser { background: var(--forest); color: var(--cream); position: relative; overflow: hidden; }
.teaser .wrap { position: relative; z-index: 1; text-align: center; padding-block: clamp(56px,8vw,100px); }
.teaser .mark { width: 72px; margin: 0 auto 22px; opacity: .92;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.teaser .eyebrow { color: var(--gold-warm); }
.teaser h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(34px,5.4vw,68px);
  line-height: .98; letter-spacing: -.02em; margin-top: 16px;
}
.teaser h2 em { font-style: italic; color: var(--gold-warm); font-weight: 600; }
.teaser .date-line {
  margin-top: 18px; font-family: var(--mono); font-size: 13px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(241,234,217,.78);
}
.teaser p { margin: 18px auto 0; max-width: 46ch; color: rgba(241,234,217,.85); }
.teaser .actions { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.teaser::after {
  content: ""; position: absolute; inset: 0; opacity: .5; z-index: 0;
  background: radial-gradient(70% 90% at 50% 120%, rgba(157,125,46,.3), transparent 70%);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--forest-deep); color: rgba(241,234,217,.78); padding-top: clamp(48px,7vw,80px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px,4vw,48px); padding-bottom: 48px; }
.footer-brand .lockup { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 56px; height: auto; }
.footer-brand .wm .b1 { font-family: var(--display); font-weight: 700; font-style: italic; font-size: 23px; color: var(--cream); display: block; line-height: .9; }
.footer-brand .wm .b2 { font-family: var(--mono); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-warm); display: block; margin-top: 4px; }
.footer-brand p { margin-top: 18px; max-width: 32ch; font-size: 14px; color: rgba(241,234,217,.62); }
.footer-brand .coords { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: rgba(241,234,217,.45); }

.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-warm); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: rgba(241,234,217,.78); border-bottom: 1px solid transparent; transition: color .15s var(--ease), border-color .15s var(--ease); }
.footer-col a:hover { color: var(--cream); border-bottom-color: var(--gold-warm); }

.footer-cta h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-warm); margin-bottom: 12px; font-weight: 500; }
.footer-cta p { font-size: 14px; color: rgba(241,234,217,.62); margin-bottom: 16px; }
.mini-form { display: flex; gap: 8px; }
.mini-form input { flex: 1; min-width: 0; font-family: var(--sans); font-size: 14px; color: var(--cream);
  background: rgba(241,234,217,.06); border: 1px solid rgba(241,234,217,.2); border-radius: var(--radius); padding: 12px 13px; }
.mini-form input::placeholder { color: rgba(241,234,217,.4); }
.mini-form input:focus { outline: none; border-color: var(--gold-warm); }
.mini-form button {
  flex: none; background: var(--gold-warm); color: var(--ink); border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 0 16px; border-radius: var(--radius);
}
.mini-form button:hover { filter: brightness(1.05); }
.footer-cta .mini-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--gold-warm); margin-top: 12px; display: none; }
.footer-cta .mini-note.show { display: block; }

.footer-bottom {
  border-top: 1px solid rgba(241,234,217,.12); padding: 22px 0 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom .copy { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(241,234,217,.5); }
.footer-bottom .copy em { font-style: italic; font-family: var(--display); color: var(--gold-warm); }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(241,234,217,.2);
  display: grid; place-items: center; color: rgba(241,234,217,.78);
}
.footer-bottom .socials a:hover { background: rgba(241,234,217,.1); color: var(--cream); border-color: var(--gold-warm); }
.footer-bottom .socials svg { width: 18px; height: 18px; }

@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   Entrance animation (progressive, safe for reduced motion)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  [data-reveal].in { opacity: 1; transform: none; }
}

/* ============================================================
   Mobile refinements (phones)
   ============================================================ */
@media (max-width: 640px) {
  /* Hero — tighter, full-width tap targets */
  .hero { min-height: auto; padding: 100px 0 110px; }
  .hero .mark { width: 74px; margin-bottom: 0; }
  .hero h1 { font-size: clamp(40px, 12vw, 62px); }
  .hero .sub { font-size: 16.5px; }
  .hero .actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero .actions .btn { width: 100%; justify-content: center; }
  .hero .save { width: 100%; justify-content: center; }

  /* Signup band */
  .signup-band { padding-top: 32px; }

  /* Wood Run — stacked course toggle so the "coming soon" badge fits */
  .course-toggle { width: 100%; flex-direction: column; border-radius: 16px; gap: 6px; }
  .course-toggle button { width: 100%; justify-content: center; border-radius: 11px; padding: 13px 14px; }

  /* Club banner — smaller caps so names wrap cleanly */
  .club-banner { gap: 6px 10px; padding: 14px 4px; }
  .club-banner .club-name { font-size: 11px; letter-spacing: .04em; }

  /* Teaser + footer CTAs full width */
  .teaser .actions .btn { width: 100%; justify-content: center; }

  /* Footer bottom stacks */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 460px) {
  /* Condense the nav lockup so brand + CTA + menu fit one row */
  .brand img { width: 40px; }
  .brand .wm .b1 { font-size: 23px; }
  .nav { height: 64px; gap: 12px; }
  .nav-links { inset-block-start: 64px; }
}

/* ============================================================
   Sponsor logos as links — anchor fills the .logo box, layout
   unchanged (img/wordlogo stay centered grid children).
   ============================================================ */
.sponsor .logo a { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 4px; }
.sponsor .logo a:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }

/* ============================================================
   Speaker portrait framing — pull the crop toward the top so
   heads aren't cut off (covers are 16/10, photos are portrait).
   ============================================================ */
.speakers .speaker:nth-of-type(1) .cover img { object-position: center 20%; }
.speakers .speaker:nth-of-type(2) .cover img { object-position: center 15%; }

/* ============================================================
   Wood Run — launch card (in place of the inline iframe)
   ============================================================ */
.game-launch {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: radial-gradient(120% 80% at 50% 36%, #16221a 0%, #0e140f 72%);
  border: 0; cursor: pointer; color: var(--cream);
  font-family: var(--display); text-align: center; padding: 24px;
  transition: background .25s var(--ease);
}
.game-launch:hover, .game-launch:focus-visible { background: radial-gradient(120% 80% at 50% 36%, #1d2c22 0%, #0e140f 74%); outline: none; }
.game-launch__play {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; padding-left: 4px;
  background: var(--gold-warm); color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: transform .2s var(--ease);
}
.game-launch:hover .game-launch__play, .game-launch:focus-visible .game-launch__play { transform: scale(1.07); }
.game-launch__title { font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.01em; }
.game-launch__sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(241,234,217,.6); }

/* ============================================================
   Wood Run — pop-out game modal
   ============================================================ */
.game-modal {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.85); align-items: center; justify-content: center;
}
.game-modal.open { display: flex; }
.game-modal__inner {
  position: relative; width: min(640px, 100vw); height: min(780px, 100vh);
  background: #000; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-3);
}
.game-modal__close {
  position: absolute; top: 6px; right: 10px; z-index: 10;
  width: 40px; height: 40px; font-size: 26px; line-height: 1;
  color: #fff; background: rgba(0,0,0,.45); border: 0; border-radius: 50%; cursor: pointer;
}
.game-modal__close:hover, .game-modal__close:focus-visible { background: rgba(0,0,0,.72); outline: none; }
.game-modal iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 680px) {
  .game-modal__inner { width: 100vw; height: 100dvh; border-radius: 0; }
}
