:root {
  --night: #0B1210;
  --night-2: #0F1814;
  --night-3: #131F1A;
  --paper: #F1EBDD;
  --paper-dim: rgba(241, 235, 221, .76);
  --paper-soft: rgba(241, 235, 221, .56);
  --muted: #A9A395;
  --gold: #C6A566;
  --gold-2: #D9BE86;
  --gold-soft: rgba(198, 165, 102, .34);
  --red: #C0492F;
  --line: rgba(241, 235, 221, .12);
  --head-bg: rgba(11, 18, 16, .94);
  --hero-foot-bg: rgba(11, 18, 16, .55);
  --footer-bg: #080D0B;
  --footer-legal: rgba(241, 235, 221, .62);
  --field-border: rgba(241, 235, 221, .18);
  --field-bg: rgba(241, 235, 221, .035);
  --field-focus: rgba(241, 235, 221, .055);
  --placeholder: rgba(241, 235, 221, .5);
  --btn-line: rgba(241, 235, 221, .28);
  --on-gold: #0B1210;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --max: 1240px;
}
html[data-theme="night"] { color-scheme: dark; }
html[data-theme="day"] {
  color-scheme: light;
  --night: #F5F0E5;
  --night-2: #EDE6D8;
  --night-3: #E4DBC9;
  --paper: #16201C;
  --paper-dim: rgba(22, 32, 28, .78);
  --paper-soft: rgba(22, 32, 28, .58);
  --gold: #9A7A3F;
  --gold-2: #86652C;
  --gold-soft: rgba(154, 122, 63, .38);
  --red: #B5452C;
  --line: rgba(22, 32, 28, .16);
  --head-bg: rgba(245, 240, 229, .95);
  --hero-foot-bg: rgba(245, 240, 229, .78);
  --footer-bg: #E8E0D0;
  --footer-legal: rgba(22, 32, 28, .58);
  --field-border: rgba(22, 32, 28, .2);
  --field-bg: rgba(22, 32, 28, .035);
  --field-focus: rgba(22, 32, 28, .06);
  --placeholder: rgba(22, 32, 28, .45);
  --btn-line: rgba(22, 32, 28, .3);
  --on-gold: #F8F2E5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; }
body {
  background: var(--night);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-cta { display: none; }
::selection { background: var(--gold); color: var(--night); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* progress */
.progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 300;
  background: var(--gold); transform: scaleX(0); transform-origin: left; will-change: transform;
}

/* header */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--head-bg); border-bottom: 1px solid var(--line);
}
.head-inner { height: 92px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none;
  border: 1px solid var(--gold-soft); background: var(--night);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.brand-text strong {
  display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
  letter-spacing: .06em; color: var(--paper); line-height: 1.2;
}
.brand-text strong span { font-size: .84rem; color: var(--gold); margin-left: 4px; font-weight: 600; }
.brand-en {
  display: block; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em;
  color: var(--paper-dim); margin-top: 5px; line-height: 1.2;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a {
  position: relative; font-family: var(--serif); font-size: .98rem; letter-spacing: .08em;
  color: var(--paper-dim); padding: 8px 0; transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--paper); }
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .2s;
}
.nav a:hover::after, .nav a.active::after { transform: translateX(-50%) scale(1); }
.nav .nav-cta {
  border: 1px solid var(--gold-soft); padding: 11px 20px; color: var(--gold);
  font-family: var(--sans); font-size: .88rem; letter-spacing: .06em; margin-left: 4px;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.nav-foot { display: none; }
.menu-btn {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  color: var(--paper); height: 40px; padding: 0 14px; font-size: .86rem; letter-spacing: .08em; cursor: pointer;
}

/* hero */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding-top: 92px; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; opacity: .78; filter: brightness(1.06) saturate(.92); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--night) 0%, rgba(11,18,16,.97) 34%, rgba(11,18,16,.72) 62%, rgba(11,18,16,.52) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(11,18,16,0) 44%),
    linear-gradient(180deg, rgba(11,18,16,.78) 0%, rgba(11,18,16,0) 32%);
}
.hero-shade::after {
  content: ""; position: absolute; left: 50%; top: 30%; width: 34%; height: 44%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(241,235,221,.2) 0%, rgba(198,165,102,.07) 38%, rgba(11,18,16,0) 70%);
}
.constellation { position: absolute; top: 15%; left: 3%; width: min(420px, 36vw); opacity: .7; }
.hero-inner {
  position: relative; z-index: 2; flex: 1; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 60px; align-items: center; padding-top: 54px; padding-bottom: 64px;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 30px;
  font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-2);
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 5px rgba(198,165,102,.12); flex: none;
}
.eyebrow i { font-style: normal; color: var(--paper-dim); margin-left: 6px; }
.hero h1 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(3.1rem, 5.2vw, 5rem);
  line-height: 1.16; letter-spacing: .02em; color: var(--paper);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin-top: 30px; max-width: 550px; color: var(--paper-dim); font-size: 1.05rem; line-height: 2; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; font-size: .92rem; letter-spacing: .06em;
  border: 1px solid transparent; cursor: pointer; transition: all .2s; font-family: var(--sans);
}
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 700; }
.btn.gold:hover { background: var(--paper); border-color: var(--paper); color: var(--night); }
.btn.line { border-color: var(--btn-line); color: var(--paper); }
.btn.line:hover { border-color: var(--gold); color: var(--gold); }
.hero-facts {
  display: flex; gap: 36px; flex-wrap: wrap; max-width: 620px;
  margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line);
}
.hero-facts dt { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--gold-2); margin-bottom: 5px; }
.hero-facts dd { font-size: .88rem; color: var(--paper-dim); }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.compass { position: relative; width: min(470px, 36vw); aspect-ratio: 1; }
.compass-svg { width: 100%; height: 100%; overflow: visible; }
.ring-dash { transform-origin: 220px 220px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.compass-core {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; pointer-events: none;
}
.compass-core span { font-family: var(--serif); font-size: 1.75rem; letter-spacing: .18em; color: var(--gold); }
.compass-core small { font-family: var(--mono); font-size: .75rem; letter-spacing: .16em; color: var(--paper-dim); margin-top: 6px; }
.vertical-label {
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--mono); font-size: .75rem;
  letter-spacing: .14em; color: var(--paper-dim);
}
.hero-foot { position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--hero-foot-bg); }
.hero-foot-inner {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 16px; font-family: var(--mono); font-size: .75rem;
  letter-spacing: .06em; color: var(--paper-dim); line-height: 1.9;
}

/* sections */
.section { position: relative; padding: 120px 0; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.section.alt { background: var(--night-2); }
.sec-head { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 50px; margin-bottom: 64px; }
.sec-index { font-family: var(--mono); font-size: .82rem; font-weight: 600; letter-spacing: .1em; color: var(--gold-2); line-height: 1.9; }
.sec-index span { color: var(--paper-soft); opacity: 1; font-size: .75rem; }
.sec-title {
  font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  line-height: 1.34; font-weight: 700; letter-spacing: .02em; color: var(--paper);
}
.sec-sub { margin-top: 20px; max-width: 680px; color: var(--paper-dim); font-size: 1rem; line-height: 1.95; }
.m-break { display: inline; }

/* why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.quote { border-left: 1px solid var(--gold-soft); padding-left: 36px; }
.quote p {
  font-family: var(--serif); font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  line-height: 1.7; letter-spacing: .04em; color: var(--paper);
}
.quote cite {
  display: block; margin-top: 24px; font-style: normal; font-family: var(--mono);
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-2);
}
.why-points { display: flex; flex-direction: column; }
.point { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.point:last-child { border-bottom: 1px solid var(--line); }
.p-no { font-family: var(--mono); font-size: .75rem; font-weight: 600; color: var(--gold-2); padding-top: 6px; grid-row: 1 / 3; }
.point h3 { grid-column: 2; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--paper); margin-bottom: 8px; }
.point p { grid-column: 2; color: var(--paper-dim); font-size: .94rem; line-height: 1.9; max-width: 540px; }

/* method */
.method { border-top: 1px solid var(--line); }
.method-nav { display: grid; grid-template-columns: repeat(5, 1fr); }
.step {
  position: relative; text-align: left; background: none; border: 0; border-right: 1px solid var(--line);
  padding: 26px 24px 24px; cursor: pointer; color: var(--paper-dim); transition: background .2s;
}
.step:last-child { border-right: 0; }
.step span { display: block; font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-2); }
.step strong {
  display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  color: var(--paper); margin: 8px 0 4px; letter-spacing: .08em;
}
.step em { font-style: normal; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--paper-soft); }
.step::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.step.active { background: var(--night-3); }
.step.active::after { transform: scaleX(1); }
.step:hover strong { color: var(--gold); }
.method-panels { border: 1px solid var(--line); border-top: 0; background: var(--night-3); }
.step-panel { display: none; grid-template-columns: 1.35fr .8fr; gap: 60px; padding: 48px 50px 52px; }
.step-panel.active { display: grid; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-kicker { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--gold-2); }
.panel-copy h3 {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 2rem);
  font-weight: 700; color: var(--paper); margin: 14px 0 16px; line-height: 1.5;
}
.panel-copy p { color: var(--paper-dim); font-size: .98rem; line-height: 1.95; max-width: 640px; }
.panel-side { border-left: 1px solid var(--line); padding-left: 40px; }
.panel-side h4 { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--gold-2); margin-bottom: 14px; }
.panel-side li { position: relative; padding-left: 16px; color: var(--paper-dim); font-size: .9rem; line-height: 2; }
.panel-side li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: var(--gold); }
.panel-note { margin-top: 18px; color: var(--gold); font-family: var(--serif); font-size: .9rem; }

/* tech */
.tech-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 60px; align-items: center; }
.tech-diagram svg { width: 100%; height: auto; display: block; }
.diagram-dash { animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -180; } }
.tech-flow { display: none; }
.tech-side h3 {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 700; line-height: 1.55; color: var(--paper); margin: 12px 0 16px;
}
.tech-side p { color: var(--paper-dim); font-size: .94rem; line-height: 1.95; }
.gold { color: var(--gold-2); }
.mono.gold { color: var(--gold-2) !important; }
.mono { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; }
.tech-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin: 28px 0;
}
.tech-stats div { background: var(--night); padding: 18px 16px; }
.tech-stats dt { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--paper-soft); }
.tech-stats dd { font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1.25; margin-top: 4px; }
.tech-stats dd span { font-size: .75rem; font-family: var(--sans); color: var(--paper-soft); margin-left: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  border: 1px solid var(--line); padding: 5px 10px; font-family: var(--mono);
  font-size: .75rem; letter-spacing: .03em; color: var(--paper-soft);
}

/* services */
.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 60px 1.1fr 1fr 30px; gap: 30px; align-items: center;
  padding: 30px 10px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s;
}
.service:hover { background: var(--night-3); padding-left: 20px; }
.s-no { font-family: var(--mono); font-size: .75rem; font-weight: 600; color: var(--gold-2); }
.s-main h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--paper); margin-bottom: 6px; }
.s-main p { color: var(--paper-dim); font-size: .88rem; line-height: 1.8; }
.s-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.s-tags li {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .02em;
  color: var(--paper-soft); border: 1px solid var(--line); padding: 3px 8px;
}
.s-arrow { color: var(--gold); font-size: 1.1rem; }

/* research */
.research-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.research-item {
  position: relative; padding: 30px 22px 34px; border-right: 1px solid var(--line);
  transition: background .2s;
}
.research-item:last-child { border-right: 0; }
.research-item:hover { background: var(--night-3); }
.r-no { font-family: var(--mono); font-size: .75rem; font-weight: 600; color: var(--gold-2); }
.r-node {
  position: absolute; top: -3px; left: 22px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 5px rgba(198,165,102,.08);
}
.research-item h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--paper); margin: 18px 0 10px; }
.research-item p { color: var(--paper-dim); font-size: .86rem; line-height: 1.85; }
.r-meta { display: block; margin-top: 22px; font-family: var(--mono); font-size: .75rem; letter-spacing: .03em; color: var(--paper-soft); }

/* proof */
.proof-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.serif-quote { font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.7; color: var(--paper); }
.proof-copy > p:not(.serif-quote) { color: var(--paper-dim); font-size: .96rem; line-height: 1.95; margin-top: 20px; max-width: 480px; }
.text-link {
  display: inline-flex; gap: 10px; margin-top: 28px; color: var(--gold);
  font-size: .88rem; border-bottom: 1px solid var(--gold-soft); padding-bottom: 4px;
}
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.log-row { display: grid; grid-template-columns: 84px 1fr 90px; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.log-row:last-child { border-bottom: 1px solid var(--line); }
.log-row span { font-family: var(--mono); font-size: .75rem; font-weight: 600; color: var(--gold-2); padding-top: 3px; }
.log-row p { color: var(--paper-dim); font-size: .9rem; line-height: 1.8; }
.log-row em {
  font-style: normal; font-family: var(--mono); font-size: .75rem;
  letter-spacing: .03em; color: var(--paper-soft); text-align: right;
}

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-story p { color: var(--paper-dim); font-size: .98rem; line-height: 2; margin-top: 22px; max-width: 540px; }
.about-sign { font-family: var(--serif); font-size: 1.05rem; color: var(--paper); margin-top: 30px; line-height: 1.9; }
.about-sign span { font-family: var(--mono); font-size: .75rem; color: var(--paper-soft); letter-spacing: .04em; }
.about-facts { border-top: 1px solid var(--line); }
.about-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-2); padding-top: 3px; }
.about-facts dd { color: var(--paper); font-size: .9rem; line-height: 1.8; }
.partner {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start;
  margin-top: 70px; padding-top: 34px; border-top: 1px solid var(--line);
}
.partner h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); margin: 10px 0 8px; }
.partner p { color: var(--paper-dim); font-size: .9rem; line-height: 1.9; }
.partner .small { font-size: .82rem; margin-top: 6px; }
.partner > p { border-left: 1px solid var(--gold-soft); padding-left: 28px; }

/* contact */
.contact { background: var(--night-2); }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; }
.contact-copy h2 {
  font-family: var(--serif); font-size: clamp(2.2rem, 3.2vw, 3.1rem);
  line-height: 1.38; color: var(--paper); margin: 20px 0 24px;
}
.contact-copy .lead { color: var(--paper-dim); font-size: 1rem; line-height: 1.95; max-width: 540px; }
.contact-lines { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 30px 0 18px; }
.contact-lines a, .copy {
  font-family: var(--serif); font-size: 1.12rem; color: var(--gold);
  border-bottom: 1px solid var(--gold-soft); padding-bottom: 4px;
}
.copy { background: none; border: 0; border-bottom: 1px solid var(--gold-soft); cursor: pointer; padding-left: 0; padding-right: 0; }
.form { border-top: 0; }
.form-row {
  border: 1px solid var(--field-border); background: var(--field-bg);
  padding: 12px 16px; margin-bottom: 10px; transition: border-color .2s, background .2s;
}
.form-row:focus-within { border-color: var(--gold-soft); background: var(--field-focus); }
.form-row label { display: block; font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-2); margin-bottom: 5px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; background: transparent; border: 0; color: var(--paper);
  font-size: .94rem; padding: 4px 0; outline: none;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--placeholder); }
.form-row select option { background: var(--night); color: var(--paper); }
.form-row textarea { min-height: 80px; resize: vertical; }
.form .btn { margin-top: 26px; }
.form .small { margin-top: 10px; }
.small { font-size: .875rem; color: var(--paper-dim); line-height: 1.8; }

/* footer */
.footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding: 70px 0 30px; color: var(--paper-dim); }
.foot-top { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 60px; }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-note { margin-top: 20px; color: var(--paper-soft); font-size: .82rem; line-height: 1.9; }
.foot-cols { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 30px; }
.foot-cols > div { border-left: 1px solid var(--line); padding-left: 28px; }
.foot-cols h4 { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--paper); margin-bottom: 14px; letter-spacing: .06em; }
.foot-cols a { display: block; font-size: .88rem; color: var(--paper-dim); line-height: 2; }
.foot-cols a:hover { color: var(--gold); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 54px; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .03em; color: var(--footer-legal);
}

/* mobile cta + toast */
.mobile-cta { display: none; }
.copy-toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%);
  background: var(--paper); color: var(--night); font-size: .82rem;
  padding: 10px 16px; z-index: 250; opacity: 0; pointer-events: none;
  transition: opacity .2s; white-space: nowrap;
}
.copy-toast.show { opacity: 1; }

/* theme switch */
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  flex: none; height: 38px; padding: 0 12px; margin-left: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--paper-dim);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.theme-btn:hover { border-color: var(--gold-soft); color: var(--gold-2); }
.theme-icon { width: 16px; height: 16px; display: block; flex: none; color: var(--gold-2); }
.theme-icon .icon-moon { display: none; }
html[data-theme="day"] .theme-icon .icon-sun { display: none; }
html[data-theme="day"] .theme-icon .icon-moon { display: block; }
.theme-label { line-height: 1; }
.label-night { display: none; }
html[data-theme="day"] .label-day { display: none; }
html[data-theme="day"] .label-night { display: inline; }

/* svg theming */
.constellation path { stroke: var(--gold); }
.constellation circle { fill: var(--gold); }
.compass-labels { fill: var(--paper); }
.compass-svg .ring-dash circle { stroke: var(--gold); }
.compass-svg circle[stroke="#F1EBDD"] { stroke: var(--paper); }
.compass-svg circle[stroke="#C6A566"], .compass-svg path[stroke="#C6A566"] { stroke: var(--gold); }
.compass-svg g[fill="#C6A566"] circle { fill: var(--gold); }
.compass-svg circle[fill="#0B1210"] { fill: var(--night); }
.diagram-lines, .diagram-dash { stroke: var(--gold); }
#arrow path { fill: var(--gold); }
.node rect { fill: var(--night-2); stroke: var(--paper); }
.node text:first-of-type { fill: var(--paper); }
.node text:last-of-type { fill: var(--paper-soft); }
.diagram-core { fill: var(--night); stroke: var(--gold); }
.diagram-core-text { fill: var(--gold-2); }
.signal-halo, .signal-dot { fill: var(--gold-2); }

/* dynamic accents */
.hero-media img { animation: heroDrift 38s ease-in-out infinite alternate; transform-origin: center; }
.c-node {
  transform-box: fill-box; transform-origin: center;
  animation: nodePulse 4.8s ease-in-out infinite;
}
.c-node:nth-of-type(2) { animation-delay: .8s; }
.c-node:nth-of-type(3) { animation-delay: 1.6s; }
.c-node:nth-of-type(4) { animation-delay: 2.4s; }
.c-node:nth-of-type(5) { animation-delay: 3.2s; }
.constellation circle { animation: twinkle 5.2s ease-in-out infinite; }
.constellation g:last-of-type circle:nth-child(2n) { animation-delay: 1.4s; }
.constellation g:last-of-type circle:nth-child(3n) { animation-delay: 2.6s; }
@keyframes heroDrift { from { transform: scale(1.015); } to { transform: scale(1.065); } }
@keyframes nodePulse { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.9); } }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* day theme details */
html[data-theme="day"] .hero-media img { opacity: .96; filter: brightness(1.03) saturate(.98); }
html[data-theme="day"] .hero-shade {
  background:
    linear-gradient(90deg, var(--night) 0%, rgba(245,240,229,.97) 34%, rgba(245,240,229,.7) 62%, rgba(245,240,229,.22) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(245,240,229,0) 44%),
    linear-gradient(180deg, rgba(245,240,229,.62) 0%, rgba(245,240,229,0) 34%);
}
html[data-theme="day"] .hero-shade::after { display: none; }
html[data-theme="day"] .mobile-cta { box-shadow: 0 -12px 30px rgba(22,32,28,.08); }
html[data-theme="day"] .mobile-cta a { color: var(--paper); border-color: var(--line); }
html[data-theme="day"] .mobile-cta a:first-child { color: var(--on-gold); border-color: var(--gold); }
html[data-theme="day"] .contact-lines a, html[data-theme="day"] .copy, html[data-theme="day"] .text-link { color: var(--gold-2); }
html[data-theme="day"] ::selection { background: var(--paper); color: var(--night); }
html[data-theme="day"] .btn.gold { background: #1E3A32; border-color: #1E3A32; color: #F5F0E5; }
html[data-theme="day"] .btn.gold:hover { background: #16201C; border-color: #16201C; color: #F5F0E5; }
html[data-theme="day"] .nav .nav-cta:hover { background: #1E3A32; border-color: #1E3A32; color: #F5F0E5; }
html[data-theme="day"] .mobile-cta a:first-child { background: #1E3A32; border-color: #1E3A32; color: #F5F0E5; }

/* responsive */
@media (max-width: 1200px) {
  .head-inner { gap: 28px; }
  .nav { gap: 20px; }
  .hero-inner { gap: 40px; }
  .compass { width: min(430px, 36vw); }
}
@media (max-width: 1100px) {
  .research-grid { grid-template-columns: 1fr 1fr; }
  .research-item { border-bottom: 1px solid var(--line); }
  .research-item:nth-child(2n) { border-right: 0; }
  .research-item:last-child { grid-column: 1 / -1; border-right: 0; }
}
@media (max-width: 1020px) {
  .head-inner { gap: 12px; }
  .theme-btn { margin-left: auto; width: 40px; height: 38px; padding: 0; }
  .theme-label { display: none !important; }
  .menu-btn { margin-left: 0; }
  .nav {
    display: none; position: fixed; top: 92px; bottom: 0; left: 0; right: 0;
    background: var(--night); border-bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 14px 32px 30px;
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.05rem; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav-cta { border: 1px solid var(--gold-soft); margin: 18px 0 0; padding: 14px 0; text-align: center; }
  .nav-foot {
    display: block; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line);
  }
  .nav .nav-foot a { display: block; border-bottom: 0; padding: 0 0 8px; font-family: var(--serif); font-size: 1rem; color: var(--gold); }
.nav-foot span { display: block; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--paper-soft); }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hero { min-height: auto; }
  .hero-media img { object-position: 22% 42%; }
  .hero-shade::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 60px; }
  .hero .lead { max-width: 640px; }
  .hero-visual { order: 2; margin-top: 24px; }
  .compass { width: min(360px, 62vw); }
  .vertical-label { display: none; }
  .section { padding: 96px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 46px; }
  .why-grid, .tech-grid, .proof-grid, .about-grid, .contact-grid, .partner { grid-template-columns: 1fr; gap: 44px; }
  .step-panel { grid-template-columns: 1fr; gap: 30px; padding: 38px 34px 42px; }
  .panel-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
  .service { grid-template-columns: 46px 1fr 26px; gap: 18px; }
  .s-tags { grid-column: 2; }
  .s-arrow { grid-column: 3; grid-row: 1 / 3; }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .research-item { border-bottom: 1px solid var(--line); }
  .research-item:nth-child(2n) { border-right: 0; }
  .research-item:last-child { grid-column: 1 / -1; border-right: 0; }
  .partner > p { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .foot-top { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .head-inner { height: 80px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text strong span { font-size: .76rem; }
  .brand-en { font-size: .75rem; letter-spacing: .06em; }
  .menu-btn { height: 38px; padding: 0 12px; }
  .nav { top: 80px; padding: 8px 22px 22px; }
  .hero { padding-top: 80px; }
  .hero-inner { padding-top: 52px; padding-bottom: 48px; gap: 26px; }
  .eyebrow { font-size: .75rem; letter-spacing: .08em; }
  .eyebrow i { display: none; }
  .hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.4rem); }
  .hero .lead { margin-top: 22px; font-size: 1rem; line-height: 1.95; }
  .actions { margin-top: 28px; }
  .actions .btn { width: 100%; }
  .hero-facts { gap: 18px 28px; margin-top: 34px; padding-top: 18px; }
  .hero-facts > div { flex: 1 1 40%; }
  .compass { width: min(300px, 72vw); }
  .hero-foot-inner { font-size: .75rem; letter-spacing: .03em; gap: 4px; }
  .hero-foot-inner span { width: 100%; }
  .hero-foot-inner span:last-child { display: none; }
  .section { padding: 74px 0; }
  .sec-title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .m-break { display: block; }
  .sec-sub { margin-top: 16px; font-size: .94rem; }
  .quote { padding-left: 24px; }
  .quote p { font-size: 1.55rem; }
  .point { grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 0; }
  .point h3 { font-size: 1.15rem; }
  .method-nav { grid-template-columns: repeat(5, 1fr); }
  .step { padding: 16px 6px; text-align: center; }
  .step span { font-size: .75rem; }
  .step strong { font-size: 1.02rem; margin: 4px 0 0; }
  .step em { display: none; }
  .step-panel { padding: 28px 22px 32px; gap: 24px; }
  .panel-copy h3 { font-size: 1.35rem; }
  .panel-copy p { font-size: .92rem; }
  .tech-diagram svg { display: none; }
  .tech-flow { display: block; border-top: 1px solid var(--line); }
  .tech-flow li { display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .tech-flow span { font-family: var(--mono); font-size: .75rem; color: var(--gold-2); grid-row: 1 / 3; padding-top: 4px; }
  .tech-flow strong { font-family: var(--serif); font-size: 1.08rem; color: var(--paper); font-weight: 700; }
  .tech-flow em { font-style: normal; font-size: .78rem; color: var(--paper-dim); }
  .tech-stats dd { font-size: 1.7rem; }
  .service { grid-template-columns: 34px 1fr; padding: 24px 0; gap: 10px 14px; }
  .service:hover { padding-left: 0; }
  .s-arrow { display: none; }
  .s-tags { grid-column: 2; }
  .research-grid { grid-template-columns: 1fr; }
  .research-item { border-right: 0 !important; padding: 22px 0; }
  .research-item:last-child { border-right: 0; }
  .r-node { left: 0; }
  .r-meta { margin-top: 14px; }
  .log-row { grid-template-columns: 70px 1fr; gap: 8px 14px; }
  .log-row em { grid-column: 2; text-align: left; }
  .about-facts div { grid-template-columns: 100px 1fr; gap: 12px; }
  .about-facts dd { font-size: .84rem; }
  .partner { margin-top: 44px; }
  .contact-lines a, .copy { font-size: 1rem; }
  .contact-copy h2 { font-size: clamp(1.8rem, 7.5vw, 2.3rem); line-height: 1.42; }
  .form .btn { width: 100%; }
  .foot-cols { grid-template-columns: 1fr; gap: 0; }
  .foot-cols > div { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; margin-top: 22px; }
  .foot-cols > div:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
  .footer { padding-bottom: 96px; }
  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
    background: var(--night); border-top: 1px solid var(--gold-soft);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-cta a {
    flex: 1 1 0; min-width: 0; text-align: center; padding: 12px 10px;
    font-size: .88rem; letter-spacing: .04em; white-space: nowrap;
    border: 1px solid var(--gold-soft); color: var(--gold);
  }
  .mobile-cta a:first-child { background: var(--gold); color: var(--on-gold); font-weight: 700; }
}
@media (max-width: 360px) {
  .container { padding: 0 16px; }
  .head-inner { gap: 8px; }
  .brand-en { display: none; }
  .brand-text strong span { font-size: .75rem; }
  .theme-btn { width: 32px; height: 36px; }
  .menu-btn { padding: 0 8px; }
  .hero h1 { font-size: 2.35rem; }
  .step { padding: 14px 4px; }
  .step strong { font-size: .94rem; }
  .about-facts div { grid-template-columns: 82px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring-dash, .diagram-dash, .hero-media img, .c-node, .constellation circle { animation: none; }
  .signal { display: none; }
}
