/* The Mental Game of Golf: marketing site.
   Dark ground, warm gold, serif display. Self-hosted fonts, no trackers. */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/golf/fonts/instrument.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/golf/fonts/instrument-italic.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/golf/fonts/dmsans.woff2) format("woff2"); }

:root {
  --bg: #0a0a09;
  --bg-2: #101010;
  --card: #151514;
  --card-2: #1b1a18;
  --ink: #f1ece1;
  --muted: #a9a396;
  --dim: #6f6a60;
  --gold: #c9a96e;
  --gold-hi: #ead3a0;
  --gold-lo: #a98a52;
  --rule: rgba(255, 255, 255, .09);
  --rule-2: rgba(201, 169, 110, .28);
  --radius: 22px;
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a1408; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }

.eyebrow {
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 18px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.015em; line-height: 1.02; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.1; }
em { font-style: italic; color: var(--gold-hi); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36rem; margin: 22px 0 0; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 16.5px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  color: #1a1408; box-shadow: 0 10px 36px rgba(201, 169, 110, .28), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(201, 169, 110, .38), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--rule); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .11); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.badge-link { display: inline-block; line-height: 0; transition: transform .2s; }
.badge-link:hover { transform: translateY(-2px); }
.badge-link img { height: 56px; width: auto; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(10, 10, 9, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.logo .wordmark { height: 40px; width: auto; display: block; }
.nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav ul a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 0; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; opacity: .5; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 78% 40%, rgba(201, 169, 110, .16), transparent 70%),
    linear-gradient(90deg, rgba(10, 10, 9, .96) 8%, rgba(10, 10, 9, .6) 55%, rgba(10, 10, 9, .35)),
    linear-gradient(180deg, rgba(10, 10, 9, .5), transparent 30%, var(--bg));
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding-top: 112px; padding-bottom: 72px; }
.hero h1 em { display: block; }
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 38px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-phone { position: relative; justify-self: center; width: min(340px, 78vw); }
.hero-phone .phone { transform: rotate(3deg); }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px;
  background: rgba(20, 20, 19, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--rule-2); border-radius: 16px; font-size: 13.5px; font-weight: 500; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  animation: float 7s ease-in-out infinite;
}
.chip i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); display: grid; place-items: center; color: #1a1408; font-style: normal; font-size: 14px; }
.chip small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.chip.a { left: -64px; top: 20%; }
.chip.b { right: -40px; bottom: 16%; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.phone {
  position: relative; border-radius: 48px; padding: 9px; background: linear-gradient(160deg, #3a3833, #141413 40%, #2a2824);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .07), 0 0 120px rgba(201, 169, 110, .12);
}
.phone img { border-radius: 40px; width: 100%; height: auto; background: #000; }

/* ---------- marquee ---------- */
.marquee { padding: 0; border-block: 1px solid var(--rule); background: var(--bg-2); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 70s linear infinite; padding: 22px 0; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--muted); white-space: nowrap; padding: 0 28px; }
.marquee span::after { content: "·"; margin-left: 56px; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { padding: clamp(48px, 7vw, 84px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px 12px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* ---------- problem ---------- */
.problem .wrap { max-width: 980px; }
.problem h2 { max-width: 20ch; }
.problem p.big { font-size: clamp(1.15rem, 1.9vw, 1.45rem); color: var(--muted); max-width: 42rem; margin: 30px 0 0; }
.problem p.big strong { color: var(--ink); font-weight: 500; }
.leaks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.leak { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; }
.leak .n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.leak h3 { font-size: 1.55rem; margin: 10px 0 12px; }
.leak p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- how ---------- */
.how { background: var(--bg-2); border-block: 1px solid var(--rule); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; counter-reset: s; }
.step { position: relative; padding: 34px 30px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--rule); counter-increment: s; }
.step::before { content: "0" counter(s); font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--gold); opacity: .9; display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- moments ---------- */
.moments-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 64px); margin-top: 56px; align-items: stretch; }
.tabs { display: flex; flex-direction: column; gap: 10px; }
.tab {
  text-align: left; background: transparent; border: 1px solid var(--rule); border-radius: 16px; padding: 17px 20px; cursor: pointer;
  color: var(--muted); font-weight: 500; font-size: 16px; transition: all .25s; display: flex; justify-content: space-between; align-items: center;
}
.tab::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: all .25s; color: var(--gold); }
.tab:hover { color: var(--ink); border-color: rgba(255, 255, 255, .2); }
.tab[aria-selected="true"] { background: var(--card-2); color: var(--ink); border-color: var(--rule-2); box-shadow: inset 3px 0 0 var(--gold); }
.tab[aria-selected="true"]::after { opacity: 1; transform: none; }
.panel { position: relative; border-radius: 28px; overflow: hidden; min-height: 520px; border: 1px solid var(--rule); background: #000; }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 9, .97) 8%, rgba(10, 10, 9, .4) 55%, rgba(10, 10, 9, .15)); }
.panel-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3.4vw, 40px); }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 22ch; }
.panel p { color: #cfc9bc; margin: 12px 0 20px; max-width: 34rem; font-size: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid var(--rule); backdrop-filter: blur(10px); font-size: 14px; }
.pill small { color: var(--gold-hi); font-size: 12.5px; }

/* ---------- features ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 12vw, 150px); }
.feature.flip .f-text { order: 2; }
.f-text h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.f-text ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.f-text li { display: flex; gap: 14px; color: var(--muted); font-size: 16px; }
.f-text li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(201, 169, 110, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23ead3a0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.f-text li strong { color: var(--ink); font-weight: 500; }
.f-visual { position: relative; display: grid; place-items: center; }
.f-visual::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; background: radial-gradient(circle, rgba(201, 169, 110, .2), transparent 68%); filter: blur(10px); }
.f-visual .phone { width: min(320px, 76vw); position: relative; }

/* ---------- skills ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.skill { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 24px 22px 22px; transition: transform .3s, border-color .3s; }
.skill:hover { transform: translateY(-4px); border-color: var(--rule-2); }
.skill .count { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold-hi); }
.skill h3 { font-size: 1.35rem; margin: 10px 0 8px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.skill p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.skill small { color: var(--dim); font-size: 13px; line-height: 1.5; display: block; }

/* ---------- gallery ---------- */
.gallery { padding: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.gallery-grid img { width: 100%; aspect-ratio: 3/2; object-fit: cover; filter: saturate(.9) brightness(.8); transition: filter .5s; }
.gallery-grid img:hover { filter: none; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; margin-top: 60px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: 28px; padding: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; }
.plan h3 { font-size: 2rem; }
.plan .sub { color: var(--muted); font-size: 15px; margin: 6px 0 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 13px; font-size: 15.5px; }
.plan li { display: flex; gap: 12px; color: var(--ink); }
.plan li::before { content: "✓"; color: var(--gold); font-weight: 700; flex: none; }
.plan li.off { color: var(--dim); }
.plan li.off::before { content: "–"; color: var(--dim); }
.plan.pro { background: linear-gradient(170deg, #211d14, #15130f 55%); border-color: var(--rule-2); box-shadow: 0 30px 90px rgba(201, 169, 110, .12); position: relative; }
.ribbon { position: absolute; top: -13px; left: 40px; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); color: #1a1408; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.price-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 26px; }
.opt { border: 1px solid var(--rule); border-radius: 18px; padding: 18px; }
.opt.best { border-color: var(--gold); background: rgba(201, 169, 110, .08); }
.opt .t { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.opt .t em { font-style: normal; color: var(--gold-hi); font-weight: 700; }
.opt .p { font-family: var(--serif); font-size: 2.6rem; line-height: 1.1; margin-top: 10px; }
.opt .p small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.opt .m { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.plan .fine { color: var(--dim); font-size: 12.5px; line-height: 1.55; margin: 18px 0 0; }
.plan .btn { width: 100%; margin-top: auto; }
.plan.pro .btn { margin-top: 0; }

/* ---------- faq ---------- */
.faq-list { max-width: 820px; margin: 56px auto 0; }
details { border-bottom: 1px solid var(--rule); }
details:first-child { border-top: 1px solid var(--rule); }
summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 1.12rem; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; color: var(--gold); font-size: 20px; transition: transform .3s, background .3s; }
details[open] summary::after { transform: rotate(45deg); background: rgba(201, 169, 110, .12); }
details p { margin: 0 0 26px; color: var(--muted); max-width: 40rem; padding-right: 40px; }
details a { color: var(--gold-hi); }

/* ---------- final cta ---------- */
.final { text-align: center; overflow: hidden; }
.final-bg { position: absolute; inset: 0; z-index: 0; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 50% 50%, rgba(10, 10, 9, .25), var(--bg) 85%), linear-gradient(180deg, var(--bg), transparent 25%, transparent 70%, var(--bg)); }
.final .wrap { position: relative; z-index: 1; }
.final h2 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); max-width: 14ch; margin: 0 auto; }
.final .lede { text-align: center; margin-left: auto; margin-right: auto; }
.final .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 42px; }
.final .trust { justify-content: center; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--rule); padding: 56px 0 120px; color: var(--muted); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.legal { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--rule); font-size: 12.5px; line-height: 1.7; color: var(--dim); max-width: 62rem; }

/* ---------- sticky mobile cta ---------- */
.sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: rgba(21, 21, 20, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--rule-2); border-radius: 999px; box-shadow: 0 16px 50px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.sticky.show { transform: none; }
.sticky span { font-size: 14px; line-height: 1.25; }
.sticky span small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav ul { display: none; }
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 104px; padding-bottom: 56px; }
  .hero-phone { margin-top: 24px; width: min(300px, 72vw); }
  .chip.a { left: -22px; } .chip.b { right: -18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .stat:nth-child(2) { border-right: 0; }
  .leaks, .steps { grid-template-columns: 1fr; }
  .moments-grid { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; white-space: nowrap; }
  .tab::after { display: none; }
  .panel { min-height: 420px; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .f-text { order: 0; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .sticky { display: flex; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img:nth-child(n+5) { display: none; }
  .price-opts { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .chip { display: none; }
  .badge-link img { height: 52px; }
  .btn { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .chip { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}
