/* =========================================================
   MC Racing Sim — VERSION 2 stylesheet
   Theme: race broadcast / telemetry. Every page uses this file.
   ========================================================= */
:root {
  --bg: #0a0a0c;
  --bg-2: #121216;
  --panel: #17171c;
  --panel-2: #1e1e25;
  --line: rgba(255,255,255,.09);
  --text: #f4f4f6;
  --muted: #9b9ba8;
  --red: #ff1f1f;
  --red-2: #c80000;
  --gold: #ffc72c;
  --green: #2bd96b;
  --radius: 14px;
  --max: 1220px;
  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --kerb: repeating-linear-gradient(90deg, var(--red) 0 26px, #fff 26px 52px);
  --checker: conic-gradient(#fff 25%, #111 0 50%, #fff 0 75%, #111 0) 0 0 / 14px 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
body::before { /* faint carbon texture */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px);
}
main, header, footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-style: italic; }
h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-style: italic; }
h3 { font-size: 1.6rem; margin-bottom: 8px; }
.red { color: var(--red); }
.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 640px; }
section { padding: 96px 0; position: relative; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* section heading block: big index number + tag + title */
.sec-head { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 18px; }
.sec-num { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 4.4rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.tag { font-family: var(--mono); color: var(--red); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.center .sec-head { justify-content: center; }

/* kerb + checker accents */
.kerb { height: 8px; background: var(--kerb); }
.checker { height: 14px; background: var(--checker); opacity: .9; }

/* ---------- Buttons ---------- */
.btn { --skew: -12deg; display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; transform: skewX(var(--skew)); transition: transform .2s, background .2s, box-shadow .2s; border: 2px solid transparent; cursor: pointer; font-family: var(--body); border-radius: 4px; }
.btn > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.btn:hover { transform: skewX(var(--skew)) translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 30px rgba(255,31,31,.35); }
.btn-red:hover { background: var(--red-2); box-shadow: 0 10px 40px rgba(255,31,31,.5); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(0,0,0,.25); }
.btn-ghost:hover { background: #fff; color: #111; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.center .btn-row { justify-content: center; }
.phone-note { margin-top: 16px; color: var(--muted); font-size: .95rem; }
.phone-note a { color: #fff; font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------- Status bar + header ---------- */
.statusbar { background: #000; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.statusbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 0 currentColor; }
.status.open .dot { background: var(--green); animation: pulse 1.8s infinite; color: rgba(43,217,107,.6); }
.status.closed .dot { background: var(--red); }
.status.resv .dot { background: var(--gold); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.statusbar a { color: var(--muted); text-decoration: none; }
.statusbar a:hover { color: #fff; }
@media (max-width: 640px) { .statusbar .addr { display: none; } }

.site-header { position: sticky; top: 0; z-index: 60; transition: background .3s, border-color .3s; background: rgba(10,10,12,.55); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(10,10,12,.94); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .92rem; color: #cfcfd6; text-transform: uppercase; letter-spacing: .06em; position: relative; padding: 4px 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--red); transition: right .25s; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active, .nav-links a:hover { color: #fff; }
.nav-links .btn { padding: 11px 20px; color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; width: 44px; height: 44px; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 7px 8px; transition: transform .25s, opacity .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: rgba(10,10,12,.98); padding: 18px 20px 26px; gap: 4px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; justify-content: center; }
}

/* ---------- Hero ---------- */
.opener { display: flex; flex-direction: column; min-height: calc(100vh - 110px); min-height: calc(100svh - 110px); }
.hero { position: relative; display: flex; align-items: center; overflow: hidden; flex: 1; padding: 50px 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: slowzoom 18s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(100deg, rgba(10,10,12,.96) 0%, rgba(10,10,12,.82) 38%, rgba(10,10,12,.35) 70%, rgba(10,10,12,.55) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero::after { /* speed lines */ content: ""; position: absolute; inset: 0; z-index: 1; opacity: .18; background: repeating-linear-gradient(100deg, transparent 0 60px, rgba(255,255,255,.05) 60px 62px); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; min-width: 0; }
.hero p.sub { max-width: 600px; font-size: 1.2rem; color: #d6d6dd; margin-top: 18px; }
.hero h1 .line2 { display: block; color: var(--red); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; padding: 6px 12px; border-left: 3px solid var(--red); background: rgba(255,255,255,.06); }
.hero.short { min-height: 52vh; }
.hero.short .container { grid-template-columns: 1fr; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } .gauge-wrap { display: none; } }

/* rating gauge (tachometer showing 5.0) */
.gauge-wrap { justify-self: end; text-align: center; }
.gauge { width: 300px; max-width: 100%; filter: drop-shadow(0 0 30px rgba(255,199,44,.18)); }
.gauge .track { stroke: rgba(255,255,255,.1); }
.gauge .fill { stroke: url(#gaugeGrad); stroke-dasharray: 560; stroke-dashoffset: 560; animation: rev 1.8s .3s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes rev { to { stroke-dashoffset: 0; } }
.gauge .num { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 76px; fill: #fff; }
.gauge .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; fill: var(--muted); }
.gauge .stars { font-size: 22px; fill: var(--gold); letter-spacing: 3px; }
.gauge-caption { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; margin-top: -6px; }

/* rating pill (shows on phones instead of the gauge, and on hero) */
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 20px; border: 2px solid var(--gold); border-radius: 40px; background: rgba(0,0,0,.55); box-shadow: 0 0 26px rgba(255,199,44,.22); font-weight: 600; font-size: 1.1rem; margin-bottom: 22px; max-width: 100%; }
.rating .stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 2px; }
.rating strong { font-family: var(--display); font-size: 1.8rem; font-style: italic; color: var(--gold); line-height: 1; }
@media (min-width: 901px) { .rating.mobile-only { display: none; } }

/* ---------- Review timing board ---------- */
.board { background: #050506; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.board-head { display: flex; align-items: center; gap: 12px; padding: 10px 0 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.board-head .live { color: var(--red); display: inline-flex; gap: 6px; align-items: center; }
.board-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.board-viewport { overflow: hidden; padding: 12px 0 18px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.board-track { display: flex; gap: 14px; width: max-content; animation: scroll 140s linear infinite; }
.board:hover .board-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.rv { width: 360px; flex-shrink: 0; display: grid; grid-template-columns: 46px 1fr; gap: 0 14px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.rv .pos { grid-row: span 3; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem; background: var(--red); color: #fff; border-radius: 6px; display: grid; place-items: center; height: 46px; }
.rv .who { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.rv .who .st { color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.rv q { color: #cfcfd6; font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; quotes: "\201C" "\201D"; }
@media (prefers-reduced-motion: reduce) { .board-track, .hero-bg, .gauge .fill { animation: none; } .gauge .fill { stroke-dashoffset: 0; } }

/* ---------- Telemetry stat tiles ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { position: relative; padding: 26px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--panel-2), var(--bg-2)); overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); }
.stat .num { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 3.4rem; line-height: 1; }
.stat .label { font-family: var(--mono); color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; margin-top: 8px; }
.stat .bar { height: 4px; margin-top: 14px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.stat .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.stat.in .bar i { width: var(--w, 100%); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards, grids, panels ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 36px; }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .grid-2 { gap: 36px; } }
.card { position: relative; background: linear-gradient(170deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255,31,31,.45); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.card p { color: var(--muted); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,31,31,.12); color: var(--red); margin-bottom: 18px; }
.card .icon svg { width: 28px; height: 28px; }
.card .k { font-family: var(--mono); font-size: .75rem; color: var(--red); letter-spacing: .12em; }
.checklist { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.checklist li { padding-left: 34px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 4px; background: var(--checker); background-size: 7px 7px; }
.photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s; }
.photo:hover img { transform: scale(1.04); }
.photo .hud { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.chip { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); border-left: 3px solid var(--red); padding: 8px 14px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.chip strong { display: block; font-family: var(--display); font-style: italic; font-size: 1.5rem; color: #fff; letter-spacing: 0; line-height: 1.1; }
.photo .corner { position: absolute; top: 0; right: 0; width: 80px; height: 80px; background: var(--checker); clip-path: polygon(100% 0, 0 0, 100% 100%); opacity: .85; }
.callout { margin-top: 22px; padding: 16px 20px; border: 1px solid rgba(255,199,44,.35); border-left: 4px solid var(--gold); background: rgba(255,199,44,.07); border-radius: 8px; font-weight: 600; }
.callout b { color: var(--gold); font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; margin-right: 8px; }

/* angled section */
.angled { background: var(--bg-2); clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%); padding: 136px 0; }

/* CTA banner */
.cta { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,12,.95) 0%, rgba(10,10,12,.7) 55%, rgba(200,0,0,.35) 100%); z-index: 1; }
.cta .inner { position: relative; z-index: 2; padding: 64px 56px; max-width: 680px; }
.seats { display: flex; gap: 10px; margin: 22px 0 6px; }
.seat { width: 54px; height: 54px; border-radius: 10px; border: 2px solid var(--red); display: grid; place-items: center; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.5rem; background: rgba(255,31,31,.15); }
@media (max-width: 600px) { .cta .inner { padding: 44px 24px; } }

/* ---------- Pricing calculator ---------- */
.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); margin-top: 36px; }
.calc-controls { padding: 34px; display: grid; gap: 24px; }
.calc-label { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { flex: 1; min-width: 90px; padding: 14px 12px; background: var(--bg); border: 1px solid var(--line); color: #ddd; border-radius: 10px; font: 600 1rem var(--body); cursor: pointer; transition: all .15s; }
.seg button small { display: block; font-family: var(--mono); font-size: .68rem; color: var(--muted); letter-spacing: .06em; margin-top: 2px; }
.seg button:hover { border-color: rgba(255,31,31,.5); }
.seg button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(255,31,31,.3); }
.seg button[aria-pressed="true"] small { color: rgba(255,255,255,.85); }
.calc-out { background: linear-gradient(160deg, #1d0606, #0d0d10 70%); padding: 34px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); position: relative; }
.calc-out::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--kerb); }
.calc-price { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 5.4rem; line-height: 1; }
.calc-price sup { font-size: 2.2rem; vertical-align: top; position: relative; top: .5rem; margin-right: 4px; color: var(--red); }
.calc-meta { color: var(--muted); margin-top: 8px; }
.calc-per { font-family: var(--mono); font-size: .8rem; color: var(--gold); margin-top: 10px; letter-spacing: .06em; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-out { border-left: 0; border-top: 1px solid var(--line); } }

table { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: #0f0f13; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 400; }
tr:last-child td { border-bottom: 0; }
td.price { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.4rem; }
.table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; counter-reset: s; }
.step { position: relative; padding: 0 22px 0 0; }
.step .n { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--red); display: grid; place-items: center; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem; background: var(--bg); position: relative; z-index: 2; }
.step::before { content: ""; position: absolute; top: 28px; left: 58px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 18px); }
.step:last-child::before { display: none; }
.step h3 { margin-top: 18px; font-size: 1.4rem; }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 30px; } .step::before { display: none; } }

/* ---------- Memberships ---------- */
.tier { display: flex; flex-direction: column; padding: 34px 30px; }
.tier.featured { border: 2px solid var(--red); background: linear-gradient(170deg, #2a0b0b, var(--panel) 55%); box-shadow: 0 20px 60px rgba(255,31,31,.18); }
.tier .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) skewX(-12deg); background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 16px; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.tier .badge span { display: inline-block; transform: skewX(12deg); }
.tier h3 { font-size: 2rem; }
.tier .sub { color: var(--muted); font-size: .92rem; min-height: 1.5em; }
.tier .amt { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 4.6rem; line-height: 1; margin-top: 16px; }
.tier .amt small { font-size: 1.1rem; color: var(--muted); font-style: normal; font-family: var(--body); font-weight: 600; }
.tier .note { font-family: var(--mono); font-size: .72rem; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.specs { margin: 24px 0; display: grid; gap: 0; flex: 1; }
.spec { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.spec span:first-child { color: var(--muted); }
.spec span:last-child { font-weight: 600; text-align: right; }

/* ---------- Gallery + lightbox ---------- */
.gallery { columns: 4 240px; column-gap: 12px; margin-top: 36px; }
.gallery figure { break-inside: avoid; margin-bottom: 12px; position: relative; border-radius: 10px; overflow: hidden; cursor: zoom-in; border: 1px solid var(--line); }
.gallery img { width: 100%; transition: transform .5s, filter .5s; filter: saturate(.9); }
.gallery figure:hover img { transform: scale(1.05); filter: saturate(1.1); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.gallery figure:hover figcaption { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox .x { top: 20px; right: 20px; }
.lightbox .prev { left: 20px; top: 50%; }
.lightbox .next { right: 20px; top: 50%; }
.lightbox .cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

/* facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.fact strong { display: block; font-family: var(--display); font-style: italic; font-size: 2rem; line-height: 1; }
.fact span { color: var(--muted); font-size: .92rem; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } }

/* hours board */
.hours { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.hours .row { display: flex; justify-content: space-between; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.hours .row:last-child { border-bottom: 0; }
.hours .row b { font-family: var(--mono); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }
.hours .row.today { background: rgba(255,31,31,.1); box-shadow: inset 4px 0 0 var(--red); }
.hours .row.today b::after { content: " · today"; color: var(--red); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.5rem; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.8rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 720px; }

/* ---------- Forms ---------- */
form.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input, select, textarea { width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: #fff; font: inherit; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,31,31,.15); }
@media (max-width: 640px) { form.grid-form { grid-template-columns: 1fr; } }
.contact-side .card { margin-bottom: 16px; }
.contact-side a { color: #fff; font-weight: 700; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: #050506; margin-top: 0; }
.footer-main { padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); }
.site-footer h4 { font-family: var(--mono); color: var(--red); text-transform: uppercase; font-size: .76rem; letter-spacing: .14em; margin-bottom: 16px; font-weight: 400; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: #fff; }
.ft-line { color: var(--muted); margin-bottom: 10px; }
.ft-line small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; color: var(--red); }
.ft-line a, .ft-line span { color: #fff; }
.hrow { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; color: var(--muted); font-size: .94rem; }
.hrow b { font-family: var(--mono); font-weight: 400; font-size: .78rem; color: #fff; letter-spacing: .08em; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { margin-left: 18px; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,12,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .mobile-bar a { text-align: center; padding: 13px; border-radius: 10px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
  .mobile-bar .call { border: 1px solid rgba(255,255,255,.4); }
  .mobile-bar .book { background: var(--red); }
  body { padding-bottom: 76px; }
}

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Phone opener: keep the review board on the first screen ---------- */
@media (max-width: 700px) {
  .opener { min-height: calc(100svh - 110px - 76px); }
  .hero { padding: 22px 0 18px; }
  .opener .eyebrow, .opener .hero .phone-note { display: none; }
  .rating { padding: 7px 14px; gap: 4px 10px; font-size: .92rem; margin-bottom: 14px; }
  .rating .stars { font-size: 1.1rem; }
  .rating strong { font-size: 1.35rem; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero p.sub { font-size: 1.02rem; margin-top: 12px; }
  .btn-row { margin-top: 18px; gap: 12px; }
  .btn { padding: 13px 22px; }
  .board-head { padding-top: 8px; }
  .board-viewport { padding: 8px 0 12px; }
  .rv { width: 300px; padding: 12px 14px; grid-template-columns: 38px 1fr; }
  .rv .pos { height: 38px; font-size: 1.3rem; }
  .sec-num { font-size: 3.2rem; }
}

/* big call / text line under the hero buttons */
.hero-phone { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; padding: 12px 20px 12px 14px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; }
.hero-phone svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--red); color: #fff; flex-shrink: 0; }
.hero-phone span { display: block; color: #d6d6dd; font-size: 1rem; line-height: 1.3; }
.hero-phone a { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2.1rem; line-height: 1.05; color: #fff; text-decoration: none; letter-spacing: .01em; }
.hero-phone a:hover { color: var(--red); }
@media (max-width: 700px) { .opener .hero-phone { display: none; } .mobile-bar { grid-template-columns: 1fr 1fr 1.4fr; } }
/* five session-length buttons fit on one row */
.seg button { min-width: 76px; }

/* five steps across */
.steps { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }

/* checkered flag band (replaces the red/white kerb stripe) */
.kerb { height: 46px; background: conic-gradient(#fff 25%, #0a0a0c 0 50%, #fff 0 75%, #0a0a0c 0) 0 0 / 40px 40px;
        border-top: 3px solid var(--red); border-bottom: 3px solid var(--red);
        box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), 0 0 24px rgba(255,31,31,.25); }
.calc-out::before { height: 12px; background: conic-gradient(#fff 25%, #0a0a0c 0 50%, #fff 0 75%, #0a0a0c 0) 0 0 / 12px 12px; border-bottom: 2px solid var(--red); }

/* hero photo slid to the right half (pricing sign) */
.hero-bg.shift { left: 34%; width: 66%; object-position: center 55%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
@media (max-width: 900px) { .hero-bg.shift { left: 0; width: 100%; -webkit-mask-image: none; mask-image: none; } }
/* six spec tiles: 3 across */
.facts.six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .facts.six { grid-template-columns: 1fr 1fr; } }

/* pricing hero: sign as a band across the top-right, neon yoke glowing below it */
.hero-bg.shift { top: 0; height: 62%; object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 22%), linear-gradient(180deg, #000 62%, transparent 100%); mask-composite: intersect; }
.neon-yoke { position: absolute; z-index: 2; right: 9%; bottom: 4%; width: min(330px, 26vw); pointer-events: none; animation: flicker 6s infinite; }
.neon-yoke .tube { stroke-width: 5; }
.neon-yoke .thin { stroke-width: 3; opacity: .85; }
.neon-yoke .red { stroke: #ff2a52; }
.neon-yoke .blue { stroke: #4d7bff; }
.neon-yoke .white { stroke: #f3e9ff; }
@keyframes flicker { 0%, 91%, 95%, 100% { opacity: 1; } 92% { opacity: .55; } 94% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .neon-yoke { animation: none; } }
@media (max-width: 900px) { .neon-yoke { display: none; } .hero-bg.shift { height: 100%; -webkit-mask-image: none; mask-image: none; } }

/* tighter spacing between sections */
section { padding: 60px 0; }
.angled { padding: 84px 0; clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%); }
.grid-3, .grid-auto { margin-top: 28px; }
.sec-head { margin-bottom: 14px; }
.hero.short { min-height: 44vh; }
.hero.short.pricing-hero { min-height: 38vh; padding-bottom: 30px; }
@media (max-width: 700px) { section { padding: 44px 0; } .angled { padding: 64px 0; } }
