/* ==========================================================================
   SEG3 Design System — Phase 1
   Source of truth: SEG3_GUIDELINE_.pdf (2022) + reference screenshots.
   Colours: Ultra Blue-Black #0A0616 base; primaries #00E6CB / #FC000A / #C46BE1.
   Type: Nimbus Sans (primary), Space Mono (secondary/labels).
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Nimbus Sans';
  src: url('../fonts/NimbusSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nimbus Sans';
  src: url('../fonts/NimbusSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/space-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/space-mono-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Primary colourboard */
  --navy: #0A0616;      /* Round 13: Ultra Blue-Black base (deep tint of Ultra #4F10FC) */
  --teal: #00E6CB;
  --red: #FC000A;
  --purple: #C46BE1;
  /* Secondary colourboard */
  --lilac: #D3BBF9;
  --violet: #906CE0;
  --ultra: #4F10FC;
  --mint: #AFF9EE;
  --green: #00F99F;
  --blush: #FFD2DB;
  --coral: #FF929F;
  --grey: #9E9E9E;
  --white: #FFFFFF;

  /* Surfaces & text */
  --bg: var(--navy);
  --panel: #150D2B;     /* Round 13: Ultra-tinted raised surface */
  --panel-2: #1F1440;   /* Round 13: hover/alt surface (lighter Ultra tint) */
  --line: rgba(255, 255, 255, 0.14);
  --text: #F4F8FC;
  --text-dim: #A8B6C6;

  /* Type */
  --font-sans: 'Nimbus Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* Layout */
  --container: 1200px;
  --gutter: 20px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 68px;

  /* Motion */
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: var(--navy); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(52px, 6vw, 84px) 0; position: relative; }
.section--tight { padding: clamp(36px, 4.5vw, 56px) 0; position: relative; }
/* Clear separation between stacked modules */
main > section + section { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.section--alt { background: linear-gradient(180deg, rgba(10, 6, 22, 0.6) 0%, rgba(10, 6, 22, 0) 100%); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* Honeypot field — hidden from humans, present for bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- Type system ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--teal);
  margin: 0 0 14px;
}
.eyebrow--red { color: var(--coral); }
.eyebrow--purple { color: var(--lilac); }

.h-display {
  font-size: clamp(2.5rem, 6.5vw, 4.4rem);
  text-transform: none;
  letter-spacing: -0.02em;
}
.h-section {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.h-section .lt { color: var(--text-dim); }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-dim); max-width: 46em; }
.mono-note { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--teal); color: var(--navy);
  border: 2px solid var(--teal); border-radius: 999px;
  padding: 12px 26px; cursor: pointer;
  transition: transform .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); background: var(--mint); border-color: var(--mint); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--line); }
.btn--outline:hover { background: rgba(255,255,255,.08); border-color: var(--white); color: var(--white); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--red:hover { background: #ff3038; border-color: #ff3038; }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn .arr { font-family: var(--font-mono); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: 999px; padding: 6px 14px;
  background: var(--teal); color: var(--navy);
}
.pill--outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.pill--purple { background: var(--purple); color: var(--navy); }
.pill--red { background: var(--red); color: var(--white); }

/* Industry line under hero H1 — editorial slash-separated wordmarks,
   echoing the tricolour logo lockup (no soft badge chrome) */
.industry-line {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 6px 0; padding: 0; margin: 22px 0 0; list-style: none;
}
.industry-line li {
  font-weight: 700; font-size: clamp(1rem, 2.1vw, 1.3rem);
  text-transform: uppercase; letter-spacing: .05em; color: var(--text);
  white-space: nowrap;
}
.industry-line li + li::before {
  content: '/'; font-weight: 700; margin: 0 14px;
  color: var(--sl, var(--teal));
}
.industry-line li:nth-child(6n+2)::before { --sl: var(--teal); }
.industry-line li:nth-child(6n+3)::before { --sl: var(--red); }
.industry-line li:nth-child(6n+4)::before { --sl: var(--purple); }
.industry-line li:nth-child(6n+5)::before { --sl: var(--green); }
.industry-line li:nth-child(6n+6)::before { --sl: var(--coral); }

/* ---------- E-mark motif (three brand bars) ---------- */
.e-mark { display: inline-grid; gap: 6px; width: 44px; }
.e-mark span { height: 9px; border-radius: 2px; }
.e-mark span:nth-child(1) { background: var(--teal); }
.e-mark span:nth-child(2) { background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18% 50%); }
.e-mark span:nth-child(3) { background: var(--purple); }

/* ==========================================================================
   Header / navigation (GEMA-style thin-line uppercase dropdown)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 6, 22, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; object-fit: contain; transition: none; } /* Round 15: back to 46px; sized by CSS only, no transition */

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop > .nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); padding: 10px 13px; border-radius: 6px;
  background: none; border: 0; cursor: pointer; font-family: var(--font-sans);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--navy); background: var(--teal); text-decoration: none; }
.nav-link .caret { font-size: 9px; transform: translateY(-1px); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--navy); border: 1px solid var(--line); border-radius: 10px;
  padding: 6px; display: none; box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
.nav-item.open .dropdown { display: block; }
.dropdown a {
  display: block; padding: 11px 14px; color: var(--text);
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  border-bottom: 1px solid var(--line); border-radius: 6px;
}
.dropdown a:last-child { border-bottom: 0; }
.dropdown a:hover { background: var(--teal); color: var(--navy); text-decoration: none; }

.header-cta { display: inline-flex; align-items: center; gap: 10px; }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); transition: transform .2s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--navy);
  padding: 10px var(--gutter) 26px;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a, .nav-mobile .group-label {
  display: block; padding: 15px 4px; color: var(--text);
  font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.nav-mobile .sub a { padding-left: 22px; font-size: 13.5px; color: var(--text-dim); }
.nav-mobile .btn { margin-top: 18px; width: 100%; justify-content: center; }

@media (max-width: 960px) {
  .nav-desktop, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(36px, 6vh, 80px) 0 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bars { position: absolute; right: -60px; top: 60px; width: 380px; opacity: .12; pointer-events: none; z-index: 1; }
.hero .h-display { max-width: 11em; }
.hero .lead { margin-top: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Tall hero variant */
.hero--tall { display: flex; align-items: center; min-height: min(78vh, 700px); }
.hero--tall .container { position: relative; z-index: 2; }
/* The identity stack (H1 → subhead → industry row → platform strip) must all
   sit above the fold — compress type and rhythm on short viewports */
@media (max-height: 760px) {
  .hero--tall { min-height: 0; }
  .hero { padding: 28px 0 36px; }
  .hero .h-display { font-size: clamp(2rem, 5vw, 3.2rem); }
  .hero .lead { font-size: clamp(1rem, 1.8vw, 1.15rem); margin-top: 12px; }
  .industry-line { margin-top: 18px; }
  .hero .hero-strip { margin-top: 16px; }
  .hero-ctas { margin-top: 22px; }
}

/* Animated brand mark behind the hero: the three angled bars of the SEG3 "E",
   drifting and rotating subtly. Pure SVG + CSS — no video, no canvas. */
.hero-mark {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  opacity: .22; /* strictly background — never competes with text or CTAs */
}
.hero-mark svg { position: absolute; overflow: visible; }
.hero-mark .mark-main {
  width: min(30vw, 380px); right: -12%; top: 4%; margin-top: 0;
}
.mark-group { transform-origin: 50% 50%; animation: mark-drift 22s ease-in-out infinite alternate; }
.mark-bar { animation: bar-float 9s ease-in-out infinite alternate; }
.mark-bar--1 { animation-delay: 0s; }
.mark-bar--2 { animation-delay: -3s; }
.mark-bar--3 { animation-delay: -6s; }
@keyframes mark-drift {
  from { transform: rotate(-18deg) translateY(-1.5%); }
  to   { transform: rotate(-9deg) translateY(2.5%); }
}
@keyframes bar-float {
  from { transform: translateX(-2.5%); }
  to   { transform: translateX(2.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .mark-group, .mark-bar { animation: none; }
  .mark-group { transform: rotate(-14deg); }
}
@media (max-width: 700px) {
  .hero-mark { opacity: .14; }
  .hero-mark .mark-main { width: 52vw; right: -22%; }
}

/* Photo-backed hero (London recap): real event imagery with navy wash */
.page-hero--photo { background-size: cover; background-position: center; }
.page-hero--photo::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,6,22,.95) 0%, rgba(10,6,22,.78) 50%, rgba(10,6,22,.5) 100%),
    linear-gradient(180deg, rgba(10,6,22,.5) 0%, rgba(10,6,22,.9) 100%);
}
.page-hero--photo .container { position: relative; z-index: 1; }

/* Event photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } }
.photo-strip .shot {
  position: relative; height: 0; padding-bottom: 56.25%; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
}
.photo-strip .shot img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-note { margin-top: 12px; }

/* Editorial platform strip: mono labels split by // in brand colours */
.hero-strip {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 0; margin-top: 20px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero-strip a { color: var(--text-dim); white-space: nowrap; }
.hero-strip a:hover { color: var(--teal); text-decoration: none; }
.hero-strip a + a::before {
  content: '//'; margin: 0 14px; letter-spacing: 0;
  color: var(--sl, var(--teal));
}
.hero-strip a:nth-child(4n+2)::before { --sl: var(--teal); }
.hero-strip a:nth-child(4n+3)::before { --sl: var(--red); }
.hero-strip a:nth-child(4n+4)::before { --sl: var(--purple); }

/* ==========================================================================
   Event cards (sportindustry.co.uk pattern: tall image, gradient overlay,
   accent date pill, location pin, bold white headline)
   ========================================================================== */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head .h-section { margin: 0; }

.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
@media (max-width: 640px) { .event-grid { grid-template-columns: 1fr; } }

.event-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; border-radius: var(--radius-lg); overflow: hidden;
  color: var(--white); padding: 24px;
  transition: transform .2s var(--ease);
  border: 1px solid var(--line);
}
.event-card:hover { transform: translateY(-4px); text-decoration: none; }
.event-card .art { position: absolute; inset: 0; z-index: 0; }
.event-card .art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,6,22,0) 30%, rgba(10,6,22,.55) 62%, rgba(10,6,22,.94) 100%);
}
.art--london { background: radial-gradient(120% 110% at 85% 0%, var(--teal) 0%, #026a60 38%, var(--navy) 82%); }
.art--la { background: radial-gradient(120% 110% at 85% 0%, var(--purple) 0%, #5b2a75 40%, var(--navy) 84%); }
.art--tokyo { background: radial-gradient(120% 110% at 85% 0%, var(--red) 0%, #7a0208 40%, var(--navy) 84%); }
.event-card .art .bars { position: absolute; right: 22px; top: 22px; opacity: .55; }
.event-card .meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.event-card h3 {
  position: relative; z-index: 1; margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem); text-transform: uppercase; line-height: 1.05;
}
.event-card .loc {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 8px;
  margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.85);
}
.event-card .loc svg { flex: none; }
.event-card .cta-row { position: relative; z-index: 1; margin-top: 18px; }

/* ==========================================================================
   Logo bands (globalesportsweek "who attended" pattern: full-width colour bands)
   ========================================================================== */
.bands { display: grid; gap: 14px; }
.band { padding: 26px 0; overflow: hidden; }
.band--teal { background: var(--teal); color: var(--navy); }
.band--red { background: var(--red); color: var(--white); }
.band--purple { background: var(--purple); color: var(--navy); }
.band-track { display: flex; align-items: center; gap: 54px; width: max-content; }
.band .chip {
  font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.band img.chip-logo { height: 34px; width: auto; }

/* Past-speaker company logo band (Airtable Company Logo attachments) */
.band--logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--logos img.chip-logo { height: 40px; width: auto; filter: grayscale(1) brightness(2.2); opacity: .92; }

/* "More from SEG3" compact module */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr; } }
.more-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel); padding: 26px; display: flex; flex-direction: column; gap: 6px;
  border-left: 4px solid var(--accent, var(--teal));
}
.more-card:nth-child(2) { --accent: var(--red); }
.more-card:nth-child(3) { --accent: var(--purple); }
.more-card:nth-child(4) { --accent: var(--green); }
.more-card h3 { font-size: 1.1rem; text-transform: uppercase; margin: 4px 0 2px; }
.more-card p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 12px; }
.more-card .spacer { flex: 1; }
.more-card .kicker {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim);
}

/* Auto-scroll marquee (sportindustry partner carousel pattern) */
.marquee { overflow: hidden; }
.marquee .band-track { animation: marquee 38s linear infinite; }
.marquee:hover .band-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee .band-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ==========================================================================
   Speaker grid (GEIW pattern: B&W headshots, bold name, small-caps title,
   LinkedIn badge — degrades to initials avatar / no badge)
   ========================================================================== */
.speaker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
@media (max-width: 1020px) { .speaker-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .speaker-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } }

.speaker-card { display: flex; flex-direction: column; }
.speaker-photo {
  position: relative; height: 0; padding-bottom: 100%; border-radius: var(--radius);
  overflow: hidden; background: var(--panel);
}
.speaker-photo img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
}
.speaker-initials {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: .02em;
  color: var(--navy);
}
.speaker-initials--0 { background: linear-gradient(135deg, var(--teal), var(--mint)); }
.speaker-initials--1 { background: linear-gradient(135deg, var(--purple), var(--lilac)); }
.speaker-initials--2 { background: linear-gradient(135deg, var(--coral), var(--blush)); }
.speaker-linkedin {
  position: absolute; right: 10px; bottom: 10px;
  width: 34px; height: 34px; border-radius: 8px;
  background: #0A66C2; color: #fff; display: flex; align-items: center; justify-content: center;
}
.speaker-linkedin:hover { background: #0e7ae6; text-decoration: none; }
.speaker-card h3 { font-size: 1.12rem; margin: 14px 0 4px; letter-spacing: 0; }
.speaker-card .role {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); line-height: 1.5;
}
.speaker-card .role .co { color: var(--teal); }

/* ==========================================================================
   Agenda (native component, day tabs)
   ========================================================================== */
.day-tabs { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.day-tab {
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .08em;
  background: transparent; color: var(--text); cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px;
}
.day-tab[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: var(--navy); }

.agenda-list { display: grid; gap: 12px; }
.agenda-item {
  display: grid; grid-template-columns: 150px 1fr; gap: 8px 26px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.agenda-item.is-break { background: transparent; }
.agenda-time { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--teal); white-space: nowrap; }
.agenda-body h3 { font-size: 1.15rem; margin: 0 0 6px; letter-spacing: 0; }
.agenda-body p { color: var(--text-dim); font-size: 15px; margin: 0 0 10px; }
.agenda-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.agenda-tags .tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--text-dim);
}
.agenda-tags .tag--speaker { color: var(--mint); border-color: rgba(0,230,203,.4); }
@media (max-width: 640px) {
  .agenda-item { grid-template-columns: 1fr; padding: 18px; }
}

/* ==========================================================================
   Feature/editorial module (SIG features pattern: 1 big tile + stacked list)
   ========================================================================== */
.feature-module { display: grid; grid-template-columns: 3fr 2fr; gap: 26px; }
@media (max-width: 900px) { .feature-module { grid-template-columns: 1fr; } }
.feature-hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10,6,22,0) 20%, rgba(10,6,22,.9) 100%),
    radial-gradient(130% 120% at 90% -10%, var(--violet) 0%, #2a1157 45%, var(--navy) 90%);
}
.feature-hero h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); text-transform: uppercase; margin: 12px 0 0; }
.feature-list { display: grid; gap: 0; align-content: start; }
.feature-list .item { display: flex; justify-content: space-between; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.feature-list .item:first-child { padding-top: 4px; }
.feature-list h4 { font-size: 1.02rem; text-transform: uppercase; margin: 4px 0 0; }
.feature-list .date { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }

/* ==========================================================================
   Relive Our Shows
   ========================================================================== */
.relive-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.relive-panel { display: grid; grid-template-columns: 3fr 2fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .relive-panel { grid-template-columns: 1fr; } }

.video-embed {
  /* Round 13: ratio via padding-bottom (WebKit-safe), children are absolute */
  position: relative; height: 0; padding-bottom: 56.25%; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--panel); border: 1px solid var(--line);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; width: 100%; cursor: pointer; border: 0; padding: 0; background: var(--panel); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-facade .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 52px; border-radius: 14px; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s var(--ease);
}
.video-facade:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-facade .play::after {
  content: ''; border-style: solid; border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}

.prestige h3 { text-transform: uppercase; font-size: 1.1rem; letter-spacing: .04em; }
.prestige-wall { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; list-style: none; }
.prestige-wall li {
  font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; color: var(--text-dim);
}
.prestige-wall li strong { color: var(--text); }

/* Visual past-speaker wall: headshots + company logos from Airtable,
   text chips only as the degradation state */
.speaker-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px; padding: 0; margin: 30px 0 0; list-style: none;
}
.wall-item {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius);
  overflow: hidden; background: var(--panel); border: 1px solid var(--line);
}
.wall-item--photo img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05);
}
.wall-item--photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 8px 7px;
  background: linear-gradient(180deg, rgba(10,6,22,0) 0%, rgba(10,6,22,.9) 80%);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wall-item--logo { display: flex; align-items: center; justify-content: center; padding: 16px; }
.wall-item--logo img { max-width: 100%; max-height: 60%; object-fit: contain; filter: grayscale(1) brightness(1.6); }
.wall-item--text {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 10px; font-weight: 700; font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-dim); line-height: 1.35;
}
.wall-item--text b { color: var(--text); }
.wall-more {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--teal); color: var(--navy); border-color: var(--teal);
  font-family: var(--font-mono); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .05em; padding: 10px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 82vw);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-width: thin;
}
.testimonial {
  scroll-snap-align: start;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.testimonial .quote { font-size: 1.05rem; line-height: 1.65; color: var(--text); flex: 1; margin: 0; }
.testimonial .quote::before { content: '“'; color: var(--teal); font-size: 1.6em; line-height: 0; vertical-align: -0.3em; margin-right: 2px; }
.testimonial .who { display: flex; align-items: center; gap: 14px; }
.testimonial .who img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  filter: grayscale(1) contrast(1.05); flex: none;
}
.testimonial .who .t-initials {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.15rem; color: var(--navy);
}
.testimonial .who .t-initials--0 { background: linear-gradient(135deg, var(--teal), var(--mint)); }
.testimonial .who .t-initials--1 { background: linear-gradient(135deg, var(--purple), var(--lilac)); }
.testimonial .who .t-initials--2 { background: linear-gradient(135deg, var(--coral), var(--blush)); }
.testimonial .attr { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }
.testimonial .attr .t-name { color: var(--text); display: block; font-size: 13.5px; }
.rail-controls { display: flex; gap: 10px; }
.rail-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--white);
  font-size: 18px; cursor: pointer; font-family: var(--font-mono);
}
.rail-btn:hover { background: var(--teal); color: var(--navy); border-color: var(--teal); }

/* ==========================================================================
   Teasers (newsletter / podcast), split panels
   ========================================================================== */
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .teaser-grid { grid-template-columns: 1fr; } }
.teaser {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel); padding: 32px; display: flex; flex-direction: column; gap: 8px;
}
.teaser h3 { text-transform: uppercase; font-size: 1.35rem; }
.teaser p { color: var(--text-dim); }
.teaser .spacer { flex: 1; }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.inline-form input[type="email"], .inline-form input[type="text"] {
  flex: 1 1 220px; background: var(--navy); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px;
  font-family: var(--font-sans); font-size: 15px;
}
.inline-form input:focus { border-color: var(--teal); outline: none; }

/* ---------- Standard forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%; background: var(--navy); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px;
  font-family: var(--font-sans); font-size: 15px;
}
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: none; }
.form-note { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }

/* ==========================================================================
   Panels / venue / misc
   ========================================================================== */
.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.travel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.travel-list li { display: flex; gap: 14px; align-items: baseline; }
.travel-list .mode {
  flex: none; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: var(--navy);
  background: var(--teal); border-radius: 6px; padding: 3px 10px;
}
.travel-list li:nth-child(2n) .mode { background: var(--purple); }
.travel-list li span { color: var(--text-dim); }
.travel-list li strong { color: var(--text); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stat { border-left: 3px solid var(--teal); padding-left: 18px; }
.stat:nth-child(2) { border-color: var(--red); }
.stat:nth-child(3) { border-color: var(--purple); }
.stat .num { font-size: 2.2rem; font-weight: 700; line-height: 1.1; }
.stat .lbl { font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); }

/* Empty / loading states for Airtable-driven sections */
.data-empty {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; color: var(--text-dim);
  font-family: var(--font-mono); font-size: 13.5px;
}
.skeleton-row { height: 120px; border-radius: var(--radius); background: linear-gradient(100deg, var(--panel) 40%, var(--panel-2) 50%, var(--panel) 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton-row { animation: none; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-cta {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(90% 140% at 10% 110%, rgba(196,107,225,.22) 0%, rgba(10,6,22,0) 55%),
    radial-gradient(90% 140% at 90% 110%, rgba(0,230,203,.2) 0%, rgba(10,6,22,0) 55%);
  text-align: center; padding: clamp(48px, 6vw, 64px) 0;
}
.footer-cta .h-section { max-width: 16em; margin: 0 auto 14px; }
.footer-cta .lead { margin: 0 auto 8px; }
.footer-cta .hero-ctas { justify-content: center; }

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--teal); }
.site-footer .addr { color: var(--text-dim); font-style: normal; line-height: 1.7; }
.addr--spaced { margin-top: 22px; display: block; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px;
  color: var(--text-dim); font-family: var(--font-mono); font-size: 12px;
}
.footer-bottom a { color: var(--text-dim); }

/* ---------- Page hero (event pages / placeholders) ---------- */
.page-hero { padding: clamp(44px, 8vh, 90px) 0 48px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.page-hero .h-display { text-transform: uppercase; }
.page-hero--london { background: radial-gradient(80% 120% at 100% 0%, rgba(0,230,203,.16) 0%, rgba(10,6,22,0) 55%); }
.page-hero--coming { background: radial-gradient(80% 120% at 100% 0%, rgba(196,107,225,.16) 0%, rgba(10,6,22,0) 55%); }

.page-hero--la { background: radial-gradient(80% 120% at 100% 0%, rgba(196,107,225,.18) 0%, rgba(10,6,22,0) 55%); }
.page-hero--tokyo { background: radial-gradient(80% 120% at 100% 0%, rgba(252,0,10,.14) 0%, rgba(10,6,22,0) 55%); }

/* ---------- Newsletter archive list ---------- */
.feed-list { display: grid; gap: 0; margin-top: 10px; }
.feed-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 8px 26px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .feed-item { grid-template-columns: 1fr; } }
.feed-item .date { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); white-space: nowrap; }
.feed-item h3 { font-size: 1.1rem; margin: 0 0 4px; letter-spacing: 0; }
.feed-item p { color: var(--text-dim); font-size: 14.5px; margin: 0; }
.feed-item .go { font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }

/* ---------- Podcast episode grid ---------- */
.episode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .episode-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .episode-grid { grid-template-columns: minmax(0, 1fr); } }
.episode h3 { font-size: 1.02rem; margin: 12px 0 4px; letter-spacing: 0; }
.episode .date { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }

/* ---------- Research report cards ---------- */
.report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.report-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
  border-top: 3px solid var(--purple);
}
.report-card h3 { font-size: 1.2rem; text-transform: uppercase; margin: 0; }
.report-card p { color: var(--text-dim); font-size: 15px; flex: 1; }
.report-card .date { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.gate-panel { max-width: 560px; }
.gate-download { margin-top: 18px; }

/* ---------- Partner logo grid ---------- */
.partner-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px; padding: 0; margin: 30px 0 0; list-style: none;
}
.partner-grid li {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 16 / 9; padding: 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel);
}
.partner-grid img { max-width: 100%; max-height: 56px; object-fit: contain; filter: grayscale(1) brightness(1.9); }
.partner-grid li:hover img { filter: none; }
.partner-grid .name-chip { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }


/* ==========================================================================
   Round 5 tweaks
   ========================================================================== */

.pad-b-sm { padding-bottom: 36px; }

/* Hero H1 must never wrap */
.h-display--one { white-space: nowrap; font-size: clamp(1.55rem, 6.6vw, 4.1rem); }

/* Footer: air between logo and tagline; no address */
.addr--tagline { margin-top: 22px; }

/* Testimonials: tighter rail, full-colour photos, bold white company names */
.testimonial-rail { grid-auto-columns: min(400px, 80vw); gap: 14px; }
.testimonial { padding: 24px; gap: 14px; }
.testimonial .who img { filter: none; }
.testimonial .attr .t-co { color: var(--white); font-weight: 700; }

/* Two distinct logo-band treatments:
   - community band (past-speaker companies): real brand colours preserved
   - partner band: everything forced white */
.band--community img.chip-logo { filter: none; height: 40px; }
.band--white img.chip-logo { filter: brightness(0) invert(1); opacity: .95; height: 34px; }
.band-cta { margin-top: 22px; }

/* Partners page grid: white logos */
.partner-grid img { filter: brightness(0) invert(1); }
.partner-grid li:hover img { filter: brightness(0) invert(1); opacity: .8; }

/* Upcoming event cards: real event photography backdrop */
.event-card .art .art-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .85;
}

/* Expandable agenda sessions */
.agenda-item--toggle { padding: 0; overflow: hidden; grid-template-columns: 1fr; }
.agenda-head {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 8px 26px; align-items: baseline;
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; color: var(--text); font-family: var(--font-sans);
}
.agenda-head h3 { font-size: 1.15rem; font-weight: 700; margin: 0; letter-spacing: 0; }
.agenda-head .chev { font-family: var(--font-mono); color: var(--teal); transition: transform .2s var(--ease); }
.agenda-head[aria-expanded="true"] .chev { transform: rotate(90deg); }
.agenda-details { padding: 0 22px 22px; }
@media (min-width: 641px) { .agenda-details { padding-left: 198px; } }
@media (max-width: 640px) { .agenda-head { grid-template-columns: 1fr auto; } .agenda-head .agenda-time { grid-column: 1 / -1; } }
.agenda-speakers { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.agenda-speaker { display: inline-flex; align-items: center; gap: 9px; }
.agenda-speaker img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none;
}
.agenda-speaker .mini-initials {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: var(--navy);
  background: linear-gradient(135deg, var(--teal), var(--mint));
}
.agenda-speaker span.nm { font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* Past editions: two compact videos side by side */
.edition-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .edition-duo { grid-template-columns: 1fr; } }
.edition-duo h3 { font-size: 1rem; text-transform: uppercase; margin: 12px 0 0; }

/* Venue: photography + copy split */
.venue-split { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; padding: 0; }
@media (max-width: 760px) { .venue-split { grid-template-columns: 1fr; } }
.venue-split .copy { padding: 30px; }
.venue-split .photo { min-height: 260px; background: var(--panel-2); }
.venue-split .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Event-page photo hero: robust <img> backdrop (not CSS background) */
.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,6,22,.92) 0%, rgba(10,6,22,.7) 50%, rgba(10,6,22,.45) 100%),
    linear-gradient(180deg, rgba(10,6,22,.4) 0%, rgba(10,6,22,.88) 100%);
}
.page-hero .container { position: relative; z-index: 1; }

/* ---------- Preloader (once per session, CSS/JS only) ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--navy);
  display: none; align-items: center; justify-content: center;
}
.preloader.on { display: flex; }
.preloader .pre-word {
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1.6rem, 6vw, 3.4rem); color: var(--white);
  opacity: 0; filter: blur(14px);
  transition: opacity .16s ease, filter .16s ease;
}
.preloader .pre-word.show { opacity: 1; filter: blur(0); }
.preloader .pre-word.c0 { color: var(--teal); }
.preloader .pre-word.c1 { color: var(--red); }
.preloader .pre-word.c2 { color: var(--purple); }
.preloader.done { transition: opacity .3s ease; opacity: 0; pointer-events: none; }


/* ==========================================================================
   Round 6 tweaks
   ========================================================================== */

/* Event cards: whole-card hover state (not just the button) */
.event-card:hover .btn--outline { background: rgba(255,255,255,.12); border-color: var(--white); }
.event-card:hover .art-photo { opacity: 1; }
.event-card .art-photo { transition: opacity .2s var(--ease); }

/* Testimonials: tighter still */
.testimonial-rail { grid-auto-columns: min(360px, 78vw); gap: 10px; }

/* Community band: two stacked rows, opposite directions, uniform logo scale
   (SEGA-logo reference height) */
.band--community img.chip-logo { filter: none; height: 36px; width: auto; max-width: 150px; object-fit: contain; }
.band--community:not(.band--stacked) { border-bottom: 0; }
.band--stacked { border-top: 0; border-bottom: 0; padding-top: 26px; }
.marquee .band-track--reverse { animation-direction: reverse; }


/* ---------- Newsletter tiles (mirrors the podcast episode grid) ---------- */
.news-tile { display: block; color: var(--text); min-width: 0; }
.news-tile:hover { text-decoration: none; }
.news-tile .thumb {
  position: relative; display: block; height: 0; padding-bottom: 56.25%;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
}
.news-tile .thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); }
.news-tile:hover .thumb img { transform: scale(1.04); }
.news-tile .thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 110% at 85% 0%, var(--teal) 0%, #026a60 38%, var(--navy) 82%);
}
.news-tile h3 { font-size: 1.02rem; margin: 12px 0 4px; letter-spacing: 0; }
.news-tile:hover h3 { color: var(--teal); }
.news-tile .date { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.news-tile p.excerpt { color: var(--text-dim); font-size: 14px; margin: 6px 0 0; }


/* ==========================================================================
   Round 7 tweaks
   ========================================================================== */

/* Event cards: whole card lifts on hover (entire card is the link) */
.event-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
}

/* Nav dropdown: no dead gap between trigger and panel (JS adds close delay) */
.dropdown::before {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}

/* Pillar boxes under What is SEG3 */
.pillar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 12px; padding: 0; margin: 28px 0 0; list-style: none;
}
@media (max-width: 1000px) { .pillar-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
.pillar {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 8px; text-align: center;
  font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .07em;
  transition: background .15s var(--ease), color .15s var(--ease), transform .15s var(--ease), border-color .15s var(--ease);
}
.pillar:hover { color: var(--navy); transform: translateY(-3px); background: var(--pc, var(--teal)); border-color: var(--pc, var(--teal)); }
.pillar:nth-child(7n+1) { --pc: var(--teal); }
.pillar:nth-child(7n+2) { --pc: var(--red); }
.pillar:nth-child(7n+2):hover { color: var(--white); }
.pillar:nth-child(7n+3) { --pc: var(--purple); }
.pillar:nth-child(7n+4) { --pc: var(--green); }
.pillar:nth-child(7n+5) { --pc: var(--coral); }
.pillar:nth-child(7n+6) { --pc: var(--lilac); }
.pillar:nth-child(7n+7) { --pc: var(--mint); }

/* Media grids: 12 visible by default (3 rows of 4) with See More */
.episode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .episode-grid { grid-template-columns: minmax(0, 1fr); } }
.see-more-row { text-align: center; margin-top: 32px; }

/* Testimonials: tighter horizontal spacing (final) */
.testimonial-rail { gap: 8px; }


/* ==========================================================================
   Concept B hero (preview page only): rotating tabs + diagonal photo wipes
   ========================================================================== */
.concept-banner { background: var(--panel); border-bottom: 1px solid var(--line); padding: 14px 0; }
.concept-banner .mono-note { margin: 0; }
.concept-banner strong { color: var(--teal); }

.heroB {
  position: relative; overflow: hidden;
  min-height: min(86vh, 780px);
  display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--line);
}
.heroB-layers, .heroB-layers img { position: absolute; inset: 0; }
.heroB-layers img { width: 100%; height: 100%; object-fit: cover; }
.heroB-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,6,22,.55) 0%, rgba(10,6,22,.15) 40%, rgba(10,6,22,.92) 100%),
    linear-gradient(90deg, rgba(10,6,22,.72) 0%, rgba(10,6,22,.25) 55%, rgba(10,6,22,.35) 100%);
}
@keyframes heroB-wipe {
  from { clip-path: polygon(108% 0, 220% 0, 220% 100%, 140% 100%); }
  to   { clip-path: polygon(-40% 0, 220% 0, 220% 100%, 0% 100%); }
}
.heroB-layer.wipe-in { animation: heroB-wipe .8s var(--ease) forwards; }

.heroB-inner {
  position: relative; z-index: 1; width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; padding-bottom: 46px; padding-top: 120px;
}
.heroB-content { max-width: 720px; }
.heroB-content .eyebrow { margin-bottom: 8px; }
.heroB-title {
  font-size: clamp(1.7rem, 4.6vw, 3.2rem);
  text-transform: uppercase; letter-spacing: .01em; margin: 0 0 20px;
}
.heroB-content.swap .eyebrow,
.heroB-content.swap .heroB-title,
.heroB-content.swap .heroB-cta { animation: heroB-rise .55s var(--ease) both; }
.heroB-content.swap .heroB-title { animation-delay: .06s; }
.heroB-content.swap .heroB-cta { animation-delay: .12s; }
@keyframes heroB-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Tabs with progress underline */
.heroB-tabs { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 22px; }
.heroB-tab {
  background: none; border: 0; padding: 6px 0 8px; cursor: pointer;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65);
  position: relative;
}
.heroB-tab[aria-selected="true"] { color: var(--white); }
.heroB-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgba(255,255,255,.22); overflow: hidden; display: block;
}
.heroB-fill { display: block; width: 0; height: 100%; background: var(--teal); }
.heroB-fill.run { animation-name: heroB-progress; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes heroB-progress { from { width: 0; } to { width: 100%; } }

/* Persistent bottom-right card */
.heroB-card {
  flex: none; width: 270px;
  background: rgba(10, 6, 22, .88); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 22px;
  backdrop-filter: blur(6px);
}
.heroB-card .eyebrow { margin-bottom: 6px; }
.heroB-card p { color: var(--text-dim); font-size: 13.5px; margin: 0 0 14px; }
@media (max-width: 860px) {
  .heroB-inner { flex-direction: column; align-items: stretch; }
  .heroB-card { width: 100%; }
  .heroB { min-height: 78vh; }
}
@media (prefers-reduced-motion: reduce) {
  .heroB-layer.wipe-in, .heroB-content.swap .eyebrow, .heroB-content.swap .heroB-title,
  .heroB-content.swap .heroB-cta, .heroB-fill.run { animation: none; }
  .heroB-bar { display: none; }
}


/* ==========================================================================
   Round 8 tweaks
   ========================================================================== */

/* LA hero: keep the speaker's face and microphone in frame (subject sits
   high-right in the square photo) */
.page-hero--la .hero-photo img { object-position: 62% 22%; }

/* heroB title is a <p> on the live homepage - give it heading weight */
.heroB-title { font-weight: 700; line-height: 1.08; color: var(--text); }

/* About page hero */
.page-hero--about { min-height: min(60vh, 520px); display: flex; align-items: flex-end; }
.page-hero--about .container { padding-bottom: 40px; }


/* ==========================================================================
   Round 9 fixes
   ========================================================================== */

/* The hidden attribute must always win (class display rules were tying with
   the UA sheet and leaking >12 tiles + misplacing the See More row) */
[hidden] { display: none !important; }

/* Newsletter tiles: exact podcast proportions. The thumb is a <span>, so it
   needs block display for aspect-ratio to apply (this was the "old large
   vertical card" bug - the 16:9 crop never engaged on inline elements). */
.news-tile .thumb {
  position: relative; display: block; width: 100%; height: 0; padding-bottom: 56.25%;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
}
.news-tile .thumb--placeholder .e-mark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* See More: clear row with breathing room below the grid */
.see-more-row { margin-top: 40px; }

/* About page: four "ways in" cards */
.more-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .more-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .more-grid--4 { grid-template-columns: 1fr; } }


/* ---------- Beehiiv embedded subscribe form (Newsletter page) ----------
   The form renders inside Beehiiv's iframe, so its inner colours are set in
   the Beehiiv form builder (recommended: transparent/dark background,
   #00E6CB button, white text, Helvetica). The shell below keeps the frame
   sized and on-brand while it loads. */
.beehiiv-embed {
  max-width: 560px; min-height: 108px; margin-top: 10px;
  border-radius: var(--radius); overflow: hidden;
}
.beehiiv-embed iframe { width: 100% !important; max-width: 100%; min-height: 118px; border: 0; display: block; }


/* ==========================================================================
   Round 10 fixes
   ========================================================================== */

/* Hero photos: keep subjects in frame on narrow screens (square/wide shots
   crop hard on tall viewports - bias toward the upper-centre where faces sit) */
@media (max-width: 700px) {
  .heroB { min-height: 70vh; }
  .heroB-layers img { object-position: 62% 26%; }
  .heroB-inner { padding-top: 90px; }
}

/* Footer: buttons must keep dark text on the teal fill (the footer's white
   link colour was overriding the button colour) */
.site-footer .btn { color: var(--navy); }
.site-footer .btn:hover { color: var(--navy); }

/* Marquee performance on mobile: promote tracks to the compositor and stop
   painting when scrolled out of view (JS toggles data-paused) */
.marquee { contain: layout paint; }
.marquee .band-track { will-change: transform; transform: translateZ(0); }
.marquee[data-paused] .band-track { animation-play-state: paused; }
@media (max-width: 700px) {
  .marquee .band-track { animation-duration: 48s; }
}


/* ==========================================================================
   Round 11
   ========================================================================== */

/* --- What is SEG3: six core-theme boxes (icon + label) --- */
.theme-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; padding: 0; margin: 30px 0 0; list-style: none;
}
@media (max-width: 900px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .theme-grid { grid-template-columns: 1fr; } }
.theme-box {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-left: 4px solid var(--tc, var(--teal));
  border-radius: var(--radius); background: var(--panel);
  padding: 18px 20px;
  font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: .06em;
  transition: transform .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.theme-box svg { width: 26px; height: 26px; flex: none; color: var(--tc, var(--teal)); }
.theme-box:hover { transform: translateY(-3px); background: var(--panel-2); border-color: var(--tc, var(--teal)); }
.theme-box:nth-child(6n+1) { --tc: var(--teal); }
.theme-box:nth-child(6n+2) { --tc: var(--red); }
.theme-box:nth-child(6n+3) { --tc: var(--purple); }
.theme-box:nth-child(6n+4) { --tc: var(--coral); }
.theme-box:nth-child(6n+5) { --tc: var(--lilac); }
.theme-box:nth-child(6n+6) { --tc: var(--mint); }

/* --- Community band: third stacked row (slower drift, forward direction) --- */
.marquee .band-track--slow { animation-duration: 56s; }
@media (max-width: 700px) {
  .marquee .band-track--slow { animation-duration: 68s; }
}

/* --- Testimonials: final rendered gap (overrides all earlier rail rules) --- */
.testimonial-rail { gap: 6px; }

/* --- Past editions: three videos side by side when a third exists --- */
.edition-duo:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .edition-duo:has(> :nth-child(3)) { grid-template-columns: 1fr; }
}

/* --- Form validation feedback (form-validate.js) --- */
.field-error {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--coral); margin: 6px 0 0;
}
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--coral); }
button[aria-busy="true"] { opacity: .6; cursor: progress; }

/* --- Alumni spotlight (London / LA): curated past-speaker features --- */
.alumni-spotlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
@media (max-width: 1020px) { .alumni-spotlight-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .alumni-spotlight-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } }
.alumni-card { display: flex; flex-direction: column; }
.alumni-card .speaker-photo { margin-bottom: 12px; }
.alumni-card h3 { font-size: 1.02rem; margin: 0 0 2px; letter-spacing: 0; }
.alumni-card .role { font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); margin: 0; }
.alumni-card .alumni-logo { margin-top: 10px; }
.alumni-card .alumni-logo img { height: 28px; width: 104px; object-fit: contain; object-position: left center; display: block; } /* Round 13: fixed box so all company logos read equal */


/* ==========================================================================
   Round 9 (QA pass)
   ========================================================================== */

/* Hero: hard paint containment. The wipe-in layers animate clip-path values
   that extend well past the section box; `contain: paint` guarantees nothing
   inside the hero can render outside it or ghost through the sections that
   follow, and the explicit stacking order keeps all later sections above. */
.heroB { z-index: 0; isolation: isolate; contain: paint; }
.heroB-layers { overflow: hidden; }
main > section:not(.heroB) { position: relative; z-index: 1; }

/* Hero imagery on small screens: always fill and cover the section. */
@media (max-width: 700px) {
  .heroB { min-height: 72vh; }
  .heroB-layers img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
  }
}

/* "What is SEG3": small-caps kicker framing the six theme boxes. */
.theme-kicker { margin: 34px 0 0; }
.theme-kicker + .theme-grid { margin-top: 14px; }


/* ==========================================================================
   Round 10
   ========================================================================== */

/* --- Recurring card component: "Angled Cut" (chosen in concept review) ---
   Bottom-right corner cut on the diagonal, echoing the angled lines of the
   SEG3 logo mark; a 46x4 accent bar + 4x22 skewed stroke form a small angled
   accent mark at the top-left (replacing the old colored left border).
   Accents cycle through the brand teal / red / purple. Applied to the
   homepage theme boxes, the "More from SEG3" cards (Home + About) and the
   About page pillar boxes. */
.theme-box, .more-card, .pillar {
  position: relative;
  border: 0; border-radius: 0;
  background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: background .2s var(--ease);
}
.theme-box::before, .more-card::before, .pillar::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 46px; height: 4px;
  background: var(--ac, var(--teal));
}
.theme-box::after, .more-card::after, .pillar::after {
  content: ""; position: absolute; top: 4px; left: 0;
  width: 4px; height: 22px;
  background: var(--ac, var(--teal));
  transform: skewY(-30deg); transform-origin: top left;
}
.theme-box:nth-child(3n+1), .more-card:nth-child(3n+1), .pillar:nth-child(3n+1) { --ac: var(--teal); }
.theme-box:nth-child(3n+2), .more-card:nth-child(3n+2), .pillar:nth-child(3n+2) { --ac: var(--red); }
.theme-box:nth-child(3n+3), .more-card:nth-child(3n+3), .pillar:nth-child(3n+3) { --ac: var(--purple); }
.theme-box:nth-child(n):hover, .more-card:nth-child(n):hover, .pillar:nth-child(n):hover {
  background: var(--panel-2);
  color: inherit; border-color: transparent; transform: none;
}

/* Card content: optional mono index/kicker, then the bold label */
.theme-box, .pillar { display: block; padding: 26px 24px 24px; text-align: left; min-height: 128px; }
.theme-box .idx, .pillar .idx {
  display: block; font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim); margin: 16px 0 10px;
}
.theme-box .label, .pillar .label {
  font-size: 15px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--text);
}
@media (max-width: 560px) {
  .theme-box, .pillar { min-height: 0; padding: 22px 20px 22px; }
}

/* --- Community band: no divider line above the first logo row (matches the
   dividerless treatment between subsequent rows) --- */
.band--community { border-top: 0; }

/* --- Tokyo "The evening": photo panel in the split --- */
.media-panel { padding: 0; overflow: hidden; }
.media-panel img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }

/* Pillar grid: 8 boxes read as a clean 4x2 (was a 7-up row) */
.pillar-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }


/* ==========================================================================
   Round 11 - curated Podcast / Newsletter cards (Airtable-driven, per mockup)
   ========================================================================== */
.media-card-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .media-card-grid { grid-template-columns: minmax(0, 1fr); } }

.media-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--panel); color: inherit; text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: background .2s var(--ease);
}
.media-card:hover { background: var(--panel-2); }
.media-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 46px; height: 4px; background: var(--mc, var(--teal));
}
.media-card::after {
  content: ""; position: absolute; top: 4px; left: 0;
  width: 4px; height: 22px; background: var(--mc, var(--teal));
  transform: skewY(-30deg); transform-origin: top left;
}
.media-card--red { --mc: var(--red); }
.media-card--purple { --mc: var(--purple); }

.media-thumb {
  /* Round 13: 16:9 held by padding-bottom (not aspect-ratio) and the image
     absolutely positioned - immune to the iOS Safari bug where the img lost
     its constraint during the reveal and rendered at native size. */
  position: relative; display: block;
  margin: 20px 20px 0; overflow: hidden;
  background: var(--panel-2);
  height: 0; padding-bottom: calc(56.25% - 22.5px);
}
.media-thumb img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; max-width: 100%;
  object-fit: cover; display: block;
}
.media-thumb .e-mark {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.media-thumb .e-mark span { width: 6px; height: 34px; background: var(--mc, var(--teal)); transform: skewY(-30deg); display: block; opacity: .8; }

.media-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.media-body .idx {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase;
}
.media-body h3 { font-size: 17px; font-weight: 800; line-height: 1.3; margin: 0; }
.media-body .meta { font-size: 13px; color: var(--text-dim); }
.media-body .desc { font-size: 13px; color: var(--text-dim); line-height: 1.55; margin: 0; }
.media-body .media-link {
  margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px; color: var(--mc, var(--teal));
}


/* ==========================================================================
   Round 12
   ========================================================================== */

/* Uniform brand-logo sizing: every logo row/grid renders logos inside the
   same bounding box (40px tall, max 110px wide, object-fit: contain) so a
   wide logo (e.g. FIFA 1962x641) and a compact one (e.g. VW 666x375) read
   as equal-weight chips regardless of native dimensions. */
.band img.chip-logo,
.band--logos img.chip-logo,
.band--white img.chip-logo,
.band--community img.chip-logo {
  height: 40px; width: auto; max-width: 110px; object-fit: contain;
}

/* HubSpot embedded forms (Round 12): slot panels */
.hs-form-panel { min-height: 220px; }
.hs-form-slot iframe { width: 100% !important; }
.hs-form-slot .hs-form { width: 100%; }


/* ==========================================================================
   Round 13 - mobile type scale: headings were too large on small screens
   ========================================================================== */
@media (max-width: 640px) {
  .h-display { font-size: clamp(1.9rem, 8vw, 2.25rem); }
  .hero .h-display { font-size: clamp(1.7rem, 7.5vw, 2rem); }
  .page-hero .h-display { font-size: clamp(1.8rem, 8vw, 2.1rem); }
  .heroB-title { font-size: clamp(1.45rem, 6.5vw, 1.7rem); }
  .h-section { font-size: clamp(1.4rem, 6.2vw, 1.7rem); }
  .lead { font-size: 1rem; }
}


/* Round 14 - five logos with awkward native ratios (portrait/near-square/16:9
   with baked-in padding) read too small in the uniform 40px box; give just
   these a ~25% larger box. Everything else stays at the uniform size. */
.band img.chip-logo[alt="Epic Games" i],
.band img.chip-logo[alt="ESPN" i],
.band img.chip-logo[alt="Ubisoft" i],
.band img.chip-logo[alt="Volkswagen Group" i],
.band img.chip-logo[alt="Electronic Arts" i] {
  height: 50px; max-width: 140px;
}


/* ==========================================================================
   Round 17 - FAQ accordion (contact page)
   ========================================================================== */
.faq-list { margin-top: 26px; max-width: 780px; }
.faq-item {
  background: var(--panel); margin-bottom: 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.faq-item .faq-chev {
  font-family: var(--font-mono); font-weight: 700; font-size: 18px;
  color: var(--teal); flex: none; transition: transform .2s var(--ease);
}
.faq-item[open] .faq-chev { transform: rotate(45deg); }
.faq-item > p { margin: 0; padding: 0 22px 20px; color: var(--text-dim); line-height: 1.6; max-width: 60em; }
.faq-item > p a { font-weight: 700; }


/* ==========================================================================
   Round 18 - legal pages (privacy / terms / cookie policy)
   ========================================================================== */
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 1.4rem; margin: 44px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.08rem; margin: 30px 0 10px; color: var(--teal); }
.legal-body p { color: var(--text-dim); line-height: 1.7; margin: 0 0 14px; }
.legal-body p.clause-letter { padding-left: 22px; }
.legal-body a { font-weight: 600; overflow-wrap: anywhere; }
.legal-table-wrap { overflow-x: auto; margin: 18px 0 26px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-table th {
  text-align: left; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--teal);
  padding: 10px 14px; border-bottom: 2px solid var(--teal); background: var(--panel);
}
.legal-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  color: var(--text-dim); line-height: 1.55; vertical-align: top;
}
.legal-table td:first-child { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); white-space: nowrap; }
