:root {
  --bg: #f3f6f6;
  --surface: #ffffff;
  --surface-soft: #e8f0f1;
  --text: #263740;
  --muted: #596b74;
  --line: #d1dcde;
  --line-strong: #b3c5c8;
  --accent: #0b8290;
  --accent-strong: #05616c;
  --navy: #0b1c27;
  --shadow: 0 22px 60px rgba(11, 28, 39, 0.09);
  --shadow-soft: 0 10px 30px rgba(11, 28, 39, 0.06);
  --radius: 8px;
  --max-width: 1160px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(11, 130, 144, 0.2);
  color: var(--navy);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(18, 124, 149, 0.35);
  outline-offset: 3px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

code {
  padding: 0.1rem 0.28rem;
  border-radius: 4px;
  background: rgba(18, 124, 149, 0.08);
  color: var(--accent-strong);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 40px, 850px);
}

.section-pad {
  padding: 104px 0;
}

.section-pad.tight {
  padding-top: 56px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(209, 220, 222, 0.78);
  background: rgba(243, 246, 246, 0.88);
  backdrop-filter: blur(18px);
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(179, 197, 200, 0.82);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(11, 28, 39, 0.055);
}

.nav-shell {
  width: min(100% - 40px, var(--max-width));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  object-fit: cover;
  object-position: 50% 34%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  position: relative;
  padding: 0.7rem 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: 4px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  bottom: 0.38rem;
  left: 0.9rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}

.nav-links a:hover {
  color: var(--navy);
  background: rgba(11, 130, 144, 0.055);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  min-height: calc(86vh - 72px);
  display: flex;
  align-items: center;
}

.text-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-profile::before {
  content: "";
  position: absolute;
  top: -2.1rem;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
}

.hero-profile .intro {
  max-width: 720px;
}

.hero-copy {
  max-width: 760px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.eyebrow,
.project-kicker {
  margin-bottom: 0.8rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(3.3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.text-hero h1 {
  max-width: 880px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
}

.hero-title {
  display: grid;
  gap: 0.25rem;
}

.hero-title-intro {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.35;
}

.hero-name {
  color: var(--navy);
  font-weight: 800;
}

.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.05;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.3;
}

.headline {
  max-width: 760px;
  color: #354a54;
  font-size: clamp(1.18rem, 2.5vw, 1.55rem);
  font-weight: 650;
}

.intro {
  max-width: 710px;
  font-size: 1.06rem;
}

.status-note {
  margin: 1.6rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  color: var(--text);
  font-weight: 650;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(11, 28, 39, 0.05);
  transition: transform 220ms var(--ease-out), border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button.primary {
  background: var(--navy);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: rgba(11, 130, 144, 0.075);
}

.button.ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.profile-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f4f7f7, #e6eff1);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-frame {
  aspect-ratio: 4 / 5;
  min-height: auto;
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
  color: var(--accent-strong);
  background:
    linear-gradient(90deg, rgba(18, 124, 149, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(18, 124, 149, 0.08) 1px, transparent 1px),
    #edf4f5;
  background-size: 32px 32px;
}

.image-frame.is-missing img,
.card-image.is-missing img {
  display: none;
}

.image-frame.is-missing .image-fallback,
.card-image.is-missing .image-fallback {
  display: grid;
}

.fallback-initials {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(18, 124, 149, 0.25);
  border-radius: 50%;
  color: var(--accent-strong);
  font-size: 2rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.7);
}

.fallback-label {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.profile-meta span,
.inline-list li,
.pill-list li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.4rem 0.68rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: #344651;
  font-size: 0.9rem;
  font-weight: 650;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 1.25rem;
  background: var(--line-strong);
}

.hero + .section-pad .section-heading.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.profile-section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.profile-statement p {
  color: #344651;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.profile-statement p + p {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.focus-grid,
.skill-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.focus-item,
.skill-panel,
.contact-card,
.project-card,
.wide-card,
.experience-card,
.case-block,
.case-facts,
.cv-section,
.cv-sidebar,
.pdf-viewer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.focus-item,
.skill-panel,
.contact-card,
.project-card,
.experience-card,
.case-block {
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(11, 28, 39, 0.025);
}

.focus-item::before,
.skill-panel::before,
.contact-card::before,
.project-card::before,
.experience-card::before,
.case-block::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.focus-item,
.skill-panel,
.contact-card,
.experience-card {
  padding: 1.5rem;
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 180ms ease;
}

.focus-item:hover,
.skill-panel:hover,
.contact-card:hover,
.experience-card:hover,
.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 130, 144, 0.3);
  box-shadow: 0 18px 48px rgba(11, 28, 39, 0.085);
}

.focus-item:hover::before,
.skill-panel:hover::before,
.contact-card:hover::before,
.project-card:hover::before,
.experience-card:hover::before,
.case-block:hover::before {
  transform: scaleX(1);
}

.wide-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
  gap: 2rem;
  padding: 1.5rem;
}

.wide-card p:last-child,
.experience-card p:last-child,
.focus-item p:last-child {
  margin-bottom: 0;
}

.experience-grid,
.snapshot-grid,
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.experience-card ul {
  color: var(--muted);
}

.experience-card li + li {
  margin-top: 0.65rem;
}

.lab-image {
  margin-top: 1rem;
  min-height: 360px;
}

.item-index {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.accent-band {
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.featured-copy .pill-list {
  margin: 1.25rem 0 1.5rem;
}

.featured-image {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.split-cta p {
  max-width: 680px;
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero.section-pad {
  padding: clamp(2.75rem, 5vw, 4rem) 0;
}

.page-hero .button {
  margin-top: 1.25rem;
}

.page-hero h1 {
  position: relative;
  padding-top: 1rem;
}

.page-hero h1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--accent);
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.project-card {
  overflow: hidden;
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 180ms ease;
}

.equal-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-card.featured {
  grid-row: span 2;
}

.project-card.optional {
  opacity: 0.86;
}

.card-image {
  position: relative;
  min-height: 320px;
  background: var(--surface-soft);
}

.project-thumb {
  aspect-ratio: 16 / 10;
  min-height: 0;
  border-bottom: 1px solid var(--line);
}

.card-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter 300ms ease;
}

.project-card:hover .card-image img,
.featured-project:hover .featured-image img {
  transform: scale(1.025);
}

.project-thumb img {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.equal-card .card-body h2 {
  font-size: 1.5rem;
}

.equal-card .pill-list {
  margin: auto 0 1.25rem;
  padding-top: 1rem;
}

.equal-card .button {
  width: fit-content;
}

.subtitle {
  color: #344651;
  font-weight: 700;
}

.education-result {
  margin: 0.75rem 0 0;
  color: var(--accent-strong);
  font-weight: 750;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--accent-strong);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.case-study {
  border-top: 1px solid var(--line);
}

.case-header {
  max-width: 850px;
  margin-bottom: 2rem;
}

.lede {
  color: #344651;
  font-size: 1.13rem;
}

.case-media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

figure {
  margin: 0;
}

figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.38rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(11, 24, 36, 0.72);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.case-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
}

.case-facts {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 1.5rem;
}

.case-facts li {
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.case-sections {
  display: grid;
  gap: 1rem;
}

.detail-layout {
  display: grid;
  gap: 1.25rem;
}

.detail-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.detail-media-grid .image-frame,
.detail-hero-image {
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.system-diagram img,
.media-contain img {
  object-fit: contain;
  background: #f7f8fa;
}

.project-demo {
  display: grid;
  width: 100%;
  gap: 1rem;
}

.project-demo-heading {
  width: 100%;
}

.project-demo-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.project-video {
  display: block;
  width: min(100%, 820px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow-soft);
  object-fit: contain;
}

.detail-sections {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.detail-sections .case-block > p,
.detail-sections .case-block > ul:not(.pill-list) {
  max-width: 900px;
}

.detail-sections .case-block h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.detail-sections ul:not(.pill-list) {
  color: var(--muted);
}

.detail-sections ul:not(.pill-list) li + li {
  margin-top: 0.55rem;
}

.case-block,
.cv-section,
.cv-sidebar {
  padding: 1.5rem;
}

.pill-list,
.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.pill-list.equal-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.equal-pill-grid li {
  justify-content: center;
  height: 52px;
  text-align: center;
  line-height: 1.25;
}

.skill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skill-clean-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.skill-clean-grid .skill-panel {
  min-height: 240px;
}

.skill-section-list {
  display: grid;
  gap: 1rem;
}

.skill-section-list .skill-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  min-height: 0;
}

.skill-section-list .skill-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.skill-bullet-list {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 2rem;
  color: var(--muted);
}

.skill-bullet-list li {
  break-inside: avoid;
  margin-bottom: 0.55rem;
  padding-left: 0.15rem;
}

.cv-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.cv-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.7rem;
}

.cv-sidebar p {
  margin-bottom: 0.5rem;
}

.cv-sidebar a {
  color: var(--accent-strong);
  font-weight: 800;
}

.cv-main {
  display: grid;
  gap: 1rem;
}

.cv-item + .cv-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.pdf-viewer {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pdf-object {
  display: none;
  width: 100%;
  height: 78vh;
  min-height: 680px;
  border: 0;
}

.pdf-placeholder {
  display: grid;
  min-height: 420px;
  place-content: center;
  padding: 2rem;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(18, 124, 149, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(18, 124, 149, 0.06) 1px, transparent 1px),
    #f3f7f8;
  background-size: 30px 30px;
}

.pdf-placeholder h2 {
  margin-bottom: 0.75rem;
}

.pdf-viewer.is-loaded .pdf-object {
  display: block;
}

.pdf-viewer.is-loaded .pdf-placeholder {
  display: none;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: #edf2f2;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.995);
  transition: opacity 680ms var(--ease-out), transform 680ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(11, 130, 144, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .section-pad {
    padding: 88px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .hero-profile,
  .project-grid,
  .project-card-grid,
  .profile-section-grid,
  .wide-card,
  .featured-project,
  .case-layout,
  .cv-layout,
  .skill-section-list .skill-panel {
    grid-template-columns: 1fr;
  }

  .focus-grid,
  .experience-grid,
  .snapshot-grid,
  .leadership-grid,
  .detail-media-grid,
  .skill-clean-grid,
  .skill-grid,
  .contact-grid,
  .case-media-grid {
    grid-template-columns: 1fr;
  }

  .case-facts,
  .cv-sidebar {
    position: static;
  }

  .split-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-image,
  .lab-image {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  .container,
  .container.narrow,
  .nav-shell {
    width: min(100% - 28px, var(--max-width));
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.9rem 1rem;
  }

  .nav-links a::after {
    right: 1rem;
    bottom: 0.52rem;
    left: 1rem;
  }

  .section-pad {
    padding: 72px 0;
  }

  .hero.section-pad {
    padding: 56px 0;
  }

  .section-pad.tight {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .skill-bullet-list {
    columns: 1;
  }

  .pill-list.equal-pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button {
    width: 100%;
  }

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