:root {
  --paper: #f5f1e9;
  --paper-deep: #ebe4d8;
  --surface: #fffdf8;
  --ink: #111a2a;
  --ink-soft: #566273;
  --navy: #142a52;
  --navy-light: #213f73;
  --signal: #eb5735;
  --signal-dark: #b9381e;
  --blue: #3478f6;
  --green: #15866a;
  --rule: #d9d2c5;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --maxw: 1200px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(20, 42, 82, 0.12);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 8%, rgba(52, 120, 246, 0.08), transparent 24rem),
    radial-gradient(circle at 8% 28%, rgba(235, 87, 53, 0.07), transparent 22rem);
}

.wrap { width: min(calc(100% - 3rem), var(--maxw)); margin: 0 auto; }
.narrow { max-width: 790px; }

a { color: var(--signal-dark); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--signal); }

h1, h2, h3 {
  color: var(--navy);
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}

h1 { font-size: clamp(3.4rem, 7.5vw, 7.25rem); }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.35rem); }
h3 { font-size: 1.45rem; line-height: 1.12; }

p { margin: 0 0 1rem; }
strong { font-weight: 650; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--surface);
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.eyebrow {
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.site-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(217, 210, 197, 0.9);
  background: rgba(245, 241, 233, 0.92);
  backdrop-filter: blur(16px);
}

.site {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--surface);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: -0.05em;
}

.site nav { display: flex; align-items: center; gap: 1.5rem; }
.site nav a { color: var(--ink-soft); font-size: 0.92rem; font-weight: 550; text-decoration: none; }
.site nav a:hover { color: var(--navy); }
.nav-email {
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.72rem;
  user-select: all;
}
.site nav .nav-cta {
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  padding: 0.48rem 0.85rem;
}
.site nav .nav-cta:hover { background: var(--navy); color: #fff; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--navy-light); color: #fff; }
.button-secondary { color: var(--navy); }
.button-secondary:hover { border-color: var(--signal); color: var(--signal-dark); }
.button-light { background: #fff; border-color: #fff; color: var(--navy); }
.button-light:hover { background: #e8f0ff; color: var(--navy); }

/* Homepage */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  padding: 5.5rem 0 4.5rem;
}

.hero h1 { max-width: 10ch; }
.hero h1 em { color: var(--signal); font-style: normal; font-weight: 650; }
.hero .lead {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  max-width: 42rem;
  margin: 1.5rem 0 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-email { color: var(--ink-soft); font-family: var(--mono); font-size: 0.76rem; margin: 1rem 0 0; }
.hero-email strong { color: var(--signal-dark); font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.08em; margin-right: 0.4rem; text-transform: uppercase; }
.hero-email span { color: var(--navy); user-select: all; }

.portrait-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  top: 3%;
  right: -8%;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.14;
}

.portrait-stage::after {
  content: "";
  position: absolute;
  width: 132px;
  height: 132px;
  left: -3rem;
  bottom: 3rem;
  background-image: radial-gradient(var(--signal) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.55;
}

.headshot-link {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 390px);
  justify-self: end;
  text-decoration: none;
}

.headshot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(20, 42, 82, 0.18);
  border-radius: 48% 48% 16px 16px;
  box-shadow: var(--shadow);
}

.portrait-note {
  position: absolute;
  z-index: 3;
  left: -2.5rem;
  bottom: 0;
  width: min(290px, 80%);
  padding: 1rem 1.15rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(20, 42, 82, 0.12);
}

.portrait-note span {
  display: block;
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.portrait-note strong { color: var(--navy); font-family: var(--display); font-size: 1.25rem; }

.impact-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--rule);
}

.impact-rail article { min-height: 160px; padding: 1.6rem 1.5rem 1.5rem 0; }
.impact-rail article + article { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
.impact-rail strong {
  display: block;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
}
.impact-rail span { display: block; color: var(--ink-soft); font-size: 0.84rem; line-height: 1.35; margin-top: 0.55rem; }

.home-section { padding: clamp(5rem, 9vw, 8rem) 0; border-top: 1px solid var(--rule); }
.section-kicker { max-width: 48rem; margin-bottom: 2.5rem; }
.section-kicker h2 { margin-bottom: 1rem; }
.section-kicker > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; max-width: 42rem; }

.flagship {
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  border-radius: 26px;
  background: var(--navy);
  color: #dfe7f6;
  padding: clamp(2rem, 5vw, 4.5rem);
  box-shadow: var(--shadow);
}

.flagship::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -220px;
  right: -120px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.25;
}

.flagship .eyebrow { color: #ff9b82; }
.flagship h2 { color: #fff; font-size: clamp(2.7rem, 5vw, 5.2rem); }
.flagship-copy > p:not(.eyebrow) { color: #c7d2e7; font-size: 1.06rem; margin: 1.25rem 0 1.7rem; }
.flagship-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.text-link { color: #a9c5ff; display: inline-flex; align-items: center; font-weight: 600; padding: 0.7rem 0; }
.text-link:hover { color: #fff; }

.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin: 2rem 0; }
.proof-row div { border-top: 1px solid rgba(255,255,255,0.23); padding-top: 0.85rem; }
.proof-row strong { display: block; color: #fff; font-family: var(--display); font-size: 2.1rem; line-height: 1; }
.proof-row span { color: #aebbd2; font-size: 0.72rem; line-height: 1.25; }

.product-window {
  align-self: center;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  background: #eef3f8;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
  transform: rotate(1.2deg);
}

.product-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #fff; border-bottom: 1px solid #dde4ed; }
.product-bar i { width: 8px; height: 8px; border-radius: 50%; background: #dce1e8; }
.product-body { display: grid; grid-template-columns: 112px 1fr; min-height: 360px; }
.product-side { background: #182635; color: #9fb1c6; padding: 1rem 0.8rem; font-size: 0.62rem; }
.product-logo { color: #fff; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 1.8rem; }
.product-side span { display: block; margin: 0.65rem 0; }
.product-side .active { margin-left: -0.45rem; margin-right: -0.45rem; padding: 0.45rem; border-radius: 5px; background: #224a78; color: #fff; }
.product-main { padding: 1.25rem; }
.product-main small { color: var(--blue); font-family: var(--mono); font-size: 0.55rem; font-weight: 600; letter-spacing: 0.08em; }
.product-main h3 { color: var(--ink); font-family: var(--body); font-size: 1.25rem; letter-spacing: -0.03em; margin: 0.25rem 0 1rem; }
.mini-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
.mini-metrics div { border: 1px solid #dfe5ec; border-radius: 8px; background: #fff; padding: 0.75rem; }
.mini-metrics span { display: block; color: #8290a3; font-size: 0.5rem; text-transform: uppercase; }
.mini-metrics strong { color: var(--ink); font-size: 1.2rem; }
.mini-panel { border-radius: 9px; background: #fff; margin-top: 0.7rem; padding: 0.9rem; }
.mini-panel-head { display: flex; justify-content: space-between; color: var(--ink); font-size: 0.65rem; font-weight: 650; }
.mini-line { height: 7px; border-radius: 99px; background: #e9eef4; margin-top: 0.65rem; }
.mini-line::after { content: ""; display: block; width: 74%; height: 100%; border-radius: inherit; background: var(--blue); }

.system-story { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.system-story .section-kicker { position: sticky; top: 120px; }
.system-stack { display: grid; gap: 0.85rem; }
.system-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  padding: 1.25rem;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.system-card:hover { transform: translateX(6px); border-color: var(--signal); box-shadow: 0 16px 36px rgba(20,42,82,0.08); color: var(--ink); }
.system-card .index { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e8efff; color: var(--blue); font-family: var(--mono); font-size: 0.72rem; }
.system-card h3 { font-family: var(--body); font-size: 1.15rem; letter-spacing: -0.025em; }
.system-card p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.4; margin: 0.35rem 0 0; }
.system-card .arrow { color: var(--signal); font-size: 1.3rem; }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.card {
  min-height: 360px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  padding: 2rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(20,42,82,0.1); color: var(--ink); }
.card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -55px; bottom: -70px; border-radius: 50%; background: var(--paper-deep); }
.card-blue { background: #eaf1ff; }
.card-signal { background: #fff0ea; }
.card-green { background: #e9f6f1; }
.card .cat { color: var(--signal-dark); font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.card h3 { max-width: 15ch; font-size: clamp(2rem, 3.3vw, 3.15rem); margin: 0.75rem 0 1rem; }
.card p { color: var(--ink-soft); max-width: 36rem; }
.card .result { color: var(--navy); font-weight: 650; }
.card .more { position: relative; z-index: 2; color: var(--signal-dark); font-weight: 650; margin-top: 2rem; }

.leadership-proof { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1rem; }
.leadership-copy { border-radius: 22px; background: var(--navy); color: #dbe4f3; padding: clamp(2rem, 5vw, 4rem); }
.leadership-copy h2 { color: #fff; }
.leadership-copy > p:not(.eyebrow) { color: #c4cfe0; font-size: 1.05rem; margin: 1.2rem 0 2rem; }
.leadership-list { display: grid; gap: 0.8rem; }
.leadership-list div { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 0.8rem; }
.leadership-list strong { color: #fff; font-family: var(--display); font-size: 1.8rem; margin-right: 0.35rem; }
.leadership-list span { color: #b7c3d8; font-size: 0.86rem; }
.leadership-photo { min-height: 520px; overflow: hidden; position: relative; border-radius: 22px; margin: 0; }
.leadership-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leadership-photo figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; border-radius: 10px; background: rgba(17,26,42,0.86); color: #fff; padding: 0.8rem 1rem; font-size: 0.76rem; backdrop-filter: blur(8px); }

.about-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.about-grid .voice { color: var(--navy); font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.08; }
.about-copy { color: var(--ink-soft); }
.about-copy strong { color: var(--ink); }
.career-path { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; }
.career-path span { border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--navy); padding: 0.45rem 0.75rem; font-size: 0.78rem; }

.closing-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  border-radius: 24px 24px 0 0;
  background: var(--signal);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 5rem);
}
.closing-cta h2 { color: #fff; max-width: 15ch; }
.closing-cta p { color: #ffe5dc; max-width: 40rem; margin-top: 1rem; }
.contact-list { display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; }
.contact-list a { color: #fff; font-weight: 600; }
.contact-list a.button-light { color: var(--navy); }
.contact-list a.button-light:hover { color: var(--navy); }
.contact-list span { color: #ffe3da; }
.contact-list .contact-email { color: #fff; font-family: var(--mono); font-size: 0.88rem; user-select: all; }

/* Case studies */
.case-main { padding-bottom: 2rem; }
.cs-hero { padding: clamp(4rem, 8vw, 7rem) 0 3rem; }
.cs-hero h1 { max-width: 13ch; font-size: clamp(3.3rem, 7vw, 6.7rem); }
.cs-hero .hook { color: var(--ink-soft); font-size: clamp(1.12rem, 2vw, 1.35rem); max-width: 48rem; margin: 1.3rem 0 0; }

.glance {
  width: 100%;
  display: block;
  margin: 3rem 0 0;
  border-top: 2px solid var(--navy);
}
.glance tbody { display: grid; grid-template-columns: repeat(4, 1fr); }
.glance tr { display: block; padding: 1.25rem 1.15rem 1.4rem 0; }
.glance tr + tr { border-left: 1px solid var(--rule); padding-left: 1.15rem; }
.glance td { display: block; padding: 0; border: 0; font-size: 0.92rem; line-height: 1.45; }
.glance td:first-child { color: var(--signal-dark); font-family: var(--mono); font-size: 0.67rem; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 0.45rem; text-transform: uppercase; }

.cs-section { padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--rule); }
.cs-section h2 { max-width: 19ch; margin: 0 0 1.2rem; }
.cs-section h3 { color: var(--ink); font-family: var(--body); font-size: 1.2rem; font-weight: 650; letter-spacing: -0.02em; margin: 2rem 0 0.5rem; }
.cs-section > p, .cs-section > ul { max-width: 750px; }
.cs-section > p { color: var(--ink-soft); }
.cs-section > p strong { color: var(--ink); }
.cs-section ul { padding-left: 1.2rem; }
.cs-section li { margin-bottom: 0.75rem; }
.cs-section li::marker { color: var(--signal); }

.note { border-left: 3px solid var(--blue); color: var(--ink-soft); font-size: 0.86rem; padding-left: 1rem; margin-top: 1.75rem; }
.showcase, .diagram, .evidence, .system-map { max-width: 900px; border-radius: var(--radius); }
.showcase { border: 1px solid var(--rule); background: var(--surface); padding: 1.8rem; }
.diagram { overflow: hidden; border: 1px solid var(--rule); background: var(--surface); padding: 1.75rem; margin: 2.25rem 0; }
.diagram svg { width: 100%; height: auto; display: block; }
.figcap { color: var(--ink-soft); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; margin-top: 1rem; text-transform: uppercase; }

.evidence { background: var(--navy); color: #f3f6fb; padding: 1.8rem; margin: 2rem 0; }
.evidence .eyebrow { color: #ff9b82; margin-bottom: 0.65rem; }
.evidence h3 { color: #fff; font-family: var(--display); font-size: 1.8rem; margin: 0 0 0.35rem; }
.evidence > p { color: #c3cee0; font-size: 0.92rem; }
.artifact { border-radius: 10px; background: var(--surface); color: var(--ink); padding: 1rem; }
.artifact-head { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); color: var(--navy); font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; padding-bottom: 0.65rem; text-transform: uppercase; }
.artifact-row { display: grid; grid-template-columns: 8rem 1fr auto; gap: 0.8rem; align-items: center; border-bottom: 1px solid var(--rule); padding: 0.75rem 0; font-size: 0.83rem; line-height: 1.35; }
.artifact-row:last-child { border-bottom: 0; }
.artifact-tag { justify-self: start; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-soft); font-size: 0.68rem; padding: 0.18rem 0.48rem; white-space: nowrap; }
.answer-card { border-left: 4px solid var(--signal); padding: 0.2rem 0 0.2rem 0.9rem; }
.answer-card strong { display: block; color: var(--navy); margin-bottom: 0.35rem; }
.answer-card p { font-size: 0.85rem; line-height: 1.5; margin: 0; }
.answer-source { color: var(--ink-soft); font-size: 0.72rem; margin-top: 0.7rem; }
.storyboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.frame { min-height: 126px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--rule); border-radius: 8px; padding: 0.7rem; }
.frame-visual { height: 52px; position: relative; border-radius: 5px; background: linear-gradient(135deg, #e3ebfb, #f7e6df); }
.frame-visual::after { content: ""; position: absolute; width: 24px; height: 24px; left: calc(50% - 12px); top: 14px; border-radius: 50%; background: var(--signal); }
.frame strong { color: var(--navy); font-size: 0.78rem; }
.frame span { color: var(--ink-soft); font-size: 0.68rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; max-width: 950px; margin-top: 2rem; }
.feature-grid article { border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); padding: 1.35rem; }
.feature-grid article > span { color: var(--signal-dark); font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; }
.feature-grid h3 { color: var(--navy); margin: 0.45rem 0; }
.feature-grid p { color: var(--ink-soft); font-size: 0.84rem; line-height: 1.5; margin: 0; }

.system-map { background: var(--navy); color: #fff; padding: 1.8rem; text-align: center; }
.system-node { border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; background: #fff; color: var(--ink); padding: 1rem; }
.system-node strong { display: block; color: var(--navy); font-family: var(--display); font-size: 1.2rem; }
.system-node span { display: block; color: var(--ink-soft); font-size: 0.76rem; margin-top: 0.25rem; }
.system-product { border-color: #ff9b82; }
.system-arrow { display: block; color: #ff9b82; font-size: 1.25rem; line-height: 1; padding: 0.55rem; }
.system-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.system-map .figcap { color: #b7c3d8; text-align: left; }

.outcome-section > h2 { max-width: 18ch; }
.outcome-list { max-width: 950px; border-top: 2px solid var(--navy); margin: 2rem 0; }
.outcome-row { display: grid; grid-template-columns: 11rem 1fr; gap: 2rem; align-items: center; border-bottom: 1px solid var(--rule); padding: 2rem 0; }
.outcome-row > strong { color: var(--signal); font-family: var(--display); font-size: clamp(4rem, 8vw, 7rem); font-weight: 650; letter-spacing: -0.07em; line-height: 1; }
.outcome-row > strong.outcome-wide { font-size: clamp(2.7rem, 5.7vw, 5rem); white-space: nowrap; }
.outcome-row h3 { color: var(--navy); margin: 0 0 0.35rem; }
.outcome-row p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; margin: 0; }

.backlink { display: inline-flex; margin: 2.5rem 0 0; color: var(--ink-soft); font-size: 0.92rem; font-weight: 550; }

.site-foot { margin-top: 2rem; }
.site-foot .closing-cta { border-radius: 24px 24px 0 0; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .portrait-stage { min-height: 430px; max-width: 520px; }
  .headshot-link { justify-self: center; max-width: 330px; }
  .portrait-note { left: 0; }
  .impact-rail { grid-template-columns: repeat(2, 1fr); }
  .impact-rail article:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .impact-rail article:nth-child(4) { border-top: 1px solid var(--rule); }
  .flagship, .system-story, .leadership-proof, .about-grid { grid-template-columns: 1fr; }
  .system-story .section-kicker { position: static; }
  .glance tbody { grid-template-columns: repeat(2, 1fr); }
  .glance tr:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .glance tr:nth-child(4) { border-top: 1px solid var(--rule); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 2rem), var(--maxw)); }
  .site { min-height: 66px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { display: none; }
  .site nav { gap: 0.9rem; }
  .site nav a { font-size: 0.82rem; }
  .nav-email { display: none; }
  .site nav a[href="#about"], .case-header nav a[href="index.html#about"] { display: none; }
  .hero { padding: 3.8rem 0 3rem; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .hero .lead { font-size: 1.04rem; }
  .portrait-stage { min-height: 390px; }
  .portrait-stage::after { left: -1rem; }
  .portrait-note { bottom: -0.5rem; }
  .impact-rail { grid-template-columns: 1fr 1fr; }
  .impact-rail article { min-height: 138px; padding: 1.25rem 0.8rem 1.25rem 0; }
  .impact-rail article + article { padding-left: 0.8rem; }
  .impact-rail strong { font-size: 2.8rem; }
  .home-section { padding: 4.5rem 0; }
  .flagship { padding: 2rem 1.2rem; gap: 2rem; }
  .flagship h2 { font-size: 3rem; }
  .proof-row { grid-template-columns: 1fr 1fr 1fr; }
  .proof-row strong { font-size: 1.65rem; }
  .product-body { grid-template-columns: 84px 1fr; min-height: 310px; }
  .product-side { padding: 0.8rem 0.55rem; }
  .product-main { padding: 0.85rem; }
  .mini-metrics { grid-template-columns: 1fr; }
  .mini-metrics div:nth-child(n+2) { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .card { min-height: 330px; padding: 1.5rem; }
  .leadership-photo { min-height: 390px; }
  .closing-cta { grid-template-columns: 1fr; }
  .cs-hero { padding-top: 3.5rem; }
  .cs-hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .glance tbody { grid-template-columns: 1fr; }
  .glance tr + tr, .glance tr:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .feature-grid, .system-split, .storyboard { grid-template-columns: 1fr; }
  .outcome-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .diagram { overflow-x: auto; padding: 1rem; }
  .diagram svg { min-width: 620px; }
  .artifact-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .artifact-tag { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

/* Sidebar portfolio architecture */
:root { --sidebar-width: 286px; }

.has-sidebar main,
.has-sidebar > footer { margin-left: var(--sidebar-width); }

.has-sidebar .wrap {
  width: min(calc(100% - 4rem), 1160px);
}

.portfolio-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1.7rem 1.25rem 1.2rem;
  color: #eef4ff;
  background:
    radial-gradient(circle at 25% 0%, rgba(86, 151, 255, 0.2), transparent 17rem),
    linear-gradient(180deg, #112645 0%, #0b1b32 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.sidebar-brand:hover,
.mobile-brand:hover { color: #fff; }

.sidebar-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.1;
}

.sidebar-brand small {
  display: block;
  margin-top: 0.18rem;
  color: #aab9d1;
  font-size: 0.76rem;
}

.sidebar-monogram {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.sidebar-positioning {
  margin: 1.25rem 0 1.1rem;
  color: #c5d1e3;
  font-size: 0.86rem;
  line-height: 1.5;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sidebar-label {
  margin: 0.8rem 0 0.25rem;
  color: #7f94b3;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sidebar-nav a {
  position: relative;
  display: block;
  padding: 0.48rem 0.65rem;
  border-radius: 8px;
  color: #d7e1ef;
  font-size: 0.84rem;
  line-height: 1.25;
  text-decoration: none;
}

.sidebar-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.sidebar-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(83, 145, 255, 0.22);
  box-shadow: inset 3px 0 0 #78a9ff;
}

.sidebar-recruiter {
  margin-top: 1.3rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.sidebar-recruiter span {
  display: block;
  color: #8fd7bd;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-recruiter strong {
  display: block;
  margin: 0.35rem 0 0.3rem;
  color: #fff;
  font-family: var(--display);
  font-size: 0.88rem;
  line-height: 1.25;
}

.sidebar-recruiter a {
  color: #9fc0ff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.sidebar-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.sidebar-actions a {
  color: #c9d5e6;
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
}

.sidebar-actions .sidebar-resume {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 0.55rem;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 0.82rem;
}

.mobile-header { display: none; }

/* Short executive landing page */
.executive-hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.72fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: 5rem 0 3.4rem;
}

.executive-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.7rem, 6.4vw, 6.2rem);
}

.executive-hero h1 em {
  color: var(--signal);
  font-style: normal;
}

.executive-hero .lead {
  max-width: 48rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.56;
}

.availability-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 650;
}

.availability-line span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a06d;
  box-shadow: 0 0 0 5px rgba(22, 160, 109, 0.12);
}

.executive-copy .hero-actions {
  margin-top: 1.65rem;
  column-gap: 1rem;
  row-gap: 0.9rem;
}

.executive-portrait {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: center;
}

.executive-portrait::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  right: -6%;
  top: 0;
  border-radius: 50%;
  background: #dbe6f9;
}

.executive-portrait img {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  aspect-ratio: 0.86;
  justify-self: center;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 42% 42% 18px 18px;
  box-shadow: var(--shadow);
}

.portrait-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0.8rem;
  max-width: 255px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(20, 42, 82, 0.14);
}

.portrait-caption span {
  display: block;
  color: var(--signal-dark);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portrait-caption strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.25;
}

.executive-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 5rem;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.82);
}

.executive-metrics article {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
}

.executive-metrics article + article { border-left: 1px solid var(--rule); }
.executive-metrics strong { color: var(--navy); font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.executive-metrics span { margin-top: 0.55rem; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.35; }

.start-section,
.range-section,
.career-section { padding: 5rem 0; border-top: 1px solid var(--rule); }
.compact-heading { max-width: 760px; }
.section-heading h2,
.compact-heading h2 { max-width: 14ch; font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
.section-heading > p:last-child,
.compact-heading > p:last-child { max-width: 48rem; margin-top: 1.2rem; color: var(--ink-soft); }

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}

.priority-card {
  min-height: 475px;
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  border: 1px solid var(--rule);
  border-radius: 18px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.priority-card:hover { color: var(--ink); transform: translateY(-5px); box-shadow: var(--shadow); }
.priority-card h3 { margin-top: auto; font-size: clamp(1.75rem, 2.5vw, 2.45rem); line-height: 1.05; }
.priority-card p { margin-top: 1rem; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.52; }
.case-number { color: var(--signal-dark); font-family: var(--mono); font-size: 0.66rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.card-proof { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.card-proof strong { display: block; color: var(--navy); font-family: var(--display); font-size: 1.65rem; }
.card-proof span { color: var(--ink-soft); font-size: 0.78rem; }
.card-link { margin-top: 1.1rem; color: var(--signal-dark); font-weight: 700; font-size: 0.86rem; }
.priority-onboarding { background: #eaf1fd; }
.priority-nso { background: #edf7f3; }
.priority-apollo { background: #fff1eb; }

.range-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.range-section > div:first-child {
  max-width: 34rem;
  padding-left: clamp(0rem, 2vw, 1.5rem);
}
.range-section h2 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
}
.range-links { border-top: 1px solid var(--rule); }
.range-links a {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}
.range-links a:hover strong,
.range-links a:hover b { color: var(--signal-dark); }
.range-links span { color: var(--ink-soft); font-size: 0.82rem; }
.range-links strong { color: var(--navy); font-family: var(--display); line-height: 1.25; }
.range-links b { color: var(--navy); }

.recruiter-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin: 4rem 0;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 22px;
  color: #fff;
  background: var(--signal);
}
.recruiter-strip h2 { max-width: 14ch; color: #fff; font-size: clamp(2.5rem, 4.8vw, 4.7rem); }
.recruiter-strip p:not(.eyebrow) { max-width: 42rem; margin-top: 1rem; color: #ffe4db; }
.recruiter-strip .eyebrow { color: #ffe4db; }

.minimal-footer {
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.minimal-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; }
.minimal-footer a { font-weight: 650; }

/* Case-study upgrades */
.has-sidebar .case-main { padding-top: 0.5rem; }
.has-sidebar .cs-hero { padding-top: 4.8rem; }
.has-sidebar .cs-hero h1 { max-width: 15ch; font-size: clamp(3.2rem, 6vw, 5.7rem); }
.has-sidebar .cs-section { scroll-margin-top: 1rem; }

.ownership-section,
.ownership-panel {
  margin: 2rem 0;
  padding: clamp(1.8rem, 4vw, 3.5rem);
  border: 1px solid #bfd1ef;
  border-radius: 20px;
  background: #eaf1fd;
}
.ownership-section { border-top: 1px solid #bfd1ef !important; }
.ownership-section h2,
.ownership-panel h2 { max-width: 14ch; }
.ownership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}
.ownership-grid div { padding: 1.15rem; border: 1px solid rgba(20, 42, 82, 0.14); border-radius: 12px; background: rgba(255, 255, 255, 0.62); }
.ownership-grid strong { display: block; color: var(--navy); font-family: var(--display); }
.ownership-grid span { display: block; margin-top: 0.35rem; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.45; }

.product-evidence { background: transparent; }
.apollo-question-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.apollo-question-layout figure { margin: 0; }
.apollo-question-layout img {
  display: block;
  width: min(100%, 424px);
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.apollo-question-layout figcaption {
  padding-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
}
.apollo-question-copy p:last-child {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}
.screenshot-feature { margin-top: 2rem; overflow: hidden; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); }
.screenshot-feature img { display: block; width: 100%; height: auto; }
.screenshot-feature div { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: 1rem 1.2rem; }
.screenshot-feature strong { color: var(--navy); font-family: var(--display); }
.screenshot-feature span { color: var(--ink-soft); font-size: 0.88rem; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.screenshot-grid figure,
.apollo-screens figure { margin: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.screenshot-grid img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.screenshot-grid figcaption,
.apollo-screens figcaption { padding: 0.65rem 0.8rem; color: var(--ink-soft); font-size: 0.78rem; font-weight: 650; }

.portal-gallery {
  align-items: start;
}

.portal-gallery figure {
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(20, 42, 82, 0.07);
}

.portal-gallery figure:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.portal-gallery figcaption {
  display: grid;
  gap: 0.25rem;
  min-height: 76px;
  padding: 0.9rem 1rem 1rem;
}

.portal-gallery figcaption strong {
  color: var(--navy);
  font-family: var(--display);
  font-size: 1rem;
}

.portal-gallery figcaption span {
  color: var(--ink-soft);
  font-size: 0.79rem;
  font-weight: 500;
  line-height: 1.45;
}

.apollo-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  margin-top: 2rem;
}
.apollo-screens img { display: block; width: 100%; height: 480px; object-fit: contain; object-position: top; background: #fff; }

.evidence-quote {
  margin: 3rem 0;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: var(--navy);
}
.evidence-quote p { margin: 0; font-family: var(--display); font-size: clamp(1.45rem, 2.8vw, 2.35rem); line-height: 1.28; letter-spacing: -0.025em; }
.evidence-quote cite { display: block; margin-top: 1.2rem; color: #b8c7df; font-family: var(--mono); font-size: 0.7rem; font-style: normal; letter-spacing: 0.05em; text-transform: uppercase; }

.case-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}
.case-pagination a { display: flex; flex-direction: column; min-height: 108px; justify-content: center; padding: 1rem 1.2rem; border: 1px solid var(--rule); border-radius: 14px; color: var(--ink); background: var(--surface); text-decoration: none; }
.case-pagination a:last-child { text-align: right; }
.case-pagination span { color: var(--ink-soft); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.case-pagination strong { margin-top: 0.3rem; color: var(--navy); font-family: var(--display); }
.case-pagination a:hover { border-color: var(--signal); }

/* Onboarding case */
.case-hero-v2 { padding: 5rem 0 2.8rem; }
.case-hero-v2 h1 { max-width: 14ch; font-size: clamp(3.3rem, 6.3vw, 6rem); }
.case-hero-v2 .hook { max-width: 52rem; margin-top: 1.3rem; color: var(--ink-soft); font-size: 1.2rem; line-height: 1.55; }
.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.3rem;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
}
.hero-proof-grid div { min-height: 130px; display: flex; flex-direction: column; justify-content: center; padding: 1.2rem; }
.hero-proof-grid div + div { border-left: 1px solid var(--rule); }
.hero-proof-grid strong { color: var(--navy); font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.hero-proof-grid span { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.78rem; line-height: 1.3; }
.evidence-basis { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; margin-top: 1rem; padding: 1rem 1.2rem; border-left: 3px solid var(--signal); background: rgba(255, 253, 248, 0.7); }
.evidence-basis strong { color: var(--navy); font-family: var(--display); }
.evidence-basis span { color: var(--ink-soft); font-size: 0.86rem; }
.case-jump { position: sticky; top: 0; z-index: 15; display: flex; gap: 0.4rem; padding: 0.7rem 0; overflow-x: auto; background: rgba(245, 241, 233, 0.94); backdrop-filter: blur(12px); }
.case-jump a { flex: 0 0 auto; padding: 0.45rem 0.75rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-soft); background: var(--surface); font-size: 0.74rem; font-weight: 650; text-decoration: none; }
.case-jump a:hover { color: var(--navy); border-color: var(--navy); }
.two-column-story { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); }
.two-column-story h2 { font-size: clamp(2.4rem, 4.7vw, 4.6rem); }

.pathway { display: grid; gap: 0.75rem; margin-top: 2rem; }
.pathway article { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--rule); border-radius: 13px; background: var(--surface); }
.pathway article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #e9f1ff; font-family: var(--mono); font-size: 0.7rem; font-weight: 700; }
.pathway h3 { font-size: 1.2rem; }
.pathway p { margin: 0.3rem 0 0; color: var(--ink-soft); font-size: 0.88rem; }

.before-after-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.before-after-grid article { padding: 1.25rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.before-after-grid article > span { display: block; color: var(--ink-soft); font-size: 0.8rem; }
.before-after-grid article > div { display: flex; align-items: baseline; gap: 0.65rem; margin-top: 0.65rem; }
.before-after-grid small { color: #7d8796; font-family: var(--display); font-size: 1.25rem; text-decoration: line-through; text-decoration-thickness: 1px; }
.before-after-grid b { color: var(--signal); }
.before-after-grid strong { color: var(--navy); font-family: var(--display); font-size: 2.1rem; }
.before-after-grid em { display: block; margin-top: 0.35rem; color: var(--green); font-size: 0.8rem; font-style: normal; font-weight: 700; }

.apollo-onboarding { display: grid; grid-template-columns: 1fr 0.9fr; gap: 3rem; align-items: start; }
.compact-proof-list { display: grid; gap: 0.8rem; }
.compact-proof-list div { padding: 1rem; border-left: 3px solid var(--blue); background: #eaf1fd; }
.compact-proof-list strong { display: block; color: var(--navy); font-family: var(--display); font-size: 1.45rem; }
.compact-proof-list span { color: var(--ink-soft); font-size: 0.78rem; }
.retention-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0 1.2rem; }
.retention-compare div { padding: 1.4rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.retention-compare span,
.retention-compare small { display: block; color: var(--ink-soft); font-size: 0.8rem; }
.retention-compare strong { display: block; margin: 0.5rem 0 0.2rem; color: var(--navy); font-family: var(--display); font-size: 3rem; }
.evidence-notes { margin-bottom: 2rem; }

/* About, leadership, and recruiter pages */
.profile-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: 5rem 0 3.5rem;
}
.profile-hero h1 { max-width: 11ch; font-size: clamp(3.5rem, 6.5vw, 6.2rem); }
.profile-hero .hook { margin-top: 1.4rem; color: var(--ink-soft); font-size: 1.18rem; }
.profile-hero figure { margin: 0; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); background: var(--surface); }
.profile-hero img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.profile-hero figcaption { padding: 0.7rem 0.9rem; color: var(--ink-soft); font-size: 0.75rem; }
.scope-grid,
.leadership-proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--rule); border-radius: 16px; background: var(--rule); }
.scope-grid article,
.leadership-proof-row article { min-height: 125px; display: flex; flex-direction: column; justify-content: center; padding: 1.2rem; background: var(--surface); }
.scope-grid strong,
.leadership-proof-row strong { color: var(--navy); font-family: var(--display); font-size: 2.25rem; line-height: 1; }
.scope-grid span,
.leadership-proof-row span { margin-top: 0.45rem; color: var(--ink-soft); font-size: 0.8rem; line-height: 1.35; }
.career-timeline { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.career-timeline article { display: grid; grid-template-columns: 190px 1fr; gap: 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.career-timeline time { color: var(--signal-dark); font-family: var(--mono); font-size: 0.72rem; font-weight: 650; }
.career-timeline h3 { font-size: 1.3rem; }
.career-timeline p { margin: 0.45rem 0 0; color: var(--ink-soft); font-size: 0.92rem; }
.global-scope,
.leadership-context { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; padding: 4.5rem 0; border-top: 1px solid var(--rule); }
.region-list { display: flex; flex-wrap: wrap; gap: 0.65rem; align-content: start; }
.region-list span { padding: 0.65rem 0.85rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--navy); background: var(--surface); font-size: 0.84rem; font-weight: 650; }

.leadership-hero { display: grid; grid-template-columns: 1.1fr 0.8fr; gap: 3rem; align-items: center; }
.leadership-hero figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--surface); }
.leadership-hero img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.leadership-hero figcaption { padding: 0.6rem 0.8rem; color: var(--ink-soft); font-size: 0.75rem; }
.leadership-proof-row { margin-bottom: 3rem; }
.deck-feature { display: grid; grid-template-columns: 1fr 260px; gap: 3rem; align-items: center; }
.deck-stat { display: flex; min-height: 240px; flex-direction: column; justify-content: center; padding: 1.5rem; border-radius: 16px; background: var(--navy); }
.deck-stat strong { color: #fff; font-family: var(--display); font-size: 5rem; line-height: 1; }
.deck-stat span { margin-top: 0.7rem; color: #bdcbe0; font-size: 0.86rem; }

.contact-hero { display: grid; grid-template-columns: 1.2fr 280px; gap: 4rem; align-items: center; padding: 5rem 0 4rem; }
.contact-hero h1 { max-width: 13ch; font-size: clamp(3.4rem, 6.4vw, 6rem); }
.contact-hero .hook { max-width: 49rem; margin-top: 1.3rem; color: var(--ink-soft); font-size: 1.15rem; }
.contact-hero img { width: 100%; aspect-ratio: 0.85; object-fit: cover; object-position: center 24%; border-radius: 46% 46% 18px 18px; box-shadow: var(--shadow); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.6rem; }
.recruiter-summary { padding: 4rem 0; border-top: 1px solid var(--rule); }
.recruiter-summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.recruiter-summary-grid article { padding: 1.25rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.recruiter-summary-grid strong { color: var(--navy); font-family: var(--display); font-size: 1.15rem; }
.recruiter-summary-grid p { margin: 0.45rem 0 0; color: var(--ink-soft); font-size: 0.88rem; }
.fit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: center; padding: 4rem clamp(0rem, 2vw, 1.5rem); border-top: 1px solid var(--rule); }
.fit-grid > div:first-child { max-width: 38rem; }
.fit-list { margin-top: 1.5rem; }
.availability-card { display: grid; grid-template-columns: 115px 1fr; gap: 0.8rem 1rem; width: 100%; padding: 1.65rem; border-radius: 16px; color: #fff; background: var(--navy); align-self: center; }
.availability-card span { color: #9fb0ca; font-size: 0.75rem; }
.availability-card strong { font-size: 0.88rem; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin: 3rem 0 4rem; padding: clamp(2rem, 5vw, 4rem); border-radius: 20px; background: #eaf1fd; }
.contact-card h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.contact-card > div:last-child { display: flex; flex-direction: column; justify-content: center; gap: 0.7rem; }
.contact-card a { font-weight: 700; }
.contact-card span { color: var(--ink-soft); font-size: 0.82rem; }

@media (max-width: 1100px) {
  :root { --sidebar-width: 252px; }
  .portfolio-sidebar { padding-inline: 1rem; }
  .sidebar-positioning { display: none; }
  .executive-hero { grid-template-columns: 1fr 300px; }
  .priority-card { min-height: 440px; padding: 1.4rem; }
}

@media (max-width: 940px) {
  .portfolio-sidebar { display: none; }
  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--rule);
    background: rgba(245, 241, 233, 0.96);
    backdrop-filter: blur(14px);
  }
  .mobile-brand { color: var(--navy); }
  .mobile-brand:hover { color: var(--navy); }
  .mobile-brand .sidebar-monogram { width: 36px; height: 36px; color: #fff; background: var(--navy); }
  .mobile-menu { position: relative; }
  .mobile-menu summary { cursor: pointer; padding: 0.45rem 0.75rem; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); font-size: 0.82rem; font-weight: 700; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] nav {
    position: fixed;
    top: 68px;
    inset-inline: 0;
    max-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1rem;
    border-bottom: 1px solid var(--rule);
    background: var(--surface);
    box-shadow: 0 18px 45px rgba(20, 42, 82, 0.16);
  }
  .mobile-menu nav a { padding: 0.7rem; border-bottom: 1px solid var(--rule); color: var(--navy); text-decoration: none; }
  .mobile-menu nav a[aria-current="page"] { color: var(--signal-dark); font-weight: 700; }
  .mobile-menu .sidebar-label { color: var(--ink-soft); }
  .has-sidebar main,
  .has-sidebar > footer { margin-left: 0; }
  .has-sidebar .wrap { width: min(calc(100% - 2rem), 1160px); }
  .executive-hero,
  .profile-hero,
  .contact-hero,
  .leadership-hero { grid-template-columns: 1fr; }
  .executive-portrait { max-width: 470px; width: 100%; justify-self: center; }
  .contact-hero img { max-width: 300px; grid-row: 1; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-card { min-height: 360px; }
  .range-section,
  .two-column-story,
  .global-scope,
  .leadership-context,
  .fit-grid,
  .contact-card,
  .apollo-onboarding { grid-template-columns: 1fr; gap: 2rem; }
  .case-jump { top: 68px; }
  .apollo-screens { grid-template-columns: repeat(3, 1fr); }
  .deck-feature { grid-template-columns: 1fr; }
  .deck-stat { min-height: 180px; }
}

@media (max-width: 680px) {
  .executive-hero { min-height: auto; padding: 3.6rem 0 2.5rem; }
  .executive-hero h1,
  .profile-hero h1,
  .contact-hero h1,
  .case-hero-v2 h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .executive-portrait { min-height: 400px; }
  .executive-metrics,
  .hero-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .executive-metrics article + article,
  .hero-proof-grid div + div { border-left: 0; }
  .executive-metrics article:nth-child(even),
  .hero-proof-grid div:nth-child(even) { border-left: 1px solid var(--rule); }
  .executive-metrics article:nth-child(n+3),
  .hero-proof-grid div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .start-section,
  .range-section,
  .career-section { padding: 3.5rem 0; }
  .range-links a { grid-template-columns: 1fr auto; }
  .range-links span { grid-column: 1 / -1; }
  .recruiter-strip { grid-template-columns: 1fr; }
  .minimal-footer .wrap { flex-direction: column; }
  .ownership-grid,
  .before-after-grid,
  .retention-compare,
  .recruiter-summary-grid,
  .scope-grid,
  .leadership-proof-row,
  .case-pagination { grid-template-columns: 1fr; }
  .screenshot-feature div,
  .evidence-basis { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .portal-gallery figure:last-child:nth-child(odd) { grid-column: auto; }
  .apollo-question-layout { grid-template-columns: 1fr; }
  .apollo-question-copy { order: -1; }
  .apollo-screens { grid-template-columns: 1fr; }
  .apollo-screens img { height: auto; max-height: 620px; }
  .case-pagination a:last-child { text-align: left; }
  .career-timeline article { grid-template-columns: 1fr; gap: 0.6rem; }
  .profile-hero { padding-top: 3.5rem; }
  .contact-hero { padding-top: 3.5rem; }
  .contact-hero img { max-width: 230px; }
}

/* Human voice and layout refinement */
.executive-portrait {
  min-height: 440px;
}

.executive-portrait::before {
  width: 390px;
  max-width: 96%;
  right: 0;
  top: 0.5rem;
}

.executive-portrait::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 2.5rem;
  width: 150px;
  height: 120px;
  opacity: 0.55;
  background: radial-gradient(circle, var(--signal) 2px, transparent 2.6px);
  background-size: 16px 16px;
}

.executive-portrait img {
  width: 370px;
  max-width: calc(100% - 1rem);
  height: 370px;
  aspect-ratio: 1;
  object-position: center 24%;
  border-radius: 50%;
}

.portrait-caption {
  right: -0.4rem;
  bottom: 0;
}

.global-scope {
  grid-template-columns: 1fr;
  gap: 1.8rem;
  text-align: center;
}

.global-scope > div:first-child {
  max-width: 760px;
  margin-inline: auto;
}

.global-scope h2 {
  max-width: none;
}

.global-scope p:not(.eyebrow) {
  max-width: 680px;
  margin: 1rem auto 0;
  color: var(--ink-soft);
}

.global-scope .region-list {
  justify-content: center;
}

.personal-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: 4.5rem 0;
  border-top: 1px solid var(--rule);
}

.personal-section h2 {
  max-width: 12ch;
}

.personal-section > div:first-child > p:last-child {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.personal-grid {
  display: grid;
  gap: 0.8rem;
}

.personal-grid article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.2rem 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
}

.personal-grid article > span {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--signal-dark);
  background: #fbe7df;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
}

.personal-grid h3 {
  font-size: 1.12rem;
}

.personal-grid p {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.contact-portrait {
  position: relative;
  width: 330px;
  height: 330px;
  display: grid;
  place-items: center;
  justify-self: center;
}

.contact-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #dbe6f9;
}

.contact-portrait::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: 10px;
  width: 96px;
  height: 96px;
  border: 15px solid var(--signal);
  border-radius: 50%;
}

.contact-hero .contact-portrait img {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 280px;
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 24%;
  border: 8px solid var(--surface);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.addie-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.addie-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: var(--surface);
}

.addie-grid article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-family: var(--mono);
  font-weight: 700;
}

.addie-grid h3 {
  font-size: 1.15rem;
}

.addie-grid p {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 940px) {
  .personal-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .executive-portrait {
    min-height: 370px;
  }

  .executive-portrait img {
    width: 310px;
    height: 310px;
  }

  .executive-portrait::before {
    width: 330px;
  }

  .contact-portrait {
    width: 280px;
    height: 280px;
  }

  .contact-hero .contact-portrait img {
    width: 235px;
    height: 235px;
  }
}
