:root {
  --void: #121110;
  --zen: #f4f3ed;
  --industrial: #f5f5f5;
  --bronze: #b89a72;
  --track: #333333;
  --danger: #d5534f;
  --signal: #65c978;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --logic: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--zen);
  background: var(--void);
  cursor: none;
  font-family: var(--logic);
  overflow-x: hidden;
}

a,
button {
  color: inherit;
  cursor: none;
}

.film-grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor--dot {
  width: 10px;
  height: 10px;
  background: #c2bfb8;
  transition: background 120ms ease, box-shadow 120ms ease;
}

.cursor--dot.is-clicking {
  background: #d4a832;
  box-shadow: 0 0 10px 3px rgba(212, 168, 50, 0.6);
}

.cursor-glow {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 168, 50, 0.55) 0%, transparent 70%);
  animation: cursor-glow-expand 0.55s ease-out forwards;
}

@keyframes cursor-glow-expand {
  from {
    width: 15px;
    height: 15px;
    opacity: 1;
  }
  to {
    width: 90px;
    height: 90px;
    opacity: 0;
  }
}

.topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 58px 5.55vw 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}

.topbar a {
  text-decoration: none;
  font-size: 12px;
}

.brand {
  letter-spacing: 0.15em;
}

.availability {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 243, 237, 0.76);
}

.availability span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bronze);
}

.dark-section {
  background: var(--void);
}

.section-gap {
  height: 40vh;
  background: var(--void);
}

.hero {
  position: relative;
  min-height: 100vh;
  height: 900px;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-code,
.process-heading p,
.archive-index {
  margin: 0;
  color: var(--bronze);
  font: 10px/1.8 var(--mono);
  letter-spacing: 0.1em;
}

.hero .section-code {
  margin-bottom: 64px;
}

.scroll-reveal-wrap {
  position: relative;
}

.scroll-reveal-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(184, 154, 114, 0.9) 20%,
    rgba(184, 154, 114, 0.9) 80%,
    transparent
  );
  box-shadow: 0 0 10px 2px rgba(184, 154, 114, 0.4);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.scroll-reveal-wrap.is-opening .scroll-reveal-edge {
  animation: scroll-edge-open 1.15s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.scroll-reveal-wrap.is-closing .scroll-reveal-edge {
  animation: scroll-edge-close 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes scroll-edge-open {
  from {
    left: 0;
    opacity: 1;
  }
  to {
    left: calc(100% - 6px);
    opacity: 0.4;
  }
}

@keyframes scroll-edge-close {
  from {
    left: calc(100% - 6px);
    opacity: 0.8;
  }
  to {
    left: 0;
    opacity: 0;
  }
}

.flip-board {
  display: grid;
  gap: 22px;
}

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

.flip-tile {
  position: relative;
  width: 80px;
  height: 120px;
  perspective: 600px;
  color: var(--zen);
}

.flip-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  background: #1a1a1a;
  transition: transform 400ms cubic-bezier(0.2, 0.75, 0.25, 1),
    background 400ms ease;
  transition-delay: var(--delay, 0ms);
  backface-visibility: hidden;
}

.flip-half::after {
  content: attr(data-char);
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  display: grid;
  place-items: center;
  opacity: 0;
  font: 300 58px/1 var(--serif);
  transition: opacity 160ms ease;
}

.flip-top {
  top: 0;
  border-bottom: 1px solid #050505;
  background: linear-gradient(#1d1d1d, #181818);
  transform-origin: bottom;
}

.flip-top::after {
  top: 0;
}

.flip-bottom {
  bottom: 0;
  transform-origin: top;
}

.flip-bottom::after {
  bottom: 0;
}

.flip-tile.is-awake .flip-top {
  transform: rotateX(-8deg);
}

.flip-tile.is-awake .flip-half {
  background: #20201e;
}

.flip-tile.is-awake .flip-half::after {
  opacity: 1;
}

.interaction-hint {
  margin: 38px 0 0;
  color: #6b6864;
  font: 300 13px var(--serif);
  letter-spacing: 0.08em;
}

.hero-copy {
  position: absolute;
  left: 5.55vw;
  bottom: 11vh;
  margin: 0;
  color: var(--bronze);
  font: 300 14px/2 var(--serif);
  letter-spacing: 0.04em;
}

.copy-mask {
  display: block;
  overflow: hidden;
  line-height: 2;
}

.copy-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease-out,
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.copy-mask:nth-child(1) .copy-line { transition-delay: 0ms; }
.copy-mask:nth-child(2) .copy-line { transition-delay: 120ms; }
.copy-mask:nth-child(3) .copy-line { transition-delay: 240ms; }

.hero-copy.is-revealed .copy-line {
  opacity: 1;
  transform: translateY(0);
}

.scroll-mark {
  position: absolute;
  right: 5.55vw;
  bottom: 10vh;
  writing-mode: vertical-rl;
  color: #57534d;
  font: 9px var(--mono);
  letter-spacing: 0.18em;
}

.archive-shell {
  position: relative;
  height: 800vh;
  background: var(--void);
}

.archive-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.archive-track {
  display: flex;
  width: 450vw;
  height: 100%;
  will-change: transform;
}

.archive-card {
  position: relative;
  flex: 0 0 150vw;
  width: 150vw;
  height: 100vh;
  overflow: hidden;
}

.gastronomy {
  background: #000;
}

.card-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.gastronomy .card-inner {
  width: 100vw;
  margin: 0 auto;
}

.industrial .card-inner,
.architecture .card-inner {
  width: 150vw;
  margin: 0;
}

.autopair .card-inner {
  width: 100vw;
  margin: 0 auto;
  padding: 0;
  display: block;
}

.autopair-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.autopair-gif {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.7s ease;
  width: 60vw;
  height: 70vh;
  object-fit: cover;
}

.autopair-badge {
  left: 15vw;
  align-items: stretch;
  gap: 6px;
}

.autopair-badge.demo-badge span {
  border-color: #8a9299;
  color: #b8c8d4;
  background: transparent;
  text-align: center;
}

.autopair-badge.demo-badge p {
  border: 1px solid #8a9299;
  color: #b8c8d4;
  background: transparent;
  padding: 6px 14px;
  margin: 0;
  text-align: center;
  font: 13px var(--mono);
  letter-spacing: 0.12em;
}

.autopair .archive-index {
  position: absolute;
  left: 5.55vw;
  bottom: 12%;
}

.gastronomy-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.gastronomy-gif {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.7s ease;
  width: 60vw;
  height: 70vh;
  object-fit: cover;
  border: 1px solid var(--bronze);
  box-shadow: 0 0 20px rgba(184, 154, 114, 0.25);
}

.gastronomy-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.gastronomy-rail {
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 100%;
  background: #000;
  z-index: 1;
}

.demo-badge {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.demo-badge span {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  background: rgba(0, 0, 0, 0.6);
  font: 700 18px var(--mono);
  letter-spacing: 0.3em;
  backdrop-filter: blur(4px);
}

.demo-badge p {
  margin: 0;
  color: rgba(184, 154, 114, 0.75);
  font: 13px var(--mono);
  letter-spacing: 0.12em;
}

.salon-badge {
  left: 63vw;
  right: auto;
  top: 50%;
  align-items: stretch;
  gap: 6px;
}

.salon-badge span {
  border-color: #c48a9e;
  color: #fff;
  background: transparent;
  text-align: center;
}

.salon-badge p {
  color: #fff;
  padding: 6px 14px;
  border: 1px solid #c48a9e;
  background: transparent;
  margin: 0;
  text-align: center;
  font: 13px var(--mono);
  letter-spacing: 0.12em;
}

.gastronomy-rail h2 {
  position: absolute;
  right: 14%;
  bottom: 13%;
  margin: 0;
  font: 300 clamp(18px, 1.55vw, 26px) var(--serif);
  letter-spacing: 0.12em;
}

.gastronomy-rail .archive-index {
  position: absolute;
  top: 9%;
  left: 15%;
}

.industrial {
  background: var(--industrial);
  box-shadow: -18px 0 30px rgba(0, 0, 0, 0.18);
}

.autopair {
  box-shadow: none;
  flex: 0 0 100vw;
  width: 100vw;
  background: linear-gradient(
    135deg,
    #060708 0%,
    #181c20 18%,
    #2e3438 38%,
    #1a1d21 52%,
    #303538 68%,
    #111416 84%,
    #050607 100%
  );
}

.industrial .card-inner {
  padding: 8.88vh 5.55vw;
  display: grid;
  grid-template-columns: 1fr 1.04fr 1.38fr;
  grid-template-rows: 1.25fr 1.48fr;
  gap: 24px;
  color: var(--void);
}

.industrial:not(.autopair) .card-inner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: var(--void);
}

.bento {
  min-width: 0;
  border: 1px solid var(--void);
}

.bento img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1);
}

.bento-photo-main {
  grid-column: 1 / 3;
}

.bento-spec,
.bento-note,
.bento-material {
  padding: 30px;
  font-family: var(--mono);
}

.bento-spec h2 {
  margin: 0 0 26px;
  font: 400 clamp(22px, 2vw, 32px) var(--mono);
  letter-spacing: 0.03em;
}

.bento-spec pre,
.bento p,
.bento span {
  margin: 0;
  white-space: pre-wrap;
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.03em;
}

.bento-note,
.bento-material {
  position: relative;
}

.bento-note span {
  position: absolute;
  left: 30px;
  bottom: 28px;
}

.bento-photo-detail img {
  width: 70%;
  height: 70%;
  margin: 15%;
}

.architecture {
  background: var(--zen);
}

.architecture.salon {
  background: linear-gradient(
    135deg,
    #fdf5f7 0%,
    #f5e0e8 18%,
    #fceef3 38%,
    #edd4df 52%,
    #f8edf2 68%,
    #f0d8e4 84%,
    #fdf5f7 100%
  );
}

.architecture .card-inner {
  color: var(--void);
}

.salon .card-inner {
  width: 100vw;
  margin: 0 auto;
  overflow: visible;
}

.architecture figure {
  position: absolute;
  top: 10%;
  right: 18%;
  width: min(28.125vw, 405px);
  height: 80%;
  margin: 0;
  border: 1px solid rgba(18, 17, 16, 0.22);
}

.architecture figure img,
.architecture figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.salon-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.salon-gif {
  position: absolute;
  top: 50%;
  left: 2vw;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.7s ease;
  width: 60vw;
  height: 70vh;
  object-fit: cover;
}

.vertical-copy {
  position: absolute;
  top: 21%;
  left: 31%;
  display: flex;
  flex-direction: row-reverse;
  gap: 28px;
}

.vertical-copy p {
  margin: 0;
  writing-mode: vertical-rl;
  font: 300 20px/1.4 var(--serif);
  letter-spacing: 0.16em;
}

.vertical-copy i {
  position: absolute;
  right: -6px;
  top: 326px;
  width: 26px;
  height: 26px;
  background: var(--bronze);
}

.architecture .archive-index {
  position: absolute;
  left: 5.55vw;
  bottom: 12%;
}

.dark-ink {
  color: var(--void);
}

.archive-progress {
  position: absolute;
  left: 5.55vw;
  right: 5.55vw;
  bottom: 28px;
  height: 1px;
  background: rgba(244, 243, 237, 0.18);
}

.archive-progress i {
  display: block;
  width: 0;
  height: 1px;
  background: var(--bronze);
}

.process {
  position: relative;
  min-height: 100vh;
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.process-split {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: 0 5.55vw;
  gap: 3vw;
  min-height: 100vh;
}

.process-left {
  flex: 0 0 44%;
  display: flex;
  flex-direction: column;
  padding: 8vh 0;
}

.process-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-heading {
  position: static;
  margin-bottom: 5vh;
}

.process-heading h2 {
  margin: 0 0 10px;
  font: 300 clamp(42px, 4vw, 58px) var(--serif);
}

.discipline-axis {
  position: relative;
  flex: 1;
  padding-left: 26px;
  background: none;
  width: auto;
  top: auto;
  bottom: auto;
  left: auto;
}

.discipline-axis::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--track);
}

.process-node {
  position: relative;
  padding-bottom: 4px;
  cursor: none;
}

.node-tick {
  position: absolute;
  left: -30px;
  top: 16px;
}

.node-tick i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--track);
  background: var(--void);
  transition: background 300ms ease, border-color 300ms ease,
    box-shadow 300ms ease;
}

@keyframes tick-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 154, 114, 0); border-color: var(--track); }
  50%       { box-shadow: 0 0 0 5px rgba(184, 154, 114, 0.25); border-color: var(--bronze); }
}

.process-node:not(.is-active):not(.touched) .node-tick i {
  animation: tick-pulse 2s ease-in-out infinite;
}

.process-node:nth-child(2):not(.is-active):not(.touched) .node-tick i { animation-delay: 0.5s; }
.process-node:nth-child(3):not(.is-active):not(.touched) .node-tick i { animation-delay: 1s; }
.process-node:nth-child(4):not(.is-active):not(.touched) .node-tick i { animation-delay: 1.5s; }

.process-node.is-active .node-tick i {
  background: var(--bronze);
  border-color: var(--bronze);
  box-shadow: 0 0 8px rgba(184, 154, 114, 0.5);
}

.node-header {
  display: grid;
  grid-template-columns: 36px 96px 1fr;
  align-items: center;
  column-gap: 14px;
  padding: 12px 0;
  color: rgba(244, 243, 237, 0.45);
  transition: color 300ms ease;
}

.node-header b,
.node-header span {
  font: 10px var(--mono);
  letter-spacing: 0.08em;
}

.node-header h3 {
  margin: 0;
  font: 400 22px var(--serif);
}

.process-node:hover .node-header,
.process-node.is-active .node-header {
  color: var(--bronze);
}

.node-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 700ms cubic-bezier(0.76, 0, 0.24, 1),
    opacity 400ms ease;
}

.process-node.is-active .node-body {
  max-height: 240px;
  opacity: 1;
}

.node-body p {
  margin: 0 0 28px;
  color: rgba(244, 243, 237, 0.58);
  font: 300 13px/2 var(--serif);
  letter-spacing: 0.04em;
}

#hologram-canvas {
  display: block;
  width: min(38vw, 52vh);
  height: min(38vw, 52vh);
}

.process-note {
  position: static;
  text-align: right;
  padding: 2.5vh 5.55vw 4vh;
  margin: 0;
  color: var(--track);
  font: 300 13px var(--serif);
  letter-spacing: 0.04em;
}

.finale {
  position: relative;
  min-height: 900px;
  height: 100vh;
  overflow: hidden;
}

.finale-code {
  position: absolute;
  top: 8%;
  left: 5.55vw;
}

.finale h2 {
  position: absolute;
  left: 5.55vw;
  bottom: 49%;
  margin: 0;
  font: 300 clamp(52px, 5.3vw, 78px) / 1.24 var(--serif);
  letter-spacing: 0.01em;
}

.contact-form {
  position: absolute;
  left: 5.55vw;
  bottom: 34%;
  width: min(600px, 56vw);
}

.contact-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--bronze);
  font: 9px var(--mono);
  letter-spacing: 0.1em;
}

.email-field {
  position: relative;
  border-bottom: 1px solid var(--track);
}

.email-field input {
  width: 100%;
  padding: 0 150px 12px 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--zen);
  background: transparent;
  caret-color: var(--bronze);
  font: 15px var(--mono);
  letter-spacing: 0.05em;
  cursor: none;
}

.email-field input::placeholder {
  color: #4a4742;
}

.email-status {
  position: absolute;
  right: 0;
  bottom: 13px;
  color: #5f5b54;
  font: 8px var(--mono);
  letter-spacing: 0.08em;
}

.contact-form.is-valid .email-field {
  border-color: var(--bronze);
}

.contact-form.is-valid .email-status {
  color: var(--bronze);
}

.contact-form.is-invalid .email-status,
.contact-form.is-error .email-status {
  color: var(--danger);
}

.contact-form.is-sent .email-status {
  color: var(--signal);
}

.terminal {
  position: absolute;
  left: 5.55vw;
  bottom: 21%;
  width: min(820px, 72vw);
  height: 80px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.terminal.is-locked .terminal-handle {
  color: #6d6962;
  background: #292724;
}

.terminal.is-sending .terminal-handle {
  color: var(--void);
  background: var(--bronze);
}

.terminal.is-sent .terminal-handle {
  color: rgba(244, 243, 237, 0.55);
  background: #2a2826;
}

.terminal-track {
  position: relative;
  width: 600px;
  height: 44px;
}

.terminal-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--track);
}

.terminal-handle {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 170px;
  height: 42px;
  border: 0;
  border-radius: 0;
  color: rgba(244, 243, 237, 0.7);
  background: #2e2c29;
  font: 9px var(--mono);
  letter-spacing: 0.05em;
  user-select: none;
  touch-action: none;
}

.terminal-output {
  position: relative;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.terminal-address {
  min-width: 155px;
  font: 11px var(--mono);
}

.terminal-output i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 9px rgba(213, 83, 79, 0.45);
  animation: blink 1.5s infinite;
}

.terminal-output small {
  position: absolute;
  top: 28px;
  left: 0;
  width: 320px;
  color: var(--signal);
  opacity: 0;
  font: 9px var(--mono);
  letter-spacing: 0.04em;
  transition: opacity 300ms ease;
}

.terminal.is-connected .terminal-output i {
  background: var(--bronze);
  box-shadow: 0 0 12px rgba(184, 154, 114, 0.55);
  animation: none;
}

.terminal.is-connected .terminal-output small {
  opacity: 1;
}

.terminal-help {
  position: absolute;
  left: 5.55vw;
  bottom: 15%;
  margin: 0;
  color: var(--track);
  font: 300 12px var(--serif);
  letter-spacing: 0.04em;
}

.cyber-seal {
  position: absolute;
  left: 5.55vw;
  right: 5.55vw;
  bottom: 4.8%;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--track);
  color: rgba(244, 243, 237, 0.68);
  font: 10px var(--mono);
  letter-spacing: 0.08em;
}

@keyframes blink {
  0%,
  45%,
  100% {
    opacity: 0.35;
  }
  50%,
  90% {
    opacity: 1;
  }
}

@media (max-width: 800px) {
  body,
  a,
  button {
    cursor: auto;
  }

  .cursor,
  .cursor-glow {
    display: none;
  }

  .topbar {
    padding: 28px 22px 0;
  }

  .availability {
    font-size: 0 !important;
  }

  .hero {
    height: 100svh;
  }

  .hero .section-code {
    margin-bottom: 40px;
  }

  .flip-tile {
    width: 44px;
    height: 72px;
  }

  .flip-half::after {
    height: 72px;
    font-size: 34px;
  }

  .flip-row {
    gap: 7px;
  }

  .hero-copy {
    left: 22px;
    right: 22px;
    bottom: 9%;
    font-size: 12px;
  }

  .hero-copy br {
    display: none;
  }

  .archive-shell {
    height: auto;
  }

  .archive-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .archive-track {
    width: 100%;
    height: auto;
    display: block;
    transform: none !important;
  }

  .archive-card {
    width: 100%;
    height: 100svh;
  }

  .gastronomy {
    grid-template-columns: 76% 24%;
  }

  .industrial {
    padding: 72px 22px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 0.7fr 1fr;
    gap: 10px;
  }

  .bento-photo-main {
    grid-column: 1 / 3;
  }

  .bento-spec h2 {
    font-size: 16px;
  }

  .bento-spec,
  .bento-note,
  .bento-material {
    padding: 14px;
  }

  .bento-photo-detail {
    display: none;
  }

  .architecture figure {
    right: 8%;
    width: 47vw;
  }

  .vertical-copy {
    left: 12%;
    gap: 14px;
  }

  /* ── 三张 demo 卡手机适配 ── */
  .gastronomy .card-inner,
  .autopair .card-inner,
  .salon .card-inner {
    width: 100%;
    display: block;
    padding: 0;
  }

  .gastronomy-image,
  .autopair-image,
  .salon-image {
    position: absolute;
    inset: 0;
  }

  .gastronomy-gif,
  .autopair-gif,
  .salon-gif {
    width: 90vw;
    height: 55vh;
    object-fit: cover;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .gastronomy-rail {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 16px 22px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
  }

  .gastronomy-rail h2 {
    position: static;
    font-size: 18px;
    margin: 0;
  }

  .gastronomy-rail .archive-index {
    position: static;
    font-size: 9px;
    margin-bottom: 6px;
  }

  .demo-badge {
    left: 50%;
    top: auto;
    bottom: 80px;
    transform: translateX(-50%);
    align-items: center;
  }

  .autopair-badge,
  .salon-badge {
    left: 50%;
    top: auto;
    bottom: 80px;
    transform: translateX(-50%);
    right: auto;
  }

  .autopair .archive-index,
  .salon .archive-index {
    left: 22px;
    bottom: 24px;
  }

  .process {
    height: auto;
    min-height: auto;
  }

  .process-split {
    flex-direction: column;
    padding: 0 22px;
    min-height: auto;
  }

  .process-left {
    flex: none;
    padding: 6vh 0;
  }

  .process-right {
    display: none;
  }

  .discipline-axis {
    padding-left: 20px;
  }

  .node-header {
    grid-template-columns: 28px 80px 1fr;
    column-gap: 10px;
  }

  .process-note {
    display: none;
  }

  .finale h2 {
    left: 22px;
    bottom: 56%;
    font-size: 43px;
  }

  .contact-form {
    left: 22px;
    bottom: 39%;
    width: calc(100vw - 44px);
  }

  .terminal {
    left: 22px;
    bottom: 24%;
    width: calc(100vw - 44px);
    display: block;
  }

  .terminal-track {
    width: 100%;
  }

  .terminal-output {
    margin-top: 18px;
  }

  .terminal-help {
    left: 22px;
    bottom: 13%;
  }

  .cyber-seal {
    left: 22px;
    right: 22px;
    font-size: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
