/* Evergreen — Mobile Golf Simulator. Mobile-first, no build step. */

:root {
  --forest: #0F3D2E;
  --forest-deep: #0A2B20;
  --forest-ink: #071E17;
  --forest-raise: #14503C;
  --yellow: #FFD400;
  --cloud: #F7F5EF;
  --sage: #9DB5AA;
  --line: rgba(157, 181, 170, .22);
  --line-light: rgba(15, 61, 46, .16);
  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 14px;
  --gutter: 20px;
  --bar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--cloud);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }
section[id], aside[id] { scroll-margin-top: 16px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 11vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 6.5vw, 3rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.section-light :focus-visible { outline-color: var(--forest); }

.visually-hidden, .hp {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--forest-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--forest-ink); }
.btn-primary:hover { background: #FFE04D; }
.btn-ghost { border-color: rgba(247, 245, 239, .55); color: var(--cloud); background: transparent; }
.btn-ghost:hover { border-color: var(--cloud); background: rgba(247, 245, 239, .08); }
.btn-dark { background: var(--forest); color: var(--cloud); }
.btn-dark:hover { background: var(--forest-raise); }
.btn-outline-dark { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline-dark:hover { background: rgba(15, 61, 46, .08); }
.btn-small { padding: 10px 16px; font-size: .92rem; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.cta-row { display: flex; flex-direction: column; gap: 12px; }

/* Offer banner + header ------------------------------------------------ */
.offer-banner { background: var(--yellow); color: var(--forest-ink); font-size: .9rem; line-height: 1.4; text-align: center; }
.offer-banner p { padding: 10px var(--gutter); }
.offer-count {
  display: inline-block; margin-left: 4px; padding: 1px 10px; border-radius: 999px;
  background: var(--forest-ink); color: var(--yellow); font-weight: 600; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.site-header {
  position: absolute; z-index: 5; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1140px; margin: 0 auto; padding: 18px var(--gutter);
}
.wordmark { text-decoration: none; display: grid; gap: 2px; }
.wordmark-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: .22em; line-height: 1; }
.wordmark-strap { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 900px);
  display: flex; align-items: flex-end;
  padding: 120px 0 48px;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(20, 80, 60, .9) 0%, transparent 60%),
    linear-gradient(180deg, var(--forest-deep) 0%, var(--forest) 55%, var(--forest-ink) 100%);
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: -2; }
.shot { max-width: 460px; margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 30, 23, .5); overflow: hidden; }
.tracer { width: 100%; height: auto; aspect-ratio: 12 / 7; }

.hero-inner { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.badge {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px;
  border: 1.5px solid var(--yellow); border-radius: 999px;
  background: rgba(7, 30, 23, .6);
  font-family: var(--font-head); font-weight: 500; font-size: .86rem; color: var(--cloud);
  font-variant-numeric: tabular-nums;
}
.hl { color: var(--yellow); }
.hero-sub { max-width: 34em; margin: 20px 0 26px; font-size: 1.1rem; color: var(--cloud); }
.cta-note { margin-top: 14px; font-size: .88rem; color: var(--sage); }

.hud {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.hud div { padding: 12px 12px 10px; }
.hud div + div { border-left: 1px solid var(--line); }
.hud dt { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.hud dd { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hud small { margin-left: 4px; font-size: .72rem; font-weight: 500; color: var(--sage); }
.hud-caption { padding: 10px 12px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--sage); }

/* Sections -------------------------------------------------------------- */
.section { padding: 72px 0; }
.section-deep { background: var(--forest-deep); }
.section-light { background: var(--cloud); color: var(--forest); }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 500; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--yellow); }
.section-light .eyebrow { color: #3F6657; }
.section-light .eyebrow::before { background: var(--forest); }
.section-lead { max-width: 38em; margin-top: 16px; font-size: 1.05rem; color: var(--sage); }

/* How it works ----------------------------------------------------------- */
.steps { display: grid; gap: 16px; margin-top: 36px; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15, 61, 46, .55); }
.step-num { display: block; margin-bottom: 14px; font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.steps p { margin-top: 8px; color: var(--sage); }

/* Packages ---------------------------------------------------------------- */
.cards { display: grid; gap: 16px; margin-top: 36px; }
.card {
  display: flex; flex-direction: column;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--forest-deep);
}
.card-featured { border: 2px solid var(--yellow); background: var(--forest-ink); }
.card-flag {
  align-self: flex-start; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px;
  background: var(--yellow); color: var(--forest-ink);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; font-variant-numeric: tabular-nums;
}
.card h3 { font-size: 1.4rem; }
.card-meta { margin-top: 6px; font-size: .92rem; color: var(--sage); }
.price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 4px; font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.price-now { font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -.03em; }
.card-featured .price-now { color: var(--yellow); }
.price-was { font-weight: 500; font-size: 1.5rem; color: var(--sage); text-decoration-thickness: 2px; }
.card-terms { font-size: .84rem; color: var(--sage); }
.card-desc { margin: 12px 0 22px; color: var(--cloud); }
.card .btn { margin-top: auto; }
.packages-foot { margin-top: 24px; color: var(--sage); }
.packages-foot strong { color: var(--cloud); }
.packages-foot a { color: var(--cloud); text-underline-offset: 3px; }

/* Kit + venue ---------------------------------------------------------------- */
.kit-layout { display: grid; gap: 32px; margin-top: 36px; }
.kit-list { display: grid; gap: 0; }
.kit-list li { padding: 18px 0; border-top: 1px solid var(--line-light); }
.kit-list li:last-child { border-bottom: 1px solid var(--line-light); }
.kit-list p { margin-top: 4px; color: #2F5546; }
.kit-side { display: grid; gap: 20px; align-content: start; }

.venue { padding: 24px; border: 2px solid var(--forest); border-radius: var(--radius); background: #fff; }
.venue h3 { font-size: 1.4rem; }
.venue-specs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border-top: 1px solid var(--line-light); }
.venue-specs div { padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.venue-specs div:nth-child(odd) { padding-right: 12px; }
.venue-specs div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line-light); }
.venue-specs dt { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #3F6657; }
.venue-specs dd { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.venue-specs small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: #3F6657; }
.venue-note { margin: 16px 0 20px; font-size: .95rem; color: #2F5546; }

/* Who it's for ------------------------------------------------------------------ */
.tiles { display: grid; gap: 16px; margin-top: 36px; }
.tiles li {
  display: flex; flex-direction: column; padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--forest-raise) 0%, var(--forest-deep) 100%);
}
.tiles p { margin: 8px 0 18px; color: var(--sage); }
.tiles a { margin-top: auto; align-self: flex-start; padding: 6px 0; font-family: var(--font-head); font-weight: 700; color: var(--cloud); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tiles a:hover { color: var(--yellow); }

/* FAQ --------------------------------------------------------------------------- */
.faq { margin-top: 28px; border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--cloud); font-size: 1.2rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 44px 20px 0; color: #2F5546; }

/* Forms --------------------------------------------------------------------------- */
.form { display: grid; gap: 16px; margin-top: 32px; }
.field-pair { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
label { font-weight: 600; font-size: .92rem; }
.optional { font-weight: 400; color: var(--sage); }
input, select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid rgba(157, 181, 170, .5); border-radius: 10px;
  background: var(--forest-ink); color: var(--cloud);
  font: inherit; font-size: 1rem; /* 16px+ stops iOS zooming on focus */
}
textarea { resize: vertical; }
::placeholder { color: #7F9A8E; opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--yellow); }
.form-status { min-height: 1.5em; font-size: .95rem; color: var(--cloud); }
.form-status a { color: var(--yellow); }
.form-alt { margin-top: 8px; color: var(--sage); text-align: center; }
.form-alt a { color: var(--cloud); text-underline-offset: 3px; }

/* Footer ---------------------------------------------------------------------------- */
.site-footer { padding: 56px 0 calc(40px + var(--bar-h)); background: var(--forest-ink); font-size: .95rem; }
.footer-top { display: grid; gap: 32px; }
.footer-wordmark { font-size: 1.5rem; }
.footer-line { margin-top: 12px; max-width: 28em; color: var(--sage); }
.studio-form label { display: block; margin-bottom: 10px; font-family: var(--font-head); font-size: 1.05rem; }
.studio-row { display: grid; gap: 10px; }
.studio-form .form-status { margin-top: 8px; }
.footer-bottom { display: grid; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--sage); }
.socials { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.socials a { display: inline-block; padding: 6px 0; color: var(--cloud); text-underline-offset: 3px; }
.legal { font-size: .84rem; }

/* Sticky mobile bar -------------------------------------------------------------------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(7, 30, 23, .94); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: translateY(110%); visibility: hidden;
  transition: transform .25s ease, visibility .25s;
}
.sticky-bar.is-visible { transform: none; visibility: visible; }

/* Larger screens -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .field-pair { grid-template-columns: 1fr 1fr; }
  .cards, .tiles { grid-template-columns: 1fr 1fr; }
  .studio-row { grid-template-columns: 1fr auto; }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .section { padding: 104px 0; }
  .hero { align-items: center; padding: 140px 0 80px; }
  .hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
  .shot { margin-top: 0; max-width: none; }
  h1 { font-size: clamp(3.4rem, 5.6vw, 4.6rem); }
  .offer-banner { font-size: .95rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card { padding: 22px; }
  .price-now { font-size: 2.7rem; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .kit-layout { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer { padding-bottom: 40px; }
  /* Desktop: the booking bar becomes a floating button */
  .sticky-bar { left: auto; right: 24px; bottom: 24px; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sticky-bar .btn { box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .7); }
}

/* ==========================================================================
   Motion + imagery
   ========================================================================== */

/* Hero backdrop: dimple grid + closest-the-pin target rings */
.hero::before, .hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; }
.hero::before {
  inset: 0;
  background-image: radial-gradient(rgba(157, 181, 170, .22) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(90% 70% at 80% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(90% 70% at 80% 20%, #000 0%, transparent 70%);
}
.hero::after {
  width: 620px; height: 620px; right: -240px; top: -200px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 44px, rgba(255, 212, 0, .16) 44px 46px);
  animation: rings 9s ease-in-out infinite alternate;
}
@keyframes rings { from { transform: scale(.92) rotate(0deg); opacity: .6; } to { transform: scale(1.08); opacity: 1; } }

/* Headline lines rise in */
h1 .line { display: block; animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
h1 .line:nth-child(2) { animation-delay: .12s; }
h1 .line:nth-child(3) { animation-delay: .24s; }
.hero .badge, .hero-sub, .hero .cta-row, .cta-note, .shot { animation: rise .8s cubic-bezier(.2, .8, .2, 1) .4s both; }
.hero .badge { animation-delay: 0s; }
.shot { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* Buttons */
.btn-primary { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(255, 212, 0, .55); }
.hero .btn-primary { animation: rise .8s cubic-bezier(.2, .8, .2, 1) .4s both, nudge 5s ease-in-out 3s infinite; }
@keyframes nudge { 0%, 88%, 100% { scale: 1; } 92% { scale: 1.04; } 96% { scale: .99; } }

/* Hero shot demo */
.shot-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: .8rem; }
.live { display: inline-flex; white-space: nowrap; align-items: center; gap: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.shot-who { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.chip { padding: 2px 10px; border-radius: 999px; background: var(--yellow); color: var(--forest-ink); font-size: .72rem; font-weight: 700; white-space: nowrap; animation: pop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

.tracer { aspect-ratio: 1200 / 560; }
.tracer-grid line { stroke: var(--sage); stroke-opacity: .3; stroke-width: 2; }
.tracer-grid text { fill: var(--sage); font-family: var(--font-body); font-size: 30px; text-anchor: middle; opacity: .8; }
.tracer-arc, .tracer-ghost { fill: none; stroke: var(--yellow); stroke-width: 6; stroke-linecap: round; }
.tracer-ghost { stroke: var(--sage); stroke-width: 3; opacity: .35; }
.tracer-ball { fill: var(--yellow); filter: drop-shadow(0 0 10px rgba(255, 212, 0, .8)); }
.tracer-ring { fill: none; stroke: var(--yellow); stroke-width: 4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.tracer-ring.go { animation: ring .9s ease-out; }
@keyframes ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.board { display: grid; padding: 6px 12px; border-top: 1px solid var(--line); }
.board li { display: grid; grid-template-columns: 20px 62px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; font-size: .86rem; border-radius: 6px; }
.board-rank { font-family: var(--font-head); font-weight: 700; color: var(--sage); text-align: center; }
.board-name { font-weight: 600; }
.board-bar { height: 6px; border-radius: 3px; background: rgba(157, 181, 170, .18); overflow: hidden; }
.board-bar i { display: block; height: 100%; border-radius: 3px; background: var(--sage); transition: width .7s cubic-bezier(.2, .8, .2, 1), background-color .3s; }
.board-yd { color: var(--sage); font-variant-numeric: tabular-nums; }
.board-yd b { font-family: var(--font-head); color: var(--cloud); }
.board .is-leader .board-rank, .board .is-leader .board-name { color: var(--yellow); }
.board .is-leader .board-bar i { background: var(--yellow); }
.board .flash { animation: flash 1.1s ease-out; }
@keyframes flash { from { background: rgba(255, 212, 0, .28); } to { background: transparent; } }

/* Photos (placeholders until real event photos are swapped in) */
.hero-photo {
  opacity: .34; object-position: 50% 60%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.16) translateX(-2%); } }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 1; background: var(--forest-ink); }
.gallery .gallery-main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s cubic-bezier(.2, .8, .2, 1); }
.gallery figure:hover img { scale: 1.06; }
.gallery-note { margin-top: 10px; font-size: .8rem; color: var(--sage); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: 460px; gap: 16px; }
  .gallery figure, .gallery .gallery-main { aspect-ratio: auto; }
  .gallery .gallery-main { grid-column: 1; grid-row: 1 / 3; }
  .hero-photo {
    -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 75%);
    mask-image: linear-gradient(90deg, transparent 5%, #000 75%);
  }
}

/* Ticker */
.ticker { overflow: hidden; background: var(--yellow); color: var(--forest-ink); border-block: 2px solid var(--forest-ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker span { display: flex; align-items: center; flex: none; }
.ticker b { padding: 12px 0; font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker i { width: 12px; height: 12px; margin: 0 22px; border-radius: 50%; background: var(--forest-ink); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Scroll reveal (class added by script.js, so no-JS shows everything) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Cards, steps, tiles: lift on hover */
.steps li, .card, .tiles li { transition: translate .25s ease, border-color .25s ease, box-shadow .25s ease; }
.steps li:hover, .card:hover, .tiles li:hover { translate: 0 -6px; border-color: var(--yellow); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8); }
.step-num { transition: scale .25s ease; transform-origin: left center; }
.steps li:hover .step-num { scale: 1.15; }

.offer-balls { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.offer-balls i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sage); opacity: .5; }
.offer-balls i.on { border-color: var(--yellow); background: radial-gradient(circle at 35% 30%, #FFF3A6, var(--yellow) 60%); opacity: 1; animation: bob 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .12s); }
@keyframes bob { 0%, 70%, 100% { translate: 0 0; } 82% { translate: 0 -5px; } }

.tile-icon { width: 48px; height: 48px; margin-bottom: 16px; fill: none; stroke: var(--yellow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 80%; }
.tiles li:hover .tile-icon { animation: wiggle .6s ease-in-out; }
@keyframes wiggle { 25% { rotate: -10deg; } 60% { rotate: 8deg; } }

/* Simulator illustration */
.kit-art { margin: 0; }
.kit-art .sim, .kit-side .photo { width: 100%; height: auto; border-radius: var(--radius); }
.kit-art figcaption { margin-top: 8px; font-size: .8rem; color: #3F6657; }
.sim-ball, .sim-ripple, .sim-flag { transform-box: fill-box; transform-origin: center; }
.sim-ball { animation: sim-ball 4.2s ease-in infinite; }
.sim-ripple { opacity: 0; animation: sim-ripple 4.2s ease-out infinite; }
.sim-trace { stroke-dasharray: 1; animation: sim-trace 4.2s ease-out infinite; }
.sim-flag { transform-origin: left center; animation: sim-flag 1.6s ease-in-out infinite alternate; }
.sim-led { animation: blink 1s steps(2) infinite; }
.sim-lights circle { animation: twinkle 1.8s ease-in-out infinite alternate; }
.sim-lights circle:nth-child(even) { animation-delay: .9s; }
@keyframes sim-ball {
  0%, 12% { transform: none; opacity: 1; }
  20% { transform: translateY(-132px) scale(.4); opacity: 1; }
  21%, 86% { transform: translateY(-132px) scale(.4); opacity: 0; }
  87% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes sim-ripple { 0%, 19% { transform: scale(.2); opacity: 0; } 21% { opacity: .9; } 36%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes sim-trace { 0%, 20% { stroke-dashoffset: 1; opacity: 1; } 50%, 80% { stroke-dashoffset: 0; opacity: 1; } 90%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes sim-flag { from { transform: skewY(-8deg) scaleX(1); } to { transform: skewY(8deg) scaleX(.86); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }

/* FAQ open animation */
.faq details[open] p { animation: rise .35s ease both; }
.faq summary::after { transition: rotate .25s ease, background-color .2s; }
.faq details[open] summary::after { rotate: 180deg; background: var(--yellow); color: var(--forest-ink); }

/* ==========================================================================
   Conversion + SEO additions
   ========================================================================== */
.h1-kicker { display: block; margin-bottom: 14px; font-family: var(--font-head); font-weight: 500; font-size: .78rem; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
h1 .line:nth-child(2) { animation-delay: 0s; }
h1 .line:nth-child(3) { animation-delay: .12s; }
h1 .line:nth-child(4) { animation-delay: .24s; }

.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .9rem; font-weight: 500; animation: rise .8s cubic-bezier(.2, .8, .2, 1) .5s both; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust li::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.5 2.5 5-5.3' fill='none' stroke='%23071E17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.hero-season { margin-top: 12px; font-size: .88rem; color: var(--sage); }

.card-perhead { margin-top: 8px; font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--cloud); }
.card-split { margin-top: 10px; font-size: .82rem; text-align: center; color: var(--sage); font-variant-numeric: tabular-nums; }
.card .btn { margin-top: auto; padding-inline: 12px; }

.next-steps { display: grid; gap: 12px; margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); counter-reset: next; color: var(--sage); font-size: .95rem; }
.next-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; counter-increment: next; }
.next-steps li::before { content: counter(next); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--forest-ink); font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.next-steps strong { color: var(--cloud); }

.cta-band { display: grid; gap: 20px; margin-top: 32px; padding: 24px; border: 2px solid var(--yellow); border-radius: var(--radius); background: var(--forest-ink); }
.cta-band h3 { font-size: 1.5rem; }
.cta-band p { margin-top: 6px; color: var(--sage); }

.areas { margin-top: 14px; font-size: .92rem; color: var(--sage); }
.areas strong { color: var(--cloud); }

.form-step { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step legend { margin-bottom: 14px; padding: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.form-progress { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--yellow); color: var(--forest-ink); font-size: .74rem; vertical-align: middle; }
.form.is-stepped .form-step:not(.is-current) { display: none; }
.form.is-stepped .form-step.is-current { animation: rise .35s ease both; }
.form-back { justify-self: center; padding: 8px 12px; border: 0; background: none; color: var(--sage); font: inherit; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.form-back:hover { color: var(--cloud); }
.form-reassure { font-size: .88rem; text-align: center; color: var(--sage); }

@media (min-width: 900px) {
  .next-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px; }
  .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .btn, .sticky-bar { transition: none; }
}
