/* ==========================================================================
   Grace Pinkerton — Portfolio
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond-Variable.ttf') format('truetype-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond-Italic-Variable.ttf') format('truetype-variations');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #F7F4EF;
  --panel: #F1EDE5;
  --ink: #1C1C1C;
  --muted: #5A5A5A;
  --accent: #A68F7A;
  --accent-deep: #85674E;
  --accent-num: #9B8168;
  --accent-link: #7C6048;
  --cream: #C9B69F;
  --error: #9A4B34;
  --rule: rgba(28, 28, 28, 0.14);
  --rule-soft: rgba(28, 28, 28, 0.10);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --shell: 1280px;
  --gutter: 48px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

::selection { background: #E8E0D3; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--bg); }

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

/* ---------- Layout primitives ---------- */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.serif { font-family: var(--serif); font-weight: 300; }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}

.label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.label--accent {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.005em;
}

.measure { max-width: 680px; text-wrap: pretty; }

.btn {
  display: inline-block;
  padding: 17px 34px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); color: var(--bg); }
.btn--ghost { border: 1px solid rgba(28, 28, 28, 0.28); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(28, 28, 28, 0.04); color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 28, 28, 0.09);
}

.masthead__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
}

.wordmark { font-family: var(--serif); font-weight: 300; font-size: 21px; letter-spacing: 0.01em; }

.nav {
  display: flex;
  gap: 34px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span { display: block; height: 1px; background: var(--ink); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 72px;
  align-items: end;
  padding-top: 92px;
  padding-bottom: 96px;
}

.hero__eyebrow { margin-bottom: 40px; }

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.hero__title em { font-style: italic; color: var(--accent-num); }

.hero__lede {
  max-width: 660px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 44px;
  text-wrap: pretty;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__portrait { min-width: 0; }
.hero__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

/* ==========================================================================
   Capability strip
   ========================================================================== */
.strip {
  border-top: 1px solid rgba(28, 28, 28, 0.12);
  border-bottom: 1px solid rgba(28, 28, 28, 0.12);
  background: var(--panel);
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.strip__word {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.strip__note {
  margin-top: 14px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ==========================================================================
   Work index
   ========================================================================== */
.work { padding-top: 160px; padding-bottom: 40px; }

.work__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}

.work-row {
  display: grid;
  grid-template-columns: 64px 1fr 290px 90px;
  gap: 32px;
  align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--rule-soft);
  cursor: pointer;
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  color: var(--ink);
  transition: background 0.2s ease;
}
.work-row:hover { background: rgba(166, 143, 122, 0.05); }

.work-row__num { font-family: var(--serif); font-weight: 300; font-size: 20px; color: var(--accent-num); }

.work-row__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.work-row__sub { margin-top: 10px; font-size: 15px; color: var(--muted); }

.work-row__tag {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  line-height: 2;
}

.work-row__arrow {
  text-align: right;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  color: var(--accent-deep);
}

.also { margin-top: 72px; padding-top: 44px; border-top: 1px solid var(--rule); }
.also__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 56px;
  max-width: 1000px;
  margin-top: 28px;
}
.also__item {
  padding: 18px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 16.5px;
  color: var(--muted);
}

/* ==========================================================================
   Expertise
   ========================================================================== */
.expertise { padding-top: 160px; padding-bottom: 160px; }
.expertise__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
.expertise__intro { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 380px; margin-top: 28px; text-wrap: pretty; }
.expertise__list { display: grid; gap: 2px; }
.skill { padding: 34px 0; border-top: 1px solid var(--rule); }
.skill:last-child { border-bottom: 1px solid var(--rule); }
.skill__name { font-family: var(--serif); font-weight: 300; font-size: 29px; margin-bottom: 12px; line-height: 1.25; }
.skill p { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 640px; text-wrap: pretty; }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--ink); color: var(--bg); }
.about__inner { padding-top: 170px; padding-bottom: 170px; }
.about__eyebrow { color: var(--cream); letter-spacing: 0.24em; margin-bottom: 36px; }
.about__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.005em;
  margin-bottom: 44px;
  max-width: 900px;
}
.about__body {
  display: grid;
  gap: 26px;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(247, 244, 239, 0.82);
}
.about__body p { text-wrap: pretty; }

/* ==========================================================================
   Experience
   ========================================================================== */
.experience { padding-top: 160px; padding-bottom: 160px; }
.experience .section-title { margin-bottom: 56px; }

.role {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 56px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.role--lead { padding: 44px 0; }
.role:last-of-type { border-bottom: 1px solid var(--rule); }

.role__when { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; }
.role__where { margin-top: 10px; font-size: 14px; color: var(--muted); }
.role__title { font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.15; }
.role--lead .role__title { font-size: 33px; }
.role__org { margin-top: 6px; font-size: 15.5px; color: var(--muted); }
.role--lead .role__org { font-size: 16px; }
.role__body { margin-top: 20px; font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 680px; text-wrap: pretty; }
.role__body + .role__body { margin-top: 22px; }
.role p.role__body:first-of-type { margin-top: 14px; }
.role--lead p.role__body:first-of-type { margin-top: 20px; }

.bullets { display: grid; gap: 11px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 680px; margin-top: 22px; }
.bullets li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; }
.bullets { list-style: none; padding: 0; }
.bullets li::before { content: '–'; color: var(--accent-deep); }

/* ==========================================================================
   Credentials
   ========================================================================== */
.credentials { background: var(--panel); border-top: 1px solid rgba(28, 28, 28, 0.12); }
.credentials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
  padding-top: 130px;
  padding-bottom: 130px;
}
.credentials__label { margin-bottom: 22px; }
.credential__name { font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.2; }
.credential__meta { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.credential__thesis { margin-top: 16px; font-size: 15.5px; line-height: 1.65; color: var(--muted); font-style: italic; }
.credential__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent-link);
  border-bottom: 1px solid rgba(124, 96, 72, 0.6);
  padding-bottom: 3px;
}
.credential__link:hover { color: var(--ink); border-color: var(--ink); }
.credentials__list { display: grid; gap: 14px; font-size: 16px; color: var(--muted); list-style: none; padding: 0; margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding-top: 180px; padding-bottom: 150px; }
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.contact__eyebrow { margin-bottom: 40px; }
.contact .section-title { margin-bottom: 28px; }
.contact__lede { margin-bottom: 44px; font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 400px; text-wrap: pretty; }
.contact__links { display: grid; gap: 18px; font-size: 17px; }
.contact__links a { border-bottom: 1px solid rgba(28, 28, 28, 0.3); padding-bottom: 4px; justify-self: start; }

.form { display: grid; gap: 26px; }
.field { display: grid; gap: 9px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  padding: 14px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(28, 28, 28, 0.28);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #A8A29A; }
.field [aria-invalid='true'] { border-bottom-color: var(--error); }

.field__error { font-size: 14px; color: var(--error); }
.field__error[hidden] { display: none; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__notice {
  padding: 18px 22px;
  background: rgba(154, 75, 52, 0.07);
  border-left: 2px solid var(--error);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.form__notice[hidden] { display: none; }

.form__submit { margin-top: 8px; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

.thanks {
  padding: 56px 48px;
  background: var(--panel);
  border-top: 2px solid var(--accent);
}
.thanks[hidden] { display: none; }
.thanks__title { font-family: var(--serif); font-weight: 300; font-size: 34px; line-height: 1.2; margin-bottom: 16px; }
.thanks p { font-size: 17px; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   Case studies
   ========================================================================== */
.case { padding-top: 64px; padding-bottom: 170px; }
.case[hidden] { display: none; }

.case__back {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.case__head { margin-top: 64px; max-width: 980px; }
.case__eyebrow { margin-bottom: 32px; }
.case__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 5.6vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.case__lede { font-size: 21px; line-height: 1.6; color: var(--muted); max-width: 700px; text-wrap: pretty; }

.case__stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat__figure { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4vw, 58px); line-height: 1; }
.stat__label {
  margin-top: 12px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.case__docs { margin-top: 72px; display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 32px; }
.doc { padding: 40px 44px; background: var(--panel); border-top: 2px solid var(--ink); }
.doc--alt { border-top-color: var(--accent); }
.doc__part { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.doc__name { font-family: var(--serif); font-weight: 300; font-size: 27px; line-height: 1.25; margin-bottom: 14px; }
.doc p { font-size: 16px; line-height: 1.65; color: var(--muted); }

.case__body { margin-top: 96px; display: grid; gap: 2px; }
.case__body--tight { margin-top: 110px; }

.block {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 56px;
  padding: 44px 0;
  border-top: 1px solid var(--rule);
}
.block__content { max-width: 680px; }
.block p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 680px; text-wrap: pretty; }
.block p + p { margin-top: 20px; }
.block p.small { font-size: 16.5px; }
.block__pull { font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.45; color: var(--ink); margin-top: 20px; }

.chip {
  display: inline-block;
  padding: 7px 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 22px;
}
.chip--solid { background: var(--ink); color: var(--bg); }
.chip--outline { border: 1px solid rgba(28, 28, 28, 0.3); color: var(--muted); }

.rows { display: grid; gap: 12px; margin-top: 24px; }
.rows__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--rule-soft);
}
.rows__key { font-size: 14px; letter-spacing: 0.06em; color: var(--accent); font-weight: 500; }
.rows__val { font-size: 16.5px; color: var(--muted); }

.steps { display: grid; gap: 16px; margin-top: 28px; list-style: none; padding: 0; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 20px; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.steps__num { font-family: var(--serif); font-weight: 300; font-size: 19px; color: var(--accent-num); }
.steps strong { font-weight: 500; letter-spacing: 0.005em; color: var(--ink); }

.quarters { display: grid; gap: 20px; margin-top: 28px; }
.quarter { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding-top: 18px; border-top: 1px solid var(--rule-soft); }
.quarter__q { font-family: var(--serif); font-weight: 300; font-size: 24px; color: var(--accent-num); }
.quarter__theme { font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.quarter p { font-size: 16px; line-height: 1.65; color: var(--muted); }

.findings { display: grid; }
.finding { padding: 32px 0; border-top: 1px solid rgba(28, 28, 28, 0.12); }
.finding:last-child { border-bottom: 1px solid rgba(28, 28, 28, 0.12); }
.finding__head { display: flex; gap: 20px; align-items: baseline; margin-bottom: 14px; }
.finding__num { font-family: var(--serif); font-weight: 300; font-size: 22px; color: var(--accent-num); }
.finding__name { font-family: var(--serif); font-weight: 300; font-size: 29px; line-height: 1.2; }
.finding p { font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.finding__aside { margin-top: 14px; font-size: 16.5px; line-height: 1.6; color: var(--accent); }

.builds { display: grid; gap: 26px; max-width: 680px; }
.build__name { font-family: var(--serif); font-weight: 300; font-size: 25px; margin-bottom: 10px; line-height: 1.25; }
.build p { font-size: 16.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

.cadence { display: grid; gap: 12px; margin-top: 22px; }
.cadence__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--rule-soft);
}
.cadence__key { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; }
.cadence__val { font-size: 16.5px; color: var(--muted); }

.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pillar { padding: 10px 18px; border: 1px solid rgba(28, 28, 28, 0.2); font-size: 14px; color: var(--muted); }

.approach { display: grid; gap: 11px; font-size: 16.5px; line-height: 1.65; color: var(--muted); max-width: 680px; list-style: none; padding: 0; }
.approach li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; }
.approach li::before { content: '–'; color: var(--accent-deep); }

.impact { margin-top: 96px; background: var(--ink); color: var(--bg); padding: 80px 64px; }
.impact__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); font-weight: 500; margin-bottom: 36px; }
.impact__lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.32;
  max-width: 760px;
  letter-spacing: -0.01em;
}
.impact__lead em { font-style: italic; }
.impact p.impact__note { margin-top: 32px; font-size: 16.5px; line-height: 1.7; color: rgba(247, 244, 239, 0.7); max-width: 760px; }
.impact p.impact__note + .impact__note { margin-top: 20px; }

.takeaway {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--rule);
}
.takeaway p { font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.45; color: var(--ink); max-width: 680px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid rgba(28, 28, 28, 0.12); }
.footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 38px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__name { font-family: var(--serif); font-weight: 300; font-size: 17px; }
.footer__meta { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .expertise__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .expertise__intro { max-width: 620px; }
  .block { grid-template-columns: 1fr; gap: 18px; }
  .takeaway { grid-template-columns: 1fr; gap: 18px; }
  .role { grid-template-columns: 1fr; gap: 14px; }
  .credentials__grid { gap: 48px; }
}

@media (max-width: 860px) {
  :root { --gutter: 28px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .hero__portrait { order: -1; max-width: 320px; }
  .hero__lede { font-size: 18px; }

  .strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; padding-top: 48px; padding-bottom: 48px; }

  .work { padding-top: 96px; }
  .work__head { flex-wrap: wrap; gap: 12px; }
  .work-row { grid-template-columns: 30px 1fr 22px; gap: 16px; padding: 30px 0; }
  .work-row__tag { display: none; }

  .also__grid { grid-template-columns: 1fr; gap: 0; }

  .expertise { padding-top: 96px; padding-bottom: 96px; }
  .about__inner { padding-top: 100px; padding-bottom: 100px; }
  .experience { padding-top: 96px; padding-bottom: 96px; }
  .credentials__grid { grid-template-columns: 1fr; gap: 44px; padding-top: 80px; padding-bottom: 80px; }
  .contact { padding-top: 100px; padding-bottom: 90px; }

  .case { padding-top: 40px; padding-bottom: 100px; }
  .case__head { margin-top: 44px; }
  .case__lede { font-size: 19px; }
  .case__stats { grid-template-columns: 1fr; gap: 26px; margin-top: 48px; }
  .case__docs { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
  .doc { padding: 32px 26px; }
  .case__body, .case__body--tight { margin-top: 56px; }

  .rows__item { grid-template-columns: 92px 1fr; gap: 16px; }
  .cadence__item { grid-template-columns: 100px 1fr; gap: 16px; }
  .quarter { grid-template-columns: 46px 1fr; gap: 16px; }
  .steps li { grid-template-columns: 28px 1fr; gap: 14px; }

  .impact { padding: 48px 28px; margin-top: 56px; }
  .takeaway { margin-top: 56px; }
  .thanks { padding: 40px 28px; }

  /* mobile navigation */
  .masthead__inner { flex-wrap: wrap; align-items: center; padding-top: 16px; padding-bottom: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; }
  .nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    padding-top: 8px;
  }
  .nav.is-open a { padding: 15px 2px; border-top: 1px solid var(--rule-soft); }
}

@media (max-width: 600px) {
  .strip__grid { grid-template-columns: 1fr; gap: 26px; }
  .btn { padding: 15px 24px; }
  .finding__head { flex-wrap: wrap; gap: 10px; }
  .impact { padding: 40px 24px; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .masthead, .nav-toggle, .form, .hero__actions, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .case[hidden] { display: block !important; }
  .about { background: #fff; color: #000; }
  .about__body { color: #333; }
}

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