/* ==========================================================
   Beach Chair Soccer — style.css
   Palette: sand #F7E3B5 · deep sand #E8C98A · foam #FFFBF2
            ocean #1B8FCB · deep ocean #0B4F7A · ink #143247
            seafoam #7FD8CF · coral #FF6A4D · sun #FFCF4A
   Type:    Lilita One (display) · Nunito (body/utility)
   ========================================================== */

:root {
  --sand: #F7E3B5;
  --sand-deep: #E8C98A;
  --foam: #FFFBF2;
  --ocean: #1B8FCB;
  --ocean-deep: #0B4F7A;
  --ink: #143247;
  --seafoam: #7FD8CF;
  --coral: #FF6A4D;
  --coral-deep: #E0492E;
  --sun: #FFCF4A;

  --display: "Lilita One", "Arial Black", sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;

  --wrap: 1140px;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(20, 50, 71, .12);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--ocean-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; }
h3 { font-size: 1.35rem; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--foam); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.wrap-narrow { max-width: 760px; }

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section > .wrap > h2 { margin-top: 10px; }

.eyebrow {
  font-weight: 900; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ocean-deep); display: inline-flex; align-items: center; gap: 10px;
}
.pin { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 106, 77, .25); }

.section-lede { margin-top: 14px; font-size: 1.15rem; max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 900; font-size: 1rem; text-decoration: none;
  padding: 14px 22px; border-radius: 999px; border: 3px solid var(--ink);
  color: var(--ink); background: var(--foam); cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-coral:hover { background: #FF7E66; }
.btn-ghost { background: transparent; }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 12px 24px;
  background: rgba(247, 227, 181, .85);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; }
.brand-word { font-family: var(--display); font-size: 1.05rem; line-height: .95; letter-spacing: .02em; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-weight: 900; text-decoration: none; color: var(--ink); font-size: .95rem; padding: 6px 2px; border-bottom: 3px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--coral); }
.nav-cta { padding: 10px 18px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #BFE9F7 0%, #7FCFEF 42%, #1B8FCB 100%);
  color: var(--ink);
  overflow: hidden;
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.sun {
  position: absolute; right: 8%; top: 40px; width: 150px; height: 150px; border-radius: 50%;
  background: var(--sun); border: 5px solid var(--ink);
  box-shadow: 0 0 0 18px rgba(255, 207, 74, .28), 0 0 0 40px rgba(255, 207, 74, .14);
  animation: sunFloat 7s ease-in-out infinite;
}
@keyframes sunFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.gull { position: absolute; width: 46px; opacity: .8; animation: glide 14s linear infinite; }
.gull-1 { top: 70px; left: 8%; }
.gull-2 { top: 120px; left: 18%; width: 34px; animation-delay: -6s; animation-duration: 18s; }
@keyframes glide { 0% { transform: translateX(-20px) translateY(0); } 50% { transform: translateX(120px) translateY(-12px); } 100% { transform: translateX(-20px) translateY(0); } }

.hero-inner {
  position: relative; z-index: 1;
  width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 10vw, 140px);
}
.hero h1 {
  font-size: clamp(3rem, 7.2vw, 5.6rem);
  margin: 18px 0 20px;
  text-shadow: 0 4px 0 rgba(255, 251, 242, .6);
}
.hero .hl { color: var(--coral); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); }
.hero .eyebrow { color: var(--ink); background: var(--foam); padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ink); }
.lede { font-size: 1.15rem; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.hero-facts li {
  background: var(--foam); border: 3px solid var(--ink); border-radius: 14px;
  padding: 8px 16px; display: flex; flex-direction: column; align-items: center; min-width: 88px;
  box-shadow: 0 4px 0 var(--ink);
}
.hero-facts strong { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.hero-facts span { font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.hero-scene { position: relative; }
.court { width: 100%; height: auto; }
.hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); }

/* ---------- Stripe band (chair webbing motif) ---------- */
.stripe-band {
  height: 22px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 34px, var(--foam) 34px 68px);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
}
.stripe-band-blue { background: repeating-linear-gradient(90deg, var(--ocean) 0 34px, var(--foam) 34px 68px); }

/* ---------- The game ---------- */
.game { background: var(--sand); }
.game-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; margin-top: 32px; align-items: start; }
.big-text { font-size: 1.35rem; font-weight: 700; line-height: 1.5; }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pillars li {
  background: var(--foam); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 20px 22px 20px 82px; position: relative; box-shadow: 0 6px 0 var(--ink);
}
.pillars svg { position: absolute; left: 20px; top: 22px; width: 44px; height: 44px; }
.pillars h3 { margin-bottom: 6px; }

/* ---------- How to play ---------- */
.play { background: var(--foam); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; counter-reset: step; }
.steps li { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%;
  background: var(--sun); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  display: grid; place-items: center; font-family: var(--display); font-size: 1.8rem;
}
.steps h3 { margin-bottom: 6px; }

/* ---------- Scoring lab (signature) ---------- */
.scoring { background: linear-gradient(180deg, #BFE9F7 0%, #DDF3FA 100%); }
.lab {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; margin-top: 36px;
  background: var(--foam); border: 3px solid var(--ink); border-radius: 28px;
  box-shadow: 0 10px 0 var(--ink); overflow: hidden;
}
.lab-stage { display: flex; align-items: center; padding: 12px 12px 0; background: linear-gradient(180deg, #E5F5FB, #F7E3B5 78%); }
.lab-panel { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 18px; }
.shot-buttons { display: grid; gap: 10px; }
.shot {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t p" "s p"; column-gap: 12px;
  text-align: left; font-family: var(--body); cursor: pointer;
  background: var(--foam); border: 3px solid var(--ink); border-radius: 16px; padding: 10px 14px;
  transition: transform .12s var(--ease), background .12s;
}
.shot strong { grid-area: t; font-weight: 900; font-size: 1rem; }
.shot span { grid-area: s; font-size: .85rem; color: #3E5A6E; }
.shot em { grid-area: p; align-self: center; font-style: normal; font-family: var(--display); font-size: 1.6rem; color: var(--ocean-deep); }
.shot:hover { transform: translateX(3px); }
.shot[aria-pressed="true"] { background: var(--sun); box-shadow: 0 4px 0 var(--ink); }
.shot-bad em { color: var(--coral-deep); }
.shot-bad[aria-pressed="true"] { background: #FFD6CC; }
.verdict { background: var(--ink); color: var(--foam); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.verdict-points { font-family: var(--display); font-size: 2.6rem; color: var(--sun); line-height: 1; min-width: 64px; }
.verdict-text { font-size: .95rem; }
.lab-panel .btn { align-self: flex-start; }

.court-lab .zone { transition: opacity .3s; }
.court-lab .target.hit .chair-back { animation: shake .45s var(--ease); transform-origin: 0 -60px; }
@keyframes shake { 0% { transform: rotate(0); } 30% { transform: rotate(-6deg); } 60% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
.court .pop { transition: opacity .2s; }
.court-lab .target .tipper { transform-box: fill-box; transform-origin: 100% 100%; }
.court-lab .target.tip .tipper { animation: tipOver .7s cubic-bezier(.3, .9, .4, 1.1) forwards; }
@keyframes tipOver { to { transform: rotate(-95deg); } }
.knock-icon { display: inline-block; width: 46px; height: 46px; border-radius: 50%; background: var(--coral); border: 3px solid var(--ink); position: relative; }
.knock-icon::after { content: ""; position: absolute; left: 10px; top: 20px; width: 22px; height: 12px; border: 3px solid var(--ink); border-radius: 3px; transform: rotate(-70deg); transform-origin: 100% 100%; }

.rulecards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.rulecard {
  background: var(--foam); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 6px 0 var(--ink); position: relative;
}
.rulecard-num {
  font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--ocean); margin-bottom: 8px;
  display: flex; align-items: center; min-height: 3.2rem;
}
.cup-icon { width: 52px; height: 52px; }
.mid-icon { display: inline-block; width: 46px; height: 46px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); position: relative; }
.mid-icon::after { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; }
.rebound-icon { display: inline-block; width: 46px; height: 46px; border-radius: 50%; background: var(--seafoam); border: 3px solid var(--ink); position: relative; }
.rebound-icon::after { content: ""; position: absolute; left: 9px; top: 12px; width: 22px; height: 14px; border: 3px solid var(--ink); border-bottom: 0; border-radius: 14px 14px 0 0; }
.rebound-icon::before { content: ""; position: absolute; left: 6px; top: 22px; border: 6px solid transparent; border-top: 8px solid var(--ink); }
.shot em small { font-family: var(--body); font-size: .7rem; font-weight: 900; letter-spacing: .04em; }
.rulecard-death { grid-column: 1 / -1; background: var(--ink); color: var(--foam); border-color: var(--ink); box-shadow: 0 6px 0 var(--coral-deep); }
.rulecard-death h3 { color: var(--coral); font-size: 1.7rem; }
.death-icon { display: inline-block; width: 46px; height: 46px; border-radius: 50%; background: var(--coral); border: 3px solid var(--foam); position: relative; }
.death-icon::before { content: ""; position: absolute; left: 13px; top: 8px; width: 14px; height: 16px; border-radius: 8px 8px 4px 4px; background: var(--ink); }
.death-icon::after { content: ""; position: absolute; left: 16px; top: 13px; width: 3px; height: 3px; background: var(--coral); box-shadow: 5px 0 0 var(--coral), 2px 8px 0 var(--ink), 0 12px 0 var(--ink), 5px 12px 0 var(--ink); }
.btn-death { background: var(--ink); color: var(--coral); border-color: var(--ink); box-shadow: 0 4px 0 var(--coral-deep); animation: deathPulse 1.2s ease-in-out infinite; }
.btn-death:hover { background: #1F4560; }
@keyframes deathPulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.rulecard h3 { margin-bottom: 6px; }

.rules-link { margin-top: 26px; font-weight: 900; }
.house-rules { margin-top: 18px; background: var(--foam); border: 3px dashed var(--ink); border-radius: 16px; padding: 14px 20px; }
.house-rules summary { cursor: pointer; font-weight: 900; }
.house-rules ul { margin: 12px 0 4px; padding-left: 20px; display: grid; gap: 8px; }

/* ---------- Arcade (browser game) ---------- */
.arcade { background: var(--foam); }
.arcade-shell {
  margin-top: 36px; background: var(--foam); border: 3px solid var(--ink); border-radius: 28px;
  box-shadow: 0 10px 0 var(--ink); overflow: hidden;
}
.arcade-hud {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 14px 20px; background: var(--ink); color: var(--foam);
}
.score { display: flex; flex-direction: column; align-items: center; min-width: 84px; }
.score span { font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.score strong { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--sun); }
.score-cpu strong { color: var(--seafoam); }
.arcade-status { text-align: center; }
.game-msg { font-weight: 900; font-size: 1.05rem; }
.wind { font-size: .8rem; font-weight: 700; opacity: .85; margin-top: 2px; }
.arcade-canvas-wrap { position: relative; background: linear-gradient(180deg, #BFE9F7 0%, #DDF3FA 60%, #F7E3B5 78%); }
#gameCanvas { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 440; touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.arcade-overlay {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px;
  background: rgba(20, 50, 71, .55); color: var(--foam); padding: 24px;
}
.arcade-overlay[hidden] { display: none; }
.arcade-overlay h3 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--sun); }
.arcade-overlay p { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.arcade-overlay .btn { justify-self: center; }
.arcade-foot { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-top: 3px solid var(--ink); flex-wrap: wrap; }
.arcade-help { font-size: .9rem; color: #3E5A6E; }

.arcade-gate { background: rgba(20, 50, 71, .62); }
.name-form { background: var(--foam); color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; padding: 24px 26px; box-shadow: 0 8px 0 var(--ink); max-width: 420px; }
.name-form h3 { font-size: 2rem; color: var(--ink); }
.name-form p { font-weight: 700; margin: 6px 0 14px; font-size: 1rem; }
.name-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.name-row input { flex: 1 1 160px; font: inherit; font-weight: 700; padding: 12px 16px; border-radius: 999px; border: 3px solid var(--ink); background: #fff; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The kit ---------- */
.kit { background: var(--sand); }
.kit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kit-visual { position: relative; background: var(--foam); border: 3px solid var(--ink); border-radius: 32px; box-shadow: 0 10px 0 var(--ink); padding: 24px; }
.kit-svg { width: 100%; height: auto; }
.badge {
  position: absolute; top: -18px; right: 24px;
  background: var(--coral); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px;
  padding: 8px 18px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem;
  transform: rotate(4deg); box-shadow: 0 4px 0 var(--ink);
}
.kit h2 { margin-top: 10px; }
.kit-lede { font-size: 1.15rem; margin-top: 14px; }
.kit-list { padding-left: 0; list-style: none; margin: 22px 0 0; display: grid; gap: 10px; }
.kit-list li { padding-left: 32px; position: relative; }
.kit-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--seafoam); border: 3px solid var(--ink); }
.kit-price { margin-top: 24px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price { font-family: var(--display); font-size: 2rem; }
.price-note { font-size: .9rem; color: #3E5A6E; }

.signup { margin-top: 26px; background: var(--foam); border: 3px solid var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: 0 6px 0 var(--ink); }
.signup-label { display: block; font-weight: 900; margin-bottom: 10px; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type="email"] {
  flex: 1 1 220px; font: inherit; padding: 12px 16px; border-radius: 999px;
  border: 3px solid var(--ink); background: #fff; min-width: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-msg { margin-top: 10px; font-weight: 700; min-height: 1.4em; }
.signup-msg.ok { color: #0B7A5C; }
.signup-msg.err { color: var(--coral-deep); }

/* ---------- Feed ---------- */
.feed { background: var(--foam); }
.pin-live { background: #E0492E; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(224, 73, 46, .25); } 50% { box-shadow: 0 0 0 9px rgba(224, 73, 46, .08); } }
.feed-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; margin-top: 36px; align-items: start; }
.cam-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 8px 0 var(--ink); }
.cam-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cam-caption { margin-top: 12px; font-size: .9rem; color: #3E5A6E; font-weight: 700; }
.standings { background: var(--sand); border: 3px solid var(--ink); border-radius: 22px; padding: 20px 22px; box-shadow: 0 8px 0 var(--ink); }
.standings h3 { margin-bottom: 12px; }
.standings-table { width: 100%; border-collapse: collapse; font-weight: 700; }
.standings-table th { text-align: left; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ocean-deep); padding: 6px 4px; border-bottom: 3px solid var(--ink); }
.standings-table td { padding: 8px 4px; border-bottom: 2px dashed rgba(20, 50, 71, .25); }
.standings-table th:not(:first-child), .standings-table td:not(:first-child) { text-align: center; width: 12%; }
.standings-note { margin-top: 10px; font-size: .8rem; color: #3E5A6E; }
.feed-days { margin-top: 32px; display: grid; gap: 24px; }
.feed-day { background: var(--sand); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 8px 0 var(--ink); overflow: hidden; }
.feed-day-head { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; padding: 16px 22px; background: var(--ink); color: var(--foam); }
.feed-day-head h3 { color: var(--sun); font-size: 1.5rem; }
.feed-day-head span { font-weight: 700; font-size: .9rem; opacity: .9; }
.feed-games { list-style: none; margin: 0; padding: 8px 22px; display: grid; }
.feed-game { display: grid; grid-template-columns: 110px 1fr auto 1fr; gap: 8px 16px; align-items: center; padding: 14px 0; border-bottom: 2px dashed rgba(20, 50, 71, .25); }
.feed-game:last-child { border-bottom: 0; }
.feed-format { font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean-deep); }
.feed-team { font-weight: 900; font-size: 1.05rem; }
.feed-team.winner::after { content: " \2713"; color: #0B7A5C; }
.feed-team.right { text-align: right; }
.feed-score { font-family: var(--display); font-size: 1.9rem; letter-spacing: .04em; background: var(--foam); border: 3px solid var(--ink); border-radius: 12px; padding: 2px 14px; white-space: nowrap; }
.feed-note { grid-column: 1 / -1; font-size: .92rem; color: #3E5A6E; }
.feed-notes { margin: 0; padding: 14px 22px 18px; border-top: 3px solid var(--ink); background: var(--foam); }
.feed-notes-title { font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--ocean-deep); margin-bottom: 6px; }
.feed-notes ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.feed-loading { color: #3E5A6E; font-weight: 700; }

/* ---------- Story ---------- */
.story { background: var(--foam); padding-top: 0; }
.story-photo { margin: 0; position: relative; height: clamp(280px, 48vw, 560px); overflow: hidden; border-bottom: 3px solid var(--ink); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.story-photo figcaption {
  position: absolute; left: 24px; bottom: 20px;
  background: var(--foam); border: 3px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 900; font-size: .85rem;
}
.story-grid { max-width: 720px; margin-top: clamp(48px, 7vw, 80px); }
.story-copy h2 { margin: 10px 0 18px; }
.story-copy p + p { margin-top: 14px; }

/* ---------- Founders ---------- */
.founders-section { background: var(--sand); }
.founder-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; align-items: start; }
.fcard {
  background: var(--foam); border: 3px solid var(--ink); border-radius: 28px; padding: 26px 28px 22px;
  box-shadow: 0 8px 0 var(--ink); position: relative; overflow: hidden;
}
.fcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--seafoam) 0 22px, var(--foam) 22px 44px); border-bottom: 3px solid var(--ink); }
.fcard-cup::before { background: repeating-linear-gradient(90deg, var(--coral) 0 22px, var(--foam) 22px 44px); }
.fcard-top { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center; margin: 10px 0 18px; }
.fcard-avatar svg { width: 84px; height: 84px; }
.fcard-kicker { font-size: .74rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--ocean-deep); }
.fcard h3 { font-size: 2.2rem; margin: 2px 0; }
.fcard-titles { font-size: .85rem; font-weight: 700; color: #3E5A6E; }
.fcard > p { margin-bottom: 12px; }
.fcard-stats { margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; border-top: 3px dashed var(--ink); padding-top: 16px; }
.fcard-stats div { display: flex; flex-direction: column; }
.fcard-stats dt { font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--ocean-deep); }
.fcard-stats dd { margin: 0; font-weight: 700; }
.founders-note { margin-top: 22px; font-size: .9rem; color: #3E5A6E; font-style: italic; }

/* ---------- Sponsors ---------- */
.sponsors { background: var(--foam); border-top: 3px solid var(--ink); padding: 40px 0 48px; text-align: center; }
.sponsor-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 18px; }
.sponsor {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--ink);
  background: var(--sand); border: 3px solid var(--ink); border-radius: 18px; padding: 16px 26px; min-width: 280px;
  box-shadow: 0 5px 0 var(--ink); transition: transform .15s var(--ease);
}
.sponsor:hover { transform: translateY(-3px); }
.sponsor-logo { width: 190px; height: 150px; object-fit: contain; margin-bottom: 6px; }
.sponsor-sub { font-size: .82rem; font-weight: 700; color: #3E5A6E; }
.sponsor-tag { margin-top: 6px; font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq h2 { margin: 10px 0 24px; }
.faq details { background: var(--foam); border: 3px solid var(--ink); border-radius: 16px; padding: 14px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 1.05rem; }
.faq details p { margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--foam); position: relative; }
.footer .wave-top { width: 100%; height: clamp(30px, 5vw, 70px); display: block; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; padding: 40px 0 48px; align-items: center; }
.footer-brand { font-family: var(--display); font-size: 1.5rem; }
.footer-sub { opacity: .8; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--foam); font-weight: 900; text-decoration: none; border-bottom: 2px solid transparent; }
.footer-links a:hover { border-bottom-color: var(--sun); }
.footer-legal { grid-column: 1 / -1; font-size: .8rem; opacity: .6; }
.guest-counter { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; }
.guest-label { font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.guest-digits { font-family: var(--display); font-size: 1.3rem; letter-spacing: .18em; background: #000; color: var(--sun); border: 2px solid var(--sun); border-radius: 6px; padding: 2px 10px 2px 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-scene { order: -1; }
  .sun { width: 84px; height: 84px; right: 5%; top: 12px; box-shadow: 0 0 0 12px rgba(255, 207, 74, .28), 0 0 0 26px rgba(255, 207, 74, .14); }
  .gull-1 { top: 30px; } .gull-2 { top: 64px; }
  .hero-scene { margin-top: 84px; }
  .game-grid, .kit-grid, .founder-cards, .feed-grid { grid-template-columns: 1fr; }
  .lab { grid-template-columns: 1fr; }
  .lab-panel { padding: 0 20px 20px; }
  .rulecards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { gap: 12px; padding: 10px 16px; }
  .brand-word { display: none; }
  .nav-cta { margin-left: auto; }
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 2.9rem; }
  .hero .eyebrow { font-size: .68rem; letter-spacing: .14em; }
  .hero-facts li { min-width: 70px; padding: 6px 10px; }
  .btn-lg { width: 100%; }
  .verdict { grid-template-columns: 1fr; }
  .arcade-hud { grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 12px 16px; }
  .arcade-status { grid-column: 1 / -1; order: 2; }
  .game-msg { font-size: .95rem; }
  .score { min-width: 0; }
  .feed-game { grid-template-columns: 1fr auto 1fr; }
  .feed-format { grid-column: 1 / -1; }
  .score strong { font-size: 2rem; }
}
