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

/* ---------- design tokens ---------- */
:root {
  /* color */
  --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%);

  /* type */
  --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;

  /* layout */
  --max:        1340px;
  --pad-x:      clamp(20px, 5vw, 64px);
  --section-y:  clamp(72px, 12vw, 160px);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
abbr[title] { text-decoration: none; border-bottom: 1px dotted var(--hairline-strong); cursor: help; }
em { font-style: italic; }
::selection { background: var(--purple); color: var(--paper); }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  z-index: 9999; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- grain texture ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.1  0 0 0 0 0.18  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px var(--pad-x);
  transition: padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(250, 248, 244, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.brand {
  display: inline-flex; align-items: center;
  transition: opacity 0.3s var(--ease);
}
.brand:hover { opacity: 0.7; }
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
  transition: height 0.4s var(--ease);
}
.site-header.is-scrolled .brand-logo { height: 42px; }
@media (max-width: 960px) {
  .brand-logo { height: 48px; }
  .site-header.is-scrolled .brand-logo { height: 38px; }
}
@media (max-width: 540px) {
  .brand-logo { height: 40px; }
  .site-header.is-scrolled .brand-logo { height: 34px; }
}

.site-nav { justify-self: center; }
.site-nav ul {
  display: none;
  gap: clamp(14px, 2.4vw, 32px);
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}
.site-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ink);
  transition: right 0.4s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { right: 0; }

@media (min-width: 960px) {
  .site-nav ul { display: flex; }
}

.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;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

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

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

.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;
}
.btn-ghost:hover {
  text-decoration-color: var(--magenta);
  color: var(--purple);
}

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

/* =========================================================
   HERO
   ========================================================= */
.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;
}

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

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

.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;
}
.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); }
}
.hero-meta .sep { color: var(--hairline-strong); }

.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);
}
.hero-headline .accent {
  position: relative;
  display: inline-block;
}
.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;
}

.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;
}

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

.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);
}
.hero-credentials > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.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;
}
.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) {
  .hero-credentials { grid-template-columns: 1fr; gap: 14px; }
  .hero-credentials > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 14px;
  }
}

/* ----- portrait ----- */
.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) {
  .hero-portrait {
    order: -1;
    justify-self: center;
    max-width: 280px;
  }
}

.hero-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.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); }
}
.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));
}

.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;
}
.scroll-cue-line {
  display: inline-block;
  width: 50px; height: 1px;
  background: var(--muted);
  position: relative; overflow: hidden;
}
.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) {
  .scroll-cue { display: none; }
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 7vw, 96px);
  padding: 0 var(--pad-x);
}
.section-head-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(28px, 5vw, 56px);
}
.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;
}
.section-tag span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--purple);
}
.section-rule {
  height: 1px;
  background: var(--hairline-strong);
  margin: 0;
}
.section-count {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.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;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.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;
}
.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
   ========================================================= */
.story { padding: var(--section-y) 0; position: relative; }
.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;
}

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

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

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

.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;
}
.dim-num span {
  display: inline-block;
  position: relative;
}
.dim-num span::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px; width: 32px;
  background: var(--grad);
}

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

.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;
}

.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
   ========================================================= */
.record {
  padding: var(--section-y) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}

.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)  { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(3, 1fr); } }

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

.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;
}
.stat-num .plus {
  font-size: 0.5em;
  margin-left: 0.05em;
  color: var(--muted);
}
.stat-num .currency {
  font-size: 0.35em;
  margin-right: 0.1em;
  color: var(--muted);
  font-variant-numeric: lining-nums;
}
.stat-num--year { letter-spacing: -0.03em; }
.stat-num--word {
  font-style: italic;
  color: var(--purple);
}
.stat-num--word em { font-style: italic; }

.stat--gradient .stat-num,
.stat--gradient .plus,
.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;
}

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

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

.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) { .areas { grid-template-columns: repeat(2, 1fr); } }

.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) {
  .area:nth-child(2n+1) { border-right: 1px solid var(--hairline); }
  .area:nth-child(1), .area:nth-child(2) { border-top: 1px solid var(--hairline); }
}
.area:hover { background: var(--surface); }
.area:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 780px) {
  .area:nth-last-child(2) { border-bottom: 1px solid var(--hairline); }
}

.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;
}
.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;
}
.area p {
  font-family: var(--body);
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 42ch;
}

.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;
}
.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
   ========================================================= */
.writing {
  padding: var(--section-y) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.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) {
  .publications { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
}

.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);
}
.pub:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(31, 27, 46, 0.18);
}
.pub--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad);
}

.pub-head { display: flex; flex-direction: column; gap: 14px; }
.pub-tag {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.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);
}
.pub-blurb {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 50ch;
}
.pub-themes {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.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);
}
.pub-themes-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--purple);
}
.pub-themes-title { font-weight: 400; }

.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);
}
.pub-cta svg { width: 16px; height: 16px; }
.pub-cta:hover { gap: 14px; color: var(--purple); border-color: var(--purple); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.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;
}
.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;
}

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

.contact-head { margin-bottom: clamp(40px, 6vw, 72px); }
.contact-head .section-tag { color: rgba(250, 248, 244, 0.7); }
.contact-head .section-tag span { color: var(--magenta); }
.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);
}
.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;
}
.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;
}

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

.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;
}
.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);
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(231, 41, 147, 0.4);
  transform: translateY(-2px);
}
.contact-card:hover svg { color: var(--magenta); transform: translateX(3px); }
.contact-card-label {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.6);
}
.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);
}
.contact-card-value small {
  font-size: 0.5em;
  color: rgba(250, 248, 244, 0.6);
  vertical-align: middle;
}

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

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: clamp(40px, 6vw, 80px) var(--pad-x) clamp(28px, 4vw, 48px);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  border-top: 1px solid var(--hairline);
  padding-top: clamp(28px, 4vw, 48px);
}
@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}
.footer-name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.footer-tag {
  font-family: var(--display);
  font-style: italic;
  color: var(--muted);
  margin: 0;
}
.footer-meta {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-soft);
  display: flex; flex-direction: column; gap: 6px;
}
.footer-meta p { margin: 0; }
.footer-meta a { border-bottom: 1px solid var(--hairline-strong); }
.footer-meta a:hover { border-color: var(--magenta); color: var(--purple); }
.footer-key {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  color: var(--purple);
  margin-right: 8px;
  width: 60px;
}
.footer-end {
  font-family: var(--body);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer-end p { margin: 0 0 4px; }
.footer-colophon {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
}

/* =========================================================
   ESSAY PAGE · The Success Paradox
   ========================================================= */
.essay {
  position: relative;
  padding: clamp(140px, 20vw, 220px) 0 var(--section-y);
}
.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;
}
.essay-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.essay-head { margin-bottom: clamp(44px, 7vw, 80px); }
.essay-kicker-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(28px, 5vw, 52px);
}
.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;
}
.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;
}
.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;
}
.essay-byline::after {
  content: '';
  height: 1px; flex: 1;
  background: var(--hairline-strong);
}

.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;
}
.essay-em {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.12em;
  color: var(--purple);
}
.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);
}

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

.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);
}
.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;
}

.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 ----- */
.hero--thesis { min-height: 92vh; }
@media (min-width: 900px) {
  .hero--thesis .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}
.thesis-figure {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 620px;
  justify-self: end;
}
@media (max-width: 899px) {
  .thesis-figure { justify-self: center; max-width: 440px; }
}
.thesis-figure svg { width: 100%; height: auto; display: block; }
.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 */
.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;
}
.chart-stroke--breaking {
  opacity: 0.28;
  stroke-dasharray: 3 10;
}
@keyframes erode {
  to { stroke-dashoffset: -132; }
}

/* orbit rings */
.ring circle:first-child {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-dasharray: 3 12;
  stroke-linecap: round;
  opacity: 0.55;
}
.ring--1 { animation: orbitspin 32s linear infinite; }
.ring--2 { animation: orbitspin 52s linear infinite reverse; }
.ring--3 { animation: orbitspin 76s linear infinite; }
@keyframes orbitspin {
  to { transform: rotate(360deg); }
}
.nucleus { animation: nucleuspulse 4.5s ease-in-out infinite; }
@keyframes nucleuspulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.78; }
}
.drifter { animation: drift 7s ease-in-out infinite alternate; }
.drifter--2 { animation-delay: 1.6s; }
.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 ----- */
.tsection { padding: var(--section-y) 0; position: relative; }
.tsection--tint {
  background: var(--paper-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.tsection-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section-close {
  max-width: var(--max);
  margin: clamp(36px, 6vw, 64px) auto 0;
  padding: 0 var(--pad-x);
}
.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) */
.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);
}
.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 ----- */
.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) { .turn-grid { grid-template-columns: repeat(3, 1fr); } }
.turn {
  padding: clamp(24px, 3.5vw, 38px) clamp(18px, 2.5vw, 28px);
  border-top: 1px solid var(--hairline);
}
@media (min-width: 780px) {
  .turn { border-right: 1px solid var(--hairline); }
  .turn:last-child { border-right: 0; }
}
.turn:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 780px) { .turn { border-bottom: 1px solid var(--hairline); } }
.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);
}
.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 */
.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) { .trap { grid-template-columns: 200px 1fr; align-items: baseline; } }
.trap-label {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0;
}
.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 ----- */
.timeline {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 48px;
  padding: clamp(22px, 3.5vw, 34px) 0;
  border-top: 1px solid var(--hairline);
}
.tl-item:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 720px) {
  .tl-item { grid-template-columns: 150px 1fr; align-items: baseline; }
}
.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;
}
.tl-time::after {
  content: '';
  position: absolute;
  left: 0; bottom: -7px;
  height: 2px; width: 26px;
  background: var(--grad);
}
.tl-item--dawn .tl-time {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.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;
}
.tl-close {
  max-width: var(--max);
  margin: clamp(30px, 5vw, 48px) auto 0;
  padding: 0 var(--pad-x);
}
.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;
}
.tl-close .grad-text { font-style: italic; }

/* ----- § IV · three layers ----- */
.layers {
  max-width: var(--max);
  margin: clamp(36px, 6vw, 64px) auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  gap: 0;
}
.layer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 48px;
  padding: clamp(24px, 4vw, 40px) 0;
  border-top: 1px solid var(--hairline);
}
.layer:last-of-type { border-bottom: 1px solid var(--hairline); }
@media (min-width: 860px) {
  .layer {
    grid-template-columns: 120px 280px 1fr;
    align-items: baseline;
  }
}
.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;
}
.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);
}
.layer p {
  font-family: var(--body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
}
.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;
}
.connects-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  margin: 0 6px 0 0;
}
.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 ----- */
.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)  { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .outcomes { grid-template-columns: repeat(3, 1fr); } }
.outcome {
  padding: clamp(24px, 3.5vw, 36px) clamp(18px, 2.5vw, 26px);
  border-top: 1px solid var(--hairline);
  transition: background 0.4s var(--ease);
}
.outcome:hover { background: var(--surface); }
@media (min-width: 640px) {
  .outcome { border-right: 1px solid var(--hairline); }
  .outcome:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1000px) {
  .outcome { border-right: 1px solid var(--hairline); }
  .outcome:nth-child(2n) { border-right: 1px solid var(--hairline); }
  .outcome:nth-child(3n) { border-right: 0; }
  .outcome:nth-child(n+4) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 999px) { .outcome:last-child { border-bottom: 1px solid var(--hairline); } }
.outcome-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--purple);
  display: inline-block;
  margin-bottom: 12px;
}
.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);
}
.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 ----- */
.nots {
  max-width: var(--max);
  margin: clamp(48px, 8vw, 88px) auto 0;
  padding: 0 var(--pad-x);
}
.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;
}
.nots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 780px) { .nots-grid { grid-template-columns: repeat(2, 1fr); } }
.not {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: clamp(22px, 3vw, 32px);
}
.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);
}
.not p {
  font-family: var(--body);
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* ----- § V · the three tracks ----- */
.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) { .tracks { grid-template-columns: repeat(3, 1fr); } }
.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);
}
.track:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(31, 27, 46, 0.18);
}
.track::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.track-tag {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.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);
}
.track-blurb {
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.track-receive {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  padding-top: 4px;
}
.track-receive-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--purple);
  display: block;
  margin: 0;
  padding: 10px 0 2px;
}
.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);
}
.track-receive li:last-child { border-bottom: 0; }
.dials {
  max-width: var(--max);
  margin: clamp(36px, 6vw, 60px) auto 0;
  padding: 0 var(--pad-x);
}
.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;
}
.dials b { color: var(--ink); font-weight: 600; }

/* ----- § VI · the window (dark close) ----- */
.window {
  padding: var(--section-y) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.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;
}
.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;
}
.window-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.window .section-tag { color: rgba(250, 248, 244, 0.7); }
.window .section-tag span { color: var(--magenta); }
.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;
}
.window-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.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;
}
.window-body b { color: var(--paper); font-weight: 600; }
.window-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: clamp(28px, 4vw, 40px);
}
.btn-light {
  background: var(--paper);
  color: var(--ink);
  padding: 16px 26px;
  font-size: 15px;
  border: 1px solid var(--paper);
}
.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -18px rgba(231, 41, 147, 0.5);
}
.btn-ghost-light {
  color: var(--paper);
  border: 1px solid rgba(250, 248, 244, 0.35);
  padding: 15px 24px;
  font-size: 15px;
}
.btn-ghost-light:hover {
  border-color: var(--magenta);
  background: rgba(231, 41, 147, 0.12);
}

/* =========================================================
   HOMEPAGE · THESIS BAND
   ========================================================= */
.thesis-band {
  padding: clamp(64px, 10vw, 130px) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.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;
}
.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) {
  .thesis-band-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
.thesis-band .section-tag { color: rgba(250, 248, 244, 0.7); }
.thesis-band .section-tag span { color: var(--magenta); }
.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);
}
.thesis-band-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.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;
}
.thesis-band-figure {
  margin: 0;
  justify-self: center;
  width: min(300px, 70vw);
}
@media (min-width: 880px) { .thesis-band-figure { justify-self: end; } }
.thesis-band-figure svg { width: 100%; height: auto; display: block; }
.thesis-band-figure .ring circle:first-child { stroke: rgba(250, 248, 244, 0.6); }

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

/* Hero stagger via inline delays in JS */

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-headline .underline path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

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

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

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