/* ==========================================================================
   tomjonespool.com · Tom "Tommy Gun" Jones
   Colours taken from the match shirt: black body, red collar & cuffs,
   brass/copper bullets, red smoke trails.
   ========================================================================== */

/* Fonts: served from this site (no Google Fonts requests). Latin subset, SIL Open Font License. */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/anton-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-italic.woff2") format("woff2"); }

:root {
  --bg: #07070a;
  --bg-2: #0d0d11;
  --surface: #131318;
  --surface-2: #1a1a21;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f4f1ec;
  --muted: #a8a39c;
  --red: #e3141b;
  --red-hi: #ff3a40;
  --red-deep: #7c0a0f;
  --gold: #d9a441;
  --gold-hi: #f4d58a;
  --copper: #c86a2c;

  --f-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 76px;
  --radius: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-snap: cubic-bezier(.2, 1.5, .35, 1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--red); color: #fff; padding: .7rem 1rem; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }

.text-red { color: var(--red); }

/* scroll progress (a thin red cue line) */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--red-deep), var(--red) 60%, var(--gold-hi));
  box-shadow: 0 0 12px rgba(227, 20, 27, .7);
}

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font: 600 .95rem/1 var(--f-cond); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 2px; background: var(--red); box-shadow: 0 0 10px var(--red); }

.eyebrow {
  font: 600 1rem/1.2 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}

.h2 {
  font: 400 clamp(2.6rem, 6.2vw, 4.75rem)/.95 var(--f-display);
  text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: 1.4rem;
}
.section-sub { color: var(--muted); font-size: 1.125rem; max-width: 46rem; }

.section { position: relative; padding-block: clamp(5rem, 11vw, 8.5rem); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1.05rem/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s, background-color .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__icon { width: 1.15rem; height: 1.15rem; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -8px rgba(227, 20, 27, .65); }
.btn--red::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .35) 45%, transparent 60%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn--red:hover { background: var(--red-hi); box-shadow: 0 14px 40px -8px rgba(227, 20, 27, .85); }
.btn--red:hover::after { transform: translateX(120%); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--sm { min-height: 2.6rem; padding: .6rem 1.15rem; font-size: .95rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s, transform .35s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(7, 7, 10, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, .35);
}
.site-header.is-scrolled::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .6;
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 52px; height: auto; filter: drop-shadow(0 4px 10px rgba(227, 20, 27, .35)); transition: transform .4s var(--ease-snap); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 400 1.85rem/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; }
.brand__nick { font: italic 700 .85rem/1.2 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }

.site-nav ul { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.6rem); }
.site-nav a:not(.btn) {
  position: relative; text-decoration: none;
  font: 600 1rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: #d9d4cc;
  padding: .5rem 0; transition: color .2s;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.site-nav a:not(.btn):hover, .site-nav a.is-active { color: #fff; }
.site-nav a:not(.btn):hover::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); cursor: pointer; position: relative; z-index: 2;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    display: grid; place-items: center;
    background:
      radial-gradient(circle at 80% 10%, rgba(227, 20, 27, .28), transparent 50%),
      rgba(7, 7, 10, .97);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 1.4rem; }
  .site-nav a:not(.btn) { font: 400 2.4rem/1 var(--f-display); letter-spacing: .04em; }
  .site-nav li { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out); }
  .site-nav.is-open li { opacity: 1; transform: none; }
  .site-nav.is-open li:nth-child(2) { transition-delay: .04s; }
  .site-nav.is-open li:nth-child(3) { transition-delay: .08s; }
  .site-nav.is-open li:nth-child(4) { transition-delay: .12s; }
  .site-nav.is-open li:nth-child(5) { transition-delay: .16s; }
  .site-nav.is-open li:nth-child(6) { transition-delay: .2s; }
  .site-nav.is-open li:nth-child(7) { transition-delay: .24s; }
  .site-nav__cta { margin-top: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(227, 20, 27, .20), transparent 70%),
    radial-gradient(40% 50% at 8% 85%, rgba(217, 164, 65, .07), transparent 70%),
    linear-gradient(180deg, #0b0b0f 0%, var(--bg) 100%);
}
/* film grain */
.hero::after {
  content: ""; position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, -4%); } 80% { transform: translate(4%, 2%); } 100% { transform: translate(0, 0); }
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* the light rig above the table */
.hero__lamp {
  position: absolute; right: 4%; top: 9%; width: min(52vw, 700px); height: 70%;
  background: linear-gradient(180deg, rgba(255, 244, 225, .10), rgba(255, 244, 225, .03) 55%, rgba(255, 244, 225, 0) 80%);
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
  filter: blur(18px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  opacity: 0; animation: lamp-on 1.6s .2s var(--ease-out) forwards;
}
.hero__lamp::before {
  content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 4px; border-radius: 4px;
  background: #fff; box-shadow: 0 0 18px #fff, 0 0 60px rgba(255, 240, 210, .8);
}
@keyframes lamp-on {
  0% { opacity: 0; } 12% { opacity: .9; } 18% { opacity: .2; } 26% { opacity: 1; } 32% { opacity: .5; } 100% { opacity: 1; }
}

/* bullets fired across the hero, like the shirt print */
.hero__shots { position: absolute; inset: 0; overflow: hidden; }
/* Each bullet sits centred in the hero and travels along a rising diagonal
   (bottom-left to top-right), in a quick burst every 10 seconds. */
.shot {
  --w: clamp(380px, 46vw, 640px);
  position: absolute; left: calc(50% - var(--w) / 2); top: calc(50% + var(--y));
  width: var(--w); height: auto; aspect-ratio: 8 / 1;
  opacity: 0;
  transform: rotate(-34deg) translateX(-130vw);
  animation: fire 10s linear infinite;
  animation-delay: calc(var(--d) + 1.1s);
  filter: drop-shadow(0 0 14px rgba(227, 20, 27, .35));
}
@keyframes fire {
  0%   { transform: rotate(-34deg) translateX(-130vw); opacity: .85; }
  18%  { transform: rotate(-34deg) translateX(130vw); opacity: .85; }
  18.1%, 100% { transform: rotate(-34deg) translateX(130vw); opacity: 0; }
}
.hero__flash {
  position: absolute; left: 8%; top: 18%; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 190, .55), rgba(227, 20, 27, .25) 40%, transparent 70%);
  opacity: 0; animation: flash .7s .32s ease-out forwards;
}
@keyframes flash { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4); } }

.hero__grid {
  display: grid; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
}

.hero__crest-wrap { display: inline-block; margin: 0 0 1.4rem -.5rem; transition: transform .4s var(--ease-out); will-change: transform; }
.hero__crest {
  width: clamp(170px, 19vw, 250px);
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 40px rgba(227, 20, 27, .28));
  transform-origin: 60% 60%;
  animation: crest-in .9s .25s var(--ease-snap) both, float 7s 1.4s ease-in-out infinite;
  will-change: transform;
}
@keyframes crest-in {
  0% { opacity: 0; transform: scale(1.6) rotate(-10deg); filter: blur(8px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -10px; rotate: -1.5deg; }
}

.hero__eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; opacity: 0; animation: fade-up .8s .45s var(--ease-out) forwards; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227, 20, 27, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 20, 27, .7); } 70% { box-shadow: 0 0 0 12px rgba(227, 20, 27, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 20, 27, 0); } }

.hero__title { margin-bottom: 1.4rem; }
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line > span {
  display: inline-block; transform: translateY(105%);
  animation: rise 1s var(--d, .3s) var(--ease-out) forwards;
}
.hero__copy { container-type: inline-size; }
.hero__line--name > span {
  font: 400 clamp(3.8rem, 10.5vw, 8.6rem)/.88 var(--f-display);
  /* Sized from the text column so the name always dominates it:
     desktop "TOM / JONES" on two lines, JONES filling ~85% of the column */
  font-size: 36cqi;
  text-transform: uppercase; letter-spacing: .005em;
  background: linear-gradient(180deg, #fff 30%, #c9c3ba);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__line--rank > span {
  font: 400 clamp(1.7rem, 3.9vw, 3rem)/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .02em;
}
.hero__line--rank b { font-weight: 400; color: var(--red); text-shadow: 0 0 30px rgba(227, 20, 27, .5); }
.hero__line--rank b { display: block; }
.hero__line--rank i { display: block; font-style: normal; font-size: .62em; letter-spacing: .08em; color: transparent; -webkit-text-stroke: 1.2px rgba(244, 241, 236, .7); margin-top: .15em; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero__lede { max-width: 33rem; color: #cfc9c0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin-bottom: 2rem; opacity: 0; animation: fade-up .9s .75s var(--ease-out) forwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; opacity: 0; animation: fade-up .9s .9s var(--ease-out) forwards; }

/* ---------- the pool table ---------- */
.hero__table { position: relative; opacity: 0; animation: table-in 1.2s .5s var(--ease-out) forwards; }
@keyframes table-in { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
.table {
  position: relative; border-radius: 22px;
  box-shadow:
    0 60px 90px -30px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(255, 255, 255, .05),
    0 0 80px -10px rgba(227, 20, 27, .25);
}
.table::before { /* reflection of the lamp on the cloth */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 40%);
}
.table__canvas {
  width: 100%; height: auto; aspect-ratio: 1000 / 560; border-radius: 22px;
  cursor: crosshair; touch-action: pan-y pinch-zoom;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.table__canvas.is-aiming { cursor: grabbing; }
.table__hud {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 1rem; padding-inline: .3rem;
  font: 600 .92rem/1.2 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.table__hint { display: flex; align-items: center; gap: .5rem; margin-right: auto; }
.table__hint svg { width: 1rem; height: 1rem; color: var(--gold); flex: none; }
.table__score b { color: var(--text); font-weight: 700; }
.table__rerack {
  background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: .45rem .95rem;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--text); cursor: pointer;
  transition: border-color .2s, color .2s;
}
.table__rerack:hover { border-color: var(--red); color: #fff; }

/* Scroll hint: a brass bullet runs down a thin rail, trailing red tracer smoke */
.hero__scroll {
  position: absolute; right: clamp(.9rem, 2.2vw, 2.2rem); bottom: 1.6rem;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  color: var(--muted); text-decoration: none;
  opacity: 0; animation: fade-up 1s 1.6s forwards;
}
.hero__scroll-label {
  font: 600 .72rem/1 var(--f-cond); letter-spacing: .38em; text-transform: uppercase;
  writing-mode: vertical-rl; /* reads downwards, so it fits the page margin */
  transition: color .25s;
}
.hero__scroll-rail {
  position: relative; width: 2px; height: 64px; border-radius: 2px;
  background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
  overflow: visible;
}
.hero__scroll-rail::before { /* red tracer */
  content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%; border-radius: 2px;
  background: linear-gradient(rgba(227, 20, 27, 0), var(--red));
  box-shadow: 0 0 8px var(--red);
  transform-origin: top; transform: scaleY(0);
  animation: scroll-tracer 2.4s var(--ease-out) infinite;
}
.hero__scroll-bullet {
  position: absolute; left: 50%; top: 0; width: 22px; height: 8px; max-width: none;
  margin-left: -11px; translate: 0 -4px; rotate: 90deg;
  filter: drop-shadow(0 0 4px rgba(217, 164, 65, .6));
  animation: scroll-bullet 2.4s var(--ease-out) infinite;
}
.hero__scroll:hover .hero__scroll-label, .hero__scroll:focus-visible .hero__scroll-label { color: #fff; }
@keyframes scroll-tracer {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@keyframes scroll-bullet {
  0%   { top: 0;    opacity: 0; }
  12%  { opacity: 1; }
  60%  { top: 100%; opacity: 1; }
  75%, 100% { top: 100%; opacity: 0; }
}
/* Where supported, pin the hint to the bottom of the screen (the hero can be taller
   than the window) and fade it away as soon as the visitor starts scrolling */
@supports (animation-timeline: scroll()) {
  .hero__scroll {
    position: fixed; z-index: 5;
    animation: fade-up 1s 1.6s both, scroll-hint-out linear both;
    animation-timeline: auto, scroll(root);
    animation-range: normal, 0 20vh;
  }
  @keyframes scroll-hint-out { to { opacity: 0; visibility: hidden; } }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 1.5rem); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__lamp { right: -10%; top: 48%; width: 110vw; height: 45%; }
  .hero__scroll { display: none; }
  .hero__line--name > span { font-size: 22.5cqi; } /* one line, full width */
  .hero__crest-wrap { margin-left: -.3rem; }
}
@media (max-width: 560px) {
  .table__hint span { font-size: .82rem; }
}

/* ==========================================================================
   TAPES (ticker)
   ========================================================================== */
.tapes { position: relative; z-index: 3; height: clamp(110px, 14vw, 150px); margin-block: -2.5rem; overflow: hidden; pointer-events: none; }
.tape {
  position: absolute; left: -5%; right: -5%; top: 50%;
  padding-block: .85rem; overflow: hidden; white-space: nowrap;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.tape--red { background: var(--red); transform: translateY(-50%) rotate(-2.2deg); }
.tape--black { background: #0c0c10; border-block: 1px solid rgba(217, 164, 65, .35); transform: translateY(-50%) rotate(1.8deg); }
.tape__track { display: inline-flex; align-items: center; gap: 1.6rem; animation: marquee 38s linear infinite; }
.tape--black .tape__track { animation-direction: reverse; animation-duration: 46s; }
.tape span { font: 400 clamp(1.3rem, 2.4vw, 1.9rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; }
.tape--red span { color: #fff; }
.tape--black span { color: var(--gold); }
.tape svg { width: 44px; height: 16px; flex: none; }
.tape--red svg { transform: scaleX(-1); } /* red tape scrolls left, so its bullets point left */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   STORY
   ========================================================================== */
.story { padding-top: clamp(6rem, 12vw, 9rem); }
.story__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.story__media { position: relative; padding: 0 2.5rem 3.5rem 0; }
.story__main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--line);
}
.story__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; transition: transform 1.2s var(--ease-out); }
.story__main:hover img { transform: scale(1.04); }
.story__main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 7, 10, .85)); }
.story__main figcaption {
  position: absolute; left: 1.2rem; bottom: 1rem; z-index: 1;
  font: 700 1rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi);
}
.story__polaroid {
  position: absolute; right: 0; bottom: 0; width: 44%;
  background: #f3efe6; padding: .6rem .6rem 0; border-radius: 4px;
  transform: rotate(5deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  transition: transform .6s var(--ease-snap);
}
.story__polaroid:hover { transform: rotate(1deg) scale(1.04); }
.story__polaroid img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.story__polaroid figcaption { font: italic 700 1.05rem/2.6 var(--f-cond); color: #222; text-align: center; letter-spacing: .04em; }

.prose p { color: #cbc5bc; margin-bottom: 1.15rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .lead { font-size: 1.25rem; color: var(--text); line-height: 1.55; }

.quote {
  position: relative; margin-top: 2.2rem; padding: 1.6rem 1.8rem 1.6rem 2.2rem;
  border-left: 3px solid var(--red);
  background: linear-gradient(90deg, rgba(227, 20, 27, .12), transparent 80%);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.quote footer { margin-top: .9rem; font: 600 .95rem/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

@media (max-width: 960px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 520px; }
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  position: relative; padding-block: clamp(3.5rem, 7vw, 5rem);
  background:
    linear-gradient(180deg, rgba(227, 20, 27, .08), transparent),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { position: relative; padding: 1.6rem 1.4rem 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, .02); border: 1px solid var(--line); overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1s .3s var(--ease-out); }
.stat.is-in::before { transform: scaleX(1); }
.stat__num { font: 400 clamp(3.6rem, 7vw, 5.6rem)/.9 var(--f-display); color: var(--text); display: flex; align-items: baseline; gap: .15em; font-variant-numeric: tabular-nums; }
.stat__pre { font-size: .38em; color: var(--red); letter-spacing: .04em; }
.stat__label { margin-top: .8rem; font: 700 1.1rem/1.2 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; }
.stat__label small { font-weight: 500; font-size: .92rem; color: var(--muted); letter-spacing: .06em; }
.stat--goal { background: linear-gradient(135deg, rgba(227, 20, 27, .22), rgba(227, 20, 27, .04)); border-color: rgba(227, 20, 27, .4); }
.stat--goal .stat__num { color: #fff; text-shadow: 0 0 30px rgba(227, 20, 27, .6); }
@media (max-width: 860px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   POOL BALLS (CSS)
   ========================================================================== */
.ball {
  --c1: #ff5156; --c2: #a30b10;
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0 5%, var(--c1) 20%, var(--c2) 78%, #200 100%);
  box-shadow: inset -3px -5px 8px rgba(0, 0, 0, .45), 0 8px 16px -4px rgba(0, 0, 0, .6);
}
.ball--yellow { --c1: #ffe07a; --c2: #c48f0c; }
.ball--black { --c1: #4b4b52; --c2: #050506; }
.ball--black b {
  display: grid; place-items: center; width: 46%; height: 46%; border-radius: 50%; background: #f4f1ec;
  font: 700 .62em/1 var(--f-cond); color: #111;
}

/* ==========================================================================
   JOURNEY / TIMELINE
   ========================================================================== */
.journey { overflow: hidden; }
.journey::before { /* faint diagonal trails in the background */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(50% 40% at 90% 10%, rgba(227, 20, 27, .12), transparent 70%),
    radial-gradient(40% 40% at 0% 90%, rgba(217, 164, 65, .06), transparent 70%);
}
.timeline { --line-x: 50%; position: relative; display: grid; gap: 2.2rem; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: var(--line-x); top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px;
}
.timeline::before { background: rgba(255, 255, 255, .07); }
.timeline::after {
  /* the cue line filling as you scroll */
  background: linear-gradient(180deg, #e9cf9a, #c79a52 60%, var(--red));
  transform-origin: top; transform: scaleY(var(--tl, 0));
  box-shadow: 0 0 18px rgba(227, 20, 27, .5);
}
.tl { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 5rem; align-items: center; }
.tl .ball { position: absolute; left: var(--line-x); top: 50%; translate: -50% -50%; z-index: 1; width: 40px; height: 40px; transition: transform .6s var(--ease-snap); transform: scale(.4); }
.tl.is-in .ball { transform: scale(1); }
.tl__card {
  grid-column: 1; text-align: right;
  padding: 1.5rem 1.7rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease-out), background-color .3s;
}
.tl:nth-child(even) .tl__card { grid-column: 2; text-align: left; }
.tl__card:hover { border-color: rgba(227, 20, 27, .5); transform: translateY(-3px); }
.tl__when { font: 700 .95rem/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .55rem; }
.tl__title { font: 400 clamp(1.6rem, 2.6vw, 2.15rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; margin-bottom: .55rem; }
.tl__card p:not(.tl__when) { color: #bdb7ae; }
.tl__link { display: inline-block; margin-top: .8rem; font: 700 .95rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); text-decoration: none; }
.tl__link:hover { color: #fff; }
.tl--feature .tl__card { background: linear-gradient(135deg, rgba(227, 20, 27, .2), rgba(227, 20, 27, .03)); border-color: rgba(227, 20, 27, .45); box-shadow: 0 30px 60px -30px rgba(227, 20, 27, .5); }
.tl--goal .ball { width: 52px; height: 52px; box-shadow: inset -3px -5px 8px rgba(0, 0, 0, .45), 0 0 0 6px rgba(227, 20, 27, .18), 0 0 40px rgba(227, 20, 27, .45); }
.tl--goal .tl__title { color: var(--red); }

/* card slide direction */
.js .tl[data-reveal] .tl__card { opacity: 0; transform: translateX(-30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), border-color .3s; }
.js .tl[data-reveal]:nth-child(even) .tl__card { transform: translateX(30px); }
.js .tl[data-reveal].is-in .tl__card { opacity: 1; transform: none; }
.js .tl[data-reveal] { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .timeline { --line-x: 20px; }
  .tl { grid-template-columns: 1fr; padding-left: 3.4rem; }
  .tl__card, .tl:nth-child(even) .tl__card { grid-column: 1; text-align: left; }
  .tl .ball { top: 1.7rem; translate: -50% 0; }
  .js .tl[data-reveal] .tl__card, .js .tl[data-reveal]:nth-child(even) .tl__card { transform: translateX(24px); }
}

/* ==========================================================================
   WATCH
   ========================================================================== */
.watch {
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(227, 20, 27, .14), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.video { max-width: 1060px; margin-inline: auto; }
.video__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 1), 0 0 0 1px var(--line-2), 0 0 120px -30px rgba(227, 20, 27, .6);
}
.video__frame::before { /* red collar edge */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(227, 20, 27, .5);
}
.video__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .5s; filter: brightness(.78) saturate(1.05); }
.video__play {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 1rem;
  background: radial-gradient(circle at center, rgba(0, 0, 0, .05), rgba(0, 0, 0, .45)); border: 0; cursor: pointer;
}
.video__btn {
  position: relative; display: grid; place-items: center; width: clamp(76px, 10vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: #fff; box-shadow: 0 20px 50px -10px rgba(227, 20, 27, .8);
  transition: transform .4s var(--ease-snap), background-color .2s;
}
.video__btn::before, .video__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(227, 20, 27, .7);
  animation: ring 2.4s infinite var(--ease-out);
}
.video__btn::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.video__btn svg { width: 42%; margin-left: 8%; }
.video__label { font: 700 1rem/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.video__play:hover .video__btn { transform: scale(1.1); background: var(--red-hi); }
.video__frame:hover .video__thumb { transform: scale(1.03); filter: brightness(.9); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__note { margin-top: 1rem; text-align: center; color: var(--muted); font-size: .92rem; }
.video__note a { color: var(--text); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery__grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(170px, 19vw, 250px);
  grid-auto-flow: dense;
}
.g {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  cursor: zoom-in;
}
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .5s; filter: saturate(.9) brightness(.9); }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .8)); opacity: .8; transition: opacity .4s; }
.g:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.g__cap {
  position: absolute; left: 1rem; bottom: .9rem; z-index: 1;
  font: 700 .95rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase;
  transform: translateY(6px); opacity: .9; transition: transform .4s var(--ease-out);
}
.g:hover .g__cap { transform: none; color: var(--gold-hi); }
.g:first-child img { object-position: 42% 45%; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .g--wide { grid-column: span 2; }
}

/* lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 5, 7, .94); color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in .3s var(--ease-out); }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__fig { display: grid; justify-items: center; gap: 1rem; padding: 4.5rem 4.5rem 2rem; }
.lightbox__fig img { max-width: min(92vw, 1200px); max-height: 78vh; width: auto; border-radius: 10px; box-shadow: 0 40px 90px rgba(0, 0, 0, .9); }
.lightbox__fig figcaption { font: 700 1rem/1.2 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); text-align: center; }
.lightbox__btn {
  position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__prev { left: 1.2rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1.2rem; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) {
  .lightbox__fig { padding: 4rem 1rem 6rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.4rem; translate: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

/* ==========================================================================
   COACHING
   ========================================================================== */
.coaching::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 15% 30%, rgba(227, 20, 27, .10), transparent 70%);
}
.cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  position: relative; overflow: hidden; padding: 2rem 1.8rem 2.1rem; border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .3s, box-shadow .5s;
}
.card::after { /* cloth sheen */
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 20, 27, .18), transparent 65%);
  transition: transform .8s var(--ease-out);
}
.card:hover { transform: translateY(-6px); border-color: rgba(227, 20, 27, .45); box-shadow: 0 40px 70px -40px rgba(227, 20, 27, .6); }
.card:hover::after { transform: translate(-20%, -20%) scale(1.2); }
.card__ball { width: 46px; height: 46px; margin-bottom: 1.4rem; transition: transform .7s var(--ease-snap); }
.card:hover .card__ball { transform: translateX(10px) rotate(200deg); }
.card__title { font: 400 1.85rem/1 var(--f-display); text-transform: uppercase; margin-bottom: .8rem; }
.card p { color: #bdb7ae; position: relative; z-index: 1; }
.coaching__cta { margin-top: 2.6rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partners { background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.partners__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.partners__shirt { position: relative; display: grid; place-items: center; }
.partners__shirt::before {
  content: ""; position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 20, 27, .35), transparent 65%); filter: blur(20px);
}
.partners__shirt img { position: relative; width: min(100%, 420px); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .8)); animation: float 8s ease-in-out infinite; }
.partner-list { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2rem 0 2.2rem; }
.partner-list li {
  padding: .75rem 1.15rem; border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  font: 700 1.05rem/1 var(--f-cond); letter-spacing: .1em; text-transform: uppercase;
  transition: border-color .25s, background-color .25s, transform .3s var(--ease-out);
}
.partner-list li:hover { border-color: var(--gold); background: rgba(217, 164, 65, .08); transform: translateY(-2px); }
/* Sponsor links: the whole label is clickable, with a small arrow to show it opens their page */
.partner-list li:has(> a) { padding: 0; }
.partner-list a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.15rem;
  color: inherit; text-decoration: none; border-radius: inherit;
}
.partner-list a::after {
  content: ""; width: .7em; height: .7em; flex: none; background: var(--gold); opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1h8v8H9V4.4L2.4 11 1 9.6 7.6 3H3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1h8v8H9V4.4L2.4 11 1 9.6 7.6 3H3z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity .25s, transform .25s var(--ease-out);
}
.partner-list a:hover::after, .partner-list a:focus-visible::after { opacity: 1; transform: translate(2px, -2px); }
.partner-list a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 900px) {
  .partners__grid { grid-template-columns: 1fr; }
  .partners__shirt img { width: min(70vw, 340px); }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 55% at 85% 50%, rgba(227, 20, 27, .14), transparent 70%);
}
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__topics { display: grid; gap: .9rem; margin-top: 2rem; }
.contact__topics li { display: flex; align-items: center; gap: .9rem; font: 600 1.15rem/1.2 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; }
.contact__topics .ball { width: 22px; height: 22px; }

.form {
  padding: clamp(1.5rem, 3.5vw, 2.4rem); border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 1);
  backdrop-filter: blur(8px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field__label { font: 700 .9rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: #d5cfc6; }
.field__label em { font-style: normal; color: var(--muted); font-weight: 500; letter-spacing: .08em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 10px;
  background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field select option { background: #15151a; color: var(--text); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 20, 27, .2); background: rgba(0, 0, 0, .5); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--red-hi); }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; color: #c9c3ba; margin: .4rem 0 1.4rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--red); flex: none; }
.check a { color: var(--text); }
.check.is-invalid span { color: var(--red-hi); }
.form__foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form__status { font-weight: 500; }
.form__status.is-ok { color: #7ee2a8; }
.form__status.is-error { color: var(--red-hi); }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.form.is-sending button[type="submit"] span::after { content: "…"; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; padding: 3.2rem 0 2.4rem; border-top: 1px solid var(--line); background: #050507; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--red); }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: center; }
.footer-links a { text-decoration: none; font: 600 .95rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.socials { display: flex; gap: .7rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .2s, border-color .2s, transform .3s var(--ease-snap); }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.site-footer__legal { grid-column: 1 / -1; text-align: center; color: #77726c; font-size: .9rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   SIMPLE PAGES (privacy, 404)
   ========================================================================== */
.page { padding: calc(var(--header-h) + 4rem) 0 6rem; min-height: 70vh; }
.page .prose { max-width: 46rem; }
.page .prose h2 { font: 400 1.8rem/1.1 var(--f-display); text-transform: uppercase; margin: 2.2rem 0 .8rem; }
.page .prose a { color: var(--gold-hi); }
.page .prose ul { list-style: disc; padding-left: 1.3rem; color: #cbc5bc; margin-bottom: 1.15rem; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .shot, .hero__flash, .hero::after { display: none; }
  .hero__line > span { transform: none; }
  .tape__track { animation: none; }
  .hero__scroll-rail::before { animation: none; transform: scaleY(.55); }
  .hero__scroll-bullet { animation: none; top: 55%; opacity: 1; }
}

/* ---------------------------------------------------------- Ultimate Pool logo -- */
.hero__tour {
  display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.6rem;
  font: 600 .92rem/1 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  text-decoration: none; opacity: 0; animation: fade-up .9s 1.05s var(--ease-out) forwards;
  transition: color .2s;
}
.hero__tour img { height: 34px; width: auto; opacity: .9; transition: opacity .2s; }
.hero__tour:hover, .hero__tour:focus-visible { color: #fff; }
.hero__tour:hover img, .hero__tour:focus-visible img { opacity: 1; }
.stat__logo { display: block; height: 26px; width: auto; margin-top: .55rem; opacity: .8; }
.watch__tour { display: block; height: 56px; width: auto; margin: 0 auto 1.4rem; opacity: .9; }
