/* ============================================================
   PAYAED — payaed.ae
   A private advisory practice · part of The Mixed Group.
   Light, editorial-geometric, ivory paper. The terracotta
   dot — "one point" — is the through-line and the tie to TMG.
   Poppins (display) · Manrope (text)
   ============================================================ */

:root {
  /* The Mixed Group house palette (PAYAED unified into it) */
  --ivory:      #ECE4D6;   /* paper ground */
  --ivory-deep: #E3D9C6;   /* raised surface / alt band */
  --char:       #16130F;   /* ink */
  --char-soft:  #2A251E;   /* dark surface (drench) */
  --terra:      #9E4640;   /* the dot · primary accent */
  --terra-deep: #7E322D;   /* accent text on ivory (contrast-safe) */
  --bronze:     #8C7A4E;   /* hairlines · secondary */
  --bronze-deep:#6E5F3B;
  --taupe:      #574F41;   /* muted body (>=4.5:1 on ivory) */

  /* live tokens — light is home; one dark drench at The Rule */
  --bg:      var(--ivory);
  --surface: var(--ivory-deep);
  --fg:      var(--char);
  --muted:   var(--taupe);
  --accent:  var(--terra);
  --accent-ink: var(--terra-deep);
  --line:    color-mix(in srgb, var(--char) 14%, transparent);
  --line-soft: color-mix(in srgb, var(--char) 8%, transparent);

  /* back-compat aliases consumed by css/insights.css */
  --line-2:  var(--line-soft);
  --brick:   var(--terra);
  --cream:   var(--ivory);
  --ink-2:   var(--ivory-deep);
  --glass:   color-mix(in srgb, var(--char) 3%, transparent);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-text:    "Manrope", system-ui, -apple-system, sans-serif;

  --measure: 64ch;
  --gutter: clamp(1.25rem, 5vw, 7rem);
  --section-gap: clamp(3.25rem, 6.5vh, 5.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);          /* out-expo-ish */
  --ease-soft: cubic-bezier(0.4, 0, 0.1, 1);

  --z-thread: 1; --z-content: 2; --z-grain: 6; --z-nav: 60;
  --z-progress: 70; --z-cursor: 90; --z-mobilenav: 95;
  --z-modal-back: 110; --z-modal: 120; --z-loader: 200;
}

/* dark surfaces (The Rule, the modal) invert the tokens */
.theme-dark {
  --bg:      var(--char);
  --surface: var(--char-soft);
  --fg:      var(--ivory);
  --muted:   color-mix(in srgb, var(--ivory) 64%, var(--char));
  --accent:  #C0584F;          /* lit terracotta on dark */
  --accent-ink: #D98C73;
  --line:    color-mix(in srgb, var(--ivory) 16%, transparent);
  --line-soft: color-mix(in srgb, var(--ivory) 8%, transparent);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.12rem);
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.8s var(--ease-soft), color 0.8s var(--ease-soft);
  cursor: none;
}
@media (hover: none), (pointer: coarse) { body { cursor: auto; } }

::selection { background: var(--terra); color: var(--ivory); }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent-ink); }

/* paper grain — faint tooth, premium not noisy */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none;
  opacity: 0.4; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.theme-dark .grain { mix-blend-mode: screen; opacity: 0.06; }
.vignette { display: none; }
@media (prefers-reduced-motion: reduce) { .grain { display: none; } }

/* ============================================================
   THE THREAD — the through-line. A hairline spine in the left
   margin; the terracotta dot ("one point") travels it on scroll.
   ============================================================ */
.thread {
  position: fixed; top: 0; bottom: 0;
  left: clamp(1.1rem, 4.2vw, 5rem);
  width: 1px; z-index: var(--z-thread); pointer-events: none;
  background: linear-gradient(var(--line), var(--line) 70%, transparent);
}
.thread__rail { position: absolute; inset: 0; }
.thread__dot {
  position: absolute; left: 50%; top: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--terra);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--terra) 14%, transparent);
  will-change: transform;
}
.thread__dot::after {            /* slow halo */
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--terra) 40%, transparent);
  opacity: 0; animation: pulse 3.4s var(--ease-soft) infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }
@media (max-width: 760px) { .thread { left: 0.85rem; } .thread__dot { width: 9px; height: 9px; } }
@media (prefers-reduced-motion: reduce) { .thread__dot::after { animation: none; } }

main, .nav, .footer { position: relative; z-index: var(--z-content); }

/* ============================================================
   PRELOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: grid; place-items: center; background: var(--ivory);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader__inner { display: grid; justify-items: center; gap: 1.5rem; width: min(74vw, 300px); }
.loader__mark { width: 52px; height: 52px; color: var(--char); }
.loader__dot { fill: var(--terra); animation: dotbreathe 1.5s var(--ease-soft) infinite; }
@keyframes dotbreathe { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
.loader__bar { width: 100%; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader__fill { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--terra); transition: width 0.4s var(--ease); }
.loader__pct { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--muted); }
.loader__pctmark { opacity: 0.5; }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
body.is-loading { overflow: hidden; height: 100vh; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor { position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none; }
.cursor__dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 0 color-mix(in srgb, var(--terra) 30%, transparent); }
.cursor__ring {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--char) 38%, transparent);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.cursor__label {
  position: absolute;
  font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ivory); white-space: nowrap; opacity: 0; transition: opacity 0.3s;
}
body.cursor-hover .cursor__ring { width: 56px; height: 56px; border-color: color-mix(in srgb, var(--char) 20%, transparent); }
body.cursor-cta .cursor__ring { width: 84px; height: 84px; border-color: transparent; background: var(--terra); }
body.cursor-cta .cursor__label { opacity: 1; }
body.cursor-cta .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--terra); transform: scaleX(0); transform-origin: 0 50%;
  z-index: var(--z-progress); pointer-events: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(1rem, 2vh, 1.5rem) clamp(1.25rem, 5vw, 4rem);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), backdrop-filter 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-hidden { transform: translateY(-115%); }
.nav.is-solid {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  border-bottom-color: var(--line-soft);
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; color: var(--fg); }
.nav__mark { width: 21px; height: 21px; color: var(--fg); }
.nav__mark-dot { fill: var(--terra); }
.nav__word {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.16em; position: relative; padding-right: 0.5em;
}
.nav__word-dot { position: absolute; right: 0; bottom: 0.42em; width: 4px; height: 4px; border-radius: 50%; background: var(--terra); }
.nav__links { display: flex; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav__links a {
  font-family: var(--font-text); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--muted); position: relative; padding: 0.2em 0; transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px;
  background: var(--terra); transition: right 0.4s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { right: 0; }

.nav__cta {
  font-family: var(--font-text); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ivory); background: var(--terra); border-radius: 100px;
  padding: 0.7em 1.4em; position: relative; overflow: hidden;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.nav__cta span { position: relative; z-index: 1; }
.nav__cta:hover { background: var(--terra-deep); }

.nav__menu { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav__menu span { width: 24px; height: 1.5px; background: var(--fg); transition: transform 0.4s var(--ease); }
@media (max-width: 880px) { .nav__links, .nav__cta { display: none; } .nav__menu { display: flex; } }

/* ============================================================
   SHARED LAYOUT / TYPE
   ============================================================ */
.wrap { max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
.wrap--center { text-align: center; display: grid; justify-items: center; }
.section { padding-block: var(--section-gap); position: relative; }

/* the section label — a single deliberate dot-led brand system, used sparingly */
.section__kicker {
  font-family: var(--font-text); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 0.6em; margin-bottom: 1.6rem;
}
.section__kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); flex: none;
}

.section__display {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); line-height: 1.06;
  letter-spacing: -0.025em; max-width: 30ch; margin-inline: auto; text-wrap: balance;
}
.wrap--center .section__display { max-width: 26ch; }
.wrap--center .section__kicker { justify-content: center; }

.lede {
  font-family: var(--font-text); font-weight: 400;
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.4rem); line-height: 1.6;
  max-width: var(--measure); color: color-mix(in srgb, var(--fg) 86%, var(--bg)); margin-top: 2rem;
  text-wrap: pretty;
}

/* mask-reveal display lines */
.dline { display: block; overflow: hidden; padding-bottom: 0.04em; }
.dline > span { display: block; transform: translateY(110%); }
.reveal-lines.is-in .dline > span { transform: translateY(0); transition: transform 0.95s var(--ease); }
.reveal-lines.is-in .dline:nth-child(2) > span { transition-delay: 0.07s; }
.reveal-lines.is-in .dline:nth-child(3) > span { transition-delay: 0.14s; }

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .dline > span { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh; display: grid; align-content: center; justify-items: center;
  padding-inline: var(--gutter); text-align: center; position: relative; isolation: isolate;
}
/* the TMG mark, large + faint, behind the wordmark = the tie-in motif */
.hero__sigil {
  position: absolute; z-index: -1; top: 50%; left: 50%;
  width: clamp(17rem, 38vw, 31rem); aspect-ratio: 1; transform: translate(-50%, -62%);
  color: var(--bronze); opacity: 0.42; pointer-events: none;
}
.hero__inner { display: grid; justify-items: center; gap: clamp(0.9rem, 2.2vh, 1.7rem); position: relative; }
.hero__kicker {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 0.6em;
}
.hero__kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.hero__word {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.6rem, 14vw, 9.5rem); line-height: 0.92; letter-spacing: -0.045em;
  display: flex; align-items: flex-end; color: var(--char);
}
.hero__char { display: inline-block; transform: translateY(108%); opacity: 0; }
.is-ready .hero__char { transform: translateY(0); opacity: 1; transition: transform 1s var(--ease), opacity 0.8s var(--ease); }
.is-ready .hero__char:nth-child(1) { transition-delay: 0.04s; }
.is-ready .hero__char:nth-child(2) { transition-delay: 0.10s; }
.is-ready .hero__char:nth-child(3) { transition-delay: 0.16s; }
.is-ready .hero__char:nth-child(4) { transition-delay: 0.22s; }
.is-ready .hero__char:nth-child(5) { transition-delay: 0.28s; }
.is-ready .hero__char:nth-child(6) { transition-delay: 0.34s; }
.hero__char--dot { width: 0.34em; position: relative; }
.hero__dot {
  position: absolute; bottom: 0.1em; left: 0.02em; width: 0.17em; height: 0.17em;
  border-radius: 50%; background: var(--terra); transform: scale(0);
}
.is-ready .hero__char--dot { transition-delay: 0.46s; }
.is-ready .hero__char--dot .hero__dot { transform: scale(1); transition: transform 0.6s var(--ease) 0.5s; }
.hero__tag {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.3rem, 4vw, 2.4rem); color: var(--char); line-height: 1; letter-spacing: -0.02em;
}
.hero__tag em { color: var(--terra); }
.hero__lede {
  max-width: 32rem; color: var(--muted); font-size: clamp(1rem, 0.96rem + 0.3vw, 1.18rem); line-height: 1.6;
}
.hero__scrollcue { position: absolute; bottom: clamp(1.4rem, 4vh, 2.6rem); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 0.6rem; }
.hero__scrollcue-line { width: 1px; height: 42px; background: var(--line); position: relative; overflow: hidden; }
.hero__scrollcue-line::after { content: ""; position: absolute; inset: 0; background: var(--terra); animation: cue 2.4s var(--ease-soft) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }
.hero__scrollcue-label { font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .hero__scrollcue-line::after { animation: none; } }

/* ============================================================
   THE PRACTICE
   ============================================================ */
.section--thesis { display: grid; align-content: center; }
.section--thesis .wrap { max-width: 56rem; }

/* ============================================================
   THE MODEL — the one point, drawn
   ============================================================ */
.section--model { display: grid; align-content: center; }
.model__caption { max-width: 42rem; margin: 1.8rem auto 0; color: var(--muted); font-size: 1.1rem; line-height: 1.6; text-wrap: pretty; }
.model__legend {
  list-style: none; display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); justify-content: center;
  margin-top: clamp(2.6rem, 5vh, 3.8rem); font-family: var(--font-display); font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 500; letter-spacing: -0.01em; color: var(--fg);
}
.model__legend li { display: inline-flex; align-items: center; gap: 0.7rem; }
.dot { width: 15px; height: 15px; border-radius: 50%; display: inline-block; flex: none; }
.dot--client { background: var(--char); }
.dot--core { background: var(--terra); box-shadow: 0 0 0 6px color-mix(in srgb, var(--terra) 16%, transparent); }
.dot--bench { background: var(--bronze); }
/* the model diagram svg */
.model__figure { width: min(100%, 46rem); margin: 3rem auto 0; display: block; color: var(--bronze); }

/* ============================================================
   THE STANDARD — editorial list, hairline rows (no cards)
   ============================================================ */
.standard__grid {
  list-style: none; max-width: 72rem; margin: 3.5rem auto 0; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 5rem); row-gap: 0;
}
.standard__panel {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.4rem; align-items: baseline;
  padding: 1.8rem 0; border-top: 1px solid var(--line-soft);
}
.standard__num {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--accent-ink);
  font-feature-settings: "tnum"; padding-top: 0.15em;
}
.standard__panel h3 { grid-column: 2; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.6vw, 1.55rem); letter-spacing: -0.01em; line-height: 1.2; }
.standard__panel p { grid-column: 2; color: var(--muted); font-size: 0.98rem; margin-top: 0.5rem; }
@media (max-width: 720px) { .standard__grid { grid-template-columns: 1fr; } }

/* ============================================================
   REFUSALS
   ============================================================ */
.refusals__list { margin-top: 3rem; border-top: 1px solid var(--line); }
.refusals__item {
  display: grid; grid-template-columns: minmax(11rem, 20rem) 1fr; gap: 1.5rem;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.refusals__item dt { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.8rem); letter-spacing: -0.015em; }
.refusals__item dd { color: var(--muted); }
@media (max-width: 680px) { .refusals__item { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ============================================================
   ARCS
   ============================================================ */
.arcs__pair { max-width: 74rem; margin: 3.5rem auto 0; padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 820px) { .arcs__pair { grid-template-columns: 1fr; gap: 3.5rem; } }
.arc__head { border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
.arc__numeral { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--accent-ink); margin-bottom: 0.7rem; }
.arc__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
.arc__intro { color: var(--muted); margin-top: 0.9rem; max-width: 34ch; }
.arc__scopes { list-style: none; margin-top: 0.5rem; }
.arc__scopes li { display: flex; align-items: baseline; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line-soft); transition: padding-left 0.4s var(--ease); }
.arc__scopes li:hover { padding-left: 0.5rem; }
.arc__roman { font-family: var(--font-display); font-weight: 600; color: var(--bronze-deep); font-size: 0.82rem; min-width: 2.4ch; font-feature-settings: "tnum"; }
.arc__scopes h4 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -0.01em; }
.arcs__note { max-width: 40rem; margin: 3rem auto 0; padding-inline: var(--gutter); text-align: center; color: var(--muted); font-size: 1.1rem; }

/* ============================================================
   SEQUENCE — numbered because it IS a sequence
   ============================================================ */
.sequence__steps { list-style: none; max-width: 74rem; margin: 3.5rem auto 0; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 3rem); }
@media (max-width: 820px) { .sequence__steps { grid-template-columns: 1fr; } }
.sequence__step { padding-top: 1.4rem; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; }
.sequence__num { font-family: var(--font-display); font-weight: 600; color: var(--accent-ink); font-size: 0.95rem; font-feature-settings: "tnum"; }
.sequence__step h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.015em; }
.sequence__step p { color: var(--muted); }

/* ============================================================
   THE RULE — the one charcoal drench (contrast pivot)
   ============================================================ */
.section--rule {
  min-height: 60vh; display: grid; align-content: center; text-align: center;
  background: var(--char); color: var(--ivory);
  margin-top: var(--section-gap);
  position: relative;
}
.section--rule .section__kicker { color: var(--accent-ink); }
.rule__display { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 4.4vw, 3.4rem); line-height: 1.14; letter-spacing: -0.025em; }
.rule__line { display: block; }
.rule__line:not(.rule__line--final) { color: color-mix(in srgb, var(--ivory) 70%, var(--char)); }
.rule__line--final { color: var(--ivory); margin-top: 0.4em; }
.rule__line--final em { color: #D98C73; }
.rule__dot { display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--terra); margin-left: 0.15em; vertical-align: middle; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners__grid { max-width: 72rem; margin: 3.5rem auto 0; padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 720px) { .partners__grid { grid-template-columns: 1fr; gap: 3rem; } }
.partner__role { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--accent-ink); margin-bottom: 0.8rem; }
.partner__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
.partner__bio { color: var(--muted); max-width: 40ch; }
.partner--advisor { max-width: 48rem; margin: 3rem auto 0; padding: 2.2rem var(--gutter) 0; border-top: 1px solid var(--line); text-align: center; }
.partner--advisor .partner__bio { margin-inline: auto; max-width: 52ch; }
.bench { max-width: 48rem; margin: 3.5rem auto 0; padding: 2.4rem clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 4px; text-align: center; background: var(--surface); }
.bench__title { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--accent-ink); margin-bottom: 1.3rem; }
.bench__roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.3rem; font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 1.3rem; }
.bench__roles span { position: relative; }
.bench__roles span:not(:last-child)::after { content: "·"; position: absolute; right: -0.8rem; color: var(--terra); }
.bench__body { color: var(--muted); max-width: 40ch; margin-inline: auto; }

/* ============================================================
   CONTACT
   ============================================================ */
.section--contact { display: grid; align-content: center; }
.contact__display { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5.4vw, 4.2rem); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.contact__body { color: var(--muted); margin-top: 1.8rem; font-size: 1.15rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: center; margin-top: 2.6rem; }
.contact__begin {
  font-family: var(--font-text); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em;
  background: var(--terra); color: var(--ivory); border-radius: 100px; padding: 1em 2.2em;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.contact__begin:hover { background: var(--terra-deep); transform: translateY(-2px); }
.contact__mail { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--fg); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.4s; }
.contact__mail:hover { border-color: var(--terra); }
.contact__where { margin-top: 3rem; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); }

/* ============================================================
   FOOTER — carries the TMG tie-in lockup
   ============================================================ */
.footer { padding: clamp(4rem, 8vh, 6.5rem) var(--gutter) clamp(2rem, 4vh, 3rem); text-align: center; border-top: 1px solid var(--line); display: grid; justify-items: center; gap: 1rem; }
.footer__word { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; position: relative; }
.footer__dot { display: inline-block; width: 0.13em; height: 0.13em; border-radius: 50%; background: var(--terra); vertical-align: -0.02em; margin-left: 0.08em; }
.footer__tag { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--muted); }
.footer__tag em { color: var(--terra); }
.footer__legal { max-width: 50rem; color: var(--muted); font-size: 0.84rem; line-height: 1.65; margin-top: 0.8rem; }
.footer__copy { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--muted); margin-top: 0.6rem; }

/* "Part of The Mixed Group" — the explicit tie, sharing the dot */
.tmg-lockup {
  display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1.6rem;
  padding: 0.5rem 1.2rem 0.5rem 0.5rem; border: 1px solid var(--line); border-radius: 100px;
  color: var(--muted); transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.tmg-lockup:hover { border-color: var(--bronze); color: var(--fg); }
.tmg-lockup__mark { width: 32px; height: 32px; flex: none; border-radius: 8px; }
.tmg-lockup__text { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.01em; }
.tmg-lockup__text b { font-family: var(--font-display); font-weight: 600; color: var(--fg); }

/* ============================================================
   MODAL  (dark panel)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--char) 55%, transparent); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.4s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; z-index: 1; width: min(92vw, 30rem);
  background: var(--char-soft); color: var(--ivory); border: 1px solid color-mix(in srgb, var(--ivory) 12%, transparent); border-radius: 8px;
  padding: clamp(2rem, 5vw, 3rem); transform: translateY(18px) scale(0.98); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 1rem; right: 1.1rem; background: none; border: none; color: color-mix(in srgb, var(--ivory) 60%, var(--char)); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.modal__close:hover { color: var(--ivory); }
.modal__kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: #D98C73; margin-bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5em; }
.modal__kicker::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.modal__title { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; line-height: 1.15; margin-bottom: 2rem; letter-spacing: -0.02em; }
.modal__title em { color: #D98C73; }
.modal__field { display: grid; gap: 0.5rem; margin-bottom: 1.1rem; }
.modal__field span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: color-mix(in srgb, var(--ivory) 64%, var(--char)); }
.modal__field input { background: transparent; border: none; border-bottom: 1px solid color-mix(in srgb, var(--ivory) 20%, transparent); color: var(--ivory); font-family: var(--font-text); font-size: 1rem; padding: 0.5rem 0; transition: border-color 0.3s; }
.modal__field input:focus { outline: none; border-color: var(--terra); }
.modal__submit { width: 100%; margin-top: 0.8rem; padding: 1em; cursor: pointer; background: var(--terra); color: var(--ivory); border: none; border-radius: 100px; font-family: var(--font-text); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em; transition: background 0.4s var(--ease); }
.modal__submit:hover { background: #B5544C; }
.modal__hint { margin-top: 1rem; font-size: 0.84rem; color: color-mix(in srgb, var(--ivory) 64%, var(--char)); line-height: 1.55; }
.modal__alt { margin-top: 1.5rem; font-size: 0.86rem; color: color-mix(in srgb, var(--ivory) 64%, var(--char)); text-align: center; }
.modal__alt a { color: #D98C73; border-bottom: 1px solid transparent; }
.modal__alt a:hover { border-color: #D98C73; }

/* ============================================================
   MOBILE NAV SHEET
   ============================================================ */
.mobile-nav { position: fixed; inset: 0; z-index: var(--z-mobilenav); background: var(--ivory); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; display: grid; gap: 1.1rem; text-align: center; }
.mobile-nav a { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; letter-spacing: -0.02em; color: var(--char); }

/* ============================================================
   NAV + THREAD inverted over charcoal bands (#rule)
   ============================================================ */
.nav.on-dark { color: var(--ivory); }
.nav.on-dark .nav__mark, .nav.on-dark .nav__word { color: var(--ivory); }
.nav.on-dark .nav__links a { color: color-mix(in srgb, var(--ivory) 64%, var(--char)); }
.nav.on-dark .nav__links a:hover { color: var(--ivory); }
.nav.on-dark .nav__menu span { background: var(--ivory); }
.nav.on-dark.is-solid { background: color-mix(in srgb, var(--char) 72%, transparent); border-bottom-color: color-mix(in srgb, var(--ivory) 10%, transparent); }
.thread.on-dark { background: linear-gradient(color-mix(in srgb, var(--ivory) 16%, transparent), color-mix(in srgb, var(--ivory) 16%, transparent) 70%, transparent); }

/* robustness: without JS (or before it runs) nothing stays hidden */
html:not(.js) .reveal,
html:not(.js) .reveal-lines .dline > span,
html:not(.js) .hero__char { opacity: 1 !important; transform: none !important; }
html:not(.js) .hero__char--dot .hero__dot { transform: scale(1) !important; }

/* ============================================================
   CENTRE EVERYTHING (client request — unify alignment)
   ============================================================ */
.section { text-align: center; }
.section__display, .contact__display, .rule__display,
.lede, .model__caption, .arcs__note, .partner__bio, .bench__body { margin-left: auto; margin-right: auto; }
.section__kicker, .hero__kicker { justify-content: center; }
.partner { text-align: center; }

/* bench roles on one line */
.bench__roles { flex-wrap: nowrap; white-space: nowrap; gap: 0.4rem 1.05rem; font-size: clamp(0.92rem, 1.9vw, 1.4rem); }
@media (max-width: 600px) { .bench__roles { flex-wrap: wrap; white-space: normal; } }

/* ============================================================
   ROTA — animated one-at-a-time index (Standard / Refusals /
   Sequence). Reads as a guided sequence, not a wall of text.
   ============================================================ */
.rota { max-width: 58rem; margin: clamp(1.8rem, 3.5vh, 2.8rem) auto 0; padding-inline: var(--gutter); }
.rota__stage { display: grid; }
.rota__item {
  grid-area: 1 / 1; display: grid; justify-items: center; align-content: start; gap: 0.7rem;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.rota__item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.rota__num {
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.18em; color: var(--accent-ink); font-feature-settings: "tnum";
}
.rota__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.5rem); letter-spacing: -0.025em; line-height: 1.08; max-width: 16ch; text-wrap: balance; }
.rota__body { color: var(--muted); font-size: clamp(1.05rem, 1vw + 0.9rem, 1.25rem); line-height: 1.55; max-width: 40ch; margin-inline: auto; text-wrap: pretty; }

/* clickable numbered pager — you see every step, jump instantly */
.rota__nav { list-style: none; display: flex; flex-wrap: wrap; gap: 0.15rem; justify-content: center; margin-top: clamp(1.6rem, 3vh, 2.4rem); }
.rota__page {
  position: relative; cursor: pointer; border: none; background: none;
  padding: 0.5rem 0.9rem 0.72rem; font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; color: var(--muted); font-feature-settings: "tnum"; line-height: 1;
  transition: color 0.3s var(--ease);
}
.rota__page:hover { color: var(--fg); }
.rota__page.is-active { color: var(--accent-ink); }
.rota__page-track { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.2rem; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rota__page .fill { position: absolute; inset: 0; background: var(--terra); transform: scaleX(0); transform-origin: 0 50%; }
.rota__page.is-active .fill { transform: scaleX(1); }

/* ============================================================
   ARCS — animated toggle (Arc I / Arc II), scopes stagger in
   ============================================================ */
.arcs { max-width: 58rem; margin: clamp(2.6rem, 5vh, 4rem) auto 0; padding-inline: var(--gutter); }
.arcs__toggle { position: relative; display: inline-flex; padding: 0.34rem; border: 1px solid var(--line); border-radius: 100px; }
.arcs__toggle-ind { position: absolute; top: 0.34rem; bottom: 0.34rem; left: 0.34rem; width: calc(50% - 0.34rem); background: var(--terra); border-radius: 100px; transition: transform 0.5s var(--ease); }
.arcs__toggle[data-active="1"] .arcs__toggle-ind { transform: translateX(100%); }
.arcs__tab {
  position: relative; z-index: 1; flex: 1; white-space: nowrap; border: none; background: none; cursor: pointer;
  border-radius: 100px; padding: 0.75em 1.5em; display: inline-flex; gap: 0.5em; align-items: baseline; justify-content: center;
  color: var(--muted); font-family: var(--font-text); transition: color 0.4s var(--ease);
}
.arcs__tab.is-active { color: var(--ivory); }
.arcs__tab-num { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; }
.arcs__tab-name { font-weight: 500; font-size: 0.92rem; }
.arcs__stage { display: grid; margin-top: clamp(2.2rem, 5vh, 3.2rem); }
.arc-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.arc-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.arc-panel__intro { color: var(--muted); max-width: 42ch; margin: 0 auto 2.2rem; font-size: 1.1rem; }
.arc-panel__scopes { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 4rem); max-width: 42rem; margin-inline: auto; text-align: left; }
@media (max-width: 600px) { .arc-panel__scopes { grid-template-columns: 1fr; } }
.arc-panel__scopes li {
  display: flex; align-items: baseline; gap: 0.9rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.02rem, 1.4vw, 1.22rem); letter-spacing: -0.01em;
}
.arc-panel__roman { color: var(--bronze-deep); font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; min-width: 2.6ch; font-feature-settings: "tnum"; }
.js .arc-panel.is-active .arc-panel__scopes li { animation: scopeIn 0.5s var(--ease) both; }
.arc-panel.is-active .arc-panel__scopes li:nth-child(1) { animation-delay: 0.04s; }
.arc-panel.is-active .arc-panel__scopes li:nth-child(2) { animation-delay: 0.09s; }
.arc-panel.is-active .arc-panel__scopes li:nth-child(3) { animation-delay: 0.14s; }
.arc-panel.is-active .arc-panel__scopes li:nth-child(4) { animation-delay: 0.19s; }
.arc-panel.is-active .arc-panel__scopes li:nth-child(5) { animation-delay: 0.24s; }
.arc-panel.is-active .arc-panel__scopes li:nth-child(6) { animation-delay: 0.29s; }
.arc-panel.is-active .arc-panel__scopes li:nth-child(7) { animation-delay: 0.34s; }
.arc-panel.is-active .arc-panel__scopes li:nth-child(8) { animation-delay: 0.39s; }
@keyframes scopeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* no-JS fallback: rota + arcs degrade to plain visible lists */
html:not(.js) .rota__item,
html:not(.js) .arc-panel { grid-area: auto; opacity: 1 !important; transform: none !important; pointer-events: auto; margin-bottom: 2.5rem; }
html:not(.js) .rota__nav, html:not(.js) .arcs__toggle, html:not(.js) .arcs__toggle-ind { display: none; }

@media (prefers-reduced-motion: reduce) {
  .rota__item, .arc-panel { transition: opacity 0.3s linear; transform: none; }
  .js .arc-panel.is-active .arc-panel__scopes li { animation: none; }
}
