/* ==========================================================================
   Marc Daniel Papineau — site styles
   Palette: strictly black & white. No accent colours.
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-900.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --black: #000000;
  --near-black: #101010;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --grey: #8A8A8A;

  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(0, 0, 0, 0.14);

  --font-display: "Inter Display", "Helvetica Neue", Helvetica, "Arial Black", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --page-x: clamp(12px, 2.2vw, 32px);   /* outer page gutter (around rounded panels) */
  --pad-x: clamp(20px, 5vw, 80px);      /* inner content gutter */
  --section-y: clamp(80px, 11vw, 176px);
  --radius: clamp(18px, 2.4vw, 32px);
  --max: 1480px;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 900; letter-spacing: -0.035em; line-height: 0.95; text-wrap: balance; }
::selection { background: var(--black); color: var(--white); }
.on-dark ::selection { background: var(--white); color: var(--black); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--black); color: var(--white);
  padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- Typographic details ---------- */
.eyebrow {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5;
}
.muted { color: var(--grey); }
.lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; max-width: 34em; }
.body-lg { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; }

.display-xl { font-size: clamp(44px, 8.4vw, 144px); }
.display-l  { font-size: clamp(40px, 6.4vw, 104px); }
.display-m  { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; }
.display-s  { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.04; letter-spacing: -0.03em; }

.section-index {
  display: flex; align-items: baseline; gap: 14px;
  padding-top: 18px; border-top: 1px solid var(--line-light);
  margin-bottom: clamp(40px, 6vw, 88px);
}
.on-dark .section-index { border-top-color: var(--line-dark); }
.section-index .num { font-variant-numeric: tabular-nums; }
.section-index .sep { width: 28px; height: 1px; background: currentColor; transform: translateY(-4px); opacity: .5; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--black); --fg: var(--white); --bd: var(--black);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font: 600 15px/1 var(--font-body); letter-spacing: 0.01em;
  text-decoration: none; color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--bd); border-radius: 999px;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { --bg: var(--white); --fg: var(--black); }
.btn--outline { --bg: transparent; --fg: var(--black); }
.btn--outline:hover { --bg: var(--black); --fg: var(--white); }
.on-dark .btn { --bg: var(--white); --fg: var(--black); --bd: var(--white); }
.on-dark .btn:hover { --bg: transparent; --fg: var(--white); }
.on-dark .btn--outline { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.5); }
.on-dark .btn--outline:hover { --bg: var(--white); --fg: var(--black); --bd: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
}
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-light); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; max-width: calc(var(--max) + 2 * var(--page-x)); margin: 0 auto;
  padding: 0 calc(var(--page-x) + clamp(8px, 2vw, 24px));
}
.wordmark {
  font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: -0.04em;
  text-decoration: none; line-height: 1; display: inline-flex; align-items: baseline; gap: 10px;
}
.wordmark small { font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--grey); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a.nav-link {
  font-size: 14px; font-weight: 500; text-decoration: none; position: relative; padding: 6px 0;
}
.nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font: 600 14px/1 var(--font-body); color: var(--black);
}
.menu-toggle .bars { width: 22px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8px; }
.menu-open .menu-toggle .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 99;
  background: var(--black); color: var(--white);
  padding: 32px var(--pad-x) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mobile-menu li { border-top: 1px solid var(--line-dark); counter-increment: m; }
.mobile-menu li:last-child { border-bottom: 1px solid var(--line-dark); }
.mobile-menu a.m-link {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 0; text-decoration: none;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 10vw, 52px); letter-spacing: -0.04em; line-height: 1;
}
.mobile-menu a.m-link::after { content: "0" counter(m); font: 500 12px/1 var(--font-body); letter-spacing: .1em; color: var(--grey); }
.mobile-menu a.m-link[aria-current="page"] { color: var(--grey); }
.mobile-menu .m-foot { margin-top: 32px; }
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header .bar { height: 64px; }
  .mobile-menu { inset: 64px 0 0 0; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ---------- Panels (rounded black containers) ---------- */
.panel-frame { padding: 0 var(--page-x); }
.panel {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: calc(var(--max) + 0px); margin: 0 auto;
  background: var(--black); color: var(--white);
  border-radius: var(--radius);
}
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.hero { container-type: inline-size; padding: clamp(24px, 4vw, 56px) var(--pad-x) clamp(28px, 4vw, 56px); min-height: min(92vh, 1000px); display: flex; flex-direction: column; }
.hero canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .55; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero-top .descriptor { color: var(--white); }
.hero-top .descriptor span { display: block; }
.hero-top .meta { text-align: right; color: var(--grey); }
.hero-name {
  margin-top: clamp(40px, 7vw, 120px);
  font-size: 12vw; font-size: 15.3cqi;
  line-height: .86; letter-spacing: -0.045em; font-weight: 900;
  white-space: nowrap;
}
.hero-name span { display: block; }
.hero-bottom {
  margin-top: auto; padding-top: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: end;
}
.hero-statement h2 { font-size: clamp(34px, 5.2vw, 84px); line-height: .95; letter-spacing: -0.045em; }
.hero-statement h2 span { display: block; }
.hero-statement p { color: rgba(255,255,255,.72); max-width: 30em; margin: 22px 0 30px; font-size: clamp(16px, 1.25vw, 18px); }
.hero-portrait { position: relative; }
.hero-portrait picture, .hero-portrait img { border-radius: calc(var(--radius) * .6); overflow: hidden; }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.hero-portrait figcaption { margin-top: 12px; display: flex; justify-content: space-between; color: var(--grey); }

@media (min-width: 860px) {
  .hero-bottom { grid-template-columns: minmax(0, 1fr) minmax(260px, 31%); gap: clamp(32px, 5vw, 80px); }
  .hero-portrait { margin-top: clamp(-200px, -11vw, -80px); }
}
@media (max-width: 859px) {
  .hero { min-height: 0; }
  .hero-top .meta { display: none; }
  .hero-portrait { order: -1; }
  .hero-portrait img { aspect-ratio: 4 / 4.4; object-position: 50% 18%; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: clamp(28px, 4vw, 56px) var(--pad-x) clamp(36px, 5vw, 72px); container-type: inline-size; }
.page-hero .crumb { display: flex; justify-content: space-between; color: var(--grey); gap: 16px; }
.page-hero h1 { margin-top: clamp(64px, 12vw, 200px); font-size: clamp(44px, 10.5cqi, 168px); line-height: .88; letter-spacing: -0.05em; }
.page-hero h1 span { display: block; }
.page-hero .intro { margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 24px; }
.page-hero .intro p { color: rgba(255,255,255,.75); max-width: 36em; font-size: clamp(17px, 1.4vw, 20px); }
@media (min-width: 860px) { .page-hero .intro { grid-template-columns: 1fr 1fr; align-items: end; } .page-hero .intro .btn-row { justify-content: flex-end; } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .65) 0; }
.section--off { background: var(--off-white); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark .muted { color: var(--grey); }

.split { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .split > .s-head { grid-column: 1 / span 7; }
  .split > .s-body { grid-column: 8 / span 5; align-self: end; }
  .split--even > .s-head { grid-column: 1 / span 6; }
  .split--even > .s-body { grid-column: 8 / span 5; }
}

/* Philosophy */
.philosophy h2 { font-size: clamp(40px, 6.6vw, 112px); line-height: .92; letter-spacing: -0.05em; }
.philosophy h2 .grey { color: var(--grey); }
.pull-points { margin-top: clamp(56px, 8vw, 120px); display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.pull-points > div { padding: 28px 0; border-bottom: 1px solid var(--line-light); display: grid; gap: 10px; }
.pull-points h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; line-height: 1.05; }
.pull-points p { color: #3a3a3a; max-width: 30em; }
@media (min-width: 900px) {
  .pull-points { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-light); }
  .pull-points > div { border-bottom: 0; padding: 32px 32px 8px 0; }
  .pull-points > div + div { border-left: 1px solid var(--line-light); padding-left: 32px; }
}

/* Expertise list (rows, not cards) */
.rows { border-top: 1px solid var(--line-dark); }
.rows--light { border-top-color: var(--line-light); }
.row-link {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: baseline;
  padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line-dark);
  text-decoration: none; position: relative;
  transition: padding .4s var(--ease), color .3s var(--ease);
}
.rows--light .row-link { border-bottom-color: var(--line-light); }
.row-link .r-num { color: var(--grey); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.row-link .r-title { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.04em; font-size: clamp(28px, 4.4vw, 68px); line-height: .98; }
.row-link .r-sub { display: block; margin-top: 10px; font-family: var(--font-body); font-weight: 500; font-size: clamp(15px, 1.2vw, 17px); letter-spacing: 0; color: var(--grey); line-height: 1.45; }
.row-link .r-go { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: background .3s var(--ease), color .3s var(--ease), transform .4s var(--ease); align-self: center; }
.row-link:hover .r-go { background: var(--white); color: var(--black); transform: rotate(-45deg); }
.rows--light .row-link:hover .r-go { background: var(--black); color: var(--white); }
@media (hover: hover) { .row-link:hover { padding-left: 14px; } }
@media (max-width: 600px) { .row-link { grid-template-columns: 34px 1fr; } .row-link .r-go { display: none; } }

/* Audience grid */
.audience { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.audience article { padding: 30px 0 34px; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.audience .a-num { color: var(--grey); font-size: 13px; font-weight: 500; padding-top: 6px; }
.audience h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 12px; }
.audience p { color: #3a3a3a; max-width: 32em; }
@media (min-width: 900px) {
  .audience { grid-template-columns: repeat(6, 1fr); }
  .audience article { grid-column: span 2; padding-right: 32px; grid-template-columns: 1fr; }
  .audience article:nth-child(n+4) { grid-column: span 3; }
  .audience article:not(:nth-child(3n+1)):not(:nth-child(4)) { border-left: 1px solid var(--line-light); padding-left: 32px; }
  .audience article:nth-child(5) { border-left: 1px solid var(--line-light); padding-left: 32px; }
}

/* Approach */
.steps { display: grid; gap: clamp(48px, 6vw, 0px); margin-top: clamp(48px, 7vw, 104px); }
.step { display: grid; gap: 20px; align-content: start; }
.step .orb { width: min(260px, 64%); aspect-ratio: 1; margin-left: -6%; }
.step .s-num { color: var(--grey); font-size: 13px; font-weight: 500; padding-top: 18px; border-top: 1px solid var(--line-light); }
.section--dark .step .s-num { border-top-color: var(--line-dark); }
.step h3 { font-size: clamp(40px, 5vw, 80px); letter-spacing: -0.05em; line-height: .9; }
.step p { color: #3a3a3a; max-width: 26em; }
.section--dark .step p { color: rgba(255,255,255,.72); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 3vw, 48px); } }

/* About split with portrait */
.about-split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-split .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: calc(var(--radius) * .6); }
.about-split h2 { font-size: clamp(40px, 6vw, 96px); letter-spacing: -0.05em; line-height: .9; margin-bottom: 32px; }
.facts { margin: 40px 0; border-top: 1px solid var(--line-dark); display: grid; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.facts dt { color: var(--grey); }
.facts dd { margin: 0; font-weight: 500; }
@media (min-width: 900px) { .about-split { grid-template-columns: 5fr 7fr; } }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* CTA panel */
.cta-panel { padding: clamp(48px, 8vw, 128px) var(--pad-x); container-type: inline-size; }
.cta-panel h2 { font-size: clamp(42px, 9cqi, 152px); letter-spacing: -0.055em; line-height: .88; max-width: 12ch; }
.cta-panel .cta-foot { margin-top: clamp(40px, 6vw, 80px); display: grid; gap: 28px; align-items: end; border-top: 1px solid var(--line-dark); padding-top: 28px; }
.cta-panel .cta-foot p { color: rgba(255,255,255,.72); max-width: 32em; }
@media (min-width: 860px) { .cta-panel .cta-foot { grid-template-columns: 1fr auto; } }

/* ---------- Workshops page ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { font-size: 13px; font-weight: 600; text-decoration: none; padding: 9px 14px; border: 1px solid var(--line-dark); border-radius: 999px; transition: background .25s, color .25s; }
.toc a:hover { background: var(--white); color: var(--black); }

.program { padding: clamp(64px, 9vw, 136px) 0; border-top: 1px solid var(--line-light); scroll-margin-top: 80px; }
.program:first-of-type { border-top: 0; }
.program-grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.program .p-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(64px, 10vw, 160px); line-height: .8; letter-spacing: -0.06em; color: var(--black); }
.program .p-num span { -webkit-text-stroke: 1.5px var(--black); color: transparent; }
.program h2 { font-size: clamp(34px, 4.6vw, 72px); letter-spacing: -0.045em; line-height: .95; }
.program .p-headline { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; margin: 18px 0 20px; }
.program .p-desc { color: #3a3a3a; max-width: 36em; }
.topic-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); counter-reset: t; }
.topic-list li { counter-increment: t; display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-weight: 500; }
.topic-list li::before { content: counter(t, decimal-leading-zero); color: var(--grey); font-size: 13px; padding-top: 3px; font-variant-numeric: tabular-nums; }
.topic-label { margin-bottom: 14px; color: var(--grey); }
.note {
  margin-top: 28px; padding: 20px 22px; border: 1px solid var(--black); border-radius: 14px;
  font-size: 15px; line-height: 1.55; display: grid; grid-template-columns: auto 1fr; gap: 14px;
}
.note strong { font-weight: 600; }
.note .n-mark { font-family: var(--font-display); font-weight: 900; font-size: 18px; line-height: 1.2; }
@media (min-width: 900px) {
  .program-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .program-grid .p-left { grid-column: 1 / span 6; }
  .program-grid .p-right { grid-column: 8 / span 5; padding-top: 12px; }
}

.formats { display: grid; border-top: 1px solid var(--line-dark); }
.formats li { list-style: none; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.035em; line-height: 1.05; }
.formats li span { font: 500 13px/2.2 var(--font-body); color: var(--grey); letter-spacing: 0; }
.formats { padding: 0; margin: 0; }

/* ---------- Approach page ---------- */
.phase { display: grid; gap: clamp(28px, 4vw, 64px); padding: clamp(56px, 8vw, 120px) 0; border-top: 1px solid var(--line-light); }
.phase:first-child { border-top: 0; padding-top: 0; }
.phase .orb { width: min(320px, 70%); aspect-ratio: 1; }
.phase h2 { font-size: clamp(56px, 9vw, 152px); letter-spacing: -0.06em; line-height: .85; }
.phase .ph-label { color: var(--grey); margin-bottom: 18px; }
.phase .ph-lede { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 20px; max-width: 26em; }
.phase .ph-body { color: #3a3a3a; max-width: 34em; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line-light); }
.checklist li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line-light); position: relative; font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 1.5px; background: var(--black); }
@media (min-width: 900px) {
  .phase { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .phase .ph-visual { grid-column: 1 / span 5; }
  .phase .ph-text { grid-column: 7 / span 6; }
}

/* ---------- About page ---------- */
.about-intro { display: grid; gap: clamp(40px, 6vw, 96px); }
.about-intro .portrait img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 30%; border-radius: calc(var(--radius) * .6); }
.about-intro .portrait figcaption { margin-top: 12px; color: var(--grey); display: flex; justify-content: space-between; }
.about-intro .bio p { font-size: clamp(17px, 1.3vw, 19px); }
.about-intro .bio p:first-child { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -0.025em; }
@media (min-width: 900px) {
  .about-intro { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .about-intro .portrait { grid-column: 1 / span 5; position: sticky; top: 104px; align-self: start; }
  .about-intro .bio { grid-column: 7 / span 6; }
}
.chapters { display: grid; border-top: 1px solid var(--line-dark); }
.chapters article { padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 14px; }
.chapters .c-num { color: var(--grey); font-size: 13px; font-weight: 500; }
.chapters h3 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1; }
.chapters p { color: rgba(255,255,255,.72); max-width: 34em; }
@media (min-width: 900px) {
  .chapters article { grid-template-columns: 1fr 3fr 4fr; gap: 32px; align-items: baseline; }
}

.principles { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.principles div { padding: 30px 0; border-bottom: 1px solid var(--line-light); }
.principles h3 { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -0.045em; line-height: .95; margin-bottom: 14px; }
.principles p { color: #3a3a3a; max-width: 26em; }
@media (min-width: 900px) {
  .principles { grid-template-columns: repeat(3, 1fr); }
  .principles div + div { border-left: 1px solid var(--line-light); padding-left: 32px; }
  .principles div { padding-right: 32px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 4fr 7fr; } .contact-aside { position: sticky; top: 104px; align-self: start; } }
.contact-aside h2 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1; margin-bottom: 20px; }
.contact-aside ol { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line-light); counter-reset: c; }
.contact-aside ol li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.contact-aside ol li::before { content: counter(c, decimal-leading-zero); color: var(--grey); font-size: 13px; padding-top: 2px; }
.contact-aside ol li strong { display: block; font-weight: 600; }
.contact-details { margin-top: 28px; display: grid; gap: 6px; font-size: 15px; }
.contact-details[hidden] { display: none; }
.contact-details a { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

.form { display: grid; gap: 22px; }
.form .row-2 { display: grid; gap: 22px; }
@media (min-width: 640px) { .form .row-2 { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; padding: 0; }
.field .opt { color: var(--grey); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--font-body); color: var(--black);
  background: var(--white); border: 1.5px solid rgba(0,0,0,.22); border-radius: 12px;
  padding: 14px 16px; min-height: 54px; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(0,0,0,.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--black); border-width: 2px; }
.field .error { display: none; margin-top: 8px; font-size: 13px; font-weight: 600; }
.field .error::before { content: "— "; }
.field.has-error .error { display: block; }
.field .hint { margin-top: 8px; font-size: 13px; color: var(--grey); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(0,0,0,.22); border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; user-select: none; }
.chip span:hover { border-color: var(--black); }
.chip input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chip input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.consent { font-size: 13px; color: #4a4a4a; line-height: 1.55; }
.consent a { font-weight: 600; }
.form-status { display: none; padding: 16px 18px; border-radius: 12px; border: 1.5px solid var(--black); font-size: 15px; font-weight: 500; }
.form-status.is-visible { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line-light); padding-top: 24px; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; line-height: 1.1; margin: 48px 0 14px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(24px, 3vw, 40px) var(--page-x) var(--page-x); }
.site-footer .panel { padding: clamp(40px, 6vw, 88px) var(--pad-x) 28px; container-type: inline-size; }
.footer-top { display: grid; gap: 40px; }
.footer-top h2 { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -0.045em; line-height: .95; max-width: 14ch; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; font-size: 15px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { text-decoration: none; color: rgba(255,255,255,.85); }
.footer-cols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-cols .eyebrow { color: var(--grey); margin-bottom: 14px; display: block; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.2fr 1fr; } .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-mark {
  margin-top: clamp(48px, 8vw, 120px);
  font-family: var(--font-display); font-weight: 900; letter-spacing: -0.05em; line-height: .78;
  font-size: 15vw; font-size: 20.4cqi; white-space: nowrap; user-select: none;
}
.footer-base { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--grey); font-size: 13px; }
.footer-base a { color: var(--grey); }

/* ---------- Reveal animation (restrained) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 70vh; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 56px) var(--pad-x); container-type: inline-size; }
.not-found h1 { font-size: 40cqi; line-height: .8; letter-spacing: -0.07em; }

@media print {
  .site-header, .mobile-menu, canvas, .site-footer .footer-mark { display: none !important; }
  .panel, .section--dark { background: #fff !important; color: #000 !important; }
}

@media (max-width: 899px) {
  .step .orb { width: 150px; margin-left: -12px; }
  .phase .orb { width: 200px; }
}

/* ---------- Career highlights ---------- */
.hero-statement h2.hero-claim { font-size: clamp(30px, 3.9vw, 62px); line-height: .98; }
.stats { display: grid; grid-template-columns: 1fr; border-top: 1.5px solid var(--black); }
.stat { container-type: inline-size; padding: 28px 0 32px; border-bottom: 1px solid var(--line-light); }
.stat p { margin: 0; }
.stat-num {
  font-family: var(--font-display); font-weight: 900; letter-spacing: -0.05em; line-height: .85;
  font-size: min(30cqi, 150px); font-variant-numeric: tabular-nums; white-space: nowrap; height: .85em;
}
.stat-label { margin-top: 22px !important; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.stat-context { margin-top: 6px !important; color: var(--grey); font-size: 14px; line-height: 1.45; max-width: 22em; }
@media (min-width: 600px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { padding-right: 28px; }
  .stat:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-light); }
}
@media (min-width: 1100px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 32px 28px 36px; border-bottom: 0; }
  .stat:first-child { padding-left: 0; }
  .stat + .stat { border-left: 1px solid var(--line-light); }
  .stat:nth-child(odd) { padding-right: 28px; }
}

/* ---------- Timeline (About) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--black); }
.timeline > li { display: grid; gap: 14px; padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line-light); }
.timeline .t-years { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.04em; line-height: 1; }
.timeline .t-org { color: var(--grey); font-weight: 500; margin: 10px 0 18px; }
.timeline ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.timeline ul li { position: relative; padding-left: 26px; color: #3a3a3a; max-width: 44em; }
.timeline ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1.5px; background: var(--black); }
@media (min-width: 900px) { .timeline > li { grid-template-columns: 4fr 8fr; gap: 32px; } }

.credential { margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 22px; border-top: 1px solid var(--line-light); display: grid; gap: 8px; }
.credential dd { margin: 0; font-size: 17px; }
.credential strong { font-weight: 600; }
@media (min-width: 900px) { .credential { grid-template-columns: 4fr 8fr; gap: 32px; align-items: baseline; } }

.from-exp { margin-top: 28px !important; padding: 20px 0 0 0; border-top: 1.5px solid var(--black); color: #3a3a3a; max-width: 36em; font-size: 16px; }
.from-exp .eyebrow { display: block; color: var(--black); margin-bottom: 8px; }
