:root {
  --paper: #f5f7f8;
  --paper-strong: #ffffff;
  --ink: #071a33;
  --ink-soft: #34445b;
  --copper: #b84524;
  --teal: #177f83;
  --teal-dark: #0f6669;
  --rule: #cbd3d9;
  --rule-dark: rgba(255, 255, 255, 0.28);
  --focus: #b84524;
  --container: 1360px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --radius: 12px;
  --header-height: 76px;
  --font-sans: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  --shadow-header: 0 8px 30px rgba(7, 26, 51, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.24em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, h4, p, ul, ol, dl { margin-top: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 3px;
}
::selection { color: var(--paper-strong); background: var(--teal-dark); }
.container { width: min(100% - (2 * var(--gutter)), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }
[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--rule);
  background: rgba(245, 247, 248, 0.96);
  backdrop-filter: blur(12px);
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); }
.header-inner {
  width: min(100% - (2 * var(--gutter)), var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.brand {
  display: inline-flex;
  min-width: 3rem;
  min-height: 44px;
  align-items: center;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-nav ul { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3.3rem); margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; text-decoration: none; }
.site-nav ul a { position: relative; }
.site-nav ul a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.header-contact { justify-content: center; min-width: 128px; border: 1px solid var(--copper); color: var(--copper); transition: color 160ms ease, background 160ms ease; }
.header-contact:hover { color: white; background: var(--copper); }
.menu-toggle { display: none; }

/* Hero */
.hero { display: grid; align-items: center; padding: clamp(4.75rem, 7vw, 6.25rem) 0 clamp(4rem, 6vw, 5.25rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.hero h1 { margin-bottom: 0.35rem; font-size: clamp(4rem, 6.4vw, 6.1rem); line-height: 0.98; letter-spacing: -0.065em; white-space: nowrap; }
.hero-role { margin-bottom: 1.4rem; color: var(--copper); font-size: clamp(1.5rem, 2.35vw, 2.45rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; }
.hero-summary { max-width: 48rem; margin-bottom: 2.25rem; color: var(--ink-soft); font-size: clamp(1.08rem, 1.45vw, 1.35rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.button {
  display: inline-flex;
  min-height: 58px;
  min-width: 220px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.35rem;
  border: 2px solid var(--ink);
  font-weight: 720;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ink); }
.button-secondary { color: var(--ink); background: transparent; }
.button small { margin-left: auto; color: inherit; font-size: 0.68rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.66; }
.button span[aria-hidden] { font-size: 1.5rem; font-weight: 400; }
.text-links { display: flex; flex-wrap: wrap; gap: 0; margin: 2rem 0 0; padding: 0; list-style: none; }
.text-links li { display: flex; align-items: center; }
.text-links li:not(:last-child)::after { width: 1px; height: 1.8rem; margin-inline: 2rem; content: ""; background: var(--rule); }
.text-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--teal-dark); font-size: 1.05rem; font-weight: 650; }

.systems-map { position: relative; width: 100%; min-height: 430px; }
.map-line { position: absolute; height: 1px; background: var(--ink); opacity: 0.55; }
.map-line::before, .map-line::after { position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; content: ""; background: var(--ink); }
.map-line::before { left: -2px; }
.map-line::after { right: -2px; border: 2px solid var(--copper); background: var(--paper); }
.line-a { top: 36%; left: 5%; width: 82%; }
.line-b { top: 58%; left: 18%; width: 68%; transform: rotate(-10deg); }
.line-c { top: 74%; left: 8%; width: 56%; transform: rotate(7deg); }
.line-d { top: 24%; left: 30%; width: 53%; transform: rotate(14deg); }
.map-node { position: absolute; width: 12px; height: 12px; border: 3px solid var(--paper); border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.node-a { top: 34.7%; left: 46%; }
.node-b { top: 56.5%; left: 64%; background: var(--copper); box-shadow: 0 0 0 1px var(--copper); }
.node-c { top: 72.5%; left: 29%; }
.node-d { top: 22.5%; left: 76%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.map-ring { position: absolute; border: 1px solid var(--rule); border-radius: 50%; }
.ring-a { top: 23%; left: 41%; width: 120px; height: 120px; }
.ring-b { top: 45%; left: 67%; width: 150px; height: 150px; border-color: var(--teal); }
.dot-field { position: absolute; top: 65%; left: 6%; width: 72px; height: 72px; opacity: 0.42; background-image: radial-gradient(var(--ink) 1.3px, transparent 1.3px); background-size: 12px 12px; }

/* Shared sections */
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-rule { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-label { margin-bottom: 0.75rem; color: var(--copper); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.19em; text-transform: uppercase; }
.section h2, .about h2, .education h2, .contact h2 { font-size: clamp(2.35rem, 4.5vw, 4.5rem); line-height: 1.03; letter-spacing: -0.055em; }
.about { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--paper-strong); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); gap: clamp(3rem, 8vw, 8rem); }
.about-grid > * { min-width: 0; }
.about h2 { margin-bottom: 1.25rem; font-size: clamp(2.4rem, 3.8vw, 4rem); }
.about p { max-width: 45rem; margin-bottom: 0; color: var(--ink-soft); font-size: 1.08rem; }
.proof-list { margin: 0; padding: 0; border-left: 1px solid var(--rule); list-style: none; }
.proof-list li { min-height: 94px; display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 1.3rem; padding: 1rem 1.8rem; border-bottom: 1px solid var(--rule); }
.proof-list li:first-child { border-top: 1px solid var(--rule); }
.proof-mark { color: var(--copper); font-size: 1.5rem; font-weight: 600; text-align: center; }
.flow-mark, .people-mark { position: relative; display: inline-block; width: 56px; height: 38px; }
.flow-mark i { position: absolute; width: 12px; height: 12px; border: 2px solid var(--teal); border-radius: 50%; }
.flow-mark i:nth-child(1) { top: 0; left: 22px; }
.flow-mark i:nth-child(2) { bottom: 0; left: 2px; }
.flow-mark i:nth-child(3) { right: 2px; bottom: 0; }
.flow-mark::before, .flow-mark::after { position: absolute; top: 13px; width: 25px; height: 2px; content: ""; background: var(--teal); }
.flow-mark::before { left: 7px; transform: rotate(50deg); }
.flow-mark::after { right: 7px; transform: rotate(-50deg); }
.people-mark i { position: absolute; top: 2px; width: 19px; height: 19px; border: 2px solid var(--ink); border-radius: 50%; }
.people-mark i:first-child { left: 8px; }
.people-mark i:last-child { right: 8px; }
.people-mark::after { position: absolute; bottom: 0; left: 2px; width: 52px; height: 17px; border: 2px solid var(--ink); border-radius: 18px 18px 0 0; border-bottom: 0; content: ""; }

/* Featured projects */
.featured { background: var(--paper); }
.section-intro { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr); gap: 3rem; align-items: end; margin-bottom: 2.5rem; padding-bottom: 2.3rem; border-bottom: 2px solid var(--copper); }
.section-intro h2 { margin: 0; }
.section-intro > p { max-width: 37rem; margin: 0; padding-left: 3rem; border-left: 1px solid var(--rule); color: var(--ink-soft); font-size: 1.2rem; }
.project-case {
  display: grid;
  grid-template-columns: 58px minmax(180px, 0.92fr) minmax(230px, 1.22fr) minmax(340px, 1.65fr) minmax(165px, 0.72fr);
  gap: 0;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.project-case > * { min-width: 0; padding-inline: clamp(1.1rem, 2vw, 2rem); border-left: 1px solid var(--rule); }
.project-case > :first-child { padding-left: 0; border-left: 0; }
.project-number { color: var(--copper); font-size: 1.85rem; font-weight: 650; line-height: 1; }
.project-summary h3 { margin-bottom: 0.65rem; font-size: clamp(1.65rem, 2.25vw, 2.2rem); line-height: 1.08; letter-spacing: -0.035em; }
.project-summary > p:not(.project-status):not(.project-role) { margin-bottom: 1.4rem; color: var(--ink-soft); line-height: 1.55; }
.project-status, .project-role { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.65rem; font-size: 0.84rem; }
.project-status { color: var(--copper); font-weight: 720; }
.project-status span { width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; }
.project-status.production { color: var(--teal-dark); }
.project-role { color: var(--ink-soft); }
.project-role::before { width: 12px; height: 12px; border: 1px solid var(--ink-soft); border-radius: 50% 50% 40% 40%; content: ""; }
.project-case h4 { margin-bottom: 0.65rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.project-highlights ul { margin: 0; padding-left: 1.15rem; }
.project-highlights li { margin-bottom: 0.75rem; padding-left: 0.25rem; color: var(--ink-soft); line-height: 1.5; }
.project-highlights li::marker { color: var(--teal); }
.project-system { display: flex; align-items: center; justify-content: center; gap: clamp(0.35rem, 0.9vw, 0.75rem); }
.flow-sources { display: grid; gap: 0.65rem; color: var(--ink-soft); font-size: 0.74rem; }
.flow-sources span { position: relative; padding-right: 0.65rem; }
.flow-sources span::after { position: absolute; top: 50%; right: -8px; width: 10px; height: 1px; content: ""; background: var(--teal); }
.flow-arrow { color: var(--teal); font-size: 1.3rem; }
.flow-stage { min-width: 76px; padding: 0.8rem 0.45rem; border: 1px solid #9caab6; border-radius: 7px; color: var(--ink); background: var(--paper-strong); font-size: 0.7rem; font-weight: 650; line-height: 1.25; text-align: center; }
.flow-stage small { color: var(--teal-dark); font-size: 0.6rem; font-weight: 650; }
.accent-stage { border-color: var(--teal); }
.database-stage { border-radius: 24px / 10px; }
.project-meta p { margin-bottom: 1.5rem; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.55; }
.arrow-link { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 0.7rem; border-bottom: 1px solid var(--rule); color: var(--copper); font-weight: 650; text-decoration: none; }
.arrow-link + .arrow-link { margin-top: 0.3rem; }

/* Capabilities and experience */
.capabilities { padding-bottom: 5.5rem; background: var(--paper-strong); }
.capabilities h2 { margin-bottom: 2rem; }
.capability-list { margin: 0; border-top: 2px solid var(--copper); }
.capability-list > div { display: grid; grid-template-columns: minmax(230px, 0.7fr) minmax(0, 2.3fr); border-bottom: 1px solid var(--rule); }
.capability-list dt, .capability-list dd { margin: 0; padding: 0.9rem 0; }
.capability-list dt { position: relative; padding-right: 2rem; font-size: 1.1rem; font-weight: 750; }
.capability-list dt::after { position: absolute; top: 25%; right: 0; width: 1px; height: 50%; content: ""; background: var(--copper); }
.capability-list dd { padding-left: 2.8rem; color: var(--ink-soft); font-size: 1.05rem; }
.capability-bridge { max-width: 58rem; margin: 2.2rem 0 0; padding-left: 1.5rem; border-left: 5px solid var(--teal); color: var(--ink-soft); font-size: 1.1rem; }
.experience { color: #f7f9fb; background: var(--ink); }
.experience .section-label { color: #f27850; }
.experience h2 { margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--copper); }
.experience-list { margin: 0; padding: 0; list-style: none; }
.experience-list li { display: grid; grid-template-columns: 74px minmax(250px, 0.85fr) minmax(0, 1.65fr); gap: 2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--rule-dark); }
.experience-number { color: #f27850; font-size: 1.8rem; font-weight: 650; }
.experience-heading { padding-right: 2rem; border-right: 1px solid var(--copper); }
.experience-heading h3 { margin-bottom: 0.15rem; font-size: 1.45rem; }
.experience-heading p { margin-bottom: 0.35rem; color: #53b7ba; font-size: 0.77rem; font-weight: 750; letter-spacing: 0.1em; line-height: 1.45; text-transform: uppercase; }
.experience-heading time, .experience-heading { color: #d3dbe4; }
.experience-list > li > p, .experience-copy > p { margin: 0; color: #ecf0f4; font-size: 1.02rem; line-height: 1.55; }
.experience-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; margin-top: 0.75rem; }

/* Journey, education, contact */
.journey { padding-bottom: 3.5rem; background: var(--paper-strong); }
.journey h2 { margin-bottom: 0.7rem; }
.journey h2 span, .contact h2 span { color: var(--copper); }
.journey-intro { max-width: 44rem; margin-bottom: 1.8rem; color: var(--ink-soft); font-size: 1.08rem; }
.journey-list { margin: 0; padding: 0; border-top: 1px solid var(--rule); list-style: none; }
.journey-list li { display: grid; grid-template-columns: 58px minmax(250px, 1.3fr) minmax(220px, 1fr) minmax(240px, 0.8fr); align-items: center; gap: 1.5rem; min-height: 116px; border-bottom: 1px solid var(--rule); }
.journey-number { color: var(--copper); font-size: 1.25rem; font-weight: 650; }
.journey-list h3 { margin-bottom: 0.15rem; font-size: 1.3rem; }
.journey-list p { margin-bottom: 0; color: var(--ink-soft); }
.journey-stack { padding-left: 2rem; border-left: 1px solid var(--rule); color: var(--teal-dark) !important; }
.journey-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.3rem; padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.journey-links a { color: var(--copper); font-weight: 650; }
.education { padding: 2rem 0 3.5rem; background: var(--paper-strong); }
.education .section-label { margin-bottom: 0.4rem; }
.education-row { display: grid; grid-template-columns: minmax(260px, 0.85fr) minmax(180px, 0.5fr) minmax(0, 1.55fr); align-items: start; gap: 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.education-row > * + * { padding-left: 2rem; border-left: 1px solid var(--rule); }
.education-row h3 { margin-bottom: 0.05rem; font-size: 1.15rem; }
.education-row p { margin: 0; color: var(--ink-soft); }
.education-row > p:nth-child(2) { color: var(--teal-dark); }
.contact { padding: clamp(4.5rem, 8vw, 7rem) 0; color: #f7f9fb; background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: 3rem 5rem; align-items: end; }
.contact .section-label { color: #f27850; }
.contact h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5rem); }
.contact-grid > p { margin: 0; padding-left: 3rem; border-left: 1px solid rgba(255, 255, 255, 0.6); color: #e3e9ef; font-size: 1.1rem; }
.contact-links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.contact-links a { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.7); font-size: 1.05rem; font-weight: 600; text-decoration: none; }
.contact-links a span { color: #f27850; font-size: 1.5rem; }
.contact-links small { margin-left: auto; color: #bbc6d0; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer { padding: 1.8rem 0; border-top: 1px solid var(--rule); background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: auto auto 1fr; gap: 2rem; align-items: center; }
.footer-inner span:nth-child(2) { padding-left: 2rem; border-left: 1px solid var(--rule); color: var(--ink-soft); }
.footer-inner span:last-child { justify-self: end; color: var(--ink-soft); font-size: 0.9rem; }

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr); }
  .project-case { grid-template-columns: 54px minmax(185px, 0.8fr) minmax(250px, 1.2fr) minmax(300px, 1.5fr); }
  .project-meta { grid-column: 2 / -1; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
  .project-meta p { margin: 0; }
  .arrow-link { min-width: 110px; }
  .journey-list li { grid-template-columns: 48px minmax(240px, 1.2fr) minmax(200px, 0.85fr) minmax(210px, 0.8fr); }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; }
  .site-header { height: var(--header-height); }
  .header-inner { justify-content: space-between; }
  .menu-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.45rem 0.7rem; border: 1px solid var(--ink); color: var(--ink); background: transparent; font-weight: 700; cursor: pointer; }
  .menu-icon { width: 24px; display: grid; gap: 5px; }
  .menu-icon span { display: block; height: 2px; background: currentColor; transition: transform 160ms ease, opacity 160ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: var(--header-height) 0 auto; display: none; padding: 1.2rem var(--gutter) 2rem; border-bottom: 1px solid var(--rule); background: var(--paper); box-shadow: var(--shadow-header); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; gap: 0; }
  .site-nav ul a { width: 100%; min-height: 52px; border-bottom: 1px solid var(--rule); }
  .header-contact { width: 100%; min-height: 52px !important; margin-top: 1rem; }
  .hero { min-height: auto; padding: 4.5rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .systems-map { min-height: 130px; order: 2; }
  .ring-a, .ring-b, .dot-field { display: none; }
  .line-a { top: 28%; left: 0; width: 93%; }
  .line-b { top: 58%; left: 8%; width: 77%; }
  .line-c { top: 82%; left: 1%; width: 50%; }
  .line-d { display: none; }
  .node-a { top: 24.5%; left: 45%; }
  .node-b { top: 54.5%; left: 70%; }
  .node-c { top: 78.5%; left: 25%; }
  .node-d { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .proof-list { border-left: 0; }
  .section-intro { grid-template-columns: 1fr; gap: 1rem; }
  .section-intro > p { padding: 0; border: 0; }
  .project-case { grid-template-columns: 54px 1fr 1fr; }
  .project-summary { grid-column: 2 / -1; }
  .project-highlights { grid-column: 2 / -1; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
  .project-system { grid-column: 2 / -1; min-height: 145px; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
  .project-meta { grid-column: 2 / -1; grid-template-columns: auto 1fr auto; }
  .project-meta .arrow-link + .arrow-link { grid-column: 3; }
  .experience-list li { grid-template-columns: 54px 1fr; }
  .experience-heading { padding-right: 0; border-right: 0; }
  .experience-list > li > p, .experience-copy { grid-column: 2; }
  .journey-list li { grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.25rem 0; }
  .journey-stack, .journey-links { grid-column: 2; padding-left: 0; border-left: 0; }
  .journey-links { justify-content: flex-start; }
  .education-row { grid-template-columns: 1fr 1fr; }
  .education-row > p:last-child { grid-column: 1 / -1; padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid > p { padding-left: 0; border-left: 0; }
  .contact-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-inner span:last-child { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 600px) {
  :root { --gutter: 1.05rem; }
  .brand { font-size: 1.75rem; }
  .menu-toggle { padding-inline: 0.6rem; }
  .hero { padding: 3.4rem 0 2.8rem; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 3.85rem); line-height: 0.98; white-space: normal; }
  .hero-role { font-size: clamp(1.35rem, 7vw, 1.8rem); }
  .hero-summary { font-size: 1.02rem; line-height: 1.6; }
  .hero-actions { display: grid; }
  .button { width: 100%; min-width: 0; min-height: 64px; }
  .text-links { display: grid; grid-template-columns: repeat(3, 1fr); }
  .text-links li { justify-content: center; }
  .text-links li:not(:last-child)::after { display: none; }
  .text-links a { justify-content: center; }
  .systems-map { min-height: 105px; }
  .section, .about, .contact { padding: 4.25rem 0; }
  .section h2, .about h2, .contact h2 { font-size: clamp(2.25rem, 12vw, 3rem); }
  .proof-list li { grid-template-columns: 48px minmax(0, 1fr); gap: 0.7rem; min-height: 82px; padding-inline: 0.25rem; }
  .proof-list strong { overflow-wrap: anywhere; }
  .section-intro { margin-bottom: 1rem; padding-bottom: 1.5rem; }
  .section-intro > p { font-size: 1rem; }
  .project-case { grid-template-columns: 48px 1fr; padding: 2.2rem 0; }
  .project-number { padding-left: 0; font-size: 1.5rem; }
  .project-summary, .project-highlights, .project-system, .project-meta { grid-column: 2; padding-right: 0; padding-left: 1rem; }
  .project-summary { border-left: 1px solid var(--rule); }
  .project-summary h3 { font-size: 1.85rem; }
  .project-system { overflow: hidden; align-items: stretch; flex-direction: column; gap: 0.45rem; min-height: auto; }
  .flow-sources { grid-template-columns: repeat(3, 1fr); gap: 0.25rem; text-align: center; }
  .flow-sources span { padding: 0.4rem 0.25rem; border: 1px solid var(--rule); }
  .flow-sources span::after { display: none; }
  .flow-arrow { align-self: center; transform: rotate(90deg); }
  .flow-stage { width: 100%; min-height: 54px; display: grid; place-items: center; }
  .project-meta { display: block; }
  .project-meta h4 { margin-top: 1rem; }
  .project-meta .arrow-link { width: 100%; min-height: 50px; }
  .capability-list > div { grid-template-columns: 1fr; padding: 0.8rem 0; }
  .capability-list dt, .capability-list dd { padding: 0; }
  .capability-list dt::after { display: none; }
  .capability-list dd { margin-top: 0.3rem; font-size: 0.97rem; }
  .capability-bridge { font-size: 1rem; }
  .experience h2 { font-size: 2.35rem; }
  .experience-list li { grid-template-columns: 42px 1fr; gap: 0.8rem; }
  .experience-number { font-size: 1.4rem; }
  .experience-heading h3 { font-size: 1.3rem; }
  .experience-list > li > p { font-size: 0.98rem; }
  .journey-list li { grid-template-columns: 38px 1fr; }
  .education-row { grid-template-columns: 1fr; gap: 0.7rem; }
  .education-row > * + * { padding-left: 0; border-left: 0; }
  .education-row > p:last-child { grid-column: auto; }
  .contact-links { grid-template-columns: 1fr; gap: 0.8rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 0.5rem; }
  .footer-inner span:nth-child(2) { padding-left: 0; border-left: 0; }
  .footer-inner span:last-child { grid-column: auto; }
}

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

@media print {
  .site-header, .systems-map, .menu-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  .hero { min-height: 0; }
  .experience, .contact { color: #000; background: #fff; }
  a { color: #000; }
}
