/*
 * Flights & Fairways -- marketing site.
 *
 * Tokens mirror apps/mobile/src/theme.ts (the "Championship" system): navy
 * for actions and money, fairway green for the on-course voice, trophy gold
 * for champions and "today", red kept sparing.
 */

@font-face { font-family: 'Barlow'; src: url('../fonts/Barlow_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/Barlow_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/Barlow_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/Barlow_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/BarlowCondensed_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/BarlowCondensed_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --bg: #eef0ea;
  --surface: #ffffff;
  --text: #0d1b2a;
  --muted: #4c554d;
  --divider: rgba(13, 27, 42, 0.14);

  --navy: #173f73;
  --navy-100: #e8eef7;
  --navy-200: #d0dcee;
  --navy-300: #a9bfe0;
  --navy-500: #3b5f99;
  --navy-600: #1f4478;
  --navy-700: #16365f;
  --navy-800: #0f2748;
  --navy-900: #0a1a31;

  --green-100: #eaf4e7;
  --green-200: #d3e8cd;
  --green-300: #acd2a3;
  --green-500: #4f8f45;
  --green-700: #275a24;
  --green-800: #1b441a;
  --green-900: #112e12;
  --grass: #2f6d33;
  --on-grass-muted: #dcefd6;

  --neutral-100: #fbfbf9;
  --neutral-200: #e4e7e0;
  --neutral-600: #687168;

  --gold: #e3b53c;
  --on-gold: #1d1603;
  --red: #c8102e;
  --red-100: #fbe3e6;
  --red-800: #9b0c24;

  --scoreboard: #0b1f3a;
  --scoreboard-tile: #16345c;

  --r-sm: 4px;
  --r-control: 5px;
  --r-card: 10px;
  --r-xl: 22px;

  --shadow-md: 0 3px 10px rgba(39, 48, 41, 0.16);
  --shadow-lg: 0 12px 32px rgba(39, 48, 41, 0.22);
  --shadow-phone: 0 40px 80px -20px rgba(5, 18, 10, 0.55), 0 18px 36px -18px rgba(5, 18, 10, 0.5);

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --nav-h: 72px;

  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-control);
  font-weight: 700; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--gold); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ type */

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-700); margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }
.on-dark .eyebrow { color: var(--gold); }

.display, .h1, .h2, .h3 {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.01em; margin: 0; line-height: 0.92;
}
.display { font-size: clamp(50px, 7vw, 124px); font-weight: 800; line-height: 0.86; letter-spacing: -0.005em; }
.h1 { font-size: clamp(48px, 7.4vw, 112px); }
.h2 { font-size: clamp(38px, 5.2vw, 76px); }
.h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1; }

.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 560px; margin: 22px 0 0; }
.on-dark .lede { color: rgba(255, 255, 255, 0.78); }

.accent-green { color: var(--grass); }
.accent-gold { color: var(--gold); }
.accent-red { color: var(--red); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-control);
  font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, box-shadow 0.25s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(23, 63, 115, 0.65); }
.btn-primary:hover { background: var(--navy-600); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: #ecc255; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-outline { border-color: var(--divider); color: var(--navy-800); background: var(--surface); }
.btn-outline:hover { border-color: var(--navy-300); }

/* Store buttons. Swap for Apple's and Google's official badges once the
   listings are live (both stores publish badge artwork and usage rules). */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 186px;
  padding: 10px 20px 10px 16px; border-radius: 12px; text-decoration: none;
  background: #000; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.25s var(--ease), border-color 0.2s, background-color 0.2s;
}
.store:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.7); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; line-height: 1.1; letter-spacing: 0.02em; opacity: 0.85; }
.store strong { display: block; font-size: 19px; line-height: 1.15; font-weight: 600; letter-spacing: 0; }
.store.light { background: var(--text); border-color: transparent; }

/* ------------------------------------------------------------------- nav */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s, height 0.35s;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 22px; width: auto; }
.brand .mono { height: 34px; }
.brand .word-navy { display: none; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 10px 14px; border-radius: var(--r-control); transition: background-color 0.2s, color 0.2s;
}
.nav-links a:not(.btn):hover { background: rgba(255, 255, 255, 0.12); }
.nav .btn { min-height: 42px; padding: 9px 18px; font-size: 13px; }

.nav.scrolled, .nav.solid {
  background: rgba(238, 240, 234, 0.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--divider);
}
.nav.scrolled .brand .word-white, .nav.solid .brand .word-white { display: none; }
.nav.scrolled .brand .word-navy, .nav.solid .brand .word-navy { display: block; }
.nav.scrolled .nav-links a:not(.btn), .nav.solid .nav-links a:not(.btn) { color: var(--text); }
.nav.scrolled .nav-links a:not(.btn):hover, .nav.solid .nav-links a:not(.btn):hover { background: var(--neutral-200); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-control);
  background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav.scrolled .nav-toggle, .nav.solid .nav-toggle { color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    padding: 14px var(--gutter) 24px; gap: 4px; background: var(--bg);
    box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links a:not(.btn) { color: var(--text) !important; font-size: 18px; padding: 14px 8px; }
  .nav-links .btn { margin-top: 8px; }
  .nav.open { background: var(--bg); }
  .nav.open .nav-toggle { color: var(--text); }
  .nav.open .brand .word-white { display: none; }
  .nav.open .brand .word-navy { display: block; }
}

/* ----------------------------------------------------------- grass card */

/* The app's signature treatment: photo, dark fade, then mow stripes. */
.grass {
  position: relative; color: #fff; background-color: var(--grass); isolation: isolate;
  background-image:
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.09) 0 60px, rgba(0, 0, 0, 0.1) 60px 120px),
    linear-gradient(180deg, rgba(6, 28, 12, 0.05), rgba(6, 28, 12, 0.5)),
    url('../brand/grass-photo.jpg');
  background-size: auto, auto, cover;
  background-position: center;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  background: var(--green-900);
}
.hero-media { position: absolute; inset: -6% 0 0 0; z-index: -2; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 20, 9, 0.86) 0%, rgba(5, 20, 9, 0.55) 45%, rgba(5, 20, 9, 0.15) 75%),
    linear-gradient(180deg, rgba(5, 20, 9, 0.5) 0%, rgba(5, 20, 9, 0) 30%, rgba(5, 20, 9, 0) 70%, rgba(5, 20, 9, 0.75) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: overlay; opacity: 0.28;
  background: repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.08) 0 70px, rgba(0, 0, 0, 0.12) 70px 140px);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: 40px; }
.hero h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero h1 .line { display: block; }
.hero .lede { color: rgba(255, 255, 255, 0.84); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.72); display: flex; align-items: center; gap: 10px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227, 181, 60, 0.25); }

.hero-phones { position: relative; height: min(76vh, 720px); min-height: 520px; }
.hero-phones .phone { position: absolute; }
.hero-phones .phone.front { right: 8%; top: 50%; width: min(300px, 25vw); transform: translateY(-50%) rotate(2deg); z-index: 2; }
.hero-phones .phone.back { right: 42%; top: 50%; width: min(260px, 21vw); transform: translateY(-44%) rotate(-7deg); opacity: 0.94; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.scroll-cue span { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 14px; position: relative; }
.scroll-cue span::after {
  content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 960px) {
  .hero { align-items: flex-start; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-phones { height: 560px; min-height: 0; margin-top: 10px; }
  .hero-phones .phone.front { width: 250px; right: auto; left: 50%; transform: translate(-18%, -50%) rotate(2deg); }
  .hero-phones .phone.back { width: 220px; right: auto; left: 50%; transform: translate(-92%, -44%) rotate(-7deg); }
  .scroll-cue { display: none; }
}

/* ----------------------------------------------------------------- phone */

/*
 * Device frames, drawn in CSS around the screenshots. Everything inside is
 * sized in cqw (a percentage of the phone's own width), so a frame looks the
 * same at 160px or 330px.
 *
 *   .phone         iPhone 17 Pro, Deep Blue aluminium
 *   .phone.pixel   Pixel 10 Pro, Moonstone -- draws an Android status bar and
 *                  punch-hole camera over the iOS status bar in the shot
 */
.phone {
  --rim-1: #1c2a42; --rim-2: #3d5378; --rim-3: #7f93b5; --btn: #26364f;
  container-type: inline-size;
  position: relative; width: 300px; aspect-ratio: 0.4811;
  border-radius: 16.5% / 7.95%;
  background:
    linear-gradient(90deg, var(--rim-1) 0%, var(--rim-3) 1.2%, var(--rim-2) 2.6%, var(--rim-1) 6%,
                    var(--rim-1) 94%, var(--rim-2) 97.4%, var(--rim-3) 98.8%, var(--rim-1) 100%),
    var(--rim-1);
  box-shadow:
    var(--shadow-phone),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}
/* Left: Action button, volume up, volume down. Right: side button, Camera Control. */
.phone::before, .phone::after {
  content: ''; position: absolute; width: 1.15cqw; border-radius: 1cqw;
  background: linear-gradient(90deg, var(--btn), var(--rim-3) 50%, var(--btn));
}
.phone::before {
  left: -0.85cqw; top: 17%; height: 8cqw;
  box-shadow: 0 13.5cqw 0 0 var(--btn), 0 29cqw 0 0 var(--btn);
}
.phone::after {
  right: -0.85cqw; top: 27%; height: 19cqw;
  box-shadow: 0 68cqw 0 -0.1cqw var(--btn);
}
.phone .screen {
  position: absolute; inset: 3.9cqw; overflow: hidden; background: var(--bg);
  border-radius: 12.6cqw;
  box-shadow: 0 0 0 2.5cqw #040507, 0 0 0 2.7cqw rgba(255, 255, 255, 0.07);
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Dynamic Island. Simulator screenshots don't include it. */
.phone .screen::before {
  content: ''; position: absolute; z-index: 2; left: 50%; top: 2.5cqw; width: 26.5cqw; height: 7.8cqw;
  translate: -50% 0; border-radius: 99px; background: #000;
  box-shadow: inset 17.5cqw 0 0 -16cqw #000, inset -2cqw 0 1.6cqw -1.2cqw rgba(40, 60, 110, 0.55);
}
/* Glass sheen. */
.phone .screen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 32%);
  mix-blend-mode: soft-light;
}

.phone.pixel {
  --rim-1: #5b6673; --rim-2: #8c97a4; --rim-3: #c9d1da; --btn: #6c7784;
  border-radius: 12.5% / 6%;
  background:
    linear-gradient(90deg, var(--rim-1) 0%, var(--rim-3) 1%, var(--rim-2) 2.2%, #3a414a 4.6%,
                    #3a414a 95.4%, var(--rim-2) 97.8%, var(--rim-3) 99%, var(--rim-1) 100%),
    #3a414a;
}
/* Pixel buttons sit on the right: power above, volume rocker below. */
.phone.pixel::before {
  left: auto; right: -0.85cqw; top: 22%; height: 9cqw; box-shadow: none;
}
.phone.pixel::after { top: 31.5%; height: 22cqw; box-shadow: none; }
.phone.pixel .screen {
  inset: 4.4cqw; border-radius: 9.6cqw;
  box-shadow: 0 0 0 3cqw #030304, 0 0 0 3.2cqw rgba(255, 255, 255, 0.06);
}
.phone.pixel .screen::before {
  /* Android status bar: covers the iOS one baked into the screenshot. */
  content: '9:41'; position: absolute; left: 0; right: 0; top: 0; width: auto; height: 12.2cqw; z-index: 2;
  translate: none; border-radius: 0; box-shadow: none;
  display: flex; align-items: center; padding-left: 7.5cqw;
  font: 600 4.1cqw/1 'Barlow', system-ui, sans-serif; color: #0d1b2a; letter-spacing: 0.01em;
  background:
    radial-gradient(circle at 50% 50%, #0b0c0e 0 1.9cqw, #22252a 2cqw 2.25cqw, transparent 2.35cqw) center 55% / 100% 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 14'%3E%3Cpath d='M1 12 L11 2 L11 12 Z' fill='%230d1b2a'/%3E%3Cpath d='M17 5.2a8.5 8.5 0 0 1 11 0l-5.5 6.8z' fill='%230d1b2a'/%3E%3Crect x='36' y='2.5' width='18' height='9' rx='2' fill='none' stroke='%230d1b2a' stroke-width='1.3'/%3E%3Crect x='38' y='4.4' width='14' height='5.2' rx='1' fill='%230d1b2a'/%3E%3Crect x='54.6' y='5.3' width='1.6' height='3.4' rx='.6' fill='%230d1b2a'/%3E%3C/svg%3E") right 6.5cqw center / 14cqw auto no-repeat,
    var(--bg);
}

/* ---------------------------------------------------------------- marquee */

.marquee {
  background: var(--scoreboard); color: #fff; overflow: hidden; border-top: 4px solid var(--gold);
  padding: 20px 0; position: relative;
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 0.02em; white-space: nowrap; display: flex; align-items: center;
}
.marquee li::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin: 0 30px; }
.marquee li:nth-child(3n + 2) { color: var(--green-300); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* -------------------------------------------------------------- sections */

.section { padding: clamp(90px, 12vw, 170px) 0; position: relative; }
.section-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* Statement: words brighten as the line scrolls through the viewport. */
.statement { background: var(--bg); padding: clamp(110px, 16vw, 220px) 0; }
.statement .big {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; margin: 0;
  font-size: clamp(44px, 7.6vw, 124px); line-height: 0.92; letter-spacing: -0.005em; max-width: 14ch;
}
.statement .w { color: var(--text); opacity: var(--o, 0.14); transition: opacity 0.12s linear; }
.statement .w.green { color: var(--grass); }
.statement .sub { margin-top: 38px; font-size: clamp(18px, 1.6vw, 22px); max-width: 620px; color: var(--muted); }
.statement .flag-rule { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.statement .flag-rule img { height: 44px; width: auto; }
.statement .flag-rule span { flex: 1; height: 1px; background: var(--divider); max-width: 280px; }

/* ------------------------------------------------------ sticky scroll story */

.story { background: var(--surface); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); }
.story-steps { padding: 6vh 0 12vh; }
.story-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.story-step.active { opacity: 1; }
.story-step .num {
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; color: var(--navy-700);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.story-step .num::after { content: ''; height: 1px; width: 60px; background: var(--divider); }
.story-step h3 { font-size: clamp(40px, 4.6vw, 68px); }
.story-step p { color: var(--muted); font-size: 19px; max-width: 480px; margin: 20px 0 0; }
.story-step ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; max-width: 480px; }
.story-step li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.story-step li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--green-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b441a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.story-step .mobile-phone { display: none; }

.story-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.story-stage .halo {
  position: absolute; width: min(560px, 42vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 143, 69, 0.28), rgba(79, 143, 69, 0) 65%);
  transition: background 0.6s;
}
.story-stage[data-tone='navy'] .halo { background: radial-gradient(circle, rgba(59, 95, 153, 0.28), rgba(59, 95, 153, 0) 65%); }
.story-stage[data-tone='gold'] .halo { background: radial-gradient(circle, rgba(227, 181, 60, 0.32), rgba(227, 181, 60, 0) 65%); }
.story-stage .phone { width: min(330px, 26vw); }
.story-stage .screen img {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.04);
  transition: opacity 0.55s var(--ease), transform 0.8s var(--ease);
}
.story-stage .screen img.on { opacity: 1; transform: none; }

.story-dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.story-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--neutral-200); transition: background 0.3s, transform 0.3s; }
.story-dots i.on { background: var(--navy); transform: scale(1.3); }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-stage { display: none; }
  .story-steps { padding: 0; }
  .story-step { min-height: 0; opacity: 1; padding: 50px 0; border-top: 1px solid var(--divider); }
  .story-step:first-child { border-top: 0; }
  .story-step .mobile-phone { display: block; margin: 36px auto 0; width: 240px; }
}

/* ------------------------------------------------------------------ bento */

.features { background: var(--bg); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 2.6vw, 34px);
  position: relative; overflow: hidden; min-height: 280px; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(39, 48, 41, 0.06);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(26px, 2.3vw, 34px); line-height: 1; margin: 0; }
.card p { color: var(--muted); margin: 12px 0 0; max-width: 42ch; }
.card .tag-row { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.card.span-2 { grid-column: span 2; }
.card.span-3 { grid-column: span 3; }
.card.span-4 { grid-column: span 4; }
.card.dark { background: var(--scoreboard); color: #fff; }
.card.dark p { color: rgba(255, 255, 255, 0.72); }
.card.grass {
  background-color: var(--grass);
  background-image:
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.09) 0 60px, rgba(0, 0, 0, 0.1) 60px 120px),
    linear-gradient(180deg, rgba(6, 28, 12, 0.05), rgba(6, 28, 12, 0.5)),
    url('../brand/grass-photo.jpg');
  background-size: auto, auto, cover;
  background-position: center;
}
.card.grass p { color: var(--on-grass-muted); }
.card.gold { background: var(--gold); color: var(--on-gold); }
.card.gold p { color: rgba(29, 22, 3, 0.75); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--navy-100); color: var(--navy-700);
}
.card .icon svg { width: 24px; height: 24px; }
.card.dark .icon { background: var(--scoreboard-tile); color: var(--gold); }
.card.grass .icon { background: rgba(0, 0, 0, 0.32); color: #fff; }

@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.span-2, .card.span-3 { grid-column: span 1; }
  .card.span-4 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card.span-2, .card.span-3, .card.span-4 { grid-column: span 1; }
}

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-control);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  background: var(--neutral-200); color: var(--neutral-600);
}
.tag.navy { background: var(--navy-100); color: var(--navy-800); }
.tag.green { background: var(--green-200); color: var(--green-800); }
.tag.red { background: var(--red-100); color: var(--red-800); }
.tag.gold { background: var(--gold); color: var(--on-gold); }
.tag.glass { background: rgba(0, 0, 0, 0.32); color: #fff; }
.tag.outline { background: transparent; box-shadow: inset 0 0 0 1px var(--divider); }

/* Skins grid, as drawn in the app. */
.skins-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 26px; max-width: 420px; }
.hole {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative;
  font-weight: 600; font-size: 14px; color: var(--muted);
  border: 2px dashed var(--navy-500); background: transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.hole b {
  position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%) scale(0);
  font-size: 10px; font-weight: 700; color: #fff; background: var(--navy-800); padding: 1px 6px; border-radius: 99px;
  transition: transform 0.35s var(--ease);
}
.skins-live .hole.won { background: var(--navy); border: 2px solid var(--navy); color: #fff; transform: scale(1.04); }
.skins-live .hole.won b { transform: translateX(-50%) scale(1); }
.skins-live .hole.mine { box-shadow: 0 0 0 2px var(--surface), 0 0 0 5px var(--green-500); }

/* Mini ledger. */
.ledger { margin-top: 24px; display: grid; gap: 0; border-top: 1px solid var(--divider); }
.ledger div { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--divider); font-weight: 500; }
.ledger div span:first-child { flex: 1; }
.ledger .amt { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy-700); min-width: 46px; text-align: right; }

/* Mini standings. */
.mini-board { margin-top: 22px; display: grid; gap: 8px; }
.mini-board div {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center;
  background: rgba(6, 28, 12, 0.62); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px; padding: 10px 14px; color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.mini-board .pos { font-family: var(--font-head); font-size: 20px; color: var(--gold); }
.mini-board .net { font-family: var(--font-head); font-size: 22px; }
.mini-board .flight { font-size: 12px; color: var(--on-grass-muted); display: block; }

/* Push notification mock. */
.push {
  margin-top: 24px; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(8px);
  border: 1px solid var(--divider); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow-md);
}
.push + .push { margin-top: 10px; transform: scale(0.96); opacity: 0.8; }
.push img { width: 40px; height: 40px; border-radius: 9px; }
.push .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--neutral-600); }
.push strong { display: block; font-size: 14px; line-height: 1.3; }
.push span.body { font-size: 14px; line-height: 1.35; color: var(--muted); }

/* --------------------------------------------------------------- photo band */

.band {
  position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; isolation: isolate;
  padding: 0 0 clamp(60px, 9vw, 120px);
}
.band-media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 20, 9, 0.1) 0%, rgba(5, 20, 9, 0.2) 40%, rgba(5, 20, 9, 0.85) 100%);
}
.band blockquote { margin: 0; max-width: 980px; }
.band blockquote p {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; margin: 0;
  font-size: clamp(44px, 7vw, 110px); line-height: 0.9;
}
.band .stats { display: flex; flex-wrap: wrap; gap: clamp(26px, 5vw, 70px); margin-top: 44px; }
.band .stat strong { display: block; font-family: var(--font-head); font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--gold); }
.band .stat span { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }

/* ------------------------------------------------------------------ admin */

.admin { background: var(--scoreboard); color: #fff; overflow: hidden; }
.admin::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.admin .h2 { color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; max-width: 520px; }
.tile { background: var(--scoreboard-tile); border-radius: var(--r-card); padding: 16px 18px; }
.tile strong { display: block; font-family: var(--font-head); font-size: clamp(34px, 3.4vw, 46px); line-height: 1; }
.tile span { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.tile.gold strong { color: var(--gold); }
.check-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; max-width: 560px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: rgba(255, 255, 255, 0.88); }
.check-list li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1603' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.admin-phones { position: relative; height: 700px; }
.admin-phones .phone { position: absolute; top: 50%; }
/* Positioned with translate/rotate so the reveal's transform can't undo it. */
.admin-phones .p1 { left: 0; width: 250px; translate: 0 -46%; rotate: -6deg; }
.admin-phones .p2 { left: 50%; width: 290px; translate: -50% -50%; z-index: 2; }
.admin-phones .p3 { right: 0; width: 240px; translate: 0 -40%; rotate: 6deg; }
@media (max-width: 1020px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-phones { height: 560px; }
  .admin-phones .p1 { width: 210px; left: 50%; translate: -125% -46%; }
  .admin-phones .p2 { width: 240px; left: 50%; translate: -50% -50%; }
  .admin-phones .p3 { width: 200px; left: 50%; right: auto; translate: 28% -40%; }
}
@media (max-width: 560px) {
  .check-list { grid-template-columns: 1fr; }
  .admin-phones { height: 480px; }
  .admin-phones .p1 { width: 165px; translate: -112% -46%; }
  .admin-phones .p2 { width: 200px; }
  .admin-phones .p3 { width: 160px; translate: 12% -40%; }
}

/* ----------------------------------------------------------------- gallery */

.gallery { background: var(--bg); overflow: hidden; padding-bottom: clamp(90px, 12vw, 160px); }
.gallery-rail {
  display: flex; gap: clamp(20px, 3vw, 40px); padding: 20px var(--gutter) 50px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
}
.gallery-rail::-webkit-scrollbar { display: none; }
.gallery-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-rail figure { margin: 0; flex: none; scroll-snap-align: center; text-align: center; }
.gallery-rail .phone { width: clamp(220px, 20vw, 270px); transition: transform 0.5s var(--ease); }
.gallery-rail figure:hover .phone { transform: translateY(-8px); }
.gallery-rail figcaption { margin-top: 22px; font-weight: 600; font-size: 15px; }
.gallery-rail figcaption small { display: block; font-weight: 500; color: var(--neutral-600); font-size: 14px; }
.rail-controls { display: flex; gap: 10px; justify-content: flex-end; }
.rail-controls button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--divider); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--text); transition: background-color 0.2s, transform 0.2s;
}
.rail-controls button:hover { background: var(--neutral-200); }
.rail-controls svg { width: 20px; height: 20px; }
.gallery .head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }

/* ----------------------------------------------------------------- pricing */

.pricing { background: var(--surface); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  border-radius: var(--r-xl); padding: clamp(26px, 3vw, 38px); background: var(--bg); display: flex; flex-direction: column;
  border: 1px solid transparent; position: relative;
}
.plan h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 26px; margin: 0; }
.plan .price { font-family: var(--font-head); font-weight: 800; font-size: clamp(56px, 6vw, 80px); line-height: 1; margin: 18px 0 4px; }
.plan .price small { font-size: 22px; font-weight: 700; color: var(--neutral-600); }
.plan .per { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-weight: 500; }
.plan li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--green-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b441a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan .btn { margin-top: auto; }
.plan.featured { background: var(--scoreboard); color: #fff; border-top: 4px solid var(--gold); }
.plan.featured .per, .plan.featured .price small { color: rgba(255, 255, 255, 0.7); }
.plan.featured li::before { background-color: var(--gold); }
.plan .ribbon { position: absolute; top: 22px; right: 22px; }
.plans-note { text-align: center; color: var(--muted); margin: 30px auto 0; max-width: 680px; font-size: 15px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* --------------------------------------------------------------------- faq */

.faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); }
.faq details { border-bottom: 1px solid var(--divider); }
.faq details:first-child { border-top: 1px solid var(--divider); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-weight: 600; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173f73' stroke-width='2.75' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--navy-100); }
.faq .answer { padding: 0 60px 26px 0; color: var(--muted); }
.faq .answer p { margin: 0 0 12px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq .answer { padding-right: 0; } }

/* --------------------------------------------------------------------- cta */

.cta { position: relative; overflow: hidden; color: #fff; text-align: center; isolation: isolate; padding: clamp(110px, 16vw, 200px) 0; }
.cta-media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(5, 20, 9, 0.55), rgba(5, 20, 9, 0.85)); }
.cta .lockup { width: min(460px, 76vw); margin: 0 auto 40px; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.35)); }
.cta .lede { margin-left: auto; margin-right: auto; }
.cta .store-row { justify-content: center; margin-top: 40px; }

/* ------------------------------------------------------------------ footer */

.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); padding: 70px 0 40px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer .word { height: 22px; width: auto; margin-bottom: 18px; }
.footer p { margin: 0; max-width: 34ch; }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #fff; text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ inner pages */

.page-hero { padding: calc(var(--nav-h) + clamp(50px, 8vw, 110px)) 0 clamp(50px, 7vw, 90px); color: #fff; overflow: hidden; }
.page-hero.grass {
  background-image:
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.05) 0 80px, rgba(0, 0, 0, 0.08) 80px 160px),
    linear-gradient(180deg, rgba(6, 28, 12, 0.55), rgba(6, 28, 12, 0.78)),
    url('../brand/grass-photo.jpg');
}
.page-hero .lede { color: var(--on-grass-muted); }
.page-hero .eyebrow { color: #fff; }

.doc { padding: clamp(50px, 7vw, 100px) 0 clamp(80px, 10vw, 140px); }
.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); font-size: 14px; }
.toc h2 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-700); margin: 0 0 14px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: block; padding: 7px 10px; border-radius: var(--r-control); text-decoration: none; color: var(--muted);
  border-left: 2px solid transparent; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.toc a:hover { background: var(--neutral-200); color: var(--text); }
.toc a.on { color: var(--navy-700); border-left-color: var(--navy); background: var(--navy-100); font-weight: 600; }
.prose { background: var(--surface); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); max-width: 860px; }
.prose h2 {
  font-family: var(--font-head); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05;
  margin: 48px 0 14px; padding-top: 8px;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose li { color: #26312a; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--navy-700); font-weight: 600; text-underline-offset: 3px; }
.prose .callout { background: var(--navy-100); border-radius: var(--r-card); padding: 18px 22px; margin: 22px 0; }
.prose .callout p { margin: 0; color: var(--navy-800); }
.prose .caps { text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--divider); vertical-align: top; }
.prose th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-700); }
.effective { font-size: 14px; color: var(--on-grass-muted); margin-top: 18px; }
@media (max-width: 900px) { .doc-grid { grid-template-columns: 1fr; } .toc { position: static; } .toc ol { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px; align-items: start; }
.form-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 48px); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--neutral-100);
  border: 1px solid var(--neutral-200); border-radius: var(--r-control); padding: 13px 14px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 63, 115, 0.18); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 14px; color: var(--neutral-600); margin: 14px 0 0; }
.form-status { margin-top: 16px; font-weight: 600; color: var(--green-700); min-height: 1.5em; }
.side-cards { display: grid; gap: 16px; }
.side-card { background: var(--surface); border-radius: var(--r-xl); padding: 26px 28px; }
.side-card h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 24px; margin: 0 0 8px; }
.side-card p { margin: 0; color: var(--muted); }
.side-card a { color: var(--navy-700); font-weight: 600; }
.side-card.dark { background: var(--scoreboard); color: #fff; }
.side-card.dark p { color: rgba(255, 255, 255, 0.75); }
.side-card.dark a { color: var(--gold); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- reveals */

[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal='fade'] { transform: none; }
[data-reveal='left'] { transform: translateX(-40px); }
[data-reveal='right'] { transform: translateX(40px); }
[data-reveal='zoom'] { transform: scale(0.94); }
[data-reveal].in { opacity: 1; transform: none; }

/* The hero headline rises line by line on load. */
.rise { display: block; clip-path: inset(-0.2em -100vw 0 -100vw); }
.rise > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { transform: none; } }
.fade-in { opacity: 0; animation: fadeIn 1.2s var(--ease) forwards; animation-delay: var(--d, 0.4s); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .rise > span, .fade-in { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .float { animation: none; }
  .statement .w { opacity: 1 !important; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
