/* GENERATED by tools/scope-transformation-css.mjs - do not edit by hand.
   Source: v2-experience/assets/css/thesis-page.css, the approved thesis
   page design. Every rule is scoped under .tpage and the shell rules
   (reset, body, skip, grain, header, footer) are dropped: the v3 layout
   owns those. Tokens are re-declared on .tpage rather than :root so they
   cannot reach the shared header and footer. */

.tpage {
  --purple: #5E3190;
  --magenta: #E72993;
  --bridge: #A0237A;
  --ink: #1F1B2E;
  --ink-soft: #2A2540;
  --paper: #FAF8F4;
  --paper-2: #F3EFE6;
  --surface: #FFFFFF;
  --muted: #6B6675;
  --hairline: rgba(31, 27, 46, 0.14);
  --hairline-strong: rgba(31, 27, 46, 0.32);
  --grad: linear-gradient(95deg, var(--purple) 0%, var(--bridge) 55%, var(--magenta) 100%);
  --display: 'Instrument Serif', 'Iowan Old Style', 'Apple Garamond', 'Baskerville', 'Times New Roman', serif;
  --body: 'Familjen Grotesk', 'Helvetica Neue', 'Arial', system-ui, -apple-system, sans-serif;
  --max: 1340px;
  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 12vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Dr. Firdosh Mahuvawalla — drfirdosh.com
   Editorial Authority · 2026
   ========================================================= */

/* ---------- design tokens ---------- */

/* ---------- reset & base ---------- */

/* skip link */

/* ---------- grain texture ---------- */

/* ---------- header ---------- */

.tpage .btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.tpage .btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.tpage .btn:hover svg { transform: translateX(3px); }

.tpage .btn-pill {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  padding: 11px 18px;
  font-size: 13px;
}
.tpage .btn-pill:hover { background: var(--ink); color: var(--paper); }

.tpage .btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 26px;
  font-size: 15px;
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.tpage .btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0; transition: opacity 0.4s var(--ease);
  z-index: 0;
}
.tpage .btn-primary span, .tpage .btn-primary svg { position: relative; z-index: 1; }
.tpage .btn-primary:hover::before { opacity: 1; }
.tpage .btn-primary:hover { border-color: transparent; transform: translateY(-1px); box-shadow: 0 18px 40px -18px rgba(94, 49, 144, 0.45); }

.tpage .btn-ghost {
  color: var(--ink);
  border: 1px solid transparent;
  padding: 16px 22px;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: var(--hairline-strong);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  border-radius: 0;
}
.tpage .btn-ghost:hover {
  text-decoration-color: var(--magenta);
  color: var(--purple);
}

/* mobile nav toggle */
@media (max-width: 959px) {
  .tpage .btn-pill { display: none; }
  body.nav-open .tpage .site-nav {
    position: fixed; inset: 0; background: var(--paper);
    display: flex; align-items: center; justify-content: center;
    z-index: 90;
  }
  body.nav-open .tpage .site-nav ul {
    display: flex; flex-direction: column; gap: 28px;
    font-size: 22px; text-align: center;
  }
  body.nav-open .tpage .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .tpage .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .tpage .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================
   HERO
   ========================================================= */
.tpage .hero {
  position: relative;
  padding: clamp(110px, 14vh, 160px) var(--pad-x) clamp(60px, 8vh, 100px);
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tpage .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 64px);
  width: 100%;
  align-items: center;
}
@media (min-width: 900px) {
  .tpage .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 96px);
  }
}

.tpage .hero-text {
  display: flex; flex-direction: column;
  gap: clamp(20px, 2.5vw, 30px);
}

.tpage .hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.tpage .hero-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 4px rgba(231, 41, 147, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(231, 41, 147, 0.12); }
  50%      { box-shadow: 0 0 0 8px rgba(231, 41, 147, 0.04); }
}
.tpage .hero-meta .sep { color: var(--hairline-strong); }

.tpage .hero-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 8.4vw, 7.6rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.tpage .hero-headline .accent {
  position: relative;
  display: inline-block;
}
.tpage .hero-headline .accent em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}

.tpage .lede {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0;
}

.tpage .hero-ctas {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 16px;
  margin-top: 4px;
}

.tpage .hero-credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px clamp(18px, 3vw, 36px);
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--hairline);
}
.tpage .hero-credentials > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tpage .hero-credentials dt {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.15;
}
.tpage .hero-credentials dd {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
@media (max-width: 520px) {
  .tpage .hero-credentials { grid-template-columns: 1fr; gap: 14px; }
  .tpage .hero-credentials > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 14px;
  }
}

/* ----- portrait ----- */
.tpage .hero-portrait {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: end;
  width: 100%;
  max-width: 480px;
}
@media (max-width: 899px) {
  .tpage .hero-portrait {
    order: -1;
    justify-self: center;
    max-width: 280px;
  }
}

.tpage .hero-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tpage .hero-portrait-glow {
  position: absolute;
  inset: 6%;
  background:
    radial-gradient(closest-side at 50% 55%, rgba(231, 41, 147, 0.22), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(94, 49, 144, 0.28), transparent 70%);
  border-radius: 50%;
  filter: blur(24px);
  z-index: 0;
  animation: glowdrift 12s ease-in-out infinite alternate;
}
@keyframes glowdrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, -2%) scale(1.05); }
}
.tpage .hero-portrait-frame img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(31, 27, 46, 0.16));
}

.tpage .scroll-cue {
  position: absolute;
  right: 18px; bottom: 24px;
  display: flex; align-items: center; gap: 12px;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: right bottom;
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}
.tpage .scroll-cue-line {
  display: inline-block;
  width: 50px; height: 1px;
  background: var(--muted);
  position: relative; overflow: hidden;
}
.tpage .scroll-cue-line::after {
  content: ''; position: absolute;
  left: -100%; top: 0; height: 100%; width: 100%;
  background: var(--ink);
  animation: scrollline 2.4s ease-in-out infinite;
}
@keyframes scrollline {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}
@media (max-width: 1100px) {
  .tpage .scroll-cue { display: none; }
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.tpage .section-head {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 7vw, 96px);
  padding: 0 var(--pad-x);
}
.tpage .section-head-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(28px, 5vw, 56px);
}
.tpage .section-tag {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0;
  display: inline-flex; gap: 10px;
}
.tpage .section-tag span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--purple);
}
.tpage .section-rule {
  height: 1px;
  background: var(--hairline-strong);
  margin: 0;
}
.tpage .section-count {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.tpage .section-title {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 18ch;
}
.tpage .section-title em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.tpage .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.tpage .section-lede {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'opsz' 24;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  max-width: 56ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
}

/* =========================================================
   STORY · SIX DIMENSIONS
   ========================================================= */
.tpage .story { padding: var(--section-y) 0; position: relative; }
.tpage .story::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(94, 49, 144, 0.04), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(231, 41, 147, 0.04), transparent 60%);
  pointer-events: none;
}

.tpage .dimensions {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.tpage .dimension {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--hairline);
}
.tpage .dimension:last-child { border-bottom: 1px solid var(--hairline); }

@media (min-width: 860px) {
  .tpage .dimension {
    grid-template-columns: 120px 200px 1fr;
    grid-template-areas:
      "num label claim"
      "num . body";
    column-gap: 48px;
    row-gap: 6px;
    align-items: baseline;
  }
  .tpage .dim-num   { grid-area: num; align-self: start; }
  .tpage .dim-label { grid-area: label; align-self: start; padding-top: 0.55em; }
  .tpage .dim-claim { grid-area: claim; }
  .tpage .dim-body  { grid-area: body; }
}

.tpage .dim-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 60;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--purple);
  letter-spacing: -0.04em;
}
.tpage .dim-num span {
  display: inline-block;
  position: relative;
}
.tpage .dim-num span::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px; width: 32px;
  background: var(--grad);
}

.tpage .dim-label {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tpage .dim-claim {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'opsz' 72, 'SOFT' 50;
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--ink);
  max-width: 20ch;
}

.tpage .dim-body {
  font-family: var(--body);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0;
}

/* =========================================================
   TRACK RECORD
   ========================================================= */
.tpage .record {
  padding: var(--section-y) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}

.tpage .stats {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 640px)  { .tpage .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tpage .stats { grid-template-columns: repeat(3, 1fr); } }

.tpage .stat {
  padding: clamp(28px, 4vw, 44px) 24px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  gap: 14px;
}
@media (min-width: 640px) {
  .tpage .stat { border-right: 1px solid var(--hairline); }
  .tpage .stat:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1000px) {
  .tpage .stat { border-right: 1px solid var(--hairline); }
  .tpage .stat:nth-child(2n) { border-right: 1px solid var(--hairline); }
  .tpage .stat:nth-child(3n) { border-right: 0; }
}
.tpage .stat:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 640px) {
  .tpage .stat:nth-last-child(-n+2):nth-child(2n+1),
  .tpage .stat:nth-last-child(1) { border-bottom: 1px solid var(--hairline); }
}

.tpage .stat-num {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: inline-flex; align-items: baseline;
}
.tpage .stat-num .plus {
  font-size: 0.5em;
  margin-left: 0.05em;
  color: var(--muted);
}
.tpage .stat-num .currency {
  font-size: 0.35em;
  margin-right: 0.1em;
  color: var(--muted);
  font-variant-numeric: lining-nums;
}
.tpage .stat-num--year { letter-spacing: -0.03em; }
.tpage .stat-num--word {
  font-style: italic;
  color: var(--purple);
}
.tpage .stat-num--word em { font-style: italic; }

.tpage .stat--gradient .stat-num,
.tpage .stat--gradient .plus,
.tpage .stat--gradient .currency {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.tpage .stat-label {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  max-width: 26ch;
}
.tpage .stat-label small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* =========================================================
   APPROACH
   ========================================================= */
.tpage .approach { padding: var(--section-y) 0; }

.tpage .areas {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 780px) { .tpage .areas { grid-template-columns: repeat(2, 1fr); } }

.tpage .area {
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--hairline);
  position: relative;
  transition: background 0.4s var(--ease);
}
@media (min-width: 780px) {
  .tpage .area:nth-child(2n+1) { border-right: 1px solid var(--hairline); }
  .tpage .area:nth-child(1), .tpage .area:nth-child(2) { border-top: 1px solid var(--hairline); }
}
.tpage .area:hover { background: var(--surface); }
.tpage .area:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 780px) {
  .tpage .area:nth-last-child(2) { border-bottom: 1px solid var(--hairline); }
}

.tpage .area-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--purple);
  letter-spacing: 0;
  margin-bottom: 14px;
  display: inline-block;
}
.tpage .area h3 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: 'opsz' 36;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--ink);
  max-width: 22ch;
}
.tpage .area p {
  font-family: var(--body);
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 42ch;
}

.tpage .approach-cta {
  max-width: var(--max);
  margin: clamp(40px, 7vw, 80px) auto 0;
  padding: 0 var(--pad-x);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 18px 28px;
}
.tpage .approach-cta p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin: 0;
  color: var(--ink);
}

/* =========================================================
   WRITING
   ========================================================= */
.tpage .writing {
  padding: var(--section-y) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.tpage .publications {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
}
@media (min-width: 920px) {
  .tpage .publications { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
}

.tpage .pub {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tpage .pub:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(31, 27, 46, 0.18);
}
.tpage .pub--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad);
}

.tpage .pub-head { display: flex; flex-direction: column; gap: 14px; }
.tpage .pub-tag {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.tpage .pub-title {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'SOFT' 40;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.tpage .pub-blurb {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 50ch;
}
.tpage .pub-themes {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.tpage .pub-themes li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--display);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.3;
  color: var(--ink-soft);
}
.tpage .pub-themes-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--purple);
}
.tpage .pub-themes-title { font-weight: 400; }

.tpage .pub-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  padding: 12px 0;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tpage .pub-cta svg { width: 16px; height: 16px; }
.tpage .pub-cta:hover { gap: 14px; color: var(--purple); border-color: var(--purple); }

/* =========================================================
   CONTACT
   ========================================================= */
.tpage .contact {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.tpage .contact::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 80%; height: 80%;
  background: radial-gradient(closest-side, rgba(231, 41, 147, 0.18), transparent 70%);
  pointer-events: none;
}
.tpage .contact::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 80%; height: 80%;
  background: radial-gradient(closest-side, rgba(94, 49, 144, 0.22), transparent 70%);
  pointer-events: none;
}

.tpage .contact-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.tpage .contact-head { margin-bottom: clamp(40px, 6vw, 72px); }
.tpage .contact-head .section-tag { color: rgba(250, 248, 244, 0.7); }
.tpage .contact-head .section-tag span { color: var(--magenta); }
.tpage .contact-title {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 20px 0 28px;
  color: var(--paper);
}
.tpage .contact-title em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tpage .contact-lede {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'opsz' 24;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: rgba(250, 248, 244, 0.78);
  max-width: 52ch;
  margin: 0;
}

.tpage .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .tpage .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

.tpage .contact-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
}
.tpage .contact-card svg {
  width: 20px; height: 20px;
  align-self: end; justify-self: end;
  color: rgba(250, 248, 244, 0.6);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tpage .contact-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(231, 41, 147, 0.4);
  transform: translateY(-2px);
}
.tpage .contact-card:hover svg { color: var(--magenta); transform: translateX(3px); }
.tpage .contact-card-label {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.6);
}
.tpage .contact-card-value {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.2;
  color: var(--paper);
}
.tpage .contact-card-value small {
  font-size: 0.5em;
  color: rgba(250, 248, 244, 0.6);
  vertical-align: middle;
}

.tpage .contact-card--primary {
  background: rgba(231, 41, 147, 0.08);
  border-color: rgba(231, 41, 147, 0.3);
}

/* =========================================================
   FOOTER
   ========================================================= */

/* =========================================================
   ESSAY PAGE · The Success Paradox
   ========================================================= */
.tpage .essay {
  position: relative;
  padding: clamp(140px, 20vw, 220px) 0 var(--section-y);
}
.tpage .essay::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(94, 49, 144, 0.05), transparent 60%),
    radial-gradient(700px 420px at 0% 40%, rgba(231, 41, 147, 0.04), transparent 60%);
  pointer-events: none;
}
.tpage .essay-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.tpage .essay-head { margin-bottom: clamp(44px, 7vw, 80px); }
.tpage .essay-kicker-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(28px, 5vw, 52px);
}
.tpage .essay-title {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
}
.tpage .essay-lede {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 0 30px;
}
.tpage .essay-byline {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
}
.tpage .essay-byline::after {
  content: '';
  height: 1px; flex: 1;
  background: var(--hairline-strong);
}

.tpage .essay-body p {
  font-size: clamp(1.06rem, 1.3vw, 1.19rem);
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 1.5em;
}
.tpage .essay-em {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.12em;
  color: var(--purple);
}
.tpage .essay-open::first-letter {
  font-family: var(--display);
  font-weight: 300;
  font-size: 3.6em;
  line-height: 0.78;
  float: left;
  padding: 0.06em 0.14em 0 0;
  color: var(--purple);
}

.tpage .essay-figure {
  margin: clamp(44px, 7vw, 72px) 0;
}
.tpage .essay-figure svg { width: 100%; height: auto; display: block; }
.tpage .essay-figure .fig-circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-dasharray: 3 14;
  stroke-linecap: round;
  opacity: 0.75;
}
.tpage .essay-figure .fig-arrow {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.6;
  opacity: 0.7;
}
.tpage .essay-figure .fig-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 27px;
  fill: var(--ink);
}
.tpage .essay-figure .fig-label--muted { fill: var(--muted); font-size: 24px; }
.tpage .essay-figure figcaption {
  margin-top: 16px;
  font-family: var(--display);
  font-style: italic;
  font-size: 14.5px;
  color: var(--muted);
  text-align: center;
}

.tpage .essay-pull {
  margin: clamp(48px, 8vw, 84px) 0;
  padding: clamp(30px, 5vw, 48px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.tpage .essay-pull p {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'SOFT' 60;
  font-size: clamp(1.65rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 24ch;
  margin: 0;
}

.tpage .essay-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(44px, 7vw, 72px);
}

/* =========================================================
   THESIS PAGE · The AI-Native Organisation
   ========================================================= */

/* ----- hero variant ----- */
.tpage .hero--thesis { min-height: 92vh; }
@media (min-width: 900px) {
  .tpage .hero--thesis .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}
.tpage .thesis-figure {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 620px;
  justify-self: end;
}
@media (max-width: 899px) {
  .tpage .thesis-figure { justify-self: center; max-width: 440px; }
}
.tpage .thesis-figure svg { width: 100%; height: auto; display: block; }
.tpage .thesis-figure figcaption {
  margin-top: 14px;
  font-family: var(--display);
  font-style: italic;
  font-size: 14.5px;
  color: var(--muted);
  text-align: center;
}

/* org chart strokes: dashed, slowly eroding */
.tpage .chart-stroke {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-dasharray: 4 7;
  stroke-linecap: round;
  opacity: 0.5;
  animation: erode 40s linear infinite;
}
.tpage .chart-stroke--breaking {
  opacity: 0.28;
  stroke-dasharray: 3 10;
}
@keyframes erode {
  to { stroke-dashoffset: -132; }
}

/* orbit rings */
.tpage .ring circle:first-child {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-dasharray: 3 12;
  stroke-linecap: round;
  opacity: 0.55;
}
.tpage .ring--1 { animation: orbitspin 32s linear infinite; }
.tpage .ring--2 { animation: orbitspin 52s linear infinite reverse; }
.tpage .ring--3 { animation: orbitspin 76s linear infinite; }
@keyframes orbitspin {
  to { transform: rotate(360deg); }
}
.tpage .nucleus { animation: nucleuspulse 4.5s ease-in-out infinite; }
@keyframes nucleuspulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.78; }
}
.tpage .drifter { animation: drift 7s ease-in-out infinite alternate; }
.tpage .drifter--2 { animation-delay: 1.6s; }
.tpage .drifter--3 { animation-delay: 3.4s; }
@keyframes drift {
  from { transform: translate(0, 0); opacity: 0.45; }
  to   { transform: translate(14px, 9px); opacity: 0.95; }
}

/* ----- generic thesis sections ----- */
.tpage .tsection { padding: var(--section-y) 0; position: relative; }
.tpage .tsection--tint {
  background: var(--paper-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.tpage .tsection-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.tpage .section-close {
  max-width: var(--max);
  margin: clamp(36px, 6vw, 64px) auto 0;
  padding: 0 var(--pad-x);
}
.tpage .section-close p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 44ch;
  margin: 0;
}

/* pull quote (shared with essay styles but self-contained width) */
.tpage .tpull {
  max-width: var(--max);
  margin: clamp(48px, 8vw, 84px) auto 0;
  padding: clamp(30px, 5vw, 48px) var(--pad-x);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.tpage .tpull p {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'SOFT' 60;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 30ch;
  margin: 0;
}

/* ----- § I · the turn: three capabilities ----- */
.tpage .turn-grid {
  max-width: var(--max);
  margin: clamp(36px, 6vw, 64px) auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .tpage .turn-grid { grid-template-columns: repeat(3, 1fr); } }
.tpage .turn {
  padding: clamp(24px, 3.5vw, 38px) clamp(18px, 2.5vw, 28px);
  border-top: 1px solid var(--hairline);
}
@media (min-width: 780px) {
  .tpage .turn { border-right: 1px solid var(--hairline); }
  .tpage .turn:last-child { border-right: 0; }
}
.tpage .turn:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 780px) { .tpage .turn { border-bottom: 1px solid var(--hairline); } }
.tpage .turn h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}
.tpage .turn p {
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 40ch;
}

/* the trap aside */
.tpage .trap {
  max-width: var(--max);
  margin: clamp(36px, 6vw, 64px) auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 48px;
}
@media (min-width: 860px) { .tpage .trap { grid-template-columns: 200px 1fr; align-items: baseline; } }
.tpage .trap-label {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0;
}
.tpage .trap-body {
  font-family: var(--body);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0;
}

/* ----- § II · overnight timeline ----- */
.tpage .timeline {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.tpage .tl-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 48px;
  padding: clamp(22px, 3.5vw, 34px) 0;
  border-top: 1px solid var(--hairline);
}
.tpage .tl-item:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 720px) {
  .tpage .tl-item { grid-template-columns: 150px 1fr; align-items: baseline; }
}
.tpage .tl-time {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--purple);
  position: relative;
  display: inline-block;
}
.tpage .tl-time::after {
  content: '';
  position: absolute;
  left: 0; bottom: -7px;
  height: 2px; width: 26px;
  background: var(--grad);
}
.tpage .tl-item--dawn .tl-time {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tpage .tl-text {
  font-family: var(--body);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0;
}
.tpage .tl-close {
  max-width: var(--max);
  margin: clamp(30px, 5vw, 48px) auto 0;
  padding: 0 var(--pad-x);
}
.tpage .tl-close p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  max-width: 40ch;
}
.tpage .tl-close .grad-text { font-style: italic; }

/* ----- § IV · three layers ----- */
.tpage .layers {
  max-width: var(--max);
  margin: clamp(36px, 6vw, 64px) auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  gap: 0;
}
.tpage .layer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 48px;
  padding: clamp(24px, 4vw, 40px) 0;
  border-top: 1px solid var(--hairline);
}
.tpage .layer:last-of-type { border-bottom: 1px solid var(--hairline); }
@media (min-width: 860px) {
  .tpage .layer {
    grid-template-columns: 120px 280px 1fr;
    align-items: baseline;
  }
}
.tpage .layer-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--purple);
  letter-spacing: -0.04em;
}
.tpage .layer h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.tpage .layer p {
  font-family: var(--body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
}
.tpage .connects {
  max-width: var(--max);
  margin: clamp(20px, 3vw, 30px) auto 0;
  padding: 0 var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.tpage .connects-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  margin: 0 6px 0 0;
}
.tpage .connects span:not(.connects-label) {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 7px 14px;
}

/* ----- § IV · six outcomes ----- */
.tpage .outcomes {
  max-width: var(--max);
  margin: clamp(36px, 6vw, 64px) auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .tpage .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tpage .outcomes { grid-template-columns: repeat(3, 1fr); } }
.tpage .outcome {
  padding: clamp(24px, 3.5vw, 36px) clamp(18px, 2.5vw, 26px);
  border-top: 1px solid var(--hairline);
  transition: background 0.4s var(--ease);
}
.tpage .outcome:hover { background: var(--surface); }
@media (min-width: 640px) {
  .tpage .outcome { border-right: 1px solid var(--hairline); }
  .tpage .outcome:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1000px) {
  .tpage .outcome { border-right: 1px solid var(--hairline); }
  .tpage .outcome:nth-child(2n) { border-right: 1px solid var(--hairline); }
  .tpage .outcome:nth-child(3n) { border-right: 0; }
  .tpage .outcome:nth-child(n+4) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 999px) { .tpage .outcome:last-child { border-bottom: 1px solid var(--hairline); } }
.tpage .outcome-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--purple);
  display: inline-block;
  margin-bottom: 12px;
}
.tpage .outcome h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}
.tpage .outcome p {
  font-family: var(--body);
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38ch;
}

/* ----- § IV · what this is not ----- */
.tpage .nots {
  max-width: var(--max);
  margin: clamp(48px, 8vw, 88px) auto 0;
  padding: 0 var(--pad-x);
}
.tpage .nots-head {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.tpage .nots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 780px) { .tpage .nots-grid { grid-template-columns: repeat(2, 1fr); } }
.tpage .not {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(22px, 3vw, 32px);
}
.tpage .not h3 {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--purple);
}
.tpage .not p {
  font-family: var(--body);
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* ----- § V · the three tracks ----- */
.tpage .tracks {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.5vw, 28px);
}
@media (min-width: 920px) { .tpage .tracks { grid-template-columns: repeat(3, 1fr); } }
.tpage .track {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(26px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tpage .track:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(31, 27, 46, 0.18);
}
.tpage .track::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.tpage .track-tag {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.tpage .track h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.tpage .track-blurb {
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.tpage .track-receive {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  padding-top: 4px;
}
.tpage .track-receive-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--purple);
  display: block;
  margin: 0;
  padding: 10px 0 2px;
}
.tpage .track-receive li {
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
}
.tpage .track-receive li:last-child { border-bottom: 0; }
.tpage .dials {
  max-width: var(--max);
  margin: clamp(36px, 6vw, 60px) auto 0;
  padding: 0 var(--pad-x);
}
.tpage .dials p {
  font-family: var(--body);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 66ch;
  margin: 0;
}
.tpage .dials b { color: var(--ink); font-weight: 600; }

/* ----- § VI · the window (dark close) ----- */
.tpage .window {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.tpage .window::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 80%; height: 80%;
  background: radial-gradient(closest-side, rgba(231, 41, 147, 0.18), transparent 70%);
  pointer-events: none;
}
.tpage .window::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 80%; height: 80%;
  background: radial-gradient(closest-side, rgba(94, 49, 144, 0.22), transparent 70%);
  pointer-events: none;
}
.tpage .window-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.tpage .window .section-tag { color: rgba(250, 248, 244, 0.7); }
.tpage .window .section-tag span { color: var(--magenta); }
.tpage .window-title {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 20px 0 28px;
  color: var(--paper);
  max-width: 20ch;
}
.tpage .window-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tpage .window-body {
  font-family: var(--body);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.7;
  color: rgba(250, 248, 244, 0.78);
  max-width: 58ch;
  margin: 0 0 14px;
}
.tpage .window-body b { color: var(--paper); font-weight: 600; }
.tpage .window-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: clamp(28px, 4vw, 40px);
}
.tpage .btn-light {
  background: var(--paper);
  color: var(--ink);
  padding: 16px 26px;
  font-size: 15px;
  border: 1px solid var(--paper);
}
.tpage .btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -18px rgba(231, 41, 147, 0.5);
}
.tpage .btn-ghost-light {
  color: var(--paper);
  border: 1px solid rgba(250, 248, 244, 0.35);
  padding: 15px 24px;
  font-size: 15px;
}
.tpage .btn-ghost-light:hover {
  border-color: var(--magenta);
  background: rgba(231, 41, 147, 0.12);
}

/* =========================================================
   HOMEPAGE · THESIS BAND
   ========================================================= */
.tpage .thesis-band {
  padding: clamp(64px, 10vw, 130px) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.tpage .thesis-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -5%;
  width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(94, 49, 144, 0.35), transparent 70%);
  pointer-events: none;
}
.tpage .thesis-band-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 880px) {
  .tpage .thesis-band-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
.tpage .thesis-band .section-tag { color: rgba(250, 248, 244, 0.7); }
.tpage .thesis-band .section-tag span { color: var(--magenta); }
.tpage .thesis-band-title {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
  color: var(--paper);
}
.tpage .thesis-band-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tpage .thesis-band-lede {
  font-family: var(--body);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.7;
  color: rgba(250, 248, 244, 0.78);
  max-width: 54ch;
  margin: 0 0 28px;
}
.tpage .thesis-band-figure {
  margin: 0;
  justify-self: center;
  width: min(300px, 70vw);
}
@media (min-width: 880px) { .tpage .thesis-band-figure { justify-self: end; } }
.tpage .thesis-band-figure svg { width: 100%; height: auto; display: block; }
.tpage .thesis-band-figure .ring circle:first-child { stroke: rgba(250, 248, 244, 0.6); }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.tpage [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.tpage [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero stagger via inline delays in JS */

/* When JS is disabled, show everything */
.no-js .tpage [data-reveal] { opacity: 1; transform: none; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tpage [data-reveal] { opacity: 1; transform: none; }
  .tpage .hero-headline .underline path { stroke-dashoffset: 0; }
}

/* =========================================================
   FOCUS STATES (a11y)
   ========================================================= */
.tpage a:focus-visible, .tpage button:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 4px;
  border-radius: 4px;
}

/* =========================================================
   THESIS PAGE · icons & diagrams (2026-08-29)
   ========================================================= */
.tpage .tic { width: 26px; height: 26px; flex-shrink: 0; }
.tpage .tic circle, .tpage .tic path, .tpage .tic rect, .tpage .tic line, .tpage .tic polyline {
  fill: none; stroke: var(--purple); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.tpage .tic .acc { stroke: var(--magenta); }
.tpage .tic .fil { fill: var(--magenta); stroke: none; }
.tpage .thead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tpage .thead h3 { margin: 0; }
.tpage .track > .tic {
  position: absolute; top: 22px; right: 24px;
  width: 28px; height: 28px; opacity: 0.9;
}
.tpage .tl-time .tl-ic {
  width: 20px; height: 20px;
  display: inline-block; vertical-align: -2px; margin-left: 12px;
}
.tpage .tl-ic circle, .tpage .tl-ic path {
  fill: none; stroke: var(--magenta); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.tpage .shift-figure {
  max-width: var(--max);
  margin: clamp(36px, 6vw, 64px) auto 0;
  padding: 0 var(--pad-x);
}
.tpage .shift-figure svg { width: 100%; height: auto; display: block; }
.tpage .shift-figure figcaption {
  margin-top: 14px;
  font-family: var(--display);
  font-style: italic;
  font-size: 14.5px;
  color: var(--muted);
  text-align: center;
}
.tpage .shift-figure .hub-line { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: 0.4; stroke-linecap: round; }
.tpage .shift-figure .hub-cross { fill: none; stroke: var(--magenta); stroke-width: 1; opacity: 0.35; stroke-dasharray: 3 6; stroke-linecap: round; }
.tpage .shift-figure .hub-dot { fill: var(--ink); opacity: 0.55; }
.tpage .shift-figure .layer-bar { fill: none; stroke: var(--purple); stroke-width: 1.6; opacity: 0.8; }
.tpage .shift-figure .layer-num { font-family: var(--display); font-style: italic; font-size: 22px; fill: var(--purple); }
.tpage .shift-figure .lbl-short { display: none; }
@media (max-width: 700px) {
  .tpage .shift-figure .lbl-long { display: none; }
  .tpage .shift-figure .lbl-short { display: block; font-size: 46px; }
  .tpage .shift-figure .layer-num { font-size: 32px; }
  .tpage .shift-figure .fig-arrow { stroke-width: 2.4; }
}
