/* ==========================================================================
   穹驭科技 QIONGYU — 2D Hierarchical Architecture
   Vertical (100% Native Smooth Scroll): Company Cover -> Works Stage -> About & Contact
   Horizontal (Inside Layer 02): 3 Distinct Product Identities with 110fps GPU Transitions
   ========================================================================== */

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

:root {
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(1.25rem, 4.2vw, 4.2rem);
  --max-w: 88rem;
  --header-h: 70px;
  --works-dock-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
  --signal: #f59e0b;

  /* Top Chrome Tokens (Default: Company Dark Ink Cover) */
  --chrome-bg: rgba(7, 17, 31, 0.9);
  --chrome-text: #fbfaf7;
  --chrome-muted: rgba(251, 250, 247, 0.68);
  --chrome-faint: rgba(251, 250, 247, 0.44);
  --chrome-line: rgba(251, 250, 247, 0.13);
  --chrome-line-strong: rgba(251, 250, 247, 0.28);
  --chrome-accent: #1ca6b6;
  --chrome-accent-bright: #22d3ee;
  --chrome-accent-on: #fbfaf7;
  --chrome-radius: 0px;
}

/* Chrome Synchronized Themes */
body[data-chrome-theme="aetherguard"],
body[data-chrome-theme="contact"] {
  --chrome-bg: #fbfaf7;
  --chrome-text: #07111f;
  --chrome-muted: rgba(7, 17, 31, 0.65);
  --chrome-faint: rgba(7, 17, 31, 0.44);
  --chrome-line: rgba(7, 17, 31, 0.12);
  --chrome-line-strong: rgba(7, 17, 31, 0.24);
  --chrome-accent: #0f7480;
  --chrome-accent-bright: #22d3ee;
  --chrome-accent-on: #fbfaf7;
  --chrome-radius: 0px;
}

body[data-chrome-theme="zaochang"] {
  --chrome-bg: #fff8f0;
  --chrome-text: #3d2c1e;
  --chrome-muted: #6e6152;
  --chrome-faint: rgba(61, 44, 30, 0.52);
  --chrome-line: #ecdcc4;
  --chrome-line-strong: #d8c09d;
  --chrome-accent: #c03d1e;
  --chrome-accent-bright: #ff6b4a;
  --chrome-accent-on: #fffdf8;
  --chrome-radius: 6px;
}

body[data-chrome-theme="rearm"] {
  --chrome-bg: #e8ecec;
  --chrome-text: #111619;
  --chrome-muted: rgba(17, 22, 25, 0.68);
  --chrome-faint: rgba(17, 22, 25, 0.48);
  --chrome-line: rgba(17, 22, 25, 0.14);
  --chrome-line-strong: rgba(17, 22, 25, 0.28);
  --chrome-accent: #4d7c0f;
  --chrome-accent-bright: #84cc16;
  --chrome-accent-on: #f7fee7;
  --chrome-radius: 0px;
}

/* 100% Native Smooth Vertical Scroll + Gentle Proximity Snap (Never Hijacks Wheel!) */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  background: #07111f;
}

body {
  margin: 0;
  background: #07111f;
  color: #07111f;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary, select { cursor: pointer; font: inherit; }
input, textarea { font: inherit; }
figure, h1, h2, h3, p, ul, ol, dl { margin: 0; }

:focus-visible {
  outline: 2px solid var(--chrome-accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 120;
  top: -4.5rem;
  left: 1rem;
  padding: 0.55rem 1.1rem;
  background: #fbfaf7;
  color: #07111f;
  font-size: 0.875rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 0.75rem; }

.frame {
  width: min(calc(100% - 2 * var(--gutter)), var(--max-w));
  margin-inline: auto;
}

/* Zero-cost static 128px noise tile */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ==========================================================================
   FIXED HEADER (Solid Fast Chrome — Zero Heavy Backdrop Blur)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 60;
  background: var(--chrome-bg);
  color: var(--chrome-text);
  border-bottom: 1px solid var(--chrome-line);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.3s var(--ease);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.72rem; min-height: 44px; }
.brand-logo {
  position: relative;
  width: 36px;
  height: 29px;
  flex-shrink: 0;
}
.brand-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.28s var(--ease);
}
.brand-logo-light { opacity: 1; }
.brand-logo-dark { opacity: 0; }
body:not([data-chrome-theme="home"]) .brand-logo-light { opacity: 0; }
body:not([data-chrome-theme="home"]) .brand-logo-dark { opacity: 1; }
.brand-text { display: inline-flex; align-items: baseline; gap: 0.5rem; }
.brand-cn { font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; }
.brand-en { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; color: var(--chrome-faint); }

.desktop-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.8vw, 2.6rem); }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--chrome-muted);
  transition: color 0.2s var(--ease);
}

.nav-link:hover,
.nav-link.is-active { color: var(--chrome-text); }

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  background: var(--chrome-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1.05rem; }
.header-theme-code { font-family: var(--font-mono); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.18em; color: var(--chrome-faint); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.18rem 0.45rem;
  border: 1px solid var(--chrome-line);
  border-radius: var(--chrome-radius);
  transition: border-color 0.25s var(--ease);
}

.lang-btn {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0.2rem 0.28rem;
  min-height: 28px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--chrome-faint);
  transition: color 0.2s var(--ease);
}

.lang-btn:hover { color: var(--chrome-text); }

.lang-btn.is-active {
  color: var(--chrome-text);
  font-weight: 600;
}

.lang-btn.is-active::after {
  content: "";
  position: absolute;
  left: 0.24rem;
  right: 0.24rem;
  bottom: 2px;
  height: 1.5px;
  background: var(--chrome-accent);
}

.lang-sep {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--chrome-line-strong);
  user-select: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.3rem 1rem;
  border: 1px solid var(--chrome-line-strong);
  border-radius: var(--chrome-radius);
  color: var(--chrome-text);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.header-cta:hover {
  background: var(--chrome-accent);
  border-color: var(--chrome-accent);
  color: var(--chrome-accent-on);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--chrome-accent) 0%, var(--chrome-accent-bright) 100%);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  will-change: transform;
}

.mobile-nav { display: none; }

/* ==========================================================================
   SHARED FULL-SCREEN VERTICAL LAYER BASE
   ========================================================================== */
.layer {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
}

/* ==========================================================================
   LAYER 01 · 穹驭科技 公司首页 (Full 100svh Dark Ink Cover)
   ========================================================================== */
.layer-home {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #07111f;
  color: #fbfaf7;
  overflow: hidden;
  isolation: isolate;
}

.home-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.home-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.03) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.6s var(--ease-cinema);
  will-change: transform;
}

.home-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.72) 38%, rgba(7, 17, 31, 0.14) 64%, rgba(7, 17, 31, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.45) 0%, rgba(7, 17, 31, 0) 22%, rgba(7, 17, 31, 0) 74%, rgba(7, 17, 31, 0.9) 100%);
}

.edge-note {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: rgba(251, 250, 247, 0.28);
  pointer-events: none;
}

.edge-left { left: 1.1rem; top: 48%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; }
.edge-right { right: 1.1rem; top: 48%; transform: translateY(-50%); writing-mode: vertical-rl; }

.home-shell {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--header-h) + 2rem) 2rem;
}

.home-copy { max-width: min(50%, 39rem); }

.scene-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: clamp(1.3rem, 2.5vh, 2.1rem);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #1ca6b6;
}

.kicker-line { width: 1.9rem; height: 1px; background: #1ca6b6; }
.kicker-sep { opacity: 0.35; }
.scene-kicker span:last-child { font-family: var(--font-sans); letter-spacing: 0.12em; color: rgba(251, 250, 247, 0.72); }

.home-headline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.85rem, 5.3vw, 5.2rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fbfaf7;
  margin-bottom: clamp(1.2rem, 2.3vh, 1.85rem);
}

.reveal-mask { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.reveal-line { display: block; animation: heroMaskUp 0.85s var(--ease-cinema) both; }
.reveal-line-2 { animation-delay: 0.14s; }
@keyframes heroMaskUp { from { opacity: 0; transform: translate3d(0, 108%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }

.home-lead {
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.12vw, 1.05rem);
  line-height: 1.86;
  color: rgba(251, 250, 247, 0.7);
  font-weight: 300;
}

.action-row {
  margin-top: clamp(1.6rem, 3vh, 2.4rem);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.3rem;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.65rem 1.65rem;
  background: #fbfaf7;
  color: #07111f;
  border: 1px solid #fbfaf7;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.btn-solid:hover { background: #1ca6b6; border-color: #1ca6b6; color: #fbfaf7; }
.btn-arrow-down { transition: transform 0.24s var(--ease); }
.btn-solid:hover .btn-arrow-down { transform: translateY(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(251, 250, 247, 0.28);
  color: #fbfaf7;
  font-size: 0.88rem;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.btn-ghost:hover { border-color: #fbfaf7; background: rgba(251, 250, 247, 0.06); }

/* Illuminated Rail Signifier */
.home-rail { margin-top: clamp(2.4rem, 5vh, 4.2rem); max-width: 34.5rem; }
.hero-rail-track { display: flex; align-items: center; }
.hrt-dot { width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid rgba(251, 250, 247, 0.48); flex-shrink: 0; }
.hrt-solid { position: relative; overflow: hidden; width: 36%; height: 1.5px; background: linear-gradient(90deg, rgba(251, 250, 247, 0.5), #22d3ee); }
.hrt-pulse {
  position: absolute;
  top: -1px;
  left: 0;
  width: 36%;
  height: 3.5px;
  background: linear-gradient(90deg, transparent, #22d3ee, #fff);
  will-change: transform, opacity;
  animation: railScanGPU 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes railScanGPU {
  0% { transform: translate3d(-100%, 0, 0); opacity: 0; }
  16% { opacity: 1; }
  84% { transform: translate3d(265%, 0, 0); opacity: 1; }
  100% { transform: translate3d(300%, 0, 0); opacity: 0; }
}
.hrt-gate { width: 22px; height: 22px; border-radius: 4px; border: 1.5px solid #22d3ee; background: #07111f; box-shadow: 0 0 18px rgba(34, 211, 238, 0.36); display: grid; place-items: center; flex-shrink: 0; }
.hrt-gate i { width: 6px; height: 6px; border-radius: 1.5px; background: #fbfaf7; }
.hrt-dash { flex: 1; border-top: 1.5px dashed rgba(251, 250, 247, 0.28); }
.hero-rail-meta { margin-top: 0.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.16em; color: rgba(251, 250, 247, 0.44); white-space: nowrap; }
.hrt-signal { display: inline-flex; align-items: center; gap: 0.45rem; color: rgba(251, 250, 247, 0.72); }
.signal-pip { width: 6px; height: 6px; border-radius: 1.5px; background: var(--signal); box-shadow: 0 0 12px rgba(245, 158, 11, 0.9); animation: opacityPulse 3.2s ease-in-out infinite; }
@keyframes opacityPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

.home-fig { position: absolute; right: 0; bottom: 1.2rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em; color: rgba(251, 250, 247, 0.36); }

/* Bottom Scroll Cue Bar (Establishes Vertical Hierarchy: Company -> Works Below) */
.home-bottom-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(251, 250, 247, 0.12);
  background: rgba(7, 17, 31, 0.62);
}

.home-bottom-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-block: 0.65rem;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: rgba(251, 250, 247, 0.8);
}

.scroll-cue-line {
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg, transparent, #22d3ee);
  animation: cueDrop 2.2s ease-in-out infinite;
}

@keyframes cueDrop {
  0%, 100% { transform: translateY(-2px); opacity: 0.4; }
  50% { transform: translateY(3px); opacity: 1; }
}

.scroll-cue-cn {
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  color: rgba(251, 250, 247, 0.56);
}

.home-work-previews {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hwp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(251, 250, 247, 0.68);
  transition: color 0.2s var(--ease);
}

.hwp-link:hover { color: #fbfaf7; }
.hwp-dot { width: 7px; height: 7px; border-radius: 1.5px; }
.hwp-aether .hwp-dot { background: #22d3ee; }
.hwp-zaochang .hwp-dot { background: #ff6b4a; border-radius: 50%; }
.hwp-rearm .hwp-dot { background: #84cc16; }

/* ==========================================================================
   LAYER 02 · 作品展厅 (100svh Single-Screen Horizontal Product Deck)
   ========================================================================== */
.layer-works {
  height: 100svh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fbfaf7;
}

.work-sweep {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: 2px;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--chrome-accent), var(--chrome-accent-bright), transparent);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  will-change: transform, opacity;
}

.work-sweep.is-sweeping { animation: gateSweep 0.54s var(--ease-cinema) forwards; }
@keyframes gateSweep {
  0% { transform: scaleX(0); transform-origin: left; opacity: 0.95; }
  48% { transform: scaleX(1); transform-origin: left; opacity: 1; }
  52% { transform: scaleX(1); transform-origin: right; opacity: 1; }
  100% { transform: scaleX(0); transform-origin: right; opacity: 0; }
}

.work-deck {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
}

.work-slide {
  position: absolute;
  inset: 0;
  padding-top: calc(var(--header-h) + 1rem);
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  contain: layout paint style;
  background: var(--bg);
  color: var(--text);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(36px, 0, 0);
  transition:
    opacity 0.42s var(--ease-cinema),
    transform 0.5s var(--ease-cinema),
    visibility 0s linear 0.42s;
}

.work-slide:not(.is-active) * { animation-play-state: paused !important; }
.work-slide[data-exit="left"] { transform: translate3d(-32px, 0, 0); }
.work-slide[data-exit="right"] { transform: translate3d(32px, 0, 0); }

.work-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.44s var(--ease-cinema),
    transform 0.52s var(--ease-cinema),
    visibility 0s linear 0s;
}

/* Staggered GPU Entrance per Work Slide */
.work-slide .anim-stagger {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.4s var(--ease), transform 0.48s var(--ease-cinema);
}

.work-slide.is-active .anim-stagger {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: calc(0.06s + var(--i, 0) * 0.045s);
}

.work-slide .anim-media {
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(1.015);
  transition: opacity 0.45s var(--ease) 0.04s, transform 0.56s var(--ease-cinema) 0.04s;
}

.work-slide.is-active .anim-media {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Three Distinct Product Visual Systems (Pre-painted on each slide!) */
.work-slide-aether {
  --bg: #fbfaf7;
  --surface: #f2f0ea;
  --text: #07111f;
  --muted: rgba(7, 17, 31, 0.66);
  --faint: rgba(7, 17, 31, 0.44);
  --line: rgba(7, 17, 31, 0.12);
  --line-strong: rgba(7, 17, 31, 0.24);
  --accent: #0f7480;
  --accent-on: #fbfaf7;
  --radius: 0px;
  --photo-radius: 0px;
  background-color: #fbfaf7;
  background-image: radial-gradient(rgba(15, 116, 128, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
}

.work-slide-zaochang {
  --bg: #fff8f0;
  --surface: #f4ead9;
  --text: #3d2c1e;
  --muted: #6e6152;
  --faint: rgba(61, 44, 30, 0.52);
  --line: #ecdcc4;
  --line-strong: #d8c09d;
  --accent: #c03d1e;
  --accent-on: #fffdf8;
  --radius: 6px;
  --photo-radius: 10px;
  background-color: #fff8f0;
  background-image:
    radial-gradient(900px 560px at 88% 6%, rgba(255, 107, 74, 0.12), transparent 60%),
    radial-gradient(760px 520px at 8% 92%, rgba(245, 158, 11, 0.1), transparent 58%);
}

.work-slide-rearm {
  --bg: #e8ecec;
  --surface: #dce2e2;
  --text: #111619;
  --muted: rgba(17, 22, 25, 0.68);
  --faint: rgba(17, 22, 25, 0.48);
  --line: rgba(17, 22, 25, 0.14);
  --line-strong: rgba(17, 22, 25, 0.28);
  --accent: #4d7c0f;
  --accent-on: #f7fee7;
  --radius: 0px;
  --photo-radius: 0px;
  background-color: #e8ecec;
  background-image:
    linear-gradient(to right, rgba(17, 22, 25, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 22, 25, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Work Content Grid */
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}

.subview-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.75rem; }

.sv-btn {
  padding: 0.34rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.sv-btn:hover { border-color: var(--line-strong); color: var(--text); }
.sv-btn.is-active { background: var(--text); border-color: var(--text); color: var(--accent-on); }

.sv-pill-warm {
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
}

.sv-code { margin-left: auto; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; color: var(--faint); }

.subview-panel { animation: subFadeIn 0.3s var(--ease-cinema); }
.subview-panel[hidden] { display: none; }
@keyframes subFadeIn { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }

.stage-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--photo-radius);
  background: #14181c;
  border: 1px solid var(--line);
}

.stage-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s var(--ease); }
.stage-photo:hover img { transform: scale(1.02); }
.stage-photo-warm img { object-position: 50% 56%; }
.stage-photo-ref { background: var(--surface); }
.stage-photo-ref img { object-fit: contain; padding: 1.5rem; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.04); }

.photo-tag {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(251, 250, 247, 0.94);
  background: rgba(7, 17, 31, 0.78);
  padding: 0.24rem 0.52rem;
}

.photo-tag-tl { top: 0.85rem; left: 0.85rem; }
.photo-tag-tr { top: 0.85rem; right: 0.85rem; }

.photo-cap {
  position: absolute;
  left: 0.85rem;
  bottom: 0.8rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(251, 250, 247, 0.84);
  text-shadow: 0 1px 6px rgba(7, 17, 31, 0.85);
}

.photo-cap-dark { color: var(--muted); text-shadow: none; font-family: var(--font-sans); font-size: 0.76rem; letter-spacing: 0; }

/* Mini Interactive M1-M4 Blueprint */
.mini-blueprint {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #07111f;
  color: #fbfaf7;
  border: 1px solid rgba(15, 116, 128, 0.35);
}

.mini-blueprint[data-view="released"] { border-color: rgba(245, 158, 11, 0.55); }
.mini-blueprint.is-tripped { animation: failFlash 0.5s var(--ease); }
@keyframes failFlash { 0% { border-color: #f59e0b; } 50% { border-color: #22d3ee; } 100% { border-color: rgba(15, 116, 128, 0.35); } }

.mb-top { display: flex; justify-content: space-between; align-items: center; padding: 0.62rem 1rem; border-bottom: 1px solid rgba(251, 250, 247, 0.12); font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; color: rgba(251, 250, 247, 0.5); }
.mb-badge { color: #22d3ee; }
.mini-blueprint[data-view="released"] .mb-badge { color: #f59e0b; }

.mb-svg-wrap { padding: 0.5rem 0.75rem; flex: 1; display: grid; place-items: center; }
.gate-svg { width: 100%; height: auto; display: block; }
.svg-appliance-label { fill: rgba(28, 166, 182, 0.78); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.15em; }
.svg-box-title { fill: #fbfaf7; font-family: var(--font-sans); font-size: 13px; font-weight: 600; }
.svg-box-mono { fill: rgba(251, 250, 247, 0.45); font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.11em; }
.svg-mod-code { fill: #1ca6b6; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; }
.svg-mod-cn { fill: rgba(251, 250, 247, 0.92); font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; }
.svg-mod-strong { fill: #fbfaf7; font-weight: 700; }

.track-out-active { stroke-dasharray: 220; stroke-dashoffset: 220; opacity: 0; transition: stroke-dashoffset 0.45s var(--ease), opacity 0.28s var(--ease); }
.gate-box, .gate-core, .gate-glow, .m2-m4-line, .link-box { transition: stroke 0.28s var(--ease), fill 0.28s var(--ease), opacity 0.28s var(--ease); }

.pulse-in { animation: pulseInGPU 2.6s linear infinite; will-change: transform, opacity; }
@keyframes pulseInGPU { 0% { transform: translateX(0); opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translateX(204px); opacity: 0; } }

.gate-block-ripple { transform-box: fill-box; transform-origin: center; opacity: 0; animation: rippleGPU 2.6s ease-out infinite; }
@keyframes rippleGPU { 0%, 76% { opacity: 0; transform: scale(0.75); } 85% { opacity: 0.72; transform: scale(1.4); } 100% { opacity: 0; transform: scale(3.2); } }

.pulse-ctrl { animation: ctrlGPU 2.2s ease-in-out infinite; will-change: transform, opacity; }
@keyframes ctrlGPU { 0% { transform: translateX(0); opacity: 0; } 25% { opacity: 0.9; } 85% { transform: translateX(22px); opacity: 0.9; } 100% { transform: translateX(24px); opacity: 0; } }

.pulse-out { opacity: 0; will-change: transform, opacity; }
.mini-blueprint[data-view="released"] .gate-block-ripple { animation: none; opacity: 0; }
.mini-blueprint[data-view="released"] .track-out-active { stroke-dashoffset: 0; opacity: 1; }
.mini-blueprint[data-view="released"] .gate-box { stroke: #f59e0b; }
.mini-blueprint[data-view="released"] .gate-core { fill: #f59e0b; }
.mini-blueprint[data-view="released"] .gate-glow { opacity: 0.16; }
.mini-blueprint[data-view="released"] .m2-m4-line { stroke: #f59e0b; stroke-dasharray: none; }
.mini-blueprint[data-view="released"] .link-box { stroke: rgba(245, 158, 11, 0.7); }
.mini-blueprint[data-view="released"] .pulse-out { animation: pulseOutGPU 2s linear infinite; }
@keyframes pulseOutGPU { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(206px); opacity: 0; } }

.mb-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 0.9rem; padding: 0.65rem 1rem; border-top: 1px solid rgba(251, 250, 247, 0.12); background: rgba(11, 23, 40, 0.75); }
.mb-desc { flex: 1 1 14rem; font-size: 0.78rem; color: rgba(251, 250, 247, 0.72); }
.mb-controls { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.bp-btn { padding: 0.3rem 0.68rem; border: 1px solid rgba(251, 250, 247, 0.18); background: transparent; color: rgba(251, 250, 247, 0.74); font-size: 0.75rem; }
.bp-btn[aria-pressed="true"] { border-color: #22d3ee; color: #fbfaf7; background: rgba(15, 116, 128, 0.22); }
.bp-btn[data-gate-view="released"][aria-pressed="true"] { border-color: #f59e0b; color: #fde68a; background: rgba(245, 158, 11, 0.16); }
.bp-btn-fault { border-style: dashed; }
.bp-btn-fault:hover { border-color: #f59e0b; color: #fde68a; }

/* Cool-Mist Creed Poster Subview */
.creed-poster { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); display: flex; align-items: center; padding: 2.2rem 2.6rem; background: #dfe4e4; }
.creed-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.creed-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(96deg, rgba(232, 236, 236, 0.76) 0%, rgba(226, 230, 230, 0.44) 48%, rgba(7, 17, 31, 0.14) 100%); }
.cp-edge { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.2em; color: rgba(7, 17, 31, 0.5); white-space: nowrap; }
.cp-top { top: 0.8rem; }
.cp-bottom { bottom: 0.8rem; }
.cp-copy { position: relative; z-index: 2; color: #07111f; }
.cp-headline { font-family: var(--font-sans); font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 1rem; }
.cp-headline span { display: block; }
.cp-headline strong { font-weight: 900; }
.cp-headline em { font-style: normal; font-weight: 200; }
.cp-sub { font-size: 0.88rem; line-height: 1.75; color: rgba(7, 17, 31, 0.72); }
.cp-signal { position: absolute; right: 1.6rem; bottom: 1.6rem; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.18em; color: rgba(251, 250, 247, 0.86); }
.cp-amber { width: 20px; height: 20px; border-radius: 3px; background: #f59e0b; box-shadow: 0 0 24px rgba(245, 158, 11, 0.7); animation: opacityPulse 3.6s ease-in-out infinite; }

.work-metrics { margin-top: 0.85rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-metrics div { padding: 0.7rem 0.65rem 0.7rem 0; border-right: 1px solid var(--line); }
.work-metrics div:not(:first-child) { padding-left: 0.75rem; }
.work-metrics div:last-child { border-right: 0; padding-right: 0; }
.work-metrics dt { font-family: var(--font-mono); font-size: 0.92rem; font-weight: 600; color: var(--text); }
.work-metrics dd { margin: 0.15rem 0 0; font-size: 0.74rem; color: var(--faint); line-height: 1.4; }

/* Right Copy Column */
.work-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 0.9rem; }
.aether-logo-wrap { max-width: 14.5rem; margin-bottom: 0.9rem; }
.aether-logo-wrap img { width: 100%; height: auto; mix-blend-mode: multiply; }
.work-brand-hero { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.15; color: var(--text); margin-bottom: 0.45rem; }
.work-brand-hero span { font-family: var(--font-mono); font-size: 0.44em; font-weight: 500; letter-spacing: 0.14em; color: var(--faint); margin-left: 0.4rem; }
.work-headline { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.38rem, 2.2vw, 1.95rem); line-height: 1.3; color: var(--text); margin-bottom: 0.8rem; }
.work-desc { font-size: 0.92rem; line-height: 1.78; color: var(--muted); }
.work-note { margin-block: 1.1rem; padding: 0.75rem 1rem; border-left: 2.5px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.83rem; line-height: 1.65; color: var(--muted); }
.work-note strong { color: var(--text); }
.work-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.work-caps span { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 0.25rem; }
.work-caps strong { display: block; font-size: 0.9rem; color: var(--text); margin-bottom: 0.2rem; }
.work-caps p { font-size: 0.8rem; line-height: 1.6; color: var(--muted); }

.btn-work-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.55rem 1.4rem; background: var(--text); color: var(--accent-on); border: 1px solid var(--text); border-radius: var(--radius); font-size: 0.86rem; font-weight: 500; transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease); }
.btn-work-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-work-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.5rem 1.25rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--text); font-size: 0.86rem; font-weight: 500; transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease); }
.btn-work-outline:hover { background: var(--text); border-color: var(--text); color: var(--accent-on); }

/* Dedicated Product Switcher Dock (Bottom of Layer 02 ONLY) */
.works-dock {
  position: relative;
  z-index: 15;
  height: var(--works-dock-h);
  border-top: 1px solid var(--dock-line, rgba(7, 17, 31, 0.12));
  background: var(--dock-bg, #fbfaf7);
  color: var(--dock-text, #07111f);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.3s var(--ease);
}

.layer-works[data-active-work="aetherguard"] .works-dock {
  --dock-bg: #fbfaf7;
  --dock-text: #07111f;
  --dock-muted: rgba(7, 17, 31, 0.6);
  --dock-line: rgba(7, 17, 31, 0.12);
  --dock-accent: #0f7480;
}

.layer-works[data-active-work="zaochang"] .works-dock {
  --dock-bg: #fff8f0;
  --dock-text: #3d2c1e;
  --dock-muted: #6e6152;
  --dock-line: #ecdcc4;
  --dock-accent: #c03d1e;
}

.layer-works[data-active-work="rearm"] .works-dock {
  --dock-bg: #e8ecec;
  --dock-text: #111619;
  --dock-muted: rgba(17, 22, 25, 0.62);
  --dock-line: rgba(17, 22, 25, 0.15);
  --dock-accent: #4d7c0f;
}

.works-dock-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.works-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 1; height: 100%; }

.wt-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.25rem;
  border: 0;
  border-right: 1px solid var(--dock-line);
  background: transparent;
  color: var(--dock-muted);
  text-align: left;
  transition: color 0.2s var(--ease);
}

.wt-btn:first-child { padding-left: 0; }
.wt-btn:last-child { border-right: 0; }

.wt-btn::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2.5px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s var(--ease);
}

.wt-aether::before { background: #0f7480; }
.wt-zaochang::before { background: #ff6b4a; }
.wt-rearm::before { background: #65a30d; }
.wt-btn:hover, .wt-btn.is-active { color: var(--dock-text); }
.wt-btn.is-active::before { transform: scaleX(1); }

.wt-swatch { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.wt-sw-aether { background: #0f7480; }
.wt-sw-zaochang { background: #ff6b4a; border-radius: 50%; }
.wt-sw-rearm { background: #65a30d; }

.wt-info { display: flex; flex-direction: column; min-width: 0; }
.wt-info strong { font-size: 0.88rem; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-info span { font-size: 0.73rem; opacity: 0.72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.works-stepper { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.works-counter { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--dock-muted); margin-right: 0.25rem; }

.step-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--dock-line);
  background: transparent;
  color: var(--dock-text);
  display: grid;
  place-items: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.step-btn:hover { background: var(--dock-accent); border-color: var(--dock-accent); color: #fff; }

.step-down {
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--dock-line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dock-accent);
  white-space: nowrap;
}

.step-down:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   LAYER 03 · 关于穹驭与商务合作 (Corporate Paper Closure · 100svh)
   ========================================================================== */
.layer-contact {
  background: #fbfaf7;
  color: #07111f;
  border-top: 1px solid rgba(7, 17, 31, 0.12);
  display: flex;
  align-items: center;
}

.contact-shell {
  padding-block: calc(var(--header-h) + 2.5rem) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  gap: 2.5rem;
}

.contact-grid {
  margin-block: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}

.contact-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; color: #0f7480; margin-bottom: 0.9rem; }
.contact-headline { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.24; color: #07111f; margin-bottom: 0.9rem; }
.contact-desc { font-size: 0.94rem; line-height: 1.82; color: rgba(7, 17, 31, 0.66); }

.mini-matrix { margin-top: 1.75rem; border-top: 1px solid rgba(7, 17, 31, 0.24); }
.mm-head { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid rgba(7, 17, 31, 0.12); font-size: 0.82rem; font-weight: 700; }
.mm-head span:last-child { font-family: var(--font-mono); font-size: 0.66rem; color: rgba(7, 17, 31, 0.44); font-weight: 500; }
.mm-list { list-style: none; padding: 0; }
.mm-list li { display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: baseline; padding: 0.82rem 0; border-bottom: 1px solid rgba(7, 17, 31, 0.12); font-size: 0.84rem; }
.mm-list strong { color: #07111f; }
.mm-list strong span { font-size: 0.74rem; color: rgba(7, 17, 31, 0.44); font-weight: 400; margin-left: 0.2rem; }
.mm-list li > span { color: rgba(7, 17, 31, 0.65); }
.mm-list em { font-style: normal; font-size: 0.74rem; font-weight: 600; white-space: nowrap; }
.st-teal { color: #0f7480; }
.st-warm { color: #c03d1e; }
.st-lab { color: #4d7c0f; }

.inquiry-form { padding: clamp(1.5rem, 2.8vw, 2.2rem); background: #f3f1eb; border-top: 2px solid #07111f; }
.form-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem; padding-bottom: 0.9rem; margin-bottom: 1.15rem; border-bottom: 1px solid rgba(7, 17, 31, 0.12); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; }
.form-local-note { font-family: var(--font-sans); letter-spacing: 0; color: rgba(7, 17, 31, 0.46); font-size: 0.74rem; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.95rem; }
.form-row label { font-size: 0.82rem; font-weight: 600; color: #07111f; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 0.58rem 0.8rem; border: 1px solid rgba(7, 17, 31, 0.22); background: #fbfaf7; color: #07111f; font-size: 0.88rem; border-radius: 0; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: #0f7480; }
.form-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.4rem; }
.btn-contact-primary { display: inline-flex; align-items: center; min-height: 44px; padding: 0.55rem 1.45rem; background: #07111f; color: #fbfaf7; border: 1px solid #07111f; font-size: 0.86rem; font-weight: 500; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.btn-contact-primary:hover { background: #0f7480; border-color: #0f7480; }
.btn-contact-outline { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.25rem; background: transparent; color: #07111f; border: 1px solid rgba(7, 17, 31, 0.28); font-size: 0.86rem; }
.btn-contact-outline:hover { background: #07111f; color: #fbfaf7; }
.form-result { margin-top: 1rem; padding: 0.85rem 1rem; border-left: 3px solid #0f7480; background: #fbfaf7; font-size: 0.82rem; line-height: 1.65; white-space: pre-wrap; }
.form-result.is-error { border-left-color: var(--signal); }

.contact-footer {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(7, 17, 31, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.8rem;
  color: rgba(7, 17, 31, 0.52);
}

.cf-left { display: flex; align-items: center; gap: 0.65rem; }
.cf-logo { width: 24px; height: 19px; object-fit: contain; flex-shrink: 0; }
.cf-left strong { color: #07111f; font-size: 0.9rem; }
.cf-left span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; }
.cf-right { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.cf-right a { color: #0f7480; font-weight: 600; }

/* ==========================================================================
   RESPONSIVE ADAPTATION
   ========================================================================== */
@media (max-width: 1120px) {
  html { scroll-snap-type: none; }
  .header-theme-code, .edge-note { display: none; }
  .layer-works { height: auto; min-height: 100svh; }
  .work-deck { min-height: 0; }
  .work-slide { position: relative; inset: auto; padding-block: calc(var(--header-h) + 2rem) 2.5rem; }
  .work-slide:not(.is-active) { display: none; }
  .work-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .home-copy { max-width: 36rem; }
  .step-down { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; --works-dock-h: 64px; }
  .desktop-nav, .header-actions { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; }
  .menu-lines { width: 16px; height: 9px; border-block: 1.5px solid var(--chrome-accent); }
  .mobile-nav nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--chrome-bg); border-bottom: 1px solid var(--chrome-line-strong); padding: 0.5rem var(--gutter) 1rem; display: flex; flex-direction: column; }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid var(--chrome-line); font-size: 0.92rem; }
  .mobile-lang-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding-top: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    color: var(--chrome-faint);
  }
  .mobile-lang-row .lang-btn { min-height: 36px; padding: 0.25rem 0.45rem; }
  .wt-info span, .works-counter, .home-fig { display: none; }
  .wt-btn { padding: 0 0.65rem; }
  .work-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-metrics div:nth-child(2) { border-right: 0; }
  .work-metrics div:nth-child(3), .work-metrics div:nth-child(4) { border-top: 1px solid var(--line); }
  .work-metrics div:nth-child(3) { padding-left: 0; }
  .mm-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .work-caps, .form-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .br-desktop { display: none; }
  .scene-kicker { flex-wrap: wrap; gap: 0.35rem 0.5rem; font-size: 0.64rem; letter-spacing: 0.14em; }
  .kicker-line { width: 1.2rem; }
  .hero-rail-meta { flex-direction: column; align-items: flex-start; gap: 0.35rem; white-space: normal; }
  .home-backdrop::after {
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.78) 0%, rgba(7, 17, 31, 0.62) 50%, rgba(7, 17, 31, 0.94) 100%);
  }
  .scroll-cue-cn { display: none; }
}

/* ==========================================================================
   ENGLISH TYPOGRAPHY & MULTI-LOCALE REFINEMENT
   ========================================================================== */
html[lang="en"] .brand-en,
html[lang="en"] .cf-left span {
  display: none;
}

html[lang="en"] .scene-kicker span:last-child {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
}

@media (min-width: 1121px) {
  html[lang="en"] .home-copy {
    max-width: min(54%, 45rem);
  }
}

html[lang="en"] .home-headline {
  font-size: clamp(2.1rem, 3.85vw, 3.85rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

html[lang="en"] .home-lead {
  line-height: 1.72;
}

html[lang="en"] .work-headline {
  font-size: clamp(1.3rem, 2vw, 1.78rem);
  line-height: 1.24;
}

html[lang="en"] .work-desc {
  line-height: 1.68;
}

html[lang="en"] .contact-headline {
  font-size: clamp(1.65rem, 2.6vw, 2.32rem);
  line-height: 1.2;
}

html[lang="en"] .cp-headline {
  font-size: clamp(1.85rem, 3vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

html[lang="en"] .mm-list li {
  grid-template-columns: 6.8rem minmax(0, 1fr) auto;
}

html[lang="en"] .work-metrics dt {
  font-size: 0.86rem;
}

html[lang="en"] .work-metrics dd {
  font-size: 0.72rem;
  line-height: 1.38;
}

@media (max-width: 860px) {
  html[lang="en"] .mm-list li {
    grid-template-columns: 1fr;
  }
}

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