/* ==========================================================================
   Kenyatta Sacha Dunkin — personal site
   Built on the "Nocturne" design system (dark ground, outlined actions,
   accent as line not fill). Tokens below are the system's source of truth;
   retune here and the whole site follows.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --color-bg: #161826;
  --color-surface: #232532;
  --color-text: #e9e9ed;
  --color-accent: #9184d9;
  --color-divider: rgba(233, 233, 237, 0.16);

  --color-neutral-100: #f3f5fe;
  --color-neutral-200: #e4e7f5;
  --color-neutral-300: #cfd3e5;
  --color-neutral-400: #b2b6ca;
  --color-neutral-500: #9397ab;
  --color-neutral-600: #75798c;
  --color-neutral-700: #595d6c;
  --color-neutral-800: #3f424d;
  --color-neutral-900: #292b31;

  /* Small metadata type — years, labels, placeholders. One step brighter than
     neutral-600 so 13px text clears WCAG AA (4.6:1) on the page ground, while
     still reading quieter than body copy. */
  --color-meta: #838799;

  --color-accent-100: #f5f4ff;
  --color-accent-200: #e7e5fe;
  --color-accent-300: #d2cefd;
  --color-accent-400: #b5abfc;
  --color-accent-500: #968ae0;
  --color-accent-600: #796cbf;
  --color-accent-700: #5d5294;
  --color-accent-800: #423a6a;
  --color-accent-900: #2b2741;

  /* Saturated deep indigo band — used for the stat strips. */
  --color-section: #262a60;

  --font-heading: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 0 0 1px #3f424d;
  --shadow-md: 0 0 0 1px #595d6c, 0 6px 18px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 0 0 1px #9397ab, 0 16px 40px rgba(0, 0, 0, 0.65);

  /* Layout — the design was drawn on an 1100px board with 56px gutters. */
  --content-max: 1100px;
  --gutter: 56px;
  --header-h: 73px;
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--color-accent-300); text-decoration: none; text-underline-offset: 3px; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-accent-400);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: rgba(145, 132, 217, 0.3); }

/* Skip link — first tab stop on every page. */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: top 180ms ease;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--content-max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* A two-column "label / content" row — the spine of the inner pages. */
.spine {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.spine--wide { grid-template-columns: 260px 1fr; gap: 48px; }

.spine__label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-neutral-500);
}

.section { padding-block: 88px; }
.section--tight { padding-block: 0 88px; }
.section--flush-top { padding-top: 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-300);
}
.eyebrow--muted { color: var(--color-neutral-500); font-size: 13px; }

.measure { max-width: 64ch; }

/* --------------------------------------------------------------------------
   4. Buttons + links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-neutral-700);
  color: var(--color-neutral-200);
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease,
    transform 220ms ease;
}
.btn--accent {
  border-color: var(--color-accent);
  color: var(--color-accent-300);
}
.btn--accent:hover,
.btn--accent:focus-visible {
  background: var(--color-accent-800);
  color: var(--color-accent-100);
  transform: translateY(-2px);
}
.btn--quiet { border-color: var(--color-neutral-800); color: var(--color-neutral-300); }
.btn:not(.btn--accent):hover,
.btn:not(.btn--accent):focus-visible {
  border-color: var(--color-neutral-400);
  color: var(--color-neutral-100);
  transform: translateY(-2px);
}
.btn--sm { padding: 11px 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

/* Text link with an underline that grows in on hover. */
.link-arrow {
  display: inline-block;
  align-self: flex-start;
  font-size: 14px;
  color: var(--color-accent-300);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, color 220ms ease;
}
.link-arrow:hover,
.link-arrow:focus-visible { border-color: var(--color-accent-400); color: var(--color-accent-200); }

/* --------------------------------------------------------------------------
   5. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
}
/* On the home page the header rides over the hero image until you scroll. */
.site-header--overlay {
  background: transparent;
  border-bottom-color: transparent;
  margin-bottom: calc(var(--header-h) * -1);
  transition: background 300ms ease, border-color 300ms ease;
}
.site-header--overlay.is-stuck {
  background: rgba(22, 24, 38, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--color-divider);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 18px;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--color-text);
  transition: color 200ms ease;
}
.brand:hover { color: var(--color-accent-200); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--color-neutral-300);
}
.nav a {
  color: inherit;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--color-accent-300);
  border-bottom-color: var(--color-accent-500);
}
.nav a[aria-current="page"] {
  color: var(--color-text);
  border-bottom-color: transparent;
}
.nav .btn {
  padding: 7px 16px;
  font-size: 13px;
  border-bottom-width: 1px;
}
.nav .btn:hover { transform: none; }

/* Mobile menu button — hidden above the breakpoint. */
.nav-toggle {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--color-neutral-700);
  border-radius: var(--radius-md);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-neutral-200);
  transition: border-color 200ms ease, color 200ms ease;
}
.nav-toggle:hover { border-color: var(--color-accent-600); color: var(--color-accent-200); }

.nav-panel { display: none; }

/* --------------------------------------------------------------------------
   6. Hero — the locked 4a cover slideshow
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: clamp(600px, 78vh, 820px);
  overflow: hidden;
  background: var(--color-bg);
}

.hero__slides { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* The frame is nudged right so the headline column never covers her face;
     the empty sliver on the left falls under the solid part of the scrim. */
  transform: translateX(15%);
  transition: opacity 1400ms ease;
  mix-blend-mode: lighten;
  background-color: transparent;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 60% 20%);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    /* a short fade into the ground so the crop meets the strip below it
       cleanly at viewport widths wider than the board this was drawn on */
    linear-gradient(to top, #161826 0%, rgba(22, 24, 38, 0) 12%),
    linear-gradient(
      100deg,
      #161826 0%,
      #161826 40%,
      rgba(22, 24, 38, 0.82) 52%,
      rgba(22, 24, 38, 0.24) 68%,
      rgba(22, 24, 38, 0) 82%
    );
}

.hero__body {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 44px;
  padding-top: var(--header-h);
}

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 660px;
}
.hero__title {
  /* The three lines are set by <br>. nowrap keeps them three at every desktop
     width; the vw term shrinks the type before it could ever overflow. */
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.hero__lede {
  max-width: 430px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-neutral-200);
}

/* Progress bars — clickable, keyboard-reachable. */
.hero__dots {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 8px;
}
.hero__dot {
  width: 10px;
  height: 4px;
  padding: 0;
  border-radius: 999px;
  background: var(--color-neutral-600);
  /* the bars sit over the photo, which changes — the shadow keeps them
     readable against a bright wall as well as a dark one */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: width 400ms ease, background 400ms ease;
}
.hero__dot::before {
  /* invisible 44px tap target without changing the visual size */
  content: "";
  display: block;
  height: 44px;
  margin-top: -20px;
}
.hero__dot.is-active { width: 34px; background: var(--color-accent-400); }
.hero__dot:hover { background: var(--color-accent-500); }

/* --------------------------------------------------------------------------
   7. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  padding-block: 96px 80px;
}
.page-hero--end { align-items: end; }
.page-hero--speaking { grid-template-columns: 1fr 380px; }
.page-hero--work { grid-template-columns: 1fr 360px; padding-bottom: 56px; }

.page-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.page-hero__title {
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}
.page-hero__title--tight { max-width: 16ch; }
.page-hero__lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-neutral-400);
  max-width: 54ch;
}

/* --------------------------------------------------------------------------
   8. Media
   -------------------------------------------------------------------------- */
.media {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--color-neutral-900);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 30%);
}
.media--3x4 { aspect-ratio: 3 / 4; }
.media--2x3 { aspect-ratio: 2 / 3; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--fixed { height: 320px; }

/* Full-bleed band — breaks out of the content column edge to edge. */
.band {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-neutral-900);
  margin-bottom: 88px;
}
.band img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 15%); }

/* The system's blend wrapper — dark photo values melt into the ground. */
.lighten { mix-blend-mode: lighten; background-color: transparent; }

/* --------------------------------------------------------------------------
   9. Formerly strip
   -------------------------------------------------------------------------- */
.formerly {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  padding-block: 24px;
  border-bottom: 1px solid var(--color-divider);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-neutral-400);
}
.formerly__label { color: var(--color-meta); }
.formerly span:not(.formerly__label) { transition: color 220ms ease; cursor: default; }
.formerly span:not(.formerly__label):hover { color: var(--color-accent-300); }

/* --------------------------------------------------------------------------
   10. Rows — the shared "slide right on hover" interaction
   -------------------------------------------------------------------------- */
.row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 14px 22px 0;
  border-top: 1px solid var(--color-divider);
  transition: padding 260ms ease, background 260ms ease;
}
.row:hover { padding-left: 14px; background: var(--color-accent-900); }
.row--pad { padding-block: 26px; }
.row--talk { gap: 6px; padding-block: 18px; cursor: default; }
.row--bottom { border-top: 0; border-bottom: 1px solid var(--color-divider); }

.row__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.row__note { font-size: 14px; color: var(--color-neutral-500); line-height: 1.5; }
.row__year {
  font-size: 13px;
  color: var(--color-meta);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.row__role { font-size: 13px; color: var(--color-neutral-500); letter-spacing: 0.04em; }
.row__body { font-size: 15px; line-height: 1.7; color: var(--color-neutral-400); }

/* Selected-work grid row: title / note / year */
.row--project {
  display: grid;
  grid-template-columns: 1fr 300px 110px;
  gap: 24px;
  align-items: baseline;
}
.row--project .row__year { text-align: right; }

.row__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

/* --------------------------------------------------------------------------
   11. Section headers
   -------------------------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-divider);
}
.section-head--plain { border-bottom: 0; padding-bottom: 20px; }
.section-head h2 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.02em; }
.section-head__meta {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-meta);
}

/* --------------------------------------------------------------------------
   12. Strengths grid (home)
   -------------------------------------------------------------------------- */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); }
.strength {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px 34px 0;
  border-bottom: 1px solid var(--color-divider);
  transition: padding 260ms ease, background 260ms ease;
}
.strength:hover { padding-left: 16px; background: var(--color-accent-900); }
.strength__n {
  font-size: 12px;
  color: var(--color-accent-400);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}
.strength__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.strength__body { font-size: 14px; line-height: 1.7; color: var(--color-neutral-400); }

/* --------------------------------------------------------------------------
   13. About block + chips
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-block: 80px;
}
.about-grid__col { display: flex; flex-direction: column; gap: 18px; }
.about-lede {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.about-body { font-size: 15px; line-height: 1.75; color: var(--color-neutral-400); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.chip {
  padding: 6px 13px;
  border: 1px solid var(--color-neutral-800);
  border-radius: 999px;
  font-size: 13px;
  color: var(--color-neutral-300);
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease;
}
.chip:hover {
  border-color: var(--color-accent-600);
  color: var(--color-accent-200);
  transform: translateY(-1px);
}

.talks-col { display: flex; flex-direction: column; }
.talks-col__label { padding-bottom: 14px; }

/* --------------------------------------------------------------------------
   14. Stat band
   -------------------------------------------------------------------------- */
.stats {
  background: var(--color-section);
  padding-block: 48px;
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; transition: transform 300ms ease; }
.stat:hover { transform: translateY(-4px); }
.stat__n {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  color: var(--color-neutral-100);
}
.stat__label { font-size: 13px; line-height: 1.45; color: var(--color-accent-200); }
.stats--sm .stat__n { font-size: clamp(26px, 3vw, 38px); }
.stats--speaking .stat__n { font-size: clamp(24px, 2.8vw, 34px); }

/* --------------------------------------------------------------------------
   15. Split blocks (building / newsletter)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
  padding-block: 88px;
}
.split--narrow { grid-template-columns: 1fr 340px; gap: 48px; }
.split__copy { display: flex; flex-direction: column; gap: 20px; }
.split__title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.split__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-neutral-400);
  max-width: 48ch;
}

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-neutral-500);
}
.input {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--color-text);
  caret-color: var(--color-accent);
  background: transparent;
  border: 1px solid var(--color-neutral-800);
  border-radius: var(--radius-md);
  transition: border-color 220ms ease;
}
.input::placeholder { color: var(--color-meta); }
.input:hover { border-color: var(--color-neutral-600); }
.input:focus { border-color: var(--color-accent-600); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.6; }

.form { display: flex; flex-direction: column; gap: 12px; }
.form .btn { align-self: flex-start; margin-top: 6px; }

/* Inline newsletter row */
.signup { display: flex; gap: 8px; }
.signup .input { flex: 1; }
.signup .btn { padding: 11px 18px; white-space: nowrap; }

.form__status {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-accent-200);
}
.form__status:empty { display: none; }
.form__status[data-state="error"] { color: #f0a9a9; }

.field__error {
  font-size: 12px;
  color: #f0a9a9;
}
.field__error:empty { display: none; }
.input[aria-invalid="true"] { border-color: #b06868; }

/* Honeypot — off-screen, never shown to a real visitor. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   17. Filter chips (Work)
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 8px 16px;
  border: 1px solid var(--color-neutral-800);
  border-radius: 999px;
  font-size: 13px;
  color: var(--color-neutral-400);
  background: transparent;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}
.filter:hover { border-color: var(--color-accent-500); color: var(--color-accent-200); }
.filter[aria-pressed="true"] {
  border-color: var(--color-accent-500);
  color: var(--color-accent-100);
  background: var(--color-accent-800);
}

.theme-group[hidden] { display: none; }
.theme-group { padding-bottom: 72px; }
.theme-group__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.theme-group__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.theme-group__blurb { font-size: 14px; line-height: 1.65; color: var(--color-neutral-500); }

.filter-empty {
  padding: 32px 0 72px;
  font-size: 15px;
  color: var(--color-neutral-500);
}

/* --------------------------------------------------------------------------
   18. Pillars (Work)
   -------------------------------------------------------------------------- */
.pillar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 14px 28px 0;
  border-top: 1px solid var(--color-divider);
  transition: padding 260ms ease, background 260ms ease;
}
.pillar:hover { padding-left: 16px; background: var(--color-accent-900); }
.pillar__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.pillar__body { font-size: 15px; line-height: 1.7; color: var(--color-neutral-400); }
.pillar__take {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-accent-200);
}
.pillar__take::before { content: "→"; color: var(--color-accent-400); }

/* --------------------------------------------------------------------------
   19. About page specifics
   -------------------------------------------------------------------------- */
.story { display: flex; flex-direction: column; gap: 22px; max-width: 64ch; }
.story__lede {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.story p { font-size: 16px; line-height: 1.75; color: var(--color-neutral-400); }

.raised { display: flex; flex-direction: column; gap: 14px; }
.raised li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-neutral-400);
}
.raised li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent-500);
  margin-top: 10px;
}

.pullquote {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 0 32px 28px;
  border-left: 2px solid var(--color-accent-600);
  max-width: 52ch;
}
.pullquote span {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.pullquote span:last-child { color: var(--color-accent-300); }

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-divider);
}
.value {
  background: var(--color-bg);
  padding: 24px 26px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 260ms ease;
}
.value:hover { background: var(--color-accent-900); }
.value__title { font-family: var(--font-heading); font-weight: 500; font-size: 19px; }
.value__body { font-size: 14px; line-height: 1.6; color: var(--color-neutral-400); }

.timeline { display: flex; flex-direction: column; }
.timeline__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-divider);
  transition: background 260ms ease, padding 260ms ease;
}
.timeline__item:hover { background: var(--color-accent-900); padding-left: 12px; }
.timeline__year {
  font-size: 13px;
  color: var(--color-meta);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}
.timeline__title { font-family: var(--font-heading); font-weight: 500; font-size: 18px; line-height: 1.3; }
.timeline__note { font-size: 14px; line-height: 1.6; color: var(--color-neutral-500); }

.education { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.education__list { display: flex; flex-direction: column; gap: 20px; }
.education__title { font-family: var(--font-heading); font-weight: 500; font-size: 20px; line-height: 1.35; }
.education__note { font-size: 14px; line-height: 1.6; color: var(--color-neutral-500); }

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 48px 56px;
  border: 1px solid var(--color-accent-800);
  border-radius: var(--radius-md);
  transition: border-color 300ms ease, background 300ms ease;
}
.cta-card:hover { border-color: var(--color-accent-600); background: rgba(43, 39, 65, 0.4); }
.cta-card__title { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.02em; }
.cta-card__body { font-size: 15px; color: var(--color-neutral-400); max-width: 52ch; }

/* --------------------------------------------------------------------------
   20. Speaking page specifics
   -------------------------------------------------------------------------- */
.talk {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-divider);
  align-items: start;
  transition: background 260ms ease, padding 260ms ease;
}
.talk:hover { background: var(--color-accent-900); padding-inline: 14px; }
.talk__head { display: flex; flex-direction: column; gap: 8px; }
.talk__kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-300);
  min-height: 1em;
}
.talk__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.talk__body { font-size: 14px; line-height: 1.65; color: var(--color-neutral-400); }

.engagement {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--color-divider);
  transition: background 260ms ease, padding 260ms ease;
}
.engagement:hover { background: var(--color-accent-900); padding-inline: 12px; }
.engagement__event {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.engagement__role { font-size: 13px; color: var(--color-neutral-500); letter-spacing: 0.04em; }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote {
  padding: 30px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote p {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}
.quote cite { font-style: normal; font-size: 13px; color: var(--color-neutral-500); }

.inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.inquiry__copy { display: flex; flex-direction: column; gap: 20px; }
.inquiry__title { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.02em; }
.inquiry__body { font-size: 15px; line-height: 1.7; color: var(--color-neutral-400); max-width: 44ch; }

/* --------------------------------------------------------------------------
   21. Writing page
   -------------------------------------------------------------------------- */
.writing-note {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 60ch;
}
.writing-note__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.writing-note p { font-size: 16px; line-height: 1.75; color: var(--color-neutral-400); }

/* Rules are drawn per cell rather than by a gap over a tinted ground, so an
   odd number of topics doesn't leave a ghost cell in the last column. */
.topics { display: grid; grid-template-columns: repeat(2, 1fr); }
.topic {
  padding: 26px 26px 26px 0;
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 260ms ease, padding 260ms ease;
}
.topic:nth-child(odd) { border-right: 1px solid var(--color-divider); }
.topic:nth-child(even) { padding-left: 26px; }
.topic:hover { background: var(--color-accent-900); padding-left: 16px; }
.topic__n { font-size: 12px; color: var(--color-accent-400); letter-spacing: 0.1em; }
.topic__title { font-family: var(--font-heading); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--color-divider);
  padding-block: 36px 44px;
  font-size: 13px;
  color: var(--color-meta);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--color-neutral-400); transition: color 220ms ease; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--color-accent-300); }

/* --------------------------------------------------------------------------
   23. Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .hero__slide { transition: opacity 0.001ms !important; }
}

/* ==========================================================================
   24. Tablet — 1024px and below
   ========================================================================== */
@media (max-width: 1023px) {
  :root { --gutter: 40px; }

  .spine, .spine--wide { grid-template-columns: 1fr; gap: 20px; }
  .theme-group__head { position: static; }

  .page-hero,
  .page-hero--speaking,
  .page-hero--work { grid-template-columns: 1fr 300px; gap: 40px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; padding-block: 64px; }
  .strengths { grid-template-columns: repeat(2, 1fr); }
  .split, .split--narrow { grid-template-columns: 1fr 280px; gap: 40px; }
  .education { grid-template-columns: 1fr 220px; gap: 28px; }
  .inquiry { grid-template-columns: 1fr; gap: 40px; }
  .talk { grid-template-columns: 1fr; gap: 12px; }
  .engagement { grid-template-columns: 1fr; gap: 6px; }
  .row--project { grid-template-columns: 1fr 110px; }
  .row--project .row__note { grid-column: 1 / -1; }
  .cta-card { padding: 40px 32px; }
  .section { padding-block: 72px; }
  .section--tight { padding-block: 0 72px; }
}

/* ==========================================================================
   25. Phone — 760px and below (the 5a–5d layouts)
   ========================================================================== */
@media (max-width: 760px) {
  :root { --gutter: 22px; --header-h: 69px; }

  body { font-size: 15px; }

  /* --- navigation collapses to a Menu button --- */
  .nav { display: none; }
  .nav-toggle { display: flex; }

  .nav-panel {
    display: none;
    flex-direction: column;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 6px 16px;
    margin-bottom: 16px;
  }
  .nav-panel.is-open { display: flex; }
  .nav-panel a {
    padding: 14px 0;
    font-size: 16px;
    color: var(--color-neutral-200);
    border-bottom: 1px solid var(--color-divider);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-panel a:last-child { border-bottom: 0; }
  .nav-panel a[aria-current="page"] { color: var(--color-accent-300); }

  .site-header__inner { flex-wrap: wrap; padding-block: 14px; }
  .site-header--overlay .nav-panel { margin-bottom: 4px; }

  /* --- hero: scrim runs top-to-bottom so the face stays visible --- */
  .hero { height: auto; min-height: 0; }
  /* Portrait phones show the whole standing figure, which makes her small and
     drops her face into the copy. Scaling about a point below her lifts the
     face into the clear band and gives it presence. */
  /* --shift-m nudges an individual frame down where the subject sits high in
     the original photo (set per slide in the HTML). */
  .hero__slide {
    transform: scale(1.22) translateY(var(--shift-m, 0));
    transform-origin: 50% 78%;
  }
  .hero__slide img { object-position: var(--pos-m, 50% 20%); }
  .hero__scrim {
    /* Vertical scrim: a bright window over her face, solid ground under the
       copy so the type never loses contrast as the photos change. */
    background: linear-gradient(
      180deg,
      rgba(22, 24, 38, 0.90) 0%,
      rgba(22, 24, 38, 0.55) 12%,
      rgba(22, 24, 38, 0.14) 26%,
      rgba(22, 24, 38, 0.52) 38%,
      rgba(22, 24, 38, 0.88) 48%,
      #161826 86%
    );
  }
  .hero__body {
    height: auto;
    /* Tall enough that the photo gets a clear band above the copy — her face
       lands in it rather than behind the headline. */
    min-height: min(92vh, 720px);
    padding-top: 24px;
    padding-bottom: 30px;
    justify-content: flex-end;
  }
  .hero__row { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__copy { gap: 16px; max-width: none; }
  .hero__title {
    /* capped so "Communicator. Builder." still holds one line — the headline
       stays the three lines it was locked as */
    font-size: clamp(25px, 7.7vw, 30px);
    line-height: 1.14;
    letter-spacing: -0.02em;
    white-space: normal;
  }
  .hero__lede { max-width: none; font-size: 15px; line-height: 1.65; }
  .hero__dots { padding-bottom: 0; }

  /* --- everything stacks to one column --- */
  .btn { width: 100%; padding: 14px 20px; font-size: 15px; min-height: 48px; }
  .btn-row { flex-direction: column; gap: 10px; }
  .nav .btn, .nav-toggle { width: auto; }
  .link-arrow { font-size: 15px; }

  .page-hero,
  .page-hero--speaking,
  .page-hero--work {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 40px 36px;
  }
  /* the portrait leads on phones */
  .page-hero__media { order: -1; }
  .page-hero__title { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.1; }
  .page-hero__lede { font-size: 15px; }

  .section { padding-block: 44px; }
  .section--tight { padding-block: 0 44px; }

  .formerly { gap: 14px; font-size: 12px; letter-spacing: 0.12em; padding-block: 20px; }

  .about-grid { padding-block: 44px; gap: 36px; }
  .about-lede { font-size: 22px; }
  .about-body { font-size: 15px; }
  .chip { padding: 7px 13px; }

  .strengths { grid-template-columns: 1fr; }
  .strength { padding: 22px 0; }
  .strength:hover { padding-left: 0; background: none; }

  .stats { padding-block: 32px; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .stat__n { font-size: 28px; }
  .stat:hover { transform: none; }

  .split, .split--narrow { grid-template-columns: 1fr; gap: 20px; padding-block: 44px; }
  .split__media { order: 2; }
  .split__body { font-size: 15px; max-width: none; }
  .split__title { font-size: 32px; }

  .signup { flex-direction: column; }
  .signup .btn { width: 100%; }
  .input { padding: 14px; font-size: 16px; /* 16px stops iOS zoom-on-focus */ }
  textarea.input { min-height: 130px; }
  .form .btn { align-self: stretch; }

  .row { padding: 18px 0; }
  .row:hover { padding-left: 0; background: none; }
  .row--project { grid-template-columns: 1fr; gap: 5px; }
  .row--project .row__head { gap: 14px; }
  .row--project .row__year { text-align: left; }
  .row__title { font-size: 18px; letter-spacing: -0.01em; }
  .row__body { font-size: 15px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 12px; }
  .section-head__meta { display: none; }

  .pillar { padding: 20px 0; }
  .pillar:hover { padding-left: 0; background: none; }
  .pillar__title { font-size: 19px; line-height: 1.3; }

  .filters { gap: 8px; }
  .filter { padding: 9px 15px; min-height: 40px; }

  .theme-group { padding-bottom: 36px; }
  .theme-group__title { font-size: 24px; line-height: 1.2; }

  .story__lede { font-size: 20px; line-height: 1.5; }
  .story p { font-size: 15px; }
  .raised li { font-size: 15px; grid-template-columns: 12px 1fr; gap: 12px; }
  .pullquote { padding: 22px 0 22px 20px; }
  .pullquote span { font-size: 19px; }

  .values { grid-template-columns: 1fr; }
  .value { padding: 18px 0; }
  .value:hover { background: none; }

  .timeline__item { grid-template-columns: 1fr; gap: 5px; padding: 16px 0; }
  .timeline__item:hover { padding-left: 0; background: none; }
  .timeline__title { font-size: 17px; }

  .education { grid-template-columns: 1fr; gap: 16px; }
  .education__media { order: -1; }
  .education__title { font-size: 18px; }

  .cta-card { padding: 28px 22px; }
  .cta-card:hover { background: none; }
  .cta-card__title { font-size: 26px; }

  .talk { padding: 20px 0; }
  .talk:hover { padding-inline: 0; background: none; }
  .talk__title { font-size: 21px; line-height: 1.25; }
  .talk__body { font-size: 15px; line-height: 1.7; }

  .engagement { padding: 16px 0; }
  .engagement:hover { padding-inline: 0; background: none; }
  .engagement__event { font-size: 17px; line-height: 1.3; }

  .quotes { grid-template-columns: 1fr; }
  .quote { padding: 24px; }

  .inquiry__title { font-size: 26px; }
  .inquiry__body { max-width: none; }

  .topics { grid-template-columns: 1fr; }
  .topic,
  .topic:nth-child(even) { padding: 18px 0; }
  .topic:nth-child(odd) { border-right: 0; }
  .topic:hover { padding-left: 0; background: none; }

  .band { aspect-ratio: 4 / 5; margin-bottom: 44px; }
  .media--fixed { height: 260px; }

  .site-footer { padding-block: 26px 34px; }
  .site-footer__inner { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .site-footer__links { flex-direction: column; gap: 10px; font-size: 14px; }
  .site-footer__copy { padding-top: 8px; }
}

/* Small phones */
@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .hero__title { font-size: 28px; }
}

/* Print — a clean résumé-ish fallback. */
@media print {
  .site-header, .hero__dots, .nav-toggle, .form, .signup { display: none !important; }
  body { background: #fff; color: #111; }
  .hero__scrim { display: none; }
}
