:root {
  color-scheme: dark;
  --bg: #0d0f0f;
  --surface: #141717;
  --surface-2: #1a1d1d;
  --surface-3: #202424;
  --ink: #f0ede5;
  --ink-soft: #cbc7bd;
  --muted: #8f9693;
  --line: #2b3030;
  --line-strong: #404747;
  --accent: #e2683b;
  --accent-hover: #b64924;
  --accent-soft: #2d1c16;
  --button-ink: #111313;
  --aqua: #8bc4c6;
  --green: #8eb99c;
  --header-bg: rgba(13, 15, 15, 0.9);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --max-width: 1240px;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #eeece5;
  --surface: #f7f5ef;
  --surface-2: #e7e5de;
  --surface-3: #dedbd2;
  --ink: #151817;
  --ink-soft: #3b403e;
  --muted: #5d6461;
  --line: #d0cec6;
  --line-strong: #aaa9a2;
  --accent: #9e3f1f;
  --accent-hover: #762b15;
  --accent-soft: #f1d9cf;
  --button-ink: #ffffff;
  --aqua: #2d7074;
  --green: #356845;
  --header-bg: rgba(238, 236, 229, 0.9);
  --shadow: 0 24px 70px rgba(44, 41, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

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

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

button,
summary {
  font: inherit;
}

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

::selection {
  background: var(--accent);
  color: #0d0f0f;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-150%);
}

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

.site-header,
main,
.site-footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  min-height: 64px;
  margin-top: 16px;
  padding: 10px 12px 10px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  min-height: 44px;
}

.wordmark-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface-3);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.site-nav a,
.footer-links a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.menu-toggle {
  display: none;
}

.menu-toggle,
.theme-toggle {
  justify-self: end;
  min-height: 44px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
}

.theme-toggle {
  display: inline-flex;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--line-strong);
  color: var(--ink);
}

.theme-toggle-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

main {
  min-width: 0;
}

.hero {
  min-height: 760px;
  padding: 112px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(54px, 8vw, 118px);
}

.eyebrow,
.section-index,
.mono-label,
.project-kicker,
.capability-code,
.evidence-label,
.status,
.project-number,
.path-year {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--aqua);
  font-size: 14px;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 860px;
  margin-bottom: 34px;
  font-size: clamp(58px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.062em;
  font-weight: 600;
}

.hero-intro {
  max-width: 760px;
  margin-bottom: 38px;
  color: var(--ink-soft);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--button-ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-hover);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.availability {
  max-width: 720px;
  margin-top: 34px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
}

.availability-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(142, 185, 156, 0.1);
}

.hero-portrait {
  align-self: center;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-portrait > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.04);
}

.portrait-caption {
  padding: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.portrait-caption div {
  display: grid;
  gap: 4px;
}

.portrait-caption a {
  color: var(--muted);
  font-family: var(--mono);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
}

.mono-label {
  color: var(--muted);
  font-size: 12px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip > div {
  min-height: 162px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.proof-strip > div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.proof-strip span {
  max-width: 190px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 136px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(420px, 1.1fr) minmax(280px, 0.75fr);
  gap: 38px;
  align-items: end;
}

.section-index {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section-heading h2,
.path-intro h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.052em;
  font-weight: 600;
}

.section-heading > p:last-child,
.work-heading > p,
.path-intro > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project {
  min-height: 520px;
  padding: clamp(26px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.project-featured {
  grid-column: 1 / -1;
  min-height: 600px;
  background: var(--accent-soft);
}

.project-main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.45fr);
  align-items: end;
  gap: 60px;
}

.project-topline,
.evidence-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.status,
.project-number {
  color: var(--muted);
  font-size: 12px;
}

.status-launch {
  color: var(--accent);
}

.status-live {
  color: var(--green);
}

.project-kicker {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
}

.project h3 {
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 94px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.project:not(.project-featured) h3 {
  font-size: clamp(40px, 5vw, 64px);
}

.project-lede {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.project:not(.project-featured) .project-lede {
  font-size: 18px;
}

.project-note {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 15px;
}

.feature-list,
.inline-products {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.feature-list li,
.inline-products li {
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.text-link {
  width: fit-content;
  min-height: 44px;
  padding: 9px 0 7px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 14px;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.compact-heading {
  grid-template-columns: minmax(140px, 0.45fr) minmax(420px, 1.85fr);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article {
  min-height: 340px;
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-code {
  margin-bottom: auto;
  color: var(--accent);
  font-size: 12px;
}

.capability-grid h3 {
  max-width: 410px;
  margin: 52px 0 18px;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.capability-grid p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.evidence-card {
  min-height: 430px;
  padding: clamp(25px, 3.5vw, 38px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.evidence-emulator {
  background: var(--surface-2);
}

.evidence-label {
  margin-bottom: auto;
  color: var(--muted);
  font-size: 12px;
}

.evidence-card h3 {
  margin: 60px 0 18px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.evidence-card p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
}

.evidence-card .text-link {
  margin-top: auto;
}

.inline-products {
  margin: -8px 0 28px;
}

.path-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(500px, 1.2fr);
  gap: clamp(60px, 9vw, 132px);
}

.path-intro .section-index {
  margin-bottom: 36px;
}

.path-intro h2 {
  margin-bottom: 32px;
  font-size: clamp(42px, 5vw, 68px);
}

.career-path {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.career-path li {
  min-height: 150px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}

.path-year {
  padding-top: 3px;
  color: var(--accent);
  font-size: 12px;
}

.career-path strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.career-path p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.work-heading {
  grid-template-columns: minmax(620px, 1.35fr) minmax(280px, 0.65fr);
}

.work-heading > p {
  max-width: 430px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--surface);
  color: white;
  cursor: pointer;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.82);
  transition: transform 320ms ease, filter 320ms ease;
}

.film-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 10px;
  display: grid;
  gap: 2px;
  background: rgba(12, 14, 14, 0.84);
  color: #f0ede5;
  text-align: left;
}

.film-label strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.film-label small {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-thumb:focus-visible {
  outline-offset: -4px;
}

.video-thumb:hover img,
.video-thumb:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.04) brightness(0.95);
}

.archive-details {
  border: 1px solid var(--line);
  border-top: 0;
}

.archive-details summary {
  min-height: 66px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  list-style: none;
}

.archive-details summary::-webkit-details-marker {
  display: none;
}

.archive-details summary::before {
  content: "Show";
  min-width: 38px;
  margin-right: 8px;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
}

.archive-details[open] summary::before {
  content: "Hide";
}

.archive-details summary span {
  margin-left: auto;
  color: var(--muted);
}

.archive-grid {
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
}

.worked-with {
  padding: 72px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 64px;
  border-bottom: 1px solid var(--line);
}

.worked-with img {
  width: min(100%, 640px);
  height: auto;
  justify-self: start;
  filter: grayscale(1) invert(1) contrast(1.8) brightness(0.9);
  mix-blend-mode: screen;
  opacity: 0.62;
}

[data-theme="light"] .worked-with img {
  filter: grayscale(1) contrast(0.94);
  mix-blend-mode: multiply;
  opacity: 0.72;
}

.contact-section {
  padding: 148px 0 128px;
}

.contact-section .section-index {
  margin-bottom: 38px;
}

.contact-section h2 {
  max-width: 980px;
  margin-bottom: 30px;
  font-size: clamp(52px, 7vw, 94px);
}

.contact-section > p:not(.section-index) {
  max-width: 700px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.email-link {
  min-width: min(380px, 100%);
}

.copy-email {
  min-width: 136px;
}

.copy-feedback {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
}

.site-footer {
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto auto;
  align-items: center;
  gap: 54px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-copy {
  display: grid;
  gap: 3px;
}

.footer-brand-copy strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.footer-brand-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.video-modal {
  width: min(1100px, calc(100% - 32px), calc((100dvh - 84px) * 1.7778));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #090a0a;
  color: #f0ede5;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.video-modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.modal-bar {
  min-height: 52px;
  padding: 0 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-close {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #303535;
  border-radius: 0;
  background: #151818;
  color: #bfc4c2;
  cursor: pointer;
  font-size: 12px;
}

.video-modal iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  background: #000;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--header-bg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

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

  .site-nav a {
    min-height: 48px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    gap: 48px;
  }

  .section-heading,
  .compact-heading {
    grid-template-columns: 150px 1fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
    max-width: 640px;
  }

  .path-section {
    grid-template-columns: 1fr;
  }

  .path-intro {
    max-width: 760px;
  }

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

  .evidence-card:first-child {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 18px 36px;
  }

  .footer-note {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 780px) {
  body::before {
    display: none;
  }

  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 82px 0 72px;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(50px, 14vw, 76px);
    letter-spacing: -0.048em;
  }

  .hero-portrait {
    width: min(420px, 100%);
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .proof-strip > div:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .proof-strip > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 96px 0;
  }

  .section-heading,
  .compact-heading,
  .work-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

  .project-grid,
  .capability-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .project-featured,
  .evidence-card:first-child {
    grid-column: auto;
  }

  .project-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .project {
    min-height: auto;
  }

  .project-featured {
    min-height: auto;
  }

  .capability-grid article,
  .evidence-card {
    min-height: auto;
  }

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

  .worked-with {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .footer-note {
    grid-column: auto;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 17px;
  }

  .wordmark > span:last-child {
    display: none;
  }

  .theme-toggle {
    min-width: 44px;
    justify-content: center;
  }

  .theme-label {
    display: none;
  }

  .hero {
    padding-top: 68px;
  }

  .eyebrow {
    display: grid;
    gap: 6px;
  }

  .eyebrow span + span::before {
    content: none;
  }

  h1 {
    font-size: clamp(48px, 15.2vw, 66px);
  }

  .hero-intro {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .contact-actions {
    display: grid;
  }

  .contact-actions .button {
    width: 100%;
    min-width: 0;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip > div,
  .proof-strip > div:nth-child(2),
  .proof-strip > div:nth-child(3),
  .proof-strip > div:nth-child(4) {
    min-height: 122px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .proof-strip > div:first-child {
    border-top: 0;
  }

  .section-heading h2,
  .path-intro h2,
  .contact-section h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .project,
  .capability-grid article,
  .evidence-card {
    padding: 24px;
  }

  .career-path li {
    grid-template-columns: 64px 1fr;
    gap: 18px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .archive-details summary span {
    display: none;
  }

  .portrait-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section {
    padding: 108px 0 94px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
