:root {
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #202529;
  --ink-soft: #55616a;
  --paper: #f7f8f8;
  --surface: #fcfcfc;
  --surface-strong: #ffffff;
  --accent: #315c9e;
  --accent-dark: #244778;
  --accent-soft: #e1eaf7;
  --sage: #e9eef4;
  --line: #dde3e8;
  --success: #167448;
  --shadow: 0 18px 50px rgba(31, 39, 34, 0.08);
  --radius-sm: 0.7rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;
  --content: 72rem;
  --reading: 46rem;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

.story-test-page {
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-dark);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  transform: translateY(-180%);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: white;
  font-weight: 700;
}

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

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.reading-width {
  width: min(100%, var(--reading));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(221, 227, 232, 0.9);
  background: rgba(247, 248, 248, 0.92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: var(--font-display);
  font-size: 0.96rem;
}

.nav-toggle {
  display: none;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -0.35rem;
}

.nav-toggle-icon::after {
  top: 0.35rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  padding-block: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -0.2rem;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
}

main {
  overflow-x: clip;
}

.hero {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.hero-grid {
  display: block;
  align-items: end;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 14ch;
  margin-bottom: var(--space-5);
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.hero h1 {
  max-width: none;
  font-size: clamp(2.75rem, 5.2vw, 5.4rem);
}

h2 {
  margin-bottom: var(--space-5);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h3 {
  margin-top: 0;
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

p {
  margin-top: 0;
}

.lead {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--surface);
  color: var(--ink);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section.alt {
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
  margin-bottom: var(--space-7);
  max-width: 46rem;
}

.section-heading p {
  max-width: none;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.work-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.work-list {
  display: grid;
  gap: var(--space-6);
}

.work-visual {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  background: linear-gradient(135deg, #dce6e0 0%, #e9ddd6 50%, #eee8dc 100%);
}

.work-visual.work-image {
  height: clamp(18rem, 28vw, 26rem);
  min-height: 0;
  background: var(--surface);
}

.work-preview-device {
  width: min(62%, 17rem);
  height: calc(100% - 2.5rem);
  min-height: 15rem;
  padding: 0.45rem;
  overflow: hidden;
  border: 0.25rem solid #1d2529;
  border-radius: 2rem;
  background: #1d2529;
  box-shadow: 0 1.1rem 2.4rem rgb(31 37 41 / 20%);
}

.work-visual.work-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.work-preview-device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.3rem;
}

.work-preview-laptop {
  position: relative;
  width: min(92%, 34rem);
  padding: 0.45rem 0.45rem 0.65rem;
  overflow: visible;
  border: 0.3rem solid #1d2529;
  border-radius: 0.7rem 0.7rem 0.2rem 0.2rem;
  background: #1d2529;
  box-shadow: 0 1.1rem 2.4rem rgb(31 37 41 / 20%);
}

.work-preview-laptop::after {
  position: absolute;
  z-index: 1;
  right: -7%;
  bottom: -0.8rem;
  left: -7%;
  height: 0.7rem;
  border-radius: 0 0 1rem 1rem;
  background: #1d2529;
  content: "";
}

.work-preview-laptop img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.15rem;
}

.meal-selection-preview {
  background: var(--surface);
}

.meal-selection-preview .work-preview-device img {
  object-position: center 24%;
}

.online-call-preview {
  background: var(--accent-dark);
}

.online-call-preview .work-preview-device img {
  object-position: center top;
}

.upcoming-flights-preview .work-preview-laptop img {
  object-position: center top;
}

@media (min-width: 881px) {
  .work-card .work-visual.work-image {
    height: auto;
    min-height: 0;
    align-self: stretch;
  }

  .work-card .work-preview-device {
    height: calc(100% - 3rem);
  }

  .work-card .work-preview-laptop {
    width: min(88%, 34rem);
  }
}

.work-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.challenge-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.challenge-evidence figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
}

.challenge-evidence img {
  display: block;
  width: 100%;
  height: auto;
}

.challenge-evidence figcaption {
  padding: .7rem .85rem;
  color: var(--ink-soft);
  font-size: .85rem;
  line-height: 1.35;
}

.return-banner-crop {
  width: min(100%, 28rem);
  aspect-ratio: 750 / 990;
  overflow: hidden;
}

.return-banner-crop img {
  display: block;
  width: 100%;
  height: auto;
}

.work-content .meta,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.tag {
  display: inline-flex;
  min-height: 1.9rem;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.work-content h2,
.work-content h3 {
  max-width: none;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
}

.in-progress-panel {
  max-width: 52rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.in-progress-panel h2 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.in-progress-panel p:last-child {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.work-content p {
  max-width: 36rem;
  color: var(--ink-soft);
}

.metric-grid,
.card-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.metric-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: var(--space-6);
}

.metric-card,
.info-card,
.principle-card {
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.metric-card strong {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-card span {
  color: var(--ink-soft);
}

.info-card h3,
.principle-card h3 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.info-card p,
.principle-card p {
  color: var(--ink-soft);
}

.info-card p:last-child,
.principle-card p:last-child {
  margin-bottom: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.link-arrow::after {
  content: "\2197";
}

.page-hero {
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(3rem, 7vw, 6rem);
}

.page-hero .lead {
  max-width: 48rem;
}

.case-hero {
  padding-bottom: var(--space-8);
}

.case-hero h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

.case-meta dt {
  margin-bottom: var(--space-2);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-meta dd {
  margin: 0;
  font-weight: 700;
}

.case-visual {
  margin-block: var(--space-7) var(--space-9);
}

.case-figure {
  margin: var(--space-7) 0 0;
}

.case-figure-wide {
  margin: 0 0 var(--space-9);
}

.case-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.case-figure figcaption {
  max-width: 52rem;
  margin-top: var(--space-3);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.case-visual-switcher {
  margin-top: var(--space-6);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visual-switcher-tabs {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4) 0;
  border-bottom: 1px solid var(--line);
}

.visual-switcher-tabs button {
  padding: 0 0 var(--space-3);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.visual-switcher-tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent-dark);
}

.case-visual-switcher figure {
  margin: 0;
}

.case-visual-switcher .phase-one-card-crop {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.case-visual-switcher .phase-one-card-crop img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.case-visual-switcher img {
  width: 100%;
  height: auto;
  background: white;
  object-fit: contain;
}

.case-visual-switcher figcaption {
  padding: var(--space-3) var(--space-4);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.meal-flow-switcher img {
  height: min(70vh, 50rem);
  object-fit: contain;
  object-position: top center;
}

.case-section {
  display: grid;
  grid-template-columns: minmax(11rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.case-section h2 {
  position: sticky;
  top: 7rem;
  align-self: start;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.case-copy {
  max-width: var(--reading);
}

.case-copy > p:first-child {
  color: var(--ink);
  font-size: 1.22rem;
}

.case-copy ul,
.case-copy ol {
  padding-left: 1.25rem;
}

.case-copy li {
  margin-bottom: var(--space-3);
  padding-left: var(--space-2);
}

.case-copy h3 {
  margin-top: var(--space-7);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.outcome-stat {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: var(--space-5);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.outcome-stat strong {
  display: block;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.outcome-stat span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.callout {
  margin-block: var(--space-6);
  padding: var(--space-6);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-soft);
}

.callout p:last-child {
  margin-bottom: 0;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-block: var(--space-7);
}

.comparison-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.comparison-panel.after {
  background: var(--sage);
}

.comparison-panel h3 {
  margin-top: 0;
}

.comparison-image {
  width: 100%;
  margin-top: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.flow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-5) 0;
}

.flow-step {
  flex: 1;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.flow-arrow {
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.55fr);
  gap: var(--space-7);
  align-items: end;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: var(--radius-lg);
  background: var(--accent-dark);
  color: white;
}

.contact-panel h2 {
  max-width: none;
  margin-bottom: var(--space-4);
}

.contact-panel p {
  color: #e1eaf7;
}

.contact-panel .button {
  border-color: white;
  background: white;
  color: var(--accent-dark);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding-block: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-list span {
  display: block;
  color: #aeb8b2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding-block: var(--space-7);
}

.footer-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-links a {
  font-weight: 700;
}

.notice {
  padding: var(--space-4) var(--space-5);
  border: 1px solid #d6bda9;
  border-radius: var(--radius-sm);
  background: #fff3e8;
  color: #63331f;
  font-size: 0.92rem;
}

.story-test-hero {
  padding-bottom: var(--space-6);
}

.story-section {
  padding-block: var(--space-7) var(--space-9);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 0.7fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}

.story-visual-wrap {
  position: sticky;
  top: 7rem;
}

.story-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.story-visual img {
  width: 100%;
  height: clamp(22rem, 48vw, 42rem);
  object-fit: contain;
  object-position: center;
  background: var(--surface);
  opacity: 1;
  transition: opacity 180ms ease;
}

.story-visual img.is-changing {
  opacity: 0.25;
}

.story-visual-label {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.story-controls {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.story-controls button {
  flex: 1;
  min-height: 2rem;
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.story-controls button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  background: transparent;
  color: var(--accent-dark);
}

.story-steps {
  display: grid;
  gap: var(--space-4);
}

.story-step {
  min-height: 58svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: var(--space-5);
  border-left: 2px solid var(--line);
  color: var(--ink-soft);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: border-color 180ms ease, color 180ms ease;
}

.story-step.is-active {
  border-color: var(--accent);
  color: var(--ink);
}

.story-step h3 {
  max-width: 24rem;
}

.story-step p:last-child {
  max-width: 30rem;
  margin-bottom: 0;
}

.step-number {
  margin-bottom: var(--space-2);
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.story-metric {
  margin: 0;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.story-test-next h2 {
  margin-bottom: var(--space-4);
}

.story-test-next p {
  max-width: 42rem;
  color: var(--ink-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 880px) {
  .section-heading {
    gap: var(--space-4);
    margin-bottom: var(--space-6);
  }

  .section-heading h2 {
    margin-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 8vw, 4.2rem);
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero-grid,
  .section-heading,
  .work-card,
  .case-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .work-visual.work-image {
    height: 16rem;
  }

  .challenge-evidence {
    grid-template-columns: 1fr;
  }

  .work-image img {
    max-height: none;
  }

  .case-section h2 {
    position: static;
    margin-bottom: 0;
  }

  .case-section {
    gap: var(--space-4);
  }

}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: var(--space-4) 1rem var(--space-5);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: flex;
    padding: 0.8rem 0;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .hero {
    padding-top: 4rem;
  }

  h1,
  .page-hero h1,
  .case-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero h1 {
    font-size: clamp(2.45rem, 10.5vw, 3.35rem);
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metric-grid,
  .metric-grid-two,
  .card-grid,
  .principle-grid,
  .case-meta,
  .comparison {
    grid-template-columns: 1fr;
  }

  .case-section {
    padding-block: var(--space-6);
  }

  .case-figure {
    margin-top: var(--space-5);
  }

  .case-visual-switcher {
    margin-top: var(--space-5);
  }

  .meal-flow-switcher img {
    height: min(65vh, 38rem);
  }

  .work-visual.work-image {
    height: 12rem;
  }

  .work-image img {
    max-height: none;
  }

  .work-content {
    padding: 1.75rem 1.25rem 2rem;
  }

  .story-section {
    padding: var(--space-3) 0 var(--space-6);
  }

  .story-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    gap: var(--space-5);
  }

  .story-visual-wrap {
    position: sticky;
    top: 4.75rem;
    z-index: 2;
    padding-top: var(--space-2);
    background: var(--paper);
  }

  .story-steps {
    height: auto;
    overflow: visible;
  }

  .story-step {
    min-height: 18rem;
    justify-content: flex-start;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
    padding-right: var(--space-2);
    scroll-margin-top: 22rem;
  }

  .story-step:not(.is-active) {
    border-left-color: transparent;
  }

  .story-step:not(.is-active) > * {
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
  }

  .story-step.is-active > * {
    opacity: 1;
    transition: opacity 120ms ease;
  }

  .story-visual {
    margin-inline: calc(50% - 50vw);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .story-visual img {
    height: 15rem;
    object-fit: cover;
    object-position: top center;
  }

  .story-visual-label {
    padding-inline: var(--space-4);
    border-top: 0;
  }

  .story-controls {
    gap: var(--space-2);
    padding-bottom: var(--space-2);
  }

  .story-controls button {
    min-height: 1.9rem;
    padding-block: 0.25rem;
    font-size: 0.67rem;
  }

  .story-step {
    padding-left: var(--space-4);
  }


  .flow {
    align-items: stretch;
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .notice {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 10.5pt;
  }

  .page-hero,
  .section {
    padding-block: 1.5rem;
  }
}
