:root {
  --ink: #10243a;
  --ink-soft: #40586e;
  --muted: #718397;
  --paper: #f4f7f2;
  --paper-strong: #ffffff;
  --line: rgba(16, 36, 58, 0.12);
  --blue: #3267ff;
  --blue-dark: #204bd4;
  --blue-soft: #dce5ff;
  --mint: #b8f36b;
  --navy: #0d2135;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 24px;
  --shadow: 0 24px 70px rgba(16, 36, 58, 0.12);
  color-scheme: light;
  font-family: Inter, "SF Pro Display", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

button,
input {
  font: inherit;
}

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

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

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

button {
  color: inherit;
}

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

.section {
  position: relative;
  padding: 118px 0;
}

.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;
  top: 12px;
  left: 12px;
  z-index: 1200;
  padding: 10px 14px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 2px;
  background: currentColor;
}

.eyebrow.light {
  color: var(--mint);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  transition: background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 247, 242, 0.86);
  box-shadow: 0 1px 0 rgba(16, 36, 58, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-text span {
  color: var(--blue);
  margin-inline: 3px;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 7px);
  align-items: end;
  gap: 3px;
  width: 28px;
  height: 28px;
  padding: 4px;
  background: var(--navy);
  border-radius: 8px;
  transform: rotate(-4deg);
}

.brand-mark span {
  display: block;
  height: 45%;
  background: var(--blue-soft);
  border-radius: 2px 2px 1px 1px;
}

.brand-mark span:nth-child(2) {
  height: 75%;
  background: var(--blue);
}

.brand-mark span:nth-child(3) {
  height: 100%;
  background: var(--mint);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav > a:not(.nav-resume) {
  position: relative;
  color: var(--ink-soft);
  transition: color 180ms ease;
}

.site-nav > a:not(.nav-resume)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover,
.site-nav > a.is-current {
  color: var(--ink);
}

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

.nav-resume {
  padding: 10px 18px;
  color: white;
  background: var(--navy);
  border-radius: 999px;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-resume:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.hero {
  min-height: 820px;
  padding-top: 160px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 18%, rgba(50, 103, 255, 0.11), transparent 28%),
    linear-gradient(180deg, #f8faf6 0%, var(--paper) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.9fr);
  gap: 60px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero h1 {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(52px, 5.5vw, 82px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero h1 span {
  position: relative;
  z-index: 0;
  color: var(--blue);
}

.hero h1 span::after {
  position: absolute;
  right: -3px;
  bottom: 3px;
  left: -3px;
  z-index: -1;
  height: 16%;
  content: "";
  background: var(--mint);
  opacity: 0.7;
  transform: rotate(-1deg);
}

.hero-lead {
  max-width: 650px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 13px 30px rgba(50, 103, 255, 0.24);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
}

.button-ghost:hover {
  background: white;
  border-color: rgba(16, 36, 58, 0.23);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 34px;
  margin-top: 54px;
}

.hero-facts > div {
  padding-left: 14px;
  border-left: 2px solid var(--blue-soft);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-facts dd {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 800;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 38px;
  box-shadow: 0 40px 100px rgba(13, 33, 53, 0.23);
  transform: rotate(1.2deg);
}

.hero-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: inherit;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.stage-label {
  position: absolute;
  top: 30px;
  left: 32px;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.stage-label span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.stage-label strong {
  margin-top: 2px;
  color: white;
  font-size: 16px;
}

.isometric-scene {
  position: absolute;
  top: 102px;
  right: 55px;
  left: 55px;
  height: 350px;
  perspective: 950px;
  transform-style: preserve-3d;
}

.iso-floor {
  position: absolute;
  top: 74px;
  left: 50%;
  width: 330px;
  height: 330px;
  background:
    linear-gradient(rgba(184, 243, 107, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 243, 107, 0.13) 1px, transparent 1px),
    linear-gradient(145deg, #183b55, #10293f);
  background-size: 33px 33px, 33px 33px, auto;
  border: 1px solid rgba(184, 243, 107, 0.25);
  box-shadow: 0 32px 50px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%) rotateX(64deg) rotateZ(45deg);
}

.cube {
  --size: 76px;
  --cube-color: #4f7cff;
  position: absolute;
  z-index: 3;
  width: var(--size);
  height: var(--size);
  background: var(--cube-color);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset -14px -14px 24px rgba(5, 24, 42, 0.26), 0 18px 30px rgba(0, 0, 0, 0.2);
  transform: rotateX(56deg) rotateZ(45deg);
  animation: cube-float 5s ease-in-out infinite;
}

.cube::before,
.cube::after {
  position: absolute;
  content: "";
  background: inherit;
  border: inherit;
}

.cube::before {
  top: 100%;
  left: 0;
  width: 100%;
  height: 28%;
  filter: brightness(0.62);
  transform: skewX(-45deg);
  transform-origin: top left;
}

.cube::after {
  top: 0;
  left: 100%;
  width: 28%;
  height: 100%;
  filter: brightness(0.78);
  transform: skewY(-45deg);
  transform-origin: top left;
}

.cube-a {
  top: 102px;
  left: 31%;
}

.cube-b {
  --size: 62px;
  --cube-color: #b8f36b;
  top: 64px;
  left: 48%;
  animation-delay: -1.2s;
}

.cube-c {
  --size: 48px;
  --cube-color: #dfe7f0;
  top: 168px;
  left: 58%;
  animation-delay: -2.5s;
}

.cube-d {
  --size: 36px;
  --cube-color: #e7b66f;
  top: 211px;
  left: 40%;
  animation-delay: -3s;
}

.cube-e {
  --size: 28px;
  --cube-color: #ff7e72;
  top: 123px;
  left: 67%;
  animation-delay: -0.6s;
}

.cube-f {
  --size: 22px;
  --cube-color: #b8f36b;
  top: 87px;
  left: 64%;
  animation-delay: -1.8s;
}

.cube-g {
  --size: 22px;
  --cube-color: #4f7cff;
  top: 174px;
  left: 28%;
  animation-delay: -3.8s;
}

.cube-h {
  --size: 16px;
  --cube-color: #ffffff;
  top: 235px;
  left: 57%;
  animation-delay: -2.1s;
}

.cube-i {
  --size: 14px;
  --cube-color: #ff7e72;
  top: 205px;
  left: 66%;
  animation-delay: -4.1s;
}

@keyframes cube-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

.scale-ruler {
  position: absolute;
  right: 25px;
  bottom: 25px;
  z-index: 5;
  width: 155px;
  padding: 16px;
  background: rgba(5, 21, 36, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.ruler-title {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.scale-ruler > div {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
  align-items: center;
  min-height: 24px;
}

.scale-ruler i {
  display: block;
  width: var(--bar);
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  border-radius: 999px;
}

.scale-ruler em {
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-style: normal;
}

.stage-note {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.stage-note p {
  font-size: 11px;
  font-weight: 800;
}

.note-index {
  display: grid;
  width: 21px;
  height: 21px;
  color: var(--navy);
  font-size: 8px;
  font-weight: 900;
  background: var(--mint);
  border-radius: 50%;
  place-items: center;
}

.note-top {
  top: 118px;
  right: -30px;
}

.note-bottom {
  bottom: 58px;
  left: -38px;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(50, 103, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 70px;
  right: -180px;
  width: 680px;
  height: 680px;
}

.orbit-two {
  top: 165px;
  right: -84px;
  width: 470px;
  height: 470px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2,
.mechanism-copy h2,
.about h2 {
  max-width: 820px;
  margin-top: 14px;
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.section-heading > p {
  color: var(--ink-soft);
  font-size: 16px;
}

.section-heading.compact {
  grid-template-columns: 1.15fr 0.7fr;
}

.project {
  padding-top: 132px;
  background: var(--paper-strong);
}

.project-meta {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-meta > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.project-meta > div:first-child {
  padding-left: 0;
}

.project-meta > div:last-child {
  border-right: 0;
}

.project-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.project-meta strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  min-height: 570px;
  overflow: hidden;
  background: #eef2ea;
  border: 1px solid var(--line);
  border-radius: 30px;
}

.demo-panel {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: var(--navy);
}

.demo-panel iframe,
.demo-panel video {
  width: 100%;
  height: 100%;
  min-height: 570px;
  border: 0;
}

.demo-panel video {
  object-fit: contain;
  background: #030a11;
}

.demo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(50, 103, 255, 0.34), transparent 30%),
    radial-gradient(circle at 75% 80%, rgba(184, 243, 107, 0.17), transparent 26%),
    var(--navy);
}

.demo-placeholder::before {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
}

.demo-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  transform: rotate(-12deg) scale(1.2);
}

.demo-grid span {
  position: absolute;
  width: 90px;
  height: 90px;
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}

.demo-grid span:nth-child(1) { top: 8%; left: 12%; }
.demo-grid span:nth-child(2) { top: 8%; left: 28%; }
.demo-grid span:nth-child(3) { top: 8%; left: 44%; }
.demo-grid span:nth-child(4) { top: 8%; left: 60%; }
.demo-grid span:nth-child(5) { top: 8%; left: 76%; }
.demo-grid span:nth-child(6) { top: 31%; left: 4%; }
.demo-grid span:nth-child(7) { top: 31%; left: 20%; }
.demo-grid span:nth-child(8) { top: 31%; left: 36%; }
.demo-grid span:nth-child(9) { top: 31%; left: 52%; }
.demo-grid span:nth-child(10) { top: 31%; left: 68%; }
.demo-grid span:nth-child(11) { top: 54%; left: 12%; }
.demo-grid span:nth-child(12) { top: 54%; left: 28%; }
.demo-grid span:nth-child(13) { top: 54%; left: 44%; }
.demo-grid span:nth-child(14) { top: 54%; left: 60%; }
.demo-grid span:nth-child(15) { top: 54%; left: 76%; }

.play-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
  color: var(--navy);
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(184, 243, 107, 0.12);
  place-items: center;
}

.play-symbol svg {
  width: 36px;
  fill: currentColor;
}

.demo-kicker {
  position: relative;
  z-index: 2;
  color: var(--mint);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.demo-placeholder h3 {
  position: relative;
  z-index: 2;
  margin-top: 7px;
  font-size: 29px;
}

.demo-placeholder > p:not(.demo-kicker) {
  position: relative;
  z-index: 2;
  max-width: 470px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.demo-placeholder code {
  color: rgba(255, 255, 255, 0.82);
}

.demo-status {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.external-demo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 570px;
  padding: 40px;
  color: white;
  text-align: center;
  background: linear-gradient(145deg, #173f64, #0d2135);
}

.external-demo-link strong {
  font-size: 28px;
}

.external-demo-link span {
  margin-top: 8px;
  color: var(--mint);
}

.project-proof {
  display: grid;
  grid-template-rows: repeat(3, 1fr) auto;
  padding: 22px;
}

.project-proof article:not(.proof-cta) {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
}

.proof-number {
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
  background: var(--blue-soft);
  border-radius: 15px;
  place-items: center;
}

.project-proof h3 {
  font-size: 16px;
}

.project-proof article p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.proof-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 8px 4px;
}

.proof-cta a {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.gdd {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 6%, rgba(50, 103, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #edf2ec 0%, #f7f9f5 100%);
}

.gdd::before {
  position: absolute;
  top: 145px;
  right: -120px;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(50, 103, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(50, 103, 255, 0.035), 0 0 0 112px rgba(50, 103, 255, 0.025);
}

.gdd-title-sub {
  color: var(--blue);
  font-size: 0.62em;
  letter-spacing: -0.025em;
}

.gdd-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  min-height: 640px;
  margin-top: 48px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(50, 103, 255, 0.42), transparent 30%),
    radial-gradient(circle at 62% 92%, rgba(184, 243, 107, 0.12), transparent 26%),
    var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(13, 33, 53, 0.2);
}

.gdd-cover {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 48px 28px 28px 48px;
  background: rgba(0, 0, 0, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.gdd-cover::before {
  position: absolute;
  top: 46px;
  right: 18px;
  bottom: 74px;
  left: 54px;
  z-index: 0;
  content: "";
  background: rgba(184, 243, 107, 0.45);
  border-radius: 8px;
  transform: rotate(3deg);
}

.gdd-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  background: white;
  border-radius: 8px;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.34);
}

.gdd-cover figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.gdd-cover figcaption strong {
  color: var(--mint);
  font-size: 11px;
}

.gdd-overview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 60px;
}

.gdd-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gdd-status span {
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.gdd-position {
  max-width: 660px;
  margin-top: 28px;
  color: white;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.gdd-summary {
  max-width: 650px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
  line-height: 1.9;
}

.gdd-promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gdd-promises > div {
  padding: 19px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.gdd-promises > div:first-child {
  padding-left: 0;
}

.gdd-promises > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.gdd-promises dt {
  color: var(--mint);
  font-size: 15px;
  font-weight: 900;
}

.gdd-promises dd {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  line-height: 1.55;
}

.gdd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.gdd-showcase .button-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.gdd-showcase .button-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.32);
}

.gdd-file-note {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.gdd-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.gdd-pillars article {
  min-height: 250px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}

.gdd-pillars article:last-child {
  border-right: 0;
}

.gdd-pillars article > span {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  background: var(--blue-soft);
  border-radius: 12px;
  place-items: center;
}

.gdd-pillars h3 {
  margin-top: 50px;
  font-size: 18px;
  line-height: 1.35;
}

.gdd-pillars p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.72;
}

.gdd-evidence {
  margin-top: 64px;
  padding: 48px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.gdd-evidence-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: end;
}

.gdd-evidence-head h3 {
  margin-top: 15px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.gdd-evidence-head > p {
  color: var(--ink-soft);
  font-size: 14px;
}

.evidence-table {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.evidence-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.evidence-row > span,
.evidence-row > strong {
  padding: 20px 18px;
  font-size: 13px;
  line-height: 1.6;
  border-right: 1px solid var(--line);
}

.evidence-row > :first-child {
  padding-left: 0;
}

.evidence-row > :last-child {
  padding-right: 0;
  color: var(--ink-soft);
  border-right: 0;
}

.evidence-header > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.gdd-boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.gdd-boundary > div {
  min-height: 240px;
  padding: 34px;
  background: #e8f3e1;
  border: 1px solid rgba(59, 127, 55, 0.14);
  border-radius: 24px;
}

.gdd-boundary > div:last-child {
  background: #fff5df;
  border-color: rgba(177, 119, 25, 0.16);
}

.gdd-boundary-label {
  color: #3d7e3c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.gdd-boundary-label.is-plan {
  color: #a46d16;
}

.gdd-boundary h3 {
  margin-top: 34px;
  font-size: 23px;
}

.gdd-boundary p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.gdd-dialog {
  width: min(1440px, calc(100vw - 36px));
  height: min(920px, calc(100dvh - 36px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
}

.gdd-dialog::backdrop {
  background: rgba(4, 14, 25, 0.76);
  backdrop-filter: blur(10px);
}

.gdd-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
}

.gdd-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  color: white;
  background: var(--navy);
}

.gdd-dialog header span {
  color: var(--mint);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.gdd-dialog header h2 {
  margin-top: 2px;
  font-size: 18px;
}

.gdd-dialog-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gdd-dialog-actions a,
.gdd-dialog-actions button {
  min-height: 36px;
  padding: 0 14px;
  color: white;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
}

.gdd-dialog-actions a:hover,
.gdd-dialog-actions button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.gdd-dialog iframe {
  width: 100%;
  height: 100%;
  background: #d8dde0;
  border: 0;
}

.gdd-dialog-fallback {
  display: none;
  padding: 8px 18px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  background: white;
  border-top: 1px solid var(--line);
}

.gdd-dialog-fallback a {
  color: var(--blue);
  font-weight: 800;
}

body.has-dialog {
  overflow: hidden;
}

.design-story {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 30%),
    var(--paper);
}

.logic-track {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr;
  align-items: stretch;
  margin-top: 56px;
}

.logic-track article {
  position: relative;
  min-height: 228px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.logic-track article > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.logic-track h3 {
  margin-top: 42px;
  font-size: 21px;
}

.logic-track p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

.logic-track > i {
  position: relative;
}

.logic-track > i::before {
  position: absolute;
  top: 50%;
  left: 7px;
  width: 22px;
  height: 1px;
  content: "";
  background: var(--blue);
}

.logic-track > i::after {
  position: absolute;
  top: calc(50% - 3px);
  right: 6px;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  transform: rotate(45deg);
}

.loop-card {
  display: grid;
  grid-template-columns: 0.75fr 1.65fr;
  gap: 50px;
  align-items: center;
  margin-top: 32px;
  padding: 38px;
  color: white;
  background: var(--navy);
  border-radius: 28px;
}

.loop-intro h3 {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.35;
}

.loop-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.loop-list li {
  position: relative;
  min-height: 112px;
  padding: 15px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
}

.loop-list li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -8px;
  z-index: 2;
  width: 15px;
  height: 15px;
  content: "→";
  color: var(--mint);
  font-size: 12px;
  transform: translateY(-50%);
}

.loop-list b {
  display: block;
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.loop-list span {
  display: block;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.mechanism {
  overflow: hidden;
  background: var(--paper-strong);
}

.mechanism-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 80px;
  align-items: center;
}

.mechanism-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 20px;
  color: var(--ink-soft);
}

.control-group {
  margin-top: 32px;
}

.control-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.control-title > span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.control-title output {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.segmented-control,
.material-control {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: #edf1ec;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.segmented-control button,
.material-control button {
  min-width: 0;
  min-height: 39px;
  padding: 0 11px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.segmented-control button {
  flex: 1 1 20%;
}

.segmented-control button.is-active,
.material-control button.is-active {
  color: white;
  background: var(--navy);
  box-shadow: 0 6px 14px rgba(13, 33, 53, 0.12);
}

.control-pair {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 16px;
}

.color-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 51px;
  padding: 5px 12px 5px 6px;
  background: #edf1ec;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.color-field input {
  width: 41px;
  height: 39px;
  padding: 2px;
  background: white;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.color-field span {
  font-size: 11px;
  font-weight: 800;
}

.material-control {
  flex-wrap: wrap;
}

.material-control button {
  flex: 1 1 calc(33.333% - 6px);
}

.mechanism-lab {
  --block-color: #4f7cff;
  --cell-size: 20%;
  overflow: hidden;
  color: white;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.lab-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lab-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
}

.lab-live i {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(184, 243, 107, 0.12);
}

.lab-canvas {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  perspective: 900px;
}

.lab-canvas::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 50% 42%, transparent, rgba(4, 16, 29, 0.36) 72%);
  pointer-events: none;
}

.lab-grid {
  position: absolute;
  top: 110px;
  left: 50%;
  width: 480px;
  height: 480px;
  background:
    linear-gradient(rgba(184, 243, 107, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 243, 107, 0.13) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid rgba(184, 243, 107, 0.25);
  transform: translateX(-50%) rotateX(67deg) rotateZ(45deg);
}

.wall-demo {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 3;
  width: 420px;
  height: 284px;
  transform: translate(-50%, -50%);
}

.wall-model {
  position: absolute;
  top: 38px;
  left: 25px;
  width: 252px;
  height: 252px;
  transform-style: preserve-3d;
}

.wall-model > span,
.detail-cube > span {
  position: absolute;
  display: block;
  background-color: var(--block-color);
  transition: background-color 180ms ease, filter 180ms ease, background-size 320ms ease;
}

.wall-front {
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(3, 18, 33, 0.18));
  background-size: var(--cell-size) var(--cell-size), var(--cell-size) var(--cell-size), 100% 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset -22px -22px 42px rgba(4, 18, 32, 0.2), 0 30px 45px rgba(0, 0, 0, 0.24);
}

.wall-front::after {
  position: absolute;
  inset: -1px;
  z-index: 2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.52) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.52) 1px, transparent 1px);
  background-size: var(--cell-size) var(--cell-size);
  pointer-events: none;
  transition: background-size 320ms ease;
}

.wall-top {
  right: -38px;
  bottom: 100%;
  width: calc(100% + 38px);
  height: 38px;
  filter: brightness(1.22);
  clip-path: polygon(38px 0, 100% 0, calc(100% - 38px) 100%, 0 100%);
}

.wall-side {
  top: -38px;
  left: 100%;
  width: 38px;
  height: calc(100% + 38px);
  filter: brightness(0.72);
  clip-path: polygon(0 38px, 100% 0, 100% calc(100% - 38px), 0 100%);
}

.wall-focus {
  z-index: 4;
  right: 0;
  bottom: 0;
  width: max(var(--cell-size), 5px);
  height: max(var(--cell-size), 5px);
  background: transparent !important;
  border: 2px solid var(--mint);
  box-shadow: 0 0 0 3px rgba(184, 243, 107, 0.18), 0 0 16px rgba(184, 243, 107, 0.72);
  transition: width 320ms ease, height 320ms ease;
}

.block-detail {
  position: absolute;
  top: 63px;
  right: 0;
  width: 108px;
  min-height: 150px;
  padding: 14px 12px 12px;
  text-align: center;
  background: rgba(7, 29, 48, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.detail-kicker {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.detail-cube {
  position: relative;
  width: 54px;
  height: 54px;
  margin: 34px auto 13px;
}

.detail-front {
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: inset -10px -10px 18px rgba(4, 18, 32, 0.2);
}

.detail-top {
  right: -14px;
  bottom: 100%;
  width: calc(100% + 14px);
  height: 14px;
  filter: brightness(1.22);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.detail-side {
  top: -14px;
  left: 100%;
  width: 14px;
  height: calc(100% + 14px);
  filter: brightness(0.72);
  clip-path: polygon(0 14px, 100% 0, 100% calc(100% - 14px), 0 100%);
}

.block-detail strong {
  color: var(--mint);
  font-size: 13px;
}

.mechanism-lab[data-material="plastic"] .wall-model > span,
.mechanism-lab[data-material="plastic"] .detail-cube > span {
  filter: saturate(1.15) brightness(1.08);
}

.mechanism-lab[data-material="plastic"] .wall-front,
.mechanism-lab[data-material="plastic"] .detail-front {
  box-shadow: inset 20px 20px 35px rgba(255, 255, 255, 0.22),
    inset -28px -28px 44px rgba(4, 18, 32, 0.18), 0 30px 45px rgba(0, 0, 0, 0.24);
}

.mechanism-lab[data-material="metal"] .wall-model > span,
.mechanism-lab[data-material="metal"] .detail-cube > span {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 35%, rgba(0, 0, 0, 0.18) 70%);
  background-color: var(--block-color);
}

.mechanism-lab[data-material="metal"] .wall-front {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 35%, rgba(0, 0, 0, 0.18) 70%);
  background-size: var(--cell-size) var(--cell-size), var(--cell-size) var(--cell-size), 100% 100%;
}

.mechanism-lab[data-material="wood"] .wall-model > span,
.mechanism-lab[data-material="wood"] .detail-cube > span {
  background-color: var(--block-color);
  background-image: repeating-linear-gradient(
    9deg,
    transparent 0 13px,
    rgba(70, 35, 10, 0.18) 14px 16px,
    transparent 17px 27px
  );
}

.mechanism-lab[data-material="wood"] .wall-front {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    repeating-linear-gradient(9deg, transparent 0 13px, rgba(70, 35, 10, 0.18) 14px 16px, transparent 17px 27px);
  background-size: var(--cell-size) var(--cell-size), var(--cell-size) var(--cell-size), auto;
}

.mechanism-lab[data-material="fabric"] .wall-model > span,
.mechanism-lab[data-material="fabric"] .detail-cube > span {
  background-color: var(--block-color);
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.13) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.13) 75%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.08) 25%, transparent 25% 75%, rgba(0, 0, 0, 0.08) 75%);
  background-size: 8px 8px;
}

.mechanism-lab[data-material="fabric"] .wall-front {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.13) 25%, transparent 25% 75%, rgba(255, 255, 255, 0.13) 75%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.08) 25%, transparent 25% 75%, rgba(0, 0, 0, 0.08) 75%);
  background-size: var(--cell-size) var(--cell-size), var(--cell-size) var(--cell-size), 8px 8px, 8px 8px;
}

.dimension {
  position: absolute;
  z-index: 4;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dimension::before,
.dimension::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.28);
}

.dimension-x {
  top: 70px;
  left: 38px;
  width: 130px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.dimension-x span {
  position: absolute;
  top: -22px;
  left: 50%;
  white-space: nowrap;
  transform: translateX(-50%);
}

.dimension-x b {
  color: var(--mint);
  font-weight: 900;
}

.dimension-x::before,
.dimension-x::after {
  top: -5px;
  width: 1px;
  height: 10px;
}

.dimension-x::before { left: 0; }
.dimension-x::after { right: 0; }

.dimension-y {
  right: 26px;
  bottom: 50px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.wall-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.06em;
  transform: translateX(-50%);
}

.wall-caption strong {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
}

.lab-metrics {
  display: grid;
  grid-template-columns: 0.62fr 0.62fr 1.5fr;
  gap: 0;
  min-height: 128px;
  background: #102a42;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lab-metrics > div,
.lab-metrics > p {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.lab-metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.lab-metrics strong {
  display: inline-block;
  margin-top: 5px;
  color: var(--mint);
  font-size: 25px;
}

.lab-metrics em {
  display: block;
  margin-top: 2px;
  margin-left: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-style: normal;
}

.lab-metrics > p {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.7;
  border-right: 0;
}

.iteration {
  background: #eef2ea;
}

.case-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.case-summary {
  display: flex;
  flex-direction: column;
  min-height: 490px;
  padding: 40px;
  color: white;
  background:
    radial-gradient(circle at 85% 16%, rgba(50, 103, 255, 0.46), transparent 30%),
    var(--navy);
  border-radius: 28px;
}

.case-label {
  color: var(--mint);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.case-summary h3 {
  max-width: 520px;
  margin-top: 52px;
  font-size: 32px;
  line-height: 1.35;
}

.case-summary > p:not(.case-label) {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.case-impact {
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.case-impact span {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.case-impact strong {
  display: block;
  margin-top: 5px;
  color: var(--mint);
  font-size: 18px;
}

.case-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case-steps article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 237px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.case-steps b {
  display: grid;
  width: 52px;
  height: 52px;
  color: var(--blue);
  font-size: 12px;
  background: var(--blue-soft);
  border-radius: 16px;
  place-items: center;
}

.case-steps span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.case-steps h3 {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.5;
}

.decision-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 24px;
  padding: 36px 40px;
  background: var(--mint);
  border-radius: 26px;
}

.decision-tag {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.decision-card h3 {
  margin-top: 7px;
  font-size: 24px;
  line-height: 1.4;
}

.decision-card p {
  color: rgba(16, 36, 58, 0.72);
  font-size: 14px;
}

.output {
  background: var(--paper-strong);
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.deliverable-grid article {
  position: relative;
  min-height: 390px;
  padding: 32px;
  overflow: hidden;
  background: #f2f5f0;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.deliverable-grid article:hover {
  box-shadow: 0 22px 50px rgba(16, 36, 58, 0.09);
  transform: translateY(-5px);
}

.deliverable-icon {
  display: grid;
  width: 50px;
  height: 50px;
  color: white;
  font-size: 11px;
  font-weight: 900;
  background: var(--blue);
  border-radius: 15px;
  place-items: center;
}

.deliverable-grid h3 {
  margin-top: 60px;
  font-size: 25px;
}

.deliverable-grid p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

.deliverable-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.deliverable-grid li {
  padding: 6px 10px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: start;
}

.about-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 20px;
  color: var(--ink-soft);
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-block {
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.detail-block > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.detail-block > strong {
  display: block;
  margin-top: 7px;
  font-size: 16px;
}

.detail-block > p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-list b {
  padding: 7px 10px;
  color: var(--blue-dark);
  font-size: 11px;
  background: var(--blue-soft);
  border-radius: 8px;
}

.tag-list.muted b {
  color: var(--ink-soft);
  background: #ebefea;
}

.contact {
  padding: 0 0 64px;
  background: var(--paper);
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 50px;
  align-items: center;
  min-height: 370px;
  padding: 62px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 92% 10%, rgba(50, 103, 255, 0.7), transparent 32%),
    var(--navy);
  border-radius: 32px;
}

.contact-card::before {
  position: absolute;
  right: -100px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.contact-card h2 {
  max-width: 750px;
  margin-top: 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.25;
}

.contact-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.button-light {
  color: var(--navy);
  background: var(--mint);
}

.button-light:hover {
  background: white;
}

.button-outline-light {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.copy-status {
  min-height: 18px;
  color: var(--mint);
  font-size: 11px;
  text-align: center;
}

.contact-meta {
  position: absolute;
  right: 62px;
  bottom: 28px;
  left: 62px;
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer {
  padding: 28px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 11px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 20px;
  }

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

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

  .hero-stage {
    width: min(680px, 100%);
    margin: 20px auto 0;
  }

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

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .gdd-showcase {
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  }

  .gdd-cover {
    padding: 38px 22px 26px 38px;
  }

  .gdd-cover img {
    height: 460px;
  }

  .gdd-overview {
    padding: 46px 38px;
  }

  .gdd-promises {
    grid-template-columns: 1fr;
  }

  .gdd-promises > div,
  .gdd-promises > div:first-child,
  .gdd-promises > div:last-child {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .gdd-promises > div:last-child {
    border-bottom: 0;
  }

  .gdd-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .gdd-pillars article:nth-child(2) {
    border-right: 0;
  }

  .gdd-pillars article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .gdd-evidence-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-proof {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .project-proof article:not(.proof-cta) {
    grid-template-columns: 54px 1fr;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .project-proof article:nth-child(3) {
    border-right: 0;
  }

  .proof-cta {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .logic-track {
    grid-template-columns: 1fr 22px 1fr;
    gap: 0;
  }

  .logic-track article:nth-of-type(3),
  .logic-track article:nth-of-type(4) {
    margin-top: 22px;
  }

  .logic-track > i:nth-of-type(2) {
    display: none;
  }

  .logic-track article:nth-of-type(3) {
    grid-column: 1;
  }

  .logic-track > i:nth-of-type(3) {
    grid-column: 2;
  }

  .logic-track article:nth-of-type(4) {
    grid-column: 3;
  }

  .loop-card {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .mechanism-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .mechanism-copy {
    max-width: 760px;
  }

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

  .case-summary {
    min-height: 420px;
  }

  .decision-card,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 32px, 680px);
    --radius: 20px;
  }

  .section {
    padding: 82px 0;
  }

  .nav-wrap {
    min-height: 66px;
  }

  .nav-toggle {
    position: relative;
    z-index: 3;
    display: block;
  }

  .nav-toggle > span:not(.sr-only) {
    position: absolute;
    left: 9px;
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: transform 180ms ease, top 180ms ease;
  }

  .nav-toggle > span:nth-child(2) { top: 17px; }
  .nav-toggle > span:nth-child(3) { top: 25px; }

  .nav-toggle.is-open > span:nth-child(2) {
    top: 21px;
    transform: rotate(45deg);
  }

  .nav-toggle.is-open > span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 86px 24px 28px;
    background: rgba(244, 247, 242, 0.98);
    box-shadow: 0 24px 45px rgba(16, 36, 58, 0.16);
    transform: translateY(-110%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 0;
    font-size: 16px;
  }

  .nav-resume {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
    padding-bottom: 80px;
  }

  .hero-grid {
    gap: 54px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .hero-stage {
    min-height: 470px;
    border-radius: 26px;
    transform: none;
  }

  .isometric-scene {
    right: 5px;
    left: 5px;
    transform: scale(0.83);
  }

  .scale-ruler {
    display: none;
  }

  .note-top {
    top: 105px;
    right: 12px;
  }

  .note-bottom {
    bottom: 24px;
    left: 16px;
  }

  .section-heading h2,
  .mechanism-copy h2,
  .about h2 {
    font-size: clamp(34px, 9.5vw, 48px);
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

  .project-meta > div,
  .project-meta > div:first-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-meta > div:last-child {
    border-bottom: 0;
  }

  .demo-panel,
  .demo-panel iframe,
  .demo-panel video,
  .external-demo-link {
    min-height: 440px;
  }

  .demo-placeholder h3 {
    font-size: 23px;
  }

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

  .gdd-showcase {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .gdd-cover {
    padding: 28px 22px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .gdd-cover::before {
    top: 28px;
    right: 16px;
    bottom: 72px;
    left: 28px;
  }

  .gdd-cover img {
    width: min(100%, 390px);
    height: auto;
    margin-inline: auto;
  }

  .gdd-overview {
    padding: 38px 24px;
  }

  .gdd-position {
    font-size: 29px;
  }

  .gdd-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .gdd-pillars {
    grid-template-columns: 1fr;
  }

  .gdd-pillars article,
  .gdd-pillars article:nth-child(2) {
    min-height: auto;
    padding: 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gdd-pillars article:last-child {
    border-bottom: 0;
  }

  .gdd-pillars h3 {
    margin-top: 30px;
  }

  .gdd-evidence {
    padding: 30px 22px;
  }

  .evidence-header {
    display: none;
  }

  .evidence-row {
    display: block;
    padding: 18px 0;
  }

  .evidence-row > span,
  .evidence-row > strong,
  .evidence-row > :first-child,
  .evidence-row > :last-child {
    display: block;
    padding: 0;
    border: 0;
  }

  .evidence-row > strong {
    font-size: 15px;
  }

  .evidence-row > span {
    margin-top: 9px;
    color: var(--ink-soft);
  }

  .evidence-row > span:last-child {
    margin-top: 5px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
  }

  .gdd-boundary {
    grid-template-columns: 1fr;
  }

  .gdd-boundary > div {
    min-height: auto;
    padding: 28px;
  }

  .gdd-dialog {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .gdd-dialog header {
    align-items: flex-start;
    padding: 12px;
  }

  .gdd-dialog header > div:first-child span,
  .gdd-dialog header h2,
  .gdd-dialog-actions a:first-child {
    display: none;
  }

  .gdd-dialog-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .gdd-dialog-actions a,
  .gdd-dialog-actions button {
    min-height: 40px;
  }

  .gdd-dialog-fallback {
    display: block;
  }

  .project-proof article:not(.proof-cta) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-cta {
    grid-column: auto;
  }

  .logic-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .logic-track article,
  .logic-track article:nth-of-type(3),
  .logic-track article:nth-of-type(4) {
    grid-column: auto;
    min-height: auto;
    margin-top: 0;
  }

  .logic-track h3 {
    margin-top: 22px;
  }

  .logic-track > i {
    display: none;
  }

  .loop-card {
    padding: 26px;
  }

  .loop-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .loop-list li:not(:last-child)::after {
    display: none;
  }

  .segmented-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .control-pair {
    grid-template-columns: 1fr;
  }

  .mechanism-lab {
    border-radius: 22px;
  }

  .lab-canvas {
    min-height: 350px;
  }

  .lab-grid {
    top: 95px;
    transform: translateX(-50%) rotateX(67deg) rotateZ(45deg) scale(0.76);
  }

  .wall-demo {
    width: 420px;
    transform: translate(-50%, -50%) scale(0.82);
  }

  .lab-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .lab-metrics > p {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lab-metrics em {
    display: block;
    margin-top: 2px;
    margin-left: 0;
  }

  .case-summary {
    min-height: 470px;
    padding: 30px;
  }

  .case-summary h3 {
    margin-top: 36px;
    font-size: 27px;
  }

  .case-steps {
    grid-template-columns: 1fr;
  }

  .case-steps article {
    min-height: 175px;
  }

  .decision-card {
    padding: 28px;
  }

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

  .deliverable-grid article {
    min-height: 330px;
  }

  .contact {
    padding-bottom: 32px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 520px;
    padding: 38px 28px 92px;
    border-radius: 24px;
  }

  .contact-card h2 {
    font-size: 34px;
  }

  .contact-meta {
    right: 28px;
    bottom: 24px;
    left: 28px;
    flex-direction: column;
    gap: 4px;
  }

  .site-footer .shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
