/* Immersive hole flyover: fixed WebGL stage, chapters as broadcast overlays, scroll = shots. */
html.lr-immersive { scroll-snap-type: y mandatory; overflow-x: clip; background: var(--lr-navy-deep); }
html.lr-immersive::-webkit-scrollbar { width: 0; }
html.lr-immersive { scrollbar-width: none; }
.lr-track > div { height: 100vh; scroll-snap-align: start; scroll-snap-stop: always; }

.lr-immersive .lr-stage { position: fixed; inset: 0; z-index: 0; background: var(--lr-navy-deep); }
.lr-stage canvas { width: 100%; height: 100%; display: block; }
.lr-stage::after { content: ""; position: absolute; inset: 0; z-index: 4; background: var(--lr-navy-deep); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.lr-stage.is-cutting::after { opacity: 1; }
.lr-scrim, .lr-scrim::before, .lr-scrim::after { position: absolute; inset: 0; pointer-events: none; transition: opacity 1s ease; }
.lr-scrim { background: linear-gradient(180deg, rgba(10,9,28,.6) 0, transparent 18%, transparent 78%, rgba(10,9,28,.55) 100%); }
.lr-scrim::before { content: ""; background: linear-gradient(90deg, rgba(10,9,28,.78) 0, rgba(10,9,28,.42) 34%, transparent 62%); }
.lr-scrim::after { content: ""; opacity: 0; background: radial-gradient(ellipse at center, rgba(10,9,28,.45), rgba(10,9,28,.82)); }
html[data-chapter="5"] .lr-scrim::before, html[data-chapter="7"] .lr-scrim::before { opacity: 0; }
html[data-chapter="5"] .lr-scrim::after { opacity: 1; }
html[data-chapter="7"] .lr-scrim::after { opacity: .55; }
.lr-intro-running .lr-scrim { opacity: 0; }
.lr-flash { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; background: radial-gradient(circle at 58% 66%, rgba(255,248,214,.75), rgba(255,236,170,.18) 22%, transparent 48%); }
.lr-flash.is-on { animation: lr-flash .5s ease-out; }

.lr-immersive .lr-header { position: fixed; inset: 0 0 auto; background: none; backdrop-filter: none; padding-top: env(safe-area-inset-top); }
.lr-immersive .lr-header, .lr-hud, .lr-rail { transition: opacity .8s ease; }
.lr-intro-running .lr-header, .lr-intro-running .lr-hud, .lr-intro-running .lr-rail { opacity: 0; pointer-events: none; }

.lr-intro { position: fixed; inset: 0; z-index: 200; place-items: center; background: var(--lr-navy-deep); transition: background-color 1.6s ease .3s; }
.lr-booting .lr-intro, .lr-immersive .lr-intro { display: grid; }
.lr-intro.is-playing { background-color: transparent; pointer-events: none; }
.lr-intro.is-done { display: none; }
.lr-intro-card { display: grid; justify-items: center; gap: 14px; text-align: center; }
.lr-intro-crest { width: 68px; height: 81px; margin-bottom: 10px; }
.lr-intro-crest strong { font-size: 27px; }
.lr-intro-crest small { font-size: 9px; }
.lr-intro-presents { color: var(--lr-soft); font-size: 11px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; }
.lr-intro-hole { display: grid; gap: 4px; }
.lr-intro-hole b { font: italic 900 clamp(64px, 11vw, 140px)/.85 var(--lr-display); letter-spacing: -.06em; }
.lr-intro-hole span { color: var(--lr-gold); font: 800 clamp(20px, 2.6vw, 32px)/1 var(--lr-display); letter-spacing: -.02em; text-transform: uppercase; }
.lr-intro-meta { display: flex; align-items: center; gap: 12px; color: var(--lr-soft); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.lr-intro-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--lr-gold); }
.lr-intro-loader { width: 160px; height: 2px; margin-top: 18px; overflow: hidden; background: rgba(255,255,255,.14); }
.lr-intro-loader span { width: 40%; height: 100%; display: block; background: var(--lr-gold); animation: lr-load 1.1s ease-in-out infinite; }
.lr-intro.is-playing .lr-intro-loader { opacity: 0; }
.lr-intro.is-playing .lr-intro-card > * { animation: lr-title-out .9s cubic-bezier(.6,0,.4,1) both; animation-delay: calc(2.3s + var(--o, 0) * 70ms); }
.lr-intro-card > :nth-child(2) { --o: 1; }
.lr-intro-card > :nth-child(3) { --o: 2; }
.lr-intro-card > :nth-child(4) { --o: 3; }
.lr-intro-card > * { text-shadow: 0 4px 30px rgba(6,5,20,.5); }
.lr-intro-skip { position: absolute; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); border: 0; padding: 10px 14px; background: none; color: var(--lr-dim); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; opacity: 0; pointer-events: auto; }
.lr-intro.is-playing .lr-intro-skip { opacity: 1; transition: opacity .4s 1s; }

.lr-immersive .lr-chapter {
  position: fixed; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: safe center;
  padding: calc(104px + env(safe-area-inset-top)) clamp(104px, 9vw, 150px) 112px clamp(28px, 6.5vw, 104px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
}
.lr-immersive .lr-chapter.is-active { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.lr-immersive .lr-copy { max-width: 620px; }
.lr-immersive .lr-copy.lr-centered { max-width: 820px; }
.lr-immersive .lr-reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .25s ease, transform .25s ease; }
.lr-immersive .is-active .lr-reveal { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 85ms + 120ms); }
.lr-immersive .lr-wipe { clip-path: inset(-12% 100% -24% 0); transition: clip-path .25s ease; }
.lr-immersive .is-active .lr-wipe { clip-path: inset(-12% -6% -24% 0); transition: clip-path 1.15s cubic-bezier(.75,0,.2,1) calc(var(--i, 0) * 85ms + 80ms); }

.lr-immersive .lr-ch-tee .lr-use-strip { position: absolute; left: clamp(28px, 6.5vw, 104px); bottom: 34px; }
.lr-immersive .lr-ch-built, .lr-immersive .lr-ch-features { justify-content: flex-start; gap: 34px; }
.lr-immersive .lr-ch-built .lr-audience-grid { margin-top: auto; }
.lr-immersive .lr-ch-features .lr-feature-grid { max-width: 820px; }
.lr-immersive .lr-ch-product { flex-direction: row; align-items: center; justify-content: space-between; gap: 60px; }
.lr-immersive .lr-ch-product .lr-copy { max-width: 470px; }
.lr-immersive .lr-ch-product .lr-score-stage { width: min(500px, 44vw); flex: none; }
.lr-immersive .lr-ch-flow { justify-content: flex-end; gap: 30px; }
.lr-immersive .is-active .lr-birdie b { animation: lr-stamp .7s cubic-bezier(.2,1.6,.4,1) .2s both; }
.lr-immersive .lr-ch-pricing { padding-left: clamp(24px, 7vw, 110px); padding-right: clamp(24px, 7vw, 110px); gap: 26px; }
.lr-immersive .lr-ch-pricing .lr-price-grid { width: min(1160px, 100%); margin: 0 auto; }
.lr-immersive .lr-ch-faq { justify-content: center; gap: 26px; }
.lr-immersive .lr-ch-faq .lr-faq-list { max-width: 620px; }
.lr-immersive .lr-ch-final { justify-content: flex-start; padding: calc(17vh + env(safe-area-inset-top)) 24px 0; }
.lr-immersive .lr-ch-final h2 { font-size: clamp(44px, 6vw, 86px); }
.lr-immersive .lr-ch-final .lr-footer { position: absolute; left: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 56px); bottom: calc(24px + env(safe-area-inset-bottom)); }

.lr-hud { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
.lr-tracker { position: absolute; right: 64px; top: calc(92px + env(safe-area-inset-top)); width: 290px; padding: 14px 16px 14px; border: 1px solid var(--lr-glass-line); border-radius: 16px; background: rgba(15,14,36,.72); backdrop-filter: blur(14px); transition: opacity .5s ease, transform .5s ease; }
html[data-chapter="2"] .lr-tracker:not(.is-live), html[data-chapter="5"] .lr-tracker, html[data-chapter="6"] .lr-tracker { opacity: 0; transform: translateY(-12px); }
html[data-chapter="7"] .lr-map { display: none; }
.lr-tracker-hole { display: flex; align-items: center; gap: 8px; color: var(--lr-soft); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lr-tracker-hole i { width: 7px; height: 7px; border-radius: 50%; background: var(--lr-gold); }
.lr-map { width: 100%; height: auto; margin: 10px 0 8px; display: block; overflow: visible; }
.lr-map-fairway { fill: rgba(126, 196, 92, .55); }
.lr-map-green { fill: #8fd36a; }
.lr-map-tee { fill: rgba(126, 196, 92, .8); }
.lr-map-water { fill: rgba(92, 150, 220, .6); }
.lr-map-bunker { fill: rgba(240, 222, 170, .85); }
.lr-map-pin { fill: #fff; }
.lr-map-shot { fill: none; stroke: var(--lr-gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(241,207,24,.8)); }
.lr-map-ball { fill: #fff; stroke: var(--lr-navy); stroke-width: 2; }
.lr-tracker-readout { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 12px; }
.lr-tracker-readout span { color: var(--lr-gold); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lr-tracker-readout strong { grid-row: span 2; font: 800 30px/1 var(--lr-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lr-tracker-readout small { color: var(--lr-dim); font-size: 10px; }
.lr-tracker.is-live strong { color: var(--lr-gold); }

.lr-cue { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 10px; color: var(--lr-soft); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
.lr-cue::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--lr-gold); border-bottom: 2px solid var(--lr-gold); transform: rotate(45deg); animation: lr-nudge 1.6s ease-in-out infinite; }
html[data-chapter="7"] .lr-cue::after { transform: rotate(-135deg); animation: none; }
html[data-chapter="5"] .lr-cue, html[data-chapter="7"] .lr-cue { opacity: 0; }
.lr-swing { width: 120px; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.16); opacity: min(1, calc(var(--power, 0) * 8)); }
.lr-swing b { width: calc(var(--power, 0) * 100%); height: 100%; display: block; background: linear-gradient(90deg, var(--lr-green-bright), var(--lr-gold) 70%, #ff7a45); }

.lr-rail { position: fixed; right: 22px; top: 50%; z-index: 30; transform: translateY(-50%); }
.lr-rail ol { margin: 0; padding: 0; display: grid; gap: 4px; list-style: none; }
.lr-rail a { height: 24px; display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; color: var(--lr-dim); }
.lr-rail i { width: 8px; height: 8px; flex: none; border: 1.5px solid rgba(255,255,255,.55); border-radius: 50%; transition: background .3s, border-color .3s, transform .3s; }
.lr-rail span { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; }
.lr-rail a:hover span, .lr-rail a:focus-visible span, .lr-rail a.is-current span { opacity: 1; transform: none; }
html[data-chapter="5"] .lr-rail a.is-current:not(:hover) span { opacity: 0; }
.lr-rail a.is-current { color: #fff; }
.lr-rail a.is-current i { border-color: var(--lr-gold); background: var(--lr-gold); transform: scale(1.25); box-shadow: 0 0 12px rgba(241,207,24,.7); }

@keyframes lr-flash { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lr-load { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@keyframes lr-title-out { to { opacity: 0; transform: translateY(-18px); filter: blur(6px); } }
@keyframes lr-nudge { 50% { transform: translateY(5px) rotate(45deg); } }
@keyframes lr-stamp { from { transform: scale(2.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-height: 780px) and (min-width: 901px) {
  .lr-map { display: none; }
  .lr-immersive .lr-chapter { padding-top: 92px; padding-bottom: 96px; }
  .lr-audience-card { min-height: 180px; }
  .lr-feature-grid article { min-height: 0; padding: 14px 16px; }
  .lr-feature-grid h3 { margin: 12px 0 6px; font-size: 18px; }
  .lr-feature-grid p { font-size: 11px; }
  .lr-site h2 { font-size: clamp(34px, 4vw, 54px); }
  .lr-immersive .lr-ch-built, .lr-immersive .lr-ch-features { gap: 22px; }
  .lr-immersive .lr-ch-pricing { gap: 18px; }
  .lr-ch-pricing .lr-lede { display: none; }
  .lr-price-card { padding: 18px; }
  .lr-price-card h3 { margin-top: 14px; }
  .lr-price { margin-top: 12px; }
  .lr-price-card ul { margin: 12px 0; }
  .lr-price-card li { margin-bottom: 7px; }
}

@media (max-width: 900px), (max-aspect-ratio: 4/5) {
  .lr-immersive .lr-chapter { justify-content: flex-start; gap: 18px; padding: calc(118px + env(safe-area-inset-top)) 16px calc(64px + env(safe-area-inset-bottom)); }
  .lr-immersive .lr-ch-tee { justify-content: flex-start; }
  .lr-immersive .lr-ch-tee .lr-use-strip { position: static; margin-top: auto; gap: 8px 16px; font-size: 10px; }
  .lr-immersive .lr-ch-product { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px; }
  .lr-immersive .lr-ch-product .lr-score-stage { width: 100%; margin-top: auto; }
  .lr-immersive .lr-ch-features .lr-feature-grid, .lr-immersive .lr-ch-built .lr-audience-grid, .lr-immersive .lr-ch-flow .lr-flow-grid { margin-top: auto; }
  .lr-immersive .lr-ch-flow { justify-content: flex-start; }
  .lr-immersive .lr-ch-faq { justify-content: flex-start; }
  .lr-immersive .lr-ch-final { padding-top: calc(16vh + env(safe-area-inset-top)); }
  .lr-immersive .lr-ch-final .lr-footer { left: 16px; right: 16px; }
  .lr-scrim::before { background: linear-gradient(180deg, rgba(10,9,28,.82) 0, rgba(10,9,28,.35) 46%, transparent 60%, rgba(10,9,28,.7) 100%); }
  .lr-site h1 { font-size: clamp(44px, 12.5vw, 64px); }
  .lr-site h2 { margin-top: 10px; font-size: clamp(30px, 8.6vw, 44px); }
  .lr-lede { margin-top: 12px !important; font-size: 14px; line-height: 1.55; }
  .lr-actions { margin-top: 20px; }
  .lr-audience-grid, .lr-feature-grid, .lr-flow-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lr-audience-card { min-height: 0; padding: 14px; border-radius: 14px; }
  .lr-audience-card h3 { margin: 14px 0 6px; font-size: 18px; }
  .lr-audience-card p, .lr-feature-grid p { font-size: 11px; line-height: 1.45; }
  .lr-feature-grid article { min-height: 0; padding: 13px; border-radius: 13px; }
  .lr-feature-grid h3 { margin: 10px 0 5px; font-size: 16px; }
  .lr-flow-grid li { padding: 12px 8px 0 0; }
  .lr-flow-grid h3 { margin: 10px 0 5px; font-size: 17px; }
  .lr-flow-grid p { font-size: 11px; line-height: 1.45; }
  .lr-birdie b { width: 52px; height: 52px; font-size: 26px; }
  .lr-birdie span { font-size: 42px; }
  .lr-immersive .lr-price-grid { margin: auto -16px 0; padding: 4px 16px 8px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .lr-immersive .lr-price-card { flex: 0 0 min(78vw, 300px); scroll-snap-align: center; }
  .lr-faq-list { padding: 2px 16px; }
  .lr-faq-list summary { padding: 14px 0; font-size: 14px; }
  .lr-faq-list details p { margin: -4px 0 14px; font-size: 12px; }
  .lr-tracker { top: calc(96px + env(safe-area-inset-top)); bottom: auto; left: 16px; right: auto; width: auto; padding: 0; border: 0; background: none; backdrop-filter: none; }
  .lr-tracker-hole, .lr-map, .lr-tracker-readout small { display: none; }
  .lr-tracker-readout { display: flex; align-items: baseline; gap: 8px; }
  .lr-tracker-readout strong { font-size: 13px; }
  .lr-tracker { opacity: 0; }
  .lr-tracker.is-live { opacity: 1; }
  .lr-rail { top: calc(68px + env(safe-area-inset-top)); left: 16px; right: 16px; transform: none; }
  .lr-rail ol { display: flex; gap: 4px; }
  .lr-rail li { flex: 1; }
  .lr-rail a { height: 14px; }
  .lr-rail i { width: 100%; height: 3px; border: 0; border-radius: 2px; background: rgba(255,255,255,.25); }
  .lr-rail a.is-current i { transform: none; }
  .lr-rail span { display: none; }
  .lr-cue { bottom: calc(14px + env(safe-area-inset-bottom)); font-size: 9px; gap: 6px; }
  .lr-cue::after { width: 9px; height: 9px; }
  html[data-chapter="1"] .lr-cue, html[data-chapter="3"] .lr-cue, html[data-chapter="4"] .lr-cue { opacity: 0; }
}

@media (max-width: 900px) and (max-height: 760px), (max-height: 520px) {
  .lr-audience-card p, .lr-feature-grid p, .lr-flow-grid p { display: none; }
  .lr-immersive .lr-chapter { overflow-y: auto; }
}
