/* ============================================================
   FRANK GOODIN — TITLE CARD
   main.css — tokens (§3), base system, header, hero (§5.1)
   ============================================================ */

/* ---------- 1. DESIGN TOKENS (§3.1) ---------- */
:root {
  --ink: #070605;
  --charcoal: #141210;
  --smoke: #2A2622;
  --ivory: #F2EBDD;
  --ivory-dim: #B8AFA0;
  --bronze: #9C7A4B;
  --rosegold: #D9A188;
  --gold-glow: #E8C87E;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --font-utility: "Space Grotesk", "Avenir Next", sans-serif;

  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1200px;
  --pad-x: clamp(1.5rem, 7vw, 7rem);
  --bar-h: clamp(3rem, 7vh, 5.5rem);
}

/* ---------- 2. BASE ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.0625rem, 0.95rem + 0.3vw, 1.1875rem); /* 17–19px §3.2 */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

p { margin: 0 0 1em; max-width: 68ch; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-utility);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* ---------- 3. TYPOGRAPHY SYSTEM (§3.2) ---------- */
/* Utility: Space Grotesk, uppercase, letter-spaced, 11–13px */
.eyebrow,
.tc,
.tc-counter,
.slot-tag,
.u-utility {
  font-family: var(--font-utility);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow { color: var(--bronze); }

/* Display: Fraunces, high optical size, big and light */
.display-1,
.display-2,
.display-3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}
.display-1 { font-size: clamp(3.4rem, 11vw, 10rem); line-height: 0.95; } /* 96–160px desktop */
.display-2 { font-size: clamp(2.2rem, 5.4vw, 4.75rem); }
.display-3 { font-size: clamp(1.6rem, 3.2vw, 2.75rem); }

.text-dim { color: var(--ivory-dim); }

/* Rosegold underline that draws in from the left (§3.4) */
.link {
  text-decoration: none;
  background: linear-gradient(var(--rosegold), var(--rosegold)) no-repeat left bottom / 0% 1px;
  padding-bottom: 3px;
  transition: background-size 0.45s var(--ease-reveal), color 0.3s ease;
}
.link:hover,
.link:focus-visible { background-size: 100% 1px; color: var(--rosegold); }

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-utility);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95em 1.9em;
  border: 1px solid var(--smoke);
  color: var(--ivory);
  background: transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease,
              box-shadow 0.3s ease, color 0.3s ease;
}

/* --gold-glow budget: header CTA, hero CTA, closing credits CTA only (§3.1) */
.btn-gold {
  color: var(--gold-glow);
  border-color: rgba(232, 200, 126, 0.5);
}
.btn-gold:hover,
.btn-gold:focus-visible {
  border-color: var(--gold-glow);
  background: rgba(232, 200, 126, 0.06);
  box-shadow: 0 0 28px rgba(232, 200, 126, 0.12);
}

/* ---------- 5. FILM GRAIN (§3.3, opacity ≤ 0.04, dark sections only) ---------- */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 6. HEADER (§4) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  background: transparent;
  transition: background-color 0.45s ease;
}
.site-header.is-scrolled { background: rgba(7, 6, 5, 0.9); }

.wordmark {
  margin-right: auto;
  font-family: var(--font-utility);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
}

.tc-counter {
  margin: 0;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
}

/* Chapter menu (§2 — anchor nav as chapter list with timecodes) */
.chapters { position: relative; }

.chapters-toggle {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  background: none;
  border: none;
  padding: 0.5em 0.25em;
  cursor: pointer;
  transition: color 0.3s ease;
}
.chapters-toggle:hover { color: var(--ivory); }
.chapters-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 0.6em;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--bronze);
  border-bottom: 1px solid var(--bronze);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s ease;
}
.chapters-toggle[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(-135deg);
}

.chapters-panel {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  min-width: 19rem;
  background: var(--charcoal);
  border: 1px solid var(--smoke);
  padding: 1.5rem 1.75rem;
  display: none;
}
.chapters-panel.is-open { display: block; }

.chapters-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chapters-list a {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 0.55em 0;
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-dim);
  transition: color 0.25s ease;
}
.chapters-list a:hover,
.chapters-list a:focus-visible { color: var(--ivory); }
.chapters-list .tc {
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
}

.chapters-cta {
  display: none;
  margin-top: 1.25rem;
}

/* ---------- 7. HERO — COLD OPEN (§5.1) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Atmosphere bed under type; slot A-01 sits here beneath a heavy ink gradient */
  background:
    radial-gradient(120% 90% at 26% 36%, #221c14 0%, rgba(7, 6, 5, 0) 62%),
    radial-gradient(90% 70% at 78% 82%, #17120d 0%, rgba(7, 6, 5, 0) 58%),
    var(--ink);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: calc(var(--bar-h) + 4rem) var(--pad-x);
}

.hero-eyebrow { margin: 0 0 2rem; max-width: none; }

.hero-name {
  text-transform: uppercase;
  margin: 0 0 2.2rem;
  font-size: clamp(3rem, 9.5vw, 8.75rem); /* slightly smaller than base .display-1 */
}

.hero-line {
  color: var(--ivory-dim);
  font-size: clamp(1.1rem, 1.05rem + 0.5vw, 1.35rem);
  line-height: 1.55;
  max-width: 42ch;
  margin: 0 0 3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.25rem;
}

.hero-scroll {
  font-size: 0.95rem;
  color: var(--ivory-dim);
}

/* Letterbox bars (§3.3 motif; §3.4 they ease open on load) */
.hero-bar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: var(--bar-h);
  background: var(--ink);
}
.hero-bar--top {
  top: 0;
  border-bottom: 1px solid rgba(156, 122, 75, 0.3);
}
.hero-bar--bottom {
  bottom: 0;
  border-top: 1px solid rgba(156, 122, 75, 0.3);
}

/* Asset slot marker (§8 placeholder style, kept discreet in the hero) */
.slot-tag {
  position: absolute;
  z-index: 4;
  left: clamp(1.25rem, 4vw, 2.5rem);
  bottom: calc(var(--bar-h) + 1.1rem);
  font-size: 0.625rem;
  color: rgba(184, 175, 160, 0.38);
}

/* ---------- 8. SCROLL REVEALS (§3.4) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease-reveal),
    transform 0.8s var(--ease-reveal);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 9. TITLE SEQUENCE (§3.4 — plays once on load) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-bar--top { animation: bar-open 1.7s var(--ease-reveal) 0.15s both; }
  .hero-bar--bottom { animation: bar-open 1.7s var(--ease-reveal) 0.15s both; }

  @keyframes bar-open {
    from { height: 44vh; }
    to   { height: var(--bar-h); }
  }

  .hero-name {
    animation: track-in 1.4s var(--ease-reveal) 0.55s both;
  }
  @keyframes track-in {
    from { opacity: 0; letter-spacing: 0.3em; }
    to   { opacity: 1; letter-spacing: -0.02em; }
  }

  .hero-eyebrow  { animation: fade-up 0.9s var(--ease-reveal) 1.35s both; }
  .hero-line     { animation: fade-up 0.9s var(--ease-reveal) 1.6s both; }
  .hero-actions  { animation: fade-up 0.9s var(--ease-reveal) 1.85s both; }
  .slot-tag      { animation: fade-up 0.9s var(--ease-reveal) 2.1s both; }

  @keyframes fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- 10. REDUCED MOTION (§3.4 — instant/static; timecode still updates) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 11. RESPONSIVE ---------- */
@media (max-width: 680px) {
  .site-header { gap: 1rem; }
  .header-cta { display: none; }        /* CTA moves into the chapter panel */
  .chapters-cta { display: inline-block; }
  .chapters-panel {
    position: fixed;
    top: 3.6rem;
    left: 1rem;
    right: 1rem;
    min-width: 0;
  }
}

/* ---------- 12. HERO ATMOSPHERE — drifting warm light (owner-approved) ---------- */
.hero-atmo {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
/* Final restraint pass (§10.8): reduced to a single drifting light source */
.hero-atmo::before {
  content: "";
  position: absolute;
  width: 78vmax;
  height: 78vmax;
  border-radius: 50%;
  top: -32%;
  left: -16%;
  background: radial-gradient(closest-side, rgba(156, 122, 75, 0.13), transparent 68%);
  animation: drift-a 44s ease-in-out infinite alternate;
}
@keyframes drift-a {
  to { transform: translate3d(10vw, 6vh, 0) scale(1.12); }
}

/* Emmy statuette, low-opacity background element, owner-supplied (§5.1/§5.2 A-09) */
.hero-emmy {
  position: absolute;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
  width: min(36vw, 32rem);
  z-index: 1;
  opacity: 0.16;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}
.hero-emmy img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .hero-emmy { width: min(60vw, 20rem); opacity: 0.12; }
}

/* ---------- 13. SECTION FRAMEWORK (§3.3 letterbox motif, §2 chapter markers) ---------- */
.section {
  position: relative;
  border-top: 1px solid var(--smoke);
  padding: clamp(6.5rem, 16vh, 11rem) var(--pad-x);
}
.section-inner { max-width: var(--max-w); margin-inline: auto; }
.section--charcoal { background: var(--charcoal); }

.tc-marker {
  display: block;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
  margin: 0 0 clamp(2.5rem, 6vh, 4rem);
  max-width: none;
}

.accent-rose { color: var(--rosegold); }

/* ---------- 14. THE RECORD (§5.2) — centered layout, owner-directed ---------- */
.record .section-inner { text-align: center; }
.record-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.25rem;
}
.record-logo img { max-height: 22rem; width: auto; max-width: 100%; }
.record-logo .slot-tag-inline {
  border: 1px solid var(--smoke);
  padding: 0.75rem 1.25rem;
  text-align: left;
}
.record-lead { max-width: 22ch; margin: 0 auto 1.75rem; }
.record-sub { color: var(--ivory-dim); margin: 0 auto clamp(3.5rem, 8vh, 5.5rem); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 48rem;
  margin-inline: auto;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--rosegold);
  margin: 0 0 0.6rem;
}
.stat-label {
  font-family: var(--font-utility);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin: 0;
}
.record-footnote {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  opacity: 0.8;
  max-width: none; /* override global p{max-width:68ch} — was collapsing/left-anchoring the box */
  margin: 3rem 0 4rem;
}

/* Evidence receipts: real screenshots at their own natural aspect ratio,
   stacked highest-to-lowest rather than forced into a uniform grid — the
   four platforms' dashboards are wildly different shapes. */
.evidence-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 44rem;
  margin-inline: auto;
}
.evidence-card {
  appearance: none;
  background: var(--charcoal);
  border: 1px solid var(--smoke);
  padding: 1.1rem;
  margin: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
  transition: transform 0.35s var(--ease-reveal), border-color 0.35s ease;
}
.evidence-card:hover,
.evidence-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(156, 122, 75, 0.5);
}
.evidence-caption {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.evidence-platform {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}
.evidence-count {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.evidence-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--smoke);
}
.frame-art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--charcoal);
  border: 1px solid var(--smoke);
  transition: transform 0.35s var(--ease-reveal), border-color 0.35s ease;
  overflow: hidden;
}
.frame-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Real-asset ratio overrides — each matches its actual supplied image exactly,
   so nothing gets cropped or stretched (§ owner instruction: fit frame to image) */
.frame-art--photo { aspect-ratio: 2048 / 1145; }   /* On Stage: Disney speaking photo */
.frame-art--teaching { aspect-ratio: 1122 / 1402; } /* Builder & Educator: teaching visual */
.frame-art--square { aspect-ratio: 1 / 1; }         /* Showrunner visual, AI + U logo */
.frame-art--ati { aspect-ratio: 1536 / 2784; }      /* ATI pyramid + chain diagrams */

.ati-visuals {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.evidence-frame:hover .frame-art,
.evidence-frame:focus-visible .frame-art {
  transform: translateY(-4px);
  border-color: rgba(156, 122, 75, 0.5);
}
.slot-tag-inline {
  font-family: var(--font-utility);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(184, 175, 160, 0.45);
  padding: 0.5rem;
  text-align: center;
}
.frame-caption {
  display: block;
  max-width: none; /* override global p{max-width:68ch} — was collapsing/left-anchoring the box */
  margin-top: 0.7rem;
  font-family: var(--font-utility);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

/* Evidence lightbox (§5.2 — tappable to enlarge) */
.lightbox {
  background: var(--charcoal);
  border: 1px solid var(--smoke);
  color: var(--ivory);
  padding: 1.5rem;
  max-width: min(92vw, 56rem);
}
.lightbox::backdrop { background: rgba(7, 6, 5, 0.88); }
.lightbox .frame-art,
.lightbox .evidence-img { width: min(84vw, 48rem); height: auto; }
.lightbox-close {
  display: block;
  margin: 0 0 1rem auto;
  background: none;
  border: 1px solid var(--smoke);
  color: var(--ivory-dim);
  font-family: var(--font-utility);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6em 1.2em;
  cursor: pointer;
}
.lightbox-close:hover { color: var(--ivory); border-color: var(--bronze); }

/* ---------- 15. ON STAGE (§5.3 — centered, owner-directed) ---------- */
.stage .section-inner { text-align: center; }
.stage-photo {
  margin: 0 auto clamp(3rem, 7vh, 4.5rem);
  max-width: 56rem;
}
.stage-photo .frame-art { width: 100%; }

.talks {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 44rem;
}
.talk {
  padding: clamp(2.25rem, 5vh, 3.5rem) 0;
  border-top: 1px solid var(--smoke);
}
.talk:first-child { border-top: none; padding-top: 0; }
.talk-title { margin: 0 0 1.1rem; }
.talk-logline { color: var(--ivory); margin: 0 auto; }
.talk-fit {
  font-family: var(--font-utility);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  max-width: none; /* override global p{max-width:68ch} — was collapsing/left-anchoring the box */
  margin: 1.4rem 0 0;
}

.stage-foot {
  margin: 3rem auto 0;
  padding-top: 2.75rem;
  border-top: 1px solid var(--smoke);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.75rem;
  max-width: 44rem;
}
.stage-availability { margin: 0; color: var(--ivory-dim); }

/* ---------- 16. THE STUDIO (§5.4 — asymmetric slate) ---------- */
.studio-intro {
  max-width: 52ch;
  font-size: clamp(1.1rem, 1.05rem + 0.4vw, 1.3rem);
  margin-bottom: 1.25rem;
}
.studio-watch-link {
  margin: 0 0 clamp(3rem, 7vh, 4.5rem);
}
.studio-watch-link .link {
  font-family: var(--font-utility);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.slate {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.slate-panel {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--charcoal);
  border: 1px solid var(--smoke);
  padding: clamp(1.1rem, 2vw, 1.6rem);
  transition: transform 0.35s var(--ease-reveal), border-color 0.35s ease, box-shadow 0.35s ease;
}
.slate-panel:hover,
.slate-panel:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(156, 122, 75, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(156, 122, 75, 0.2);
}
.slate-art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 9 / 16; /* owner's series key art is vertical 9:16 */
  background: var(--ink);
  border: 1px solid var(--smoke);
  margin-bottom: 1.4rem;
}
.slate-art img { width: 100%; height: 100%; object-fit: cover; }
.slate-title { margin: 0 0 0.6rem; }
.slate-logline { color: var(--ivory-dim); font-size: 0.98rem; margin: 0; }

.slate-panel--a { grid-column: span 7; }  /* flagship */
.slate-panel--b { grid-column: span 5; }
.slate-panel--c { grid-column: span 5; }
.slate-panel--d { grid-column: span 7; }

/* ---------- 17. BUILDER & EDUCATOR (§5.5 — two-column editorial) ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.duo-col--right {
  border-left: 1px solid var(--smoke);
  padding-left: clamp(2.5rem, 6vw, 5rem);
}
.duo-label {
  font-family: var(--font-utility);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 2rem;
}
.duo-list { list-style: none; margin: 0 0 3rem; padding: 0; }
.duo-list li {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(42, 38, 34, 0.6);
  max-width: 44ch;
}
.duo-list li:first-child { border-top: none; padding-top: 0; }
.duo-list .li-note { color: var(--ivory-dim); }

/* ---------- 18. AI TRUST INTEGRITY (§5.6 — charcoal bed, executive) ---------- */
.ati-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.ati-statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  max-width: 24ch;
  margin: 0 0 2rem;
}
.ati-body { max-width: 58ch; }
.ati-note {
  font-size: 0.8rem;
  color: var(--ivory-dim);
  opacity: 0.85;
  margin: 2rem 0 2.5rem;
}

/* ---------- 19. THE MANIFESTO (§5.7 — full-bleed, slowest pacing) ---------- */
.manifesto { text-align: center; }
.manifesto .tc-marker { margin-bottom: clamp(4rem, 10vh, 7rem); }
.manifesto-seq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3.5rem, 12vh, 7rem);
}
.manifesto-seq p { margin: 0; max-width: none; }
.manifesto-anchor { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.manifesto-line {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  color: var(--ivory-dim);
}
.manifesto-logo {
  margin-top: clamp(2rem, 6vh, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.manifesto-logo .frame-art { width: 25.5rem; max-width: 90vw; aspect-ratio: 1; }

/* ---------- 20. CLOSING CREDITS (§5.8 — end-credit column) ---------- */
.credits { text-align: center; }
.credits .section-inner {
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}
.credits .tc-marker { margin-bottom: 0; }
.credits-lead { margin: 0; }
.credit-paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.credit-paths a {
  font-family: var(--font-utility);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.credits-email {
  font-family: var(--font-utility);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form {
  width: 100%;
  max-width: 30rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.form-row { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-family: var(--font-utility);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.form-input {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ivory);
  background: transparent;
  border: 1px solid var(--smoke);
  border-radius: 0;
  padding: 0.75em 0.9em;
  transition: border-color 0.3s ease;
}
.form-input:focus { border-color: var(--bronze); outline: none; }
textarea.form-input { resize: vertical; min-height: 6rem; }
select.form-input { appearance: none; background-color: var(--ink); }
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-status {
  font-size: 0.85rem;
  color: var(--rosegold);
  min-height: 1.2em;
  margin: 0;
}
.form-status.is-error { color: #d98888; }

.site-footer {
  border-top: 1px solid var(--smoke);
  padding: 3rem var(--pad-x) 3.5rem;
  text-align: center;
}
.footer-row {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin: 0 0 1.75rem;
  font-family: var(--font-utility);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.footer-row a { color: inherit; }
.footer-apps {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--smoke);
}
.footer-apps a { opacity: 0.6; }
.footer-apps a:hover { opacity: 1; }
.footer-marks {
  font-family: var(--font-utility);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(184, 175, 160, 0.5);
  margin: 0;
}

/* ---------- 21. SECTION RESPONSIVE ---------- */
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .slate-panel--a,
  .slate-panel--b,
  .slate-panel--c,
  .slate-panel--d { grid-column: span 12; }
  .duo { grid-template-columns: 1fr; }
  .duo-col--right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--smoke);
    padding-top: 2.5rem;
  }
  .ati-grid { grid-template-columns: 1fr; }
}
