/* ==========================================================================
   Curiosity Current — structural wireframe
   Wireframe-specific layout on top of the Curiosity Current design system
   (_ds/<folder>/styles.css). Brand = flat color (no gradients), Roundserrat
   display, Aegean / Coral / Aquamarine trio. All color via semantic --aytm-*
   tokens so both themes re-skin automatically.
   ========================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--aytm-bg);
  color: var(--aytm-text-body);
  -webkit-font-smoothing: antialiased;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
/* seigaiha — Japanese wave-scale pattern, Aquamarine on deep Aegean. Fixed full-
   viewport backdrop behind everything; each hero fades its own imagery out at the
   bottom (mask) so the pattern emerges from under the hero with no seam — works
   regardless of each page's hero height. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("seigaiha-light.svg"); background-size: 60px 42px;
}
[data-theme="dark"] body::before {
  background-image: url("seigaiha.svg");
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }
/* keyboard focus ring — visible on every interactive element, both themes */
:focus-visible { outline: 2px solid var(--aytm-aquamarine); outline-offset: 2px; border-radius: 3px; }
a:focus-visible, button:focus-visible, [role="link"]:focus-visible, [role="button"]:focus-visible,
.chip:focus-visible, .card--hover:focus-visible, .xp-tile:focus-visible, .toc a:focus-visible,
input:focus-visible { outline: 2px solid var(--aytm-aquamarine); outline-offset: 3px; }
/* skip-to-content link — visually hidden until focused */
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--aytm-coral); color: #fff; font-family: var(--font-ui); font-weight: 700;
  font-size: 13px; padding: 10px 16px; border-radius: var(--radius-pill);
  transform: translateY(-160%); transition: transform var(--dur-fast) var(--ease-out); }
.skip-link:focus { transform: translateY(0); }
/* CTA coral — a half-step-deeper coral used ONLY for the white-on-coral primary
   button so its label clears AA (5.2:1). Brand --aytm-coral is untouched elsewhere. */
:root { --cc-cta: #D11271; --cc-logo-ink: #33425E; }
[data-theme="dark"] { --cc-logo-ink: rgba(255,255,255,.82); }
/* AA contrast — in light mode the bright aquamarine eyebrows (2.2:1) and muted gray
   (3.2:1) fail on white; deepen both to pass 4.5:1. On-dark eyebrows stay bright. */
[data-theme="light"] { --aytm-text-muted: #6E6D85; --aytm-aruba: #2A8080; }
[data-theme="light"] .hero--bg .eyebrow { color: var(--cc-aquamarine); }

:root {
  --wf-maxw: 1200px;
  --wf-gut: 40px;
  /* Topic-family accents. The brand is a 3-color system, so families resolve
     onto the Aegean / Coral / Aquamarine trio (+ deep-aqua / coral-soft) via
     semantic tokens — theme-safe, and some families intentionally share a hue. */
  --fam-method:   var(--aytm-aquamarine);   /* Aquamarine */
  --fam-trust:    var(--aytm-ocean);         /* Aegean (white in dark) */
  --fam-behavior: var(--aytm-starfish);      /* deep aquamarine */
  --fam-pricing:  var(--aytm-coral);         /* Coral */
  --fam-brand:    var(--aytm-magenta-soft);  /* coral-soft */
  --fam-panel:    var(--aytm-ocean);         /* Aegean */
  --fam-qual:     var(--aytm-aquamarine);    /* Aquamarine */
}

/* ---------- HEADER (floating glass pill nav) ---------- */
.site-header {
  --header-h: 76px;
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 16px;
  max-width: var(--wf-maxw); margin: 0 auto;
  padding: 16px var(--wf-gut); background: transparent; border: none;
}
/* Top scrim removed per review (Paul): the page-bg gradient capped the top of
   hero imagery, so images couldn't reach the top edge. The floating nav pill
   carries its own frosted-glass backing (.pn-row-entries) for legibility in both
   themes, so no page-top fade is needed. Element kept (no background) for
   stacking stability. */
.site-header::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw;
  transform: translateX(-50%); z-index: -1; pointer-events: none; background: none; }
/* .pn-links is a grouping wrapper only — on desktop its children lay out as
   direct pill entries; on phones it becomes the dropdown menu panel. */
.pn-links { display: contents; }
.pn-menu { display: none; }
/* Phones: collapse the pill entries behind a menu button; the panel reuses the
   pill's liquid-glass material and drops from under the header. */
@media (max-width: 760px){
  /* the desktop 40px page gutters + 16px gap push the theme toggle off 375px screens */
  .site-header { padding-left: 14px; padding-right: 14px; gap: 10px; }
  .nav.pn-row-entries { position: relative; }
  .pn-menu { display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; width: 40px; height: 40px; flex: none;
    border: 0; background: none; color: rgba(220, 227, 236, 0.85);
    border-radius: 9999px; cursor: pointer; }
  .pn-menu:hover, .site-header.nav-open .pn-menu { background: rgba(91, 191, 192, 0.12); color: var(--cc-aquamarine, #5BBFC0); }
  [data-theme="light"] .pn-menu { color: #223D64; }
  .pn-links { display: none; }
  .site-header.nav-open .pn-links { display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 70;
    padding: 10px; border-radius: 24px;
    background: rgba(18, 26, 38, 0.82);
    -webkit-backdrop-filter: blur(20px) saturate(1.15) brightness(1.06);
            backdrop-filter: blur(20px) saturate(1.15) brightness(1.06);
    box-shadow: var(--cc-glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 1px rgba(4, 10, 18, 0.28); }
  [data-theme="light"] .site-header.nav-open .pn-links { background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(34, 61, 100, 0.16); box-shadow: 0 8px 28px -14px rgba(34, 61, 100, 0.4); }
  /* outranks the desktop `.nav .pn-links > .pn-entry:first-child { margin-left:auto }`
     right-alignment rule, which appears later in the file */
  .site-header.nav-open .pn-links .pn-entry,
  .site-header.nav-open .pn-links > .pn-entry:first-child { padding: 13px 16px; border-radius: 14px; margin-left: 0; }
  .site-header.nav-open .pn-links .pn-entry.pn-cta { margin-top: 6px; justify-content: center; }
}
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; flex: 1 1 0; }
.brand img { display: block; width: auto; }
.brand .cc-logo { height: 17px; }
.brand .cc-logo img { height: 100%; }
/* CC vessel emblem — brand boat bobbing on a drifting current (looping) */
.cc-vessel { display: inline-flex; }
.cc-vessel svg { display: block; overflow: visible; transition: transform 220ms cubic-bezier(.34,1.56,.64,1); }
.brand:hover .cc-vessel svg { transform: scale(1.08); }
/* boat-as-home button inside the nav pill: snug icon + a hairline divider from the labels */
.nav .pn-entry--home { position: relative; padding: 2px 14px 2px 8px; margin-right: 4px; }
.nav .pn-entry--home .cc-vessel svg { width: 36px; height: 31px; }
.nav .pn-entry--home .cc-wordmark { margin-left: 10px; font-family: var(--font-ui);
  font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cc-aqua, #5BBFC0); white-space: nowrap; }
.nav .pn-entry--home::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 20px; background: var(--cc-glass-border-soft); display: none; }
/* nav spans the content width: brand on the left, links + CTA grouped on the right */
.nav .pn-entry--home + .pn-entry, .nav .pn-links > .pn-entry:first-child { margin-left: auto; }
.nav .pn-entry--home.pn-active { background: none; box-shadow: none; }
/* boat is a plain home mark — no hover feedback */
.nav .pn-entry--home:hover { background: none; }
/* waves drift left; the q/t wave repeats every 32px (crest + trough),
   so translating exactly -32px loops seamlessly. Slow = calm. */
.cc-vessel__wave--front { animation: cc-drift 7s linear infinite; }
.cc-vessel__wave--back  { animation: cc-drift 11s linear infinite; }
@keyframes cc-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-32px); }
}
/* vessel bob: slow rise/dip + rock, forever (local units — parent g scales 0.03) */
.cc-vessel__boat {
  transform-box: fill-box; transform-origin: 50% 88%;
  animation: cc-bob 5.5s ease-in-out infinite;
}
@keyframes cc-bob {
  0%, 100% { transform: rotate(-1.8deg) translateY(0); }
  50%      { transform: rotate(1.8deg) translateY(-36px); }
}
@media (prefers-reduced-motion: reduce) {
  .cc-vessel__boat, .cc-vessel__wave { animation: none; }
}
/* CC badge — compact wordmark replacement for the header */
.cc-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--cc-coral, #FB40A5);
  color: #fff;
  font-family: var(--font-ui); font-weight: 700;
  font-size: 17px; letter-spacing: 0.04em; line-height: 1;
  padding-right: 0.02em; /* optical centering for the double-C */
  user-select: none;
  transition: transform 140ms ease, background 140ms ease;
}
.brand:hover .cc-badge { transform: translateY(-1px); background: var(--cc-aqua, #5BBFC0); }
.brand__name {
  font-family: var(--font-display); font-weight: 400; font-size: 19px;
  color: var(--aytm-text-strong); letter-spacing: -0.01em; white-space: nowrap;
}
.brand__name b { font-weight: 700; }
/* Nav = the DS floating glass pill (.pn-row-entries paints the glass via cc-web.css;
   we supply just the box-model geometry, mirroring the shared-kit preview). */
.nav.pn-row-entries { position: relative; display: inline-flex; align-items: center; gap: 4px;
  height: var(--cc-nav-h); padding: 0 8px; flex: 1 1 auto; }
/* light mode: proper light frosted-glass nav; text + the boat's white areas
   reverse out to Aegean (#223D64) for contrast on the light pill. */
[data-theme="light"] .nav.pn-row-entries { background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(34, 61, 100, 0.16); box-shadow: 0 8px 28px -14px rgba(34, 61, 100, 0.4); }
/* light mode: latest + home/episode cards share the light frosted-glass nav material */
[data-theme="light"] .latest,
[data-theme="light"] :is(.page--home, .page--episodes) .grid3 .card--hover {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(34, 61, 100, 0.16);
  box-shadow: 0 8px 28px -14px rgba(34, 61, 100, 0.4); }
[data-theme="light"] .nav .pn-entry { color: #223D64; font-weight: 600 !important; }
[data-theme="light"] .nav .cc-wordmark { color: #223D64; }
[data-theme="light"] .cc-vessel__boat path[fill="#ffffff"] { fill: #223D64; }
.nav .pn-entry { display: inline-flex; align-items: center; font-family: var(--font-ui);
  font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 15px; border-radius: var(--radius-pill); cursor: pointer; color: #fff; }
/* "About aytm" nav CTA — a filled coral pill that inverts on hover (coral-button standard) */
.nav .pn-entry.pn-cta { margin-left: 8px; background: var(--cc-aquamarine); color: var(--cc-aegean, #223D64);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.nav .pn-entry.pn-cta:hover { background: #fff; color: var(--cc-aqua-deep, #2F8C8C); }
.header-spacer { display: none; }
.header-tools { display: flex; align-items: center; gap: 8px; justify-self: end; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-ui); font-weight: 600; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--aytm-text-muted); background: transparent;
  border: 1px solid var(--aytm-border); border-radius: var(--radius-pill);
  padding: 8px 13px; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.tool-btn:hover { color: var(--aytm-text-strong); border-color: var(--aytm-text-muted); }
.tool-btn.on { color: #fff; background: var(--aytm-coral); border-color: var(--aytm-coral); }
.tool-btn svg { width: 15px; height: 15px; stroke-width: 2; }
.tool-btn--icon { padding: 8px; aspect-ratio: 1; }
.tool-btn--icon svg { width: 16px; height: 16px; }

/* ---------- PAGE LAYOUT ---------- */
.page { max-width: var(--wf-maxw); margin: 0 auto; padding: 0 var(--wf-gut) 120px; }
.page--wide { max-width: 1200px; }
.page-enter { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .page-enter { animation: pageIn var(--dur-base) var(--ease-out); }
}
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

section.block { margin-top: 72px; }
.eyebrow { display: inline-block; margin-bottom: 5px; font-family: var(--font-ui); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--aytm-aruba); }
/* Hero / page H1 = Roundserrat (brand display face). Editorial headings (H2,
   dossier sections, episode + card titles, quotes) stay Merriweather serif. */
h1.disp { font-family: var(--cc-font-h1, var(--font-ui)); font-weight: 700; color: var(--aytm-text-heading);
  letter-spacing: -0.02em; line-height: 1.06; margin: 0; }
h2.disp { font-family: var(--font-display); font-weight: 300; color: var(--aytm-text-heading);
  letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.lead { font-size: 19px; line-height: 1.55; color: var(--aytm-text-body); max-width: 60ch; }
.muted { color: var(--aytm-text-muted); }
.rule { height: 1px; background: var(--aytm-border); border: 0; margin: 0; }

/* breadcrumb */
.crumb { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui);
  font-weight: 600; font-size: 12px; letter-spacing: 0.04em; color: var(--aytm-text-link);
  cursor: pointer; }
.crumb:hover { color: var(--aytm-text-link-h); }
.crumb svg { width: 15px; height: 15px; }

/* ---------- BUTTONS (use ds classes too) ---------- */
.btn { font-family: var(--font-ui); font-weight: 600; font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 13px 26px; border-radius: var(--radius-pill);
  border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  transition: filter var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--cc-cta); color: #fff; box-shadow: none;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.btn--primary:hover { background: #fff; color: var(--cc-cta); filter: none; box-shadow: none; }
.btn--primary:active { background: #fff; color: var(--cc-cta); }
.btn--outline { background: transparent; color: var(--cc-cta); box-shadow: inset 0 0 0 1.5px var(--cc-cta); }
.btn--outline:hover { background: var(--cc-cta); color: #fff; }
[data-theme="dark"] .btn--outline { color: #fff; }
.btn--quiet { background: var(--aytm-pill-bg); color: var(--aytm-pill-fg); }
.btn--quiet:hover { filter: brightness(0.97); }
[data-theme="dark"] .btn--quiet { background: rgba(255,255,255,.12); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
[data-theme="dark"] .btn--quiet:hover { background: rgba(255,255,255,.2); filter: none; }
/* glass/tertiary pill — reads on dark imagery surfaces (hero) */
.btn--glass { background: rgba(255,255,255,.14); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.24); }
.btn--glass svg { width: 16px; height: 16px; }
.btn--sm { padding: 9px 16px; font-size: 11px; }

/* ---------- CARDS ---------- */
.card { background: var(--aytm-card-bg); border: 1px solid var(--aytm-card-border);
  border-radius: var(--radius-lg); box-shadow: var(--aytm-card-shadow); overflow: hidden; }
.card--pad { padding: var(--space-6); }
.card--hover { cursor: pointer; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }

/* placeholder media (cover art etc.) — wireframe greyblock with diagonal hatch */
.ph {
  position: relative; background: var(--aytm-bg-sunken);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--aytm-text-muted); font-family: var(--font-ui); font-weight: 600;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
  background-image: repeating-linear-gradient(45deg,
     transparent, transparent 11px,
     color-mix(in srgb, var(--aytm-text-muted) 9%, transparent) 11px,
     color-mix(in srgb, var(--aytm-text-muted) 9%, transparent) 12px);
}
.ph--cover { aspect-ratio: 1 / 1; }
/* cover art photo — square on episode cards, fills the latest/feature slot */
.cover-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  object-position: center 28%; border-radius: var(--radius-lg); background: var(--aytm-bg-sunken); }
.cover-img--fill { height: 100%; aspect-ratio: auto; min-height: 220px; border-radius: var(--radius-md); }
.ph--wide { aspect-ratio: 16 / 9; }
.ph__tag { background: var(--aytm-bg); padding: 6px 12px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-1); }

/* ---------- CHIPS ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.02em;
  line-height: 1; padding: 8px 14px 6px; border-radius: var(--radius-pill); cursor: pointer;
  background: var(--aytm-pill-bg); color: var(--aytm-pill-fg);
  border: 1px solid transparent; transition: all var(--dur-fast) var(--ease-out);
  display: inline-flex; align-items: center; gap: 7px; }
.chip:hover { filter: brightness(0.97); }
[data-theme="dark"] .chip { background: rgba(255,255,255,.12); color: #fff;
  border-color: rgba(255,255,255,.18); }
[data-theme="dark"] .chip:hover { background: rgba(255,255,255,.2); filter: none; }
[data-theme="dark"] .chip.active { background: var(--cc-cta); border-color: transparent; }
.chip.active { background: var(--cc-cta); color: #fff; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fam, var(--aytm-ocean)); }
.chip--topic { background: color-mix(in srgb, var(--fam) 12%, var(--aytm-bg)); color: var(--fam);
  border-color: color-mix(in srgb, var(--fam) 30%, transparent); }
.chip--topic:hover { background: color-mix(in srgb, var(--fam) 20%, var(--aytm-bg)); }
/* dropdown chip — custom menu that opens directly below the pill (choose quarter) */
.dd { position: relative; display: inline-flex; }
.chip--dd { padding: 8px 32px 6px 14px; cursor: pointer; }
.chip__chev { position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; pointer-events: none; color: var(--cc-aquamarine);
  transition: transform var(--dur-fast) var(--ease-out); }
.dd.open .chip__chev { transform: translateY(-50%) rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; display: none;
  min-width: 100%; padding: 6px; flex-direction: column; gap: 2px;
  background: var(--aytm-bg-raised, #17283F); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md); box-shadow: 0 16px 40px -12px rgba(0,0,0,.55); }
.dd.open .dd-menu { display: flex; }
.dd-opt { display: block; width: 100%; text-align: center; white-space: nowrap; cursor: pointer;
  font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.02em;
  color: #fff; background: transparent; border: none; padding: 9px 16px; border-radius: 7px;
  transition: background var(--dur-fast) var(--ease-out); }
.dd-opt:hover { background: rgba(255,255,255,.1); }
.dd-opt.is-active { background: color-mix(in srgb, var(--cc-aquamarine) 22%, transparent); color: var(--cc-aquamarine); }
/* light mode: dropdown menu needs dark-on-light, not the dark-theme white text */
[data-theme="light"] .dd-menu { background: #fff; border-color: rgba(34,61,100,.14);
  box-shadow: 0 16px 40px -12px rgba(34,61,100,.28); }
[data-theme="light"] .dd-opt { color: #223D64; }
[data-theme="light"] .dd-opt:hover { background: rgba(34,61,100,.07); }
[data-theme="light"] .dd-opt.is-active { background: rgba(47,140,140,.16); color: #2F8C8C; }
/* quarter circles — sit inline in the filter row, to the right of the year dropdown */
.dd-qs { display: flex; gap: 6px; }
.dd-q { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  font-family: var(--font-ui); font-weight: 700; font-size: 10px; letter-spacing: 0.02em; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  transition: all var(--dur-fast) var(--ease-out); }
.dd-q:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }
.dd-q.is-active { background: var(--cc-cta); border-color: var(--cc-cta); color: #fff; }
/* light mode: inactive quarter circles need dark-on-light so they're visible */
[data-theme="light"] .dd-q { background: rgba(34,61,100,.06); border-color: rgba(34,61,100,.22); color: #223D64; }
[data-theme="light"] .dd-q:hover { background: rgba(34,61,100,.12); border-color: rgba(34,61,100,.35); }
[data-theme="light"] .dd-q.is-active { background: var(--cc-cta); border-color: var(--cc-cta); color: #fff; }
/* light mode: the filter chips (All, year pill, sectors) match the Q-circle treatment */
[data-theme="light"] .page--episodes .chip { background: rgba(34,61,100,.06);
  border-color: rgba(34,61,100,.22); color: #223D64; }
[data-theme="light"] .page--episodes .chip:hover { background: rgba(34,61,100,.12); border-color: rgba(34,61,100,.35); filter: none; }
[data-theme="light"] .page--episodes .chip.active { background: var(--cc-cta); border-color: var(--cc-cta); color: #fff; }

/* ---------- GRIDS ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ep-head { grid-template-columns: 240px 1fr; }
@media (max-width: 900px){ .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid2, .ep-head { grid-template-columns: 1fr; } }

/* episode card */
.epcard__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
/* home + episodes page cards — same liquid-glass material as the nav */
:is(.page--home, .page--episodes) .grid3 .card--hover {
  background: rgba(18, 26, 38, 0.46);
  -webkit-backdrop-filter: blur(20px) saturate(1.15) brightness(1.06);
          backdrop-filter: blur(20px) saturate(1.15) brightness(1.06);
  border: 1px solid var(--cc-glass-border-soft);
  box-shadow: var(--cc-glass-shadow), inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 1px rgba(4,10,18,0.28); }
:is(.page--home, .page--episodes) .grid3 .epcard__body { background: transparent; }
/* equal height + flush bottoms. Guest name hugs the title;
   the variable space (1- vs 2-line titles) sits below the guest name. */
:is(.page--home, .page--episodes) .grid3 { align-items: stretch; }
:is(.page--home, .page--episodes) .grid3 .card--hover { display: flex; flex-direction: column; }
:is(.page--home, .page--episodes) .grid3 .epcard__body { flex: 1; }
:is(.page--home, .page--episodes) .grid3 .epcard__title { display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:is(.page--home, .page--episodes) .grid3 .epcard__meta { margin-bottom: 32px; }
:is(.page--home, .page--episodes) .grid3 .ep-playbtn { margin-top: auto; }
.epcard__title { font-family: var(--font-display); font-weight: 400; font-size: 18px;
  line-height: 1.25; color: var(--aytm-text-strong); text-wrap: balance; margin: 0; }
.epcard__meta { font-size: 13px; color: var(--aytm-text-muted); line-height: 1.45; text-wrap: pretty; margin: 0; }
/* Company logo — monochrome silhouette painted with the ink token via CSS mask,
   so the source asset's own colors are irrelevant. Replaces the org text when a
   logo asset exists (see app.js roleAndCompany); org renders as text otherwise. */
.company-logo {
  display: block; margin-top: 5px;
  height: 20px; width: auto; max-width: 132px;
  background-color: var(--cc-logo-ink, #33425E);
  -webkit-mask: var(--logo) no-repeat left center / contain;
          mask: var(--logo) no-repeat left center / contain;
}
.company-logo--sm { height: 15px; max-width: 104px; margin-top: 4px; }
@supports not ((-webkit-mask-image: url("x")) or (mask-image: url("x"))) {
  .company-logo { background: none; height: auto; }
  .company-logo::after { content: attr(aria-label); font-size: 13px; color: var(--aytm-text-muted); }
}
.epcard__date { font-family: var(--font-ui); font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--aytm-text-muted); }
/* past-quarters: quarter label as a filled pink pill (matches home-card CTAs) */
.q-pill { display: inline-block; align-self: flex-start; font-family: var(--font-ui); font-weight: 700; font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--cc-cta);
  padding: 5px 12px; border-radius: var(--radius-pill); }

/* home-card play button — compact version of the hero's primary CTA */
.ep-playbtn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: 14px; padding: 8px 16px 8px 13px; cursor: pointer; font-family: var(--font-ui);
  background: var(--cc-cta); color: #fff; border: none; border-radius: var(--radius-pill);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.ep-playbtn:hover { background: #fff; color: var(--cc-cta); filter: none; box-shadow: none; }
.ep-playbtn:active { background: #fff; color: var(--cc-cta); }
.ep-playbtn__icon { display: inline-flex; }
.ep-playbtn__icon svg { width: 13px; height: 13px; }
.ep-playbtn__info { font-weight: 600; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; line-height: 1; }

/* ---------- EPISODE PERIOD GROUPS (by quarter + year) ---------- */
.ep-group__head { display: flex; align-items: baseline; gap: 16px; }
.ep-group__title { font-family: var(--font-display); font-weight: 300; font-size: 26px;
  letter-spacing: -0.01em; color: var(--aytm-text-heading); margin: 0; }
.ep-group__count { font-family: var(--font-ui); font-weight: 600; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--aytm-text-muted); }

/* ---------- INLINE ENTITY LINKS (dossier layer 0 → 0.5) ---------- */
.ent { cursor: pointer; border-bottom: 1.5px dotted currentColor;
  transition: background var(--dur-fast) var(--ease-out); padding: 0 1px; border-radius: 2px; }
.ent:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.ent--person { color: var(--aytm-ocean); font-weight: 600; }
.ent--term   { color: var(--cc-aquamarine, #5bbfc0); font-style: italic; }
.ent--claim  { color: var(--aytm-text-body); border-bottom-color: var(--aytm-coral);
  border-bottom-style: solid; }
.ent--claim:hover { background: color-mix(in srgb, var(--aytm-coral) 12%, transparent); }

/* ---------- SUBSCRIBE ROW ---------- */
.subrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sub-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-ui);
  font-weight: 600; font-size: 12.5px; color: var(--aytm-text-strong);
  background: var(--aytm-card-bg); border: 1px solid var(--aytm-border);
  border-radius: var(--radius-pill); padding: 10px 18px; cursor: pointer;
  box-shadow: var(--shadow-1); transition: all var(--dur-fast) var(--ease-out); }
.sub-btn:hover { border-color: var(--aytm-text-muted); transform: translateY(-1px); }
.sub-btn svg { width: 18px; height: 18px; }
.sub-ico { height: 17px; width: auto; display: block; flex: none; }
/* sub-icons are white (reversed) logos — darken them on light buttons so they show */
[data-theme="light"] .sub-ico { filter: brightness(0) saturate(100%); }

/* ---------- AUDIO PLAYER (UI only) ---------- */
.player { display: flex; align-items: center; gap: 18px; padding: 16px 20px;
  background: var(--aytm-card-bg); border: 1px solid var(--aytm-border);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-2); }
.player__play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--aytm-magenta); color: #fff; cursor: pointer; display: grid; place-items: center; }
.player__play svg { width: 20px; height: 20px; }
.player__bar { flex: 1; height: 6px; border-radius: 3px; background: var(--aytm-chart-track);
  position: relative; overflow: hidden; cursor: pointer; }
/* fill width is driven live by setupPlayer() via the --p custom property (0% at start) */
.player__bar::after { content: ""; position: absolute; inset: 0 calc(100% - var(--p, 0%)) 0 0; background: var(--aytm-magenta); border-radius: 3px; }
.player__bar:focus-visible { outline: 2px solid var(--aytm-coral); outline-offset: 3px; }
.player__time { font-family: var(--font-mono); font-size: 12px; color: var(--aytm-text-muted); white-space: nowrap; }
.player__play:disabled { opacity: 0.45; cursor: default; }
.player--sticky { position: sticky; top: 84px; z-index: 30; }

/* ---------- GATEWAY BLOCK (homepage, weighty) ---------- */
/* Brand imagery under a left-heavy Aegean wash (DS imagery treatment). */
.gateway { position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--cc-aegean); color: #fff; padding: 64px 56px;
  border: 1px solid var(--aytm-card-border); box-shadow: var(--aytm-card-shadow); }
.gateway > * { position: relative; z-index: 2; }
.gateway__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; }
.gateway__wash { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(34,61,100,.9) 0%, rgba(34,61,100,.62) 48%, rgba(34,61,100,.22) 100%); }
.gateway__eyebrow { color: var(--cc-aquamarine); }
.gateway h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); max-width: 24ch; text-wrap: balance; }
.gateway p { color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.55; max-width: 52ch; }

/* ---------- ANNOTATIONS ---------- */
.anno { display: none; }
body.show-anno .anno {
  display: block; position: relative;
  font-family: var(--font-ui); font-size: 11.5px; line-height: 1.45;
  color: var(--aytm-coral);
  border: 1px dashed color-mix(in srgb, var(--aytm-coral) 60%, transparent);
  background: color-mix(in srgb, var(--aytm-coral) 7%, var(--aytm-bg));
  border-radius: var(--radius-sm); padding: 10px 12px 10px 13px; margin: 14px 0;
}
body.show-anno .anno b { font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 10px; display: block; margin-bottom: 3px; }
.anno--inline { display: none; }
body.show-anno .anno--inline { display: inline-flex; align-items: center; gap: 5px;
  vertical-align: middle; margin: 0 0 0 8px; padding: 2px 8px;
  font-family: var(--font-ui); font-weight: 700; font-size: 9.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--aytm-coral); border-radius: var(--radius-pill);
  border: 1px dashed color-mix(in srgb, var(--aytm-coral) 55%, transparent);
  background: color-mix(in srgb, var(--aytm-coral) 8%, var(--aytm-bg)); }
.layer-badge { font-family: var(--font-ui); font-weight: 700; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 11px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--aytm-starfish) 12%, var(--aytm-bg)); color: var(--aytm-starfish);
  display: inline-flex; align-items: center; gap: 6px; }
/* Dark mode: the page-bg-mixed tint collapses into the raised card behind it, so
   the pill went invisible and only the label showed. Use a translucent starfish
   tint that reads on the card. (Light mode unchanged.) */
[data-theme="dark"] .layer-badge { background: color-mix(in srgb, var(--aytm-starfish) 24%, transparent); }

/* ---------- SIDEBAR (Layer 0.5) ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: var(--aytm-overlay-bg, rgba(20,35,58,.5));
  opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-out); }
.scrim.open { opacity: 1; pointer-events: auto; }
.sidebar { position: fixed; top: 0; right: 0; z-index: 95; height: 100vh; width: 460px; max-width: 92vw;
  background: var(--aytm-bg); box-shadow: -16px 0 48px rgba(20,18,58,.22);
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out);
  display: flex; flex-direction: column; border-left: 1px solid var(--aytm-border); }
.sidebar.open { transform: none; }
.sidebar__top { display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--aytm-border); }
.sidebar__layer { font-family: var(--font-ui); font-weight: 700; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--aytm-text-muted); }
.sidebar__close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--aytm-border);
  background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--aytm-text-body); }
.sidebar__close:hover { background: var(--aytm-pill-bg); }
.sidebar__close svg { width: 17px; height: 17px; }
.sidebar__scroll { flex: 1; overflow-y: auto; padding: 24px 22px 40px; }
.sidebar__foot { padding: 16px 22px; border-top: 1px solid var(--aytm-border); }

.sb-person-head { display: flex; gap: 16px; align-items: center; margin-bottom: 6px; }
.sb-avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; }
.sb-name { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--aytm-text-strong); line-height: 1.1; }
.sb-role { font-size: 13px; color: var(--aytm-text-muted); margin-top: 4px; line-height: 1.4; }

.quote { border-left: 2px solid var(--aytm-coral); padding: 4px 0 4px 16px; margin: 0; }
.quote__text { font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: 16px; line-height: 1.5; color: var(--aytm-text-strong); }
.quote__src { display: block; margin-top: 7px; font-family: var(--font-ui); font-weight: 600;
  font-size: 11px; letter-spacing: 0.04em; color: var(--aytm-text-muted); }
.sb-section-label { font-family: var(--font-ui); font-weight: 700; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--aytm-text-muted); margin: 26px 0 12px; }
.sb-claimlist { display: flex; flex-direction: column; gap: 18px; }

/* topic sidebar header */
.sb-topic-head { display: flex; align-items: center; gap: 12px; }
.sb-fam-swatch { width: 16px; height: 16px; border-radius: 4px; background: var(--fam); flex: none; }
.sb-count { font-family: var(--font-numeric); font-weight: 300; font-size: 40px;
  color: var(--fam); line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- DOSSIER TYPOGRAPHY (layer 0) ---------- */
.dossier-content { max-width: 760px; margin: 0 auto; }
.dossier-content h2.sec { font-family: var(--font-display); font-weight: 300; font-size: 34px;
  color: var(--aytm-text-heading); letter-spacing: -0.02em; margin: 6px 0 4px; line-height: 1.15; }
.dossier-content h3.through { font-family: var(--font-ui); font-weight: 700; font-size: 22px;
  color: var(--aytm-text-strong); margin: 40px 0 10px; line-height: 1.25; letter-spacing: -0.005em; }
.dossier-content h4.sub { font-family: var(--font-ui); font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--aytm-aruba); margin: 28px 0 8px; }
.dossier-content p { font-size: 17px; font-weight: 300; line-height: 1.92; color: var(--aytm-text-body); margin: 0 0 20px;
  text-wrap: pretty; }
.dossier-content h2.sec + p { margin-top: 28px; }
.dossier-content .sec-num { display: block; margin-top: 64px; font-family: var(--font-ui); font-weight: 700; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--aytm-coral); }
.dossier-content > div:first-child .sec-num { margin-top: 0; }

/* "where we stand" callout — aytm's standpoint, called out as a solid Aegean
   brand surface (flat color, no rail/gradient) with the aytm logo so it pops. */
.wws { background: var(--cc-aegean);
  border: 1px solid color-mix(in srgb, var(--cc-aquamarine) 32%, transparent);
  border-radius: var(--radius-lg); padding: 30px 34px;
  margin: 34px 0; box-shadow: 0 20px 48px -24px rgba(14, 26, 46, 0.6); }
.wws__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.wws__logo { height: 34px; width: auto; display: block; flex: none; }
.wws__logo + .wws__label { padding-left: 16px;
  border-left: 1px solid color-mix(in srgb, var(--cc-aquamarine) 35%, transparent); }
.wws__label { font-family: var(--font-ui); font-weight: 700; font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cc-aquamarine); margin: 0; }
.wws p { font-size: 16px; line-height: 1.72; margin: 0 0 14px; color: rgba(255,255,255,.9); }
.wws__link { font-family: var(--font-ui); font-weight: 600; font-size: 12px; color: var(--cc-aquamarine);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.wws__link:hover { color: #fff; }
.wws__link svg { width: 14px; height: 14px; }

/* lexicon / trajectory blocks */
.lex { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.lex__term { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 18px;
  color: var(--cc-aquamarine, #5bbfc0); }
.lex__def { font-size: 14px; line-height: 1.7; color: var(--aytm-text-body); margin-top: 4px; }
@media (max-width: 720px){ .lex { grid-template-columns: 1fr; } }

.traj { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; margin-top: 36px; align-items: start; }
.traj__stack { display: flex; flex-direction: column; gap: 30px; }
.traj__col h5 { font-family: var(--font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; margin: 0 0 10px; }
.traj__col ul { margin: 0; padding-left: 18px; }
.traj__col li { font-size: 14px; line-height: 1.65; color: var(--aytm-text-body); margin-bottom: 9px; }
@media (max-width: 720px){ .traj { grid-template-columns: 1fr; } }

/* dossier TOC sticky aside — body stays centered (aligned with the header); the
   TOC floats in the left margin when there's room, else hides. */
.dossier-wrap { display: grid; grid-template-columns: 1fr min(880px, 100%) 1fr;
  margin: 0; align-items: start; }
.dossier-content { grid-column: 2; }
.toc { grid-column: 1; justify-self: end; width: 170px; padding-right: 28px;
  position: sticky; top: 168px; }
.toc a { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 12px;
  color: var(--aytm-text-muted); padding: 6px 0; cursor: pointer; line-height: 1.35;
  border-left: 2px solid transparent; padding-left: 12px; }
.toc a:hover { color: var(--aytm-text-strong); }
.toc a.active { color: var(--aytm-text-strong); border-left-color: var(--aytm-magenta); }
@media (max-width: 1280px){ .toc { display: none; } }

/* ---------- STUB / GATE (layers 1 & 2) ---------- */
.stub-ph { border: 2px dashed var(--aytm-border); border-radius: var(--radius-lg);
  background: var(--aytm-bg-raised); padding: 56px 32px; text-align: center; }
.stub-ph__icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--aytm-text-muted); }
.stub-ph__title { font-family: var(--font-display); font-weight: 400; font-size: 22px;
  color: var(--aytm-text-strong); }
.stub-ph__note { font-size: 14px; color: var(--aytm-text-muted); margin-top: 10px; max-width: 46ch; margin-inline: auto; }

.gate { max-width: 520px; margin: 40px auto 0; text-align: center;
  background: var(--aytm-card-bg); border: 1px solid var(--aytm-card-border);
  border-radius: var(--radius-lg); box-shadow: var(--aytm-card-shadow); padding: 48px 40px; }
.gate__lock { width: 44px; height: 44px; margin: 0 auto 18px; color: var(--aytm-starfish); }
.gate__form { display: flex; gap: 10px; margin-top: 22px; }
.input { flex: 1; font-family: var(--font-sans); font-size: 14px; padding: 12px 16px;
  border: 1px solid var(--aytm-border); border-radius: var(--radius-pill); background: var(--aytm-bg);
  color: var(--aytm-text-body); }
.input:focus { outline: 2px solid var(--aytm-aquamarine); outline-offset: 1px; border-color: transparent; }
.search-input { width: 100%; font-family: var(--font-sans); font-size: 14px; padding: 12px 18px 12px 44px;
  border: 1.5px solid var(--cc-aquamarine); border-radius: var(--radius-pill); background: var(--aytm-bg);
  color: var(--aytm-text-body); transition: border-color var(--dur-fast) var(--ease-out); }
.search-input:hover { border-color: var(--cc-aquamarine); }
.search-input:focus { border-color: var(--cc-aquamarine); outline: none; box-shadow: none; }
.search-wrap { position: relative; max-width: 420px; }
/* episode guest card — square photo left, details right */
.guest-card { display: flex; gap: 22px; align-items: stretch; padding: 16px; }
.guest-card__photo { flex: none; align-self: stretch; aspect-ratio: 1 / 1; height: auto;
  min-height: 140px; width: auto; border-radius: var(--radius-md); overflow: hidden; }
.guest-card__photo--img { background-size: cover; background-position: center 28%;
  background-repeat: no-repeat; background-color: var(--aytm-bg-sunken); }
.guest-card__body { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.guest-card__body .btn { align-self: flex-start; margin-top: 16px; }
/* Episode-page guest sidebar additions */
.ep-guest__sector { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--aytm-text-muted); margin-top: 2px; }
.ep-guest__also { margin-top: 18px; }
.ep-guest__ep { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 11px 13px; border-radius: var(--radius-md); cursor: pointer; font-family: inherit;
  border: 1px solid var(--aytm-border); background: var(--aytm-bg-raised);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.ep-guest__ep:hover { transform: translateY(-1px); border-color: var(--aytm-text-link); }
.ep-guest__ep-num { flex: none; font-family: var(--font-ui); font-weight: 700; font-size: 11px;
  color: var(--aytm-text-muted); }
.ep-guest__ep-title { flex: 1; min-width: 0; font-size: 13px; color: var(--aytm-text-strong);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-guest__ep-arrow { flex: none; color: var(--aytm-text-link); display: grid; place-items: center; }
.ep-guest__ep-arrow svg { width: 16px; height: 16px; }
.search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--cc-aquamarine); }

/* ---------- FOOTER ---------- */
.site-footer { border-top: none; margin-top: 96px;
  padding: 88px var(--wf-gut) 48px;
  background: linear-gradient(to bottom, transparent 0%, var(--aytm-bg-raised) 100%); }
.site-footer__inner { max-width: var(--wf-maxw); margin: 0 auto; display: flex;
  flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.foot-col h6 { font-family: var(--font-ui); font-weight: 700; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cc-aquamarine); margin: 0 0 12px; }
/* card date eyebrows render in brand Aquamarine on the home + insights + episodes pages */
.page--home .epcard__date, .page--insights .epcard__date, .page--episodes .epcard__date { color: var(--cc-aquamarine); }
.foot-col a { display: block; font-size: 13px; color: var(--aytm-text-body); padding: 4px 0; cursor: pointer; }
.foot-col a:hover { color: var(--aytm-text-link); }
.foot-legal { font-family: var(--font-ui); font-weight: 600; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--aytm-text-muted); }

/* about strip */
.about { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  padding: 56px 40px 56px 56px; border-radius: var(--radius-xl); overflow: hidden; }
.about > *:not(.about__bg):not(.about__wash) { position: relative; z-index: 2; }
.about__bg { position: absolute; inset: 0; z-index: 0; background-image: url(assets/hero-river.webp);
  background-repeat: no-repeat; background-size: 150%; background-position: 5% 80.5%; }
.about__wash { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,22,40,.94) 0%, rgba(14,22,40,.72) 46%, rgba(14,22,40,.34) 100%); }
.about .eyebrow { color: var(--cc-aquamarine); }
.about h2 { color: #fff; }
.about p { color: rgba(255,255,255,.84); text-wrap: balance; }
.about__portrait { display: flex; gap: 20px; justify-content: center; }
.about__host { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.about__host-photo { width: 124px; height: 124px; border-radius: 50%;
  background-size: cover; background-position: center; background-color: var(--aytm-bg-sunken);
  border: 2px solid rgba(255,255,255,.22); box-shadow: 0 6px 18px rgba(4,10,18,.5); }
.about__host-name { font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  color: #fff; letter-spacing: .01em; white-space: nowrap; }
/* legacy single-portrait placeholder, kept for any other .about usages */
.about__portrait .ph { width: 220px; height: 220px; aspect-ratio: 1 / 1; min-height: 0;
  border-radius: var(--radius-md); }
@media (max-width: 820px){ .about { grid-template-columns: 1fr; } }

/* hero */
.hero { padding: 56px 0 8px; }
/* hero eyebrow → title gap matches the homepage title section (16px) */
.hero .eyebrow { margin-bottom: 16px; }
/* match the homepage/experience hero: title sits 104px from the top, under the nav */
.hero--top { margin-top: -76px; padding-top: 104px; }
/* insights hero — full-bleed branded background, like the experience hero */
.hero--bg { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: -76px;
  min-height: clamp(420px, 44vh, 490px); display: flex; align-items: flex-start; overflow: hidden;
  padding: 0; background: transparent; }
.hero--bg::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: #0E1A2E var(--hero-img) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 97%); }
@media (prefers-reduced-motion: no-preference){
  .hero--bg::before { animation: xpHeroDrift 46s ease-in-out infinite alternate; }
}
.hero--bg .hero__wash { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(96deg, rgba(14,22,40,.92), rgba(14,22,40,.42) 60%, rgba(14,22,40,.12));
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 97%); }
.hero--bg .hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wf-maxw);
  margin: 0 auto; padding: 142px var(--wf-gut) 0; }
.hero--bg .lead { color: rgba(255,255,255,.86); max-width: 54ch; }
.hero h1 { font-size: clamp(28px, 4.2vw, 48px); max-width: 16ch; }
.latest { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  margin-top: 40px; padding: 16px; border-radius: var(--radius-xl);
  background: rgba(18, 26, 38, 0.46);
  -webkit-backdrop-filter: blur(20px) saturate(1.15) brightness(1.06);
          backdrop-filter: blur(20px) saturate(1.15) brightness(1.06);
  border: 1px solid var(--cc-glass-border-soft);
  box-shadow: var(--cc-glass-shadow), inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 1px rgba(4,10,18,0.28); }
.latest__cover { display: flex; }
/* filter eyebrows (Period / Sector) — optical nudge to align with chip text */
.page--episodes .row.gap-5 > .row > .eyebrow { position: relative; top: 2px; }
/* feature card text scale — bigger than standard cards (title beats the .card heading override) */
#view .latest h2.disp { font-size: 34px !important; }
.latest .epcard__date { font-size: 13px; }
/* about card title — beat the .card heading override so it reads as a section title */
#view .about h2.disp { font-size: 30px !important; }
.latest .cover-img--fill { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 0;
  object-position: center 24%; border-radius: var(--radius-md); }
.latest .stack { justify-content: center; }
.latest .stack p { margin: 0; }
.latest .ph--cover { width: 100%; height: 100%; aspect-ratio: auto; min-height: 220px;
  border-radius: var(--radius-md); }
/* insights "Featured" card — reads exactly like the homepage latest card */
.ins-feature { gap: 28px; padding: 16px; border-radius: var(--radius-xl);
  background: rgba(18, 26, 38, 0.46);
  -webkit-backdrop-filter: blur(20px) saturate(1.15) brightness(1.06);
          backdrop-filter: blur(20px) saturate(1.15) brightness(1.06);
  border: 1px solid var(--cc-glass-border-soft);
  box-shadow: var(--cc-glass-shadow), inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 1px rgba(4,10,18,0.28); }
.ins-feature__cover { display: flex; }
.ins-feature .stack { justify-content: center; }
.ins-feature .stack p { margin: 0; }
.ins-feature .ph--cover { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 0;
  border-radius: var(--radius-md); }
.ins-feature .cover-img--fill { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 0;
  object-position: center; border-radius: var(--radius-md); }
@media (max-width: 720px){ .latest, .ins-feature { grid-template-columns: 1fr; } }

/* small helper */
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 24px; } .gap-6 { gap: 32px; }
.wrap { flex-wrap: wrap; }
.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-5{margin-top:24px}.mt-6{margin-top:32px}.mt-7{margin-top:48px}
.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.mb-5{margin-bottom:24px}
.tac { text-align: center; } .center-x { margin-inline: auto; }

/* ==========================================================================
   REVISION PASS — Tiffany walkthrough (2026-06-11)
   ========================================================================== */

/* ---------- DARK MODE: dark Aegean brand blue (proposed surface scale) -------
   No dark-blue surface variant ships in the DS tokens — dark mode is neutral
   charcoal. Per the brief we propose one derived from Aegean (#223D64),
   deepened + slightly desaturated, so dark mode reads deliberately blue-toned
   (and avoids the dark-blue-on-near-black contrast issue from the walkthrough).
   These remap only the surface + rule tokens; everything downstream re-skins. */
/* Dark-mode navy retint now lives in the design system (shared/aytm-ds/cc-theme.css,
   [data-theme="dark"] surface tokens). Kept out of the site CSS so the DS owns it. */

/* LIGHT MODE — a dark hero fading to transparent dissolves muddily into the white
   pattern bg. Instead, drop the fade so each hero ends on a crisp edge: a clean
   division from hero → pattern bg before the main content begins. */
[data-theme="light"] .hero-full__video,
[data-theme="light"] .hero-full__wash,
[data-theme="light"] .hero--bg::before,
[data-theme="light"] .hero--bg .hero__wash,
[data-theme="light"] .xp-hero::before,
[data-theme="light"] .xp-hero__wash {
  -webkit-mask-image: none; mask-image: none; }
/* image-hero titles sit on dark imagery — keep them white in light mode
   (they'd otherwise inherit the dark Aegean heading color). */
[data-theme="light"] .hero--bg h1.disp,
[data-theme="light"] .xp-hero__title { color: #fff; }
/* the visual-experience tile previews are dark viz scenes; in light mode fade them
   to deep Aegean (not the white card bg) so the scene stays rich, then the white
   body begins below on a clean edge. */
[data-theme="light"] .xp-mini::after {
  background: linear-gradient(to bottom, transparent 48%, #0E1A2E 100%); }
[data-theme="light"] .xp-tile--feature .xp-mini::after {
  background: linear-gradient(to right, transparent 42%, #0E1A2E 100%); }
/* the episodes/insights search bar is pulled up to overlap the hero's old soft
   fade; with the light-mode crisp edge that overlap clips the bar, so let it sit
   just below the edge on the pattern bg instead. */
[data-theme="light"] .hero + .block { margin-top: 28px !important; }
/* a hairline shadow under the crisp edge to seat the hero on the pattern */
[data-theme="light"] .hero-full,
[data-theme="light"] .hero--bg,
[data-theme="light"] .xp-hero {
  box-shadow: 0 14px 30px -18px rgba(14, 26, 46, 0.55); }
/* Breaks out of the .page container to span the full viewport width. */
.hero-full { position: relative; width: 100vw; margin-left: calc(50% - 50vw);
  margin-top: -76px; /* rise under the floating nav so the film reaches the top */
  min-height: min(78vh, 720px); display: flex; align-items: center; overflow: hidden;
  background: transparent; }
.hero-full__video { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 56%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 56%, transparent 99%); }
/* DS-sanctioned left-heavy Aegean wash over imagery (keeps reversed copy legible) */
.hero-full__wash { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(34,61,100,.92) 0%, rgba(34,61,100,.66) 42%, rgba(34,61,100,.28) 78%, rgba(34,61,100,.12) 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 56%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 56%, transparent 99%); }
/* seamless fade from the film into the page background — dark theme only;
   light theme gets a clean cut (dark film fading to white reads as haze) */
.hero-full::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: 160px; pointer-events: none; display: none;
  background: linear-gradient(to bottom, transparent, var(--aytm-bg)); }
[data-theme="dark"] .hero-full::after { display: none; }
.hero-full__inner { position: relative; z-index: 2; width: 100%;
  max-width: var(--wf-maxw); margin: 0 auto; padding: 0 var(--wf-gut); }
.hero-full__copy { max-width: 760px; padding: 96px 0; }
.hero-full__copy h1.disp { font-size: clamp(40px, 5.4vw, 66px); max-width: 11ch; color: #fff; }
.hero-full__copy .eyebrow { color: var(--cc-aquamarine); margin-bottom: 16px; }
.hero-full__copy .lead { max-width: 44ch; color: rgba(255,255,255,.9); }
.hero-full__copy .row { flex-wrap: nowrap; }
.hero-full__copy .btn { white-space: nowrap; }
/* three buttons don't fit one line on phones — stack the row instead of clipping */
@media (max-width: 640px){ .hero-full__copy .row { flex-wrap: wrap; } }
/* outline button on the dark film: white text + white stroke in both themes */
.hero-full__copy .btn--outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.hero-full__copy .btn--outline:hover { background: rgba(255,255,255,.16); color: #fff; }
/* gateway outline button sits on dark imagery: translucent white hover (its inline
   --aytm-coral override would otherwise make the base hover fill white-on-white) */
.gateway .btn--outline:hover { background: rgba(255,255,255,.16); color: #fff; }
.hero-full__tag { position: absolute; right: 20px; bottom: 18px; z-index: 2; display: inline-flex;
  align-items: center; gap: 8px; font-family: var(--font-ui); font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  background: rgba(14,22,40,.42); backdrop-filter: blur(7px);
  padding: 7px 13px; border-radius: var(--radius-pill); }
.hero-full__tag svg { width: 12px; height: 12px; fill: #fff; }
@media (prefers-reduced-motion: reduce){ .hero-full__video { /* still frame via poster */ } }
@media (max-width: 720px){ .hero-full__copy { padding: 72px 0; } }

/* co-brand line — resolves "who's behind it" */
.cobrand { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  padding-top: 18px; border-top: 1px solid var(--aytm-border); }
.cobrand__label { font-family: var(--font-ui); font-weight: 700; font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--aytm-text-muted); }
.cobrand__mark { font-family: var(--font-display); font-weight: 700; font-size: 21px;
  color: var(--aytm-text-strong); letter-spacing: -0.01em; }
.cobrand__note { font-size: 13.5px; color: var(--aytm-text-muted); }
.cobrand__link { font-family: var(--font-ui); font-weight: 600; font-size: 12px;
  color: var(--aytm-text-link); cursor: pointer; display: inline-flex; align-items: center;
  gap: 5px; margin-left: auto; }
.cobrand__link svg { width: 14px; height: 14px; }
.cobrand__link:hover { color: var(--aytm-text-link-h); }
/* reversed co-brand line for dark/imagery surfaces */
.cobrand--on-dark { border-top-color: rgba(255,255,255,.22); }
.cobrand--on-dark .cobrand__label { color: rgba(255,255,255,.66); }
.cobrand--on-dark .cobrand__mark { color: #fff; }
.cobrand--on-dark .cobrand__note { color: rgba(255,255,255,.78); }
.cobrand--on-dark .cobrand__link { color: #fff; }
.cobrand--on-dark .cobrand__link:hover { color: var(--cc-aquamarine); }
.cobrand__logo { height: 31.2px; width: auto; display: block; }
/* hero co-brand: no divider rule above it */
.hero-full__copy .cobrand--on-dark { border-top: none; padding-top: 0; }

/* ---------- "PRODUCED BY AYTM" MODULE (episode layer) ---------- */
/* whole module is one white pill: logo, text, and button sit inside it */
.produced-by { display: flex; align-items: center; gap: 26px; padding: 22px 38px;
  background: #fff; border: none; border-radius: var(--radius-pill); }
.produced-by__mark { display: flex; align-items: center; justify-content: center;
  background: transparent; padding: 0; flex: none; }
.produced-by__mark img { display: block; height: 34px; width: auto; }
.produced-by__text { flex: 1; min-width: 0; }
.produced-by__label { display: block; font-family: var(--font-ui); font-weight: 700;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #2A8080;
  margin-bottom: 3px; }
.produced-by__text p { margin: 0; font-size: 15px; line-height: 1.55; color: #2a3340;
  text-wrap: balance; }
.produced-by__btn { flex: none; white-space: nowrap; }
/* outline button keeps coral ink on the white pill (override the dark-theme white) */
.produced-by .btn--outline { color: var(--cc-cta); box-shadow: inset 0 0 0 1.5px var(--cc-cta); }
.produced-by .btn--outline:hover { color: #fff; background: var(--cc-cta); }
@media (max-width: 640px){ .produced-by { flex-wrap: wrap; border-radius: var(--radius-lg); } .produced-by__btn { margin-left: 0; } }

/* ---------- PER-EPISODE "WHERE WE STAND" ---------- */
/* glass-stones photographic surface (aytm brand stones); a left-heavy Aegean
   scrim keeps the white copy legible while the stones glow through at the right */
.ep-wws { background:
    linear-gradient(90deg, rgba(34,61,100,0.95) 0%, rgba(34,61,100,0.90) 50%, rgba(34,61,100,0.62) 80%, rgba(34,61,100,0.38) 100%),
    url("assets/wws-stones.webp");
  background-size: cover; background-position: right center; background-repeat: no-repeat;
  border: 1px solid color-mix(in srgb, var(--cc-aquamarine) 30%, transparent);
  border-radius: var(--radius-lg); padding: 38px 42px; }
.ep-wws .eyebrow { color: var(--cc-aquamarine); margin-bottom: 12px; }
.ep-wws__title { font-size: 28px; margin-top: 2px; color: #fff; }
.ep-wws__attr { font-family: var(--font-ui); font-weight: 700; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cc-aquamarine); margin: 12px 0 14px; }
.ep-wws__body { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.88); max-width: 62ch; }

/* episode bottom: Transcript + Contributed-to as a 2-col pair. Clicking "Read
   the transcript" adds .is-expanded, collapsing to one column so the transcript
   card grows full-width over (and hides) the contributed card. */
.ep-bottom { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; margin-top: 72px; align-items: start; }
.ep-bottom > .ep-transcript, .ep-bottom > .ep-contributed { margin-top: 0; }
.ep-bottom.is-expanded { grid-template-columns: 1fr; }
.ep-bottom.is-expanded .ep-contributed { display: none; }
@media (max-width: 760px){ .ep-bottom { grid-template-columns: 1fr; } }
.ep-contributed { position: relative; overflow: hidden; isolation: isolate; background: var(--aytm-bg-raised);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.ep-contributed > * { position: relative; z-index: 1; }
/* faint boat brand watermark, lower-right */
.ep-contributed::before { content: ""; position: absolute; right: -18px; bottom: -22px; width: 172px; height: 172px;
  background: url("assets/boat-reversed.svg") center / contain no-repeat; opacity: 0.1; pointer-events: none; z-index: 0; }

/* dossier "where we stand" — aytm attribution line */
.wws__attr { font-family: var(--font-ui); font-weight: 700; font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: -4px 0 12px; }

/* ---------- PERSON SIDEBAR — Resonance Map promoted to top ---------- */
.sb-resonance { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  margin-top: 16px; padding: 13px 15px; border-radius: var(--radius-md); cursor: pointer;
  font-family: inherit; transition: all var(--dur-fast) var(--ease-out);
  border: 1px solid color-mix(in srgb, var(--aytm-aquamarine) 42%, transparent);
  background: color-mix(in srgb, var(--aytm-aquamarine) 10%, var(--aytm-bg)); }
.sb-resonance:hover { transform: translateY(-1px);
  background: color-mix(in srgb, var(--aytm-aquamarine) 18%, var(--aytm-bg)); }
.sb-resonance__icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--cc-aegean); color: #fff; }
.sb-resonance__icon svg { width: 18px; height: 18px; }
.sb-resonance__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sb-resonance__text b { font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; color: var(--aytm-text-strong); }
.sb-resonance__text span { font-size: 11.5px; line-height: 1.4; color: var(--aytm-text-muted); }
.sb-resonance__arrow { flex: none; color: var(--aytm-text-link); }
.sb-resonance__arrow svg { width: 18px; height: 18px; }

/* ---------- VISUAL EXPERIENCE PAGE ---------- */
.xp-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: -76px;
  min-height: clamp(420px, 44vh, 490px); display: flex; align-items: flex-start; overflow: hidden;
  background: transparent; }
.xp-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: #0E1A2E url("assets/xp-nebula.png") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 97%); }
@media (prefers-reduced-motion: no-preference){
  .xp-hero::before { animation: xpHeroDrift 46s ease-in-out infinite alternate; }
}
@keyframes xpHeroDrift { from { background-position: 47% 50%; } to { background-position: 53% 47%; } }
.xp-hero__wash { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(96deg, rgba(14,22,40,.92), rgba(14,22,40,.42) 60%, rgba(14,22,40,.12));
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 97%); }
.xp-hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wf-maxw);
  margin: 0 auto; padding: 142px var(--wf-gut) 0; }
.xp-chrome { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px;
  font-family: var(--font-ui); font-weight: 700; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28); padding: 6px 13px; border-radius: var(--radius-pill); }
.xp-hero__eyebrow { color: var(--cc-aquamarine); margin-bottom: 16px; }
.xp-hero__title { color: #fff; font-size: clamp(34px, 5vw, 48px); max-width: 16ch; margin: 0; }
.xp-hero__lead { color: rgba(255,255,255,.85); font-size: 19px; line-height: 1.55;
  max-width: 50ch; margin-top: 16px; }

.xp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
section.xp-grid { margin-top: 20px; }
.xp-tile { display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer;
  font-family: inherit; background: var(--aytm-card-bg); border: 1px solid var(--aytm-card-border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--aytm-card-shadow);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.xp-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.xp-tile__visual { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--aytm-bg-sunken); }
.xp-tile__visual--ink { background: var(--cc-aegean); }
.xp-viz__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.xp-tile__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.xp-tile__eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--aytm-aruba); }
.xp-tile__eyebrow svg { width: 14px; height: 14px; }
.xp-tile__title { font-family: var(--font-display); font-weight: 400; font-size: 26px;
  color: var(--aytm-text-strong); display: flex; align-items: center; gap: 10px; line-height: 1.15; }
.xp-tile__gate { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-ui);
  font-weight: 700; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--aytm-starfish); padding: 3px 8px; border-radius: var(--radius-pill);
  border: 1px dashed color-mix(in srgb, var(--aytm-starfish) 45%, transparent); }
.xp-tile__gate svg { width: 11px; height: 11px; }
.xp-tile__desc { font-size: 14.5px; line-height: 1.6; color: var(--aytm-text-muted); margin-top: 8px; margin-bottom: 22px; max-width: 46ch; }
/* filled primary CTA (matches .btn--primary), inverts on tile hover */
.xp-tile__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; background: var(--cc-cta);
  padding: 11px 20px; border-radius: var(--radius-pill);
  box-shadow: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.xp-tile:hover .xp-tile__cta { background: #fff; color: var(--cc-cta); }
.xp-tile__cta svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.xp-tile:hover .xp-tile__cta svg { transform: translateX(4px); }

.xp-tile--feature { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.xp-tile--feature .xp-tile__visual { flex: 1 1 56%; aspect-ratio: auto; min-height: 320px; }
.xp-tile--feature .xp-tile__body { flex: 1 1 44%; justify-content: center; padding: 44px 46px; }
.xp-tile--feature .xp-tile__title { font-size: 34px; }
.xp-tile--feature .xp-tile__desc { font-size: 16px; }
.xp-tile--feature .xp-tile__cta { margin-top: 0; }
@media (max-width: 820px){
  .xp-grid { grid-template-columns: 1fr; }
  .xp-tile--feature { flex-direction: column; }
  .xp-tile--feature .xp-tile__visual { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .xp-tile--feature .xp-tile__body { padding: 28px 26px; }
}

/* ---------- DEPTH STEPPER — "four layers of depth" descent (insights page) ---------- */
.depth { list-style: none; margin: 24px 0 0; padding: 0; position: relative;
  display: flex; flex-direction: column; }
/* spine connecting the node centers */
.depth::before { content: ""; position: absolute; left: 27px; top: 48px; bottom: 48px; width: 2px;
  background: color-mix(in srgb, var(--cc-aquamarine) 32%, transparent); }
.depth__step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: center;
  min-height: 96px; }
.depth__step + .depth__step { border-top: 1px solid var(--aytm-border); }
.depth__node { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  box-sizing: border-box; padding-top: 4px; justify-self: center; display: grid; place-items: center;
  font-family: var(--cc-font-h1, var(--font-ui)); font-weight: 700; font-size: 20px; line-height: 1;
  color: var(--cc-aquamarine);
  background: color-mix(in srgb, var(--cc-aegean) calc(22% + var(--depth) * 26%), var(--aytm-bg));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cc-aquamarine) 48%, transparent); }
.depth__body { padding-top: 0; }
.depth__row { display: flex; align-items: center; gap: 14px; justify-content: space-between; }
.depth__title { font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--aytm-text-strong); }
.depth__entry { flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cc-aquamarine); }
.depth__entry svg { width: 13px; height: 13px; }
.depth__desc { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--aytm-text-muted); max-width: 60ch; }
@media (max-width: 640px){ .depth__row { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* featured dossier card: rounded cover thumb that stretches to the card height */
.cc-brandcard__coverwrap { display: flex; }
.cc-brandcard__coverwrap .ph { width: 100%; height: 100%; aspect-ratio: auto;
  min-height: 200px; border-radius: var(--radius-lg); }

.ins-feature__framing { font-family: var(--font-sans); font-size: 14px; line-height: 1.5;
  color: var(--cc-aquamarine); }

/* ---------- SUBSCRIBE MOMENT (home, beneath hero buttons) ---------- */
.subscribe-moment__line { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.1; }

/* ---------- LISTEN (episode page embeds) ---------- */
.listen__embeds { display: flex; flex-direction: column; gap: 14px; }
.listen__frame { width: 100%; border: 0; border-radius: 12px; box-shadow: var(--shadow-2);
  background: var(--aytm-card-bg); }
.listen__video { position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-2); background: #000; }
.listen__videoframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.listen__pending { padding: 22px 20px; border-radius: var(--radius-md);
  border: 1px dashed var(--aytm-border); background: var(--aytm-card-bg);
  color: var(--aytm-text-muted); font-size: 14px; }

/* ---- Episode transcript ---- */
.ep-transcript__head { align-items: center; justify-content: space-between; }
.tx-body { margin-top: 16px; max-height: 580px; overflow-y: auto;
  border: 1px solid var(--aytm-border); border-radius: var(--radius-md);
  padding: 20px 22px; background: var(--aytm-bg-raised); }
.tx-list { display: flex; flex-direction: column; gap: 16px; }
.tx-turn { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; }
.tx-meta { display: flex; flex-direction: column; gap: 3px; }
.tx-time { font-family: var(--font-numeric, "Sora", monospace); font-size: 12px; font-weight: 600;
  color: var(--aytm-text-link); background: none; border: none; padding: 0; cursor: pointer;
  text-align: left; line-height: 1.3; }
.tx-time:hover { text-decoration: underline; }
.tx-time--static { cursor: default; color: var(--aytm-text-muted); }
.tx-speaker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--aytm-text-muted); }
.tx-text { font-size: 15px; line-height: 1.65; color: var(--aytm-text-body); margin: 0; }
.tx-note { font-size: 12.5px; font-style: italic; margin: 0 0 18px; padding: 10px 14px;
  border-left: 2px solid var(--aytm-border); border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0; }
@media (max-width: 560px) {
  .tx-turn { grid-template-columns: 1fr; gap: 5px; }
  .tx-meta { flex-direction: row; align-items: baseline; gap: 10px; }
}
/* YouTube engagement CTAs under the video embed. The parent .listen__embeds is
   a column flex, which sizes to the row's *unwrapped* max-content — so on a
   narrow viewport the row won't wrap and "Subscribe" runs off-screen. Stack the
   buttons full-width on mobile; natural side-by-side above. */
.listen__yt-cta { max-width: 100%; }
@media (max-width: 560px) {
  .listen__yt-cta { flex-direction: column; align-items: stretch; }
  .listen__yt-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- BE A GUEST ---------- */
.guest-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.guest-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5;
  color: var(--aytm-text-strong); }
.guest-list li::before { content: ""; position: absolute; left: 2px; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--cc-aquamarine); }
.guest-cta { text-align: left; padding: 36px 40px; }
.guest-cta .eyebrow { color: var(--cc-aquamarine); }
/* guest application form */
.guest-form__intro { color: var(--aytm-text-body); line-height: 1.6; }
.guest-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--aytm-text-muted); }
/* Form sits directly on the page (no card), so fields use a recessed surface
   + hairline that both adapt per theme — readable on light and dark. */
.field__input { font-family: var(--font-sans); font-size: 15px; padding: 12px 14px; width: 100%;
  border: 1px solid var(--aytm-border); border-radius: var(--radius-md);
  background: var(--aytm-bg-sunken); color: var(--aytm-text-body); }
.field__input::placeholder { color: var(--aytm-text-muted); }
.field__input:focus { outline: none; border-color: var(--cc-aquamarine);
  box-shadow: 0 0 0 3px var(--cc-accent-tint, rgba(94,216,196,0.18)); }
.field__textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.guest-form__hint { font-size: 13px; color: var(--aytm-text-muted); }
@media (max-width: 560px){ .guest-form__grid { grid-template-columns: 1fr; } }
.step { text-align: left; }
.step__num { display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--aytm-pill-bg); color: var(--cc-aqua-deep, var(--aytm-text-heading));
  font-family: var(--font-ui); font-weight: 700; font-size: 16px; }
.step__title { font-family: var(--font-ui); font-weight: 700; font-size: 17px; margin-top: 14px; }
.step__desc { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--aytm-text-muted); }

/* ---------- Topics landing + cards (reuse the episode-card shell) ---------- */
.page--topics .epcard__date { color: var(--cc-aquamarine); display: inline-flex; align-items: center; }
.page--topics .grid3 .card--hover { display: flex; flex-direction: column; }
.page--topics .epcard__body { display: flex; flex-direction: column; flex: 1; }
/* Box matches the infographics' native 1376×768 ratio, so object-fit:cover
   fills it with zero crop — the full image shows, cards stay uniform. */
.tcard__art { position: relative; width: 100%; aspect-ratio: 1376 / 768; overflow: hidden;
  display: flex; align-items: center; justify-content: center; }
.tcard__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__art-label { font-family: var(--font-ui); font-weight: 700; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--aytm-text-strong); text-align: center; padding: 0 18px; opacity: .9; }
/* equal-height topic cards: body flexes so the guest avatars sit on the bottom edge and line up across the row */
.tcard { display: flex; flex-direction: column; }
.tcard .epcard__body { display: flex; flex-direction: column; flex: 1 1 auto; }
.tcard__guests { display: flex; align-items: center; margin-top: auto; padding-top: 14px; }
.tcard__av { width: 26px; height: 26px; border-radius: 50%; flex: none; margin-right: -6px;
  background: var(--aytm-bg-sunken) center/cover no-repeat; box-shadow: 0 0 0 2px var(--aytm-bg-raised); }
.tcard__av--more { display: inline-flex; align-items: center; justify-content: center; margin-left: 12px;
  font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; color: var(--aytm-text-muted);
  background: var(--aytm-pill-bg); box-shadow: none; padding: 0 4px; min-width: 26px; height: 26px; border-radius: 13px; }
/* Full infographic, no crop: render at its natural aspect ratio. */
.topic-detail__art { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
@media (max-width: 560px){ .page--topics .grid3 { grid-template-columns: 1fr; } }

/* Behind the scenes — episode-card layout: square headshot, name + title, full bio */
.bts-card { display: flex; flex-direction: column; }
.bts-card .epcard__body { flex: 1; }
.bts-card__bio { font-size: 14.5px; line-height: 1.65; }
.bts-card__cta { margin-top: auto; align-self: flex-start; }
