:root {
  --ink: #07111f;
  --ink-soft: #0b182a;
  --panel: #0e1e31;
  --panel-light: #13263c;
  --line: rgba(184, 214, 242, 0.17);
  --line-strong: rgba(184, 214, 242, 0.32);
  --paper: #eef4ff;
  --muted: #9eafc4;
  --muted-light: #c3d0df;
  --azure: #46a6ff;
  --azure-soft: #8bc9ff;
  --violet: #987cff;
  --amber: #f8bd62;
  --shadow: rgba(1, 8, 18, 0.35);
  --max: 1400px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --display: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .08; background-image: linear-gradient(rgba(125, 175, 220, .45) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 175, 220, .45) 1px, transparent 1px); background-size: 92px 92px; mask-image: linear-gradient(to bottom, black, transparent 76%); z-index: -1; }
::selection { background: var(--azure); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }

.shell { width: min(calc(100% - (var(--gutter) * 2)), var(--max)); margin-inline: auto; }
.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; }
.section-pad { padding-block: clamp(6rem, 12vw, 11rem); position: relative; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; background: var(--paper); color: var(--ink); padding: .65rem .9rem; transform: translateY(-140%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(7, 17, 31, .9); border-color: var(--line); box-shadow: 0 12px 32px rgba(1, 8, 18, .18); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-size: .95rem; font-weight: 650; letter-spacing: -.02em; }
.wordmark-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--azure); color: var(--azure-soft); font-size: .67rem; letter-spacing: .05em; }
.wordmark-text { color: var(--muted-light); }
.primary-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2.7rem); }
.primary-nav a { color: var(--muted); text-decoration: none; font-size: .82rem; letter-spacing: .01em; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--paper); }
.primary-nav .nav-contact { border: 1px solid var(--line-strong); color: var(--paper); padding: .55rem .9rem; }
.primary-nav .nav-contact:hover { border-color: var(--azure); color: var(--azure-soft); }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--paper); padding: .48rem .65rem; align-items: center; gap: .65rem; cursor: pointer; }
.menu-toggle-label { font-size: .76rem; color: var(--muted-light); }
.menu-toggle-icon { width: 17px; display: grid; gap: 5px; }
.menu-toggle-icon i { height: 1px; display: block; background: currentColor; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }

.hero { min-height: min(880px, calc(100vh - 76px)); display: grid; align-items: center; padding-top: clamp(5rem, 9vw, 9rem); padding-bottom: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); min-width: 0; }
.hero-copy { min-width: 0; }
.eyebrow, .section-kicker { margin: 0 0 1.5rem; color: var(--azure-soft); font-size: .72rem; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .6rem; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(248, 189, 98, .1); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 560; letter-spacing: -.055em; }
h1 { max-width: 760px; min-width: 0; margin-bottom: 2rem; font-size: clamp(3.7rem, 8.2vw, 8.7rem); line-height: .9; overflow-wrap: anywhere; }
h1 em, h2 em { color: var(--azure-soft); font-style: normal; }
.hero-lede { max-width: 510px; margin-bottom: .9rem; color: var(--paper); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.26; letter-spacing: -.025em; }
.hero-note { max-width: 430px; color: var(--muted); font-size: .98rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.7rem; margin-top: 2.65rem; }
.button { display: inline-flex; align-items: center; gap: .8rem; min-height: 48px; padding: .72rem 1.1rem; text-decoration: none; font-size: .84rem; font-weight: 650; letter-spacing: .01em; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button-primary { color: var(--ink); background: var(--azure-soft); border: 1px solid var(--azure-soft); }
.button-primary:hover { background: var(--paper); border-color: var(--paper); transform: translateY(-2px); }
.text-link, .inline-arrow { color: var(--muted-light); text-decoration: none; font-size: .86rem; border-bottom: 1px solid var(--line-strong); padding-bottom: .28rem; transition: color .2s ease, border-color .2s ease; }
.text-link:hover, .inline-arrow:hover { color: var(--paper); border-color: var(--azure); }
.text-link span, .inline-arrow span { color: var(--amber); padding-left: .3rem; }
.hero-route { width: min(100%, 620px); justify-self: end; position: relative; aspect-ratio: 1; margin-top: -1rem; }
.hero-route::before { content: ""; position: absolute; inset: 9%; border: 1px solid var(--line); transform: rotate(10deg); }
.hero-route::after { content: ""; position: absolute; width: 13rem; height: 13rem; right: 6%; top: 2%; border-radius: 50%; background: rgba(70, 166, 255, .09); filter: blur(28px); }
.hero-route svg { display: block; width: 100%; height: 100%; overflow: visible; }
.route-grid { fill: none; stroke: rgba(158, 175, 196, .16); stroke-width: 1; stroke-dasharray: 2 8; }
.route-line { fill: none; stroke: url(#routeGradient); stroke-width: 3; stroke-linecap: square; stroke-linejoin: bevel; stroke-dasharray: .045 .018; animation: route-drift 8s linear infinite; filter: url(#softGlow); }
.route-line-back { stroke: rgba(70, 166, 255, .12); stroke-width: 1; stroke-dasharray: none; filter: none; }
.route-node { fill: var(--ink); stroke: var(--azure-soft); stroke-width: 2; }
.route-node:nth-of-type(odd) { stroke: var(--violet); }
.route-pulse { fill: none; stroke: var(--amber); stroke-width: 1.5; opacity: .8; animation: node-pulse 2.8s ease-out infinite; }
.route-stage-list { display: contents; }
.route-stage { position: absolute; display: inline-flex; align-items: center; gap: .42rem; border: 0; padding: .22rem 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: .63rem; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; transition: color .2s ease, transform .2s ease; }
.route-stage::before { content: ""; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--azure); box-shadow: 0 0 0 4px rgba(70, 166, 255, .08); transition: background .2s ease, box-shadow .2s ease; }
.route-stage::after { content: ""; position: absolute; width: 22px; height: 1px; top: 50%; background: var(--line-strong); opacity: .75; }
.route-stage-connector { display: none; }
.route-stage:hover, .route-stage:focus-visible, .route-stage.is-active { color: var(--paper); transform: translateY(-1px); }
.route-stage:hover::before, .route-stage:focus-visible::before, .route-stage.is-active::before { background: var(--amber); box-shadow: 0 0 0 5px rgba(248, 189, 98, .12); }
.route-stage-sources { left: 2%; bottom: 17%; }
.route-stage-sources::after { right: -27px; }
.route-stage-staging { left: 11%; top: 43%; }
.route-stage-staging::after { right: -27px; }
.route-stage-transform { left: 31%; bottom: 7%; }
.route-stage-transform::after { left: 50%; top: -11px; transform: rotate(90deg); }
.route-stage-destination { left: 53%; bottom: 16%; }
.route-stage-destination::after { left: 50%; top: -11px; transform: rotate(90deg); }
.route-stage-semantic { right: 18%; top: 29%; }
.route-stage-semantic::after { left: -27px; }
.route-stage-reports { right: 3%; top: 6%; }
.route-stage-reports::after { left: -27px; }
.route-node.is-stage-active { stroke: var(--amber); stroke-width: 2.5; filter: url(#softGlow); }
.route-stamp { position: absolute; right: 8%; bottom: 6%; display: grid; gap: .55rem; border-left: 1px solid var(--amber); padding-left: .75rem; }
.route-stamp span { color: var(--amber); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.route-stamp strong { color: var(--muted-light); font-size: .73rem; font-weight: 500; line-height: 1.3; }
.hero-scroll { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-scroll i { width: 34px; height: 1px; display: block; position: relative; background: var(--line-strong); }
.hero-scroll i::after { content: ""; width: 5px; height: 5px; position: absolute; top: -2px; right: 0; background: var(--amber); border-radius: 50%; }
@keyframes route-drift { to { stroke-dashoffset: -1; } }
@keyframes node-pulse { 0% { r: 10; opacity: .8; } 70%, 100% { r: 32; opacity: 0; } }

.credibility { padding-block: 2.7rem; border-block: 1px solid var(--line); background: rgba(14, 30, 49, .55); }
.credibility-grid { display: grid; grid-template-columns: minmax(150px, .4fr) 1fr; gap: 2rem; align-items: start; }
.credibility .section-kicker { margin: .35rem 0 0; }
.credibility-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.credibility-item { min-height: 74px; display: grid; align-content: center; gap: .25rem; border-left: 1px solid var(--line); padding-left: 1.15rem; }
.credibility-item strong { color: var(--paper); font-size: .99rem; letter-spacing: -.02em; font-weight: 560; }
.credibility-item span { color: var(--muted); font-size: .74rem; line-height: 1.3; }

.section-intro { max-width: 440px; }
.section-intro-wide { max-width: 680px; }
.section-intro h2, .about-section h2, .certifications-section h2, .contact-section h2 { margin-bottom: 1.45rem; font-size: clamp(3.05rem, 6vw, 6.6rem); line-height: .94; }
.section-intro > p:last-child { color: var(--muted); font-size: 1.03rem; line-height: 1.6; }
.project-list { margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.project { display: grid; grid-template-columns: 110px minmax(0, 1fr) 190px; gap: clamp(1.4rem, 4vw, 4rem); padding-block: clamp(2.2rem, 5vw, 4.4rem); border-bottom: 1px solid var(--line); }
.project-featured { padding-top: clamp(2.5rem, 5.5vw, 5rem); }
.project-rail { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.project-number { color: var(--azure); font-size: .75rem; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.project-status { display: inline-flex; align-items: center; gap: .38rem; color: var(--muted); font-size: .66rem; line-height: 1.2; }
.project-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.status-production::before { background: var(--azure); box-shadow: 0 0 0 4px rgba(70, 166, 255, .12); }
.status-poc::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(248, 189, 98, .1); }
.project-content { max-width: 730px; }
.project-meta { margin-bottom: .7rem; color: var(--azure-soft); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.project h3 { margin-bottom: .9rem; font-size: clamp(1.9rem, 3.4vw, 3.4rem); line-height: 1.02; }
.project-summary { max-width: 610px; margin-bottom: 1.4rem; color: var(--muted-light); font-size: 1rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.project-tags span, .platform-list span { border: 1px solid var(--line); color: var(--muted); padding: .28rem .58rem; font-size: .67rem; }
.project-toggle { margin-top: 1.75rem; padding: 0 0 .35rem; display: flex; align-items: center; gap: .7rem; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--paper); cursor: pointer; font-size: .81rem; text-align: left; transition: color .2s ease, border-color .2s ease; }
.project-toggle span { color: var(--amber); font-size: 1.1rem; font-weight: 300; transition: transform .2s ease; }
.project-toggle:hover { color: var(--azure-soft); border-color: var(--azure); }
.project-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.project-details { padding-top: 1.3rem; color: var(--muted); font-size: .9rem; }
.project-details ul { margin: 0; padding-left: 1.1rem; }
.project-details li + li { margin-top: .7rem; }
.project-side-note { align-self: start; display: grid; gap: .55rem; padding-left: 1rem; border-left: 1px solid var(--line); color: var(--muted); font-size: .69rem; line-height: 1.35; }
.project-side-note strong { color: var(--paper); font-size: .78rem; font-weight: 520; }
.inline-arrow { display: inline-block; margin-top: 3.2rem; }

.expertise-section { background: var(--ink-soft); border-block: 1px solid var(--line); }
.expertise-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr); gap: clamp(3rem, 8vw, 10rem); align-items: start; }
.skill-groups { display: grid; gap: 1.35rem; margin-top: 3.4rem; }
.skill-groups > div { border-top: 1px solid var(--line); padding-top: .8rem; }
.skill-groups span { color: var(--azure-soft); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.skill-groups p { margin: .42rem 0 0; color: var(--muted-light); font-size: .86rem; line-height: 1.5; }
.pipeline-wrap { position: sticky; top: 110px; min-height: 550px; padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--line); background: rgba(7, 17, 31, .64); }
.pipeline-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; }
.pipeline-heading span:last-child { color: var(--amber); letter-spacing: .04em; text-transform: none; }
.pipeline { min-height: 365px; position: relative; margin-top: 2.3rem; }
.pipeline-line { width: 1px; position: absolute; top: 16px; bottom: 16px; left: 29px; background: linear-gradient(var(--azure), var(--violet) 65%, var(--amber)); opacity: .6; }
.pipeline-node { width: 100%; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 1rem; position: relative; padding: .78rem 0; border: 0; background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.pipeline-node::before { content: ""; width: 11px; height: 11px; position: absolute; left: 24px; top: 20px; z-index: 1; border: 2px solid var(--muted); border-radius: 50%; background: var(--ink); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.pipeline-node.is-active::before, .pipeline-node:hover::before { border-color: var(--azure-soft); background: var(--azure-soft); box-shadow: 0 0 0 6px rgba(70, 166, 255, .12); }
.pipeline-node:nth-of-type(4).is-active::before, .pipeline-node:nth-of-type(4):hover::before { border-color: var(--violet); background: var(--violet); box-shadow: 0 0 0 6px rgba(152, 124, 255, .12); }
.pipeline-node:nth-of-type(6).is-active::before, .pipeline-node:nth-of-type(6):hover::before { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 6px rgba(248, 189, 98, .12); }
.node-index { grid-row: span 2; padding-left: 0; color: var(--muted); font-size: .68rem; }
.pipeline-node strong { color: var(--paper); font-size: 1.02rem; font-weight: 560; letter-spacing: -.02em; }
.pipeline-node small { color: var(--muted); font-size: .72rem; }
.pipeline-node.is-active strong { color: var(--azure-soft); }
.pipeline-node:nth-of-type(4).is-active strong { color: #c2b5ff; }
.pipeline-node:nth-of-type(6).is-active strong { color: var(--amber); }
.pipeline-detail { min-height: 58px; margin-top: 1.45rem; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted-light); font-size: .88rem; line-height: 1.45; }
.platform-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }

.journey-section { background: linear-gradient(120deg, rgba(13, 29, 48, .85), rgba(7, 17, 31, .95) 58%); }
.timeline { position: relative; margin-top: clamp(4.5rem, 9vw, 8rem); border-top: 1px solid var(--line); }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(130px, 16vw, 245px); width: 1px; background: var(--line); }
.timeline-item { display: grid; grid-template-columns: clamp(130px, 16vw, 245px) 1px minmax(0, 1fr); gap: 1.5rem; padding-block: 2.1rem; position: relative; }
.timeline-date { color: var(--muted); font-size: .73rem; line-height: 1.4; }
.timeline-dot { width: 9px; height: 9px; align-self: start; justify-self: center; margin-top: .25rem; border: 2px solid var(--muted); border-radius: 50%; background: var(--ink); z-index: 1; }
.timeline-current .timeline-dot { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 6px rgba(248, 189, 98, .1); }
.timeline-copy { padding-left: clamp(1rem, 3vw, 3rem); }
.timeline-org { margin-bottom: .62rem; color: var(--azure-soft); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.timeline-copy h3 { margin-bottom: .45rem; font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1; }
.timeline-copy > p:last-child { max-width: 540px; margin: 0; color: var(--muted); font-size: .92rem; }
.journey-projects { display: grid; grid-template-columns: minmax(130px, 245px) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.7rem; }
.journey-projects .section-kicker { margin: 0; font-size: .68rem; }
.journey-projects p { max-width: 730px; margin: 0; color: var(--muted-light); font-size: .88rem; }

.about-section { border-top: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 9vw, 11rem); }
.about-copy { max-width: 640px; padding-top: .3rem; }
.about-copy p { color: var(--muted-light); font-size: 1rem; }
.about-copy .about-lede { color: var(--paper); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; letter-spacing: -.03em; }
.education-block { display: grid; gap: .45rem; margin-top: 3.4rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.education-block span { color: var(--azure-soft); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.education-block strong { font-size: .9rem; font-weight: 550; }
.education-block p { margin: 0; color: var(--muted); font-size: .82rem; }

.certifications-section { background: var(--ink-soft); border-block: 1px solid var(--line); }
.cert-layout { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 9vw, 10rem); }
.cert-list { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cert-list li { min-height: 102px; display: grid; grid-template-columns: 36px 1fr; align-content: center; gap: .55rem; border-bottom: 1px solid var(--line); padding: 1rem 1rem 1rem 0; }
.cert-list li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 1.35rem; }
.cert-list li:nth-child(even) { padding-left: 1.35rem; }
.cert-list span { color: var(--amber); font-size: .68rem; }
.cert-list strong { color: var(--muted-light); font-size: .83rem; font-weight: 500; line-height: 1.35; }

.contact-section { min-height: 650px; display: grid; align-items: center; background: radial-gradient(circle at 76% 43%, rgba(70, 166, 255, .14), transparent 32%), var(--ink); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); gap: clamp(3rem, 10vw, 12rem); align-items: end; }
.contact-copy > p:last-child { max-width: 360px; color: var(--muted); }
.contact-links { border-top: 1px solid var(--line); }
.contact-link { min-height: 90px; display: grid; grid-template-columns: 90px minmax(0, 1fr) 20px; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); color: var(--muted); text-decoration: none; transition: color .2s ease, padding .2s ease; }
.contact-link span:first-child { color: var(--azure-soft); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-link strong { color: var(--paper); font-size: clamp(.86rem, 1.5vw, 1rem); font-weight: 500; overflow-wrap: anywhere; }
.contact-link > span:last-child { color: var(--amber); font-size: 1.1rem; }
.contact-link:hover { color: var(--azure-soft); padding-inline: .45rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.5rem; color: var(--muted); font-size: .7rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.footer-inner a { color: var(--muted-light); text-decoration: none; }
.footer-inner a:hover { color: var(--azure-soft); }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 3rem; }
  .hero-route { width: 100%; }
  .project { grid-template-columns: 80px minmax(0, 1fr) 140px; gap: 1.6rem; }
  .expertise-layout { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 3.5rem; }
  .contact-inner { gap: 4rem; }
}

/* Laptop-height viewports should keep the complete hero usable at 100% zoom. */
@media (min-width: 761px) and (max-height: 820px) {
  .hero { min-height: calc(100vh - 76px); padding-top: clamp(2.4rem, 5vh, 4.5rem); padding-bottom: clamp(2rem, 4vh, 3.5rem); }
  .hero-route { width: min(100%, 520px); }
}

@media (min-width: 761px) and (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-route { justify-self: center; width: min(100%, 520px); margin-top: clamp(3rem, 8vw, 5rem); }
}

@media (max-width: 760px) {
  :root { --gutter: 1.25rem; }
  .site-header { background: rgba(7, 17, 31, .9); }
  .nav-wrap { min-height: 66px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.1rem; border-bottom: 1px solid var(--line); background: rgba(7, 17, 31, .98); box-shadow: 0 14px 28px rgba(1, 8, 18, .3); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid rgba(184, 214, 242, .1); }
  .primary-nav .nav-contact { margin-top: .65rem; padding: .65rem .8rem; text-align: center; border: 1px solid var(--line-strong); }
  .hero { min-height: auto; padding-top: 5rem; padding-bottom: 7rem; }
  .hero-grid { display: block; }
  h1 { font-size: clamp(3.65rem, 17vw, 6.6rem); }
  .hero-route { width: min(100%, 500px); margin: 4rem auto 6rem; aspect-ratio: 1; }
  .hero-route svg { width: 100%; height: 100%; aspect-ratio: auto; }
  .route-stage-list { position: absolute; inset: 0; display: block; margin: 0; pointer-events: none; z-index: 2; }
  .route-stage { min-width: 0; padding: .22rem 0; font-size: .61rem; line-height: 1.2; white-space: nowrap; pointer-events: auto; z-index: 3; }
  .route-stage::after { display: none; }
  .route-stage-connector { display: block; position: absolute; height: 1px; background: var(--line-strong); opacity: .75; pointer-events: none; transform-origin: 0 50%; z-index: 1; }
  .route-stage-list .route-stage { transform: none; }
  .route-stamp { position: absolute; left: 4%; right: auto; bottom: -4.4rem; width: max-content; margin: 0; z-index: 3; }
  .hero-scroll { bottom: 1.5rem; left: var(--gutter); transform: none; }
  .credibility-grid { display: block; }
  .credibility .section-kicker { margin-bottom: 1.35rem; }
  .credibility-items { grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1rem; }
  .credibility-item { min-height: 67px; padding-left: .75rem; }
  .credibility-item strong { font-size: .88rem; }
  .credibility-item span { font-size: .68rem; }
  .section-pad { padding-block: 5.7rem; }
  .project { display: grid; grid-template-columns: 1fr; gap: 1.15rem; }
  .project-rail { flex-direction: row; align-items: center; justify-content: space-between; }
  .project-side-note { grid-row: 3; border-left: 0; border-top: 1px solid var(--line); padding: .9rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem 1.1rem; }
  .project-side-note strong { order: -1; width: 100%; }
  .expertise-layout, .about-layout, .cert-layout, .contact-inner { display: block; }
  .pipeline-wrap { position: relative; top: auto; min-height: 0; margin-top: 4.3rem; }
  .pipeline { min-height: 340px; }
  .timeline { margin-top: 4rem; }
  .timeline::before { left: 91px; }
  .timeline-item { grid-template-columns: 76px 1px minmax(0, 1fr); gap: .85rem; padding-block: 1.7rem; }
  .timeline-date { font-size: .65rem; line-height: 1.35; }
  .timeline-copy { padding-left: .7rem; }
  .timeline-org { font-size: .65rem; }
  .timeline-copy h3 { font-size: 1.8rem; }
  .timeline-copy > p:last-child { font-size: .82rem; }
  .journey-projects { display: block; margin-top: 2rem; }
  .journey-projects .section-kicker { margin-bottom: .7rem; }
  .cert-list { display: block; margin-top: 3rem; }
  .cert-list li, .cert-list li:nth-child(odd), .cert-list li:nth-child(even) { min-height: 78px; grid-template-columns: 32px 1fr; border-right: 0; padding: .8rem 0; }
  .contact-links { margin-top: 3.6rem; }
  .contact-link { min-height: 78px; grid-template-columns: 72px minmax(0, 1fr) 16px; gap: .7rem; }
  .footer-inner { display: grid; gap: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
