/* ctrl studio's golf showroom: a made-up club's site (Pīngao Links: ivory, pine and brass, Cormorant
   Garamond and Geist) under ctrl studio's own bar, tags and pitch (dark, signal orange, Geist Mono). */
:root {
  --paper: #f4efe4; --paper-2: #ebe4d3; --ink: #17261d; --pine: #17261d; --moss: #2c4536; --dune: #e7ddc7;
  --fairway: #b5cf7a; --fairway-deep: #3d6a3a; --brass: #b0884a; --brass-lt: #e8d3a2;
  --font-head: "Cormorant Garamond", Georgia, serif; --head-weight: 600; --font-body: "Geist", system-ui, sans-serif;
  --c-bg: #0f0f0e; --c-ink: #f1efe9; --c-muted: #8f8b82; --c-line: rgba(241, 239, 233, .14); --c-accent: #ff5a1f;
  --mono: "Geist Mono", ui-monospace, monospace;
  --bar: 46px; --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.15, 1, .35, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 72px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: -0.01em; }
h2 { font-size: clamp(44px, 6.4vw, 92px); line-height: .95; margin: 0; }
h2 em, h1 em { font-style: italic; font-weight: 500; }
.eyebrow { margin: 0 0 18px; font: 600 12px/1.4 var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.vh, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
kbd { font: 500 11px/1 var(--mono); padding: 4px 6px 5px; border-radius: 6px; border: 1px solid currentColor; border-bottom-width: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75rem 1.4rem; border: 0; border-radius: 99px;
  font: 600 15px/1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: translate .2s var(--ease), background .2s, color .2s; }
.btn:active { translate: 0 2px; }
.btn-solid { background: var(--pine); color: #fff; }
.btn-solid:hover { background: var(--moss); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: #9a7438; }
.btn-ghost { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgb(255 255 255 / .22); }
.btn-light { background: var(--paper); color: var(--pine); }
.btn-light:hover { background: #fff; }
.tee-dot { display: inline-block; width: .8rem; height: .8rem; margin-right: .4rem; border-radius: 50%; border: 1.5px solid rgb(0 0 0 / .28); vertical-align: -.08em; }
.tee-white { background: #fff; } .tee-blue { background: #2f62b5; } .tee-red { background: #c9372c; }

/* ---------- ctrl studio's bar, tags, drawer and toast ---------- */
.sr-bar { position: fixed; inset: 0 0 auto 0; z-index: 70; height: calc(var(--bar) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--c-bg); color: var(--c-ink); font: 500 13px/1 var(--mono); }
.sr-home { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 15px/1 var(--font-body); letter-spacing: -0.02em; }
.sr-home kbd { border-color: var(--c-accent); color: var(--c-accent); }
.sr-arrow { color: var(--c-muted); transition: translate .2s var(--ease); }
.sr-home:hover .sr-arrow { translate: -3px 0; color: var(--c-ink); }
.sr-title { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; white-space: nowrap; }
.sr-sub { color: var(--c-muted); }
.sr-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--c-accent); vertical-align: 1px; animation: sr-pulse 2.4s var(--ease) infinite; }
@keyframes sr-pulse { 0% { box-shadow: 0 0 0 0 rgb(255 90 31 / .6); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.sr-tools { display: flex; gap: 8px; }
.sr-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--c-line); border-bottom-width: 3px;
  background: rgb(255 255 255 / .04); color: var(--c-ink); font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: translate 90ms, border-bottom-width 90ms, background .2s; }
.sr-btn:hover { background: rgb(255 255 255 / .09); }
.sr-btn:active { translate: 0 2px; border-bottom-width: 1px; }
.sr-count { color: var(--c-accent); font-weight: 500; }
.sr-switch { position: relative; width: 22px; height: 12px; border-radius: 99px; background: var(--c-accent); transition: background .2s; }
.sr-switch::after { content: ""; position: absolute; top: 2px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-bg); transition: left .2s var(--ease); }
.sr-tags[aria-pressed="false"] .sr-switch { background: #4a4843; }
.sr-tags[aria-pressed="false"] .sr-switch::after { left: 2px; }
@media (max-width: 720px) { .sr-sub, .sr-word { display: none; } .sr-title { font-size: 11px; } .sr-btn { padding: 0 9px; } .sr-btn-label { display: none; } }
@media (max-width: 380px) { .sr-title { display: none; } }

/* A feature tag: ctrl studio's dark key on the club's page, what it is, and which package it's in */
.ft { position: relative; z-index: 5; display: block; margin: 0 0 22px; width: max-content; max-width: 100%; font: 500 12px/1.3 var(--mono); }
.ft-pill { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 6px 12px 6px 6px; border-radius: 11px; border: 1px solid var(--c-line); border-bottom-width: 3px;
  background: rgb(15 15 14 / .92); color: var(--c-ink); font: inherit; letter-spacing: .02em; text-align: left; cursor: pointer;
  box-shadow: 0 8px 24px rgb(0 0 0 / .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: translate 90ms, border-bottom-width 90ms; }
.ft-pill:active { translate: 0 2px; border-bottom-width: 1px; }
.ft-pill kbd { flex: none; padding: 4px 5px 5px; border-color: var(--c-accent); color: var(--c-accent); font-size: 10px; }
.ft-n { color: var(--c-muted); }
.ft-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft-pkg { flex: none; padding-left: 9px; border-left: 1px solid var(--c-line); color: var(--c-accent); white-space: nowrap; }
.ft-what { position: absolute; left: 0; top: calc(100% + 6px); width: min(340px, 86vw); margin: 0; padding: 12px 14px; border-radius: 11px; background: var(--c-bg); color: var(--c-ink);
  font: 400 14px/1.45 var(--font-body); box-shadow: 0 14px 34px rgb(0 0 0 / .28); opacity: 0; translate: 0 -4px; pointer-events: none; transition: opacity .2s, translate .2s var(--ease); }
.ft.open .ft-what { opacity: 1; translate: 0 0; pointer-events: auto; }
@media (hover: hover) { .ft:hover .ft-what { opacity: 1; translate: 0 0; } }
.ft.ping .ft-pill { animation: ft-ping 1.2s var(--ease) 2; }
@keyframes ft-ping { 0% { box-shadow: 0 0 0 0 rgb(255 90 31 / .7); } 100% { box-shadow: 0 0 0 16px transparent; } }
html.tags-off .ft { display: none; }
@media (max-width: 560px) { .ft-pkg { display: none; } .ft-what { width: calc(100vw - 32px); } }

.sr-drawer { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--c-bg); color: var(--c-ink);
  padding: calc(18px + env(safe-area-inset-top)) 22px calc(18px + env(safe-area-inset-bottom)); box-shadow: -20px 0 60px rgb(0 0 0 / .35);
  translate: 100% 0; transition: translate .45s var(--ease); }
.sr-drawer.on { translate: 0 0; }
.sr-drawer[hidden] { display: flex; visibility: hidden; }
.srd-head { position: relative; padding-bottom: 16px; border-bottom: 1px solid var(--c-line); }
.srd-eyebrow { margin: 0 0 8px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); }
.srd-head h2 { margin: 0; font: 600 28px/1.05 var(--font-body); letter-spacing: -0.04em; }
.srd-close { position: absolute; top: -4px; right: -6px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--c-ink); font-size: 26px; cursor: pointer; }
.srd-close:hover { background: rgb(255 255 255 / .08); }
.srd-list { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 8px 0; }
.srd-list a { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; padding: 12px 8px; border-radius: 12px; text-decoration: none; }
.srd-list a:hover { background: rgb(255 255 255 / .05); }
.srd-list .n { grid-row: span 3; font: 500 12px/1.6 var(--mono); color: var(--c-muted); }
.srd-list .t { font: 600 16px/1.3 var(--font-body); letter-spacing: -0.01em; }
.srd-list .p { font: 500 11px/1.4 var(--mono); letter-spacing: .04em; color: var(--c-accent); text-transform: uppercase; }
.srd-list .w { font-size: 14px; line-height: 1.45; color: #b9b5ab; }
.srd-foot { padding-top: 14px; border-top: 1px solid var(--c-line); font-size: 14px; color: var(--c-muted); }
.srd-foot p { margin: 0 0 12px; }
.srd-cta { display: flex; justify-content: center; min-height: 48px; align-items: center; border-radius: 12px; background: var(--c-accent); color: var(--c-bg); font: 600 15px/1 var(--font-body); text-decoration: none; }
.sr-scrim { position: fixed; inset: 0; z-index: 85; background: rgb(0 0 0 / .4); opacity: 0; transition: opacity .3s; }
.sr-scrim.on { opacity: 1; }
.sr-toast { position: fixed; z-index: 95; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); translate: -50% 20px; max-width: calc(100% - 32px); padding: 12px 16px 12px 12px;
  display: flex; align-items: center; gap: 10px; border-radius: 14px; background: var(--c-bg); color: var(--c-ink); font: 400 14px/1.4 var(--font-body);
  box-shadow: 0 14px 40px rgb(0 0 0 / .35); opacity: 0; pointer-events: none; transition: opacity .25s, translate .35s var(--ease); }
.sr-toast.on { opacity: 1; translate: -50% 0; }
.sr-toast::before { content: "ctrl"; flex: none; font: 500 10px/1 var(--mono); padding: 4px 5px 5px; border-radius: 6px; border: 1px solid var(--c-accent); border-bottom-width: 3px; color: var(--c-accent); }

/* ---------- The crest opening ---------- */
.opening { display: none; }
.js .opening { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.op-half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--paper); transition: translate 1s cubic-bezier(.75, 0, .2, 1); }
.op-top { top: 0; } .op-bottom { bottom: 0; }
.op-crest { position: absolute; left: 50%; top: 50%; width: min(230px, 52vw); translate: -50% -50%; overflow: visible; color: var(--pine); transition: opacity .5s, scale 1s cubic-bezier(.75, 0, .2, 1); }
.op-crest .cr-ring, .op-crest .cr-pine, .op-crest .cr-sea { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.op-crest .cr-inner { stroke-width: 1; }
.op-crest .cr-small { stroke-width: 2.4; }
.op-crest .cr-text { font: 600 13px/1 var(--font-body); letter-spacing: .32em; fill: currentColor; opacity: 0; }
.op-crest .cr-small-text { font-size: 8px; letter-spacing: .3em; }
.opening.draw .cr-ring { transition: stroke-dashoffset 1.1s cubic-bezier(.65, 0, .35, 1); stroke-dashoffset: 0; }
.opening.draw .cr-inner { transition-delay: .15s; }
.opening.draw .cr-pine { transition: stroke-dashoffset 1s .35s cubic-bezier(.65, 0, .35, 1), fill .5s 1.15s; stroke-dashoffset: 0; fill: currentColor; }
.opening.draw .cr-small { transition-delay: .5s, 1.25s; }
.opening.draw .cr-sea { transition: stroke-dashoffset .8s .7s ease; stroke-dashoffset: 0; }
.opening.draw .cr-text { transition: opacity .6s 1s; opacity: 1; }
.opening.open .op-top { translate: 0 -101%; }
.opening.open .op-bottom { translate: 0 101%; }
.opening.open .op-crest { opacity: 0; scale: .8; }
.opening.gone { display: none; }

/* ---------- The club's header ---------- */
.club-top { position: fixed; z-index: 60; left: 0; right: 0; top: calc(var(--bar) + env(safe-area-inset-top)); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); color: #fff; transition: background .35s, color .35s, box-shadow .35s, padding .35s; }
.club-top.solid { background: rgb(244 239 228 / .94); color: var(--pine); box-shadow: 0 1px 0 rgb(0 0 0 / .08); padding-block: 9px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ct-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 24px/1 var(--font-head); letter-spacing: .01em; }
.ct-crest { width: 34px; height: 34px; }
.ct-nav { display: flex; gap: clamp(14px, 2vw, 30px); font: 500 14px/1 var(--font-body); }
.ct-nav a { text-decoration: none; opacity: .9; }
.ct-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.ct-book { padding: 11px 18px; border-radius: 99px; background: var(--brass); color: #fff; text-decoration: none; font: 600 14px/1 var(--font-body); white-space: nowrap; }
@media (max-width: 1020px) { .ct-nav { display: none; } }
@media (max-width: 420px) { .ct-brand span { font-size: 21px; } .ct-book { padding: 10px 14px; font-size: 13px; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--pine); color: #fff; display: flex; align-items: flex-end; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 18 13 / .55) 0%, rgb(10 18 13 / .12) 28%, rgb(10 18 13 / .3) 42%, rgb(10 18 13 / .82) 100%); }
.ft-hero { position: absolute; top: calc(var(--bar) + env(safe-area-inset-top) + 82px); left: var(--gutter); margin: 0; }
.hero-copy { position: relative; padding: 0 var(--gutter) clamp(40px, 9vh, 96px); max-width: 980px; }
.hero .eyebrow { color: var(--brass-lt); }
.hero h1 { margin: 0; font-size: clamp(60px, 10.5vw, 168px); line-height: .88; letter-spacing: -0.02em; text-shadow: 0 2px 40px rgb(0 0 0 / .25); }
.hero h1 em { color: var(--brass-lt); }
.hero-lede { max-width: 30em; margin: 24px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: rgb(255 255 255 / .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { opacity: 0; translate: 0 26px; transition: opacity 1s var(--ease), translate 1.2s var(--ease); }
  .js .hero-copy > :nth-child(2) { transition-delay: .1s; } .js .hero-copy > :nth-child(3) { transition-delay: .22s; } .js .hero-copy > :nth-child(4) { transition-delay: .32s; }
  .js.opened .hero-copy > * { opacity: 1; translate: 0 0; }
}

/* ---------- Today ---------- */
.today { position: relative; background: var(--pine); color: var(--paper); padding: 34px var(--gutter) 30px; border-top: 1px solid rgb(255 255 255 / .08); }
.td-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; }
.td-item { margin: 0; display: grid; gap: 4px; padding-left: 16px; border-left: 1px solid rgb(255 255 255 / .16); }
.td-k { font: 600 11px/1.3 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-lt); }
.td-item b { font: 600 clamp(26px, 2.6vw, 36px)/1.05 var(--font-head); }
.td-v { font-size: 14px; color: rgb(244 239 228 / .7); }
.td-status { position: relative; }
.td-live { position: absolute; left: -4.5px; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--fairway); animation: td-live 2s ease-in-out infinite; }
@keyframes td-live { 50% { box-shadow: 0 0 0 6px rgb(181 207 122 / 0); } 0% { box-shadow: 0 0 0 0 rgb(181 207 122 / .6); } }
.wx-arrow { display: inline-block; transition: rotate 1.2s var(--ease); font-family: var(--font-body); font-weight: 400; }
.td-note { margin: 18px 0 0; font-size: 12px; color: rgb(244 239 228 / .45); }
@media (max-width: 820px) { .td-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Lay of the Land ---------- */
.course { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); background: var(--pine); color: #fff; }
.cs-side { padding: clamp(60px, 10vh, 120px) var(--gutter) 60px; }
.cs-sticky { position: sticky; top: calc(var(--bar) + 90px); }
.course .eyebrow { color: var(--brass-lt); }
.course h2 { color: #fff; }
.course h2 em { color: var(--brass-lt); }
.cs-lede { max-width: 30em; margin: 22px 0 26px; color: rgb(255 255 255 / .82); font-size: 18px; }
.cs-holes { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; }
.cs-holes button { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 14px;
  border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .04); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, translate .2s var(--ease); }
.cs-holes button:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .3); translate: 4px 0; }
.csh-num { display: grid; place-items: center; height: 52px; border-radius: 10px; background: var(--paper); color: var(--pine); font: 600 30px/1 var(--font-head); }
.csh-name { font: 600 22px/1.1 var(--font-head); }
.csh-meta { display: block; margin-top: 3px; font-size: 13px; color: rgb(255 255 255 / .65); }
.csh-go { font-size: 13px; font-weight: 600; color: var(--brass-lt); white-space: nowrap; }
.cs-wind { display: flex; align-items: center; gap: 14px; max-width: 30em; margin-top: 8px; font-size: 14px; color: rgb(255 255 255 / .7); }
.cs-wind p { margin: 0; }
.cs-wind b { color: #fff; font-weight: 600; }
.csw-dial { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); }
.csw-dial::before { content: "N"; position: absolute; top: -9px; left: 50%; translate: -50% 0; padding: 0 3px; background: var(--pine); font: 600 10px/1 var(--font-body); color: var(--brass-lt); }
.wx-needle { position: absolute; inset: 7px 20px; border-radius: 3px; background: linear-gradient(var(--c-accent) 0 50%, rgb(255 255 255 / .55) 50%); transition: rotate 1.4s var(--ease); }
.cs-map { position: relative; }
.land-map { max-width: none; }
.land-wind { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.land-lines { z-index: 1; }
.land-pin { z-index: 3; width: 38px; height: 38px; font: 600 19px/1 var(--font-head); background: var(--paper); color: var(--pine); border-color: #fff; }
.land-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .8); animation: pin-ring 2.2s ease-out infinite; }
@keyframes pin-ring { from { opacity: .9; scale: .8; } to { opacity: 0; scale: 1.5; } }
.land-pin:hover, .land-pin:focus-visible { background: var(--brass); color: #fff; }
.ll-line { stroke: rgb(255 255 255 / .95); stroke-width: 2.5px; }
.ll-quiet { fill: none; stroke: rgb(255 255 255 / .38); stroke-width: 1.5px; stroke-dasharray: .5 6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.land-hint { top: calc(var(--bar) + 80px); }
.land-hint span { font-family: var(--font-body); }
.land-flag { z-index: 2; }
.lp-tip { font-family: var(--font-body); }
.lz-head h2 { font-size: 2.1rem; }
.lz-num { color: var(--brass); }
@media (max-width: 899px) {
  .course { grid-template-columns: 1fr; }
  .cs-side { padding-bottom: 28px; }
  .cs-sticky { position: static; }
  .cs-holes { grid-template-columns: 1fr 1fr; }
  .cs-holes button { grid-template-columns: 40px 1fr; gap: 10px; padding: 8px; }
  .csh-num { height: 40px; font-size: 24px; }
  .csh-name { font-size: 19px; }
  .csh-go { display: none; }
  .land-pin { width: 34px; height: 34px; font-size: 17px; }
}
@media (max-width: 380px) { .cs-holes { grid-template-columns: 1fr; } }

/* ---------- Then and now (then.js) ----------
   On a wide screen the course lies on its side (north to the left, the sea along the top), as on the feature map;
   on a phone it stands upright. The old photo shows left of the line (--f, 0 to 1), today's to the right. */
.then { background: var(--paper-2); padding: clamp(70px, 12vh, 140px) var(--gutter); }
.tn-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; margin-bottom: clamp(24px, 4vh, 40px); }
.tn-lede { max-width: 34em; margin: 20px 0 0; font-size: 18px; color: #3e4a42; }
.tn-years { display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: var(--paper); border: 1px solid rgb(23 38 29 / .12); }
.tn-years button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 99px; background: none; color: var(--ink); font: 600 15px/1 var(--font-body); cursor: pointer; transition: background .2s, color .2s; }
.tn-years button:hover { background: rgb(23 38 29 / .07); }
.tn-years button[aria-pressed="true"] { background: var(--pine); color: #fff; }
.tn-view { --f: .5; position: relative; aspect-ratio: 4874 / 2400; border-radius: 18px; overflow: hidden; background: var(--pine); cursor: ew-resize;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 30px 60px rgb(23 38 29 / .18); }
.tn-rot { position: absolute; left: 50%; top: 50%; width: 49.2408%; height: 203.0833%; transform: translate(-50%, -50%) rotate(-90deg); }
.tn-rot img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.tn-old { clip-path: inset(0 0 calc((1 - var(--f)) * 100%) 0); }
.tn-line { position: absolute; top: 0; bottom: 0; left: calc(var(--f) * 100%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px rgb(0 0 0 / .45); pointer-events: none; }
.tn-knob { position: absolute; top: 50%; left: calc(var(--f) * 100%); translate: -50% -50%; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--pine); box-shadow: 0 4px 18px rgb(0 0 0 / .35); cursor: ew-resize; transition: scale .2s var(--ease); }
.tn-knob i::before { content: "‹ ›"; font: 600 22px/1 var(--font-body); font-style: normal; letter-spacing: .12em; padding-left: .12em; }
.tn-view:hover .tn-knob, .tn-view.is-dragging .tn-knob { scale: 1.08; }
.tn-knob:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.tn-tag { position: absolute; top: 16px; padding: 8px 13px; border-radius: 99px; background: rgb(15 15 14 / .72); color: #fff; font: 600 12px/1 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; transition: opacity .25s; }
.tn-tag-a { left: 16px; } .tn-tag-b { right: 16px; }
.tn-tag.is-hid { opacity: 0; }
.tn-north { position: absolute; left: 16px; bottom: 14px; margin: 0; color: #fff; font: 600 11px/1 var(--mono); text-shadow: 0 1px 4px rgb(0 0 0 / .6); pointer-events: none; }
.tn-north span { display: inline-block; rotate: -90deg; }
.tn-credit { margin: 14px 0 0; font-size: 13px; color: #6b746d; }
@media (max-width: 760px) {
  .tn-head { grid-template-columns: 1fr; }
  .tn-years { justify-self: start; }
  .tn-view { aspect-ratio: 2400 / 4874; width: min(100%, calc(80vh * 2400 / 4874)); margin-inline: auto; }
  .tn-rot { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
  .tn-old { clip-path: inset(0 calc((1 - var(--f)) * 100%) 0 0); }
  .tn-north span { rotate: 0deg; }
}

/* ---------- Coaching (Swing Check) ---------- */
.coaching { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(80px, 14vh, 160px) var(--gutter); }
.co-copy p { max-width: 30em; font-size: 18px; color: #3e4a42; }
.co-copy h2 { margin-bottom: 24px; }
.co-copy .btn { margin-top: 10px; }
.co-small { font-size: 14px !important; color: #6b746d !important; }
.co-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(16px, 2.4vw, 32px); align-items: center; }
.co-phone { margin: 0; padding: 10px; border-radius: 34px; background: #111814; box-shadow: 0 30px 60px rgb(23 38 29 / .25); }
.co-screen { position: relative; aspect-ratio: 600 / 664; border-radius: 26px; overflow: hidden; background: #222; }
.co-video, .co-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.co-phase { position: absolute; left: 12px; top: 12px; padding: 7px 11px; border-radius: 99px; background: rgb(15 15 14 / .78); color: #fff; font: 600 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.co-report { display: grid; gap: 16px; }
.co-score { display: flex; align-items: center; gap: 14px; position: relative; }
.co-score svg { width: 84px; height: 84px; rotate: -90deg; flex: none; }
.co-score circle { fill: none; stroke: var(--dune); stroke-width: 9; }
.co-score .co-arc { stroke: var(--brass); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s var(--ease); }
.co-num { position: absolute; left: 0; width: 84px; text-align: center; font: 600 34px/1 var(--font-head); }
.co-score span { font: 600 15px/1.25 var(--font-body); }
.co-faults { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.co-faults li { border-radius: 14px; background: #fff; box-shadow: 0 1px 0 rgb(0 0 0 / .05); transition: box-shadow .3s, translate .3s var(--ease); }
.co-faults li.hit { box-shadow: 0 0 0 2px var(--brass); translate: -4px 0; }
.co-faults summary { list-style: none; cursor: pointer; padding: 12px 14px; font: 600 16px/1.25 var(--font-body); }
.co-faults summary::-webkit-details-marker { display: none; }
.co-faults small { display: block; margin-top: 4px; font-weight: 400; font-size: 13px; color: #6b746d; }
.co-faults p { margin: 0; padding: 0 14px 14px; font-size: 14px; line-height: 1.5; color: #3e4a42; }
.co-badge { display: inline-block; margin-right: 8px; padding: 3px 7px; border-radius: 6px; background: var(--brass); color: #fff; font: 600 10px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; }
.co-soft { background: var(--dune); color: var(--pine); }
@media (max-width: 1100px) { .coaching { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .co-demo { grid-template-columns: 1fr; } .co-phone { max-width: 360px; } }

/* ---------- 3D pro shop ---------- */
.shop { position: relative; padding: clamp(80px, 14vh, 150px) var(--gutter); background: #10170f; color: var(--paper); }
.shop .eyebrow { color: var(--brass-lt); }
.shop h2 em { color: var(--brass-lt); }
.sh-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; margin-bottom: 40px; }
.sh-copy .eyebrow { grid-column: 1 / -1; margin: 0; }
.sh-copy p { margin: 0; max-width: 30em; font-size: 18px; color: rgb(244 239 228 / .75); }
.sh-window { border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgb(0 0 0 / .45); border: 1px solid rgb(255 255 255 / .1); }
.sh-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #1b211a; font: 500 12px/1 var(--mono); color: rgb(244 239 228 / .55); }
.sh-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .16); }
.sh-bar span { margin-left: 8px; }
.sh-stage { position: relative; aspect-ratio: 16 / 9; }
.sh-poster, .sh-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.sh-go { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px 0 20px; border: 0; border-radius: 99px;
  background: var(--paper); color: var(--pine); font: 600 16px/1 var(--font-body); cursor: pointer; box-shadow: 0 10px 40px rgb(0 0 0 / .35); transition: scale .25s var(--ease); }
.sh-go:hover { scale: 1.05; }
.sh-play { width: 0; height: 0; border-left: 14px solid var(--brass); border-block: 9px solid transparent; }
.sh-stage.live .sh-go, .sh-stage.live .sh-poster { display: none; }
@media (max-width: 760px) { .sh-copy { grid-template-columns: 1fr; } .sh-stage { aspect-ratio: 4 / 5; } }

/* ---------- Play and join ---------- */
.play { position: relative; padding: clamp(80px, 14vh, 150px) var(--gutter); background: var(--paper-2); }
.pl-head { margin-bottom: 40px; }
.pl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); }
.pl-card { position: relative; border-radius: 22px; background: var(--paper); padding: clamp(22px, 2.6vw, 36px); }
.pl-card h3 { margin: 0 0 14px; font-size: 34px; line-height: 1; }
.pl-book { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pl-book .ft { position: absolute; top: 18px; left: 18px; }
.pl-book img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.pl-book-copy { padding: clamp(22px, 2.6vw, 36px); }
.pl-book-copy p { color: #3e4a42; margin: 0 0 20px; }
.fees { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.fees th, .fees td { padding: 11px 0; border-bottom: 1px solid rgb(0 0 0 / .08); text-align: right; }
.fees thead th { font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #6b746d; padding-top: 0; }
.fees tbody th { text-align: left; font-weight: 500; }
.fees td { font: 600 22px/1 var(--font-head); padding-left: 16px; }
.finder { margin-top: 26px; padding: 18px; border-radius: 16px; background: var(--paper-2); }
.finder label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-weight: 500; }
.finder label b { font: 600 20px/1.1 var(--font-head); color: var(--fairway-deep); }
.finder input { width: 100%; margin: 14px 0 6px; accent-color: var(--brass); }
.fd-out { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: #3e4a42; }
.fd-out b { color: var(--pine); }
@media (max-width: 900px) { .pl-grid { grid-template-columns: 1fr; } }

/* ---------- Functions ---------- */
.functions { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--pine); }
.functions .ft { position: absolute; top: 28px; left: var(--gutter); }
.fn-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.functions::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(10 18 13 / .82), rgb(10 18 13 / .35) 60%, rgb(10 18 13 / .15)), linear-gradient(0deg, rgb(10 18 13 / .5), transparent 50%); }
.fn-copy { position: relative; z-index: 2; max-width: 620px; padding: 0 var(--gutter) clamp(50px, 10vh, 110px); }
.functions .eyebrow { color: var(--brass-lt); }
.functions h2 em { color: var(--brass-lt); }
.fn-copy > p { font-size: 18px; color: rgb(255 255 255 / .85); margin: 22px 0; }
.fn-facts { display: flex; gap: 28px; list-style: none; margin: 0 0 28px; padding: 0; font-size: 14px; color: rgb(255 255 255 / .75); }
.fn-facts b { display: block; font: 600 40px/1 var(--font-head); color: #fff; }

.club-foot { padding: 50px var(--gutter); display: grid; grid-template-columns: auto 1fr; gap: 10px 40px; align-items: baseline; border-top: 1px solid rgb(0 0 0 / .08); }
.cf-name { margin: 0; font: 600 30px/1 var(--font-head); }
.cf-note { margin: 0; max-width: 60em; font-size: 13px; color: #6b746d; }
@media (max-width: 700px) { .club-foot { grid-template-columns: 1fr; } }

/* ---------- ctrl studio's pitch ---------- */
.yours { background: var(--c-bg); color: var(--c-ink); padding: clamp(90px, 16vh, 180px) var(--gutter); }
.label { margin: 0; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: .7em; border-radius: 50%; background: var(--c-accent); vertical-align: 1px; }
.yours h2 { margin: 18px 0 0; font: 600 clamp(48px, 9vw, 150px)/.92 var(--font-body); letter-spacing: -0.06em; }
/* every feature as a button that shows it (bigger, filling the width: Zak, 1 Dec 2026) */
.yo-list { list-style: none; margin: clamp(36px, 6vh, 60px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; max-width: 1180px; }
.yo-list a { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: baseline; height: 100%; min-height: 76px; padding: 16px 18px 15px; border-radius: 14px;
  border: 1px solid var(--c-line); border-bottom-width: 4px; background: rgb(255 255 255 / .03); text-decoration: none; font: 600 16px/1.25 var(--font-body);
  transition: translate 90ms, border-color .2s, background .2s; }
.yo-list a:hover { border-color: rgb(255 90 31 / .55); background: rgb(255 255 255 / .06); }
.yo-list a:active { translate: 0 2px; border-bottom-width: 2px; }
.yo-list .n { color: var(--c-muted); font: 500 12px/1.25 var(--mono); }
.yo-list .p { grid-column: 2; color: var(--c-accent); font: 500 11px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.yo-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; max-width: 980px; }
.yo-plans article { position: relative; padding: 26px; border-radius: 22px; border: 1px solid var(--c-line); border-bottom: 6px solid rgb(255 255 255 / .1); background: linear-gradient(180deg, rgb(255 255 255 / .06), rgb(255 255 255 / .02)); }
.yo-plans kbd { position: absolute; top: 26px; right: 26px; color: var(--c-muted); }
.yo-plans h3 { margin: 0; font: 500 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.yo-price { margin: 14px 0 0; font: 400 14px/1.3 var(--mono); color: var(--c-accent); }
.yo-price b { display: block; margin-bottom: 6px; font: 600 clamp(40px, 4vw, 60px)/1 var(--font-body); letter-spacing: -0.05em; color: var(--c-ink); }
.yo-plans p:last-child { margin: 16px 0 0; color: #c5c1b7; font-size: 15px; }
.yo-small { margin: 20px 0 0; color: var(--c-muted); font-size: 14px; }
.yo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 44px; }
.yo-btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border-radius: 14px; background: var(--c-accent); color: var(--c-bg); font: 600 17px/1 var(--font-body); text-decoration: none; }
.yo-copy { display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--c-line); background: rgb(255 255 255 / .04); color: var(--c-muted); font: 500 15px/1 var(--font-body); cursor: pointer; }
.yo-copy span { color: var(--c-ink); margin-left: 6px; }
.yo-copy em { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); font-style: normal; }
.yo-other { font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); text-underline-offset: 5px; }
.yo-other:hover { color: var(--c-ink); }
@media (max-width: 700px) { .yo-plans { grid-template-columns: 1fr; } }

/* Things come in as they reach the screen */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate 1.1s var(--ease); }
  .js .rv.in { opacity: 1; translate: 0 0; }
}

/* ---------- Inside the showcase's laptop (golf/index.html frames this page): no ctrl studio bar or pitch, and the
   tags stay in place but unseen, so the showcase can point at each feature from beside the screen ---------- */
html.in-frame { --bar: 0px; }
html.in-frame .sr-bar, html.in-frame .sr-drawer, html.in-frame .sr-scrim, html.in-frame .yours { display: none !important; }
html.in-frame .ft { display: block !important; visibility: hidden !important; }
