:root {
  --ink: #08111f;
  --ink-2: #111d2d;
  --paper: #f4f6f3;
  --paper-2: #e9ede8;
  --white: #ffffff;
  --cyan: #6edcff;
  --cyan-deep: #168eb7;
  --amber: #d7a653;
  --text: #182230;
  --muted: #66717d;
  --line: rgba(8, 17, 31, .14);
  --line-light: rgba(255, 255, 255, .16);
  --shadow: 0 28px 80px rgba(8, 17, 31, .12);
  --radius: 3px;
  --shell: min(1280px, calc(100vw - 96px));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

::selection { color: var(--ink); background: var(--cyan); }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: 148px; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-140%);
  transition: transform .2s ease;
}

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

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

/* Navigation */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--white);
  transition: color .35s ease, background .35s ease, box-shadow .35s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, .14);
  transition: background .35s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(244, 246, 243, .88);
  box-shadow: 0 8px 36px rgba(8, 17, 31, .06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.is-scrolled::after { background: var(--line); }

.nav-shell {
  width: var(--shell);
  height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 13px; }

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.site-nav { display: flex; align-items: center; gap: 34px; }

.site-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 -7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

.site-nav > a:hover::after,
.site-nav > a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  padding: 10px 15px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}

.nav-cta:hover { color: var(--ink); background: var(--white); }
.is-scrolled .nav-cta:hover { color: var(--white); background: var(--ink); }

.menu-button { display: none; border: 0; background: transparent; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  min-height: 900px;
  height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 17, 31, .99) 0%, rgba(8, 17, 31, .94) 26%, rgba(8, 17, 31, .5) 55%, rgba(8, 17, 31, .1) 100%),
    linear-gradient(180deg, rgba(8, 17, 31, .14), rgba(8, 17, 31, .42)),
    url("../images/hero-digital-twin.webp");
  background-position: center, center, center;
  background-size: cover;
  transform: scale(1.02);
  animation: hero-drift 16s var(--ease) both;
}

@keyframes hero-drift { from { transform: scale(1.08); } to { transform: scale(1.02); } }

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black, transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
  gap: 80px;
  align-items: center;
  padding-top: 72px;
}

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

.eyebrow {
  margin: 0 0 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(110, 220, 255, .12), 0 0 22px var(--cyan);
}

.hero h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 620;
  line-height: .91;
  letter-spacing: -.072em;
}

.hero h1 em {
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lede {
  max-width: 670px;
  margin: 38px 0 0;
  color: rgba(255,255,255,.71);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 13px 19px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .3s var(--ease), color .3s ease, background .3s ease, border-color .3s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
.button-primary:hover { background: var(--white); border-color: var(--white); }
.button-quiet:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }

.hero-side { align-self: end; padding-bottom: 120px; }

.signal-card {
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,17,31,.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.signal-label {
  margin-bottom: 18px;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.signal-value { padding-block: 8px; border-top: 1px solid rgba(255,255,255,.13); font-size: 14px; }
.hero-meta { margin-top: 17px; display: flex; justify-content: space-between; color: rgba(255,255,255,.45); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.hero-caption {
  position: absolute;
  z-index: 2;
  inset: auto 0 26px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.45);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Reusable section heading */
.section-index {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 74px;
  display: grid;
  grid-template-columns: 1.65fr .6fr;
  gap: 100px;
  align-items: end;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 580;
  line-height: .98;
  letter-spacing: -.06em;
}

.section-heading h2 span { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 15px; }

/* Profile */
.intro { position: relative; }
.intro > .section-index { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: minmax(220px, .58fr) minmax(0, 1.42fr); gap: clamp(64px, 9vw, 150px); align-items: start; }
.portrait-wrap { max-width: 365px; }

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5.1;
  background: #dfe3e0;
}

.portrait-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(8,17,31,.08); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; filter: saturate(.85) contrast(.98); transition: transform .7s var(--ease), filter .7s ease; }
.portrait-frame:hover img { transform: scale(1.025); filter: saturate(1) contrast(1); }
.portrait-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.kicker { margin: 5px 0 28px; color: var(--cyan-deep); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }

.intro-copy h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 4.35vw, 65px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -.052em;
}

.intro-copy h2 span { color: #83909a; }
.intro-body { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.intro-body p { margin: 0; color: #4f5b67; font-size: 15px; }
.profile-links { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 14px 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.profile-links a, .all-publications { font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.profile-links a span, .all-publications span, .text-link span { display: inline-block; transition: transform .25s var(--ease); }
.profile-links a:hover span, .all-publications:hover span, .text-link:hover span { transform: translate(3px, -3px); }

/* Focus */
.focus { background: var(--paper-2); }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.focus-card { position: relative; min-height: 500px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.24); transition: transform .45s var(--ease), box-shadow .45s ease, background .45s ease; }
.focus-card:hover { z-index: 2; transform: translateY(-8px); background: var(--white); box-shadow: var(--shadow); }
.focus-card-dark { color: var(--white); background: var(--ink-2); }
.focus-card-dark:hover { background: #13243a; }
.focus-card-accent { background: #cceef4; }
.focus-card-accent:hover { background: #daf5f9; }
.focus-number { color: currentColor; opacity: .42; font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.focus-icon { width: 64px; height: 64px; margin: 46px 0 56px; }
.focus-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.35; }
.focus-card h3 { margin: 0 0 18px; font-size: 24px; font-weight: 580; letter-spacing: -.035em; }
.focus-card p { margin: 0; color: inherit; opacity: .67; font-size: 14px; }
.focus-card ul { margin: auto 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 15%, transparent); }
.focus-card li { padding: 5px 8px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Selected work */
.work-list { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 30px; }
.work-card { min-width: 0; }
.work-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr .6fr; gap: 44px; align-items: center; }
.work-visual { position: relative; overflow: hidden; min-height: 390px; display: block; color: var(--white); background: var(--ink); }
.work-card-wide .work-visual { aspect-ratio: 1.85; min-height: 0; }
.work-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .9s ease; }
.work-visual:hover img { transform: scale(1.025); filter: brightness(1.08); }
.work-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.visual-tag { position: absolute; z-index: 3; top: 20px; left: 20px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.32); color: var(--white); background: rgba(8,17,31,.48); backdrop-filter: blur(8px); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.visual-action { position: absolute; z-index: 3; right: 20px; bottom: 20px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--cyan); transition: transform .3s var(--ease), background .3s ease; }
.work-visual:hover .visual-action { transform: rotate(45deg) scale(1.08); background: var(--white); }
.work-content { padding-top: 24px; border-top: 1px solid var(--line); }
.work-card-wide .work-content { padding-top: 28px; }
.work-meta { margin-bottom: 22px; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.work-content h3 { margin: 0 0 18px; font-size: clamp(24px, 2.4vw, 36px); font-weight: 580; line-height: 1.15; letter-spacing: -.04em; }
.work-card-wide .work-content h3 { font-size: clamp(30px, 3.1vw, 46px); }
.work-content p { margin: 0; color: var(--muted); font-size: 14px; }
.text-link { margin-top: 26px; display: inline-flex; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 750; letter-spacing: .04em; }

.system-visual { display: grid; place-items: center; background: radial-gradient(circle at center, #16304b 0, #0b1727 64%, #07111f 100%); }
.system-visual::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 36px 36px; }
.flywheel { position: relative; width: 280px; height: 280px; }
.flywheel-ring { position: absolute; border: 1px solid rgba(110,220,255,.45); border-radius: 50%; }
.ring-one { inset: 22px; border-style: dashed; animation: spin 28s linear infinite; }
.ring-two { inset: 62px; opacity: .5; animation: spin-reverse 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
.flywheel-core { position: absolute; inset: 98px; display: grid; place-items: center; border: 1px solid var(--cyan); border-radius: 50%; color: var(--cyan); background: rgba(110,220,255,.07); font-size: 10px; font-weight: 800; line-height: 1.3; letter-spacing: .12em; text-align: center; }
.flywheel-node { position: absolute; min-width: 68px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.23); color: rgba(255,255,255,.78); background: #0c1a2b; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.node-a { top: 0; left: 106px; }.node-b { top: 120px; right: -18px; }.node-c { bottom: 0; left: 106px; }.node-d { top: 120px; left: -18px; }

.trellis-visual { background: radial-gradient(circle at 60% 45%, #153047, #07111f 70%); }
.trellis-svg { width: 100%; height: 100%; }
.scan-lines { fill: none; stroke: rgba(110,220,255,.11); stroke-width: 1; }
.car-wire { fill: none; stroke: #6edcff; stroke-width: 2; filter: drop-shadow(0 0 9px rgba(110,220,255,.35)); }
.point-cloud { fill: #d7a653; filter: drop-shadow(0 0 7px #d7a653); }
.legacy-visual { background: #131c23; }
.legacy-visual img { object-fit: cover; object-position: center; filter: saturate(.75) contrast(1.08); }

/* Journey */
.journey { color: var(--white); background: var(--ink); }
.section-heading-light .section-index { color: rgba(255,255,255,.46); }
.section-heading-light h2 span { color: rgba(255,255,255,.42); }
.section-heading-light > p { color: rgba(255,255,255,.53); }
.timeline { border-top: 1px solid var(--line-light); }
.timeline-item { min-height: 230px; display: grid; grid-template-columns: 145px 50px 1fr; border-bottom: 1px solid var(--line-light); }
.timeline-date { padding-top: 43px; color: rgba(255,255,255,.43); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.timeline-marker { position: relative; }
.timeline-marker::before { content: ""; position: absolute; top: 0; bottom: 0; left: 10px; width: 1px; background: var(--line-light); }
.timeline-marker span { position: absolute; z-index: 1; top: 45px; left: 5px; width: 11px; height: 11px; border: 2px solid var(--cyan); border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px rgba(110,220,255,.06); }
.timeline-content { padding: 38px 0 42px; }
.timeline-heading { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: baseline; }
.timeline-heading h3 { margin: 0; font-size: clamp(23px, 2.7vw, 37px); font-weight: 540; letter-spacing: -.035em; }
.timeline-heading > span { color: var(--cyan); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.timeline-content > p { max-width: 790px; margin: 20px 0 0; color: rgba(255,255,255,.57); font-size: 14px; }
.timeline-tags { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 8px; }
.timeline-tags span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.timeline-item-last .timeline-marker::before { bottom: 50%; }

/* Publications */
.publication-list { border-top: 1px solid var(--line); }
.publication { min-height: 138px; display: grid; grid-template-columns: 80px minmax(0, 1fr) 160px 40px; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), color .35s ease, background .35s ease; }
.publication:hover { padding-inline: 18px; color: var(--ink); background: var(--white); }
.publication-year { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .1em; }
.publication-main { display: flex; flex-direction: column; gap: 10px; }
.publication-main strong { font-size: clamp(16px, 1.55vw, 21px); font-weight: 580; line-height: 1.35; letter-spacing: -.02em; }
.publication-main small { color: var(--muted); font-size: 11px; }
.publication-venue { justify-self: start; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.featured-publication .publication-venue { color: var(--cyan-deep); border-color: rgba(22,142,183,.35); background: rgba(110,220,255,.08); }
.publication-arrow { justify-self: end; font-size: 20px; transition: transform .3s var(--ease); }
.publication:hover .publication-arrow { transform: translate(4px, -4px); }
.all-publications { margin-top: 35px; display: inline-flex; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }

/* Contact */
.contact { position: relative; overflow: hidden; color: var(--white); background: #0b1a29; }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent, black); }
.contact-glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; border-radius: 50%; background: rgba(53, 176, 216, .2); filter: blur(100px); }
.contact-inner { position: relative; z-index: 1; min-height: 540px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: center; }
.contact .section-index { color: rgba(255,255,255,.45); }
.contact-kicker { margin: 0 0 26px; color: rgba(255,255,255,.58); font-size: 13px; }
.contact h2 { margin: 0; font-size: clamp(58px, 7.3vw, 105px); font-weight: 540; line-height: .9; letter-spacing: -.072em; }
.contact h2 em { color: var(--cyan); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.contact-side > p { max-width: 430px; margin: 0 0 40px; color: rgba(255,255,255,.58); font-size: 15px; }
.contact-email { display: flex; justify-content: space-between; gap: 30px; padding: 18px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); font-size: clamp(16px, 2vw, 23px); transition: color .25s ease; }
.contact-email:hover { color: var(--cyan); }
.contact-links { margin-top: 28px; display: flex; gap: 30px; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-links a:hover { color: var(--white); }

/* Footer */
.site-footer { color: rgba(255,255,255,.5); background: var(--ink); border-top: 1px solid var(--line-light); }
.footer-inner { min-height: 105px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; font-size: 10px; font-weight: 650; letter-spacing: .06em; }
.footer-brand { color: var(--white); }
.footer-inner p { margin: 0; }
.footer-inner > a:last-child { justify-self: end; }

/* Reveal animation */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 64px, 1100px); }
  .hero { min-height: 780px; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .focus-card { min-height: 440px; }
  .work-card-wide { grid-template-columns: 1.15fr .85fr; }
  .work-visual { min-height: 330px; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 40px); }
  .section { padding-block: 96px; }
  .nav-shell { height: 70px; }
  .menu-button { position: relative; z-index: 2; width: 40px; height: 40px; padding: 0; display: grid; place-content: center; gap: 6px; }
  .menu-button > span:not(.sr-only) { width: 22px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
  .menu-button[aria-expanded="true"] > span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; padding: 110px 20px 50px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--white); background: rgba(8,17,31,.98); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .3s ease, transform .3s var(--ease), visibility .3s; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-nav a { width: 100%; padding: 13px 0; font-size: clamp(25px, 8vw, 42px); font-weight: 520; letter-spacing: -.03em; text-transform: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .site-nav > a::after { display: none; }
  .site-nav .nav-cta { margin-top: 15px; padding: 14px 20px; width: auto; border: 1px solid rgba(255,255,255,.4); border-radius: 2px; font-size: 15px; }
  .site-header.is-scrolled .site-nav { color: var(--white); }
  .site-header:has(.site-nav.is-open) { color: var(--white); background: transparent; }
  .site-header:has(.site-nav.is-open)::after { background: rgba(255,255,255,.15); }
  .hero { height: auto; min-height: 860px; }
  .hero-backdrop { background-image: linear-gradient(90deg, rgba(8,17,31,.98), rgba(8,17,31,.62)), linear-gradient(180deg, rgba(8,17,31,.15), rgba(8,17,31,.65)), url("../images/hero-digital-twin.webp"); background-position: 67% center; }
  .hero-content { min-height: 860px; grid-template-columns: 1fr; gap: 20px; align-content: center; padding-top: 90px; padding-bottom: 90px; }
  .hero-copy { max-width: 700px; }
  .hero h1 { font-size: clamp(52px, 12vw, 82px); }
  .hero-side { align-self: auto; max-width: 360px; padding-bottom: 0; }
  .signal-card { display: none; }
  .hero-caption { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 50px; }
  .section-heading > p { max-width: 520px; }
  .intro-grid { grid-template-columns: .65fr 1.35fr; gap: 44px; }
  .intro-body { grid-template-columns: 1fr; gap: 20px; }
  .work-list { gap: 64px 20px; }
  .work-card-wide { grid-template-columns: 1fr; gap: 24px; }
  .work-card-wide .work-content { padding-top: 20px; }
  .timeline-item { grid-template-columns: 105px 36px 1fr; }
  .timeline-heading { grid-template-columns: 1fr; gap: 6px; }
  .publication { grid-template-columns: 55px minmax(0, 1fr) 30px; gap: 18px; padding-block: 26px; }
  .publication-venue { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 60px; min-height: 0; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 32px); }
  .section { padding-block: 82px; }
  .brand-name { font-size: 12px; }
  .hero { min-height: 800px; }
  .hero-content { min-height: 800px; }
  .eyebrow { align-items: flex-start; font-size: 9px; line-height: 1.5; }
  .hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-lede { margin-top: 28px; font-size: 16px; }
  .hero-actions { margin-top: 32px; flex-direction: column; align-items: stretch; }
  .button { justify-content: space-between; }
  .intro-grid { grid-template-columns: 1fr; gap: 52px; }
  .portrait-wrap { max-width: 280px; }
  .intro-copy h2 { font-size: 37px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 390px; padding: 25px; }
  .focus-icon { margin: 36px 0 42px; }
  .work-list { grid-template-columns: 1fr; }
  .work-card-wide { grid-column: auto; }
  .work-visual, .work-card-wide .work-visual { min-height: 290px; aspect-ratio: auto; }
  .flywheel { transform: scale(.82); }
  .work-content h3, .work-card-wide .work-content h3 { font-size: 28px; }
  .timeline-item { grid-template-columns: 29px 1fr; }
  .timeline-date { grid-column: 2; padding-top: 32px; }
  .timeline-marker { grid-column: 1; grid-row: 1 / span 2; }
  .timeline-marker span { top: 36px; left: 0; }
  .timeline-marker::before { left: 5px; }
  .timeline-content { grid-column: 2; padding-top: 12px; }
  .publication { grid-template-columns: 46px minmax(0, 1fr) 18px; gap: 10px; }
  .publication-main strong { font-size: 15px; }
  .publication-main small { font-size: 10px; }
  .publication:hover { padding-inline: 8px; }
  .contact h2 { font-size: 62px; }
  .contact-email { font-size: 15px; }
  .footer-inner { grid-template-columns: 1fr auto; min-height: 88px; }
  .footer-inner p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
