@font-face {
  font-family: "Anuphan";
  src: url("/assets/fonts/anuphan-en-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+2190-21FF;
}

@font-face {
  font-family: "Anuphan";
  src: url("/assets/fonts/anuphan-thai-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0E00-0E7F;
}

@font-face {
  font-family: "Anuphan";
  src: url("/assets/fonts/anuphan-en-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+2190-21FF;
}

@font-face {
  font-family: "Anuphan";
  src: url("/assets/fonts/anuphan-thai-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0E00-0E7F;
}

@font-face {
  font-family: "Anuphan";
  src: url("/assets/fonts/anuphan-en-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F, U+2190-21FF;
}

@font-face {
  font-family: "Anuphan";
  src: url("/assets/fonts/anuphan-thai-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0E00-0E7F;
}

@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/plex-mono-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --abyss: #061116;
  --abyss-deep: #03090c;
  --basalt: #18272b;
  --basalt-light: #22363b;
  --mist: #aec2c8;
  --mist-soft: #8da3a8;
  --fog: #dce8e9;
  --white: #f3f7f5;
  --aqua: #2de0c3;
  --aqua-dim: #159983;
  --ember: #c99a5e;
  --ember-soft: #8b6942;
  --line: rgba(174, 194, 200, 0.16);
  --line-bright: rgba(174, 194, 200, 0.29);
  --glass: rgba(7, 20, 25, 0.72);
  --font-sans: "Anuphan", "Segoe UI", sans-serif;
  --font-mono: "Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shell: min(91vw, 1440px);
  --header-height: 88px;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --ease-spring: cubic-bezier(0.18, 0.89, 0.28, 1.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--abyss-deep);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 5%, rgba(45, 224, 195, 0.055), transparent 24rem),
    linear-gradient(180deg, var(--abyss-deep), var(--abyss) 12%, #08171b 58%, var(--abyss-deep));
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--abyss);
  background: var(--aqua);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
  color: var(--white);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.038em;
}

h1 em,
h2 em,
h3 em {
  color: var(--aqua);
  font-style: normal;
  font-weight: 400;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.4rem, 1.9vw, 2.1rem);
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 5px;
}

.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: 12px 18px;
  color: var(--abyss);
  background: var(--aqua);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-shell {
  position: relative;
  padding-block: clamp(5.5rem, 8.5vw, 9rem);
}

.site-atmosphere {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere-glow {
  position: absolute;
  width: 42vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.09;
  will-change: transform;
}

.atmosphere-glow-a {
  top: 20%;
  right: -21vw;
  background: var(--aqua);
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.atmosphere-glow-b {
  bottom: 4%;
  left: -26vw;
  background: var(--ember);
  animation: atmosphere-drift 23s ease-in-out infinite alternate-reverse;
}

.atmosphere-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(174, 194, 200, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 194, 200, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

@keyframes atmosphere-drift {
  to { transform: translate3d(8vw, -6vh, 0) scale(1.16); }
}

.scroll-meter {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-meter span {
  display: block;
  width: var(--scroll-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--aqua-dim), var(--aqua), var(--ember));
  box-shadow: 0 0 16px rgba(45, 224, 195, 0.62);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding-inline: 4.5vw;
  border-bottom: 1px solid transparent;
  transition: height 300ms var(--ease), background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled,
body:not([data-page="home"]) .site-header {
  height: 74px;
  border-color: var(--line);
  background: rgba(3, 10, 13, 0.82);
  backdrop-filter: blur(20px) saturate(125%);
}

.brand {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 27px auto;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-rule {
  display: block;
  height: 2px;
  background: var(--aqua);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.brand:hover .brand-rule {
  transform: scaleX(1.45);
}

.brand-field {
  color: var(--mist-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.045em;
  line-height: 1.15;
  text-transform: uppercase;
}

.site-nav,
.nav-links,
.nav-tools {
  display: flex;
  align-items: center;
}

.site-nav {
  gap: clamp(1.25rem, 2.8vw, 3.4rem);
}

.nav-links {
  gap: clamp(1.05rem, 2.15vw, 2.65rem);
}

.nav-tools {
  gap: 12px;
}

.nav-link {
  position: relative;
  color: #bdd0d3;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mist-soft);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.motion-toggle:hover {
  color: var(--white);
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.045);
}

.motion-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 10px var(--aqua);
}

.motion-toggle[aria-pressed="true"] .motion-dot {
  background: var(--mist-soft);
  box-shadow: none;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(45, 224, 195, 0.38);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  transition: color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.nav-contact:hover {
  color: var(--abyss);
  background: var(--aqua);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(6, 17, 22, 0.72);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 220ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px rgba(45, 224, 195, 0.6);
}

.mono-note {
  color: var(--mist-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.065em;
  line-height: 1.5;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: transform 250ms var(--ease), box-shadow 250ms ease, color 250ms ease, background 250ms ease, border-color 250ms ease;
}

.button span {
  font-family: var(--font-mono);
  font-variant-emoji: text;
  transition: transform 250ms var(--ease);
}

.button:hover span {
  transform: translate(3px, -2px);
}

.button-primary {
  color: var(--abyss);
  background: var(--aqua);
  box-shadow: 0 14px 38px rgba(45, 224, 195, 0.14);
}

.button-primary:hover {
  background: #5aefd8;
  box-shadow: 0 18px 50px rgba(45, 224, 195, 0.25);
}

.button-ghost {
  border-color: var(--line-bright);
  color: var(--white);
  background: rgba(3, 11, 14, 0.3);
}

.button-ghost:hover {
  border-color: rgba(45, 224, 195, 0.52);
  background: rgba(45, 224, 195, 0.07);
}

.button-light {
  color: var(--abyss);
  background: var(--white);
}

.button-light:hover { background: var(--aqua); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
}

.text-link span { color: var(--aqua); font-family: var(--font-mono); font-variant-emoji: text; transition: transform 220ms var(--ease); }
.text-link:hover span { transform: translate(4px, -3px); }

.nav-contact span,
.work-card-arrow,
.case-arrow,
.next-arrow,
.feature-arrow,
.vault-card-arrow,
.contact-direct a span,
.site-footer a span {
  font-family: var(--font-mono);
  font-variant-emoji: text;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 480ms var(--ease), transform 560ms var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 55ms);
}

.reveal[data-delay="1"] { --reveal-delay: 1; }
.reveal[data-delay="2"] { --reveal-delay: 2; }
.reveal[data-delay="3"] { --reveal-delay: 3; }
.reveal[data-delay="4"] { --reveal-delay: 4; }
.reveal[data-delay="5"] { --reveal-delay: 5; }
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.no-js .reveal { opacity: 1; transform: none; }

/* Home hero */
.hero {
  position: relative;
  min-height: clamp(700px, 90svh, 900px);
  overflow: hidden;
}

.hero-media,
.hero-wash,
.hero-noise {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(0.72) saturate(0.82) contrast(1.08);
  transform: scale(1.04) translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -8px), 0);
  transition: transform 1.2s var(--ease);
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(2, 8, 11, 0.94) 0%, rgba(3, 11, 14, 0.78) 39%, rgba(3, 11, 14, 0.3) 67%, rgba(3, 11, 14, 0.68) 100%),
    linear-gradient(180deg, rgba(2, 8, 11, 0.47) 0%, rgba(2, 8, 11, 0.14) 46%, var(--abyss-deep) 100%);
}

.hero-noise,
.closing-media::after {
  opacity: 0.18;
  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='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-river {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.8;
  pointer-events: none;
}

.hero-river svg { width: 100%; height: 100%; overflow: visible; }
.hero-river path { fill: none; }
.river-wide { stroke: rgba(45, 224, 195, 0.08); stroke-width: 28; filter: blur(12px); }
.river-signal {
  stroke: url("#none");
  stroke: rgba(45, 224, 195, 0.66);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 3 18 70 32;
  filter: drop-shadow(0 0 9px rgba(45, 224, 195, 0.65));
  animation: river-current 15s linear infinite;
}

@keyframes river-current { to { stroke-dashoffset: -246; } }

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 5vw;
  min-height: clamp(700px, 90svh, 900px);
  padding-top: calc(var(--header-height) + 5vh);
  padding-bottom: clamp(4rem, 7vh, 6rem);
}

.hero-copy { max-width: 980px; }
.hero-eyebrow { margin-bottom: clamp(1.6rem, 3vh, 2.5rem); }

.hero-title {
  margin-bottom: clamp(2rem, 4vh, 3.2rem);
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.title-line { display: block; }
.title-accent { color: var(--aqua); font-weight: 400; }

.hero-lower {
  display: grid;
  grid-template-columns: minmax(300px, 650px) auto;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}

.hero-lower > p {
  margin-bottom: 0;
  color: #c1d1d2;
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  line-height: 1.58;
}

.hero-profile {
  align-self: center;
  display: grid;
  grid-template-columns: 76px 1fr;
  grid-template-rows: repeat(3, auto);
  align-content: center;
  gap: 5px 16px;
  padding: 14px;
  border: 1px solid var(--line-bright);
  border-radius: 14px;
  color: var(--mist-soft);
  font-size: 0.82rem;
  background: rgba(3, 11, 14, 0.62);
  backdrop-filter: blur(14px);
}

.hero-profile img {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 76px;
  height: 95px;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 10px;
  filter: saturate(0.86) contrast(1.03);
}

.hero-profile strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

.hero-profile-status {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--mist-soft);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.025em;
}

.hero-profile-status b { color: #cfe0e1; font-weight: 600; }
.hero-profile-status > span { text-align: right; }

.coordinate-index {
  margin-bottom: 2px;
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: 4.5vw;
  bottom: 3.1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--mist-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.hero-scroll i {
  position: relative;
  display: block;
  width: 62px;
  height: 1px;
  overflow: hidden;
  background: rgba(174, 194, 200, 0.32);
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--aqua);
  transform: translateX(-100%);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse { 55%, 100% { transform: translateX(100%); } }

.proof-strip {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 17, 22, 0.8);
  backdrop-filter: blur(16px);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  display: grid;
  align-content: center;
  min-height: 180px;
  padding: 2rem clamp(1.4rem, 2.6vw, 2.5rem);
  border-left: 1px solid var(--line);
}

.proof-item:last-child { border-right: 1px solid var(--line); }

.proof-item strong {
  color: var(--white);
  font-size: clamp(2.1rem, 3.2vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
}

.proof-item span {
  max-width: 240px;
  margin-top: 12px;
  color: var(--mist-soft);
  font-size: 0.74rem;
  line-height: 1.5;
}

.section-heading {
  max-width: 1050px;
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.section-heading h2 { margin-bottom: 2rem; }
.section-heading > p:last-child { max-width: 590px; margin-left: auto; font-size: 1.08rem; }

.section-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-kicker-row .eyebrow { margin-bottom: 0; }

.work-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 39, 43, 0.23), rgba(6, 17, 22, 0));
}

.work-stack { display: grid; gap: 14px; }

.work-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 175px minmax(300px, 1fr) 185px 42px;
  align-items: center;
  gap: clamp(1rem, 3.5vw, 4rem);
  min-height: 225px;
  padding: clamp(2rem, 3.2vw, 3.4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(500px circle at var(--spot-x) var(--spot-y), rgba(45, 224, 195, 0.09), transparent 45%),
    rgba(12, 27, 31, 0.72);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: border-color 350ms ease, transform 450ms var(--ease), box-shadow 450ms ease, background 350ms ease;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(45, 224, 195, 0.42);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 350ms ease, transform 450ms var(--ease);
}

.work-card:hover {
  z-index: 2;
  border-color: rgba(45, 224, 195, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.work-card:hover::before { opacity: 1; transform: scale(1); }

.work-card-index {
  display: grid;
  gap: 28px;
  color: var(--mist-soft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.work-card-index span:first-child { color: var(--aqua); font-size: 0.75rem; }
.work-card-main h3 { margin: 0 0 1.2rem; }
.work-card-main p { max-width: 670px; margin: 0; color: var(--mist-soft); }
.work-card-outcome { display: grid; gap: 8px; }
.work-card-outcome strong { color: var(--white); font-size: clamp(2rem, 3vw, 3.4rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.work-card-outcome span { max-width: 150px; color: var(--mist-soft); font-size: 0.69rem; line-height: 1.4; }
.work-card-arrow,
.case-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-bright); border-radius: 50%; color: var(--aqua); transition: transform 350ms var(--ease), color 250ms ease, background 250ms ease; }
.work-card:hover .work-card-arrow,
.case-card:hover .case-arrow,
.writing-feature:hover .case-arrow { color: var(--abyss); background: var(--aqua); transform: rotate(45deg); }

.throughline-section {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #071318;
}

.throughline-terrain { position: absolute; inset: 0; overflow: hidden; opacity: 0.5; }
.throughline-terrain span { position: absolute; right: -5%; bottom: -2px; width: 110%; height: 45%; transform-origin: bottom; }
.throughline-terrain span:nth-child(1) { background: #0e2024; clip-path: polygon(0 100%, 0 72%, 12% 52%, 25% 77%, 38% 31%, 54% 66%, 65% 38%, 78% 72%, 91% 25%, 100% 52%, 100% 100%); }
.throughline-terrain span:nth-child(2) { bottom: -4%; background: #0b191d; clip-path: polygon(0 100%, 0 68%, 17% 32%, 31% 62%, 48% 42%, 60% 71%, 76% 35%, 87% 62%, 100% 34%, 100% 100%); }
.throughline-terrain span:nth-child(3) { right: 18%; bottom: 8%; width: 50%; height: 24%; border-top: 1px solid rgba(45, 224, 195, 0.18); border-radius: 50%; background: transparent; transform: rotate(-8deg); filter: blur(0.3px); }

.section-heading-split { position: relative; display: grid; grid-template-columns: 1fr minmax(280px, 440px); align-items: end; gap: 5vw; max-width: none; }
.section-heading-split h2 { margin-bottom: 0; }
.section-heading-split > p:last-child { margin: 0 0 0.7rem; }

.timeline { position: relative; max-width: 1050px; margin-left: auto; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 208px; width: 1px; background: linear-gradient(var(--aqua), var(--line), var(--ember)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 210px 1fr; gap: 5rem; min-height: 190px; padding: 1.2rem 0 3.25rem; }
.timeline-item::before { content: ""; position: absolute; top: 2rem; left: 203px; width: 11px; height: 11px; border: 2px solid var(--abyss); border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 5px rgba(45, 224, 195, 0.1), 0 0 18px rgba(45, 224, 195, 0.6); }
.timeline-year { padding-top: 0.1rem; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.055em; }
.timeline-item h3 { margin-bottom: 1rem; font-size: clamp(1.55rem, 2.2vw, 2.5rem); }
.timeline-item p { max-width: 630px; color: var(--mist-soft); }

.thinking-section { border-top: 1px solid var(--line); }
.insight-feature {
  --spot-x: 50%; --spot-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 4rem;
  min-height: 410px;
  padding: clamp(2.5rem, 4.5vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background:
    radial-gradient(600px circle at var(--spot-x) var(--spot-y), rgba(45, 224, 195, 0.11), transparent 45%),
    linear-gradient(135deg, #10262b, #071519 68%);
  transition: transform 450ms var(--ease), border-color 300ms ease, box-shadow 450ms ease;
}
.insight-feature::before { content: ""; position: absolute; right: -11%; bottom: -40%; width: 53%; aspect-ratio: 1; border: 1px solid rgba(45, 224, 195, 0.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(45, 224, 195, 0.016), 0 0 0 110px rgba(45, 224, 195, 0.01); }
.insight-feature:hover { border-color: rgba(45, 224, 195, 0.42); transform: translateY(-7px); box-shadow: var(--shadow); }
.insight-feature h2 { max-width: 900px; margin: 1.7rem 0; font-size: clamp(2.3rem, 4vw, 4rem); }
.insight-feature > div:first-child p:last-child { max-width: 690px; color: var(--mist-soft); }
.insight-meta { display: grid; align-content: end; gap: 10px; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; }
.feature-arrow { position: absolute; right: clamp(2.5rem, 4.5vw, 5rem); top: clamp(2.5rem, 4.5vw, 5rem); color: var(--aqua); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; }

.closing-section { position: relative; min-height: 560px; display: grid; align-items: end; overflow: hidden; }
.closing-media { position: absolute; inset: 0; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.52) saturate(0.85); transform: scale(1.04) rotate(180deg); }
.closing-media::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, var(--abyss-deep), rgba(3, 10, 13, 0.2) 42%, rgba(3, 10, 13, 0.74)); }
.closing-media::after { content: ""; position: absolute; z-index: 2; inset: 0; }
.closing-content { position: relative; z-index: 2; padding-block: 7rem 5rem; }
.closing-content h2 { max-width: 1050px; margin-bottom: 2.4rem; font-size: clamp(2.4rem, 4.2vw, 4.25rem); }
.closing-content > div { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.closing-content > div p { max-width: 600px; margin: 0; color: #c4d2d3; font-size: 1.06rem; }

/* Interior heroes */
.page-hero {
  padding-top: clamp(9rem, 14vw, 12.5rem);
  padding-bottom: clamp(4.5rem, 7vw, 7rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(45, 224, 195, 0.025), transparent 44%, rgba(201, 154, 94, 0.025));
}

.terrain-line { position: absolute; inset: auto -5% 0; height: 56%; opacity: 0.62; overflow: hidden; }
.terrain-line::before,
.terrain-line::after,
.terrain-line span { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 100%; clip-path: polygon(0 100%, 0 86%, 13% 74%, 27% 82%, 41% 53%, 54% 71%, 66% 40%, 78% 69%, 88% 48%, 100% 66%, 100% 100%); }
.terrain-line::before { background: rgba(24, 39, 43, 0.42); transform: translateY(18%); }
.terrain-line::after { border-top: 1px solid rgba(45, 224, 195, 0.11); transform: translateY(30%); }
.terrain-line span { border-top: 1px solid rgba(174, 194, 200, 0.08); transform: translateY(4%) scaleX(-1); }
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.65fr); align-items: end; gap: 8vw; }
.page-hero h1 { max-width: 980px; margin: 0; font-size: clamp(2.8rem, 4.8vw, 4.7rem); }
.page-hero-intro { padding-bottom: 1.1rem; }
.page-hero .lede { color: #c5d3d4; font-size: clamp(1.12rem, 1.75vw, 1.45rem); line-height: 1.55; }
.page-hero .mono-note { margin-top: 2.2rem; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(320px, 0.72fr) 1fr; align-items: start; gap: 9vw; }
.portrait-frame { position: sticky; top: calc(var(--header-height) + 2rem); aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border: 1px solid var(--line-bright); border-radius: var(--radius); background: var(--basalt); box-shadow: var(--shadow); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(3, 10, 13, 0.72)); pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.035) translate3d(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -6px), 0); filter: saturate(0.82) contrast(1.03); transition: transform 1s var(--ease); }
.portrait-frame figcaption { position: absolute; z-index: 2; right: 22px; bottom: 18px; left: 22px; display: flex; justify-content: space-between; color: var(--white); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.prose-large { max-width: 750px; }
.prose-large p { margin-bottom: 2rem; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.72; }
.prose-large .lead-paragraph { color: var(--white); font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.38; letter-spacing: -0.022em; }
.portrait-frame:hover img { filter: saturate(0.94) contrast(1.03); transform: scale(1.055) translate3d(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -6px), 0); }
.principles-section { border-block: 1px solid var(--line); background: rgba(24, 39, 43, 0.16); }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.principle-card { --spot-x: 50%; --spot-y: 50%; min-height: 310px; padding: clamp(2rem, 4.5vw, 5rem); background: radial-gradient(400px circle at var(--spot-x) var(--spot-y), rgba(45, 224, 195, 0.075), transparent 45%), var(--abyss); }
.principle-card > span { color: var(--aqua); font-family: var(--font-mono); font-size: 0.67rem; }
.principle-card h3 { margin: 4rem 0 1.2rem; }
.principle-card p { max-width: 520px; color: var(--mist-soft); }
.story-grid { display: grid; grid-template-columns: 0.68fr 1fr; gap: 10vw; }
.story-sticky { position: sticky; top: calc(var(--header-height) + 4rem); align-self: start; }
.story-sticky h2 { font-size: clamp(2.3rem, 3.8vw, 3.8rem); }
.story-chapters { border-top: 1px solid var(--line); }
.story-chapter { position: relative; padding: 4.5rem 0; border-bottom: 1px solid var(--line); }
.chapter-number { display: block; margin-bottom: 2.5rem; color: var(--aqua); font-family: var(--font-mono); font-size: 0.68rem; }
.story-chapter h3 { max-width: 620px; margin-bottom: 1.5rem; }
.story-chapter > p { max-width: 650px; color: var(--mist-soft); }
.evidence-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 2rem 0 0; padding: 0; list-style: none; }
.evidence-list li,
.case-tags span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #a7b9bc; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.03em; }
.ai-stance-section { overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(135deg, rgba(45, 224, 195, 0.025), rgba(24, 39, 43, 0.14) 55%, rgba(201, 154, 94, 0.025)); }
.ai-stance-grid { display: grid; grid-template-columns: 0.82fr 1fr; gap: 9vw; }
.ai-stance-copy h2 { max-width: 650px; margin: 0; font-size: clamp(2.3rem, 3.8vw, 3.8rem); }
.ai-stance-body { align-self: end; max-width: 760px; }

/* Privacy + content use */
.legal-wrap { padding-bottom: clamp(5rem, 8vw, 9rem); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.55fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-height) + 2rem); }
.legal-nav p { margin-bottom: 1rem; color: var(--white); }
.legal-nav a { display: block; width: fit-content; padding: 0.35rem 0; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.02em; }
.legal-nav a:hover, .legal-nav a:focus-visible { color: var(--aqua); }
.legal-content { max-width: 860px; }
.legal-section { margin-bottom: clamp(3rem, 6vw, 5.5rem); padding: 0 0 clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line); }
.legal-section:last-child { margin-bottom: 0; border-bottom: 0; }
.legal-section > h2 { margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 3.35rem); }
.legal-section h3 { margin: 2.2rem 0 0.75rem; font-size: 1.18rem; letter-spacing: -0.018em; }
.legal-section p, .legal-section li { max-width: 75ch; }
.legal-section ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.legal-section li + li { margin-top: 0.65rem; }
.legal-note { margin-top: 2rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 20, 25, 0.56); }
.legal-note strong { color: var(--white); }
.legal-meta { color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.78rem; }
.legal-content a { color: var(--aqua); text-decoration: underline; text-decoration-color: rgba(45, 224, 195, 0.35); text-underline-offset: 0.2em; }
.ai-stance-body > p { color: #adbec0; }
.ai-stance-body .ai-stance-lede { color: var(--white); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.42; letter-spacing: -0.018em; }
.ai-use-note { margin-top: 2rem; padding: 1.25rem 1.4rem; border-left: 2px solid var(--aqua); color: var(--mist-soft); background: rgba(45, 224, 195, 0.035); font-size: 0.93rem; }
.ai-use-note strong { color: var(--white); }
.future-writing-card { --spot-x: 50%; --spot-y: 50%; display: grid; gap: 1.35rem; margin-top: 3rem; padding: clamp(1.7rem, 3.4vw, 3.2rem); border: 1px solid var(--line-bright); border-radius: var(--radius); background: radial-gradient(420px circle at var(--spot-x) var(--spot-y), rgba(45, 224, 195, 0.09), transparent 46%), rgba(6, 17, 22, 0.58); }
.future-writing-card h3 { max-width: 620px; margin: 0.8rem 0 0; font-size: clamp(1.55rem, 2.2vw, 2.35rem); }
.future-writing-card > p { max-width: 560px; margin: 0; color: var(--mist-soft); }
.future-writing-card .text-link { margin-top: 0.4rem; }
.regional-note-section { border-top: 1px solid var(--line); }
.regional-note { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; padding: clamp(3rem, 6vw, 7rem); border: 1px solid var(--line-bright); border-radius: var(--radius); background: linear-gradient(135deg, rgba(24, 39, 43, 0.68), rgba(6, 17, 22, 0.85)); }
.regional-note h2 { margin: 0; font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.regional-note > div:last-child { align-self: end; }
.regional-note > div:last-child p { color: #adbec0; }
.regional-note .text-link,
.regional-note .button { margin-top: 1.3rem; }

/* Work index and cards */
.work-index { padding-top: clamp(5rem, 9vw, 9rem); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.case-card {
  --spot-x: 50%; --spot-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 45px 1fr 44px;
  gap: 2rem;
  min-height: 430px;
  padding: clamp(2rem, 3.8vw, 4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(500px circle at var(--spot-x) var(--spot-y), rgba(45, 224, 195, 0.09), transparent 45%), rgba(13, 29, 33, 0.7);
  transition: transform 400ms var(--ease), border-color 300ms ease, box-shadow 400ms ease;
}
.case-card-wide { grid-column: 1 / -1; min-height: 350px; }
.case-card:hover { z-index: 2; border-color: rgba(45, 224, 195, 0.42); transform: translateY(-3px); box-shadow: var(--shadow); }
.case-number { color: var(--aqua); font-family: var(--font-mono); font-size: 0.67rem; }
.case-copy { display: flex; flex-direction: column; align-items: flex-start; }
.case-copy h2 { max-width: 920px; margin: auto 0 1.5rem; font-size: clamp(2.2rem, 3.6vw, 3.7rem); }
.case-card:not(.case-card-wide) .case-copy h2 { font-size: clamp(2rem, 2.8vw, 2.9rem); }
.case-copy > p:not(.mono-note) { max-width: 680px; color: var(--mist-soft); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.case-card .case-arrow { align-self: start; }
.evidence-method-section { padding-top: 2rem; }
.evidence-method { display: grid; grid-template-columns: 0.9fr 1fr; gap: 9vw; padding: clamp(3rem, 6vw, 7rem); border: 1px solid var(--line-bright); border-radius: var(--radius); background: rgba(24, 39, 43, 0.34); }
.evidence-method h2 { margin-bottom: 0; font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.method-list { display: grid; }
.method-list p { display: grid; grid-template-columns: 36px 170px 1fr; gap: 14px; margin: 0; padding: 1.7rem 0; border-bottom: 1px solid var(--line); color: var(--mist-soft); }
.method-list p:first-child { border-top: 1px solid var(--line); }
.method-list span { color: var(--aqua); font-family: var(--font-mono); font-size: 0.68rem; }
.method-list strong { color: var(--white); font-weight: 600; }
.next-section { padding-top: 0; }
.next-panel { display: flex; align-items: end; justify-content: space-between; gap: 3rem; padding-top: 6rem; border-top: 1px solid var(--line); }
.next-panel h2 { max-width: 900px; margin-bottom: 0; }

/* Case studies */
.case-hero,
.paper-hero { padding-top: clamp(9rem, 14vw, 12.5rem); padding-bottom: clamp(4.5rem, 7vw, 7rem); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(45, 224, 195, 0.03), transparent 50%, rgba(201, 154, 94, 0.025)); }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(3rem, 5vw, 5rem); color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; }
.back-link span { color: var(--aqua); transition: transform 200ms ease; }
.back-link:hover span { transform: translateX(-4px); }
.case-hero-grid { display: grid; grid-template-columns: 1.18fr 0.65fr; align-items: end; gap: 8vw; }
.case-hero h1 { margin: 0; font-size: clamp(2.8rem, 4.7vw, 4.6rem); }
.case-intro { margin-bottom: 0.7rem; color: #c1d0d2; font-size: clamp(1.15rem, 1.8vw, 1.48rem); line-height: 1.55; }
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(3rem, 5vw, 5rem); border-block: 1px solid var(--line); }
.case-meta div { display: grid; gap: 10px; padding: 1.6rem 2rem; border-right: 1px solid var(--line); }
.case-meta div:first-child { padding-left: 0; }
.case-meta div:last-child { border-right: 0; }
.case-meta span { color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; }
.case-meta strong { color: var(--white); font-size: 0.9rem; font-weight: 600; line-height: 1.4; }
.case-body { display: grid; grid-template-columns: 250px minmax(0, 840px); justify-content: space-between; gap: 7vw; padding-block: clamp(5rem, 8vw, 8rem); }
.case-aside-inner { position: sticky; top: calc(var(--header-height) + 4rem); display: grid; gap: 3px; }
.case-aside .mono-note { margin-bottom: 1.2rem; }
.case-aside a { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 10px 0; color: var(--mist-soft); font-size: 0.72rem; line-height: 1.4; transition: color 180ms ease, transform 180ms ease; }
.case-aside a span { color: var(--aqua); font-family: var(--font-mono); font-size: 0.68rem; }
.case-aside a:hover,
.case-aside a.is-active { color: var(--white); transform: translateX(5px); }
.case-section { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 2rem; padding: 0 0 clamp(4.5rem, 7vw, 7rem); }
.case-section-index { padding-top: 0.8rem; color: var(--aqua); font-family: var(--font-mono); font-size: 0.68rem; }
.case-section h2 { margin-bottom: 1.8rem; font-size: clamp(2.15rem, 3.3vw, 3.35rem); }
.case-section p { color: #aebfc1; font-size: clamp(1.05rem, 1.38vw, 1.22rem); line-height: 1.76; }
.case-section blockquote { margin: 2.5rem 0 0; padding: 2rem 0 2rem 2rem; border-left: 1px solid var(--aqua); color: var(--white); font-size: clamp(1.45rem, 2.1vw, 2.15rem); line-height: 1.35; letter-spacing: -0.02em; }
.process-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 3rem; border: 1px solid var(--line); background: var(--line); }
.process-flow-three { grid-template-columns: repeat(3, 1fr); }
.process-flow > div { min-height: 190px; padding: 1.5rem; background: var(--abyss); }
.process-flow span { color: var(--aqua); font-family: var(--font-mono); font-size: 0.68rem; }
.process-flow strong { display: block; margin: 2.7rem 0 0.5rem; color: var(--white); font-weight: 600; }
.process-flow p { margin: 0; color: var(--mist-soft); font-size: 0.72rem; line-height: 1.5; }
.case-metrics { padding-block: clamp(5rem, 8vw, 8rem); border-block: 1px solid var(--line); background: rgba(24, 39, 43, 0.2); }
.metric-panel { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric-panel article { display: grid; align-content: center; min-height: 225px; padding: 2.25rem; border-right: 1px solid var(--line); background: rgba(6, 17, 22, 0.72); transition: background 220ms ease; }
.metric-panel article:last-child { border-right: 0; }
.metric-panel article:hover { background: rgba(45, 224, 195, 0.045); }
.metric-panel strong { color: var(--white); font-size: clamp(2.25rem, 3.5vw, 3.5rem); font-weight: 400; line-height: 1; letter-spacing: -0.05em; }
.metric-panel span { max-width: 180px; margin-top: 1rem; color: var(--mist-soft); font-size: 0.74rem; line-height: 1.4; }
.disclosure-note { margin: 1.5rem 0 0; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.03em; }
.case-next { border-bottom: 1px solid var(--line); }
.case-next a { position: relative; display: block; padding-block: clamp(5rem, 8vw, 8rem); }
.case-next h2 { max-width: 1050px; margin: 2rem 0 0; transition: color 220ms ease; }
.case-next a:hover h2 { color: var(--aqua); }
.next-arrow { position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 80px; height: 80px; border: 1px solid var(--line-bright); border-radius: 50%; color: var(--aqua); font-size: 1.5rem; transform: translateY(-50%); transition: transform 350ms var(--ease), color 250ms ease, background 250ms ease; }
.case-next a:hover .next-arrow { color: var(--abyss); background: var(--aqua); transform: translateY(-50%) rotate(45deg) scale(1.08); }

/* Writing */
.writing-index { padding-top: clamp(5rem, 9vw, 9rem); }
.writing-feature { --spot-x: 50%; --spot-y: 50%; position: relative; display: grid; grid-template-columns: 60px 1fr 50px; gap: 3rem; min-height: 460px; padding: clamp(2.5rem, 4.2vw, 4.6rem); border: 1px solid var(--line-bright); border-radius: var(--radius); background: radial-gradient(600px circle at var(--spot-x) var(--spot-y), rgba(45, 224, 195, 0.095), transparent 45%), linear-gradient(135deg, rgba(24, 39, 43, 0.82), rgba(6, 17, 22, 0.9)); transition: transform 400ms var(--ease), border-color 300ms ease, box-shadow 400ms ease; }
.writing-feature:hover { transform: translateY(-3px); border-color: rgba(45, 224, 195, 0.4); box-shadow: var(--shadow); }
.writing-number { color: var(--aqua); font-family: var(--font-mono); font-size: 0.68rem; }
.writing-feature > div:nth-child(2) { display: flex; flex-direction: column; align-items: flex-start; }
.writing-feature h2 { max-width: 1000px; margin: auto 0 1.7rem; font-size: clamp(2.35rem, 3.8vw, 3.8rem); }
.writing-feature p:not(.mono-note) { max-width: 670px; color: var(--mist-soft); }
.research-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 4rem; border-block: 1px solid var(--line); background: var(--line); }
.research-themes article { min-height: 270px; padding: 2.5rem; background: var(--abyss); }
.research-themes span { color: var(--aqua); font-family: var(--font-mono); font-size: 0.68rem; }
.research-themes h3 { margin: 3rem 0 1.2rem; font-size: 1.65rem; }
.research-themes p { color: var(--mist-soft); font-size: 0.9rem; }
.vault-invite { padding-top: 0; }
.vault-invite-panel { display: flex; align-items: end; justify-content: space-between; gap: 4rem; padding: clamp(3rem, 6vw, 7rem); border: 1px solid var(--line-bright); border-radius: var(--radius); background: rgba(24, 39, 43, 0.35); }
.vault-invite h2 { margin-bottom: 1.5rem; font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.vault-invite p { max-width: 650px; color: var(--mist-soft); }

/* Paper */
.paper-hero-grid { display: grid; grid-template-columns: 1.3fr minmax(300px, 0.58fr); align-items: end; gap: 8vw; }
.paper-hero h1 { margin: 0; font-size: clamp(2.8rem, 4.7vw, 4.6rem); }
.paper-summary > p { color: #c1d0d2; font-size: clamp(1.14rem, 1.8vw, 1.46rem); line-height: 1.55; }
.paper-summary > .mono-note { margin-top: 1.35rem; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.065em; line-height: 1.5; text-transform: uppercase; }
.paper-summary .button-row { margin-top: 2rem; }
.paper-meta { display: flex; gap: 1px; margin-top: clamp(4rem, 8vw, 8rem); background: var(--line); }
.paper-meta span { flex: 1; padding: 1.6rem 2rem; color: var(--mist-soft); background: var(--abyss); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; }
.paper-meta strong { margin-right: 8px; color: var(--white); font-size: 1rem; font-weight: 600; }
.paper-thesis-grid { display: grid; grid-template-columns: 0.62fr 1fr; gap: 9vw; }
.paper-cycle-section { border-block: 1px solid var(--line); background: rgba(24, 39, 43, 0.17); }
.paper-cycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.paper-cycle article { min-height: 310px; padding: clamp(1.5rem, 2.3vw, 2.4rem); background: var(--abyss); }
.paper-cycle article > span { display: grid; place-items: center; width: 54px; aspect-ratio: 1; border: 1px solid rgba(45, 224, 195, 0.32); border-radius: 50%; color: var(--aqua); font-family: var(--font-mono); font-size: 1rem; }
.paper-cycle h3 { margin: 4.5rem 0 1rem; font-size: 1.65rem; }
.paper-cycle p { color: var(--mist-soft); font-size: 0.84rem; }
.paper-boundary-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8vw; padding: clamp(3rem, 6vw, 7rem); border: 1px solid var(--line-bright); border-radius: var(--radius); background: linear-gradient(135deg, rgba(24, 39, 43, 0.62), rgba(6, 17, 22, 0.82)); }
.paper-boundary h2 { margin-bottom: 0; font-size: clamp(2.25rem, 3.6vw, 3.6rem); }
.paper-boundary-panel > p { color: #aebfc1; }

/* Vault */
.vault-app { padding-top: clamp(5rem, 9vw, 9rem); }
.vault-toolbar { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 12px; padding: 1.5rem; border: 1px solid var(--line-bright); border-radius: var(--radius); background: rgba(24, 39, 43, 0.42); }
.vault-toolbar label { display: block; margin-bottom: 8px; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.vault-search > div { position: relative; }
.vault-search > div span { position: absolute; top: 50%; left: 16px; color: var(--aqua); font-size: 1.15rem; transform: translateY(-50%); }
.vault-toolbar input,
.vault-toolbar select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: rgba(3, 10, 13, 0.7);
  font-size: 0.85rem;
}
.vault-toolbar input { padding: 0 16px 0 46px; }
.vault-toolbar select { padding: 0 38px 0 16px; }
.vault-toolbar input::placeholder { color: #82989d; }
.vault-toolbar option { color: var(--white); background: var(--basalt); }
.vault-status { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 3rem 0 1.5rem; }
.vault-status p { margin: 0; color: var(--mist-soft); }
.vault-status strong { margin-right: 6px; color: var(--white); font-size: 1.5rem; font-weight: 600; }
.vault-status button { padding: 8px 0; border: 0; color: var(--aqua); background: transparent; font-family: var(--font-mono); font-size: 0.63rem; cursor: pointer; }
.vault-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.vault-card { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: clamp(2rem, 3.6vw, 3.7rem); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 27, 31, 0.72); transition: transform 300ms var(--ease), border-color 250ms ease, background 250ms ease; }
.vault-card:hover { z-index: 2; border-color: rgba(45, 224, 195, 0.36); background: rgba(18, 39, 43, 0.82); transform: translateY(-5px); }
.vault-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; }
.vault-card-domain { color: var(--aqua); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.055em; text-transform: uppercase; }
.vault-card-year { color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; }
.vault-card h2 { margin: 0 0 1.4rem; font-size: clamp(1.8rem, 2.6vw, 2.7rem); line-height: 1.08; }
.vault-card > p { color: var(--mist-soft); font-size: 0.9rem; }
.vault-card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 2.5rem; }
.vault-card-meta span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; }
.vault-card-arrow { position: absolute; right: 2rem; bottom: 2rem; color: var(--aqua); transition: transform 250ms var(--ease); }
.vault-card:hover .vault-card-arrow { transform: translate(3px, -3px); }
.vault-empty { grid-column: 1 / -1; padding: 6rem 2rem; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.vault-empty h2 { margin-bottom: 1rem; font-size: 2.4rem; }
.vault-empty p { color: var(--mist-soft); }
.vault-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 3rem; }
.vault-pagination button { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--mist); background: transparent; font-family: var(--font-mono); font-size: 0.62rem; cursor: pointer; }
.vault-pagination button:hover,
.vault-pagination button[aria-current="page"] { color: var(--abyss); border-color: var(--aqua); background: var(--aqua); }
.vault-pagination button:disabled { opacity: 0.35; cursor: default; }
.vault-method { padding-top: 0; }
.vault-method .evidence-method > div:last-child { align-self: end; }
.vault-method .text-link { margin-top: 1.4rem; }
.noscript-note { padding: 2rem; border: 1px solid var(--line); }

/* Resume */
.resume-actions { padding: 3rem 0 0; }
.resume-action-bar { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 2.2rem 0; border-block: 1px solid var(--line); }
.resume-action-bar p { margin: 0; }
.resume-action-bar > div:first-child > p:last-child { color: var(--white); }
.resume-section { padding-top: clamp(6rem, 11vw, 11rem); padding-bottom: 0; }
.resume-section:last-of-type { padding-bottom: clamp(7rem, 13vw, 13rem); }
.resume-layout { display: grid; grid-template-columns: 0.53fr 1fr; gap: 9vw; }
.resume-aside { position: sticky; top: calc(var(--header-height) + 4rem); align-self: start; }
.resume-aside h2 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.resume-context { margin: 0; padding: 1.25rem 0 1.5rem; border-bottom: 1px solid var(--line); color: var(--mist-soft); font-size: 0.88rem; }
.resume-list { border-top: 1px solid var(--line); }
.resume-role { display: grid; grid-template-columns: 150px 1fr; gap: 3rem; padding: 4rem 0; border-bottom: 1px solid var(--line); }
.role-date { padding-top: 0.5rem; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; }
.resume-role h3 { margin: 0.8rem 0 1.6rem; font-size: clamp(1.8rem, 2.8vw, 3rem); }
.role-note { color: var(--ember); font-size: 0.84rem; }
.resume-role ul { margin: 2rem 0 0; padding: 0; list-style: none; }
.resume-role li { position: relative; padding: 0.85rem 0 0.85rem 1.7rem; border-top: 1px solid rgba(174, 194, 200, 0.09); color: #aebfc1; }
.resume-role li::before { content: ""; position: absolute; top: 1.55rem; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 9px rgba(45, 224, 195, 0.5); }
.resume-section-education { padding-top: clamp(6rem, 9vw, 9rem); }
.education-list { border-top: 1px solid var(--line); }
.education-item { display: grid; grid-template-columns: 190px 1fr; gap: 3rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.education-item > span,
.award-grid article > span { color: var(--aqua); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; }
.education-item h3 { margin: 0 0 0.55rem; font-size: clamp(1.5rem, 2.3vw, 2.4rem); }
.education-item p { color: var(--mist-soft); }
.education-item-cert { border-left: 1px solid var(--ember); padding-left: 1.5rem; }
.award-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.award-grid article { min-height: 260px; padding: 2.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 27, 31, 0.58); }
.award-grid article:last-child { grid-column: 1 / -1; }
.award-grid h3 { margin: 5rem 0 0.7rem; font-size: clamp(1.8rem, 2.7vw, 2.8rem); }
.award-grid p { color: var(--mist-soft); }

/* Contact */
.contact-hero { display: grid; align-items: center; min-height: clamp(720px, 88svh, 880px); padding-top: calc(var(--header-height) + 4rem); overflow: hidden; }
.contact-terrain { position: absolute; inset: 0; }
.contact-terrain::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 10, 13, 0.97) 0%, rgba(3, 10, 13, 0.83) 55%, rgba(3, 10, 13, 0.7)), linear-gradient(180deg, rgba(3, 10, 13, 0.35), var(--abyss-deep)); }
.contact-terrain img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.42) saturate(0.75); transform: scale(1.06) scaleX(-1); }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(380px, 0.68fr); gap: 9vw; align-items: center; }
.contact-copy h1 { margin-bottom: 2rem; font-size: clamp(2.8rem, 4.8vw, 4.6rem); }
.contact-copy > p { max-width: 660px; color: #bdcdcf; font-size: 1.1rem; }
.contact-direct { display: grid; align-items: start; gap: 9px; margin-top: 3rem; }
.contact-direct > span { margin-bottom: 7px; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-direct a { width: fit-content; color: var(--white); font-size: 0.92rem; transition: color 180ms ease; }
.contact-direct a:hover { color: var(--aqua); }
.contact-form { padding: clamp(2rem, 4vw, 4rem); border: 1px solid var(--line-bright); border-radius: var(--radius); background: rgba(4, 14, 17, 0.75); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.form-row { margin-bottom: 1.5rem; }
.form-row label { display: block; margin-bottom: 8px; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; }
.form-row input,
.form-row select,
.form-row textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-bright); border-radius: 0; color: var(--white); background: rgba(0, 0, 0, 0.08); outline: 0; transition: border-color 180ms ease, background 180ms ease; }
.form-row input,
.form-row select { height: 52px; padding: 0 10px; }
.form-row textarea { padding: 13px 10px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--aqua); background: rgba(45, 224, 195, 0.025); }
.form-row input::placeholder,
.form-row textarea::placeholder { color: #82989d; }
.form-row option { color: var(--white); background: var(--basalt); }
.contact-form .button { width: 100%; margin-top: 0.5rem; cursor: pointer; }
.form-note { margin: 1rem 0 0; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.5; text-align: center; }

/* 404 */
.error-page { display: grid; align-items: center; min-height: 100svh; padding-top: calc(var(--header-height) + 4rem); }
.error-grid { display: grid; grid-template-columns: 1fr 0.65fr; align-items: center; gap: 8vw; }
.error-grid h1 { margin-bottom: 2rem; font-size: clamp(2.8rem, 4.8vw, 4.5rem); }
.error-grid p { color: var(--mist-soft); }
.error-grid .button { margin-top: 1.5rem; }
.error-orbit { position: relative; aspect-ratio: 1; }
.error-orbit span,
.error-orbit i { position: absolute; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.error-orbit span { width: 85%; aspect-ratio: 1; border: 1px solid var(--line-bright); box-shadow: 0 0 0 50px rgba(45, 224, 195, 0.018); }
.error-orbit i { width: 25%; aspect-ratio: 1; border: 1px solid var(--aqua); box-shadow: 0 0 45px rgba(45, 224, 195, 0.13); }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(6rem, 11vw, 10rem); background: var(--abyss-deep); }
.footer-current { position: absolute; top: 0; left: 0; width: 100%; height: 1px; overflow: hidden; background: var(--line); }
.footer-current span { display: block; width: 26%; height: 100%; background: linear-gradient(90deg, transparent, var(--aqua), transparent); animation: footer-current 6s ease-in-out infinite; }
@keyframes footer-current { from { transform: translateX(-110%); } to { transform: translateX(490%); } }
.footer-grid { display: grid; grid-template-columns: 1fr 0.38fr 0.65fr; gap: 7vw; padding-bottom: 7rem; }
.brand-footer { grid-template-columns: auto 40px; width: fit-content; }
.footer-grid > div:first-child > p { margin-top: 2.5rem; color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.8rem); line-height: 1.14; letter-spacing: -0.03em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid > div:not(:first-child) a { color: #aebfc1; font-size: 0.86rem; transition: color 180ms ease, transform 180ms ease; }
.footer-grid > div:not(:first-child) a:hover { color: var(--aqua); transform: translateX(3px); }
.footer-label { margin-bottom: 1.2rem; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; }
.footer-note { margin-top: 1.3rem; color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.65; }
.footer-base { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.6rem; border-top: 1px solid var(--line); color: var(--mist-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-base .ai-disclosure { max-width: 520px; text-align: right; text-transform: none; }
.footer-base .ai-disclosure strong { color: var(--aqua); font-weight: 600; }
.footer-base .ai-disclosure a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(45, 224, 195, 0.6); text-underline-offset: 3px; }

@media (max-width: 1180px) {
  :root { --header-height: 78px; }
  .site-header { padding-inline: 3vw; }
  .brand-field { display: none; }
  .brand { grid-template-columns: auto 27px; }
  .site-nav { gap: 1.2rem; }
  .nav-links { gap: 1.25rem; }
  .nav-contact { display: none; }
  .hero-content { grid-template-columns: minmax(0, 1fr) 260px; }
  .work-card { grid-template-columns: 120px minmax(280px, 1fr) 160px 42px; }
  .paper-cycle { grid-template-columns: repeat(3, 1fr); }
  .paper-cycle article:nth-child(4), .paper-cycle article:nth-child(5) { min-height: 290px; }
}

@media (max-width: 900px) {
  :root { --shell: min(90vw, 760px); }
  .menu-toggle { position: relative; z-index: 102; display: block; }
  .site-nav { position: fixed; z-index: 101; inset: 0; display: grid; align-content: center; padding: 110px 7vw 60px; visibility: hidden; opacity: 0; background: rgba(3, 10, 13, 0.97); backdrop-filter: blur(20px); transform: translateY(-12px); transition: opacity 250ms ease, visibility 250ms ease, transform 300ms var(--ease); }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-links { display: grid; gap: 0; }
  .nav-link { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1.8rem, 7vw, 3.8rem); font-weight: 400; letter-spacing: -0.035em; text-transform: none; }
  .nav-link::after { display: none; }
  .nav-tools { align-items: flex-start; margin-top: 2rem; }
  .nav-contact { display: inline-flex; }
  .hero-content { grid-template-columns: 1fr; align-content: end; }
  .hero-title { font-size: clamp(3rem, 8vw, 4.8rem); }
  .hero-profile {
    width: min(100%, 360px);
    height: max-content;
    min-height: 0;
    justify-self: start;
    grid-template-rows: repeat(3, max-content);
  }
  .hero-scroll { display: none; }
  .hero-lower { grid-template-columns: 1fr; margin-left: 0; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3), .proof-item:nth-child(4) { border-top: 1px solid var(--line); }
  .proof-item:nth-child(2) { border-right: 1px solid var(--line); }
  .proof-item:last-child { border-right: 1px solid var(--line); }
  .work-card { grid-template-columns: 80px 1fr 120px 42px; padding: 2.4rem; }
  .work-card-main h3 br { display: none; }
  .section-heading-split { grid-template-columns: 1fr; }
  .timeline { margin-left: 0; }
  .insight-feature { grid-template-columns: 1fr; }
  .insight-meta { grid-template-columns: repeat(3, auto); align-content: initial; }
  .closing-content > div { align-items: flex-start; flex-direction: column; }
  .page-hero-grid, .case-hero-grid, .paper-hero-grid { grid-template-columns: 1fr; }
  .page-hero-intro, .case-intro, .paper-summary { max-width: 650px; }
  .about-grid { grid-template-columns: 0.75fr 1fr; gap: 6vw; }
  .ai-stance-grid { grid-template-columns: 1fr; gap: 4rem; }
  .story-grid, .resume-layout { grid-template-columns: 1fr; }
  .story-sticky, .resume-aside { position: static; }
  .story-sticky { margin-bottom: 3rem; }
  .regional-note, .evidence-method, .paper-thesis-grid, .paper-boundary-panel { grid-template-columns: 1fr; }
  .case-card { min-height: 440px; }
  .case-card-wide { min-height: 380px; }
  .method-list p { grid-template-columns: 32px 150px 1fr; }
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .case-meta div:nth-child(2) { border-right: 0; }
  .case-meta div:nth-child(3), .case-meta div:nth-child(4) { border-top: 1px solid var(--line); }
  .case-meta div:nth-child(3) { padding-left: 0; }
  .case-body { grid-template-columns: 180px minmax(0, 1fr); gap: 4vw; }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .metric-panel { grid-template-columns: repeat(2, 1fr); }
  .metric-panel article:nth-child(2) { border-right: 0; }
  .metric-panel article:nth-child(3), .metric-panel article:nth-child(4) { border-top: 1px solid var(--line); }
  .paper-cycle { grid-template-columns: repeat(2, 1fr); }
  .paper-cycle article:last-child { grid-column: 1 / -1; min-height: 260px; }
  .vault-toolbar { grid-template-columns: 1fr 1fr; }
  .vault-search { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; padding-top: 5rem; }
  .contact-copy { max-width: 700px; }
  .contact-form { max-width: 700px; }
  .footer-grid { grid-template-columns: 1fr 0.6fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
  .legal-nav p { width: 100%; margin-bottom: 0.25rem; }
}

@media (max-width: 700px) {
  :root { --shell: min(89vw, 560px); --radius: 14px; }
  body { font-size: 16px; }
  .site-header { padding-inline: 5.5vw; }
  .brand-name { font-size: 0.95rem; }
  .motion-toggle span:last-child { display: none; }
  .section-shell { padding-block: 5.5rem; }
  .hero { min-height: 0; }
  .hero-content { min-height: 0; padding-top: calc(var(--header-height) + 5rem); padding-bottom: 4rem; }
  .hero-title { font-size: clamp(2.8rem, 11.5vw, 4rem); line-height: 0.98; }
  .hero-lower { gap: 1.8rem; }
  .hero-lower .button-row { display: grid; }
  .hero-lower .button { width: 100%; }
  .hero-wash { background: linear-gradient(90deg, rgba(2, 8, 11, 0.9), rgba(3, 11, 14, 0.53)), linear-gradient(180deg, rgba(2, 8, 11, 0.22), rgba(2, 8, 11, 0.35) 44%, var(--abyss-deep)); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { min-height: 175px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .section-heading > p:last-child { margin-left: 0; }
  .section-kicker-row { align-items: flex-start; flex-direction: column; }
  .work-card { grid-template-columns: 1fr 42px; gap: 1.5rem; min-height: 0; padding: 2rem; }
  .work-card-index { grid-column: 1; grid-template-columns: auto 1fr; gap: 1rem; }
  .work-card-main { grid-column: 1 / -1; }
  .work-card-outcome { grid-column: 1; }
  .work-card-arrow { grid-column: 2; grid-row: 1; }
  .work-card:hover { transform: translateY(-4px); }
  .timeline::before { left: 7px; }
  .timeline-item { grid-template-columns: 1fr; gap: 1rem; min-height: 0; padding: 0 0 4.5rem 2.5rem; }
  .timeline-item::before { top: 0.35rem; left: 2px; }
  .timeline-year { order: 2; }
  .timeline-item > div { order: 1; }
  .insight-feature { min-height: 560px; padding: 2rem; }
  .insight-feature h2 { font-size: clamp(2.4rem, 10.5vw, 4rem); }
  .insight-meta { grid-template-columns: 1fr; }
  .feature-arrow { top: 2rem; right: 2rem; }
  .closing-section { min-height: 620px; }
  .closing-content { padding-block: 6rem 3.5rem; }
  .page-hero { padding-top: 10.5rem; }
  .page-hero h1 { font-size: clamp(2.8rem, 11vw, 4rem); }
  .about-grid { grid-template-columns: 1fr; }
  .portrait-frame { position: relative; top: auto; max-width: 460px; }
  .ai-stance-grid { gap: 3rem; }
  .principle-grid, .case-grid, .research-themes, .vault-results { grid-template-columns: 1fr; }
  .principle-card { min-height: 270px; }
  .regional-note { padding: 2rem; }
  .case-card, .case-card-wide { grid-column: auto; grid-template-columns: 34px 1fr 42px; min-height: 460px; padding: 2rem; }
  .case-copy h2, .case-card:not(.case-card-wide) .case-copy h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .evidence-method { padding: 2rem; }
  .method-list p { grid-template-columns: 28px 1fr; }
  .method-list p strong { grid-column: 2; }
  .method-list p { font-size: 0.84rem; }
  .next-panel, .vault-invite-panel, .resume-action-bar { align-items: flex-start; flex-direction: column; }
  .case-hero, .paper-hero { padding-top: 10.5rem; }
  .case-hero h1, .paper-hero h1 { font-size: clamp(2.8rem, 10.8vw, 3.9rem); }
  .case-meta { grid-template-columns: 1fr; }
  .case-meta div { padding: 1.2rem 0; border-right: 0; border-top: 1px solid var(--line); }
  .case-meta div:first-child { border-top: 0; }
  .case-meta div:nth-child(2) { border-top: 1px solid var(--line); }
  .case-body { grid-template-columns: 1fr; }
  .case-aside { display: none; }
  .case-section { grid-template-columns: 36px 1fr; gap: 1rem; }
  .case-section blockquote { padding-left: 1.4rem; }
  .process-flow, .process-flow-three, .metric-panel { grid-template-columns: 1fr; }
  .process-flow > div { min-height: 155px; }
  .metric-panel article { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-panel article:last-child { border-bottom: 0; }
  .metric-panel article:nth-child(3), .metric-panel article:nth-child(4) { border-top: 0; }
  .next-arrow { width: 56px; height: 56px; }
  .writing-feature { grid-template-columns: 30px 1fr 42px; gap: 1rem; min-height: 580px; padding: 2rem; }
  .writing-feature h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .research-themes { background: transparent; border: 0; gap: 12px; }
  .research-themes article { border: 1px solid var(--line); border-radius: var(--radius); }
  .paper-meta { display: grid; }
  .paper-cycle { grid-template-columns: 1fr; }
  .paper-cycle article, .paper-cycle article:nth-child(4), .paper-cycle article:nth-child(5), .paper-cycle article:last-child { grid-column: auto; min-height: 240px; }
  .paper-cycle h3 { margin-top: 4rem; }
  .vault-toolbar { grid-template-columns: 1fr; }
  .vault-search { grid-column: auto; }
  .vault-status { align-items: flex-start; flex-direction: column; gap: 0.7rem; }
  .vault-card { min-height: 350px; }
  .resume-action-bar .button-row { display: grid; width: 100%; }
  .resume-action-bar .button { width: 100%; }
  .resume-role, .education-item { grid-template-columns: 1fr; gap: 1rem; }
  .award-grid { grid-template-columns: 1fr; }
  .award-grid article:last-child { grid-column: auto; }
  .contact-hero { padding-block: 10rem 5rem; }
  .contact-copy h1 { font-size: clamp(2.8rem, 11vw, 4rem); }
  .contact-form { padding: 1.5rem; }
  .error-grid { grid-template-columns: 1fr; }
  .error-orbit { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-base { flex-direction: column; }
  .footer-base .ai-disclosure { max-width: 100%; text-align: left; }
}

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

html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after { animation-play-state: paused !important; }
html[data-motion="off"] .reveal { opacity: 1; transform: none; }
html[data-motion="off"] [data-parallax-media] { transform: none !important; }

@media print {
  .site-header, .site-footer, .site-atmosphere, .scroll-meter, .resume-actions, .regional-note-section { display: none !important; }
  body { color: #172126; background: #fff; font-size: 11pt; }
  h1, h2, h3, .resume-action-bar > div:first-child > p:last-child { color: #071418; }
  .page-hero, .resume-section { padding: 2rem 0; border-color: #bbc6c8; background: #fff; }
  .page-hero h1 { font-size: 42pt; }
  .resume-layout { grid-template-columns: 150px 1fr; gap: 25px; }
  .resume-aside { position: static; }
  .resume-role, .education-item { break-inside: avoid; border-color: #ccd5d7; }
  .resume-role li, .resume-role p, .education-item p, .role-date { color: #34484e; }
}
