/* ==========================================================
   PG2 — Filmer's Logbook design system
   Paper: cold print grey · Ink: near-black · Accent: tape red
   Display: Anton · Body: Archivo · Utility: IBM Plex Mono
   ========================================================== */

:root {
  --paper: #E9E8E3;
  --paper-deep: #DEDDD6;
  --ink: #131312;
  --ink-soft: #3A3937;
  --grey: #8A8881;
  --red: #E0261C;
  --line: rgba(19, 19, 18, 0.22);
  --line-strong: rgba(19, 19, 18, 0.55);
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --pad: clamp(20px, 4vw, 64px);
  --strip-h: 46px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* faint paper grain via layered gradients */
  background-image:
    radial-gradient(rgba(19,19,18,0.025) 1px, transparent 1px),
    linear-gradient(var(--paper), var(--paper));
  background-size: 5px 5px, 100% 100%;
}

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
}

.main-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--pad) 12px;
  gap: 16px;
}

.nav-side { display: flex; gap: clamp(16px, 3.5vw, 56px); align-items: baseline; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav-link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.3;
  transition: border-color .15s;
}
.nav-link:hover { border-bottom-color: var(--red); }
.nav-sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--grey);
  text-transform: none;
}

.logo-mark {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
  border: 2.5px solid var(--ink);
  border-radius: 9px;
  padding: 7px 14px 6px;
  letter-spacing: 0.03em;
  transition: background .15s, color .15s;
}
.logo-mark:hover { background: var(--ink); color: var(--paper); }

/* Team strip */
.team-strip {
  border-top: 1px solid var(--line);
  overflow: hidden;
  height: var(--strip-h);
  position: relative;
  background: var(--paper-deep);
}
.team-strip::before, .team-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.team-strip::before { left: 0; background: linear-gradient(90deg, var(--paper-deep), transparent); }
.team-strip::after { right: 0; background: linear-gradient(-90deg, var(--paper-deep), transparent); }

.team-strip-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: strip-scroll 60s linear infinite;
}
.team-strip:hover .team-strip-track,
.team-strip:focus-within .team-strip-track { animation-play-state: paused; }
@keyframes strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .team-strip { overflow-x: auto; }
  .team-strip-track { animation: none; }
}

.strip-team {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  transition: color .15s;
}
.strip-team:hover { color: var(--red); }
.strip-team::after {
  content: '';
  width: 5px; height: 5px;
  background: var(--ink);
  border-radius: 50%;
  opacity: .35;
}

/* ============ HERO ============ */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(20px, 3vw, 36px) var(--pad) clamp(48px, 7vw, 96px);
  position: relative;
}

.hero-chrome {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(233, 232, 227, 0.32);
  margin-bottom: clamp(38px, 6vw, 72px);
  flex-wrap: wrap;
}
.hero-chrome span { display: inline-flex; align-items: center; gap: 8px; }

.rec-dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  opacity: 0.7;
  animation: blink 1.4s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0.15; } }

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 82px);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 22ch;
}
.hero-title .hero-red { display: inline-block; margin-top: 0.28em; font-size: 0.62em; line-height: 1.05; }
.hero-red { color: var(--red); }

.hero-sub {
  max-width: 56ch;
  margin-top: clamp(24px, 3.5vw, 44px);
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(233, 232, 227, 0.82);
  font-weight: 400;
}

.hero-facts {
  display: flex;
  gap: clamp(28px, 6vw, 88px);
  margin-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid rgba(233, 232, 227, 0.25);
  padding-top: 26px;
  flex-wrap: wrap;
}
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact-num { font-family: var(--display); font-size: clamp(34px, 4.5vw, 56px); line-height: 1; }
.fact-label { color: rgba(233, 232, 227, 0.55); }

.hero-scroll {
  position: absolute;
  right: var(--pad);
  bottom: 22px;
  color: rgba(233, 232, 227, 0.4);
}

/* ============ SECTIONS ============ */
.section {
  padding: clamp(64px, 9vw, 140px) var(--pad);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}

.section-head { max-width: 980px; margin-bottom: clamp(36px, 5vw, 64px); }

.seq {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 1.02;
  text-transform: uppercase;
}

.section-sub {
  margin-top: 22px;
  max-width: 62ch;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
}

.block-label {
  color: var(--ink);
  font-weight: 600;
  border-left: 3px solid var(--red);
  padding-left: 12px;
  margin-bottom: 26px;
}

.caption { color: var(--grey); margin-top: 18px; max-width: 70ch; line-height: 1.7; text-transform: none; letter-spacing: 0.03em; }

.big-p { font-size: clamp(18px, 1.9vw, 24px); line-height: 1.5; max-width: 64ch; }
.big-p + .big-p { margin-top: 18px; }
.explained-lede { margin-bottom: clamp(48px, 6vw, 88px); }

.stamp {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 38px);
  text-transform: uppercase;
  line-height: 1.15;
  max-width: 26ch;
  margin-top: clamp(36px, 5vw, 56px);
  border: 2px solid var(--ink);
  display: inline-block;
  padding: clamp(16px, 2.5vw, 28px) clamp(18px, 3vw, 34px);
  transform: rotate(-0.7deg);
}

/* Translation table */
.translate-block { margin-bottom: clamp(56px, 7vw, 100px); }
.translate-table { border-top: 1.5px solid var(--ink); max-width: 980px; }
.t-row {
  display: grid;
  grid-template-columns: 1fr 56px 1.6fr;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(15px, 1.4vw, 18px);
}
.t-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); border-bottom: 1.5px solid var(--ink); }
.t-node {
  width: 12px; height: 12px;
  background: var(--red);
  justify-self: center;
  position: relative;
}
.t-node::before, .t-node::after {
  content: '';
  position: absolute;
  top: 50%;
  height: 1.5px;
  width: 18px;
  background: var(--line-strong);
}
.t-node::before { right: 100%; }
.t-node::after { left: 100%; }
.t-head .t-node { background: transparent; }
.t-head .t-node::before, .t-head .t-node::after { display: none; }

/* Pyramid */
.pyramid-block { margin-bottom: clamp(56px, 7vw, 100px); }
.pyramid { max-width: 880px; }
.pyr-tier {
  border: 1.5px solid var(--ink);
  padding: clamp(16px, 2.4vw, 26px) clamp(18px, 3vw, 32px);
  margin: 0 auto 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--paper);
}
.pyr-flagship { width: 52%; background: var(--red); border-color: var(--red); color: #fff; }
.pyr-momentum { width: 76%; background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pyr-ongoing { width: 100%; }
.pyr-name { font-family: var(--display); font-size: clamp(19px, 2.4vw, 28px); text-transform: uppercase; }
.pyr-desc { font-size: clamp(13px, 1.3vw, 16px); opacity: 0.88; }

.playoff-note { max-width: 64ch; margin-top: 26px; color: var(--ink-soft); font-size: clamp(15px, 1.4vw, 18px); }

/* Functions grid */
.functions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
  max-width: 1100px;
}
.func {
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: clamp(18px, 2.5vw, 30px);
}
.func h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(17px, 1.8vw, 22px); margin-bottom: 10px; }
.func p { font-size: 15px; color: var(--ink-soft); }

/* Teams discovery microcopy */
.teams-hint { margin-top: 22px; color: var(--grey); letter-spacing: 0.06em; }

/* ============ TEAMS ============ */
#teams { background: var(--paper-deep); }
#season { background: var(--paper-deep); }
#upcoming { background: var(--paper); }
.section-close { background: var(--paper-deep); }

.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
}

.team-card {
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
  padding: 22px;
  min-height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  font-family: var(--body);
  color: var(--ink);
  text-decoration: none;
  transition: background .15s, color .15s;
  position: relative;
}
.team-card:hover, .team-card:focus-visible { background: var(--ink); color: var(--paper); }
.team-card:hover .team-card-go, .team-card:focus-visible .team-card-go { color: var(--red); transform: translateX(3px); }

.team-card-name {
  font-family: var(--display);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.team-card-go { font-family: var(--mono); font-size: 14px; transition: transform .15s, color .15s; }

/* ============ SCHEDULE / SEASON CALENDAR ============ */
.example-tag {
  display: inline-block;
  border: 1.5px dashed var(--red);
  color: var(--red);
  font-weight: 600;
  padding: 8px 14px;
  margin-bottom: 24px;
}

.cal-legend { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-bottom: 18px; }
.cal-legend .tl-key { color: var(--ink-soft); }
.cal-sw { display: inline-block; }
.cal-sw-versus { color: var(--red); font-size: 13px; line-height: 1; }

.cal-hint { color: var(--grey); margin-bottom: 8px; display: none; }

.cal-scroll { overflow-x: auto; border: 1.5px solid var(--ink); -webkit-overflow-scrolling: touch; }
.cal { min-width: 880px; display: flex; flex-direction: column; }

.cal-row { display: grid; grid-template-columns: 116px 1fr; border-bottom: 1px solid var(--line); }
.cal-row:last-child { border-bottom: none; }

.cal-team-cell {
  font-family: var(--display);
  font-size: clamp(14px, 1.3vw, 17px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  padding: 0 12px;
  min-height: 46px;
  border-right: 1.5px solid var(--ink);
  box-shadow: 1.5px 0 0 var(--ink);
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: background .15s, color .15s;
  position: sticky;
  left: 0;
  z-index: 3;
}
a.cal-team-cell:hover { background: var(--ink); color: var(--paper); }
.cal-corner { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--grey); background: var(--paper-deep); z-index: 5; }

.cal-head { border-bottom: 1.5px solid var(--ink); position: sticky; top: 0; z-index: 1; }
.cal-lane.cal-monthrow { grid-template-columns: repeat(12, 1fr); background: var(--paper-deep); }
.cal-month {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  min-height: 46px;
}
.cal-month:first-child { border-left: none; }

.cal-lane { position: relative; display: grid; grid-template-columns: repeat(48, 1fr); align-items: center; min-height: 46px; }
.cal-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); pointer-events: none; }
.cal-grid span { border-left: 1px solid var(--line); }
.cal-grid span:first-child { border-left: none; }

.cal-block {
  position: relative;
  z-index: 1;
  margin: 5px 3px;
  padding: 5px 7px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 2px;
  color: #fff;
  width: fit-content;
  max-width: calc(100% - 6px);
  justify-self: start;
}
/* prominent outputs fill their month column */
.cb-tour, .cb-full {
  width: auto;
  max-width: none;
  justify-self: stretch;
  padding: 7px 9px;
  font-size: 9.5px;
}
.cb-j-start { justify-self: start; }
.cb-j-center { justify-self: center; }
.cb-j-end { justify-self: end; }
.cb-tour { background: #E8643C; }
.cb-video { background: #3FBFAE; color: #0c0c0b; }
.cb-part { background: #7A4FBF; }
.cb-edit { background: #C9A227; color: #0c0c0b; }
.cb-demo { background: #3FA8E8; color: #0c0c0b; }
.cb-signing { background: #1F8A6E; }
.cb-full { background: var(--red); box-shadow: 0 0 0 2px rgba(224,38,28,0.25); letter-spacing: 0.01em; padding-left: 6px; padding-right: 6px; }
.cb-versus { background: #0c0c0b; color: #fff; box-shadow: 0 0 0 2px var(--red); }

.cal-foot { color: var(--grey); margin-top: 18px; line-height: 1.7; }

.cal-payoff {
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 2px solid var(--ink);
  padding-top: clamp(24px, 3vw, 36px);
  max-width: 900px;
}
.cal-payoff-lead {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--red);
}
.cal-payoff-body {
  margin-top: 16px;
  font-size: clamp(16px, 1.6vw, 21px);
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ============ UPCOMING ============ */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1180px;
}
.up-card {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 180px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s;
}
a.up-card:hover { transform: translateY(-3px); }
a.up-card:hover .up-title { color: var(--red); }
.up-card.is-flagship { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.up-card.is-flagship .up-type { color: var(--red); border-color: var(--red); }
.up-title { transition: color .15s; }
.up-type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 4px 9px;
  align-self: flex-start;
}
.up-title { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.05; text-transform: uppercase; }
.up-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.65; margin-top: auto; }

/* Arc */
.arc { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); max-width: 1100px; }
.arc-phase { position: relative; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: clamp(18px, 2.5vw, 30px); }
/* forward-pointing arrow on the divider between phases, showing progression */
.arc-phase:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -11px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--paper-deep);
  border-top: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
  z-index: 2;
}
/* the arrow leading INTO the red peak should emerge from red */
.arc-phase:nth-child(2)::after { background: var(--paper-deep); }
.arc-num { color: var(--grey); font-weight: 600; }
.arc-phase h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(18px, 2vw, 24px); margin: 10px 0 8px; }
.arc-phase p { font-size: 15px; color: var(--ink-soft); }
.arc-peak { background: var(--red); color: #fff; }
.arc-peak .arc-num, .arc-peak p { color: rgba(255, 255, 255, 0.85); }

/* spacing for the block-labels that now structure Upcoming */
#upcoming .block-label { margin-top: 0; }
.arc-block { margin-top: clamp(48px, 6vw, 80px); }
.cycle-block { margin-top: clamp(48px, 6vw, 80px); }
.cycle-intro { max-width: 64ch; color: var(--ink-soft); font-size: clamp(15px, 1.4vw, 18px); margin-bottom: 26px; }

.cycle-grid { border: 1.5px solid var(--ink); max-width: 900px; }
.cycle-row { display: grid; grid-template-columns: 130px 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.cycle-row:last-child { border-bottom: none; }
.cycle-head { border-bottom: 1.5px solid var(--ink); background: var(--paper-deep); }
.cycle-team-cell {
  font-family: var(--display); font-size: clamp(14px, 1.3vw, 17px); text-transform: uppercase; letter-spacing: 0.02em;
  display: flex; align-items: center; padding: 0 12px; min-height: 44px;
  border-right: 1.5px solid var(--ink); text-decoration: none; color: var(--ink); background: var(--paper);
  transition: background .15s, color .15s;
}
a.cycle-team-cell:hover { background: var(--ink); color: var(--paper); }
.cycle-corner { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--grey); background: var(--paper-deep); }
.cycle-season {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; min-height: 44px; border-left: 1px solid var(--line);
}
.cycle-cell {
  display: flex; align-items: center; justify-content: center; min-height: 44px; border-left: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
}
.cycle-build { color: var(--grey); opacity: 0.6; }
.cycle-peak { background: var(--red); color: #fff; font-weight: 600; font-size: 11px; }
.cycle-foot { color: var(--grey); margin-top: 18px; line-height: 1.7; }

/* ============ WATCH ============ */
.section-watch { background: var(--ink); color: var(--paper); border-bottom-color: rgba(233, 232, 227, 0.3); }
.section-watch .section-sub { color: rgba(233, 232, 227, 0.75); }
.section-watch .seq { color: var(--red); }

.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  max-width: 1180px;
}
.tape { border: 1.5px solid rgba(233, 232, 227, 0.4); }
.tape-screen {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(233,232,227,0.05) 0 2px, transparent 2px 5px),
    #1c1c1a;
}
.tape-screen::after {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.4s steps(1) infinite;
}
.tape-type { color: rgba(233, 232, 227, 0.5); font-weight: 600; border: 1px dashed rgba(233, 232, 227, 0.35); padding: 6px 12px; }
.tape-label { padding: 14px 16px; border-top: 1.5px solid rgba(233, 232, 227, 0.4); display: flex; flex-direction: column; gap: 5px; }
.tape-title { font-family: var(--display); text-transform: uppercase; font-size: 19px; }
.tape-meta { color: rgba(233, 232, 227, 0.5); }

.watch-note { margin-top: 32px; color: rgba(233, 232, 227, 0.55); line-height: 1.7; max-width: 70ch; }

/* Watch block-labels sit on dark bg */
.section-watch .block-label { color: var(--paper); margin-bottom: 22px; }
.watch-grid + .block-label { margin-top: clamp(48px, 6vw, 80px); }

/* Distribution row — two unlabeled groups, editorial wordmark style */
.dist { display: flex; flex-direction: column; gap: 20px; max-width: 1100px; }
.dist-group { display: flex; flex-wrap: nowrap; align-items: baseline; gap: clamp(10px, 1.4vw, 22px); padding-bottom: 20px; border-bottom: 1px solid rgba(233,232,227,0.18); }
.dist-group:last-child { border-bottom: none; padding-bottom: 0; }
.dist-tag {
  font-family: var(--display);
  font-size: clamp(13px, 1.55vw, 26px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: rgba(233,232,227,0.55);
  border: none;
  padding: 0;
  line-height: 1.05;
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s;
}
.dist-tag:hover { color: #fff; }

/* ============ PARTNERS ============ */
#partners .block-label { margin-top: clamp(40px, 5vw, 64px); }
#partners .section-head + .block-label { margin-top: 0; }

/* Scale row */
.scale { display: grid; grid-template-columns: minmax(220px, 0.9fr) 2fr; gap: 14px; max-width: 1100px; align-items: stretch; }
.scale-total {
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(20px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.scale-num { font-family: var(--display); font-size: clamp(44px, 6vw, 78px); line-height: 0.9; color: var(--red); }
.scale-label { color: rgba(233, 232, 227, 0.7); }
.scale-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scale-cat {
  border: 1.5px solid var(--ink);
  padding: clamp(18px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.scale-cat-num { font-family: var(--display); font-size: clamp(28px, 3.4vw, 46px); line-height: 0.95; }
.scale-cat-label { color: var(--grey); }
.scale-foot { color: var(--grey); margin-top: 14px; }

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
  max-width: 1100px;
}
.compare-col { border: 1.5px solid var(--ink); padding: clamp(20px, 3vw, 34px); }
.compare-col h3 { font-weight: 600; margin-bottom: 18px; letter-spacing: 0.1em; }
.compare-col ul { list-style: none; }
.compare-col li { padding: 12px 0; border-top: 1px solid var(--line); font-size: clamp(15px, 1.4vw, 18px); }
.compare-without { color: var(--grey); border-color: var(--line-strong); }
.compare-without h3 { color: var(--ink-soft); }
.compare-with { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.compare-with h3 { color: var(--red); }
.compare-with li { border-top-color: rgba(233, 232, 227, 0.2); }

/* Sponsorable inventory — vocabulary only */
.inventory { display: flex; flex-wrap: wrap; gap: 10px; max-width: 1100px; }
.inv-tag {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--ink);
  padding: 11px 18px;
  transition: background .15s, color .15s;
}
.inv-tag:hover { background: var(--red); border-color: var(--red); color: #fff; }
.inv-more { border-style: dashed; color: var(--grey); }
.inv-more:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ============ INSIDE THE SEASON ============ */
.anat { border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); max-width: 1160px; }
.anat-row { display: grid; grid-template-columns: minmax(160px, 0.85fr) 1.35fr 1.6fr; }
.anat-row > div { border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: clamp(15px, 1.9vw, 24px) clamp(16px, 2vw, 24px); }
.anat-head > div { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); padding-top: 12px; padding-bottom: 12px; }
.anat-when { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.anat-when strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(17px, 1.8vw, 22px); letter-spacing: 0; text-transform: uppercase; color: var(--ink); margin-bottom: 7px; }
.anat-what { font-size: clamp(14px, 1.3vw, 16px); color: var(--ink-soft); line-height: 1.5; }
.anat-slots { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.slot { font-family: var(--mono); font-size: 10px; letter-spacing: 0.03em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 5px 9px; color: var(--ink); background: var(--paper); white-space: nowrap; }
.anat-peak { background: var(--red); }
.anat-peak > div { border-right-color: rgba(255,255,255,0.45); border-bottom-color: rgba(255,255,255,0.45); }
.anat-peak .anat-when, .anat-peak .anat-what { color: rgba(255,255,255,0.92); }
.anat-peak .anat-when strong { color: #fff; }
.anat-peak .slot { border-color: rgba(255,255,255,0.6); color: #fff; background: transparent; }

#season .block-label { margin-top: clamp(56px, 7vw, 96px); }
#season .section-head + .block-label { margin-top: 0; }
.tier-intro { margin-top: 0; margin-bottom: 36px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); max-width: 1160px; }
.tier { border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: clamp(20px, 2.4vw, 32px); }
.tier-k { color: var(--red); margin-bottom: 8px; }
.tier h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.0; margin-bottom: 6px; }
.tier-who { font-size: 13px; color: var(--grey); margin-bottom: 18px; line-height: 1.45; }
.tier ul { list-style: none; }
.tier li { font-size: clamp(14px, 1.3vw, 16px); color: var(--ink-soft); padding: 11px 0; border-top: 1px solid var(--line); display: flex; gap: 11px; line-height: 1.4; }
.tier li::before { content: ''; flex: 0 0 7px; height: 7px; margin-top: 6px; background: var(--red); transform: rotate(45deg); }
.tier li.marquee { color: var(--ink); font-weight: 600; }
.tier li.marquee small { display: block; font-weight: 400; color: var(--grey); font-size: 12px; margin-top: 2px; }

@media (max-width: 1000px) {
  .anat-row { grid-template-columns: 1fr; }
  .anat-row > div { border-right: none; }
  .anat-head { display: none; }
  .anat-when strong { margin-bottom: 4px; }
  .tiers { grid-template-columns: 1fr; }
}

/* ============ CLOSE ============ */
.section-close { text-align: left; padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(80px, 11vw, 160px); }
.close-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 5.2vw, 70px);
  line-height: 1.05;
  text-transform: uppercase;
  max-width: none;
  white-space: nowrap;
}

/* ============ TEAM DETAIL VIEW ============ */
.team-view {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  overflow-y: auto;
}
.team-view-inner { min-height: 100%; display: flex; flex-direction: column; }

.tv-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px var(--pad);
  border-bottom: 1px solid rgba(233, 232, 227, 0.3);
  position: sticky;
  top: 0;
  background: var(--ink);
  z-index: 2;
}
.tv-back {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: 1.5px solid rgba(233, 232, 227, 0.5);
  color: var(--paper);
  padding: 9px 16px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.tv-back:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tv-bar-meta { color: rgba(233, 232, 227, 0.5); display: flex; gap: 20px; flex-wrap: wrap; }

.tv-hero { padding: clamp(40px, 6vw, 80px) var(--pad) clamp(32px, 4vw, 56px); border-bottom: 1px solid rgba(233, 232, 227, 0.3); }
.tv-role { color: var(--red); font-weight: 600; margin-bottom: 14px; display: inline-block; }
.tv-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 12vw, 160px);
  line-height: 0.95;
  text-transform: uppercase;
}
.tv-desc { max-width: 60ch; margin-top: 24px; font-size: clamp(16px, 1.6vw, 20px); color: rgba(233, 232, 227, 0.82); }
.tv-tones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tv-tone {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(233, 232, 227, 0.4);
  padding: 5px 11px;
  color: rgba(233, 232, 227, 0.75);
}

.tv-section { padding: clamp(36px, 5vw, 64px) var(--pad); border-bottom: 1px solid rgba(233, 232, 227, 0.3); }
.tv-label { color: var(--paper); font-weight: 600; border-left: 3px solid var(--red); padding-left: 12px; margin-bottom: 24px; display: block; }
.tv-body p { max-width: 64ch; color: rgba(233, 232, 227, 0.82); font-size: clamp(15px, 1.4vw, 18px); }
.tv-body p + p { margin-top: 14px; }

/* Roster placeholders */
.tv-roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; max-width: 1100px; }
.roster-slot {
  border: 1.5px dashed rgba(233, 232, 227, 0.35);
  aspect-ratio: 3 / 3.6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  gap: 4px;
}
.roster-slot-num { font-family: var(--display); font-size: 28px; color: rgba(233, 232, 227, 0.25); }
.roster-slot-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(233, 232, 227, 0.5); }

/* Creative unit */
.tv-crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; max-width: 1100px; }
.crew-slot {
  border: 1.5px dashed rgba(233, 232, 227, 0.35);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 96px;
  justify-content: space-between;
}
.crew-role { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.crew-name { font-family: var(--display); font-size: 20px; text-transform: uppercase; color: rgba(233, 232, 227, 0.4); }

/* Team timeline */
.tv-timeline { max-width: 1100px; overflow-x: auto; padding-bottom: 8px; }
.tl-track { display: flex; align-items: center; gap: 6px; min-width: 1000px; padding: 22px 0; border-top: 1px solid rgba(233,232,227,0.25); border-bottom: 1px solid rgba(233,232,227,0.25); }
.tl-item {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
}
/* weight tiers — effort/size of the output */
.tl-item.tl-heavy { font-size: 12px; padding: 14px 18px; }
.tl-item.tl-med   { font-size: 11px; padding: 11px 14px; }
.tl-item.tl-light { font-size: 10px; padding: 7px 11px; opacity: 0.92; }
/* content-type colors */
.tl-item.tl-tour { background: #E8643C; color: #fff; }
.tl-item.tl-video { background: #3FBFAE; color: #111; }
.tl-item.tl-part { background: #7A4FBF; color: #fff; }
.tl-item.tl-edit { background: #C9A227; color: #111; }
.tl-item.tl-demo { background: #3FA8E8; color: #111; }
.tl-item.tl-signing { background: #1F8A6E; color: #fff; }
.tl-item.tl-flagship { background: var(--red); color: #fff; }
.tl-gap { flex: 0 0 auto; height: 2px; background: rgba(233, 232, 227, 0.3); width: 16px; }
.tl-year { font-family: var(--display); font-size: 18px; color: rgba(233,232,227,0.5); flex: 0 0 auto; }
.tv-timeline .caption { color: rgba(233,232,227,0.45); margin-top: 16px; }
/* legend */
.tl-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.tl-key { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(233,232,227,0.6); }
.tl-swatch { width: 12px; height: 12px; flex: 0 0 auto; }
.tv-timeline .caption { color: rgba(233,232,227,0.45); }

/* Content catalog */
.tv-catalog { display: flex; flex-wrap: wrap; gap: 10px; max-width: 900px; }
.cat-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(233, 232, 227, 0.4);
  padding: 8px 14px;
  color: rgba(233, 232, 227, 0.8);
}

.tv-nav { display: flex; justify-content: space-between; gap: 14px; padding: clamp(28px, 4vw, 48px) var(--pad); }
.tv-nav a {
  font-family: var(--display);
  font-size: clamp(18px, 2.4vw, 28px);
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(233, 232, 227, 0.6);
  transition: color .15s;
}
.tv-nav a:hover { color: var(--red); }

/* ============ FOOTER ============ */
.site-footer { padding: clamp(36px, 5vw, 60px) var(--pad); background: var(--paper); }
.footer-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.footer-mark { font-family: var(--display); font-size: clamp(40px, 7vw, 88px); line-height: 1; }
.footer-tag { font-family: var(--display); font-size: clamp(15px, 2vw, 24px); text-transform: uppercase; color: var(--red); }
.footer-meta { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--grey); gap: 24px; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--red); }
.footer-email { color: var(--ink); font-weight: 600; letter-spacing: 0.04em; border-bottom: 1.5px solid var(--red); padding-bottom: 2px; }

/* ============ RESPONSIVE ============ */
@media (min-width: 761px) and (max-width: 1000px) {
  .teams-grid { grid-template-columns: repeat(3, 1fr); }
  .close-title { white-space: normal; max-width: 22ch; }
}

@media (max-width: 760px) {
  .main-nav { grid-template-columns: 1fr; justify-items: center; row-gap: 10px; padding-bottom: 14px; }
  .logo-mark { order: -1; }
  .nav-side { justify-content: center; flex-wrap: wrap; }
  .nav-link { text-align: center; align-items: center; }
  .hide-sm { display: none; }
  .t-row { grid-template-columns: 1fr; gap: 6px; }
  .t-node { display: none; }
  .t-row span[role="cell"]:first-child { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
  .t-head { display: none; }
  .pyr-flagship, .pyr-momentum { width: 100%; }
  .cal-hint { display: block; }
  .cal-team-cell { font-size: 13px; }
  .cycle-row { grid-template-columns: 88px 1fr 1fr 1fr; }
  .cycle-cell, .cycle-season { font-size: 8.5px; }
  .cycle-build { font-size: 0; }
  .cycle-build::after { content: '·'; font-size: 16px; }
  .scale { grid-template-columns: 1fr; }
  .scale-split { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .upcoming-grid { grid-template-columns: 1fr; }
  .dist-group { flex-wrap: wrap; gap: 12px 22px; }
  .dist-tag { font-size: 19px; }
  .arc { grid-template-columns: 1fr; }
  .arc-phase:not(:last-child)::after { top: auto; bottom: -11px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .close-title { white-space: normal; max-width: 22ch; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

/* body lock while team view open */
body.tv-open { overflow: hidden; }
