/* =========================================================
   Dr Kristyn Sommer — site.css
   Component + page styles, layered on foundations.css
   ========================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

img { max-width: 100%; display: block; }
.photo-tone { filter: contrast(1.04) saturate(0.88) brightness(0.94); }

/* ---------- Containers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--section-px);
  padding-right: var(--section-px);
}
.section { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.section-tight { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }

/* ---------- Nav (UI kit v2: centred italic links + text CTA) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 250, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-3) var(--ease-out),
              backdrop-filter var(--dur-3) var(--ease-out),
              border-color var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out);
}
.nav.nav--over-hero {
  background: linear-gradient(180deg, oklch(18% 0.010 240 / 0.45) 0%, oklch(18% 0.010 240 / 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav.nav--scrolled {
  background: rgba(252, 251, 250, 0.82);
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-bottom-color: color-mix(in oklch, var(--rule) 55%, transparent);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.45) inset,
              0 8px 24px -16px rgba(20, 20, 30, 0.12);
}
@supports not ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .nav, .nav.nav--scrolled { background: rgba(252, 251, 250, 0.97); }
}

.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(20px, 2vw, 28px) var(--section-px) clamp(16px, 1.6vw, 22px);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: clamp(24px, 4vw, 48px);
}

/* =============================================================
   WORDMARK · single source of truth
   New brand lockup: yellow rule | "Dr" tracked / "Kristyn" Gloock teal
   / "Sommer" Raleway charcoal · subtitle with yellow dot
   ============================================================= */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  font-size: 26px;             /* default — nav scale */
  line-height: 1;
  text-decoration: none;
  color: inherit;
}
.wordmark--lg { font-size: 80px; }    /* hero */
.wordmark--md { font-size: 44px; }    /* footer */
.wordmark--sm { font-size: 18px; }    /* mobile nav */
.wordmark--xs { font-size: 14px; }    /* favicon @ 128px */

.wordmark__row {
  display: flex;
  align-items: stretch;
  gap: 0.36em;
}
.wordmark__rule {
  width: 0.04em;
  min-width: 2px;
  background: var(--brand-yellow);
  flex-shrink: 0;
  align-self: stretch;
}
.wordmark__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.wordmark__dr {
  font-family: var(--font-sans);
  font-variation-settings: "wght" 400;
  font-weight: 400;
  font-size: 0.21em;
  letter-spacing: 0.4em;
  color: var(--brand-mid-grey);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.55em;
  padding-left: 0.05em;
}
.wordmark__kristyn {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--brand-teal);
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin-bottom: 0.05em;
}
.wordmark__sommer {
  font-family: var(--font-sans);
  font-variation-settings: "wght" 250;
  font-weight: 250;
  color: var(--brand-charcoal);
  line-height: 0.92;
  letter-spacing: -0.012em;
}
.wordmark__subtitle {
  font-family: var(--font-sans);
  font-variation-settings: "wght" 400;
  font-weight: 400;
  font-size: 0.18em;
  letter-spacing: 0.4em;
  color: var(--brand-soft-grey);
  text-transform: uppercase;
  align-self: flex-start;
  padding-left: 0.05em;
  margin-top: 0.95em;
  display: flex;
  align-items: center;
  gap: 0.55em;
  white-space: nowrap;
}
.wordmark__subtitle::before {
  content: '';
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  background: var(--brand-yellow);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-0.02em);
}

/* Dark surface variant */
.wordmark--on-dark .wordmark__dr        { color: rgba(255, 255, 255, 0.55); }
.wordmark--on-dark .wordmark__kristyn   { color: var(--brand-teal-light); }
.wordmark--on-dark .wordmark__sommer    { color: #E8E6E0; }
.wordmark--on-dark .wordmark__subtitle  { color: rgba(255, 255, 255, 0.5); }

/* =============================================================
   MONOGRAM · signature mark derived from the wordmark
   The yellow rule + a Gloock K (or stacked DKS in serif).
   Used at favicon, nav corner, hero corner stamp, footer mark.
   ============================================================= */
.monogram {
  display: inline-flex;
  align-items: stretch;
  gap: 0.32em;
  font-size: 32px;              /* default */
  line-height: 1;
  text-decoration: none;
  color: inherit;
}
.monogram--lg { font-size: 56px; }
.monogram--sm { font-size: 22px; }
.monogram--xs { font-size: 14px; }

.monogram__rule {
  width: 0.10em;
  min-width: 2px;
  background: var(--brand-yellow);
  align-self: stretch;
  flex-shrink: 0;
}
.monogram__letters {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.86;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.monogram__top {
  font-family: var(--font-sans);
  font-variation-settings: "wght" 500;
  font-weight: 500;
  font-size: 0.32em;
  letter-spacing: 0.36em;
  color: var(--brand-mid-grey);
  text-transform: uppercase;
  margin-bottom: 0.18em;
}
.monogram__k {
  color: var(--brand-teal);
  font-size: 1em;
}
.monogram__s {
  font-family: var(--font-sans);
  font-variation-settings: "wght" 250;
  font-weight: 250;
  font-size: 0.42em;
  color: var(--brand-charcoal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.16em;
}

/* Dark surface variant */
.monogram--on-dark .monogram__top { color: rgba(255, 255, 255, 0.55); }
.monogram--on-dark .monogram__k   { color: var(--brand-teal-light); }
.monogram--on-dark .monogram__s   { color: rgba(255, 255, 255, 0.75); }

.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 2.4vw, 38px); }
.nav-link {
  position: relative;
  font-family: var(--font-body); font-style: normal; font-weight: 700;
  font-size: 12px; color: var(--ink-mute); text-decoration: none;
  padding: 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color var(--dur-2) var(--ease-out),
              letter-spacing var(--dur-3) var(--ease-out);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--teal-deep);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-3) var(--ease-out),
              background-color var(--dur-3) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { color: var(--ink); letter-spacing: 0.135em; }
  .nav-link:hover::after { transform: scaleX(0.6); background-color: var(--ink-mute); }
}
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after { transform: scaleX(1); background-color: var(--teal-deep); }

.nav-actions { display: flex; justify-content: flex-end; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer;
  font-family: var(--font-body); font-style: normal; font-weight: 700;
  font-size: 12px; color: var(--ink); background: transparent; border: none;
  letter-spacing: 0.12em; padding: 8px 4px; text-decoration: none;
  text-transform: uppercase;
  transition: color var(--dur-2) var(--ease-out),
              letter-spacing var(--dur-3) var(--ease-out);
}
.nav-cta::before {
  content: ''; display: inline-block; width: 28px; height: 1px;
  background: currentColor; opacity: 0.55;
  transition: width var(--dur-3) var(--ease-soft), opacity var(--dur-2) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover { letter-spacing: 0.135em; }
  .nav-cta:hover::before { width: 40px; opacity: 0.85; }
}

/* Over-hero (dark) state */
.nav--over-hero .wordmark-line { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.nav--over-hero .wordmark-line .wm-italic { color: oklch(85% 0.11 195); }
.nav--over-hero .wordmark-desc { color: oklch(96% 0.005 240 / 0.85); text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.nav--over-hero .nav-link { color: oklch(96% 0.005 240 / 0.85); text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.nav--over-hero .nav-link.is-active { color: #fff; }
.nav--over-hero .nav-link.is-active::after { background: oklch(85% 0.11 195); }
.nav--over-hero .nav-cta { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }

.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--ink); margin-left: 8px;
  border-radius: 999px;
  transition: background-color var(--dur-2) var(--ease-out),
              transform var(--dur-1) var(--ease-out);
}
.nav-burger:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .nav-burger:hover { background: color-mix(in oklch, var(--ink) 6%, transparent); }
}
.nav-burger [data-lucide] { width: 22px; height: 22px; stroke-width: 1.5; }
.nav--over-hero .nav-burger { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .nav--over-hero .nav-burger:hover { background: rgba(255,255,255,0.12); }
}

/* ---------- Mobile nav drawer (full-screen overlay) ---------- */
.nav-drawer {
  position: fixed; inset: 0; z-index: 60;
  background: #fcfbfa;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: clamp(20px, 4vw, 32px) var(--section-px);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--dur-3) var(--ease-out),
              transform var(--dur-3) var(--ease-soft);
}
.nav-drawer.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--rule);
}
.drawer-close {
  background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink);
}
.drawer-close [data-lucide] { width: 24px; height: 24px; stroke-width: 1.5; }
.drawer-links {
  display: flex; flex-direction: column; gap: 4px;
  padding: clamp(32px, 5vw, 56px) 0;
}
.drawer-link {
  font-family: var(--font-body); font-style: normal; font-weight: 700;
  font-size: 18px; line-height: 1.4;
  letter-spacing: 0.10em; color: var(--ink);
  text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: color var(--dur-2) var(--ease-out),
              letter-spacing var(--dur-3) var(--ease-out);
}
.nav-drawer.is-open .drawer-link {
  animation: drawerLinkIn 360ms var(--ease-soft) forwards;
  animation-delay: calc(80ms + var(--i, 0) * 50ms);
}
@keyframes drawerLinkIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (hover: hover) and (pointer: fine) {
  .drawer-link:hover { color: var(--teal-deep); letter-spacing: 0.115em; }
}
.drawer-link.is-active {
  color: var(--teal-deep);
}
.drawer-link.is-active::before {
  content: '· '; color: var(--teal-deep); margin-right: 2px;
}
.drawer-cta { margin-top: auto; padding-top: clamp(20px, 4vw, 32px); }
.drawer-cta .btn { width: 100%; justify-content: space-between; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  padding: 14px 22px 14px 26px; border-radius: 999px; border: none;
  text-decoration: none; min-height: 48px; box-sizing: border-box;
  letter-spacing: 0.005em;
  transform: translateZ(0);  /* promote to its own layer for crisp transitions */
  transition: transform var(--dur-1) var(--ease-out),
              background-color var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              letter-spacing var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out);
}
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { letter-spacing: 0.012em; }
  .btn:hover .cta-arrow { transform: translate(3px, -3px); }
}
.btn-primary {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.06) inset,
              0 6px 16px -10px rgba(20, 20, 30, 0.35);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: color-mix(in oklch, var(--ink) 92%, var(--teal-deep));
    box-shadow: 0 1px 0 0 rgba(255,255,255,0.08) inset,
                0 10px 28px -14px rgba(20, 20, 30, 0.45);
  }
}
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); padding: 14px 22px; }
@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background: color-mix(in oklch, var(--ink) 6%, transparent);
    border-color: color-mix(in oklch, var(--ink) 88%, var(--teal-deep));
  }
}
.btn-on-dark { background: var(--bg); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-on-dark:hover { background: color-mix(in oklch, var(--bg) 92%, var(--brand-yellow)); }
}
.btn-secondary-on-dark { background: transparent; color: var(--bg); border: 1.5px solid var(--bg); padding: 14px 22px; }
@media (hover: hover) and (pointer: fine) {
  .btn-secondary-on-dark:hover { background: color-mix(in oklch, var(--bg) 12%, transparent); }
}
.cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--teal); color: var(--ink); font-size: 14px; font-weight: 700;
  transition: transform var(--dur-3) var(--ease-soft),
              background-color var(--dur-2) var(--ease-out);
}
.btn-link {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--teal-deep); text-decoration: none;
  border-bottom: 1px solid var(--teal-deep); padding-bottom: 1px;
  transition: color var(--dur-2) var(--ease-out),
              border-bottom-color var(--dur-2) var(--ease-out),
              letter-spacing var(--dur-3) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-link:hover {
    color: color-mix(in oklch, var(--teal-deep) 80%, var(--ink));
    border-bottom-color: color-mix(in oklch, var(--teal-deep) 80%, var(--ink));
    letter-spacing: 0.01em;
  }
}

/* ---------- Eyebrow / accents (already in foundations, augment) ---------- */
.eyebrow { display: inline-block; margin-bottom: 16px; }
.eyebrow--cool { color: var(--teal-deep); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-card-outer); padding: 12px;
}
.card-inner {
  background: var(--bg); border-radius: var(--r-card-inner);
  padding: clamp(28px, 3.5vw, 56px);
}

/* ---------- Tile grid (hover lift) ---------- */
.tile {
  background: var(--bg); padding: clamp(24px, 2.4vw, 36px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 24px; text-decoration: none; color: var(--ink);
  min-height: 280px;
  position: relative;
  transition: background-color var(--dur-3) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover { background: var(--paper-2); }
}
.tile h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  line-height: 1.15; margin: 0; color: var(--ink); letter-spacing: -0.01em;
}
.tile p {
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  line-height: 1.6; color: var(--ink-soft); margin-top: 12px; max-width: 32ch;
}
.tile-num {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  font-size: 14px; color: var(--teal-deep);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(86vh, 860px);
  overflow: hidden; background: var(--ink);
}
.hero--short { min-height: min(48vh, 520px); }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(18% 0.010 240 / 0.45) 0%, oklch(18% 0.010 240 / 0.55) 35%, oklch(18% 0.010 240 / 0.92) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto;
  padding: clamp(96px, 14vw, 200px) var(--section-px) clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px);
}
.hero--short .hero-inner {
  padding-top: clamp(80px, 10vw, 160px);
  padding-bottom: clamp(48px, 6vw, 96px);
  grid-template-columns: 8fr 4fr;
}
.hero h1 {
  color: #fff; margin: 0; max-width: 14ch;
  font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04;
  letter-spacing: -0.014em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.hero h1 .accent,
.hero h1 .accent--cool {
  color: oklch(82% 0.10 195);
}
.hero--short h1 { font-size: clamp(34px, 4.4vw, 60px); max-width: 22ch; }
.hero-deck {
  font-family: var(--font-body); font-weight: 600; font-size: 19px;
  line-height: 1.55; color: #fff;
  margin-top: 28px; max-width: 52ch;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-eyebrow {
  font-family: var(--font-body); font-style: italic; font-weight: 600;
  font-size: 16px; color: oklch(82% 0.10 195); margin-bottom: 24px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-credit {
  position: absolute; left: var(--section-px); bottom: 24px; z-index: 2;
  font-family: var(--font-body); font-style: italic; font-size: 13px;
  color: #fff; opacity: 0.85; text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ---------- Section header ---------- */
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 {
  font-size: var(--display-l); line-height: 1.08;
  letter-spacing: -0.012em; max-width: 22ch;
}

/* ---------- Asymmetric tile grid ---------- */
.tile-grid-4 {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 18px; overflow: hidden;
}
.tile-grid-4 .tile.feature { min-height: 360px; }
.tile-grid-4 .tile.feature h3 { font-size: 32px; }

/* ---------- "Currently" list ---------- */
.currently-grid {
  display: grid; grid-template-columns: 1fr 3fr;
  gap: clamp(28px, 4vw, 80px); align-items: start;
}
.currently-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 24px; padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.currently-row:first-child { border-top: 1px solid var(--rule); }
.currently-num {
  font-family: var(--font-display); font-weight: 700;
  color: var(--teal-deep); font-size: 17px; font-variant-numeric: tabular-nums;
}
.currently-text {
  font-family: var(--font-body); font-weight: 500; font-size: 17px;
  color: var(--ink); line-height: 1.55;
}
.currently-date {
  font-family: var(--font-body); font-style: italic;
  color: var(--ink-mute); font-size: 14px; white-space: nowrap;
}

/* ---------- Paper / list rows ---------- */
.paper-row {
  display: grid; grid-template-columns: 2fr 5fr 1fr;
  gap: clamp(20px, 4vw, 80px);
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.paper-row:last-child { border-bottom: 1px solid var(--rule); }
.paper-meta { font-family: var(--font-body); font-style: italic; font-weight: 500; font-size: 13px; color: var(--ink-mute); margin-bottom: 4px; letter-spacing: 0; }
.paper-tag { font-family: var(--font-body); font-style: italic; font-size: 12px; color: var(--ink-mute); }
.paper-title { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.18; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.paper-body { font-family: var(--font-body); font-weight: 500; font-size: 19px; line-height: 1.6; color: var(--ink); margin-top: 14px; max-width: 60ch; }

/* ---------- About card (full-bleed photo with gradient) ---------- */
.about-card-inner {
  position: relative; border-radius: var(--r-card-inner); overflow: hidden;
  min-height: 540px; background: var(--ink);
}
.about-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 30%;
  filter: contrast(1.04) saturate(0.92) brightness(0.96);
}
.about-card-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    oklch(18% 0.010 240 / 0.88) 0%,
    oklch(18% 0.010 240 / 0.78) 38%,
    oklch(18% 0.010 240 / 0.30) 62%,
    oklch(18% 0.010 240 / 0) 88%);
}
.about-card-content {
  position: relative; z-index: 2;
  padding: clamp(40px, 5vw, 80px);
  max-width: 60%;
}
@media (max-width: 980px) {
  .about-card-gradient {
    background: linear-gradient(180deg,
      oklch(18% 0.010 240 / 0.30) 0%,
      oklch(18% 0.010 240 / 0.65) 45%,
      oklch(18% 0.010 240 / 0.92) 100%);
  }
  .about-card-content { max-width: 100%; padding-top: clamp(220px, 32vw, 320px); }
}

/* ---------- Work rows (typographic 3-row stack, editorial) ---------- */
.work-rows {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
  margin-top: clamp(28px, 3vw, 48px);
}
.work-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.2fr) minmax(0, 4fr) auto;
  gap: clamp(20px, 4vw, 80px);
  align-items: center;
  padding: clamp(22px, 2.4vw, 32px) clamp(8px, 1.5vw, 16px);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: background-color var(--dur-3) var(--ease-out),
              padding var(--dur-3) var(--ease-out);
}
.work-row .work-num,
.work-row .work-body {
  transition: transform var(--dur-4) var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .work-row:hover { background: var(--paper-2); }
  .work-row:hover .work-arrow { transform: translate(3px, -3px); }
  .work-row:hover .work-num,
  .work-row:hover .work-body { transform: translateX(3px); }
}
.work-num {
  font-family: var(--font-body); font-style: italic; font-weight: 600;
  font-size: 14px; color: var(--teal-deep);
  letter-spacing: 0;
}
.work-body {
  display: flex; flex-direction: column; gap: 4px;
}
.work-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15;
  letter-spacing: -0.012em; color: var(--ink); margin: 0;
}
.work-title .accent--cool {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  color: var(--teal-deep);
}
.work-desc {
  font-family: var(--font-body); font-weight: 500;
  font-size: 16px; line-height: 1.55; color: var(--ink-soft);
  margin: 0; max-width: 50ch;
}
.work-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--teal); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  transition: transform 280ms var(--ease-soft);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .work-row { grid-template-columns: 1fr auto; gap: 12px; padding: 22px 8px; }
  .work-num { grid-column: 1 / -1; margin-bottom: -4px; }
}

/* ---------- Currently inline strip (lives inside about card) ---------- */
.currently-inline {
  margin-top: clamp(24px, 2.8vw, 36px);
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 1px solid var(--rule);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  font-size: 15px; line-height: 1.55; color: var(--ink-soft);
}
.currently-inline .pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 999px;
  background: var(--teal-deep); transform: translateY(-1px);
}
.currently-inline .label {
  font-family: var(--font-body); font-style: italic; font-weight: 600;
  color: var(--teal-deep); font-size: 14px;
}
.currently-inline .text { flex: 1; min-width: 240px; max-width: 60ch; }
.currently-inline .text .accent--cool {
  font-family: var(--font-body); font-style: italic; font-weight: 600;
  color: var(--teal-deep);
}

/* ---------- Atmosphere section (full-bleed photo backdrop, type on top) ---------- */
.atmosphere {
  position: relative; overflow: hidden;
  padding: clamp(80px, 10vw, 160px) 0;
  isolation: isolate;
  background: var(--ink);
}
.atmosphere-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: contrast(1.04) saturate(0.78) brightness(0.78);
}
.atmosphere::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    oklch(18% 0.010 240 / 0.62) 0%,
    oklch(18% 0.010 240 / 0.78) 60%,
    oklch(18% 0.010 240 / 0.94) 100%);
}
.atmosphere-inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--section-px);
}
.atmosphere h2 {
  color: #fff; max-width: 18ch;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.atmosphere h2 .accent--cool,
.atmosphere h2 .accent { color: oklch(85% 0.11 195); }
.atmosphere .eyebrow,
.atmosphere .eyebrow--cool { color: oklch(85% 0.11 195); }
.atmosphere .deck {
  font-family: var(--font-body); font-weight: 500; font-size: 18px;
  line-height: 1.55; color: oklch(96% 0.005 240 / 0.92);
  margin-top: 16px; max-width: 56ch;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.atmosphere-credit {
  position: absolute; bottom: 20px; left: var(--section-px); z-index: 2;
  font-family: var(--font-body); font-style: italic; font-size: 13px;
  color: oklch(96% 0.005 240 / 0.85); text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Doors-on-atmosphere: hairline-divided typographic rows, white type */
.atmosphere .work-rows {
  border-top-color: oklch(96% 0.005 240 / 0.25);
  margin-top: clamp(36px, 4vw, 56px);
}
.atmosphere .work-row {
  border-bottom-color: oklch(96% 0.005 240 / 0.25);
  color: #fff;
}
.atmosphere .work-row:hover { background: oklch(96% 0.005 240 / 0.06); }
.atmosphere .work-num {
  color: oklch(85% 0.11 195);
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.atmosphere .work-title {
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.atmosphere .work-title .accent--cool { color: oklch(85% 0.11 195); }
.atmosphere .work-desc {
  color: oklch(96% 0.005 240 / 0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.atmosphere .work-arrow { background: var(--bg); color: var(--ink); }

/* ---------- Atmospheric chapter break (single italic pull-quote) ---------- */
.chapter-break {
  position: relative; overflow: hidden;
  min-height: clamp(360px, 42vw, 520px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(80px, 10vw, 144px) clamp(28px, 5vw, 80px);
  isolation: isolate;
  background: var(--ink);
}
.chapter-break-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: contrast(1.02) saturate(0.7) brightness(0.7);
}
.chapter-break::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 50%, oklch(18% 0.010 240 / 0.45) 0%, oklch(18% 0.010 240 / 0.85) 100%);
}
.chapter-break blockquote {
  position: relative; z-index: 2; max-width: 24ch;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.18;
  letter-spacing: -0.012em; color: #fff;
  text-align: center; margin: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.chapter-break blockquote .accent,
.chapter-break blockquote .accent--cool {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  color: oklch(85% 0.11 195);
}
.chapter-break-credit {
  position: absolute; bottom: 16px; right: clamp(28px, 5vw, 80px); z-index: 2;
  font-family: var(--font-body); font-style: italic; font-size: 12px;
  color: oklch(96% 0.005 240 / 0.7);
}

/* ---------- About-card portrait: integrated treatment (photo softened) ---------- */
.about-split-photo--soft img {
  filter: contrast(1.02) saturate(0.82) brightness(0.96);
}
.about-split-photo--soft::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    oklch(98.8% 0.004 95 / 0) 60%,
    oklch(98.8% 0.004 95 / 0.55) 100%);
  pointer-events: none;
}

/* ---------- Bento doors (asymmetric editorial spread, photo-led) ---------- */
.work-bento {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  grid-auto-rows: minmax(280px, clamp(280px, 26vw, 340px));
  gap: 14px;
  margin-top: clamp(24px, 3vw, 40px);
}
.work-tile {
  position: relative; overflow: hidden;
  border: 1px solid var(--rule); border-radius: 22px;
  background: var(--bg);
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  transition: transform var(--dur-4) var(--ease-soft),
              background-color var(--dur-3) var(--ease-out),
              border-color var(--dur-3) var(--ease-out),
              box-shadow var(--dur-4) var(--ease-soft);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .work-tile:hover {
    transform: translateY(-3px);
    border-color: color-mix(in oklch, var(--rule) 55%, var(--ink-mute));
    box-shadow: 0 18px 40px -28px rgba(20, 20, 30, 0.25),
                0 4px 10px -8px rgba(20, 20, 30, 0.12);
  }
  .work-tile:hover .work-tile-arrow { transform: translate(3px, -3px); }
}

/* Feature tile — full-bleed photo with bottom-overlay caption */
.work-tile--feature {
  grid-row: span 2;
  background: var(--ink);
}
.work-tile--feature .work-tile-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.88) brightness(0.94);
}
.work-tile--feature::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    oklch(18% 0.010 240 / 0) 40%,
    oklch(18% 0.010 240 / 0.55) 70%,
    oklch(18% 0.010 240 / 0.92) 100%);
}
.work-tile--feature .work-tile-body {
  position: relative; z-index: 2; margin-top: auto;
  padding: clamp(28px, 3vw, 44px);
  color: #fff;
}
.work-tile--feature .work-tile-num {
  font-family: var(--font-body); font-style: italic; font-weight: 600;
  font-size: 14px; color: oklch(85% 0.11 195);
  margin-bottom: 12px; display: block;
}
.work-tile--feature h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.1;
  letter-spacing: -0.012em; margin: 0; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.work-tile--feature h3 .accent--cool {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  color: oklch(85% 0.11 195);
}
.work-tile--feature .work-tile-desc {
  font-family: var(--font-body); font-weight: 500; font-size: 16px;
  line-height: 1.55; color: oklch(96% 0.005 240 / 0.92);
  margin-top: 12px; max-width: 42ch;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.work-tile--feature .work-tile-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px;
}
.work-tile--feature .work-tile-foot-meta {
  font-family: var(--font-body); font-style: italic; font-size: 13px;
  color: oklch(96% 0.005 240 / 0.85);
}

/* Side tiles — half-photo half-text */
.work-tile--side {
  display: grid; grid-template-rows: minmax(0, 1.3fr) minmax(0, 1fr);
  background: var(--bg); overflow: hidden;
}
.work-tile--side:hover { background: var(--paper-2); }
.work-tile--side .work-tile-photo {
  position: relative; background: var(--paper); overflow: hidden;
}
.work-tile--side .work-tile-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.88) brightness(0.94);
}
.work-tile--side .work-tile-body {
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 24px);
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--rule); overflow: hidden;
}
.work-tile--side .work-tile-num {
  font-family: var(--font-body); font-style: italic; font-weight: 600;
  font-size: 13px; color: var(--teal-deep);
}
.work-tile--side h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  line-height: 1.15; letter-spacing: -0.012em; margin: 0;
}
.work-tile--side h3 .accent--cool {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  color: var(--teal-deep);
}
.work-tile--side .work-tile-desc {
  font-family: var(--font-body); font-size: 14px; line-height: 1.5;
  color: var(--ink-soft); margin: 0; max-width: 32ch;
}
.work-tile--side .work-tile-foot {
  margin-top: auto; padding-top: 6px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-body); font-style: italic; font-size: 12px;
  color: var(--ink-mute);
}
.work-tile-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--teal); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  transition: transform 280ms var(--ease-soft);
  flex-shrink: 0;
}
.work-tile--feature .work-tile-arrow { background: var(--bg); color: var(--ink); }

@media (max-width: 980px) {
  .work-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .work-tile--feature { grid-row: auto; min-height: 380px; }
  .work-tile--side { grid-template-rows: 240px auto; }
}

/* ---------- "In public" photo strip (editorial montage) ---------- */
.in-public {
  padding: clamp(48px, 6vw, 96px) 0;
}
.in-public-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: clamp(28px, 3vw, 48px);
}
.in-public-frame {
  position: relative; overflow: hidden; border-radius: 18px;
  background: var(--paper);
}
.in-public-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.04) saturate(0.88) brightness(0.94);
  transition: transform 700ms var(--ease-soft);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .in-public-frame:hover img { transform: scale(1.035); }
}
.in-public-cap {
  font-family: var(--font-body); font-style: italic; font-size: 13px;
  color: var(--ink-mute); margin-top: 10px; line-height: 1.4;
}
.ip-1 { grid-column: span 5; aspect-ratio: 5 / 6; }
.ip-2 { grid-column: span 4; aspect-ratio: 4 / 5; align-self: end; }
.ip-3 { grid-column: span 3; aspect-ratio: 3 / 4; }
.ip-4 { grid-column: span 4; aspect-ratio: 4 / 3; }
.ip-5 { grid-column: span 4; aspect-ratio: 4 / 5; }
.ip-6 { grid-column: span 4; aspect-ratio: 4 / 3; align-self: end; }
@media (max-width: 980px) {
  .in-public-grid { grid-template-columns: repeat(6, 1fr); }
  .ip-1, .ip-2, .ip-3, .ip-4, .ip-5, .ip-6 { grid-column: span 3; aspect-ratio: 4/5; align-self: auto; }
}
@media (max-width: 600px) {
  .in-public-grid { grid-template-columns: 1fr 1fr; }
  .ip-1, .ip-2, .ip-3, .ip-4, .ip-5, .ip-6 { grid-column: span 1; aspect-ratio: 4/5; }
}

/* ---------- Featured-research rows: add image column ---------- */
.paper-row--photo {
  grid-template-columns: 1.4fr 2fr 4fr 1fr !important;
}
.paper-row--photo .paper-photo {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border-radius: 14px; background: var(--paper);
}
.paper-row--photo .paper-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.88) brightness(0.94);
}
@media (max-width: 980px) {
  .paper-row--photo { grid-template-columns: 1fr !important; }
  .paper-row--photo .paper-photo { aspect-ratio: 4/3; max-width: 280px; }
}

/* ---------- 2-photo speaking split (recognised + behind the scenes) ---------- */
.speaking-photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--rule);
}
.speaking-photos .frame { position: relative; background: var(--ink); overflow: hidden; }
.speaking-photos .frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.88) brightness(0.94);
}

/* ---------- Doors (kit v2: photo-top tile) ---------- */
.doors {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.door {
  display: flex; flex-direction: column; background: var(--bg);
  text-decoration: none; color: var(--ink); overflow: hidden;
  border: 1px solid var(--rule); border-radius: 18px;
  transition: background-color var(--dur-3) var(--ease-out),
              transform var(--dur-4) var(--ease-soft),
              border-color var(--dur-3) var(--ease-out),
              box-shadow var(--dur-4) var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .door:hover {
    background: var(--paper-2);
    transform: translateY(-2px);
    border-color: color-mix(in oklch, var(--rule) 55%, var(--ink-mute));
    box-shadow: 0 14px 32px -22px rgba(20, 20, 30, 0.22);
  }
  .door:hover .door-img { transform: scale(1.025); }
}
.door-img {
  aspect-ratio: 4 / 3; background-size: cover; background-position: center;
  filter: contrast(1.04) saturate(0.88) brightness(0.94);
  transition: transform 700ms var(--ease-soft);
  will-change: transform;
}
.door-body {
  padding: 18px 22px 22px; border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.door-num {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  font-size: 13px; letter-spacing: 0; color: var(--teal-deep);
}
.door h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  line-height: 1.1; letter-spacing: -0.012em; color: var(--ink); margin: 0;
}
.door p {
  font-family: var(--font-body); font-size: 14px; line-height: 1.5;
  color: var(--ink-soft); margin: 0; flex: 1;
}
.door-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; border-top: 1px solid var(--rule); margin-top: 4px;
  font-family: var(--font-body); font-style: italic; font-size: 12px; color: var(--ink-mute);
}
.door-arrow {
  width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; color: var(--ink); font-style: normal;
  transition: background-color var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out),
              transform var(--dur-3) var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .door:hover .door-arrow { background: var(--ink); color: var(--bg); transform: translate(2px, -2px); }
}
@media (max-width: 980px) { .doors { grid-template-columns: 1fr; } }

/* ---------- Currently statement (kit v2) ---------- */
.currently-statement {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.8vw, 36px); line-height: 1.32;
  color: var(--ink); letter-spacing: -0.01em; margin: 0; max-width: 38ch;
}
.currently-statement .accent--cool {
  font-family: var(--font-body); font-style: italic; font-weight: 600;
  color: var(--teal-deep);
}
/* Footer wordmark mirrors the nav wordmark exactly; nothing ornamental. */
.wordmark--footer { display: inline-flex; flex-direction: column; gap: 4px; }
.footer-bio {
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  line-height: 1.6; color: var(--ink-soft);
  margin-top: 18px; max-width: 40ch;
}
.footer-bio em {
  font-style: italic; font-weight: 600; color: var(--teal-deep);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--rule);
  padding: clamp(48px, 6vw, 96px) var(--section-px) 32px;
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 80px);
}
.footer-col-title {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  font-size: 13px; color: var(--teal-deep); margin-bottom: 16px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a {
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.footer-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-list a [data-lucide],
.footer-list a .footer-brand-icon {
  width: 16px; height: 16px; color: var(--ink-soft);
  stroke-width: 1.5; flex-shrink: 0;
}
.footer-bottom {
  max-width: var(--container); margin: 64px auto 0;
  padding-top: 24px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-body); font-style: italic; font-size: 13px; color: var(--ink-mute);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field-label {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  font-size: 13px; color: var(--ink-soft);
}
.field-label.is-accent { color: var(--amber); }
.input, .select, .textarea {
  font-family: var(--font-body); font-weight: 500; font-size: 16px;
  color: var(--ink); padding: 12px 14px; background: var(--bg);
  border: 1px solid var(--rule); border-radius: 12px; outline: none; width: 100%;
  transition: border-color var(--dur-2) var(--ease-out),
              background-color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover {
  border-color: color-mix(in oklch, var(--rule) 40%, var(--ink-mute));
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--teal-deep) 14%, transparent);
}

/* ---------- Modal ---------- */
.modal-scrim {
  position: fixed; inset: 0; z-index: 100;
  background: oklch(18% 0.025 70 / 0.55);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: scrimIn var(--dur-3) var(--ease-out);
}
.modal {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 28px; padding: 12px; max-width: 580px; width: 100%;
  max-height: calc(100vh - 48px); overflow: auto;
  box-shadow: 0 30px 80px -30px rgba(20, 20, 30, 0.35),
              0 8px 24px -16px rgba(20, 20, 30, 0.18);
  animation: modalIn var(--dur-4) var(--ease-soft);
}
.modal-inner { background: var(--bg); border-radius: 18px; padding: clamp(28px, 4vw, 40px); }
.is-hidden { display: none !important; }
@keyframes scrimIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .modal-scrim, .modal { animation: none; }
}

/* ---------- Quote / pull ---------- */
.pull {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.18;
  color: var(--ink); letter-spacing: -0.01em; max-width: 26ch;
}

/* ---------- Stat grid ---------- */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 18px; overflow: hidden;
}
.stat {
  background: var(--bg); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3vw, 44px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.stat-label { font-family: var(--font-body); font-style: italic; font-size: 14px; color: var(--ink-soft); }

/* ---------- Definition list / labelled rows ---------- */
.def-list { display: flex; flex-direction: column; }
.def-row {
  display: grid; grid-template-columns: 1.2fr 4fr;
  gap: clamp(20px, 3vw, 56px);
  padding: 22px 0; border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.def-row:first-child { border-top: 1px solid var(--rule); }
.def-term { font-family: var(--font-body); font-style: italic; font-weight: 500; font-size: 15px; color: var(--teal-deep); }
.def-desc { font-family: var(--font-body); font-weight: 500; font-size: 17px; line-height: 1.55; color: var(--ink); }
.def-desc small { display: block; color: var(--ink-mute); font-size: 14px; margin-top: 4px; font-style: italic; }

/* ---------- Filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--rule); color: var(--ink);
  transition: background-color var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              transform var(--dur-1) var(--ease-out);
}
.chip:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .chip:hover { background: var(--paper-2); border-color: color-mix(in oklch, var(--rule) 50%, var(--ink-mute)); }
}
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-count { opacity: 0.6; font-weight: 500; }

/* ---------- Resource cards ---------- */
.resource-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 18px; overflow: hidden;
}
.resource-card {
  background: var(--bg); padding: 28px;
  display: flex; flex-direction: column; gap: 16px; min-height: 280px;
  text-decoration: none; color: var(--ink);
  transition: background-color var(--dur-3) var(--ease-out);
}
.resource-card .open .arrow {
  transition: transform var(--dur-3) var(--ease-soft),
              background-color var(--dur-2) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .resource-card:hover { background: var(--paper-2); }
  .resource-card:hover .open .arrow { transform: translate(2px, -2px); }
}
.resource-card .meta {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--font-body); font-style: italic; font-size: 13px; color: var(--teal-deep);
}
.resource-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.18; margin: 0; letter-spacing: -0.01em; }
.resource-card p { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 36ch; }
.resource-card .open { margin-top: auto; font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.resource-card .open .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px; background: var(--teal); color: var(--ink); font-size: 12px;
}

/* ---------- Topic / talk listings ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.topic { background: var(--bg); padding: 32px; }
.topic h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.18; margin: 0 0 12px; letter-spacing: -0.01em; }
.topic p { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 50ch; }
.topic .audience { font-family: var(--font-body); font-style: italic; font-size: 13px; color: var(--teal-deep); margin-top: 14px; }

.talk-row {
  display: grid; grid-template-columns: 0.7fr 2.5fr 1fr 0.8fr;
  gap: clamp(16px, 2.5vw, 40px);
  padding: 22px 0; border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background-color var(--dur-3) var(--ease-out),
              padding-left var(--dur-3) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .talk-row:hover {
    background: color-mix(in oklch, var(--paper-2) 55%, transparent);
    padding-left: 8px;
  }
}
.talk-row:first-child { border-top: 1px solid var(--rule); }
.talk-date { font-family: var(--font-body); font-style: italic; font-size: 14px; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.talk-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--ink); letter-spacing: -0.005em; }
.talk-event { font-family: var(--font-body); font-size: 15px; color: var(--ink-soft); font-style: italic; }
.talk-loc { font-family: var(--font-body); font-size: 14px; color: var(--ink-mute); justify-self: end; text-align: right; }

/* ---------- Media list ---------- */
.media-row {
  display: grid; grid-template-columns: 1fr 4fr 1fr;
  gap: clamp(16px, 2.5vw, 40px);
  padding: 22px 0; border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background-color var(--dur-3) var(--ease-out),
              padding-left var(--dur-3) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .media-row:hover {
    background: color-mix(in oklch, var(--paper-2) 55%, transparent);
    padding-left: 8px;
  }
}
.media-row:first-child { border-top: 1px solid var(--rule); }
.media-outlet { font-family: var(--font-body); font-style: italic; font-weight: 500; font-size: 15px; color: var(--teal-deep); }
.media-title { font-family: var(--font-body); font-size: 17px; color: var(--ink); line-height: 1.4; font-weight: 500; }
.media-date { font-family: var(--font-body); font-size: 13px; color: var(--ink-mute); font-style: italic; justify-self: end; }

/* ---------- Bio length switcher ---------- */
.bio-tabs { display: flex; gap: 4px; padding: 4px; background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; width: fit-content; margin-bottom: 24px; }
.bio-tab {
  cursor: pointer; padding: 8px 18px; border-radius: 999px; border: none; background: transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--ink-soft);
  transition: background-color var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out),
              transform var(--dur-1) var(--ease-out);
}
.bio-tab:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .bio-tab:hover:not(.is-active) { color: var(--ink); }
}
.bio-tab.is-active { background: var(--ink); color: var(--bg); }
.bio-content { display: none; }
.bio-content.is-active { display: block; }
.bio-content p { font-family: var(--font-body); font-weight: 500; font-size: 18px; line-height: 1.62; color: var(--ink); max-width: 58ch; }
.bio-content p + p { margin-top: 16px; }

/* ---------- Theme cards (Research) ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.theme { background: var(--bg); padding: 32px; min-height: 280px; display: flex; flex-direction: column; gap: 16px; }
.theme .num { font-family: var(--font-body); font-style: italic; font-size: 14px; color: var(--teal-deep); }
.theme h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.theme p { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 38ch; }

/* ---------- Take part teaser ---------- */
.take-part {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-card-outer); padding: 12px;
}
.take-part-inner {
  background: var(--bg); border-radius: var(--r-card-inner);
  padding: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

/* ---------- Mark ---------- */
.mark {
  background: linear-gradient(transparent 60%, var(--teal) 60%);
  padding: 0 0.05em;
}
.accent { font-style: italic; font-weight: inherit; color: var(--amber); }
.accent--cool { font-style: italic; font-weight: inherit; color: var(--teal-deep); }

/* ---------- Recognition list ---------- */
.recog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.recog { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.recog .yr { font-family: var(--font-body); font-style: italic; font-size: 13px; color: var(--teal-deep); }
.recog h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.25; margin: 0; letter-spacing: -0.005em; }
.recog p { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ---------- Photo + caption ---------- */
.photo-frame { position: relative; border-radius: 18px; overflow: hidden; background: var(--paper); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; filter: contrast(1.04) saturate(0.88) brightness(0.94); }
.photo-caption { font-family: var(--font-body); font-style: italic; font-size: 13px; color: var(--ink-mute); margin-top: 10px; }

/* ---------- About card 5/7 split (portrait left, text right) ---------- */
.about-split {
  display: grid; grid-template-columns: 5fr 7fr; gap: 0;
  border-radius: var(--r-card-inner); overflow: hidden;
}
.about-split-photo {
  position: relative; min-height: 480px; background: var(--paper);
}
.about-split-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.04) saturate(0.88) brightness(0.94);
}
.about-split-text { padding: clamp(36px, 4.5vw, 72px); background: var(--bg); }

/* ---------- Section-entrance reveal (IntersectionObserver fade-up) ----------
   Slightly larger throw + longer duration with ease-soft for a heavier, editorial feel.
   `--reveal-delay` is set on the element for stagger by JS (defaults to 0). */
.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity var(--dur-5) var(--ease-soft),
              transform var(--dur-5) var(--ease-soft);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}
.reveal.is-in { opacity: 1; transform: translate3d(0, 0, 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Engagement strip (TikTok / Instagram / podcast snapshot) ---------- */
.reach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--rule); border: 1px solid var(--rule);
  border-radius: 18px; overflow: hidden;
}
.reach {
  background: var(--bg); padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: var(--ink);
  transition: background-color var(--dur-3) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .reach:hover { background: var(--paper-2); }
}
.reach-platform {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  font-size: 14px; color: var(--teal-deep);
}
.reach-handle {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  line-height: 1.18; letter-spacing: -0.005em; color: var(--ink); margin: 0;
}
.reach-note {
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  color: var(--ink-soft); line-height: 1.55; margin: 0;
}
@media (max-width: 980px) {
  .reach-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-split-photo { min-height: 360px; }
}

/* ---------- Trust list (scannable bullets) ---------- */
.trust-list {
  list-style: none; padding: 0; margin: clamp(20px, 2.5vw, 32px) 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.trust-list li {
  font-family: var(--font-body); font-weight: 500; font-size: 16px;
  line-height: 1.55; color: var(--ink-soft); max-width: 60ch;
  padding-left: 18px; position: relative;
}
.trust-list li::before {
  content: '·'; position: absolute; left: 0; top: -2px;
  color: var(--teal-deep); font-weight: 700; font-size: 18px;
}
.trust-list .lead {
  font-style: italic; font-weight: 600; color: var(--ink);
  margin-right: 4px;
}

/* ---------- Utilities (replace recurring inline styles) ---------- */
.prose-60 { max-width: 60ch; }
.prose-50 { max-width: 50ch; }
.prose-46 { max-width: 46ch; }
.prose-40 { max-width: 40ch; }
.prose-32 { max-width: 32ch; }
.muted { color: var(--ink-soft); }
.row-wrap { display: flex; flex-wrap: wrap; gap: 14px; }
.row-wrap--tight { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-md { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.text-italic-em em { color: var(--teal-deep); font-style: italic; font-weight: 500; }

/* ---------- Anchor offset ---------- */
[id] { scroll-margin-top: 88px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-inner { grid-template-columns: 1fr auto; gap: 16px; }
  .nav-links { display: none; }
  .nav-actions { justify-content: flex-end; align-items: center; }
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; align-items: center; }
  .hero-inner { grid-template-columns: 1fr; }
  .tile-grid-4 { grid-template-columns: 1fr 1fr; }
  .tile-grid-4 .tile.feature { min-height: 280px; }
  .tile-grid-4 .tile.feature h3 { font-size: 26px; }
  .currently-grid { grid-template-columns: 1fr; gap: 24px; }
  .paper-row { grid-template-columns: 1fr; gap: 12px; }
  .paper-row .btn-link { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .theme-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .talk-row { grid-template-columns: 1fr; gap: 6px; }
  .talk-loc { justify-self: start; text-align: left; }
  .media-row { grid-template-columns: 1fr; gap: 6px; }
  .media-date { justify-self: start; }
  .recog-grid { grid-template-columns: 1fr; }
  .take-part-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .def-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .tile-grid-4 { grid-template-columns: 1fr; }
}

/* =============================================================
   Editorial section system (shared)
   Plate stamps · hairline-marked eyebrows · italic-lead H2 ·
   color-in-text accents. Mirrors the homepage hero so all
   pages compose with the same magazine-cover language.
   ============================================================= */

.section-frame {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: 0 0 clamp(48px, 6vw, 80px);
}

.section-frame--tight {
  padding-bottom: clamp(28px, 3.5vw, 48px);
}

.section-frame-stamp {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
  white-space: nowrap;
}

.section-frame-stamp em {
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.section-frame-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-variation-settings: "wght" 600;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  color: var(--brand-mid-grey);
  letter-spacing: 0.26em;
  margin: 0 0 var(--s-6);
  text-transform: uppercase;
}

.section-eyebrow em {
  font-style: italic;
  font-weight: 500;
  color: var(--identity-accent);
  letter-spacing: 0.22em;
}

/* Hairline mark intentionally hidden — section-frame rules above carry the editorial line work */
.section-eyebrow-mark { display: none; }

.section-h2 {
  font-family: var(--font-sans);
  font-variation-settings: "wght" 250;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.00;
  letter-spacing: -0.022em;
  margin: 0 0 var(--s-6);
  font-weight: 250;
  color: var(--brand-charcoal);
  max-width: 22ch;
}

.section-h2-lead {
  display: block;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  color: var(--brand-mid-grey);
  font-size: 0.50em;
  letter-spacing: -0.005em;
  margin-bottom: var(--s-2);
}

.section-h2-main {
  display: block;
}

.section-h2-italic {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  color: var(--identity-accent);
  letter-spacing: -0.005em;
}

.section-lede {
  font-family: var(--font-sans);
  font-variation-settings: "wght" 350;
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 350;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 var(--s-10);
  max-width: 56ch;
}

.section-lede em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  color: var(--identity-accent);
}

@media (max-width: 560px) {
  .section-frame-rule { display: none; }
  .section-frame { flex-wrap: wrap; gap: var(--s-3); }
}

/* =============================================================
   Mobile fine-tuning — fills the gaps in the 640/980 breakpoints
   ============================================================= */
@media (max-width: 480px) {
  /* Hero needs a bit more breathing room on narrow viewports */
  .hero-inner { padding-top: clamp(80px, 22vw, 140px); padding-bottom: clamp(48px, 10vw, 80px); }
  .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero-deck { font-size: 17px; margin-top: 22px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 13px 20px 13px 24px; font-size: 14px; }
  .work-tile--side { grid-template-rows: 200px auto; }
  /* Footer bottom should stack; already wraps but fix alignment */
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Tablet landscape — keep 3-column grids breathing */
@media (min-width: 720px) and (max-width: 980px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .theme-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   Performance / containment hints — keep the GPU happy on long pages
   ============================================================= */
.work-tile,
.door,
.tile,
.resource-card,
.in-public-frame,
.about-card-inner {
  contain: layout paint;
}
.hero,
.atmosphere,
.chapter-break {
  contain: layout paint;
}

/* Touch devices: kill stuck-hover artefacts on press-up */
@media (hover: none) {
  .tile:hover,
  .door:hover,
  .resource-card:hover,
  .reach:hover,
  .work-tile:hover,
  .work-row:hover,
  .talk-row:hover,
  .media-row:hover { background: inherit; transform: none; box-shadow: none; }
}
