:root {
  --black: #000000;
  --white: #f4f7f8;
  --mute: #8c959c;
  --line: #1d2429;
  --panel: #070a0c;
  --silver: #e4e8eb;
  --bar-ink: #111417;
  --accent: #29abe2; /* replaced at runtime by site.json accent_hex once sampled from the logo */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--black); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar: silver, so the logo's black T and blue M read exactly as designed. */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--pad);
  background: var(--silver);
  color: var(--bar-ink);
}
.mark { text-decoration: none; display: flex; align-items: center; }
.mark-logo { font-weight: 800; font-stretch: 70%; font-size: 22px; color: var(--bar-ink); }
.mark-logo img { height: 38px; width: auto; display: block; }
.noscript { color: var(--mute); }
.bar nav { display: flex; gap: clamp(12px, 2.4vw, 32px); overflow-x: auto; }
.bar nav a { text-decoration: none; color: #3d454c; font-size: 15px; font-weight: 500; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.bar nav a:hover { color: var(--bar-ink); border-bottom-color: var(--accent); }
.bar a:focus-visible { outline-color: var(--bar-ink); }

main > section { padding: 0 var(--pad); max-width: var(--max); margin: 0 auto; }

/* Hero: the one loud moment. Condensed name, then a letterboxed film frame. */
.hero { padding-top: clamp(40px, 8vw, 110px) !important; }
.name {
  margin: 0;
  font-weight: 800;
  font-stretch: 62%;
  font-size: clamp(76px, 17vw, 250px);
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.role { margin: 22px 0 0; max-width: 34ch; font-size: clamp(18px, 2vw, 23px); color: var(--mute); font-stretch: 100%; }
.feature { margin: clamp(40px, 6vw, 80px) 0 0; }
.feature .gate { aspect-ratio: 2.39 / 1; }
.feature figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; margin-top: 14px; color: var(--mute); font-size: 15px; }
.feature figcaption strong { color: var(--white); font-weight: 600; }

/* A film gate: black frame, thin accent corners. Used for every video. */
.gate {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--panel); overflow: hidden;
}
.gate::before, .gate::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 2;
  border-color: var(--accent); border-style: solid;
}
.gate::before { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.gate::after { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }
.gate iframe, .gate img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.play {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer;
  background: transparent; color: var(--white); font: inherit;
  display: flex; align-items: center; justify-content: center;
}
.play-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
}
.play-icon::after { content: ""; border-left: 18px solid var(--black); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.play:hover .play-icon { transform: scale(1.06); }
@media (prefers-reduced-motion: no-preference) { .play-icon { transition: transform 160ms ease; } }
.no-video { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--mute); font-size: 15px; }
.watch-link { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; color: var(--white); }
.watch-link span { border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

/* Work */
.work { padding-top: clamp(80px, 10vw, 140px) !important; }
.group + .group { margin-top: clamp(72px, 9vw, 120px); }
.group-h {
  margin: 0 0 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font-weight: 700; font-stretch: 75%; font-size: clamp(30px, 4vw, 48px); line-height: 1; text-transform: uppercase;
}
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
.project h4 { margin: 16px 0 4px; font-size: 21px; font-weight: 600; line-height: 1.25; }
.project .meta { margin: 0; color: var(--mute); font-size: 15px; }
.project .summary { margin: 10px 0 0; max-width: 60ch; }

.tag {
  display: inline-block; margin-left: 8px; padding: 1px 7px; vertical-align: 2px;
  border: 1px dashed var(--accent); color: var(--accent); font-size: 12px; font-weight: 500; border-radius: 3px;
}

.section-h { margin: 0 0 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 700; font-stretch: 75%; font-size: clamp(30px, 4vw, 48px); line-height: 1; text-transform: uppercase; }
.athletes, .brands, .career, .contact { padding-top: clamp(80px, 10vw, 140px) !important; }

/* Athlete brands: long-term work. The year span carries past vs current. */
.athletes-intro { margin: -8px 0 32px; color: var(--mute); max-width: 52ch; font-size: 19px; }
.athlete { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.athlete-name { margin: 0; font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(44px, 6vw, 84px); line-height: 0.9; }
.athlete-years { margin: 12px 0 0; color: var(--accent); font-weight: 600; }
.built { list-style: none; margin: 0; padding: 0; }
.built li { padding: 6px 0; font-size: 18px; }
.built li + li { border-top: 1px solid var(--line); }
.stats { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 24px; }
.stat { display: flex; flex-direction: column; }
.stat-v { font-weight: 800; font-stretch: 62%; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--accent); }
.stat-l { color: var(--mute); font-size: 14px; margin-top: 4px; }
.athlete-work { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.athlete-work a { text-decoration: none; border-bottom: 1px solid var(--accent); }
@media (max-width: 760px) { .athlete { grid-template-columns: 1fr; } }

/* Brands */
.logo-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-row li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 22px; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.logo-row img { max-height: 40px; max-width: 150px; width: auto; filter: grayscale(1) brightness(1.6); }
.logo-row .brand-name { font-weight: 700; font-stretch: 80%; font-size: 22px; line-height: 1.1; }
.logo-row .brand-rel { color: var(--mute); font-size: 14px; }

/* Career: a real sequence, so years lead each row. */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline .yr { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline .t { font-weight: 600; }
.timeline .d { color: var(--mute); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; font-size: clamp(20px, 2.4vw, 28px); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--accent); }

.foot { max-width: var(--max); margin: clamp(80px, 10vw, 140px) auto 0; padding: 28px var(--pad) 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.foot p { margin: 0; }

@media (max-width: 440px) {
  .bar { gap: 12px; padding: 10px 16px; }
  .mark-logo img { height: 32px; }
  .bar nav { gap: 12px; }
  .bar nav a { font-size: 14px; }
}
