/* Hallmark · shape: Product Theatre (kept order, new compositions) · genre: atmospheric · theme: brand · redesign: full · job: try
 * paper: oklch(14% 0.012 135) · accent: oklch(88% 0.21 128) · display: Unbounded (wide, echoes the BACK NINE wordmark) · body: Barlow · hero: Poster (photo + mark) · nav: floating pill · footer: statement · signature: the Back Nine mark over the bay at night, a band of light crossing it
 * axes: dark/condensed caps/lime · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V4 · weakest: P, the page argued nothing; it now leads with the one thing only this club does, a bay that opens with your phone */
/* Hallmark · reworded "Golf sin horario. Rendimiento sin excusas." to "Golf sin horario." · 38i and 58 name the accented word and the length */
/* Hallmark · reworded "Reserva. Escanea. Juega. Mejora." to "Tu hora en cuatro pasos" · 38i names the italic word */
/* Hallmark · reworded "Tu bahía. Tu hora." to "Tu bahía, tu hora" · 38i names the italic word */
/* Hallmark · reworded "Lecciones que se miden." to "Lecciones que se miden" · 38i names the italic word */
/* Hallmark · reworded "Todo desde tu teléfono." to "Todo desde tu teléfono" · 38i names the italic word */
/* Hallmark · reworded "Tu próxima hora te espera." to "Todo desde tu teléfono" · 69 names the echo of the close */
/* Hallmark · dropped thumb.jpg · the events band is a statement, the club has no event photos yet */
/* Hallmark · reworded "Golf on your schedule. Performance, no excuses." to "Golf on your schedule." · 38i and 58 name the accented word and the length */
/* Hallmark · reworded "Book. Scan. Play. Improve." to "Your hour in four steps" · 38i names the italic word */
/* Hallmark · reworded "Your bay. Your hour." to "Your bay, your hour" · 38i names the italic word */
/* Hallmark · reworded "Lessons you can measure." to "Lessons you can measure" · 38i names the italic word */
/* Hallmark · reworded "Everything from your phone." to "Everything from your phone" · 38i names the italic word */
/* Hallmark · reworded "Tournaments, leagues and nights with friends." to "Tournaments, leagues and nights with friends. Coming soon." · the statement carries the events line */
/* Hallmark · dropped "Your next hour is waiting." · 69 names the echo of the close, the download band is the close */
/* Hallmark · dropped c1, c2, c3, mark, tr, trGlow, tracer · the flat range frame and its readout became the 3D scene in the hero canvas */
/* Hallmark · dropped ball, gl, hint, skip · the visitor no longer hits the ball, it tees off by itself in the intro at Louis's request */
/* Hallmark · dismissed render · the font preload uses crossorigin, which a file:// capture refuses; the @font-face itself loads and the shots show Unbounded */
/* Hallmark · waive 59 · the ticker band sits flush under the hero and over the steps · a broadcast crawl reads as one strip with the hero, like the lower third of a TV golf shot */
/* Hallmark · waive 81 · .lux__shine is a band of light masked to the logo shape, laid over the real mark image, not an empty picture · the light sweep is how the logo replaces the intro Louis removed */
@import url("./tokens.css");
@import url("./base.css");
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- page canvas ---------- */
body { background:
  radial-gradient(circle at 12% 8%, var(--color-bloom), transparent 28%),
  radial-gradient(circle at 88% 70%, var(--color-bloom), transparent 26%),
  var(--color-paper); background-attachment: fixed; }
h1, .display { text-transform: uppercase; line-height: 1; }
h2 { text-transform: uppercase; line-height: 1; }
.lead { color: var(--color-ink-2); }
.small { font-size: var(--text-sm); color: var(--color-muted); }
.section { padding-block: var(--section-gap); }
.section--s { padding-block: var(--section-gap-s); }
.section--band { background: var(--color-paper-2); color: var(--color-ink); padding-block: var(--section-gap-s); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- controls, eight states ---------- */
.btn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); border-color: var(--color-muted); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.store { min-height: 52px; }
.store span { display: grid; text-align: left; line-height: 1.1; }
.store small { font-weight: 400; font-size: var(--text-xs); }
.stores { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-muted); }
.link:hover { text-decoration-color: var(--color-accent); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- nav: floating pill ---------- */
.nav { position: fixed; inset: var(--space-md) 0 auto; z-index: var(--z-sticky-nav); }
.nav__bar { display: flex; align-items: center; gap: var(--space-lg); min-height: 64px; padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: color-mix(in oklch, var(--color-paper) 72%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__logo img { height: 30px; width: auto; }
.nav__logo:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav ul { display: flex; gap: var(--space-lg); margin: 0 auto; padding: 0; list-style: none; font-size: var(--text-sm); }
.nav ul a { text-decoration: none; color: var(--color-ink-2); }
.nav ul a:hover { color: var(--color-ink); }
.nav ul a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.lang { display: flex; padding: var(--space-3xs); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); }
.lang button { min-width: 44px; min-height: 40px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 700; cursor: pointer; }
.lang button:hover { color: var(--color-ink); }
.lang button:active { transform: translateY(1px); }
.lang button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.lang button[aria-pressed="true"] { background: var(--color-paper-3); color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-muted); }
@media (max-width: 60rem) { .nav ul, .nav .btn { display: none; } .nav__bar { justify-content: space-between; } }

/* ---------- hero: Poster, the mark over the bay at night ---------- */
.lux { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: clip; background: var(--color-matte); isolation: isolate; }
.lux__bg { position: absolute; inset: 0; z-index: 0; }
.lux__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.32) saturate(0.75); animation: lux-drift 26s var(--ease-in-out) infinite alternate; }
@keyframes lux-drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-2%); } }
.lux::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to right, var(--color-scrim) 0%, var(--color-scrim-side) 42%, transparent 75%), linear-gradient(to top, var(--color-matte) 0%, transparent 35%); }
.lux__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; padding-block: var(--space-4xl) var(--space-3xl); }
.lux h1 { font-size: clamp(2.5rem, 5.6vw, 5.75rem); max-width: 11ch; letter-spacing: -0.03em; }
.lux .lead { margin-top: var(--space-lg); max-width: 34ch; }
.lux .stores { margin-top: var(--space-xl); }
.lux__mark { position: relative; justify-self: center; width: clamp(220px, 28vw, 420px); }
.lux__mark img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px var(--color-shadow)); }
/* the light sweep: a band of light crosses the logo, clipped to its shape */
.lux__shine { position: absolute; inset: 0; -webkit-mask: url("img/mark.png") center / contain no-repeat; mask: url("img/mark.png") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 35%, var(--color-shine) 50%, transparent 65%) no-repeat; background-size: 250% 100%; background-position: 130% 0; mix-blend-mode: screen; animation: lux-shine 7s var(--ease-in-out) 0.6s infinite; }
@keyframes lux-shine { 0% { background-position: 130% 0; } 28%, 100% { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) { .lux__bg img, .lux__shine { animation: none; } }
@media (max-width: 60rem) {
  .lux { align-items: end; }
  .lux__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-block: var(--space-4xl) var(--space-3xl); }
  .lux__mark { order: -1; width: min(48vw, 240px); }
  .lux h1 { font-size: clamp(2.25rem, 10.5vw, 3.25rem); }
  .lux::after { background: linear-gradient(to top, var(--color-scrim) 0%, var(--color-scrim-side) 55%, transparent 100%); }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--color-rule); }
.steps li { counter-increment: step; padding-top: var(--space-xl); display: grid; gap: var(--space-sm); align-content: start; }
.steps li::before { content: counter(step); font: 700 clamp(4rem, 7vw, 6.5rem)/0.9 var(--font-display); color: var(--color-paper-3); -webkit-text-stroke: 1px var(--color-muted); }
.steps p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); } }

/* ---------- the bay: a 21:9 frame ---------- */
.wide { aspect-ratio: 21 / 9; min-height: 560px; border-radius: var(--radius-card); outline: 1px solid var(--color-rule); outline-offset: -1px; }
.wide > img { object-position: 60% 60%; }
@media (max-width: 60rem) { .wide { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- membership: offer in rows ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.figure-big { margin-top: var(--space-xl); display: flex; align-items: baseline; gap: var(--space-md); }
.figure-big b { font: 700 clamp(6rem, 12vw, 11rem)/0.85 var(--font-display); color: var(--color-accent); }
.figure-big span { font-size: var(--text-lead); color: var(--color-ink-2); }
.rows { margin: 0; border-top: 1px solid var(--color-rule); }
.rows div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.rows dt { font: 700 var(--text-title)/1.2 var(--font-display); text-transform: uppercase; }
.rows dd { margin: 0; color: var(--color-ink-2); align-self: center; }
.offer__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
@media (max-width: 60rem) { .offer, .rows div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); } .offer { gap: var(--space-xl); } }

/* ---------- lessons: split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.split__pic { aspect-ratio: 4 / 3.4; min-height: 480px; border-radius: var(--radius-card); outline: 1px solid var(--color-rule); outline-offset: -1px; }
.facts { margin: var(--space-xl) 0 0; display: grid; gap: var(--space-md); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--color-ink-2); }
.split .btn { margin-top: var(--space-xl); }
@media (max-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .split__pic { min-height: 0; } }

/* ---------- statement ---------- */
.statement { font: 700 var(--text-display)/1 var(--font-display); text-transform: uppercase; max-width: 24ch; overflow-wrap: break-word; min-width: 0; }
.statement + p { margin-top: var(--space-lg); }

/* ---------- download: the close ---------- */
.download { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.download .stores { margin-top: var(--space-xl); }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); align-items: end; }
.screens [data-slot] { aspect-ratio: 780 / 1688; border-radius: 22px; outline: 1px solid var(--color-rule); outline-offset: -1px; }
.screens [data-slot]:nth-child(2) { transform: translateY(calc(-1 * var(--space-xl))); }
@media (max-width: 60rem) { .download { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .screens [data-slot] { border-radius: 14px; } .screens [data-slot]:nth-child(2) { transform: none; } }

/* ---------- footer: statement ---------- */
.foot { padding-block: var(--space-3xl) var(--space-2xl); border-top: 1px solid var(--color-rule); }
.foot__logo img { width: min(420px, 70%); height: auto; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-2xl); }
.foot ul { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.foot ul a { text-decoration: none; color: var(--color-ink-2); white-space: nowrap; }
.foot ul a:hover { color: var(--color-ink); }
.foot ul a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- motion layer, after the reference galleries Louis sent (Godly, Land-book, MotionSites, 60fps) ---------- */
/* the ticker: the four verbs run under the hero like a broadcast crawl */
.ticker { position: relative; overflow: clip; border-block: 1px solid var(--color-rule); padding-block: var(--space-lg); background: var(--color-paper); }
.ticker__track { display: flex; width: max-content; gap: var(--space-xl); animation: ticker 34s linear infinite; }
.ticker.paused .ticker__track, .ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__track span { font: 800 clamp(2.25rem, 6vw, 5rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: -0.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--color-muted); }
.ticker__track span:nth-child(4n+1) { color: var(--color-accent); -webkit-text-stroke: 0; }
.ticker__track i { align-self: center; width: 14px; height: 14px; border-radius: 50%; background: var(--color-accent); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__pause { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 1; min-height: 44px; min-width: 44px; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink-2); font-size: var(--text-sm); padding: 0 var(--space-md); cursor: pointer; }
.ticker__pause:hover { color: var(--color-ink); border-color: var(--color-muted); }
.ticker__pause:active { transform: translateY(-50%) translateY(1px); }
.ticker__pause:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.ticker__pause:disabled { opacity: 0.55; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .ticker__pause { display: none; } }
/* reveal on scroll: visible by default, the script only holds back what is still below the fold */
.js .reveal.below { opacity: 0; transform: translateY(28px); }
.js .reveal { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .js .reveal.below { opacity: 1; transform: none; } }
/* the bay: a slow push-in as it scrolls into view */
#simuladores figure { overflow: clip; border-radius: var(--radius-card); }
@supports (animation-timeline: view()) {
  #simuladores figure img { animation: push-in linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  @keyframes push-in { from { transform: scale(1.22); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) { #simuladores figure img { animation: none; } }
/* the app: a phone that stays while the story scrolls past it */
.app { padding-block: var(--section-gap); border-top: 1px solid var(--color-rule); }
.app__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: start; }
.app__phone { position: sticky; top: 12svh; display: grid; place-items: center; }
.phone { position: relative; width: min(330px, 100%); aspect-ratio: 780 / 1688; border-radius: 44px; padding: var(--space-xs); background: var(--color-matte); box-shadow: 0 0 0 1px var(--color-rule), 0 40px 80px var(--color-shadow); }
.phone img { position: absolute; inset: var(--space-xs); width: calc(100% - 2 * var(--space-xs)); height: calc(100% - 2 * var(--space-xs)); object-fit: cover; border-radius: 36px; transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out); }
.js .phone img { opacity: 0; transform: scale(1.03); }
.js .phone img.on { opacity: 1; transform: none; }
.app__steps h2 { margin-bottom: var(--space-2xl); }
.app__step { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--color-rule); padding-block: var(--space-xl); }
.app__step b { font: 800 var(--text-sm)/1 var(--font-display); color: var(--color-accent); }
.app__step h3 { font-size: var(--text-display-s); text-transform: uppercase; margin-top: var(--space-sm); transition: color var(--dur-long) var(--ease-out); }
.js .app__step:not(.on) h3 { color: var(--color-muted); }
.app__step p { margin: var(--space-md) 0 0; max-width: 38ch; color: var(--color-ink-2); font-size: var(--text-lead); }
.app__step img { display: none; }
.app__get { padding-top: var(--space-2xl); border-top: 1px solid var(--color-rule); }
@media (max-width: 60rem) {
  .app__grid { grid-template-columns: minmax(0, 1fr); }
  .app__phone { display: none; }
  .app__step { min-height: 0; }
  .app__step img { display: block; width: min(260px, 70%); height: auto; margin-top: var(--space-lg); border-radius: 28px; box-shadow: 0 0 0 1px var(--color-rule); }
}
@media (max-width: 40rem) { .statement { font-size: clamp(1.5rem, 6.6vw, 2.25rem); overflow-wrap: normal; } h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); } }
