/* =========================================================
   XINGXUN AI — Edition 02
   A quiet, cinematic interface for an AI company.
   ========================================================= */

@font-face {
  font-family: "Noto Serif SC";
  src: url("../fonts/NotoSerifSC-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif";
  src: url("../fonts/DMSerifDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif";
  src: url("../fonts/DMSerifDisplay-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #061b16;
  --ink-2: #08241c;
  --ink-3: #0c2b22;
  --paper: #e7ede2;
  --paper-2: #dce7dc;
  --cream: #f4efe2;
  --gold: #c8a02c;
  --gold-bright: #e7cc7a;
  --electric: #6fbf9f;
  --muted: #a7b6ab;
  --muted-2: #6f8378;
  --line: rgba(244, 239, 229, 0.12);
  --line-strong: rgba(244, 239, 229, 0.22);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --latin: "DM Serif", "Times New Roman", serif;
  --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --wrap: 1320px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

::selection { background: rgba(200, 160, 44, 0.35); color: #fff; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; }
p, h1, h2, h3, h4 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(calc(100% - 96px), var(--wrap));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(110px, 14vw, 190px) 0;
}

.section-tag {
  color: var(--gold);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.section-tag.dark { color: rgba(6, 27, 22, 0.5); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.section-title .gold { color: var(--gold-bright); }
.gold { color: var(--gold-bright); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(54px, 7vw, 90px);
}

.section-head .section-tag { margin-bottom: 26px; }

.section-aside {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.section-aside p + p { margin-top: 24px; }

.aside-index {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.26em;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ---------- grain / progress / cursor ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--electric));
  box-shadow: 0 0 20px rgba(200, 160, 44, 0.45);
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-dot,
.cursor-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform, width, height;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--gold-bright);
  box-shadow: 0 0 14px rgba(231, 204, 122, 0.9);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(231, 204, 122, 0.5);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}

.cursor.is-hover .cursor-ring {
  width: 58px;
  height: 58px;
  border-color: rgba(231, 204, 122, 0.85);
  background: rgba(231, 204, 122, 0.06);
}

@media (pointer: fine) {
  body.cursor-ready { cursor: none; }
  body.cursor-ready a,
  body.cursor-ready button { cursor: none; }
  body.cursor-ready .cursor { opacity: 1; }
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px max(48px, calc((100vw - var(--wrap)) / 2));
  transition: padding 0.5s var(--ease), background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(6, 27, 22, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 35px;
  height: 35px;
  color: var(--gold);
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 160, 44, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(200, 160, 44, 0.18), transparent 62%);
}

.logo-mark svg { width: 22px; height: 22px; }

.logo-type { display: flex; flex-direction: column; line-height: 1.06; }
.logo-type b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.logo-type em {
  color: var(--muted-2);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.3em;
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 30px; }

.nav > a:not(.nav-cta) {
  position: relative;
  color: rgba(244, 239, 226, 0.68);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--gold);
  transition: right 0.45s var(--ease);
}
.nav > a:not(.nav-cta):hover { color: var(--cream); }
.nav > a:not(.nav-cta):hover::after { right: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 19px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cream);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}
.nav-cta i {
  color: var(--gold);
  font-style: normal;
  font-size: 13px;
  transition: transform 0.35s var(--ease);
}
.nav-cta:hover { background: rgba(200, 160, 44, 0.1); border-color: rgba(200, 160, 44, 0.6); transform: translateY(-1px); }
.nav-cta:hover i { transform: translate(2px, -2px); }

.menu {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: 2;
}
.menu span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--cream);
  transition: top 0.4s var(--ease), transform 0.4s var(--ease);
}
.menu span:first-child { top: 16px; }
.menu span:last-child { top: 24px; }
.menu[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 55% at 46% 50%, rgba(0, 0, 0, 0) 18%, rgba(6, 27, 22, 0.35) 72%, var(--ink) 100%),
    linear-gradient(180deg, rgba(6, 27, 22, 0.4), transparent 24%, transparent 76%, var(--ink));
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.aurora-one {
  width: 560px;
  height: 420px;
  left: -160px;
  top: 10%;
  background: rgba(111, 191, 159, 0.1);
  animation: aurora 16s ease-in-out infinite alternate;
}
.aurora-two {
  width: 700px;
  height: 500px;
  right: -260px;
  top: 24%;
  background: rgba(200, 160, 44, 0.12);
  animation: aurora 21s ease-in-out infinite alternate-reverse;
}
@keyframes aurora {
  from { transform: translate3d(-25px, -18px, 0) scale(1); }
  to { transform: translate3d(30px, 26px, 0) scale(1.12); }
}

.hero-frame {
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(244, 239, 226, 0.1);
}
.hero-frame i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: rgba(200, 160, 44, 0.7);
  border-style: solid;
}
.hero-frame i:nth-child(1) { left: -1px; top: -1px; border-width: 1px 0 0 1px; }
.hero-frame i:nth-child(2) { right: -1px; top: -1px; border-width: 1px 1px 0 0; }
.hero-frame i:nth-child(3) { left: -1px; bottom: -1px; border-width: 0 0 1px 1px; }
.hero-frame i:nth-child(4) { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }

.hero-rail {
  position: absolute;
  left: max(28px, calc((100vw - var(--wrap)) / 2 - 34px));
  top: 50%;
  z-index: 3;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.3em;
}
.hero-rail i { width: 1px; height: 60px; background: var(--line); }

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 96px), var(--wrap));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 239, 226, 0.55);
  font-size: 9px;
  letter-spacing: 0.27em;
  margin-bottom: 34px;
}
.eyebrow > span:last-child { color: var(--gold); }
.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 5px rgba(200, 160, 44, 0.09), 0 0 16px rgba(200, 160, 44, 0.7);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(78px, 10.5vw, 168px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin-left: -0.045em;
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}
.title-line > span {
  display: block;
  transform: translateY(112%);
  animation: titleIn 1.35s var(--ease) forwards;
}
.title-line:nth-child(1) > span { animation-delay: 0.15s; }
.title-line:nth-child(2) > span { animation-delay: 0.28s; }
.title-line:nth-child(3) > span { animation-delay: 0.41s; }

@keyframes titleIn { to { transform: translateY(0); } }

.hero-title i {
  font-family: var(--latin);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
  letter-spacing: -0.04em;
  margin-right: 0.04em;
}

.hero-title .gold {
  background: linear-gradient(180deg, #f8ebc4 0%, #d8b84f 58%, #9d7f20 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}

.hero-sub {
  max-width: 360px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: 0.05em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.btn i {
  color: var(--gold);
  font-style: normal;
  font-size: 13px;
  transition: transform 0.4s var(--ease);
}
.btn:hover i { transform: translate(3px, -3px); }

.btn-gold {
  color: #10281f;
  background: linear-gradient(115deg, #f2daa0, #c8a02c 65%, #a48224);
  box-shadow: 0 12px 32px -16px rgba(200, 160, 44, 0.7);
}
.btn-gold:hover { background: linear-gradient(115deg, #f5e2be, #d8b84f 65%, #a48224); }
.btn-gold i { color: #10281f; }

.btn-line {
  color: var(--cream);
  border-color: var(--line-strong);
  background: rgba(244, 239, 226, 0.015);
}
.btn-line:hover { border-color: rgba(200, 160, 44, 0.6); background: rgba(200, 160, 44, 0.06); }

.btn-index {
  color: var(--muted-2) !important;
  font-family: var(--sans) !important;
  font-size: 9px !important;
  letter-spacing: 0.15em;
  margin-left: 4px;
}

/* hero core */

.hero-core {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
}

.core-halo {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 160, 44, 0.13), rgba(111, 191, 159, 0.035) 40%, transparent 70%);
  filter: blur(20px);
}

.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 226, 0.13);
}
.ring-outer {
  inset: 1%;
  border-color: rgba(244, 239, 226, 0.08);
  animation: spin 42s linear infinite;
}
.ring-outer::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 18px rgba(231, 204, 122, 0.9);
}
.ring-mid {
  inset: 12%;
  border-color: rgba(200, 160, 44, 0.18);
  border-style: dashed;
  animation: spin 28s linear infinite reverse;
}
.ring-mid::before {
  content: "";
  position: absolute;
  right: 12%;
  top: 4%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 12px rgba(111, 191, 159, 0.8);
}
.ring-inner {
  inset: 25%;
  border-color: rgba(111, 191, 159, 0.16);
  animation: spin 18s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.core-sphere {
  position: relative;
  width: 31%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 160, 44, 0.44);
  background:
    radial-gradient(circle at 36% 28%, rgba(231, 204, 122, 0.3), transparent 40%),
    radial-gradient(circle at 50% 60%, rgba(111, 191, 159, 0.12), transparent 60%),
    rgba(8, 10, 15, 0.9);
  box-shadow: 0 0 80px rgba(200, 160, 44, 0.12), inset 0 0 50px rgba(200, 160, 44, 0.08);
  animation: coreFloat 6s ease-in-out infinite;
}
.core-sphere span {
  font-family: var(--latin);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1;
  color: var(--gold-bright);
}
.core-sphere small {
  margin-top: 6px;
  color: rgba(244, 239, 226, 0.4);
  font-size: 6px;
  letter-spacing: 0.34em;
}
@keyframes coreFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.core-label {
  position: absolute;
  color: rgba(244, 239, 226, 0.32);
  font-size: 7px;
  line-height: 1.7;
  letter-spacing: 0.22em;
}
.label-a { top: 13%; left: 14%; }
.label-b { right: 5%; top: 37%; text-align: right; }
.label-c { left: 8%; bottom: 17%; }

/* hero bottom */

.hero-bottom {
  position: absolute;
  left: max(48px, calc((100vw - var(--wrap)) / 2));
  right: max(48px, calc((100vw - var(--wrap)) / 2));
  bottom: 38px;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-stats { display: flex; gap: 40px; }
.hero-stats > div { display: flex; align-items: baseline; gap: 8px; }
.hero-stats b {
  font-family: var(--latin);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
}
.hero-stats b span { color: var(--gold); font-size: 13px; }
.hero-stats > div > span {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2);
  font-size: 7.5px;
  letter-spacing: 0.28em;
}
.scroll-cue i {
  position: relative;
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 30%;
  height: 1px;
  background: var(--gold-bright);
  animation: scan 2.8s var(--ease) infinite;
}
@keyframes scan { 65%, 100% { left: 110%; } }

/* ---------- ticker ---------- */

.ticker {
  position: relative;
  z-index: 5;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.ticker-track span {
  color: rgba(244, 239, 226, 0.55);
  font-size: 10px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.ticker-track b { color: var(--gold); font-weight: 400; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */

.manifesto {
  position: relative;
  padding: clamp(100px, 13vw, 170px) 0;
  border-bottom: 1px solid var(--line);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.18fr 1fr 0.3fr;
  gap: 40px;
  align-items: start;
}

.manifesto-copy { max-width: 850px; }

.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.manifesto-note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.manifesto-index {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 10px;
  align-items: flex-end;
}
.manifesto-index span {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.26em;
}

/* ---------- capabilities ---------- */

.capabilities { background: var(--ink); }

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(155deg, rgba(244, 239, 226, 0.045), rgba(244, 239, 226, 0.008));
  transition: border-color 0.5s ease, background 0.5s ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 160, 44, 0.12), transparent 62%);
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.bento-card:hover { border-color: rgba(200, 160, 44, 0.38); }
.bento-card:hover::before { opacity: 1; }

.bento-card > * { position: relative; z-index: 1; }
.card-geo { grid-column: span 4; grid-row: span 2; min-height: 560px; }
.card-dev { grid-column: span 2; }
.card-app { grid-column: span 2; }
.card-agent { grid-column: span 6; min-height: 300px; }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.card-no { color: var(--gold); font-family: var(--latin); font-size: 17px; }
.card-cat { color: var(--muted-2); font-size: 8px; letter-spacing: 0.25em; }

.card-body { margin-top: 40px; max-width: 600px; }
.card-body h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.card-body h3 em {
  color: var(--gold-bright);
  font-style: normal;
}
.card-body p {
  margin-top: 18px;
  max-width: 440px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.card-tags span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.08em;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-bright);
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.card-link i { font-style: normal; transition: transform 0.35s var(--ease); }
.card-link:hover i { transform: translate(3px, -3px); }

.card-visual { pointer-events: none; }
.card-geo::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 8%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 160, 44, 0.12), rgba(111, 191, 159, 0.035) 38%, transparent 68%);
  filter: blur(22px);
  pointer-events: none;
}
.geo-lines {
  position: absolute;
  right: -40px;
  top: -50px;
  width: 380px;
  height: 380px;
  opacity: 0.78;
}
.geo-lines i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(200, 160, 44, 0.16);
}
.geo-lines i:nth-child(2) { inset: 12%; border-color: rgba(200, 160, 44, 0.22); }
.geo-lines i:nth-child(3) { inset: 24%; border-style: dashed; border-color: rgba(111, 191, 159, 0.2); }
.geo-lines i:nth-child(4) { inset: 36%; border-color: rgba(200, 160, 44, 0.3); }
.geo-lines i:nth-child(5) {
  inset: 46%;
  border: 0;
  background: radial-gradient(circle, rgba(200, 160, 44, 0.55), transparent 65%);
  filter: blur(8px);
}

/* ---------- zhiji ---------- */

.zhiji {
  overflow: hidden;
  background: var(--ink-2);
}

.zhiji-bg {
  position: absolute;
  right: -5%;
  top: 10%;
  z-index: 0;
  font-family: var(--latin);
  font-size: clamp(220px, 34vw, 560px);
  line-height: 0.7;
  color: rgba(244, 239, 226, 0.028);
  pointer-events: none;
  user-select: none;
}

.zhiji-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.zhiji-sticky { position: sticky; top: 120px; }

.product-stage {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-ring {
  position: absolute;
  width: min(90%, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 160, 44, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(200, 160, 44, 0.07) inset;
}
.stage-ring::before,
.stage-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(244, 239, 226, 0.1);
}
.stage-ring::before { inset: 12%; }
.stage-ring::after { inset: 24%; border-color: rgba(111, 191, 159, 0.14); }

.stage-phone {
  position: relative;
  z-index: 2;
  width: 258px;
  border: 1px solid rgba(244, 239, 226, 0.2);
  border-radius: 30px;
  background: #0a0c11;
  padding: 8px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(200, 160, 44, 0.1);
  transform: rotate(-5deg);
}
.phone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 10px;
  color: var(--muted-2);
  font-size: 7px;
  letter-spacing: 0.08em;
}
.phone-top i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.phone-top span { flex: 1; color: rgba(244, 239, 226, 0.55); }
.phone-top b { font-weight: 400; }
.phone-screen { border-radius: 21px; background: #0d1017; padding: 22px 18px 18px; }
.phone-kicker { color: var(--muted-2); font-size: 6.5px; letter-spacing: 0.24em; }
.phone-screen h4 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  margin: 5px 0 18px;
}
.look-card {
  display: flex;
  gap: 11px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(244, 239, 226, 0.025);
}
.look-img {
  width: 92px;
  height: 122px;
  flex-shrink: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 24%, rgba(200, 160, 44, 0.36), transparent 38%),
    linear-gradient(150deg, #24293a, #0c0e15);
  position: relative;
  overflow: hidden;
}
.look-img::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: -14%;
  height: 78%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(200, 160, 44, 0.38), rgba(200, 160, 44, 0.04));
}
.look-info { display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.look-info > span { color: var(--cream); font-size: 9px; letter-spacing: 0.08em; }
.look-info small { color: var(--muted-2); font-size: 7px; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 13px; height: 13px; border-radius: 50%; }
.swatches i:nth-child(1) { background: #c8a02c; }
.swatches i:nth-child(2) { background: #a56d52; }
.swatches i:nth-child(3) { background: #73784f; }
.swatches i:nth-child(4) { background: #ddd5c5; }
.phone-lines { display: grid; gap: 7px; margin-top: 18px; }
.phone-lines i { height: 4px; border-radius: 2px; background: rgba(244, 239, 226, 0.08); }
.phone-lines i:nth-child(1) { width: 88%; }
.phone-lines i:nth-child(2) { width: 66%; }
.phone-lines i:nth-child(3) { width: 45%; }
.phone-nav { display: flex; justify-content: space-around; padding: 12px 0 4px; }
.phone-nav i { width: 16px; height: 2px; background: rgba(244, 239, 226, 0.12); }
.phone-nav i:first-child { background: var(--gold); }

.stage-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 15px;
  border: 1px solid rgba(200, 160, 44, 0.25);
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.stage-card span { color: var(--muted-2); font-size: 6px; letter-spacing: 0.22em; }
.stage-card b { color: var(--gold-bright); font-size: 10px; font-weight: 500; letter-spacing: 0.06em; }
.card-a { right: 3%; top: 22%; }
.card-b { left: 0; bottom: 20%; }
.card-b b { color: var(--electric); }

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
  padding: 5px 10px;
  border: 1px solid rgba(111, 191, 159, 0.2);
  color: var(--electric);
  font-size: 7.5px;
  letter-spacing: 0.16em;
}
.product-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 10px var(--electric); }

.zhiji-title {
  font-family: var(--serif);
  font-size: clamp(64px, 7.6vw, 116px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
}
.zhiji-title span { color: var(--gold-bright); font-family: var(--latin); font-style: italic; }
.zhiji-sub {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 32px);
  color: rgba(244, 239, 226, 0.72);
  letter-spacing: 0.02em;
}
.zhiji-desc {
  margin-top: 24px;
  max-width: 520px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 2;
}

.zhiji-features { margin-top: 34px; border-top: 1px solid var(--line); }
.zhiji-features > div {
  display: grid;
  grid-template-columns: 26px 84px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.zhiji-features span { color: var(--gold); font-family: var(--latin); font-size: 11px; }
.zhiji-features b { color: var(--cream); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; }
.zhiji-features p { color: var(--muted); font-size: 11px; line-height: 1.75; }

.zhiji-entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--line);
}
.zhiji-entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
  padding: 15px 16px;
  background: var(--ink-2);
  transition: background 0.35s ease;
}
.zhiji-entry:hover { background: rgba(15, 76, 58, 0.45); }
.entry-meta {
  grid-column: 1 / -1;
  color: var(--muted-2);
  font-size: 7px;
  letter-spacing: 0.2em;
}
.zhiji-entry b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.zhiji-entry small {
  grid-column: 1;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}
.zhiji-entry i {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
  color: var(--gold);
  font-style: normal;
  font-size: 14px;
  transition: transform 0.35s var(--ease), color 0.35s ease;
}
.zhiji-entry:hover i { transform: translate(3px, -3px); color: var(--gold-bright); }

.zhiji-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- geo ---------- */

.geo {
  background:
    radial-gradient(ellipse 48% 52% at 78% 48%, rgba(111, 191, 159, 0.07), transparent 70%),
    var(--ink);
}

.geo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 80px;
  align-items: center;
}

.geo-lead {
  margin-top: 30px;
  max-width: 530px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 2.05;
}

.geo-stats {
  display: flex;
  gap: 44px;
  margin: 40px 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.geo-stats > div { display: flex; flex-direction: column; gap: 6px; }
.geo-stats b {
  font-family: var(--latin);
  font-size: 39px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-bright);
}
.geo-stats b span { color: var(--gold); font-family: var(--sans); font-size: 13px; }
.geo-stats small { color: var(--muted-2); font-size: 9px; letter-spacing: 0.06em; }

.geo-visual { display: flex; justify-content: center; }
.geo-orb {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 239, 226, 0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(111, 191, 159, 0.08), transparent 68%);
}
.geo-orb::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(244, 239, 226, 0.1);
}
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(111, 191, 159, 0.16);
}
.geo-ring.g1 { inset: 3%; transform: rotateX(64deg); animation: geoSpin 26s linear infinite; }
.geo-ring.g2 { inset: 10%; border-color: rgba(200, 160, 44, 0.18); transform: rotateX(64deg) rotateZ(56deg); animation: geoSpin 20s linear infinite reverse; }
.geo-ring.g3 { inset: 20%; transform: rotateX(64deg) rotateZ(-40deg); animation: geoSpin 32s linear infinite; }
@keyframes geoSpin { to { transform: rotateX(64deg) rotateZ(360deg); } }

.geo-center {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 191, 159, 0.3);
  background: radial-gradient(circle at 40% 30%, rgba(111, 191, 159, 0.17), rgba(6, 27, 22, 0.9));
  box-shadow: 0 0 70px rgba(111, 191, 159, 0.1);
}
.geo-center span { font-family: var(--latin); font-size: 35px; line-height: 1; color: var(--electric); }
.geo-center small { margin-top: 7px; color: var(--muted-2); font-size: 6px; letter-spacing: 0.26em; }

.geo-node {
  position: absolute;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 27, 22, 0.8);
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}
.n1 { top: 5%; left: 17%; }
.n2 { top: 23%; right: 0; }
.n3 { bottom: 23%; right: 5%; }
.n4 { bottom: 5%; left: 16%; }
.n5 { top: 47%; left: -2%; }

/* ---------- about (paper) ---------- */

.about {
  position: relative;
  margin-top: 30px;
  padding: clamp(90px, 11vw, 150px) 0;
  background: var(--paper);
  color: #0b241d;
  border-radius: 46px 46px 0 0;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(6, 27, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 27, 22, 0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
}

.about .wrap { position: relative; z-index: 1; }

.about-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
}

.about-since {
  color: rgba(6, 27, 22, 0.42);
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 0.22em;
  text-align: right;
}

.about-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5.9vw, 88px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.055em;
  max-width: 1080px;
}
.about-title span { color: #8f6f21; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
  gap: 90px;
  align-items: start;
  margin-top: 70px;
}

.about-copy p {
  max-width: 530px;
  color: rgba(6, 27, 22, 0.66);
  font-size: 12.5px;
  line-height: 2.05;
}
.about-copy p + p { margin-top: 18px; }

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(6, 27, 22, 0.28);
  padding-bottom: 4px;
}
.about-link i { font-style: normal; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  border-top: 1px solid rgba(6, 27, 22, 0.2);
}
.about-stats > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(6, 27, 22, 0.16);
}
.about-stats b { font-family: var(--latin); font-size: 34px; font-weight: 400; line-height: 1; }
.about-stats b span { font-family: var(--sans); font-size: 11px; color: #8f6f21; }
.about-stats span { color: rgba(6, 27, 22, 0.46); font-size: 9px; letter-spacing: 0.04em; }

.about-partners {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 80px;
  padding: 20px 0;
  border-top: 1px solid rgba(6, 27, 22, 0.18);
  border-bottom: 1px solid rgba(6, 27, 22, 0.18);
}
.about-partners > span { flex-shrink: 0; color: rgba(6, 27, 22, 0.4); font-size: 7px; letter-spacing: 0.24em; }
.about-partners > div { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.about-partners b { font-weight: 400; color: rgba(6, 27, 22, 0.72); font-size: 10.5px; letter-spacing: 0.04em; }

.about-vision {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 62px;
}
.about-vision > span { color: rgba(6, 27, 22, 0.4); font-size: 7px; letter-spacing: 0.24em; flex-shrink: 0; }
.about-vision p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.about-vision em { margin-left: auto; color: #8f6f21; font-size: 10px; font-style: normal; letter-spacing: 0.1em; flex-shrink: 0; }

/* ---------- contact ---------- */

.contact {
  background: var(--ink);
  padding-top: clamp(100px, 12vw, 160px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 90px;
  align-items: start;
}

.contact-title {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.05em;
}
.contact-title span {
  background: linear-gradient(180deg, #f3e4c8, #c8a02c 62%, #9c7845);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-lead {
  margin-top: 30px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 2;
}
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 36px; }
.contact-mail {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-mail:hover { color: var(--gold-bright); border-color: var(--gold); }

.contact-card {
  border: 1px solid var(--line);
  padding: 8px 26px 24px;
  background: linear-gradient(160deg, rgba(244, 239, 226, 0.04), rgba(244, 239, 226, 0.008));
}
.contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row > span { color: var(--muted-2); font-size: 8px; letter-spacing: 0.2em; padding-top: 3px; }
.contact-row p { color: rgba(244, 239, 226, 0.82); font-size: 13px; line-height: 1.8; }
.contact-row a { display: block; }
.contact-row a + a { color: var(--muted); margin-top: 2px; }
.contact-row a:hover { color: var(--gold-bright); }
.contact-foot { padding-top: 22px; }
.contact-foot span { color: var(--muted-2); font-size: 8px; letter-spacing: 0.2em; }
.contact-foot p { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.8; }

/* ---------- footer ---------- */

.footer {
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  background: #04130f;
  border-top: 1px solid var(--line);
}

.footer-word {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  width: 112%;
  text-align: center;
  font-family: var(--latin);
  font-size: clamp(90px, 17vw, 280px);
  line-height: 0.65;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 226, 0.12);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 70px;
  padding-bottom: 90px;
}
.footer-brand p { margin-top: 26px; color: var(--muted-2); font-size: 11px; line-height: 1.9; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }
.footer-links b { margin-bottom: 8px; color: rgba(244, 239, 226, 0.76); font-size: 9px; font-weight: 500; letter-spacing: 0.18em; }
.footer-links a { color: var(--muted-2); font-size: 11px; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--gold-bright); }

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(244, 239, 226, 0.07);
}
.footer-bottom p, .footer-bottom a { color: #4d4c48; font-size: 9px; letter-spacing: 0.05em; }
.footer-bottom a:hover { color: var(--muted); }

/* ---------- reveal ---------- */

.reveal { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-canvas { display: none; }
  .cursor { display: none; }
  body.cursor-ready { cursor: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1240px) {
  .hero-inner { grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); }
  .hero-core { width: 360px; }
  .hero-rail { display: none; }
  .zhiji-grid { gap: 50px; }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-core { display: none; }
  .hero-title { font-size: clamp(74px, 12vw, 128px); }
  .hero-foot { max-width: 760px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-geo { grid-column: span 2; grid-row: auto; min-height: 480px; }
  .card-dev, .card-app { grid-column: span 1; }
  .card-agent { grid-column: span 2; }
  .zhiji-grid { grid-template-columns: 1fr; }
  .zhiji-copy { order: -1; }
  .zhiji-sticky { order: 2; position: relative; top: 0; }
  .product-stage { min-height: 540px; }
  .zhiji-bg { top: 42%; }
  .geo-grid { grid-template-columns: 1fr; gap: 50px; }
  .geo-visual { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-main { grid-template-columns: 1fr; gap: 46px; }
}

@media (max-width: 900px) {
  .wrap { width: min(calc(100% - 40px), var(--wrap)); }
  .site-header { padding-left: 20px; padding-right: 20px; }
  .menu { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 100px 28px 40px;
    background: rgba(6, 27, 22, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.45s var(--ease);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.nav-cta) { font-family: var(--serif); font-size: 30px; letter-spacing: 0; color: var(--cream); }
  .nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 10px; font-family: var(--sans); font-size: 12px; }
  .hero { padding-top: 130px; padding-bottom: 100px; }
  .hero-frame { inset: 10px; }
  .hero-inner { width: min(calc(100% - 40px), var(--wrap)); }
  .hero-title { font-size: clamp(66px, 16vw, 100px); }
  .hero-foot { display: block; margin-top: 34px; }
  .hero-actions { margin-top: 24px; margin-left: 0; }
  .hero-bottom { left: 20px; right: 20px; bottom: 24px; }
  .hero-stats { gap: 18px; }
  .hero-stats b { font-size: 21px; }
  .hero-stats > div > span { font-size: 7px; }
  .scroll-cue { display: none; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 24px; }
  .manifesto-index { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .section-aside { max-width: 420px; }
  .bento { grid-template-columns: 1fr; }
  .card-geo, .card-dev, .card-app, .card-agent { grid-column: span 1; min-height: 320px; }
  .card-geo { min-height: 460px; }
  .card-body h3 { font-size: 30px; }
  .card-bottom { display: block; }
  .card-link { margin-top: 18px; }
  .geo-lines { width: 300px; height: 300px; right: -80px; bottom: -70px; }
  .zhiji-features > div { grid-template-columns: 24px 76px 1fr; }
  .about { border-radius: 28px 28px 0 0; margin-top: 10px; }
  .about-top { margin-bottom: 34px; }
  .about-partners { display: block; margin-top: 54px; }
  .about-partners > div { margin-top: 16px; }
  .about-vision { display: block; margin-top: 44px; }
  .about-vision p { margin-top: 12px; }
  .about-vision em { display: block; margin: 16px 0 0; }
  .contact-row { grid-template-columns: 82px 1fr; }
  .footer-word { bottom: 22px; }
}

@media (max-width: 620px) {
  .section { padding: 82px 0; }
  .hero { min-height: auto; padding: 116px 0 112px; }
  .hero-title { font-size: clamp(58px, 18vw, 86px); line-height: 1; }
  .hero-title i { font-size: 0.92em; }
  .eyebrow { font-size: 7.5px; letter-spacing: 0.18em; gap: 8px; margin-bottom: 26px; }
  .hero-sub { font-size: 11.5px; max-width: 330px; }
  .hero-actions { gap: 10px; }
  .btn { min-height: 42px; padding: 0 15px; font-size: 10.5px; }
  .hero-stats { gap: 12px; justify-content: space-between; width: 100%; }
  .hero-stats b { font-size: 19px; }
  .hero-stats > div { gap: 4px; }
  .hero-stats > div > span { font-size: 6.5px; }
  .ticker { padding: 13px 0; }
  .ticker-track { gap: 30px; }
  .ticker-track span { font-size: 8px; }
  .manifesto-quote { font-size: 30px; }
  .manifesto-note { font-size: 11px; }
  .section-title { font-size: clamp(38px, 11vw, 54px); }
  .section-tag { font-size: 8px; }
  .bento-card { padding: 22px; }
  .card-geo { min-height: 420px; }
  .card-body { margin-top: 28px; }
  .card-body h3 { font-size: 27px; }
  .card-body p { font-size: 11px; }
  .card-tags span { font-size: 7px; }
  .product-stage { min-height: 450px; }
  .stage-phone { width: 218px; transform: rotate(-4deg) scale(0.94); }
  .stage-card { transform: scale(0.9); }
  .card-a { right: 0; top: 16%; }
  .card-b { left: 0; bottom: 12%; }
  .zhiji-title { font-size: clamp(58px, 16vw, 80px); }
  .zhiji-sub { font-size: 22px; }
  .zhiji-desc { font-size: 11.5px; }
  .zhiji-features > div { grid-template-columns: 22px 68px 1fr; gap: 8px; }
  .zhiji-features b { font-size: 11px; }
  .zhiji-features p { font-size: 10px; }
  .zhiji-entries { grid-template-columns: 1fr; }
  .zhiji-actions { flex-direction: column; align-items: stretch; }
  .zhiji-actions .btn { width: 100%; }
  .geo-stats { gap: 22px; }
  .geo-stats b { font-size: 30px; }
  .geo-orb { width: min(88vw, 360px); }
  .about-title { font-size: clamp(33px, 9.4vw, 46px); }
  .about-title span { display: block; }
  .about-grid { margin-top: 42px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .about-stats b { font-size: 29px; }
  .about-partners b { font-size: 9px; }
  .contact-title { font-size: clamp(40px, 12vw, 58px); }
  .contact-card { padding: 4px 18px 18px; }
  .contact-row { grid-template-columns: 74px 1fr; gap: 10px; }
  .contact-row p { font-size: 12px; }
  .footer { padding-top: 60px; }
  .footer-main { padding-bottom: 60px; }
  .footer-links { gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cursor { display: none; }
}
