/* Sovara Golf website v1.0
   Layout: editorial 12-column grid with a yardage-book feel: fairway hero with
   contour lines and a ball flight that lands on the Sovara checkmark, mono figures,
   scorecard details, product screens framed as objects.
   Brand rules: lime is never text on white; buttons are lime with fairway text. */
/* Brand typefaces, self-hosted (SIL Open Font License) */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/sora-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/sora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --fairway: #1F5A43;
  --fairway-deep: #174A36;
  --fairway-night: #10342A;
  --lime: #B5E04C;
  --lime-deep: #A2CC3B;
  --olive: #5E8F1F;
  --olive-text: #4E7A18;
  --light: #F2F6F1;
  --mist: #E4ECE5;
  --line: #D2DED5;
  --ink: #1E2A33;
  --secondary: #55626A;
  --white: #FFFFFF;
  --on-dark-soft: #C5D8CD;

  --f-display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --s-section: clamp(72px, 10vw, 144px);
  --radius-frame: 14px;
  --shadow-frame: 0 1px 0 rgba(16, 52, 42, .06), 0 30px 60px -28px rgba(16, 52, 42, .5);
  --contours: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M-40 470C80 420 160 470 260 430S420 300 540 320 700 420 840 380'/%3E%3Cpath d='M-40 520C90 470 170 520 280 480S430 350 550 370 720 470 840 430'/%3E%3Cpath d='M-40 570C100 520 180 570 300 530S440 400 560 420 740 520 840 480'/%3E%3Cpath d='M-40 420C70 370 150 420 240 380S410 250 530 270 690 370 840 330'/%3E%3Cpath d='M-40 370C60 320 140 370 220 330S400 200 520 220 680 320 840 280'/%3E%3Cpath d='M-40 320C50 270 130 320 200 280S390 150 510 170 670 270 840 230'/%3E%3Cpath d='M-40 270C40 220 120 270 180 230S380 100 500 120 660 220 840 180'/%3E%3Cpath d='M-40 220C30 170 110 220 160 180S370 50 490 70 650 170 840 130'/%3E%3Cellipse cx='610' cy='130' rx='70' ry='34'/%3E%3Cellipse cx='610' cy='130' rx='40' ry='18'/%3E%3Cellipse cx='610' cy='130' rx='14' ry='6'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fairway); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--fairway-night); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); color: var(--fairway); padding: 10px 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; color: inherit; margin: 0; text-wrap: balance; }
.d1 { font-size: clamp(42px, 7vw, 90px); line-height: 1.02; letter-spacing: -0.035em; }
.d2 { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.06; letter-spacing: -0.03em; }
.d3 { font-size: clamp(23px, 2.3vw, 29px); line-height: 1.2; letter-spacing: -0.02em; }
.d4 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.lede { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; color: var(--secondary); max-width: 38em; }
p { margin: 0; max-width: 40em; }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em; }
.kicker { font-family: var(--f-mono); font-size: 13px; color: var(--secondary); letter-spacing: .04em; text-transform: uppercase; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 16px 24px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--lime); color: var(--fairway); }
.btn-primary:hover { background: var(--lime-deep); }
.btn-dark { background: var(--fairway); color: var(--white); }
.btn-dark:hover { background: var(--fairway-deep); }
.btn-ghost { border-color: currentColor; color: var(--fairway); background: transparent; }
.btn-ghost:hover { background: var(--light); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-block; font-weight: 600; color: var(--fairway); text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.text-link:hover { border-bottom-color: var(--olive); }
.on-dark .text-link { color: var(--white); }
.on-dark .text-link:hover { border-bottom-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: block; flex: none; margin-left: -12px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500; padding: 10px 13px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--light); }
.nav a[aria-current="page"]:not(.btn) { color: var(--fairway); box-shadow: inset 0 -2px 0 var(--olive); border-radius: 0; }
.nav .btn { margin-left: 12px; padding: 12px 20px; font-size: 15px; }
.nav a.btn:hover { background: var(--lime-deep); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font: 600 15px var(--f-body); color: var(--ink); cursor: pointer; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; gap: 0; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--mist); font-size: 18px; }
  .nav a[aria-current="page"]:not(.btn) { box-shadow: none; color: var(--olive-text); }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--s-section); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.bg-light { background: var(--light); }
.bg-fairway { background: var(--fairway); color: var(--white); }
.bg-night { background: var(--fairway-night); color: var(--white); }
.contours { background-image: var(--contours); background-size: 900px auto; background-position: right -120px top; background-repeat: no-repeat; }
.on-dark .lede, .on-dark p { color: var(--on-dark-soft); }
.on-dark .kicker { color: var(--on-dark-soft); }
.on-dark a:not(.btn):not(.text-link) { color: var(--white); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 48px; }
.c-4 { grid-column: span 4; } .c-5 { grid-column: span 5; } .c-6 { grid-column: span 6; } .c-7 { grid-column: span 7; } .c-8 { grid-column: span 8; } .c-12 { grid-column: 1 / -1; }
.push-7 { grid-column: 8 / -1; } .col-r6 { grid-column: 7 / -1; } .push-8 { grid-column: 9 / -1; } .col-r7 { grid-column: 6 / -1; }
@media (max-width: 900px) { .grid > * { grid-column: 1 / -1 !important; } }
.min0 { min-width: 0; }
.self-center { align-self: center; }

.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
.sec-head > .kicker { grid-column: 1 / -1; }
.sec-head > h2 { grid-column: 1 / span 7; }
.sec-head > p:not(.kicker) { grid-column: 8 / -1; }
@media (max-width: 900px) { .sec-head > h2, .sec-head > p:not(.kicker) { grid-column: 1 / -1; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--fairway); color: var(--white); overflow: hidden; padding-top: clamp(56px, 8vw, 104px); }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--contours) no-repeat right -160px top -40px / min(1100px, 110%) auto, radial-gradient(120% 80% at 85% -10%, rgba(181,224,76,.10), transparent 60%), linear-gradient(180deg, var(--fairway) 0%, var(--fairway-deep) 100%); pointer-events: none; }
.hero > * { position: relative; }
.hero h1 { max-width: 12.5em; }
.hero .lede { color: var(--on-dark-soft); margin-top: 28px; max-width: 36em; }
.hero .btn-row { margin-top: 40px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; color: var(--on-dark-soft); margin-bottom: 32px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(181,224,76,.22); }

/* the ball flight */
.flight { display: block; width: 100%; height: auto; margin-top: clamp(32px, 4vw, 56px); overflow: visible; }
.flight .arc { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0 1; vector-effect: non-scaling-stroke; }
.flight .trail { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 9; vector-effect: non-scaling-stroke; }
.flight .ground { stroke: rgba(255,255,255,.18); stroke-width: 1; vector-effect: non-scaling-stroke; }
.flight .tick { stroke: rgba(255,255,255,.28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.flight .yd { fill: rgba(255,255,255,.5); font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }
.flight .tee { fill: var(--white); }
.flight .check { fill: none; stroke: var(--lime); stroke-width: 5.5; stroke-linejoin: bevel; vector-effect: non-scaling-stroke; }
.flight .ball { fill: var(--white); }
.flight .arc { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.9s cubic-bezier(.35,.1,.25,1) .3s both; }
.flight .check { stroke-dasharray: 1; animation: draw .45s cubic-bezier(.3,.6,.3,1) 2.15s both; }
.flight .ball { offset-path: path("M60 128C330 -30 760 -40 1080 116"); offset-rotate: 0deg; animation: fly 1.9s cubic-bezier(.35,.1,.25,1) .3s both, fade .3s linear 2.1s forwards; }
.flight .carry { opacity: 0; animation: show .4s ease 2.3s forwards; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes fade { to { opacity: 0; } }
@keyframes show { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .flight .arc, .flight .check, .flight .carry { animation: none; opacity: 1; } .flight .ball { display: none; } }
@media (max-width: 640px) { .flight .yd { display: none; } }

.hero-shot { padding-top: clamp(24px, 3vw, 40px); }
.hero-shot .frame { margin-bottom: -1px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hero-tail { background: linear-gradient(180deg, transparent 0 50%, var(--white) 50% 100%); }

/* page hero (interior) */
.phero { background: var(--fairway); color: var(--white); padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: var(--contours) no-repeat right -200px center / min(1000px, 120%) auto; pointer-events: none; }
.phero > * { position: relative; }
.phero h1 { max-width: 13em; }
.phero .lede { color: var(--on-dark-soft); margin-top: 24px; }
.phero .btn-row { margin-top: 36px; }
.crumb { font-family: var(--f-mono); font-size: 13px; color: var(--on-dark-soft); margin-bottom: 24px; display: block; }
.crumb a { color: var(--white); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ---------- Frames ---------- */
.frame { border-radius: var(--radius-frame); overflow: hidden; background: var(--white); box-shadow: var(--shadow-frame); border: 1px solid rgba(16,52,42,.10); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding-inline: 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C0CFC4; }
.frame img { width: 100%; }
figure { margin: 0; }
figcaption { font-family: var(--f-mono); font-size: 12.5px; color: var(--secondary); margin-top: 14px; }
.on-dark figcaption { color: var(--on-dark-soft); }

.phone { width: 100%; max-width: 300px; border-radius: 42px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(16,52,42,.6); background: var(--ink); }
.phone img { width: 100%; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); align-items: start; }
.phones .phone:nth-child(2) { margin-top: 56px; }
.phones .phone:nth-child(3) { margin-top: 112px; }
.phones.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.phones.two .phone:nth-child(2) { margin-top: 72px; }
@media (max-width: 700px) {
  .phones, .phones.two { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .phones.two { grid-template-columns: repeat(2, 72%); }
  .phones .phone { scroll-snap-align: start; margin-top: 0 !important; }
}

/* ---------- Statement ---------- */
.statement { font-family: var(--f-display); font-weight: 400; font-size: clamp(27px, 3.5vw, 44px); line-height: 1.22; letter-spacing: -0.025em; color: var(--ink); max-width: 22em; text-wrap: balance; }
.statement strong { font-weight: 600; color: var(--fairway); }

/* several systems -> one */
.merge { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) auto minmax(0, 1.3fr); align-items: center; gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.merge .was { border: 1px dashed #A9BFB0; border-radius: 10px; padding: 16px 16px; color: var(--secondary); font-size: 15px; line-height: 1.45; }
.merge .was b { display: block; color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; margin-bottom: 4px; }
.merge .arrow { width: 48px; height: 2px; background: var(--olive); position: relative; }
.merge .arrow::after { content: ""; position: absolute; right: -1px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--olive); border-right: 0; }
.merge .is { background: var(--fairway); color: var(--white); border-radius: 12px; padding: 22px 24px; }
.merge .is b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 20px; margin-bottom: 4px; }
.merge .is span { color: var(--on-dark-soft); font-size: 15.5px; }
@media (max-width: 1000px) { .merge { grid-template-columns: 1fr 1fr; } .merge .arrow { grid-column: 1 / -1; width: 2px; height: 32px; margin-left: 24px; } .merge .arrow::after { right: -5px; top: auto; bottom: -1px; border: 6px solid transparent; border-top: 9px solid var(--olive); border-bottom: 0; } .merge .is { grid-column: 1 / -1; } }
@media (max-width: 520px) { .merge { grid-template-columns: 1fr; } }

/* ---------- Round stepper (home) ---------- */
.round { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.holes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.holes li { border-bottom: 1px solid var(--line); }
.step-btn { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; width: 100%; padding: 18px 4px; cursor: pointer; }
.step-btn .n { font-family: var(--f-mono); font-size: 12px; line-height: 1; color: var(--secondary); width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 50%; display: grid; place-items: center; align-self: start; transition: background-color .2s, border-color .2s, color .2s; }
.step-btn .t { font-family: var(--f-display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; color: var(--secondary); transition: color .2s; align-self: center; }
.step-btn .x { grid-column: 2; font-size: 16px; color: var(--secondary); display: none; }
.step-btn[aria-selected="true"] .t { color: var(--fairway); }
.step-btn[aria-selected="true"] .n { background: var(--fairway); border-color: var(--fairway); color: var(--lime); }
.step-btn[aria-selected="true"] .x { display: block; }
.step-btn:hover .t { color: var(--fairway); }
.step-btn:focus-visible { outline: 3px solid var(--olive); outline-offset: -3px; }
.round-view { position: sticky; top: 100px; }
.round-view img { transition: opacity .25s; }
@media (max-width: 900px) { .round { grid-template-columns: 1fr; } .round-view { position: static; order: -1; } }

/* ---------- Split (facility types) ---------- */
.split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.split > a { display: flex; flex-direction: column; padding: clamp(32px, 4vw, 48px) clamp(20px, 2.6vw, 40px) clamp(32px, 4vw, 48px) 0; text-decoration: none; color: inherit; }
.split > a + a { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.6vw, 40px); }
.split .kicker { margin-bottom: 14px; }
.split h3 { margin-bottom: 14px; }
.split p { color: var(--secondary); }
.split ul { margin: 24px 0 28px; }
.split .go { margin-top: auto; align-self: flex-start; font-weight: 600; color: var(--fairway); border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.split > a:hover .go { border-bottom-color: var(--olive); }
.split > a:hover h3 { color: var(--fairway); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > a { padding-right: 0; } .split > a + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

/* ticks list */
:where(.ticks) { margin: 0; }
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 17px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 62 88'%3E%3Cpath d='M5 38L23 75L49 5' fill='none' stroke='%235E8F1F' stroke-width='11' stroke-linejoin='bevel'/%3E%3C/svg%3E") no-repeat center / contain; }
.on-dark .ticks li { color: var(--white); }
.on-dark .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 62 88'%3E%3Cpath d='M5 38L23 75L49 5' fill='none' stroke='%23B5E04C' stroke-width='11' stroke-linejoin='bevel'/%3E%3C/svg%3E"); }

/* ---------- Leaderboard (scoring motif) ---------- */
.board { background: var(--fairway-night); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 22px 22px 18px; font-variant-numeric: tabular-nums; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.board-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.board-h b { font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--white); letter-spacing: -0.01em; }
.board-h span { font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-soft); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.board-h span i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.board ol { list-style: none; margin: 0; padding: 0; position: relative; }
.board li { display: grid; grid-template-columns: 36px 1fr 52px 56px; align-items: center; gap: 8px; height: 46px; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--white); font-size: 16px; transition: transform .6s cubic-bezier(.3,.7,.3,1), background-color .6s; }
.board li .p { font-family: var(--f-mono); font-size: 13px; color: var(--on-dark-soft); }
.board li .t { font-family: var(--f-mono); font-size: 13px; color: var(--on-dark-soft); text-align: right; }
.board li .s { font-family: var(--f-mono); font-size: 16px; font-weight: 500; text-align: right; color: var(--lime); }
.board li .s.e { color: var(--white); }
.board li.up { background: rgba(181,224,76,.10); }
.board .board-f { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-soft); }
.board .cols-h { display: grid; grid-template-columns: 36px 1fr 52px 56px; gap: 8px; padding: 12px 0 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(197,216,205,.7); }
.board .cols-h span:nth-child(n+3) { text-align: right; }
@media (prefers-reduced-motion: reduce) { .board li { transition: none; } .board-h span i { animation: none; } }

/* ---------- Scorecard strip ---------- */
.card-strip { display: grid; grid-template-columns: 92px repeat(9, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-family: var(--f-mono); font-size: 14px; font-variant-numeric: tabular-nums; background: var(--white); }
.card-strip > span { padding: 10px 6px; text-align: center; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.card-strip > span:nth-child(10n+1) { border-left: 0; text-align: left; padding-left: 14px; color: var(--secondary); }
.card-strip > span:nth-child(-n+10) { border-top: 0; background: var(--light); color: var(--secondary); font-size: 12px; }
.card-strip .b { position: relative; }
.card-strip .b::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); border: 1.5px solid var(--olive); border-radius: 50%; }
.card-strip .bg::after { border-radius: 4px; border-color: var(--secondary); }
@media (max-width: 560px) { .card-strip { grid-template-columns: 64px repeat(9, minmax(0, 1fr)); font-size: 12px; } .card-strip > span { padding: 9px 2px; } .card-strip .b::after { width: 22px; height: 22px; } }

/* ---------- Receipt (payments motif) ---------- */
.receipt { background: var(--white); color: var(--ink); border-radius: 6px; padding: 28px 28px 24px; font-family: var(--f-mono); font-size: 14px; line-height: 1.9; box-shadow: var(--shadow-frame); max-width: 420px; position: relative; font-variant-numeric: tabular-nums; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 6px, var(--white) 0) 0 0 / 14px 10px repeat-x, linear-gradient(45deg, transparent 6px, var(--white) 0) 0 0 / 14px 10px repeat-x; }
.receipt .r-h { display: flex; justify-content: space-between; gap: 12px; color: var(--secondary); font-size: 12.5px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px dashed var(--line); }
.receipt .row { display: flex; gap: 8px; }
.receipt .row span:first-child { white-space: nowrap; }
.receipt .row .dots { flex: 1; overflow: hidden; color: #A9BFB0; }
.receipt .row .dots::before { content: "................................................................................"; }
.receipt .row span:last-child { white-space: nowrap; }
.receipt .muted { color: var(--secondary); }
.receipt .total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 8px; font-weight: 600; }
.receipt .ok { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: .04em; color: var(--fairway); }
.receipt .ok svg { width: 22px; height: 30px; flex: none; }
.receipt .ok small { font-family: var(--f-mono); font-weight: 400; letter-spacing: 0; color: var(--secondary); font-size: 12.5px; margin-left: auto; text-align: right; line-height: 1.4; }
@media (max-width: 420px) { .receipt { padding: 22px 18px 20px; font-size: 13px; } }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 10vw, 140px); }
.feature.flip > :first-child { order: 2; }
.feature .copy { min-width: 0; }
.feature .copy > * + * { margin-top: 20px; }
.feature .copy .ticks { margin-top: 28px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12.5px; padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--fairway); white-space: nowrap; }
.chip.planned { background: #EEF5DC; color: var(--olive-text); }
.on-dark .chip { background: rgba(255,255,255,.12); color: var(--white); }

/* ---------- Standards (home) ---------- */
.standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.standards > div { padding: 32px clamp(16px, 2.4vw, 32px) 32px 0; border-bottom: 1px solid var(--line); }
.standards > div:not(:nth-child(3n+1)) { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.standards h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 10px; display: flex; align-items: baseline; gap: 12px; }
.standards h3::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; font-weight: 400; color: var(--olive-text); letter-spacing: .04em; }
.standards p { color: var(--secondary); font-size: 16.5px; }
@media (max-width: 900px) { .standards { grid-template-columns: 1fr 1fr; } .standards > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } .standards > div:nth-child(even) { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); } }
@media (max-width: 600px) { .standards { grid-template-columns: 1fr; } .standards > div:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- Module index (platform page) ---------- */
.modules { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.mod-nav { position: sticky; top: 104px; }
.mod-nav ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.mod-nav a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--secondary); text-decoration: none; font-size: 15.5px; }
.mod-nav a:hover { color: var(--fairway); }
.mod-nav a.active { color: var(--fairway); border-left-color: var(--olive); font-weight: 600; }
.mod { scroll-margin-top: 104px; padding-bottom: clamp(64px, 8vw, 112px); }
.mod + .mod { padding-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.mod-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.mod .cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 40px; margin-top: 28px; }
.mod figure { margin-top: 40px; }
.mod .phones { margin-top: 40px; max-width: 760px; }
@media (max-width: 1000px) { .modules { grid-template-columns: 1fr; } .mod-nav { display: none; } }
@media (max-width: 640px) { .mod .cols { grid-template-columns: 1fr; } }

/* facility tabs strip (courses page) */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 28px 24px 8px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts h3 { font-size: 19px; margin-bottom: 8px; }
.facts p { font-size: 16px; color: var(--secondary); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* amenity tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tags span { font-size: 15.5px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); }
.on-dark .tags span { background: transparent; border-color: rgba(255,255,255,.22); color: var(--white); }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.principles > div { padding: 36px 32px 8px 0; }
.principles > div + div { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.18); }
.principles h3 { margin-bottom: 14px; }
@media (max-width: 800px) { .principles { grid-template-columns: 1fr; } .principles > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); } }

/* ---------- Roadmap ---------- */
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.road li { position: relative; padding: 36px 24px 0 0; border-top: 2px solid var(--line); }
.road li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); }
.road li.done { border-top-color: var(--fairway); }
.road li.done::before { background: var(--fairway); border-color: var(--fairway); }
.road li.now::before { background: var(--lime); border-color: var(--olive); box-shadow: 0 0 0 5px rgba(94,143,31,.18); }
.road .when { font-family: var(--f-mono); font-size: 12.5px; color: var(--secondary); display: block; margin-bottom: 8px; }
.road h3 { margin-bottom: 8px; }
.road p { color: var(--secondary); font-size: 16px; }
@media (max-width: 900px) { .road { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--line); margin-left: 6px; } .road li { border-top: 0; padding: 0 0 36px 28px; } .road li::before { top: 4px; left: -8px; } }

/* ---------- Family ---------- */
.family { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); }
.family > div { padding: 28px 24px 8px 0; }
.family > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.family h3 { font-size: 19px; margin-bottom: 6px; }
.family p { font-size: 15.5px; color: var(--secondary); }
.family .chip { margin-top: 14px; }
.family .here { position: relative; }
.family .here::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--olive); }
@media (max-width: 900px) { .family { grid-template-columns: 1fr 1fr; } .family > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .family { grid-template-columns: 1fr; } .family > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* ---------- CTA band ---------- */
.cta { background: #070B09; color: var(--white); padding-block: clamp(88px, 11vw, 160px); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--fairway-night) 0%, rgba(16,52,42,.92) 30%, rgba(16,52,42,.35) 58%, rgba(7,11,9,0) 78%), url("img/golf-ball-dark.webp") no-repeat right center / auto 120%; pointer-events: none; }
@media (max-width: 900px) { .cta::before { background: linear-gradient(180deg, rgba(16,52,42,.94) 0%, rgba(16,52,42,.82) 100%), url("img/golf-ball-dark.webp") no-repeat 70% center / cover; } }
.cta > * { position: relative; }
.cta .grid { align-items: end; }
.cta p { color: var(--on-dark-soft); }
.cta-mark { position: absolute; right: clamp(-60px, -2vw, 0px); top: 50%; transform: translateY(-50%); width: clamp(160px, 22vw, 300px); opacity: .9; pointer-events: none; }
@media (max-width: 900px) { .cta-mark { display: none; } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--secondary); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 17px/1.4 var(--f-body); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fairway); box-shadow: 0 0 0 4px rgba(31,90,67,.14); }
.field [aria-invalid="true"] { border-color: #B23B3B; }
.field .err { color: #A63232; font-size: 14.5px; margin-top: 6px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14.5px; color: var(--secondary); }
.form-msg { border-radius: 12px; padding: 20px 22px; font-size: 16.5px; }
.form-msg.ok { background: var(--mist); color: var(--fairway); }
.form-msg.ok strong { display: block; font-family: var(--f-display); font-size: 20px; margin-bottom: 4px; }
.form-msg.fail { background: #F8E9E7; color: #A63232; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact-card { border-top: 1px solid var(--line); padding-top: 24px; }
.contact-card + .contact-card { margin-top: 32px; }
.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p, .contact-card address { font-style: normal; color: var(--secondary); font-size: 16.5px; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); font-size: 17.5px; }
.prose p + p { margin-top: 16px; }
.prose ul { padding-left: 22px; margin: 16px 0; display: grid; gap: 8px; }
.prose .updated { font-family: var(--f-mono); font-size: 13px; color: var(--secondary); margin-bottom: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9C4C9; font-size: 15.5px; padding-block: clamp(64px, 7vw, 96px) 40px; }
.ft-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.2fr)); gap: 40px; }
.ft-brand img { height: 58px; width: auto; margin-left: -14px; }
.ft-brand p { margin-top: 18px; max-width: 26em; color: #B9C4C9; }
.ft-col h2 { font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 16px; letter-spacing: .01em; }
.ft-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ft-col a { color: #B9C4C9; text-decoration: none; }
.ft-col a:hover { color: var(--white); text-decoration: underline; }
.ft-legal { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; font-size: 13.5px; color: #93A1A8; }
.ft-legal p { max-width: none; }
@media (max-width: 900px) { .ft-top { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }

/* ---------- Misc ---------- */
.center-404 { min-height: 50vh; display: grid; align-content: center; }
.note { font-size: 15px; color: var(--secondary); }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.board ol.live li { position: absolute; left: 0; right: 0; top: 0; }

/* ---------- Photography and golf-ball accents ---------- */
.phero.has-photo { background: #070B09; }
.phero.has-photo::before { background: linear-gradient(90deg, var(--fairway-night) 0%, rgba(16,52,42,.9) 38%, rgba(16,52,42,.3) 66%, rgba(7,11,9,0) 85%), url("img/golf-ball-dark.webp") no-repeat right center / auto 125%; }
@media (max-width: 900px) { .phero.has-photo::before { background: linear-gradient(180deg, rgba(16,52,42,.93), rgba(16,52,42,.8)), url("img/golf-ball-dark.webp") no-repeat 70% center / cover; } }
.ball-deco { position: absolute; right: clamp(-106px, -3.7vw, -21px); bottom: clamp(-133px, -7.4vw, -52px); width: clamp(234px, 28.4vw, 417px); pointer-events: none; }
.ball-deco img { width: 100%; }
/* App icon sits on the smooth, undimpled part of the ball that stays inside the hero */
.phero .hero-icon { position: absolute; right: clamp(20px, 3.2vw, 48px); bottom: clamp(8px, 1.1vw, 16px); width: clamp(72px, 8.8vw, 118px); height: auto; border-radius: 22%; box-shadow: 0 6px 18px rgba(16,52,42,.28); pointer-events: none; z-index: 1; }
.phero.has-ball .wrap { position: relative; z-index: 2; }
.phero.has-ball h1 { font-size: clamp(38px, 5.2vw, 72px); max-width: 13em; }
@media (max-width: 700px) { .ball-deco, .phero .hero-icon { opacity: .35; } }

.dimples { position: relative; overflow: hidden; }
.dimples::after { content: ""; position: absolute; top: -36px; right: -48px; width: 276px; height: 240px; background: url("img/dimples.webp") no-repeat top right / contain; opacity: .55; pointer-events: none; }
.dimples > .wrap { position: relative; z-index: 1; }
@media (max-width: 700px) { .dimples::after { width: 170px; height: 148px; opacity: .6; } }
.lost-ball { width: clamp(180px, 22vw, 280px); margin-bottom: 8px; }

.cta.cta-plain::before { background: var(--contours) no-repeat right -160px bottom -120px / 900px auto; }
.phero.has-photo h1 { max-width: 10.5em; }
.phero.has-photo .lede { max-width: 30em; }
.tv-frame { background: #F6F8F5; border-color: rgba(255,255,255,.12); }
