/* ============================================================
   Josh Hirsch-Handley — Executive Platform
   Institutional editorial (Apple restraint × McKinsey weight)
   ============================================================ */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable-Italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  src: url("../fonts/STIXTwoText-Variable.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  src: url("../fonts/STIXTwoText-Variable-Italic.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: oklch(0.985 0.003 80);
  --paper-2: oklch(0.965 0.004 80);
  --ink: oklch(0.22 0.02 260);
  --ink-2: oklch(0.30 0.025 260);
  --navy: oklch(0.28 0.045 262);
  --navy-deep: oklch(0.20 0.05 262);
  --muted: oklch(0.48 0.015 260);
  --muted-2: oklch(0.60 0.012 260);
  --rule: oklch(0.88 0.008 260);
  --rule-strong: oklch(0.78 0.010 260);
  --silver: oklch(0.75 0.008 260);
  --paper-on-navy: oklch(0.97 0.005 80);
  --paper-on-navy-2: oklch(0.86 0.008 260);

  --serif: "STIX Two Text", "Tiempos", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 4vw, 40px);
  --container: 1240px;
  --container-narrow: 880px;
  --section-y: clamp(80px, 12vw, 160px);
  --section-y-tight: clamp(56px, 8vw, 96px);

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
main { min-height: 60vh; }

/* ---------- Typography ---------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(28px, 4.4vw, 56px); line-height: 1.06; }
h3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; }
h4 { font-size: 20px; line-height: 1.3; font-family: var(--sans); font-weight: 500; letter-spacing: -0.005em; }

p { margin: 0 0 1.1em; color: var(--ink-2); text-wrap: pretty; }
p.lead { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; color: var(--ink); max-width: 60ch; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow.on-navy { color: var(--silver); }

.pullquote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
  letter-spacing: -0.01em;
  max-width: 30ch;
}
.small { font-size: 14px; color: var(--muted); }

.link {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.link:hover, .link:focus-visible { border-color: var(--navy); color: var(--navy); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: var(--container-narrow); }

.section { padding: var(--section-y) 0; }
.section-tight { padding: var(--section-y-tight) 0; }
.section + .section { border-top: 1px solid var(--rule); }

.on-navy { background: var(--navy); color: var(--paper-on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: var(--paper-on-navy); }
.on-navy p { color: var(--paper-on-navy-2); }
.on-navy .link { color: var(--paper-on-navy); border-color: oklch(0.55 0.03 262); }
.on-navy .link:hover, .on-navy .link:focus-visible { color: var(--paper-on-navy); border-color: var(--paper-on-navy); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2, .grid-6 { grid-template-columns: 1fr; }
}

.split { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.split.reverse { grid-template-columns: 8fr 4fr; }
@media (max-width: 960px) { .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease), background 300ms var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: -0.015em;
  color: var(--ink);
  flex-shrink: 0;
}
.brand .brand-mark {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 1px solid var(--rule);
  transform: translateY(-1px);
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .brand .brand-mark { display: none; }
}
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a {
  font-size: 13px;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color 200ms var(--ease);
  white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--navy);
  transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta {
  font-size: 13px;
  padding: 9px 16px;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  border-radius: 999px;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy); color: var(--paper-on-navy); border-color: var(--navy); }
.nav-cta::after { display: none !important; }

.nav-toggle { display: none; }

/* Nav collapse threshold — 3-item executive nav fits easily above 720px. */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -8px;
    color: var(--ink);
    border-radius: 4px;
  }
  .nav-toggle:hover { background: var(--paper-2); }
  .nav-toggle svg { width: 22px; height: 22px; }
}

.mobile-menu {
  position: fixed; inset: 72px 0 0 0;
  background: var(--paper);
  padding: 32px var(--gutter) 48px;
  display: none;
  flex-direction: column; gap: 4px;
  z-index: 40;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(22px, 4.5vw, 30px);
  padding: 14px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  letter-spacing: -0.015em;
}
.mobile-menu a[aria-current="page"] { color: var(--navy); }
.mobile-menu .mobile-cta {
  align-self: flex-start;
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 14px;
  padding: 14px 22px;
  background: var(--navy);
  color: var(--paper-on-navy);
  border-radius: 2px;
  border-bottom: 0;
}
.js .mobile-menu { display: none; }
.js .mobile-menu.open { display: flex; }
/* No-JS fallback: mobile menu links visible in flow (below the toggle button is hidden but semantic links live in nav-links) */

/* ---------- Hero ---------- */
.hero {
  padding: clamp(72px, 12vw, 160px) 0 clamp(56px, 8vw, 96px);
  position: relative;
}
.hero .eyebrow { margin-bottom: 32px; display: block; }
.hero h1 {
  font-size: clamp(40px, 7.6vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  max-width: 16ch;
  margin-bottom: 32px;
}
.hero h1 em { font-style: italic; color: var(--ink-2); }
.hero .support {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}
.btn-primary { background: var(--navy); color: var(--paper-on-navy); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-ghost { border-color: var(--rule-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-invert { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn-invert:hover { background: transparent; color: var(--paper-on-navy); border-color: var(--paper-on-navy); }
.btn-ghost-on-navy { border-color: oklch(0.55 0.03 262); color: var(--paper-on-navy); }
.btn-ghost-on-navy:hover { border-color: var(--paper-on-navy); background: transparent; color: var(--paper-on-navy); }
.btn .arrow { transition: transform 220ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Metrics ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.metric {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--rule);
}
.metric:nth-child(3n) { border-right: 0; padding-right: 0; }
.metric:nth-child(n+4) { border-top: 1px solid var(--rule); }
.metric .n {
  font-family: var(--serif);
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 14px;
  font-variant-numeric: lining-nums;
}
.metric .label {
  font-size: 14px;
  color: var(--muted);
  max-width: 24ch;
  line-height: 1.45;
}
@media (max-width: 860px) {
  .metrics { grid-template-columns: 1fr; }
  .metric, .metric:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--rule); padding: 28px 0; }
  .metric:last-child { border-bottom: 0; }
  .metric:nth-child(n+4) { border-top: 0; }
}

/* ---------- Section header ---------- */
.section-head { display: grid; grid-template-columns: 200px 1fr; gap: 48px; margin-bottom: 64px; align-items: baseline;}
.section-head .eyebrow { padding-top: 8px; }
.section-head h2 { max-width: 22ch; }
.section-head .lead { margin-top: 20px; max-width: 60ch; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
}

/* ---------- Case study cards ---------- */
.cases { display: grid; grid-template-columns: 1fr; gap: 0; }
.case {
  padding: 56px 0;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 120px 1fr 320px; gap: 48px;
  align-items: start;
  transition: background 300ms var(--ease);
}
.case:last-child { border-bottom: 1px solid var(--rule); }
.case:hover { background: var(--paper-2); }
.case .num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.14em; padding-top: 12px; }
.case h3 { margin-bottom: 8px; font-size: clamp(22px, 2.4vw, 28px); }
.case .co { font-size: 13px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.case p { max-width: 55ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.case .outcomes { border-left: 1px solid var(--rule); padding-left: 32px; }
.case .outcomes .stat { margin-bottom: 22px; }
.case .outcomes .stat:last-child { margin-bottom: 0; }
.case .outcomes .n { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 6px; }
.case .outcomes .l { font-size: 13px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1024px) {
  .case { grid-template-columns: 80px 1fr; gap: 32px; padding: 48px 0; }
  .case .outcomes { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--rule); padding: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px;}
  .case .outcomes .stat { margin: 0; }
}
@media (max-width: 640px) {
  .case { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .case .num { padding-top: 0; }
  .case .outcomes { grid-template-columns: 1fr; }
}

/* ---------- Experience timeline ---------- */
.timeline { border-top: 1px solid var(--rule); }
.tl-row {
  display: grid;
  grid-template-columns: 140px 1fr 240px;
  gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.tl-row .yr { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }
.tl-row .role h3 { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; margin-bottom: 4px; }
.tl-row .role .co { font-size: 14px; color: var(--muted); }
.tl-row .role .concurrent {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.tl-row .desc { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 960px) {
  .tl-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--paper-on-navy);
  padding: 80px 0 40px;
  margin-top: 0;
}
.footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid oklch(0.40 0.04 262);
  align-items: end;
}
.footer .brand-lg { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--paper-on-navy); }
.footer-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.70 0.01 260); }
.footer-contact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; text-align: right; }
.footer-contact li a, .footer-contact li { color: oklch(0.85 0.008 260); font-size: 14px; transition: color 200ms var(--ease); }
.footer-contact li a:hover, .footer-contact li a:focus-visible { color: var(--paper-on-navy); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 11px; font-family: var(--mono); letter-spacing: 0.1em;
  color: oklch(0.65 0.01 260);
  text-transform: uppercase;
  flex-wrap: wrap; gap: 16px;
}
@media (max-width: 860px) {
  .footer .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-contact ul { text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Fade-in — ENHANCEMENT ONLY ----------
   Default: fully visible. Only when JS has confirmed load
   AND user allows motion do we hide-then-reveal.
   ---------------------------------------------------- */
.js .fade-in { opacity: 0; transform: translateY(12px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .fade-in.in { opacity: 1 !important; transform: none !important; }

/* ============================================================
   Materiality — one editorial texture, applied globally.
   A very faint warm-white vignette + almost-imperceptible grain,
   the way a longform HBR or NYT Magazine page reads as paper.
   ============================================================ */
body {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, oklch(0.988 0.003 80) 0%, transparent 70%),
    var(--paper);
  background-attachment: fixed;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.24;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.14  0 0 0 0 0.18  0 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
main, .nav, .footer { position: relative; z-index: 1; }

/* On-navy sections need to sit above the grain */
.on-navy { position: relative; z-index: 2; }

/* ============================================================
   Refined editorial marker — annual-report register.
   Replaces the flat "01 · Introduction" with a two-part marker
   that carries the composition weight better.
   ============================================================ */
.section-editorial .marker,
.hero-editorial .num {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 56px;
}
.section-editorial .marker::before,
.hero-editorial .num::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--rule);
  transform: translateY(-3px);
  flex-shrink: 0;
}
.marker-on-navy {
  color: var(--silver) !important;
}
.marker-on-navy::before {
  background: oklch(0.55 0.03 262) !important;
}

/* ============================================================
   Homepage hero — photography-ready.
   Two-column composition. When a portrait is placed, it becomes
   the anchor of the composition. Until then, the frame reads as
   intentional editorial art direction, not as broken.
   ============================================================ */
.hero-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  overflow: hidden;
  isolation: isolate;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Subtle, restrained photograph treatment — the way portraits are printed
     on high-quality matte stock. Very slight desaturation + gentle contrast. */
  filter: saturate(0.92) contrast(1.02);
}
.hero-photo-frame .photo-caption {
  position: absolute;
  bottom: -44px;
  left: 0;
  right: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.hero-photo-frame {
  margin-bottom: 56px;
}
.hero-photo-frame.pending {
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.955 0.006 80) 0,
      oklch(0.955 0.006 80) 24px,
      oklch(0.945 0.008 80) 24px,
      oklch(0.945 0.008 80) 48px
    );
  border: 1px solid var(--rule);
}
.hero-photo-frame .plate {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.hero-photo-frame .plate .tick {
  color: var(--muted-2);
}
.hero-photo-frame .caption {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ============================================================
   Home hero — editorial anchor composition.
   The portrait is the primary anchor. Name is set large and quiet
   beside it. Identity strip sits below the name. No drop-cap
   paragraph — the voice section that follows carries that weight.
   ============================================================ */
.hero-editorial.with-portrait {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: end;
  padding-bottom: clamp(64px, 9vh, 120px);
}
.hero-editorial.with-portrait .hero-copy {
  padding-bottom: 12px;
}
.hero-editorial.with-portrait .hero-copy .num {
  margin-bottom: 56px;
}
.hero-editorial.with-portrait h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: none;
  text-wrap: balance;
}
/* Never split the surname at the hyphen. */
.hero-editorial.with-portrait h1 .surname {
  white-space: nowrap;
}
.hero-editorial.with-portrait .kicker {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  color: var(--ink-2);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin-bottom: 56px;
  display: block;
  max-width: 40ch;
  text-wrap: balance;
}
.hero-editorial.with-portrait .identity {
  margin-top: 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .hero-editorial.with-portrait {
    grid-template-columns: 1fr;
    gap: 72px;
    align-items: start;
    padding-bottom: 56px;
  }
  .hero-editorial.with-portrait .hero-copy { order: 2; padding-bottom: 0; }
  .hero-editorial.with-portrait .hero-photo-frame { order: 1; max-width: 480px; }
}

/* ============================================================
   Voice section — first-person statement in Josh's own words.
   Placed immediately after the hero. Two-column editorial:
   small label on left, quote block on right.
   ============================================================ */
.section-voice {
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: 1px solid var(--rule);
}
.section-voice .voice-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: baseline;
}
.section-voice .voice-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
}
.section-voice .voice-quote {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 68ch;
}
.section-voice .voice-quote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 24px 0;
}
.section-voice .voice-quote p:last-of-type {
  margin-bottom: 32px;
}
.section-voice .voice-lead {
  color: var(--navy);
}
.section-voice .voice-attribution {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 720px) {
  .section-voice .voice-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Navy statement section — second voice moment, mid-page.
   Refined typography for the "On the founder bottleneck" block.
   ============================================================ */
.on-navy .navy-lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper-on-navy);
  max-width: 24ch;
  margin-bottom: 48px;
}
.on-navy .navy-body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--paper-on-navy-2);
  max-width: 62ch;
  margin-bottom: 24px;
}
.on-navy .navy-attribution {
  display: block;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}
@media (prefers-reduced-motion: reduce) {
  .js .fade-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--paper-on-navy);
  padding: 10px 16px; font-size: 14px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Speaking / topics chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.chip:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Article cards (insights) ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.article-card {
  display: flex; flex-direction: column;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
  min-height: 260px;
  transition: transform 300ms var(--ease);
}
.article-card:hover { transform: translateY(-2px); }
.article-card .meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px;}
.article-card h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; margin-bottom: 16px; }
.article-card .excerpt { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin-bottom: auto; }
.article-card .read { font-size: 13px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-top: 24px; }
@media (max-width: 960px) { .articles { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.field { display: block; margin-bottom: 24px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans); font-size: 16px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color 200ms var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field.error input, .field.error select, .field.error textarea { border-color: oklch(0.55 0.15 25); }
.field .error-msg { display: none; color: oklch(0.50 0.15 25); font-family: var(--sans); font-size: 13px; letter-spacing: normal; text-transform: none; margin-top: 6px; }
.field.error .error-msg { display: block; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 24px; padding: 16px 20px; border-radius: 2px; font-size: 14px; display: none; }
.form-status.show { display: block; }
.form-status.success { background: oklch(0.94 0.03 145); color: oklch(0.30 0.08 145); border: 1px solid oklch(0.75 0.10 145); }
.form-status.error { background: oklch(0.94 0.03 25); color: oklch(0.35 0.10 25); border: 1px solid oklch(0.75 0.10 25); }

/* ---------- COS diagram wrapper ---------- */
.exhibit-frame {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 56px 32px 32px;
  margin: 32px 0 24px;
  position: relative;
}
.exhibit-frame::before {
  content: "EXHIBIT 01 — THE COMMERCIAL OPERATING SYSTEM";
  position: absolute; top: 16px; left: 32px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted);
}
.cos-diagram { width: 100%; max-width: 900px; margin: 0 auto; }
.cos-diagram svg { width: 100%; height: auto; display: block; }
.exhibit-caption {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: 0.06em; text-align: center; margin-top: 24px;
  border-top: 1px solid var(--rule); padding-top: 16px;
}

/* Desktop diagram visible ≥ 720px; mobile vertical stack below */
.cos-diagram-desktop { display: block; }
.cos-diagram-mobile { display: none; }
@media (max-width: 720px) {
  .cos-diagram-desktop { display: none; }
  .cos-diagram-mobile { display: block; }
  .exhibit-frame { padding: 56px 20px 24px; }
  .exhibit-frame::before { left: 20px; font-size: 10px; }
}

/* Mobile vertical stack of the 8 components */
.cos-stack { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.cos-stack .cos-item {
  display: grid; grid-template-columns: 42px 1fr; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.cos-stack .cos-item .num { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.14em; }
.cos-stack .cos-item .name { font-family: var(--serif); font-size: 20px; letter-spacing: -0.01em; color: var(--ink); }
.cos-stack .cos-hub {
  background: var(--navy); color: var(--paper-on-navy);
  padding: 24px; margin: 16px 0 20px;
  display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: baseline;
}
.cos-stack .cos-hub .num { font-family: var(--mono); font-size: 11px; color: var(--silver); letter-spacing: 0.14em; }
.cos-stack .cos-hub .name { font-family: var(--serif); font-size: 22px; color: var(--paper-on-navy); letter-spacing: -0.01em;}

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule);}
.principle { padding: 40px 40px 40px 0; border-bottom: 1px solid var(--rule); }
.principle:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 40px;}
.principle:nth-child(even) { padding-left: 40px; padding-right: 0;}
.principle .num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 20px;}
.principle h3 { font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.01em; margin-bottom: 12px;}
.principle p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0;}
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(odd), .principle:nth-child(even) { padding: 28px 0; border-right: 0; }
}

/* ---------- Components table ---------- */
.components-tbl { width: 100%; border-collapse: collapse; margin-top: 40px;}
.components-tbl th, .components-tbl td { text-align: left; padding: 20px 16px; border-bottom: 1px solid var(--rule); vertical-align: top;}
.components-tbl th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500;}
.components-tbl td.component { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; color: var(--ink); width: 30%;}
.components-tbl td.role { font-size: 15px; color: var(--ink-2); line-height: 1.55;}
.components-tbl td.n { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 50px; }
@media (max-width: 720px) {
  .components-tbl, .components-tbl thead, .components-tbl tbody, .components-tbl tr, .components-tbl td, .components-tbl th { display: block;}
  .components-tbl thead { display: none; }
  .components-tbl tr { padding: 24px 0; border-bottom: 1px solid var(--rule);}
  .components-tbl td { padding: 6px 0; border: 0; width: auto !important;}
  .components-tbl td.component { font-size: 20px; padding-bottom: 8px; }
}

/* ---------- Media logos strip ---------- */
.logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.logo-item {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.logo-item:nth-child(3n) { border-right: 0; }
.logo-item:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 720px) {
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logo-item { border-right: 1px solid var(--rule) !important; border-bottom: 1px solid var(--rule) !important; padding: 24px 16px; font-size: 15px;}
  .logo-item:nth-child(2n) { border-right: 0 !important;}
  .logo-item:last-child { border-bottom: 0 !important;}
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; } .mt-5 { margin-top: 96px; }
.mb-1 { margin-bottom: 16px; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; } .mb-4 { margin-bottom: 64px; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.text-muted { color: var(--muted); }
.text-navy { color: var(--navy); }
.stack > * + * { margin-top: 16px; }

/* Case study side panel (used on impact page) */
.stat-block { border-top: 1px solid var(--ink); padding-top: 24px; }
.stat-block .stat { margin-bottom: 24px; }
.stat-block .stat:last-child { margin-bottom: 0; }
.stat-block .n { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); color: var(--navy); line-height: 1; letter-spacing: -0.02em;}
.stat-block .l { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.45;}

/* Section list (Speaking topics) */
.section-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule);}
.section-list .item {
  padding: 32px 32px 32px 0;
  border-bottom: 1px solid var(--rule);
}
.section-list .item:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 40px;}
.section-list .item:nth-child(even) { padding-left: 32px; padding-right: 0; }
.section-list .item .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 12px;}
.section-list .item h3 { font-family: var(--serif); font-size: 22px; letter-spacing:-0.01em; margin-bottom: 8px;}
.section-list .item p { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.55; }
@media (max-width: 860px) {
  .section-list { grid-template-columns: 1fr; }
  .section-list .item, .section-list .item:nth-child(odd), .section-list .item:nth-child(even) { padding: 24px 0; border-right: 0;}
}

/* Contact detail block */
.contact-details .row { margin-bottom: 32px; }
.contact-details .row .lbl { font-size: 13px; color: var(--muted); margin-bottom: 6px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-details .row .val { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 22px); letter-spacing: -0.01em; color: var(--ink); }
.contact-details .row .val a { border-bottom: 1px solid var(--rule-strong); }
.contact-details .row .val a:hover { border-color: var(--navy); color: var(--navy); }

/* 404 */
.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-page .num-serif { font-family: var(--serif); font-size: clamp(80px, 14vw, 180px); line-height: 0.9; color: var(--navy); letter-spacing: -0.03em; margin-bottom: 24px;}

/* ============================================================
   Editorial register — home + record + framework
   Executive annual report, not marketing.
   ============================================================ */

/* Nav polish: quiet down the underline; executive nav is calm */
.nav-links a::after { display: none !important; }
.nav-links a { color: var(--muted); transition: color 200ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.brand .brand-mark { display: none; } /* retired */

/* Wider nav breathing room */
.nav-inner { padding: 22px var(--gutter); }
.nav-links { gap: 32px; }

/* Editorial hero — person-first, no CTA */
.hero-editorial {
  padding-top: clamp(96px, 16vh, 180px);
  padding-bottom: clamp(80px, 12vh, 140px);
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.hero-editorial .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 56px;
  display: block;
}
.hero-editorial h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  font-weight: 400;
  max-width: 22ch;
  margin-bottom: 8px;
}
.hero-editorial .kicker {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: clamp(48px, 7vh, 88px);
  display: block;
}
.hero-editorial .portrait {
  max-width: 60ch;
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  font-weight: 400;
}
.hero-editorial .identity {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Editorial section — numbered eyebrow */
.section-editorial {
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: 1px solid var(--rule);
}
.section-editorial .marker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 48px;
  display: block;
}
.section-editorial > .container > h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 22ch;
  margin-bottom: 56px;
}
.section-editorial > .container > .lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  max-width: 50ch;
  margin-bottom: 56px;
  font-weight: 400;
}

/* Executive Record — proof strip (six metrics) */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.proof-strip .cell {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
}
.proof-strip .cell:nth-child(3n) { border-right: 0; }
.proof-strip .cell:nth-child(n+4) { border-top: 1px solid var(--rule); }
.proof-strip .n {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.proof-strip .l {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 28ch;
}
@media (max-width: 720px) {
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip .cell:nth-child(3n) { border-right: 1px solid var(--rule); }
  .proof-strip .cell:nth-child(2n) { border-right: 0; }
  .proof-strip .cell:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* Portfolio-style transformation entries — editorial, no cards */
.portfolio {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.portfolio .entry {
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: baseline;
}
.portfolio .entry .company {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.4;
}
.portfolio .entry h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 30ch;
}
.portfolio .entry .body {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.portfolio .entry .body strong {
  color: var(--navy);
  font-weight: 500;
  font-family: var(--sans);
  font-size: 0.85em;
  letter-spacing: 0.02em;
}
.portfolio .entry .outcomes-inline {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.9;
}
.portfolio .entry .outcomes-inline .metric-inline {
  display: inline-block;
  margin-right: 28px;
}
.portfolio .entry .outcomes-inline .metric-inline .n {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-right: 6px;
}
@media (max-width: 860px) {
  .portfolio .entry { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
}

/* Timeline register — quieter, no border */
.timeline-editorial { border-top: 1px solid var(--rule); }
.timeline-editorial .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.timeline-editorial .yr {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.timeline-editorial .role h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.25;
}
.timeline-editorial .role .co {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.timeline-editorial .role .concurrent {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 2px;
}
@media (max-width: 720px) {
  .timeline-editorial .row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
}

/* Home framework preview — quiet, editorial link */
.framework-preview {
  max-width: 60ch;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Available for — quiet closing block */
.available-for {
  max-width: 60ch;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  font-weight: 400;
}
.available-for + .available-cta {
  margin-top: 48px;
}

/* Editorial link — no button, no underline animation, quiet */
.editorial-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
  letter-spacing: -0.005em;
}
.editorial-link:hover, .editorial-link:focus-visible {
  color: var(--navy);
  border-color: var(--navy);
}
.editorial-link .arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 220ms var(--ease);
}
.editorial-link:hover .arrow { transform: translateX(4px); }

/* Framework page — treat as IP, not services */
.framework-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--ink);
  font-weight: 400;
  max-width: 20ch;
  margin-bottom: 40px;
}
.framework-hero .thesis {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  max-width: 60ch;
  font-weight: 400;
}

/* Contact page tightening */
.contact-editorial h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.028em;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 32px;
}
.contact-editorial .intro {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  max-width: 52ch;
  font-weight: 400;
}
.contact-editorial .resume-note {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* Home end note — subtle closing rule */
.end-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--rule-strong);
  margin: 64px 0 0;
}
