/* Overtime partners: mobile first, everything on a 4pt grid. Breakpoints: 600 (large phone / small tablet), 900 (tablet), 1200 (desktop). */

:root {
  --ink: #1e1e1e;
  --paper: #ffffff;
  --mist: #ededed;
  --stone: #e2e2e2;
  --muted: #5c5c5c;
  --accent: #08cfea;
  --teal: rgba(6, 153, 173, 0.72);

  --gutter: 16px;
  --section: 64px;
  --stack: 24px;          /* space between a heading and what follows it */
  --radius: 16px;
  --wrap: 1200px;
  --header: 104px;        /* two rows on phones, one from 900px */

  --fs-label: 12px;  --lh-label: 16px;
  --fs-body: 16px;   --lh-body: 24px;
  --fs-lead: 20px;   --lh-lead: 28px;
  --fs-h3: 20px;     --lh-h3: 28px;
  --fs-h2: 36px;     --lh-h2: 40px;
  --fs-stat: 60px;   --lh-stat: 60px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-photo: 0 8px 24px rgba(0, 0, 0, 0.16);

  /* Motion: strong ease-out for things arriving, in-out for things changing in place. */
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
}
@media (min-width: 600px) {
  :root { --gutter: 24px; --section: 80px; --fs-h2: 44px; --lh-h2: 48px; }
}
@media (min-width: 900px) {
  :root { --header: 64px; --section: 96px; --stack: 32px; --fs-lead: 20px; --lh-lead: 32px; --fs-h3: 24px; --lh-h3: 32px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 32px; --section: 128px; --fs-h2: 60px; --lh-h2: 64px; --fs-stat: 80px; --lh-stat: 80px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Roboto Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: var(--paper); }

.h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 900; letter-spacing: -0.02em; }
.h2--center { text-align: center; }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; }
.eyebrow { font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: 300; }
.prose > * + * { margin-top: 16px; }
.section-head { margin-bottom: var(--stack); }
.section-head > * + * { margin-top: 16px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 20; padding: 12px 16px; background: var(--paper); color: var(--ink); border-radius: 4px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Buttons: 44px tall so they're easy to hit on a phone. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 4px; font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--outline { box-shadow: inset 0 0 0 1px currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: var(--accent); }
  .btn--dark:hover { background: #000; }
}

/* Header: wordmark + Let's talk on top, the three sections underneath on phones; one row from 900px. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--ink); color: var(--paper); }
.site-header__bar {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "mark cta" "nav nav";
  align-items: center; column-gap: 16px; padding-top: 8px;
}
.site-header__mark { grid-area: mark; display: inline-flex; min-height: 44px; align-items: center; }
.site-header__mark img { width: 104px; height: auto; }
.site-header .btn { grid-area: cta; min-height: 36px; padding: 0 16px; }
@media (min-width: 900px) { .site-header .btn { min-height: 28px; width: 128px; padding: 0; font-weight: 500; letter-spacing: 0.1em; border-radius: 4px; } .site-header .btn::before { content: ""; position: absolute; inset: -8px 0; } .site-header .btn { position: relative; } }
.site-nav { grid-area: nav; display: flex; margin-inline: -12px; }
.site-nav a {
  flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px;
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); position: relative; transition: color 150ms ease;
}
.site-nav a[aria-current="page"] { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { color: var(--accent); } }
@media (min-width: 900px) {
  .site-header__bar { grid-template-columns: 1fr auto 1fr; grid-template-areas: "mark nav cta"; min-height: 64px; padding-top: 0; }
  .site-header .btn { justify-self: end; }
  .site-nav { margin: 0; gap: 4px; }
  .site-nav a { flex: none; min-height: 64px; padding: 0 24px; }
}

/* Hero: portrait crop on phones so the sizzle fills the screen, widescreen from 600px. */
.hero { position: relative; background: #000; overflow: hidden; }
.hero video, .hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-height: calc(100svh - var(--header)); }
@media (min-width: 600px) { .hero video, .hero img { aspect-ratio: 16 / 9; } }
@media (min-width: 900px) { .hero video, .hero img { aspect-ratio: 2 / 1; } }
.hero__down { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; place-items: center; width: 64px; height: 44px; color: var(--paper); opacity: 0.88; transition: opacity 150ms ease; }
.hero__down svg { width: 48px; height: 24px; }
@media (hover: hover) and (pointer: fine) { .hero__down:hover { opacity: 1; } .hero__down:hover svg { translate: 0 4px; } }
@media (max-width: 599px) { .hero__down { display: none; } }

/* The OT Impact: collage + copy. */
.impact__grid { display: grid; gap: var(--stack); align-items: center; }
@media (min-width: 900px) { .impact__grid { grid-template-columns: 7fr 5fr; gap: 48px; } }
.collage { position: relative; aspect-ratio: 628 / 426; margin: 8px 4px 16px; }
.collage img { position: absolute; max-width: none; box-shadow: var(--shadow-photo); }
.collage__ph { position: absolute; background: #d4d4d4; box-shadow: var(--shadow-photo); }
.collage img.cutout { box-shadow: none; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16)); }

/* Stat cards: tap to flip for the numbers behind the number. */
.stats { display: grid; gap: 16px; margin-top: var(--section); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .stats { gap: 24px; } }
.stat { perspective: 1200px; display: grid; }
.stat__inner { display: grid; height: 100%; transition: transform 400ms var(--ease-in-out); -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }
.stat.is-flipped .stat__inner { transform: rotateY(180deg); }
.stat__face {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 48px 24px 32px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-card);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.stat__face--front { transform: rotateY(0deg); }
.stat__face--back { transform: rotateY(180deg); justify-content: center; gap: 16px; }
.stat__icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 8px; }
.stat__label { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 500; letter-spacing: 0.04em; }
.stat__num { font-size: var(--fs-stat); line-height: var(--lh-stat); font-weight: 900; letter-spacing: -0.02em; }
.stat__num--sm { font-size: 44px; line-height: 48px; }
.stat__text { max-width: 28ch; }
.stat__pair > * + * { margin-top: 4px; }
.stat__source { font-size: var(--fs-label); line-height: var(--lh-label); color: var(--muted); max-width: 36ch; }
.stat__flip {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); z-index: 1; min-height: 44px; padding: 0 16px; border: 0;
  background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--muted);
  font-family: inherit; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.stat { position: relative; }
.stat__inner { cursor: pointer; }

/* The OT Playbook: three doors into the section pages. */
.doors { display: grid; gap: 16px; }
@media (min-width: 600px) { .doors { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.door { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--paper); box-shadow: var(--shadow-card); }
.door img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 200ms var(--ease-out); }
@media (min-width: 600px) { .door img { aspect-ratio: 4 / 5; } }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.08)); transition: background-color 200ms ease; }
.door span { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 20px; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.door span::after { content: "→"; font-weight: 400; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .door:hover img { transform: scale(1.02); }
  .door:hover::after { background-color: var(--teal); }
  .door:hover span::after { transform: translateX(4px); }
}

/* Check out our work: phone mockups that open the case studies. */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
@media (min-width: 768px) { .work { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .work { gap: 32px; } }
.phone { display: block; text-decoration: none; text-align: center; }
.phone__frame { position: relative; aspect-ratio: 210 / 438; margin: 0 auto 16px; max-width: 220px; transition: transform 200ms var(--ease-out); }
.phone__frame .phone__screen { position: absolute; left: 3.33%; top: 1.6%; width: 93%; height: 96.8%; object-fit: cover; border-radius: 10% / 4.8%; }
.phone__frame .phone__mock { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16)); }
@media (hover: hover) and (pointer: fine) { .phone:hover .phone__frame { transform: translateY(-4px); } }

/* Footer logo strip: a marquee across the top of the footer photo, as on the original. */
.logos { position: relative; z-index: 2; padding-block: 40px 24px; --mq-h: 24px; --mq-h-lg: 32px; }
@media (min-width: 900px) { .logos { padding-block: 48px 32px; } }
@keyframes marquee { to { transform: translateX(var(--shift, -50%)); } }

/* Contact + footer over a photo that fades up out of black. */
.contact { position: relative; color: var(--paper); background: #000; overflow: hidden; text-align: center; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0.56; filter: grayscale(1) contrast(0.9); }
/* Pull the photo up so the player's head sits just under the logo strip; the extra height keeps the bottom covered. */
.contact__bg { top: -48px; height: calc(100% + 48px); }
@media (min-width: 900px) { .contact__bg { top: -80px; height: calc(100% + 80px); } }
/* Solid black only behind the logo strip, then the photo shows through, then a fade for the copy and the social row. */
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.8) 10%, rgba(0, 0, 0, 0.2) 32%, rgba(0, 0, 0, 0.2) 52%, rgba(0, 0, 0, 0.84) 100%); }
.contact__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 96px 24px; }
@media (min-width: 900px) { .contact__inner { padding-block: 128px 24px; } }
.contact__title { font-size: 24px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 900px) { .contact__title { font-size: 28px; line-height: 32px; } }
.contact__foot { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 20px; }
.contact__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.contact__social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--paper); opacity: 0.88; transition: opacity 150ms ease; }
.contact__social svg { width: 20px; height: 20px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .contact__social a:hover { opacity: 1; } }
.contact__legal { font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.64; }

/* Entrances: one per element, strong ease-out, a 40ms stagger inside groups. Gentler (fade only) with reduced motion. */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: var(--delay, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; }
  .js .reveal.is-in { transition: opacity 200ms ease; transition-delay: 0ms; }
  .stat__inner { transition: none; }
  .stat__face { backface-visibility: visible; transition: opacity 200ms ease; }
  .stat.is-flipped .stat__inner { transform: none; }
  .stat__face--back { transform: none; opacity: 0; }
  .stat.is-flipped .stat__face--front { opacity: 0; }
  .stat.is-flipped .stat__face--back { opacity: 1; }
}

/* Section pages (Leagues, Content, Culture): a dark photo intro with everything centered, as on the originals. */
.page-hero { position: relative; color: var(--paper); background: #000; overflow: hidden; text-align: center; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.24; }
.page-hero__inner {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  min-height: calc(100svh - var(--header)); padding-block: 64px 32px;
}
.page-hero__title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 12px; font-size: 40px; line-height: 48px; font-weight: 300; color: #ccc; }
.page-hero__mark { height: 28px; width: auto; }
.page-hero__intro { max-width: 880px; font-size: var(--fs-body); line-height: var(--lh-body); }
.page-hero__intro > * + * { margin-top: 12px; }
.page-hero__down { display: grid; place-items: center; width: 64px; height: 44px; color: rgba(255, 255, 255, 0.8); transition: color 150ms ease; }
.page-hero__down svg { width: 48px; height: 24px; }
@media (hover: hover) and (pointer: fine) { .page-hero__down:hover { color: var(--paper); } .page-hero__down:hover svg { translate: 0 4px; } }
@media (min-width: 900px) {
  .page-hero__inner { min-height: 640px; max-height: calc(100svh - var(--header)); padding-block: 96px 48px; gap: 40px; }
  .page-hero__title { font-size: 48px; line-height: 56px; gap: 0 12px; }
  .page-hero__mark { height: 36px; }
  .page-hero__intro { font-size: var(--fs-lead); line-height: 32px; }
  .page-hero__down { margin-top: 8px; }
}
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.jump a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--paper); color: var(--paper); text-decoration: none; background: rgba(0, 0, 0, 0.24);
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 700;
  transition: background-color 150ms ease, color 150ms ease;
}
.jump a img { height: var(--hs, 20px); width: auto; max-width: 160px; object-fit: contain; transition: filter 150ms ease; }
.jump--marks { gap: 16px; }
.jump--marks a { padding: 0; width: 72px; height: 72px; border-radius: 12px; }
.jump--marks a img { width: 44px; height: 44px; filter: none; }
@media (min-width: 900px) {
  .jump { gap: 16px; }
  .jump a { min-height: 48px; padding: 12px 20px; font-size: var(--fs-body); line-height: var(--lh-body); }
  .jump a { min-height: 56px; padding: 8px 32px; }
  .jump a img { height: var(--h, 24px); max-height: 64px; margin-block: -12px; }
  .jump--marks { gap: 48px; }
  .jump--marks a { width: 124px; height: 120px; padding: 0; }
  .jump--marks a img { width: 80px; height: 80px; }
}
@media (hover: hover) and (pointer: fine) { .jump a:hover { background: var(--paper); color: var(--ink); } .jump:not(.jump--marks) a:hover img { filter: brightness(0); } .jump--marks a:hover { background: rgba(255, 255, 255, 0.16); color: var(--paper); } }

/* Leagues: one themed band per league. Logo, copy and buttons left, sizzle right, partners centered across the band. */
.league { position: relative; overflow: hidden; color: var(--ink); background: var(--paper); padding-block: 48px; }
.league--dark { color: var(--paper); background: var(--ink); }
.league__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.league__inner { position: relative; display: grid; gap: 32px; align-items: start; max-width: calc(1104px + 2 * var(--gutter)); }
@media (min-width: 900px) { .league { padding-block: 104px; } .league__inner { grid-template-columns: minmax(0, 392px) minmax(0, 1fr); gap: 28px; } }
.league__logo { height: 40px; width: auto; max-width: 200px; object-fit: contain; object-position: left; }
.league__copy > * + * { margin-top: 20px; }
.league__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn--theme { background: var(--theme, var(--ink)); color: var(--theme-ink, var(--paper)); box-shadow: inset 0 0 0 1px var(--theme, var(--ink)); }
.btn--theme.btn--outline { background: rgba(255, 255, 255, 0.24); color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.league--dark .btn--theme.btn--outline { background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn--theme:hover { filter: brightness(1.12); } .btn--theme.btn--outline:hover { background: rgba(127, 127, 127, 0.24); } }
.btn-row--league .btn { min-width: 136px; border-radius: 4px; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 500; letter-spacing: 0; }
@media (min-width: 900px) and (pointer: fine) {
  /* The original's arrangement: Learn more on its own, the brand links stacked beside it. */
  .btn-row--league { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 392px; }
  .btn-row--league .btn { min-width: 0; }
  .btn-row--league .btn:first-child { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  /* Phones: Learn more spans the column, the two brand links share the row below it. */
  .btn-row--league { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .btn-row--league .btn { min-width: 0; }
  .btn-row--league .btn:first-child { grid-column: 1 / -1; }
}
.partners { position: relative; margin-top: 40px; padding-inline: var(--gutter); text-align: center; }
.partners__label { font-size: var(--fs-label); line-height: var(--lh-label); text-transform: uppercase; margin-bottom: 12px; }
.partners > ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; max-width: 1216px; margin-inline: auto; }
.partners img { height: 32px; width: auto; max-width: 112px; object-fit: contain; }
@media (min-width: 900px) { .partners { margin-top: 48px; } .partners > ul { gap: 16px 20px; } .partners img { height: 36px; max-width: 152px; } }

/* Content: a show picker. Centered logo + copy; the featured clip sits left, posters run off the right edge, arrows step through. */
.shows__head { text-align: center; margin-bottom: 32px; }
.shows__head h2 { display: flex; justify-content: center; margin-bottom: 24px; }
.shows__logo { height: var(--hs, 40px); width: auto; max-width: 280px; object-fit: contain; }
.shows__head .prose { max-width: 800px; margin-inline: auto; }
.section.shows { padding-block: 48px 64px; }
@media (min-width: 900px) { .section.shows { padding-block: 48px 96px; } .shows__logo { height: var(--h, 52px); max-width: 360px; } .shows__head .prose { font-size: var(--fs-lead); line-height: 32px; } .shows__head .prose > * + * { margin-top: 0; } }
/* Show pickers: the poster rail is the control. Pick a poster and the card under it springs out from that poster, with a notch pointing back up. */
.shows__body { display: grid; gap: 16px; }
.feature__title { font-size: 20px; line-height: 24px; font-weight: 900; text-transform: uppercase; margin-bottom: 8px; }
.feature__body { font-style: italic; font-size: 14px; line-height: 20px; }
.rail {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 36%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 4px; scroll-padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 600px) { .rail { grid-auto-columns: 22%; gap: 16px; } }
.tile { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; display: block; color: inherit; text-align: left; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; opacity: 0.75; filter: grayscale(1); transition: opacity 200ms ease, filter 200ms ease, transform 150ms var(--ease-out); }
.tile[aria-selected="true"] img { opacity: 1; filter: none; }
.tile:focus-visible img { box-shadow: 0 0 0 2px var(--accent); }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: translateY(-4px); } }
.showcard { position: relative; }
.showcard__notch { position: absolute; top: -10px; left: 0; width: 20px; height: 10px; background: rgba(127, 127, 127, 0.16); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: translateX(var(--x, 0)); transition: transform 320ms var(--ease-out), opacity 150ms ease; pointer-events: none; }
.showcard.is-scrolling .showcard__notch { transition: opacity 150ms ease; }
.showcard__notch.is-off { opacity: 0; }
.showcard__show { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 16px; padding: 12px; border-radius: 12px; background: rgba(127, 127, 127, 0.16); transform-origin: var(--ox, 50%) top; transition: opacity 240ms var(--ease-out), transform 360ms cubic-bezier(0.22, 1, 0.36, 1); }
.showcard__show.is-from { opacity: 0; transform: translateY(-8px) scale(0.94); transition: none; }
.showcard__show[hidden] { display: none; }
.showcard__clip { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; display: block; background: rgba(127, 127, 127, 0.16); }
.showcard__clip--tall { aspect-ratio: 9 / 16; }
.showcard__text { align-self: center; }
.showcard__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; line-height: 20px; font-weight: 700; color: inherit; text-decoration: none; opacity: 0.8; transition: opacity 150ms ease; }
.showcard__link svg { width: 16px; height: 16px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .showcard__link:hover { opacity: 1; text-decoration: underline; } }
@media (min-width: 900px) {
  .shows__body { gap: 24px; }
  /* Desktop: no rail. The posters share the content width equally so the row is symmetrical end to end. */
  .rail { grid-auto-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 8px 0 4px; width: 100%; overflow: visible; scroll-snap-type: none; }
  .tile img { border-radius: 12px; }
  .showcard__show { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding: 20px; }
  .feature__title { font-size: 28px; line-height: 32px; }
  .feature__body { font-size: 16px; line-height: 24px; max-width: 600px; }
}
@media (prefers-reduced-motion: reduce) { .showcard__show { transition: opacity 200ms ease; } .showcard__show.is-from { transform: none; } .showcard__notch, .tile img { transition: none; } }
.cards--media { max-width: 1040px; margin-inline: auto; }
@media (min-width: 900px) { .cards--media { gap: 64px; } .cards--media .card__img { aspect-ratio: 208 / 320; border-radius: 12px; box-shadow: none; } }

/* Grids of examples (media formats, events, collabs, partner cards). */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.card { display: block; text-decoration: none; color: inherit; position: relative; }
.card__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-photo); }
.card__img--tall { aspect-ratio: 9 / 16; }
.card__caption { margin-top: 12px; font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.card__more { display: block; margin-top: 4px; font-size: var(--fs-label); line-height: var(--lh-label); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; }
@media (hover: hover) and (pointer: fine) { a.card:hover .card__img { transform: translateY(-4px); } }
.card__img { transition: transform 200ms var(--ease-out); }


/* Case studies: logo lockup, the campaign clip, the story and its highlights. */
.lockup { display: flex; align-items: center; justify-content: center; gap: 12px; }
.lockup img { height: 32px; width: auto; max-width: 136px; object-fit: contain; }
.lockup span { font-size: 28px; line-height: 32px; font-weight: 300; }
@media (min-width: 900px) { .lockup img { height: 48px; max-width: 220px; } }
.study__clip { width: 100%; max-width: 360px; margin-inline: auto; aspect-ratio: 498 / 1080; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-photo); background: #000; }
.study__embed { position: relative; aspect-ratio: 16 / 9; max-width: 960px; margin-inline: auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-photo); background: #000; margin-top: var(--stack); }
.study__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.study__story > * + * { margin-top: 24px; }
.highlights { padding: 24px; border-radius: var(--radius); background: var(--mist); }
.highlights h2 { margin-bottom: 16px; }
.highlights li { padding-left: 20px; position: relative; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.highlights li + li { margin-top: 16px; }
.highlights li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

mark { background: linear-gradient(transparent 45%, rgba(8, 207, 234, 0.56) 45%); color: inherit; padding: 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.draftees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.draftees img { width: 100%; max-width: 144px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 8px; background: var(--mist); }
.draftees p { font-size: var(--fs-body); line-height: var(--lh-body); }
.draftees span { display: block; font-size: var(--fs-label); line-height: var(--lh-label); letter-spacing: 0.12em; color: var(--muted); }
.more-work { display: grid; gap: 8px; }
@media (min-width: 600px) { .more-work { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.more-work a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 24px;
  border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(30, 30, 30, 0.16);
  text-decoration: none; font-weight: 700; transition: transform 150ms var(--ease-out);
}
.more-work a::after { content: "→"; font-weight: 400; transition: transform 200ms var(--ease-out); }
.more-work a:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .more-work a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
  .more-work a:hover::after { transform: translateX(4px); }
}

/* Brand pages: Roboto Flex everywhere; only the league headers use the league's own face. */
@font-face { font-family: "VTF League"; src: url("/assets/fonts/vtf.woff2") format("woff2"), url("/assets/fonts/vtf.woff") format("woff"); font-weight: normal; font-style: normal; font-display: swap; }
.brand { background: var(--brand-bg, var(--paper)); }
.brand[data-league="ote"] { --league-font: "VTF League", "Roboto Flex", sans-serif; --brand-bg: #fffcfa; --brush: url("/media/overtime/images/2024/08/05/bb06dab92319c9cb70ebd334af623ee6/orange-paint.png.v/full.webp"); }
.brand[data-league="ot7"] { --league-font: "Black Ops One", "Roboto Flex", sans-serif; --brand-bg: #ffffff; --brush: url("/media/overtime/images/2024/08/27/b150b76e00b3d7b4f4428418adcffbd6/ot7-green-brush-stroke.png.v/w960.webp"); --league-case: uppercase; }
.brand[data-league="select"] { --league-font: "Teko", "Roboto Flex", sans-serif; --brand-bg: #fbf9ff; --league-tight: 0.9; }
.league-head {
  font-family: var(--league-font); font-weight: 400; text-transform: var(--league-case, none);
  font-size: 44px; line-height: 44px; letter-spacing: -0.01em;
}
.league-head--xl { font-size: 44px; line-height: 44px; }
@media (min-width: 600px) { .league-head--xl { font-size: 56px; line-height: 56px; } }
@media (min-width: 900px) { .league-head { font-size: 60px; line-height: 60px; } .league-head--xl { font-size: 80px; line-height: 80px; } }
@media (min-width: 1200px) { .league-head--xl { font-size: 100px; line-height: 96px; } }
.brand[data-league="select"] .league-head { font-size: 56px; line-height: 48px; }
.brand[data-league="select"] .league-head--xl { font-size: 64px; line-height: 56px; }
@media (min-width: 900px) { .brand[data-league="select"] .league-head { font-size: 80px; line-height: 68px; } .brand[data-league="select"] .league-head--xl { font-size: 96px; line-height: 80px; } }
@media (min-width: 1200px) { .brand[data-league="select"] .league-head--xl { font-size: 120px; line-height: 100px; } }
.league-head { overflow-wrap: anywhere; }
.league-head--brush { display: inline-block; padding-bottom: 16px; background: var(--brush, none) no-repeat left bottom / 100% 20px; }

.brand-intro { padding-block: 32px var(--section); }
.brand-intro__logo { height: 24px; width: auto; max-width: 140px; object-fit: contain; object-position: left; margin-bottom: 24px; }
.brand-intro__grid { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .brand-intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; } }
.brand-intro__media { order: -1; }
@media (min-width: 900px) { .brand-intro__media { order: 1; } }
.brand-intro__media video, .brand-intro__media .slides { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-photo); background: #000; }
.brand-intro__copy > * + * { margin-top: 24px; }
.jump-down { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; }
.jump-down::after { content: "↓"; transition: translate 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .jump-down:hover::after { translate: 0 4px; } }

.pkg { padding-block: var(--section); }
.pkg--dark { background: #0d0d0d; color: var(--paper); }
.pkg__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .pkg__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .pkg:nth-of-type(even) .pkg__media { order: 1; }
}
.pkg__copy > * + * { margin-top: 20px; }
.pkg__sub { font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.pkg__copy ul { padding-left: 20px; list-style: disc; }
.pkg__copy li + li { margin-top: 4px; }
.pkg__copy li strong { font-weight: 700; }
.pkg__tags { display: inline-block; padding: 8px 12px; border-radius: 4px; background: rgba(127, 127, 127, 0.16); font-size: var(--fs-label); line-height: var(--lh-label); font-style: italic; font-weight: 500; }
.pkg__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }
.pkg__link::after { content: "↗"; font-weight: 400; }
.pkg__caption { margin-top: 12px; font-size: var(--fs-label); line-height: var(--lh-label); text-align: center; }
.pkg__caption strong { display: block; letter-spacing: 0.12em; text-transform: uppercase; }

/* Photo sets: crossfade every 5s while on screen; dots to jump. One photo, no motion, with reduced motion. */
.slides { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-photo); background: rgba(127, 127, 127, 0.16); aspect-ratio: var(--ratio, 3 / 2); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 400ms var(--ease-out); }
.slides img.is-active { opacity: 1; }
.slides img:first-child { opacity: 1; }
.slides.is-ready img:first-child:not(.is-active) { opacity: 0; }
.slides__dots { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; justify-content: center; }
.slides__dots button { width: 32px; height: 32px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.slides__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.56); box-shadow: 0 0 4px rgba(0, 0, 0, 0.4); transition: background-color 200ms ease, transform 200ms var(--ease-out); }
.slides__dots button[aria-current="true"]::before { background: #fff; transform: scale(1.25); }
.pkg__media > img, .pkg__media > video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-photo); }
.example video { width: 100%; max-width: 960px; margin-inline: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-photo); background: #000; }

/* ---- Brand pages, faithful to the originals ---- */
/* Their own header: league logo + a league-colored Let's talk, like the Ceros pages. */
.brand-header { position: sticky; top: 0; z-index: 10; background: var(--brand-header-bg, rgba(255, 255, 255, 0.92)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brand-header__bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand-header__logo { display: inline-flex; align-items: center; min-height: 44px; }
.brand-header__logo img { height: 20px; width: auto; max-width: 140px; object-fit: contain; }
.btn--brand { background: var(--brand-accent, var(--ink)); color: #fff; min-height: 36px; padding: 0 16px; }
@media (hover: hover) and (pointer: fine) { .btn--brand:hover { filter: brightness(1.1); } }
body:has(.brand[data-league="ote"]) { --brand-accent: #fc4506; --brand-header-bg: rgba(255, 252, 250, 0.92); }
body:has(.brand[data-league="ot7"]) { --brand-accent: #00b85f; }
body:has(.brand[data-league="select"]) { --brand-accent: #6900ff; --brand-header-bg: rgba(251, 249, 255, 0.92); }
:root { scroll-padding-top: 64px; }

/* Hero: video runs off the right edge, the big title overlaps its lower-left corner. */
.brand-intro { position: relative; padding-block: 0 var(--section); }
.brand-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.brand-intro__media { order: 0; margin-inline: calc(-1 * var(--gutter)); }
.brand-intro__media video, .brand-intro__media .slides { border-radius: 0; box-shadow: none; }
.brand-intro__copy { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .brand-intro { padding-top: 16px; }
  .brand-intro__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .brand-intro__media { grid-column: 5 / -1; grid-row: 1; margin: 0 calc((100% - 100vw) / 2) 0 0; }
  /* Only the title overlaps the video; the copy sits below it, as on the original pages. */
  .brand-intro__copy { display: contents; }
  .brand-intro__copy .league-head { grid-column: 1 / 9; grid-row: 1; align-self: end; position: relative; z-index: 1; transform: translateY(40%); }
  .brand-intro__copy .lead { grid-column: 1 / 7; grid-row: 2; margin-top: 64px; max-width: 52ch; }
  .brand-intro__copy .jump-down { grid-column: 1 / 7; grid-row: 3; margin-top: 16px; }
}
.brand-intro__copy .lead strong { font-weight: 700; }
.jump-down { color: var(--brand-accent); }
.brand-intro__arrow { position: absolute; z-index: 2; pointer-events: none; width: min(620px, 72vw); height: auto; left: 0; top: 8px; transform: rotate(-4deg); }

/* OTE: off-white with faint court drawings. */
.brand[data-league="ote"] .pkg { position: relative; overflow: hidden; }
.brand[data-league="ote"] .pkg::before {
  content: ""; position: absolute; inset: -10% auto -10% -12%; width: 60%; background: var(--court) no-repeat center / contain; opacity: 0.06; pointer-events: none;
}
.brand[data-league="ote"] .pkg:nth-of-type(even)::before { left: auto; right: -12%; transform: scaleX(-1); }

/* OT7: torn-paper photo frames, the black torn panel, lime doodles. */
.brand[data-league="ot7"] .pkg { position: relative; overflow: hidden; }
.brand[data-league="ot7"] .pkg__media .slides { border-radius: 0; box-shadow: none; overflow: visible; }
.brand[data-league="ot7"] .pkg__media .slides::after { content: ""; position: absolute; inset: -3%; background: var(--tear) no-repeat center / 100% 100%; pointer-events: none; z-index: 1; }
.brand[data-league="ot7"] .pkg--dark { background: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), #000 var(--texture) center / cover; }
.doodle { position: absolute; z-index: 0; width: 160px; height: auto; pointer-events: none; opacity: 0.9; }
.doodle--right { right: -24px; top: 24px; }
.doodle--left { left: -24px; bottom: 24px; }
@media (max-width: 899px) { .doodle { width: 96px; opacity: 0.6; } }
.brand[data-league="ot7"] .pkg__grid { position: relative; z-index: 1; }

/* Select: lavender with soft purple glows. */
.brand[data-league="select"] {
  background:
    radial-gradient(40% 32% at 8% 12%, rgba(150, 90, 255, 0.28), transparent 70%),
    radial-gradient(36% 28% at 96% 42%, rgba(150, 90, 255, 0.24), transparent 70%),
    radial-gradient(40% 30% at 10% 78%, rgba(150, 90, 255, 0.22), transparent 70%),
    linear-gradient(#fbf9ff, #ede0ff);
}
.sold s { opacity: 0.6; }
.sold__tag { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 4px; background: #e53935; color: #fff; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transform: rotate(-4deg); }

/* Playbook doors as on the original: big centered label, teal wash on hover. */
.door::after { background: rgba(0, 0, 0, 0.24); }
.door span { inset: 0; justify-content: center; padding: 0; font-size: 28px; line-height: 32px; letter-spacing: 0.02em; }
@media (min-width: 900px) { .door span { font-size: 32px; line-height: 36px; } }
.door span::after { content: none; }
@media (hover: hover) and (pointer: fine) { .door:hover::after { background-color: var(--teal); } }

/* Case-study lockups: each logo carries its own height so the pair reads balanced. */
.lockup img { height: var(--h, 32px); max-width: 240px; }
@media (min-width: 900px) { .lockup img { height: var(--h-lg, 48px); } }

/* ---- Home, matched to the original ---- */
.section--impact { padding-top: 32px; }
@media (min-width: 900px) { .section--impact { padding-top: 32px; padding-bottom: 96px; } }
.impact__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; text-transform: uppercase; }
@media (min-width: 900px) { .impact__title { font-size: 28px; line-height: 40px; } }
.stats { margin-top: 32px; }
@media (min-width: 1200px) { .stats { gap: 48px; } }
.stat__face { justify-content: flex-start; padding: 48px 24px 40px; border-radius: 16px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16); transition: background-color 200ms ease; }
@media (min-width: 900px) { .stat__face { min-height: 348px; padding: 16px 24px 40px; } }
.stat__label { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: 0; }
.stat__num { letter-spacing: -0.02em; }
@media (min-width: 1200px) { .stat__num:not(.stat__num--sm) { font-size: 88px; line-height: 88px; } }
.stat__text { font-size: var(--fs-body); line-height: var(--lh-body); }
@media (hover: hover) and (pointer: fine) { .stat:hover .stat__face { background: var(--accent); } }
.stat__face { padding-bottom: 64px; }
@media (max-width: 599px) { .page-hero__bg { opacity: 0.4; } }
.doors { max-width: 1120px; margin-inline: auto; }
@media (min-width: 600px) { .door img { aspect-ratio: 1 / 1; } }
@media (min-width: 1200px) { .doors { gap: 80px; } }
.door { border-radius: 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24); }
.door::after { background: rgba(0, 0, 0, 0.32); }
.door span { font-size: 28px; line-height: 32px; font-weight: 700; letter-spacing: 0; }
.work { max-width: 1120px; margin-inline: auto; }
@media (min-width: 1200px) { .work { gap: 48px; } }
.phone__frame { max-width: 248px; margin-bottom: 0; }

/* ---- Culture, matched to the original: centered heads, a centered row of four small cards ---- */
.culture-head { text-align: center; max-width: 840px; margin: 0 auto 32px; }
.culture-head h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
@media (min-width: 900px) { .culture-head h2 { font-size: 48px; line-height: 56px; } .culture-head p { font-size: var(--fs-lead); line-height: 32px; } }
.cards--row { max-width: 1088px; margin-inline: auto; }
@media (min-width: 900px) { .cards--row { gap: 24px; } }
@media (min-width: 1200px) { .cards--row { gap: 32px; } }
.cards--row .card__img { aspect-ratio: 207 / 260; border-radius: 20px; box-shadow: none; }
.cards--row .card--tall .card__img { aspect-ratio: 207 / 305; }
.cards--row .card__caption { text-align: center; letter-spacing: 0.04em; margin-top: 16px; }
.card__brand { display: flex; justify-content: center; align-items: center; min-height: 64px; margin-top: 12px; }
.card__brand img { height: var(--h, 48px); max-height: 40px; width: auto; max-width: 136px; object-fit: contain; }
@media (min-width: 900px) { .card__brand img { height: var(--h, 48px); max-height: 60px; } }
.card__frame { position: relative; display: block; border-radius: 20px; overflow: hidden; }
.card--link .card__img { transition: transform 200ms var(--ease-out); }
.card--link .card__more {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0; background: var(--teal); color: var(--paper);
  font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0; transition: opacity 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .card--link:hover .card__more { opacity: 1; } .card--link:hover .card__img { transform: scale(1.02); } a.card--link:hover .card__img { transform: scale(1.02); } }
.card--link:focus-visible .card__more { opacity: 1; }

@media (min-width: 900px) { #talent, #events, #lifestyle, #partners { padding-top: 64px; } }

/* ---- Brand pages, composition matched to the originals ---- */
@font-face { font-family: "VTF League"; src: url("/media/overtime/fonts-plus/v1/2024/02/28/bacad190aa6e10b367058b9c8874d67a/v2vtfleague-7blackAdlamUnjoinedlatin.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
.brand[data-league="ote"] .league-head--xl { font-weight: 900; }
@media (min-width: 1200px) {
  .brand[data-league="ote"] .league-head { font-size: 80px; line-height: 80px; }
  .brand[data-league="ote"] .league-head--xl { font-size: 100px; line-height: 88px; }
  .brand[data-league="select"] .league-head { font-size: 100px; line-height: 84px; }
}
/* Hero: the sizzle fills the right half to the edge; the title starts a quarter in and overlaps its lower-left corner. */
@media (min-width: 900px) {
  .brand-intro__media { grid-column: 7 / -1; margin-top: 24px; margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--wrap) - 2 * var(--gutter)) / 2))); }
  .brand { overflow-x: clip; }
  .brand-intro__copy .league-head { grid-column: 2 / -1; transform: translateY(48%); }
  .brand-intro__copy .lead { grid-column: 1 / 7; max-width: 580px; }
}
@media (min-width: 1200px) { .brand-intro__copy .league-head { grid-column: 3 / -1; } }
/* Packages: the photo runs off its side of the page, the copy column sits beside it. */
@media (min-width: 900px) {
  .pkg { padding-block: 64px; }
  .pkg__grid { max-width: none; padding-inline: 0; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 0; }
  .pkg__copy { max-width: 640px; padding: 0 var(--gutter) 0 48px; }
  .pkg:nth-of-type(even) .pkg__grid { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); }
  .pkg:nth-of-type(even) .pkg__copy { justify-self: end; padding: 0 48px 0 var(--gutter); }
  .pkg__media > img, .pkg__media > video, .pkg__media .slides { border-radius: 0; box-shadow: none; }
  .pkg__sub { font-size: 20px; line-height: 28px; letter-spacing: 0; text-align: center; max-width: 480px; }
}
@media (min-width: 1200px) {
  .pkg__copy { padding-left: 88px; max-width: 688px; }
  .pkg:nth-of-type(even) .pkg__copy { padding: 0 64px 0 96px; max-width: 800px; }
}
.brand[data-league="ote"] .pkg:not(.pkg--dark) .pkg__copy { color: #4d4d4d; }
.brand[data-league="ote"] .pkg:not(.pkg--dark) .pkg__copy .league-head, .brand[data-league="ote"] .pkg:not(.pkg--dark) .pkg__sub { color: var(--ink); }
.pkg__copy li:not(:has(strong)) { font-weight: 700; }
.pkg__copy li strong { font-weight: 700; }
/* OT7: photos sit inset from the page edge; the dark packages are a torn black panel, not a full band. */
@media (min-width: 900px) {
  .brand[data-league="ot7"] .pkg__media { padding-left: 48px; }
  .brand[data-league="ot7"] .pkg:nth-of-type(even) .pkg__media { padding: 0 48px 0 0; }
  .brand[data-league="ot7"] .pkg--dark { background: transparent; padding-block: 112px; }
  .brand[data-league="ot7"] .pkg--dark::before, .brand[data-league="ot7"] .pkg--dark::after { content: ""; position: absolute; right: 0; width: 88%; pointer-events: none; }
  .brand[data-league="ot7"] .pkg--dark::before { top: 64px; bottom: 64px; background: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), #000 var(--texture) center / cover; }
  .brand[data-league="ot7"] .pkg--dark::after { top: 24px; bottom: 24px; background: var(--torn) top / 100% 48px no-repeat, var(--torn) bottom / 100% 48px no-repeat; transform: scaleY(-1); }
  .brand[data-league="ot7"] .pkg--dark:nth-of-type(even)::before, .brand[data-league="ot7"] .pkg--dark:nth-of-type(even)::after { right: auto; left: 0; }
}
@media (min-width: 1200px) {
  .brand[data-league="ot7"] .pkg__media { padding-left: 128px; }
  .brand[data-league="ot7"] .pkg:nth-of-type(even) .pkg__media { padding: 0 128px 0 0; }
}
/* Heat Check / The Audible heroes: title further left with its second line stepped in, as on the originals. */
@media (min-width: 900px) {
  .brand-intro__copy .league-head[data-at="1"] { grid-column: 1 / -1; }
  .brand-intro__copy .league-head[data-at] .league-head__l2 { display: inline-block; margin-left: 96px; }
}
@media (min-width: 1200px) {
  .brand-intro__copy .league-head[data-at="3"] { grid-column: 3 / -1; }
  .brand-intro__copy .league-head[data-at] .league-head__l2 { margin-left: 160px; }
}
/* Content example: centered heading, the clip playing inside a laptop. */
.pkg--example .example { text-align: center; }
.laptop { position: relative; max-width: 800px; margin-inline: auto; aspect-ratio: 1110 / 660; }
.laptop video { position: absolute; left: 9.91%; top: 5.15%; width: 80.09%; height: 82.58%; object-fit: cover; background: #000; border-radius: 0; box-shadow: none; max-width: none; }
.laptop__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (min-width: 900px) {
  .brand[data-league="ot7"] .pkg--example.pkg--dark::before, .brand[data-league="ot7"] .pkg--example.pkg--dark::after { left: 0; right: 0; width: auto; }
}

/* ---- Case studies, as on the original: one narrow centered column; clip, lockup, story, highlights ---- */
.study-page { padding-block: 32px 64px; }
.study-col { width: 100%; max-width: calc(496px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: flex; flex-direction: column; gap: 24px; }
.study-col:has(.study__embed) { max-width: calc(600px + 2 * var(--gutter)); }
.study-col .study__clip { max-width: 480px; width: 100%; margin-inline: auto; border-radius: 16px; box-shadow: none; }
.study-col .study__embed { margin: 0; max-width: none; border-radius: 0; box-shadow: none; }
.study-col .lockup { justify-content: center; margin-top: 8px; margin-bottom: 8px; }
.study-col .lockup img { height: var(--h, 32px); }
.study-col .study__story > * + * { margin-top: 24px; }

.study-col .highlights { padding: 0; background: none; border-radius: 0; }
.study-col .highlights h2 { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 500; text-transform: uppercase; margin-bottom: 12px; }
.study-col .highlights li { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 300; padding-left: 16px; }
.study-col .highlights li + li { margin-top: 12px; }
.study-col .highlights li::before { top: 8px; width: 8px; height: 8px; background: #ccc; }
.study-col .highlights mark { font-weight: 500; }
.draftees__title { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 700; text-align: center; text-transform: uppercase; margin-bottom: 12px; }
.study-col .draftees { gap: 8px; }
.study-col .draftees img { max-width: 128px; background: var(--accent); margin-bottom: 4px; }
.study-col .draftees p { font-size: var(--fs-label); line-height: var(--lh-label); font-style: italic; font-weight: 300; }
.study-col .draftees span { font-size: var(--fs-label); line-height: var(--lh-label); letter-spacing: 0; color: inherit; }
@media (min-width: 900px) {
  .study-col .study__story { font-size: var(--fs-lead); line-height: 32px; }
  .study-col .lockup img { height: var(--h-lg, 48px); }
  .study-col .highlights h2, .study-col .highlights li, .draftees__title { font-size: var(--fs-lead); line-height: 28px; }
  .study-col .highlights li::before { top: 12px; width: 4px; height: 4px; }
  .study-page .draftees img { max-width: 160px; }
  .study-page .draftees p, .study-page .draftees span { font-size: var(--fs-body); line-height: 20px; }
}
/* Section-intro jump buttons: one size for all four; the logos inside keep their own sizes. */
.jump:not(.jump--marks) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 400px; margin-inline: auto; }
.jump:not(.jump--marks) a { min-height: 64px; padding: 8px 12px; text-align: center; }
@media (min-width: 900px) {
  .jump:not(.jump--marks) { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 816px; }
  .jump:not(.jump--marks) a { min-height: 88px; padding: 8px 16px; }
  .jump--wide:not(.jump--marks) { max-width: 1184px; }
  .jump--wide:not(.jump--marks) a { min-height: 68px; padding: 8px; font-size: 24px; line-height: 32px; white-space: nowrap; }
}

/* Flip cards: swap faces at the midpoint with visibility, since Safari can show a mirrored back face through backface-visibility. */
.stat__face { transition: background-color 200ms ease, visibility 0s linear 200ms; }
.stat__face--back, .stat.is-flipped .stat__face--front { visibility: hidden; }
.stat.is-flipped .stat__face--back { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .stat__face { transition: opacity 200ms ease, visibility 0s; } }
.stat__digits { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }

/* Case-study phones on small screens: a swipe rail, one phone centered with its neighbours peeking in. */
@media (max-width: 767px) {
  .work {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 64%; gap: 16px;
    margin-inline: calc(-1 * var(--gutter)); padding: 8px 18% 16px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .work::-webkit-scrollbar { display: none; }
  .work > * { scroll-snap-align: center; }
  .work .phone__frame { max-width: none; }
}

/* League partner marquee sits flush so the fade reaches the band's edges; the single-logo league keeps the centred row. */
.partners:has(.marquee) { padding-inline: 0; }
/* League partner logos carry their own optical height (set per logo in leagues.mjs). */
.partners img[style*="--lh"] { height: var(--lh); max-width: none; }
@media (min-width: 900px) { .partners img[style*="--lh"] { height: var(--lh-lg); } }

/* Culture card rows on phones: a swipe rail like the case-study phones, one card centered with neighbours peeking. */
@media (max-width: 899px) {
  .cards--row {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 64vw; gap: 16px;
    margin-inline: calc(-1 * var(--gutter)); max-width: none; padding: 0 18vw 8px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .cards--row::-webkit-scrollbar { display: none; }
  .cards--row > * { scroll-snap-align: center; }
}

/* Talent: each person in a rounded 4:5 frame, black and white until hovered (or centred on the phone rail), TikTok handle on the photo. */
.talent { display: grid; grid-auto-flow: column; grid-auto-columns: 64vw; gap: 16px; margin-inline: calc(-1 * var(--gutter)); padding: 0 18vw 8px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.talent::-webkit-scrollbar { display: none; }
.talent li { scroll-snap-align: center; }
@media (min-width: 900px) { .talent { grid-auto-flow: row; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; max-width: 1200px; margin-inline: auto; padding: 0; overflow: visible; } }
.talent__card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #cfcfcf; color: var(--paper); text-decoration: none; }
.talent__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: grayscale(1); transition: filter 200ms ease, transform 200ms var(--ease-out); }
.talent__tag {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px;
  border-radius: 999px; background: rgba(20, 20, 20, 0.8); font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; white-space: nowrap; transition: background-color 200ms ease;
}
.talent__tag svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.talent li.is-on .talent__img { filter: none; }
@media (hover: hover) and (pointer: fine) {
  .talent__card:hover .talent__img { filter: none; transform: scale(1.02); }
  .talent__card:hover .talent__tag { background: rgba(6, 153, 173, 0.92); }
}
.talent__card:focus-visible .talent__img { filter: none; }

/* Show pickers: on phones and tablets the poster rail bleeds off the right edge and swipes, so no arrows; arrows from 900px up. */

/* Every down chevron and arrow bobs gently to say "keep going". The inner glyph moves, so hover transforms on the link stay separate. Off with reduced motion. */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.hero__down svg, .page-hero__down svg, .jump-down::after { animation: bob 1.6s var(--ease-in-out) infinite; }
.hero__down svg, .page-hero__down svg { transition: translate 200ms var(--ease-out); }
.jump-down::after { display: inline-block; }
@media (prefers-reduced-motion: reduce) { .hero__down svg, .page-hero__down svg, .jump-down::after { animation: none; } }

/* Hero headline and scroll button: bottom-left over a soft fade so the sizzle stays the hero. */
.hero__copy { position: absolute; inset: auto 0 0 0; padding: 96px var(--gutter) 32px; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0)); color: var(--paper); display: grid; gap: 16px; justify-items: start; }
.hero__title { font-size: 32px; line-height: 36px; font-weight: 900; letter-spacing: -0.01em; max-width: 14ch; }
@media (min-width: 600px) { .hero__copy { padding-bottom: 40px; } .hero__title { font-size: 40px; line-height: 44px; } }
@media (min-width: 900px) { .hero__copy { padding: 128px max(var(--gutter), calc((100% - var(--wrap)) / 2)) 64px; gap: 20px; } .hero__title { font-size: 56px; line-height: 60px; } }
@media (min-width: 1200px) { .hero__title { font-size: 64px; line-height: 68px; } }

/* Marquee: one component for every logo strip. Constant drift (site.js sets --dur for 24px a second), fades at the edges, pauses on hover, static with reduced motion. */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 120s) linear infinite; }
.marquee__row { display: flex; flex-wrap: nowrap; align-items: center; gap: 40px; padding-right: 40px; margin: 0; }
.marquee__row li { flex: none; }
.marquee img { height: var(--lh, var(--mq-h, 24px)); width: auto; max-width: 144px; object-fit: contain; }
@media (min-width: 900px) { .marquee__row { gap: 64px; padding-right: 64px; } .marquee img { height: var(--lh-lg, var(--mq-h-lg, 32px)); } }
.marquee--mono img { opacity: 0.92; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; display: block; }
  .marquee__row { flex-wrap: wrap; justify-content: center; gap: 24px 32px; padding: 0 var(--gutter); }
  .marquee__row[aria-hidden] { display: none; }
}

/* Case-study clip on phones: smaller so the story starts on the first screen; the clip is a 9:19 phone capture, so width drives height. */
@media (max-width: 599px) { .study__clip, .study-col .study__clip { max-width: 216px; border-radius: 16px; } }


/* Brand pages on phones: tighter gaps between packages, light and dark alike. Type and photos stay as approved. */
@media (max-width: 899px) {
  .brand .pkg { padding-block: 40px; }
  .brand-intro { padding-bottom: 40px; }
  /* OT7 doodles move with the padding so they sit where they did against the copy. */
  .doodle--right { top: 0; }
  .doodle--left { bottom: 0; }
}
