:root {
  --ink-950: #031614;
  --ink-900: #061c19;
  --ink-800: #0b2a25;
  --ink-700: #113a34;
  --paper: #f8f6ef;
  --paper-2: #efeadf;
  --white: #ffffff;
  --jade: #3bcfa7;
  --jade-dark: #147b67;
  --amber: #d8a94d;
  --coral: #df765d;
  --blue: #7aa6ff;
  --text-dark: #17221f;
  --text-muted: #67736d;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(6, 28, 25, 0.13);
  --shadow-soft: 0 22px 70px rgba(0, 0, 0, 0.22);
  --shadow-crisp: 0 14px 36px rgba(3, 22, 20, 0.16);
  --radius-sm: 6px;
  --radius-md: 8px;
  --section-x: 72px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-dark);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  color: var(--ink-950);
  background: var(--jade);
}

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

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

button {
  font: inherit;
}

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

svg {
  display: block;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(calc(-100% - 24px));
  padding: 10px 14px;
  color: var(--ink-950);
  background: var(--jade);
  border-radius: var(--radius-sm);
  transition: transform 180ms ease;
}

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

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(6, 28, 25, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 28, 25, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.45;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 var(--section-x);
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(3, 22, 20, 0.68);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-family: "Songti SC", "STSong", serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: var(--jade);
}

.brand-mark svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  font-size: 15px;
}

.site-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--jade);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink-950);
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.header-action svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(3, 22, 20, 0.04), rgba(3, 22, 20, 0.9)),
    var(--ink-950);
}

.section-paper {
  color: var(--text-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(239, 234, 223, 0.82)),
    var(--paper);
}

.section-light {
  color: var(--text-dark);
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: 42px;
  min-height: 94svh;
  padding: 128px var(--section-x) 88px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 22, 20, 0.92) 0%, rgba(3, 22, 20, 0.72) 43%, rgba(3, 22, 20, 0.08) 100%),
    linear-gradient(180deg, rgba(3, 22, 20, 0.35), rgba(3, 22, 20, 0.82));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 630px;
}

.hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 144px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead {
  margin: 28px 0 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 34px;
  line-height: 1.3;
}

.hero-body {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 18px;
  line-height: 1.9;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 184px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

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

.button-primary {
  color: var(--ink-950);
  background: linear-gradient(135deg, var(--jade), #aee9d6);
  box-shadow: 0 18px 42px rgba(59, 207, 167, 0.28);
}

.button-ghost {
  color: var(--paper);
  border-color: rgba(216, 169, 77, 0.72);
  background: rgba(3, 22, 20, 0.3);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 70px;
}

.hero-proof article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  min-height: 72px;
  padding-right: 18px;
  border-right: 1px solid var(--line-dark);
}

.hero-proof article:last-child {
  border-right: 0;
}

.hero-proof svg {
  width: 32px;
  height: 32px;
  color: var(--jade);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-proof strong {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.3;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 590px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 22, 20, 0.32), rgba(3, 22, 20, 0) 46%),
    linear-gradient(180deg, rgba(3, 22, 20, 0), rgba(3, 22, 20, 0.48));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.floating-panel {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 6px;
  min-width: 132px;
  padding: 14px 16px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(3, 22, 20, 0.58);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-crisp);
}

.floating-panel span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.floating-panel strong {
  font-size: 27px;
  line-height: 1;
}

.hero-panel-left {
  left: 34px;
  bottom: 46px;
}

.hero-panel-right {
  right: 34px;
  top: 42px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.summary h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 54px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p,
.summary p {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.9;
}

.section-dark .section-heading p,
.summary p {
  color: rgba(255, 255, 255, 0.64);
}

.intro,
.experience,
.ai-section,
.prototype,
.defense,
.summary {
  padding: 108px var(--section-x);
}

#intro,
#ai,
#prototype,
#defense,
#summary {
  scroll-margin-top: 96px;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  gap: 52px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: stretch;
  min-width: 0;
}

.intro-story {
  padding: 42px;
  border-left: 4px solid var(--jade-dark);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-crisp);
}

.intro-story h3,
.architecture-copy h3,
.prototype-notes h3,
.thesis-panel h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.35;
}

.intro-story p,
.architecture-copy p,
.prototype-notes p,
.thesis-panel p {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.9;
}

.metric-row {
  display: grid;
  gap: 16px;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 112px;
  padding: 22px 26px;
  color: var(--paper);
  background: var(--ink-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-crisp);
}

.metric strong {
  color: var(--jade);
  font-size: 48px;
  line-height: 1;
}

.metric span {
  max-width: 150px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
}

.experience-grid,
.architecture,
.prototype-layout {
  display: grid;
  grid-template-columns: minmax(350px, 0.78fr) minmax(0, 1.22fr);
  gap: 54px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
  min-width: 0;
}

.flow-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}

.flow-list li > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--jade-dark);
  border: 1px solid rgba(20, 123, 103, 0.28);
  border-radius: 50%;
  font-weight: 800;
}

.flow-list h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.flow-list p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.app-preview {
  min-width: 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--ink-950);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 8px;
  height: 42px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-dark);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--jade);
}

.preview-shell {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 520px;
  color: var(--paper);
}

.preview-shell aside {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px 20px;
  border-right: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
}

.preview-shell aside strong {
  margin-bottom: 16px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 24px;
}

.preview-shell aside span {
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.preview-shell aside .active {
  color: var(--ink-950);
  background: var(--jade);
}

.preview-main {
  display: grid;
  gap: 22px;
  padding: 32px;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.preview-top h3 {
  margin: 0;
  font-size: 24px;
}

.preview-top span,
.note-block span {
  color: var(--jade);
  font-size: 13px;
}

.note-block {
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.note-block p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.8;
}

.graph-mini {
  position: relative;
  min-height: 230px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(59, 207, 167, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--ink-950);
  background: var(--jade);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.node-center {
  left: calc(50% - 29px);
  top: calc(50% - 29px);
  width: 72px;
  height: 72px;
}

.n1 {
  left: 20%;
  top: 24%;
  background: var(--paper);
}

.n2 {
  right: 22%;
  top: 18%;
  background: var(--amber);
}

.n3 {
  left: 22%;
  bottom: 18%;
  background: var(--coral);
}

.n4 {
  right: 18%;
  bottom: 20%;
  background: var(--blue);
}

.line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.36);
  transform-origin: left center;
}

.l1 {
  left: 30%;
  top: 37%;
  width: 165px;
  transform: rotate(16deg);
}

.l2 {
  left: 52%;
  top: 39%;
  width: 150px;
  transform: rotate(-20deg);
}

.l3 {
  left: 31%;
  bottom: 34%;
  width: 160px;
  transform: rotate(-18deg);
}

.l4 {
  left: 54%;
  bottom: 36%;
  width: 132px;
  transform: rotate(23deg);
}

.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  position: absolute;
  top: 0;
  left: var(--section-x);
  right: var(--section-x);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(59, 207, 167, 0.62), transparent);
}

.architecture {
  align-items: start;
}

.architecture-copy {
  padding: 36px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.architecture-copy p {
  color: rgba(255, 255, 255, 0.64);
}

.capability-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
}

.capability-list strong {
  color: var(--jade);
}

.capability-list span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.7;
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pipeline-track {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--jade), var(--amber), transparent);
  transform: translateY(-50%);
}

.pipeline-step {
  position: relative;
  min-height: 188px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
}

.pipeline-step span {
  color: var(--amber);
  font-weight: 800;
}

.pipeline-step strong {
  display: block;
  margin-top: 46px;
  font-size: 23px;
}

.pipeline-step p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.6;
}

.prototype-layout {
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.76fr);
}

.device-stack {
  position: relative;
  min-height: 560px;
}

.phone-frame {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 28px;
  width: 212px;
  padding: 10px;
  border: 1px solid rgba(6, 28, 25, 0.24);
  border-radius: 28px;
  background: var(--ink-950);
  box-shadow: var(--shadow-soft);
}

.phone-screen {
  min-height: 420px;
  padding: 18px;
  color: var(--paper);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(59, 207, 167, 0.22), rgba(3, 22, 20, 0.12)),
    var(--ink-900);
}

.phone-status {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.phone-screen h3 {
  margin: 26px 0 0;
  font-size: 24px;
  line-height: 1.25;
}

.phone-screen p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.phone-screen ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.phone-screen li {
  padding: 10px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

.progress-ring {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin: 26px auto 0;
  border-radius: 50%;
  background:
    conic-gradient(var(--jade) 0 68%, rgba(255, 255, 255, 0.12) 68% 100%),
    var(--ink-800);
}

.progress-ring span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--jade);
  border-radius: 50%;
  background: var(--ink-950);
  font-size: 24px;
  font-weight: 800;
}

.laptop-frame {
  margin-left: 132px;
  min-width: 0;
  min-height: 480px;
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.prototype-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 48px;
  padding: 6px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.prototype-tabs button {
  min-height: 36px;
  color: var(--text-muted);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.prototype-tabs button.active {
  color: var(--paper);
  background: var(--ink-900);
}

.prototype-panel {
  display: none;
  min-height: 356px;
  margin-top: 18px;
  padding: 34px;
  color: var(--paper);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(59, 207, 167, 0.18), rgba(216, 169, 77, 0.12)),
    var(--ink-950);
  overflow: hidden;
}

.prototype-panel.active {
  display: block;
}

.prototype-panel h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.3;
}

.prototype-panel p {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.9;
}

.bars {
  display: grid;
  gap: 18px;
  margin-top: 54px;
}

.bars span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--jade) var(--bar), rgba(255, 255, 255, 0.12) var(--bar));
}

.mini-map {
  position: relative;
  min-height: 150px;
  margin-top: 42px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
}

.mini-map span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--jade);
}

.mini-map span:nth-child(1) {
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
}

.mini-map span:nth-child(2) {
  left: 22%;
  top: 22%;
  background: var(--amber);
}

.mini-map span:nth-child(3) {
  right: 20%;
  top: 22%;
  background: var(--blue);
}

.mini-map span:nth-child(4) {
  left: 28%;
  bottom: 20%;
  background: var(--coral);
}

.mini-map span:nth-child(5) {
  right: 26%;
  bottom: 18%;
  background: var(--paper);
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 54px;
}

.review-cards span {
  display: grid;
  place-items: center;
  min-height: 96px;
  color: var(--ink-950);
  border-radius: var(--radius-md);
  background: var(--paper);
  font-size: 22px;
  font-weight: 900;
}

.prototype-notes {
  padding: 36px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-crisp);
}

.prototype-notes dl {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.prototype-notes div {
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}

.prototype-notes dt {
  color: var(--jade-dark);
  font-weight: 900;
}

.prototype-notes dd {
  margin: 8px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.defense-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  min-width: 0;
}

.thesis-panel {
  min-width: 0;
  min-height: 226px;
  padding: 34px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-crisp);
}

.thesis-wide {
  grid-column: 1 / -1;
}

.evaluation-table {
  display: grid;
  max-width: 100%;
  min-width: 0;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
}

.evaluation-table div {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1fr;
}

.evaluation-table div + div {
  border-top: 1px solid var(--line-light);
}

.evaluation-table div:first-child {
  color: var(--paper);
  background: var(--ink-900);
  font-weight: 900;
}

.evaluation-table span {
  min-height: 54px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.evaluation-table span + span {
  border-left: 1px solid var(--line-light);
}

.evaluation-table div:first-child span + span {
  border-left-color: var(--line-dark);
}

.summary {
  text-align: center;
}

.summary-inner {
  max-width: 880px;
  margin: 0 auto;
}

.summary h2 {
  font-size: 64px;
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 42px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px var(--section-x);
  color: rgba(255, 255, 255, 0.58);
  background: var(--ink-950);
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
}

.no-motion [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  :root {
    --section-x: 36px;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    gap: 22px;
  }

  .site-nav {
    justify-content: flex-end;
    gap: 26px;
  }

  .header-action {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 118px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 22, 20, 0.95), rgba(3, 22, 20, 0.68) 55%, rgba(3, 22, 20, 0.86)),
      var(--ink-950);
  }

  .hero h1 {
    font-size: 112px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-visual img {
    min-height: 470px;
  }

  .intro-layout,
  .experience-grid,
  .architecture,
  .prototype-layout {
    grid-template-columns: 1fr;
  }

  .prototype-notes {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  :root {
    --section-x: 20px;
  }

  .site-header {
    min-height: 66px;
    padding: 0 18px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-mark,
  .brand-mark svg {
    width: 30px;
    height: 30px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 56px);
    padding-top: 104px;
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: 72px;
  }

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

  .hero-body,
  .section-heading p,
  .summary p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .hero-visual {
    position: absolute;
    inset: auto 0 0 0;
    min-height: 330px;
    border-radius: 0;
    opacity: 0.26;
    box-shadow: none;
  }

  .hero-visual img {
    min-height: 330px;
    object-position: center bottom;
  }

  .hero-panel-right {
    top: 22px;
    right: 18px;
  }

  .hero-panel-left {
    left: 18px;
    bottom: 24px;
  }

  .hero-panel-left,
  .hero-panel-right {
    display: none;
  }

  .floating-panel {
    min-width: 112px;
    padding: 12px;
  }

  .floating-panel strong {
    font-size: 22px;
  }

  .intro,
  .experience,
  .ai-section,
  .prototype,
  .defense,
  .summary {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .summary h2 {
    font-size: 40px;
  }

  .intro-story,
  .architecture-copy,
  .prototype-notes,
  .thesis-panel {
    padding: 24px;
  }

  .metric {
    min-height: 92px;
  }

  .metric strong {
    font-size: 40px;
  }

  .preview-shell {
    grid-template-columns: 1fr;
  }

  .preview-shell aside {
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .preview-shell aside strong {
    grid-column: 1 / -1;
  }

  .preview-top {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .pipeline-track {
    display: none;
  }

  .device-stack {
    min-height: auto;
  }

  .phone-frame {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 260px;
    margin: 0 auto 22px;
  }

  .laptop-frame {
    margin-left: 0;
    padding: 16px;
  }

  .prototype-tabs {
    grid-template-columns: 1fr;
  }

  .prototype-panel {
    min-height: 320px;
    padding: 24px;
  }

  .prototype-panel h3 {
    font-size: 25px;
  }

  .review-cards {
    grid-template-columns: 1fr;
  }

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

  .evaluation-table {
    overflow: visible;
  }

  .evaluation-table div {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .evaluation-table span + span,
  .evaluation-table div:first-child span + span {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 20px;
  }
}

@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;
  }
}
