/* Ki'Tana Everett — site styles
   Follows the visitor's light/dark setting (iOS-style), with a fighter-card
   centerpiece borrowed from sports-game UI. */

:root {
  --bg: #f2f2f7;
  --bg-elev: #ffffff;
  --bg-sunk: #e9e9ef;
  --ink: #0a0a0c;
  --ink-2: #3c3c43;
  --ink-3: #6e6e76;
  --line: rgba(60, 60, 67, 0.16);
  --gold: #6b7580;
  --gold-soft: rgba(13, 122, 63, 0.10);
  --signal: #0d7a3f;
  --card-grad-a: #06301b;
  --card-grad-b: #000000;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -12px rgba(0,0,0,.18);
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-elev: #1c1c1e;
    --bg-sunk: #111113;
    --ink: #f5f5f7;
    --ink-2: #d1d1d6;
    --ink-3: #8e8e93;
    --line: rgba(235, 235, 245, 0.14);
    --gold: #c9ced6;
    --gold-soft: rgba(31, 191, 107, 0.14);
    --signal: #1fbf6b;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 18px 40px -16px rgba(0,0,0,.8);
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --bg-elev: #1c1c1e; --bg-sunk: #111113;
  --ink: #f5f5f7; --ink-2: #d1d1d6; --ink-3: #8e8e93;
  --line: rgba(235,235,245,.14); --gold: #c9ced6; --gold-soft: rgba(31,191,107,.14);
  --signal: #1fbf6b;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--bg-elev); padding: 8px 14px; border-radius: 10px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
}
h1.display { font-size: clamp(48px, 9vw, 116px); }
h2 {
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  font-size: clamp(32px, 4.6vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 16px;
}
h3 { font-size: 20px; line-height: 1.25; margin: 0 0 6px; font-weight: 700; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -0.01em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-variation-settings: "wdth" 125; letter-spacing: 0;
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 15px; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--bg-sunk); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-sunk); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 80%, var(--signal)); }
.btn-ghost { background: var(--bg-elev); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-sunk); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 9vw, 112px) 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head p { margin: 0; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .line2 { display: block; color: var(--ink-3); }
.hero .lede { margin-top: 24px; }
.hero .btn-row { margin-top: 32px; }
.names { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 14px;
  background: var(--bg-elev); border: 1px solid var(--line); color: var(--ink-2);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.coords { margin-top: 28px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- Fighter card (the signature piece) ---------- */
.fcard-stage { perspective: 1200px; display: grid; place-items: center; }
.fcard {
  position: relative; width: min(100%, 380px); aspect-ratio: 5 / 7.2;
  border-radius: 26px; overflow: hidden; color: #fff;
  background:
    url("/images/hero.jpg") center 20% / cover no-repeat,
    radial-gradient(120% 80% at 80% 0%, rgba(201,206,214,.38), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(31,191,107,.55), transparent 60%),
    linear-gradient(160deg, var(--card-grad-a), var(--card-grad-b));
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), inset 0 0 0 1.5px rgba(214,219,226,.55);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.fcard:hover { transform: rotateY(0) rotateX(0); }
.fcard::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82) 78%);
}
.fcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 45%, transparent 60%);
  mix-blend-mode: overlay;
}
.fcard-top { position: absolute; top: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 2; }
.fcard-rank { line-height: 1; }
.fcard-rank b { display: block; font-size: 54px; font-weight: 800; font-variation-settings: "wdth" 125; }
.fcard-rank span { font-size: 12px; opacity: .85; letter-spacing: .02em; }
.fcard-badge { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.fcard-mono {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 1;
  font-size: 150px; font-weight: 800; font-variation-settings: "wdth" 125;
  color: rgba(255,255,255,.08); letter-spacing: -0.04em;
}
.has-hero .fcard-mono { display: none; }
.fcard-body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.fcard-name { font-size: 30px; font-weight: 800; font-variation-settings: "wdth" 120; line-height: 1; letter-spacing: -0.01em; }
.fcard-team { font-size: 13px; opacity: .8; margin: 6px 0 14px; }
.fcard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; border-top: 1px solid rgba(255,255,255,.22); padding-top: 12px; }
.fcard-stats div { line-height: 1.1; }
.fcard-stats b { display: block; font-size: 20px; font-weight: 800; font-variation-settings: "wdth" 115; color: #dfe3e8; }
.fcard-stats span { font-size: 11px; opacity: .8; }

/* ---------- Lane tiles (Life of Kev home grid) ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.tile {
  position: relative; grid-column: span 4; min-height: 180px;
  background: var(--bg-elev); border-radius: var(--radius-lg);
  padding: 22px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line); overflow: hidden;
}
.tile:hover { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.tile.wide { grid-column: span 8; }
.tile .kicker { font-size: 13px; color: var(--ink-3); }
.tile .t-title { font-size: 26px; font-weight: 800; font-variation-settings: "wdth" 118; line-height: 1.05; letter-spacing: -0.01em; }
.tile p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.tile.dark { background: linear-gradient(150deg, var(--card-grad-a), #000); color: #fff; border-color: transparent; }
.tile.dark .kicker, .tile.dark p { color: rgba(255,255,255,.72); }
.tile.gold { background: var(--gold-soft); }

/* ---------- Squad / honors strip ---------- */
.honors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.honor { background: var(--bg-elev); padding: 22px 18px; }
.honor b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; font-variation-settings: "wdth" 125; line-height: 1; letter-spacing: -0.02em; }
.honor span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.source-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ---------- Two-column prose ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pull {
  font-size: clamp(24px, 3vw, 34px); font-weight: 700; font-variation-settings: "wdth" 108;
  line-height: 1.2; letter-spacing: -0.01em; margin: 0;
}

/* ---------- Timeline (record page — a true sequence) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 34px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--signal);
}
.timeline .when { font-size: 14px; font-weight: 700; color: var(--signal); font-variant-numeric: tabular-nums; }
.timeline h3 { margin-top: 2px; }
.timeline p { color: var(--ink-2); margin: 0; }

/* ---------- Results table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-elev); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; font-weight: 600; color: var(--ink-3); background: var(--bg-sunk); }
tr:last-child td { border-bottom: 0; }
td.result { font-weight: 700; }
td a { color: var(--ink-3); font-size: 13px; }

/* ---------- Service cards (booking — iamdjkev "built for every room") ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.service {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 6px;
}
.service:hover { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.service p { margin: 0; color: var(--ink-2); font-size: 15px; }
.service .go { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 700; color: var(--signal); }

/* ---------- Form ---------- */
.form-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(22px, 4vw, 40px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--gold-soft); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.form-status { font-size: 14px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; }

/* ---------- Video facade ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background: #000; border: 0; padding: 0; cursor: pointer; width: 100%;
}
.video .poster {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 20px 22px; text-align: left; color: #fff;
  background: radial-gradient(90% 90% at 100% 0%, rgba(201,206,214,.32), transparent 60%),
              radial-gradient(70% 80% at 0% 100%, rgba(31,191,107,.45), transparent 60%),
              linear-gradient(150deg, var(--card-grad-a), #000);
}
.video .poster b { font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 118; line-height: 1.1; }
.video .poster span { font-size: 13px; opacity: .75; margin-top: 4px; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video .play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center;
}
.video .play::after { content: ""; border-left: 20px solid #000; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { margin-top: 10px; font-size: 15px; }
.video-cap span { display: block; color: var(--ink-3); font-size: 13px; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-sunk); }
.gallery figcaption { padding: 10px 12px; font-size: 13px; color: var(--ink-3); }
.gallery-empty {
  border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 28px; color: var(--ink-2);
  background: var(--bg-elev);
}

/* ---------- Media kit ---------- */
.kit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.kit { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.kit ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); }
.kit li { margin-bottom: 6px; }
.bio-box { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: relative; }
.bio-box + .bio-box { margin-top: 14px; }
.bio-box p { margin: 0; }
.copy-btn { margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-card {
  border-radius: var(--radius-xl); padding: clamp(28px, 6vw, 64px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(31,191,107,.45), transparent 60%),
    linear-gradient(150deg, var(--card-grad-a), #000);
  color: #fff;
}
.cta-card h2 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.78); }
.cta-card .btn-primary { background: #fff; color: #000; }
.cta-card .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 120px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); }
.foot-grid a:hover { color: var(--ink); }
.legal { margin-top: 40px; font-size: 13px; color: var(--ink-3); }

/* ---------- Mobile tab bar (iOS) ---------- */
.tabbar { display: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(44px, 7.5vw, 92px); }
.page-hero .lede { margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .fcard { transform: none; width: min(100%, 340px); }
  .honors { grid-template-columns: repeat(2, 1fr); }
  .honors .honor:last-child { grid-column: 1 / -1; }
  .tile, .tile.wide { grid-column: span 12; min-height: 150px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .head-cta { display: none; }
  .fields { grid-template-columns: 1fr; }
  .tabbar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    justify-content: space-around; padding: 6px; border-radius: 22px;
    background: color-mix(in srgb, var(--bg-elev) 82%, transparent);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .tabbar a { flex: 1; text-align: center; text-decoration: none; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 9px 2px; border-radius: 16px; }
  .tabbar a[aria-current="page"] { color: var(--ink); background: var(--bg-sunk); }
  .foot-grid { grid-template-columns: 1fr; }
  .fcard-name { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .fcard { transform: none; }
}

/* ---------- Instagram reels (tap to load the official embed) ---------- */
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.reel {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; cursor: pointer;
  border-radius: var(--radius-lg); overflow: hidden; background: #000; font: inherit;
}
.reel .poster {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 18px; text-align: left; color: #fff;
  background: radial-gradient(90% 60% at 100% 0%, rgba(201,206,214,.32), transparent 60%),
              radial-gradient(80% 70% at 0% 100%, rgba(31,191,107,.5), transparent 60%),
              linear-gradient(160deg, var(--card-grad-a), #000);
}
.reel .poster em { position: absolute; top: 16px; left: 18px; font-style: normal; font-size: 13px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.reel .poster b { font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 118; line-height: 1.1; }
.reel .poster > span { font-size: 13px; opacity: .75; margin-top: 4px; }
.reel .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center;
}
.reel .play::after { content: ""; border-left: 19px solid #000; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.reel.loaded { aspect-ratio: auto; height: 640px; background: var(--bg-elev); cursor: default; }
.reel iframe { width: 100%; height: 100%; border: 0; display: block; }
.feature-photo { border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-sunk); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.reel .poster.has-cover { background: linear-gradient(180deg, rgba(0,0,0,.15) 30%, rgba(0,0,0,.85) 100%), var(--cover) center / cover no-repeat, #000; }
.fcard-top { text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.fcard::before { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 38%, rgba(0,0,0,.85) 76%); }
@media (min-width: 900px) { .reels { grid-template-columns: repeat(3, minmax(0, 300px)); } }

/* ---------- Photo cards ---------- */
.pcard {
  position: relative; margin: 0; width: 100%; max-width: 340px; aspect-ratio: var(--ratio, 4 / 5);
  border-radius: 24px; overflow: hidden; background: var(--bg-sunk);
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.45), inset 0 0 0 1.5px rgba(214,219,226,.45);
}
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.8) 100%); }
.pcard figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; }
.pcard.mt { margin-top: 28px; }
.pcard.mb { margin: 8px 0 24px; }
.pcard.hero-card { max-width: 360px; transform: rotateY(-8deg) rotateX(4deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pcard.hero-card:hover { transform: none; }
.record-band { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 28px; align-items: center; }
.record-band .pcard { max-width: none; }

/* Tiles with a photo inside */
.tile.photo-tile, .tile.dark.photo-tile { color: #fff; border-color: transparent;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 35%, rgba(6,48,27,.92) 100%), var(--img) var(--pos, 50% 30%) / cover no-repeat, #000; }
.photo-tile .kicker, .photo-tile p { color: rgba(255,255,255,.82); }
.photo-tile .t-title { text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.tile.photo-tile { min-height: 260px; }
@media (max-width: 960px) {
  .record-band { grid-template-columns: 1fr; }
  .pcard, .pcard.hero-card { transform: none; max-width: 360px; }
  .page-hero .fcard-stage { justify-items: start; }
}
@media (prefers-reduced-motion: reduce) { .pcard.hero-card { transform: none; } }

/* ---------- Autoplaying clips ---------- */
.reel.live video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .live-overlay { background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.82) 100%); }
.reel .live-overlay em::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); margin-right: 6px; vertical-align: 1px; }
.motion { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--signal) 6%, transparent)); }

/* ---------- Skating ---------- */
.reels.two { grid-template-columns: repeat(2, minmax(0, 280px)); }
.reels.one { grid-template-columns: minmax(0, 300px); }
.skate { background: linear-gradient(160deg, color-mix(in srgb, var(--signal) 7%, transparent), transparent 60%); }
.skate .btn { margin-top: 8px; }
@media (max-width: 760px) { .reels.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.skate-one { justify-content: end; }
@media (max-width: 960px) { .skate-one { justify-content: start; } }

/* ---------- Desktop: match the tight, full-width feel of mobile ---------- */
@media (min-width: 961px) {
  section { padding: 72px 0; }
  .page-hero { padding: 64px 0 48px; }
  .hero { padding-top: 48px; }
  .section-head { margin-bottom: 24px; }

  /* Reels fill the row edge to edge, like the full-width cards on a phone */
  .reels, .reels.two { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .reel { aspect-ratio: 3 / 4; }
  .reel .poster b { font-size: 26px; }

  /* Skating: card sits beside the copy instead of drifting to the edge */
  .skate .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .reels.one, .reels.skate-one { grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
  .skate-one .reel, .reels.one .reel { aspect-ratio: 4 / 5; }

  /* Balanced two-column sections */
  .split { gap: 56px; align-items: center; }
  .split .pull { max-width: 18ch; }

  /* Photo cards scale with their column */
  .split .pcard { max-width: 380px; }
  .record-band { grid-template-columns: 320px 1fr; }
}
@media (min-width: 961px) {
  .reels.skate-one, .reels.one { grid-template-columns: minmax(0, 420px); justify-content: center; }
}
@media (min-width: 961px) {
  .split { grid-template-columns: 5fr 7fr; align-items: start; }
  .skate .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .split > div > p:not(.pull):not(.lede):not(.muted) { font-size: 18.5px; line-height: 1.6; max-width: 60ch; }
  .split .pull { font-size: 40px; max-width: 14ch; }
  .page-hero + section, .page-hero ~ section { padding: 64px 0; }
}

/* ---------- Shop ---------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product {
  display: flex; flex-direction: column; text-decoration: none; background: var(--bg-elev);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.product:hover { border-color: color-mix(in srgb, var(--signal) 55%, var(--line)); }
.product-img { display: block; aspect-ratio: 1 / 1; background: #fff; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-meta { padding: 16px 18px 4px; display: flex; flex-direction: column; gap: 2px; }
.product-meta b { font-size: 18px; font-weight: 800; font-variation-settings: "wdth" 112; }
.product-meta span { font-size: 14px; color: var(--ink-3); }
.product-buy { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 18px; margin-top: auto; }
.product-buy > span { font-size: 20px; font-weight: 800; }
.product-buy em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--bg); background: var(--ink); padding: 8px 14px; border-radius: 999px; }
@media (max-width: 760px) {
  .products { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .products::-webkit-scrollbar { display: none; }
  .product { flex: 0 0 76%; scroll-snap-align: start; }
}

/* ---------- Promo code ---------- */
.promo {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px;
  padding: 12px 16px; border-radius: 16px; background: var(--bg-elev); border: 1px solid var(--line);
}
.promo p { margin: 0; font-size: 15px; color: var(--ink-2); flex: 1 1 260px; }
.promo-tag { font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 4px 10px; border-radius: 999px; background: var(--bg-sunk); }
.promo-link { font-size: 14px; font-weight: 700; color: var(--signal); text-decoration: none; white-space: nowrap; }
.code {
  font: inherit; font-weight: 800; letter-spacing: .04em; color: var(--ink); cursor: pointer;
  padding: 2px 10px; margin: 0 2px; border-radius: 8px; border: 1.5px dashed color-mix(in srgb, var(--signal) 70%, var(--line));
  background: var(--gold-soft);
}
.code.copied, .code-btn.copied { border-style: solid; }
.foot-promo { margin: 28px 0 0; font-size: 14px; color: var(--ink-3); }
.foot-promo a { color: var(--ink-2); }

/* ---------- Flagship partner ---------- */
.flagship {
  border-radius: var(--radius-xl); padding: 28px; color: #fff; align-self: stretch;
  background: radial-gradient(80% 90% at 100% 0%, rgba(201,206,214,.28), transparent 60%), linear-gradient(150deg, var(--card-grad-a), #000);
  box-shadow: inset 0 0 0 1.5px rgba(214,219,226,.35); display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; min-height: 280px;
}
.flagship .kicker { font-size: 13px; color: #dfe3e8; }
.flagship .t-title { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; font-variation-settings: "wdth" 120; line-height: 1; }
.flagship p { color: rgba(255,255,255,.8); margin: 0 0 8px; }
.flagship .btn-primary { background: #fff; color: #000; }
.flagship .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.roster { margin-top: 24px; }
.roster h3 { margin-bottom: 4px; }
.roster .names { margin-top: 12px; }

/* ---------- Training offers ---------- */
.offers { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.offer .where { font-size: 12px; font-weight: 700; color: var(--signal); }
.train { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--signal) 5%, transparent)); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 64px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--bg); background: var(--signal); }
.steps b { display: block; font-size: 17px; }
.steps span { color: var(--ink-2); font-size: 15px; }
optgroup { font-weight: 700; }
@media (min-width: 961px) {
  #train .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .train .offers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
a.reel { text-decoration: none; }

/* ---------- Her mark ---------- */
.brand-mark { background: var(--ink); color: var(--bg); padding: 4px; }
.brand-mark .mark { width: 100%; height: 100%; display: block; }
.fcard-mono .mark { width: 62%; height: 62%; color: rgba(255,255,255,.08); }
.fcard-crest { width: 30px; height: 30px; color: #dfe3e8; vertical-align: -5px; margin-right: 8px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.cta-card { position: relative; overflow: hidden; }
.cta-card > *:not(.cta-mark) { position: relative; }
.cta-mark { position: absolute; right: -40px; top: 50%; width: min(46vw, 440px); height: min(46vw, 440px); transform: translateY(-50%) rotate(-8deg); color: rgba(223,227,232,.09); pointer-events: none; }
.with-mark { display: flex; align-items: center; gap: 12px; }
.h-mark { width: .9em; height: .9em; flex: none; color: var(--ink); }
.nf-mark { width: 96px; height: 96px; color: var(--signal); margin-bottom: 12px; }

/* ---------- Shop with the worn-in clip ---------- */
.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px; align-items: stretch; }
.shop-vid { aspect-ratio: auto !important; height: 100%; min-height: 420px; cursor: default; }
.shop-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-vid { min-height: 0; height: auto; aspect-ratio: 4 / 5 !important; }
}
@media (max-width: 760px) {
  .cta-mark { width: 260px; height: 260px; right: -60px; }
}
.fcard-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fcard-side .fcard-crest { width: 44px; height: 44px; margin: 0; }
