/* ============================================================
   BallBall.tech
   B2B landing in the BallBall brand family.
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
video,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button,
input,
textarea { font: inherit; }

button { cursor: pointer; }

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #16180f;
  --ink-90: rgba(22, 24, 15, 0.9);
  --ink-80: rgba(22, 24, 15, 0.8);
  --ink-64: rgba(22, 24, 15, 0.64);
  --ink-48: rgba(22, 24, 15, 0.48);
  --ink-24: rgba(22, 24, 15, 0.24);
  --ink-12: rgba(22, 24, 15, 0.12);
  --ink-08: rgba(22, 24, 15, 0.08);

  --white: #ffffff;
  --surface: #f8fff0;
  --surface-2: #edfae4;
  --surface-3: #f4f4f4;
  --yellow: #f2ff3a;
  --yellow-soft: rgba(242, 255, 58, 0.22);
  --mint: #8dcec3;
  --mint-soft: #dff4ed;
  --accent: #00bf63;
  --accent-dark: #008c49;
  --accent-soft: rgba(0, 191, 99, 0.12);
  --danger: #ef4444;

  --shadow-soft: 0 20px 70px rgba(22, 24, 15, 0.1);
  --shadow-strong: 0 38px 90px rgba(22, 24, 15, 0.24);

  --font-serif: "PT Serif", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --container-narrow: 760px;
  --section-pad: 118px;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow { max-width: var(--container-narrow); }

.section {
  position: relative;
  padding: var(--section-pad) 0;
}

.section-surface { background: var(--surface); }

.section-ink {
  background: var(--ink);
  color: var(--surface);
}

.section-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.inset-section {
  margin: 16px 16px 0;
  border-radius: 44px;
  overflow: hidden;
}

.section-split,
.deliver-layout,
.pilot-layout,
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 68px;
  align-items: center;
}

.section-copy,
.section-head {
  max-width: 760px;
}

.section-head { margin-bottom: 58px; }

.section-head-light .lead,
.section-ink .lead {
  color: rgba(248, 255, 240, 0.74);
}

/* ---------- Type ---------- */
h1,
h2,
h3,
h4,
p { margin: 0; }

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

h3,
h4 {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

h1 { font-size: 96px; }
h2 { font-size: 58px; }
h3 { font-size: 22px; }

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-80);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--ink-64);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: lowercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.section-ink .eyebrow { color: rgba(248, 255, 240, 0.58); }
.section-yellow .eyebrow { color: var(--ink-64); }

/* ---------- Buttons ---------- */
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn svg,
.nav-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--ink);
  color: var(--yellow);
  box-shadow: 0 14px 34px rgba(22, 24, 15, 0.22);
}

.section-ink .btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(242, 255, 58, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 20px 44px rgba(242, 255, 58, 0.34);
}

.section-ink .btn-primary:hover {
  background: var(--surface);
  box-shadow: 0 20px 44px rgba(248, 255, 240, 0.16);
}

.btn-ghost {
  background: rgba(248, 255, 240, 0.08);
  color: var(--surface);
  border-color: rgba(248, 255, 240, 0.34);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-large {
  min-height: 60px;
  padding: 18px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(calc(100% - 32px), 1160px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(248, 255, 240, 0.2);
  border-radius: 999px;
  background: rgba(22, 24, 15, 0.52);
  color: var(--surface);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.site-nav.scrolled {
  background: rgba(248, 255, 240, 0.9);
  color: var(--ink);
  border-color: var(--ink-08);
  box-shadow: 0 12px 38px rgba(22, 24, 15, 0.1);
}

.nav-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.nav-brand img,
.footer-brand img {
  width: 92px;
  height: auto;
  filter: invert(1);
}

.site-nav.scrolled .nav-brand img { filter: none; }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: currentColor;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a {
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  margin: 14px 14px 0;
  border-radius: 44px;
  overflow: hidden;
  color: var(--surface);
  isolation: isolate;
}

.hero-media,
.hero-photo,
.hero-photo-tint {
  position: absolute;
  inset: 0;
}

.hero-media { z-index: -1; }

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.11) translateY(-18px); }
}

.hero-photo-tint {
  background:
    linear-gradient(90deg, rgba(22, 24, 15, 0.82) 0%, rgba(22, 24, 15, 0.52) 46%, rgba(22, 24, 15, 0.2) 100%),
    linear-gradient(180deg, rgba(22, 24, 15, 0.18) 0%, rgba(22, 24, 15, 0.88) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 150px;
  padding-bottom: 46px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 30px;
  border: 1px solid rgba(248, 255, 240, 0.2);
  border-radius: 999px;
  background: rgba(248, 255, 240, 0.1);
  color: rgba(248, 255, 240, 0.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: lowercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 191, 99, 0.18);
}

.hero-title {
  max-width: 960px;
  margin-bottom: 32px;
}

.hero-title em {
  display: inline;
  font-style: italic;
  color: var(--yellow);
  font-weight: 700;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 620px) auto;
  gap: 44px;
  align-items: end;
  margin-bottom: 46px;
}

.hero-sub {
  color: rgba(248, 255, 240, 0.84);
  font-size: 21px;
  line-height: 1.45;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-ops {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(248, 255, 240, 0.18);
  border-radius: 30px;
  background: rgba(248, 255, 240, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-ops div {
  min-height: 112px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(248, 255, 240, 0.14);
}

.hero-ops div:last-child { border-right: 0; }

.hero-ops strong {
  font-family: var(--font-serif);
  color: var(--yellow);
  font-size: clamp(29px, 2.45vw, 36px);
  line-height: 1;
}

.hero-ops span {
  color: rgba(248, 255, 240, 0.72);
  font-size: 13px;
  font-weight: 800;
}

/* ---------- Club value ---------- */
.section-club-value {
  padding-top: 78px;
  padding-bottom: 38px;
  background: var(--surface);
}

.value-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 46px;
  align-items: stretch;
}

.value-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.value-copy h2 {
  max-width: 560px;
}

.value-equation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--ink-12);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(22, 24, 15, 0.06);
}

.value-equation strong,
.value-equation span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.value-equation strong {
  padding: 10px 13px;
  background: var(--ink);
  color: var(--surface);
}

.value-equation span {
  justify-content: center;
  width: 38px;
  background: var(--yellow);
  color: var(--ink);
}

.value-flow {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.value-card {
  min-width: 0;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--ink-08);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(22, 24, 15, 0.05);
}

.value-card > span {
  display: inline-flex;
  margin-bottom: 78px;
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.value-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 700;
}

.value-card p {
  color: var(--ink-64);
  font-size: 14px;
  font-weight: 800;
}

.value-card-accent {
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 9px 9px 0 var(--ink);
}

.value-card-accent > span,
.value-card-accent p {
  color: var(--ink);
}

/* ---------- Players ---------- */
.feature-rail {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.feature-rail div {
  padding: 20px 0;
  border-top: 1px solid var(--ink-12);
}

.feature-rail div:last-child { border-bottom: 1px solid var(--ink-12); }

.feature-rail span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-rail p {
  max-width: 560px;
  color: var(--ink-80);
}

.product-phones {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.86fr);
  gap: 18px;
  align-items: start;
  justify-content: end;
  perspective: 1200px;
}

.product-phone {
  min-width: 0;
  margin: 0;
  border-radius: 34px;
  background: #f3f0ec;
  box-shadow: 0 34px 76px rgba(22, 24, 15, 0.18);
  overflow: hidden;
}

.product-phone img {
  width: 100%;
  height: auto;
  display: block;
}

.product-phone-front {
  transform: rotate(-1.5deg);
}

.product-phone-back {
  margin-top: 92px;
  transform: rotate(2deg);
}

/* ---------- People / tournament life ---------- */
.section-people {
  background: var(--surface);
  padding-top: 28px;
}

.people-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: center;
}

.people-copy {
  max-width: 560px;
}

.people-board {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(158px, auto);
  gap: 14px;
}

.moment-card {
  grid-column: span 3;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 190px;
  padding: 16px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 18px 46px rgba(22, 24, 15, 0.12);
}

.moment-card-large {
  grid-column: span 6;
  min-height: 330px;
}

.moment-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.04);
}

.moment-card img.moment-card-img-top {
  object-position: 50% 16%;
  transform: scale(1.02);
}

.moment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 24, 15, 0.08) 0%, rgba(22, 24, 15, 0.78) 100%),
    radial-gradient(circle at 82% 12%, rgba(242, 255, 58, 0.24), transparent 32%);
}

.moment-card > div {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(248, 255, 240, 0.18);
  border-radius: 22px;
  background: rgba(22, 24, 15, 0.54);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.moment-card span,
.moment-card strong,
.moment-card em {
  display: block;
}

.moment-card span {
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: lowercase;
}

.moment-card strong {
  color: var(--surface);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
}

.moment-card em {
  margin-top: 6px;
  color: rgba(248, 255, 240, 0.66);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.moment-card-large strong {
  max-width: 420px;
  font-size: 38px;
}

/* ---------- Camera recording ---------- */
.section-camera {
  isolation: isolate;
  padding: 84px 0;
  background: var(--ink);
  color: var(--surface);
}

.section-camera::before {
  content: "";
  position: absolute;
  top: -34%;
  right: -10%;
  z-index: -1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 255, 58, 0.18) 0%, rgba(242, 255, 58, 0) 64%);
  pointer-events: none;
}

.section-camera::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(248, 255, 240, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(248, 255, 240, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

.camera-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: center;
}

.camera-copy {
  min-width: 0;
}

.camera-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 8px 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(242, 255, 58, 0.34);
  border-radius: 999px;
  background: rgba(242, 255, 58, 0.12);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: lowercase;
}

.camera-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 191, 99, 0.16), 0 0 18px rgba(0, 191, 99, 0.75);
}

.section-camera h2 {
  max-width: 560px;
  color: var(--surface);
}

.section-camera .lead {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(248, 255, 240, 0.7);
}

.camera-bullets {
  display: grid;
  gap: 0;
  max-width: 560px;
  margin-top: 30px;
}

.camera-bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(248, 255, 240, 0.12);
}

.camera-bullets li:last-child {
  border-bottom: 0;
}

.camera-bullets li > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 191, 99, 0.14);
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.camera-bullets strong,
.camera-bullets small {
  display: block;
}

.camera-bullets strong {
  color: var(--surface);
  font-size: 16px;
  font-weight: 900;
}

.camera-bullets small {
  margin-top: 3px;
  color: rgba(248, 255, 240, 0.56);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.camera-video-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 6px solid #23251a;
  border-radius: 28px;
  background: #050505;
  box-shadow:
    0 44px 90px rgba(0, 0, 0, 0.44),
    0 0 90px rgba(242, 255, 58, 0.15);
}

.camera-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050505;
}

.camera-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 44px);
  min-height: 36px;
  padding: 9px 14px;
  border: 1px solid rgba(248, 255, 240, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--surface);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- Mockups ---------- */
.mockup {
  min-width: 0;
}

.mockup-frame {
  overflow: hidden;
  border: 1px solid var(--ink-12);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.player-frame {
  max-width: 620px;
  margin-left: auto;
  transform: rotate(1deg);
}

.admin-frame {
  background: #f7f8f3;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.mockup-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink-08);
  background: rgba(248, 255, 240, 0.82);
}

.mockup-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: lowercase;
}

.mockup-url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 12px;
  border: 1px solid var(--ink-08);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-48);
  font-family: ui-monospace, "SF Mono", Monaco, Consolas, monospace;
  font-size: 12px;
  text-align: center;
}

.mockup-screen {
  padding: 30px;
  color: var(--ink);
}

/* ---------- Player mockup ---------- */
.player-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--ink-08);
}

.player-avatar {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-4deg);
}

.player-head-info span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.player-head-info h4 {
  margin-bottom: 5px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
}

.player-head-info p {
  color: var(--ink-64);
  font-size: 14px;
  font-weight: 700;
}

.player-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.player-stats > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ink-08);
  border-radius: 18px;
  background: var(--surface);
}

.player-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
}

.player-stats em {
  display: block;
  margin-top: 6px;
  color: var(--ink-48);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.player-block { margin-top: 24px; }

.player-block-label,
.admin-section-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-48);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-match {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--ink-08);
  border-radius: 18px;
  background: var(--white);
}

.player-match-thumb {
  width: 48px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-match-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.player-match-info strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-match-info em {
  overflow: hidden;
  color: var(--ink-48);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-match-tag {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-match-win .player-match-tag {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.player-match-loss .player-match-tag {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.player-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--ink-08);
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.badge-pill em {
  font-style: normal;
  line-height: 1;
}

/* ---------- Achievements ---------- */
.section-badges {
  background: var(--mint-soft);
  overflow: hidden;
}

.section-badges::before,
.section-badges::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink-08);
}

.section-badges::before { top: 0; }
.section-badges::after { bottom: 0; }

.achievement-product {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 38px;
}

.achievement-phone {
  margin: 0;
  max-width: 360px;
  border-radius: 34px;
  overflow: hidden;
  background: #f3f0ec;
  box-shadow: 0 32px 72px rgba(22, 24, 15, 0.16);
  transform: rotate(-1.5deg);
}

.achievement-phone img {
  width: 100%;
  height: auto;
}

.achievement-copy {
  max-width: 620px;
  padding: 34px;
  border: 1px solid rgba(22, 24, 15, 0.1);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.54);
}

.achievement-copy h3 {
  max-width: 560px;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
}

.achievement-copy p {
  color: var(--ink-72, rgba(22, 24, 15, 0.72));
  font-size: 17px;
  font-weight: 700;
}

.badge-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.badge-card {
  min-width: 0;
  min-height: 242px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 20px;
  border: 1px solid rgba(248, 255, 240, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 255, 58, 0.18), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.09) 0%, transparent 28%),
    linear-gradient(180deg, #1d1f17 0%, #15160f 100%);
  color: var(--surface);
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -12px 24px rgba(0, 0, 0, 0.28),
    0 20px 44px rgba(22, 24, 15, 0.18);
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.badge-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(248, 255, 240, 0.06);
  background:
    linear-gradient(rgba(248, 255, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 255, 240, 0.04) 1px, transparent 1px);
  background-size: 100% 50%, 50% 100%;
  pointer-events: none;
}

.badge-card:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-3deg);
  border-color: rgba(242, 255, 58, 0.36);
  box-shadow: 0 28px 58px rgba(22, 24, 15, 0.28);
}

.badge-icon {
  align-self: flex-start;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 28%, #ffffff 0 8%, transparent 9%),
    radial-gradient(circle at 35% 25%, #faff8b 0 0, transparent 42%),
    linear-gradient(145deg, #fbff72 0%, var(--yellow) 48%, #b8c500 100%);
  box-shadow:
    inset -8px -10px 16px rgba(22, 24, 15, 0.24),
    inset 8px 8px 16px rgba(255, 255, 255, 0.52),
    0 7px 0 #7d8615,
    0 0 0 8px rgba(242, 255, 58, 0.08),
    0 18px 34px rgba(242, 255, 58, 0.22);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.badge-icon::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(22, 24, 15, 0.18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.24);
}

.badge-card h3 {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: auto;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
}

.badge-card p {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 44px;
  color: rgba(248, 255, 240, 0.62);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.badge-card em {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  margin-top: auto;
  color: var(--yellow);
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

/* ---------- Clubs ---------- */
.club-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 58px;
}

.club-card {
  min-width: 0;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(248, 255, 240, 0.14);
  border-radius: 26px;
  background: rgba(248, 255, 240, 0.06);
}

.club-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--yellow);
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
}

.club-card h3 {
  margin-bottom: 10px;
  color: var(--surface);
  font-family: var(--font-serif);
  font-size: 24px;
}

.club-card p {
  color: rgba(248, 255, 240, 0.68);
  font-size: 14px;
}

.operator-shot {
  margin: 0 0 34px;
  border-radius: 34px;
  overflow: hidden;
  background: #f3f0ec;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.28);
}

.operator-shot img {
  width: 100%;
  height: auto;
}

.ops-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ops-card {
  min-width: 0;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(248, 255, 240, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 14%, rgba(242, 255, 58, 0.16), transparent 28%),
    rgba(248, 255, 240, 0.07);
}

.ops-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: lowercase;
}

.ops-card h3 {
  margin-bottom: 10px;
  color: var(--surface);
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 700;
}

.ops-card p {
  color: rgba(248, 255, 240, 0.66);
  font-size: 14px;
  font-weight: 800;
}

.id-review-grid {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.id-track {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(248, 255, 240, 0.1);
}

.track-video {
  grid-row: span 2;
  width: 54px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(rgba(248, 255, 240, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 255, 240, 0.22) 1px, transparent 1px),
    #214734;
  background-size: 100% 50%, 50% 100%, auto;
  color: var(--yellow);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
}

.id-track strong,
.id-track em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.id-track strong {
  color: var(--surface);
  font-size: 14px;
  font-weight: 900;
}

.id-track em {
  color: rgba(248, 255, 240, 0.52);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.ops-button {
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.analysis-court {
  position: relative;
  min-height: 238px;
  margin: 24px 0 18px;
  border: 2px solid rgba(248, 255, 240, 0.36);
  border-radius: 20px;
  background:
    linear-gradient(rgba(248, 255, 240, 0.28) 2px, transparent 2px) center / 100% 50%,
    linear-gradient(90deg, rgba(248, 255, 240, 0.22) 2px, transparent 2px) center / 50% 100%,
    radial-gradient(circle at 48% 52%, rgba(0, 191, 99, 0.24), transparent 30%),
    #1f432f;
  overflow: hidden;
}

.analysis-court::before,
.analysis-court::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-top: 2px dashed rgba(248, 255, 240, 0.28);
}

.analysis-court::before { top: 28%; }
.analysis-court::after { bottom: 28%; }

.court-player {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid var(--yellow);
  background: var(--ink);
  box-shadow: 0 0 0 8px rgba(242, 255, 58, 0.1);
}

.court-player-a { left: 23%; top: 34%; }
.court-player-b { right: 26%; top: 25%; }
.court-player-c { left: 36%; bottom: 23%; }
.court-player-d { right: 18%; bottom: 34%; }

.ball-path {
  position: absolute;
  left: 18%;
  top: 48%;
  width: 62%;
  height: 78px;
  border-top: 5px dotted var(--yellow);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.ball-dot {
  position: absolute;
  right: 20%;
  top: 39%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
}

.speed-callout {
  position: absolute;
  left: 24px;
  bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.event-feed {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.event-feed li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 255, 240, 0.7);
  font-size: 14px;
  font-weight: 800;
}

.event-feed span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.export-stack {
  display: grid;
  gap: 12px;
  margin: 28px 0 20px;
}

.export-stack div {
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
}

.export-stack strong,
.export-stack em {
  display: block;
}

.export-stack strong {
  font-size: 16px;
  font-weight: 900;
}

.export-stack em {
  margin-top: 5px;
  color: var(--ink-64);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.export-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.export-buttons span {
  min-width: 0;
  padding: 12px 8px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-head h4 {
  margin: 7px 0 5px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
}

.admin-head p {
  color: var(--ink-64);
  font-size: 14px;
  font-weight: 700;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.admin-cta {
  min-height: 44px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.admin-stats > div {
  padding: 16px;
  border: 1px solid var(--ink-08);
  border-radius: 20px;
  background: var(--white);
}

.admin-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
}

.admin-stats em {
  display: block;
  margin-top: 7px;
  color: var(--ink-48);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.identity-console {
  padding: 18px;
  margin-bottom: 22px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--yellow);
}

.identity-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.identity-head p {
  color: var(--ink-80);
  font-size: 14px;
  font-weight: 700;
}

.identity-time {
  flex-shrink: 0;
  align-self: flex-start;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.track-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--ink-12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.track-thumb {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
}

.track-card strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-card em {
  overflow: hidden;
  color: var(--ink-48);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-section { margin-top: 22px; }

.admin-bracket {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bracket-match {
  min-width: 0;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--ink-08);
  border-radius: 18px;
  background: var(--white);
}

.bracket-match span,
.bracket-match strong,
.bracket-match em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-match span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.bracket-match strong {
  color: var(--accent-dark);
  font-size: 16px;
}

.bracket-match em {
  margin-top: auto;
  color: var(--ink-48);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.bracket-live {
  border-color: var(--ink);
  background: var(--mint-soft);
}

.bracket-pending { opacity: 0.58; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.steps li {
  min-width: 0;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--ink-08);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(22, 24, 15, 0.05);
}

.step-num {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
}

.steps h3 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 25px;
}

.steps p {
  color: var(--ink-64);
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Deliver ---------- */
.section-yellow {
  border: 1px solid rgba(22, 24, 15, 0.16);
}

.deliver-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.deliver-card {
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 2px solid var(--ink);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--ink);
}

.deliver-time {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: lowercase;
}

.deliver-card h3 {
  margin-top: auto;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 34px;
}

.deliver-card p {
  color: var(--ink-80);
  font-weight: 700;
}

/* ---------- Roadmap ---------- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-step {
  min-width: 0;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--ink-08);
  border-radius: 30px;
  background: var(--white);
}

.roadmap-tag {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 72px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.roadmap-step h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 30px;
}

.roadmap-step p {
  color: var(--ink-64);
  font-size: 15px;
  font-weight: 700;
}

/* ---------- Pilot ---------- */
.pilot-layout {
  align-items: stretch;
}

.pilot-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.pilot-copy .lead {
  margin: 22px 0 36px;
}

.pilot-list {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(248, 255, 240, 0.14);
  border-radius: 34px;
  background: rgba(248, 255, 240, 0.07);
}

.pilot-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(248, 255, 240, 0.12);
}

.pilot-list h3 {
  margin-bottom: 14px;
  color: var(--yellow);
  font-family: var(--font-serif);
  font-size: 28px;
}

.pilot-list ul {
  display: grid;
  gap: 10px;
}

.pilot-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(248, 255, 240, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.pilot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.pilot-list p {
  color: rgba(248, 255, 240, 0.56);
  font-weight: 800;
}

/* ---------- Apply ---------- */
.section-apply {
  background: var(--surface);
}

.apply-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: start;
}

.apply-copy {
  position: sticky;
  top: 120px;
}

.apply-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--ink-08);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.apply-form label {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.apply-form label > span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.apply-form label > span em {
  color: var(--ink-48);
  font-style: normal;
  font-weight: 700;
}

.apply-form input,
.apply-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--ink-12);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  padding: 15px 16px;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.apply-form textarea {
  min-height: 128px;
  resize: vertical;
}

.apply-form input:focus,
.apply-form textarea:focus {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--yellow-soft);
}

.apply-form input::placeholder,
.apply-form textarea::placeholder {
  color: var(--ink-48);
}

.form-fineprint {
  color: var(--ink-48);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.form-fineprint a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 72px 0 34px;
  background: var(--ink);
  color: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(248, 255, 240, 0.12);
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand img {
  width: 104px;
  filter: invert(1);
}

.footer-tag {
  max-width: 420px;
  color: rgba(248, 255, 240, 0.62);
  font-size: 15px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-links a {
  color: rgba(248, 255, 240, 0.62);
  font-size: 14px;
  font-weight: 800;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  color: rgba(248, 255, 240, 0.46);
  font-size: 13px;
  font-weight: 800;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(248, 255, 240, 0.14);
  border-radius: 999px;
  background: rgba(248, 255, 240, 0.06);
  color: rgba(248, 255, 240, 0.66);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.powered-by strong {
  color: var(--yellow);
  font-weight: 900;
}

.powered-by svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4px;
}

.powered-by:hover {
  border-color: rgba(242, 255, 58, 0.42);
  background: rgba(242, 255, 58, 0.1);
  color: var(--surface);
}

/* ---------- Legal docs ---------- */
.doc-page {
  min-height: 100vh;
  padding: 108px 0;
  background: var(--surface);
}

.doc-page .container {
  max-width: 820px;
}

.doc-page h1 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.06;
}

.doc-page .doc-meta {
  margin-bottom: 44px;
  color: var(--ink-48);
  font-size: 14px;
  font-weight: 800;
}

.doc-page h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
}

.doc-page p,
.doc-page ul li {
  margin-bottom: 16px;
  color: var(--ink-80);
  line-height: 1.7;
}

.doc-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
  list-style: disc;
}

.doc-page ul li { margin-bottom: 8px; }

.doc-page a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}

.doc-back {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--ink-64);
  font-size: 14px;
  font-weight: 900;
}

.doc-back:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal]:not(.in) {
  opacity: 0;
  transform: translateY(26px);
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  h1 { font-size: 76px; }
  h2 { font-size: 48px; }

  .section-split,
  .value-layout,
  .people-layout,
  .camera-layout,
  .deliver-layout,
  .pilot-layout,
  .apply-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .camera-video-card {
    max-width: 940px;
  }

  .product-phones {
    max-width: 760px;
    justify-content: start;
  }

  .value-copy {
    max-width: 760px;
  }

  .value-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .club-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .achievement-product,
  .ops-showcase {
    grid-template-columns: 1fr;
  }

  .achievement-copy {
    max-width: none;
  }

  .people-copy {
    max-width: 760px;
  }

  .badge-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apply-copy {
    position: static;
  }
}

@media (max-width: 920px) {
  :root { --section-pad: 86px; }

  .site-nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links { display: none; }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 136px;
    padding-bottom: 28px;
  }

  .hero-title {
    max-width: 720px;
  }

  .hero-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-ops {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-ops div:nth-child(2) {
    border-right: 0;
  }

  .hero-ops div:nth-child(1),
  .hero-ops div:nth-child(2) {
    border-bottom: 1px solid rgba(248, 255, 240, 0.14);
  }

  .admin-stats,
  .admin-bracket,
  .track-grid,
  .roadmap,
  .id-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deliver-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root { --section-pad: 72px; }

  .container {
    padding: 0 20px;
  }

  h1 { font-size: 52px; }
  h2 { font-size: 38px; }

  .lead {
    font-size: 17px;
  }

  .site-nav {
    top: 10px;
    width: min(calc(100% - 18px), 1160px);
    padding: 9px 10px 9px 14px;
  }

  .nav-brand img {
    width: 82px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 10px 13px;
  }

  .hero,
  .inset-section {
    margin-left: 8px;
    margin-right: 8px;
    border-radius: 28px;
  }

  .hero-photo {
    object-position: 58% 50%;
  }

  .hero-photo-tint {
    background:
      linear-gradient(90deg, rgba(22, 24, 15, 0.78) 0%, rgba(22, 24, 15, 0.56) 100%),
      linear-gradient(180deg, rgba(22, 24, 15, 0.1) 0%, rgba(22, 24, 15, 0.92) 100%);
  }

  .hero-sub {
    font-size: 18px;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    white-space: normal;
    text-align: center;
  }

  .hero-ops {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .hero-ops div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(248, 255, 240, 0.14);
  }

  .hero-ops div:last-child { border-bottom: 0; }

  .hero-ops strong { font-size: 32px; }

  .section-club-value {
    padding-top: 62px;
  }

  .value-flow {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: auto;
  }

  .value-card > span {
    margin-bottom: 34px;
  }

  .value-card-accent {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .mockup-frame,
  .apply-form,
  .pilot-list,
  .operator-shot,
  .achievement-phone,
  .product-phone,
  .ops-card {
    border-radius: 24px;
  }

  .product-phones {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 420px;
  }

  .people-board {
    grid-template-columns: 1fr;
  }

  .moment-card,
  .moment-card-large {
    grid-column: auto;
    min-height: 250px;
  }

  .moment-card-large strong {
    font-size: 30px;
  }

  .section-camera {
    padding: 62px 0;
  }

  .section-camera::before {
    width: 430px;
    height: 430px;
  }

  .camera-layout {
    gap: 34px;
  }

  .camera-eyebrow {
    margin-bottom: 18px;
  }

  .camera-video-card {
    border-width: 4px;
    border-radius: 22px;
  }

  .camera-caption {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    min-height: 32px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .product-phone-front,
  .product-phone-back,
  .achievement-phone {
    margin-top: 0;
    transform: none;
  }

  .achievement-product {
    gap: 24px;
  }

  .achievement-copy {
    padding: 24px;
  }

  .achievement-copy h3 {
    font-size: 28px;
  }

  .player-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .player-head-info h4 {
    font-size: 28px;
  }

  .player-stats,
  .form-row,
  .admin-stats,
  .admin-bracket,
  .track-grid,
  .id-review-grid,
  .roadmap,
  .club-grid,
  .steps,
  .export-buttons {
    grid-template-columns: 1fr;
  }

  .player-match {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .player-match-tag {
    grid-column: 2;
    justify-self: start;
  }

  .badge-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .badge-card {
    min-height: 220px;
    padding: 18px 12px;
  }

  .badge-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .club-card,
  .ops-card,
  .steps li,
  .roadmap-step,
  .deliver-card {
    min-height: auto;
  }

  .ops-card {
    padding: 22px;
  }

  .analysis-court {
    min-height: 210px;
  }

  .speed-callout {
    font-size: 19px;
  }

  .deliver-card {
    padding: 24px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .identity-head,
  .admin-head {
    flex-direction: column;
  }

  .admin-cta {
    width: 100%;
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .doc-page {
    padding: 86px 0;
  }

  .doc-page h1 {
    font-size: 42px;
  }
}

@media (max-width: 420px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }

  .badge-wall {
    grid-template-columns: 1fr;
  }

  .mockup-url {
    display: none;
  }

  .mockup-bar {
    grid-template-columns: 1fr;
  }
}
