/* =========================================================
   PRISM — 数据确权演示站（虚构）
   主题：白光 → 棱镜 → 八色光谱
   ========================================================= */
:root {
  --bg: #05060a;
  --bg-2: #0b0d14;
  --fg: #eef0f6;
  --muted: #8a90a2;
  --line: rgba(255, 255, 255, .1);
  --s1: #ff3b5c; --s2: #ff7a3d; --s3: #ffc93d; --s4: #7dff6a;
  --s5: #3dffc5; --s6: #3db8ff; --s7: #6a6cff; --s8: #b56aff;
  --spectrum: linear-gradient(90deg, var(--s1), var(--s2), var(--s3), var(--s4), var(--s5), var(--s6), var(--s7), var(--s8));
  --sans: "Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--s5); color: #000; }
:focus-visible { outline: 2px solid var(--s5); outline-offset: 3px; border-radius: 4px; }

.wrap { padding-inline: var(--pad); max-width: 1600px; margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.label { color: var(--muted); margin-bottom: 28px; }
.muted { color: var(--muted); font-size: .4em; font-weight: 500; letter-spacing: 0; vertical-align: middle; margin-left: .4em; }
.display {
  font-size: clamp(48px, 9vw, 150px); line-height: .98; font-weight: 900; letter-spacing: -.02em;
}
.grad-text, .grad .char, .grad:not(:has(.char)) {
  background: var(--spectrum); background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad .char { background-size: var(--gw, 600%) 100%; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--fg); color: #000; padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-4%) } 60% { transform: translate(-4%,-1%) } 80% { transform: translate(3%,3%) } }

/* ---------- curtain (intro, < 1s) ---------- */
.curtain { display: none; }
.motion .curtain {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 150; background: var(--bg);
  pointer-events: none; clip-path: inset(0 0 0 0);
}
.curtain-beam { position: absolute; left: 0; top: 50%; height: 2px; width: 100%; background: var(--spectrum); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 24px rgba(255,255,255,.4); }
.curtain-word { font-family: var(--mono); letter-spacing: .6em; font-size: 12px; color: var(--muted); transform: translateY(28px); }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 160; pointer-events: none; mix-blend-mode: difference; }
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
}
.cursor-dot { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; }
.cursor-ring {
  position: absolute; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7);
  display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
}
.cursor-label { font: 500 10px/1 var(--mono); letter-spacing: .12em; font-style: normal; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px; background: rgba(255,255,255,.12); }
.cursor.is-label .cursor-ring { width: 84px; height: 84px; margin: -42px; background: #fff; }
.cursor.is-label .cursor-label { opacity: 1; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 32px;
  padding: 18px var(--pad); transition: transform .5s var(--ease), background .4s, backdrop-filter .4s;
}
.site-header.is-solid { background: rgba(5,6,10,.6); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; }
.brand-text { font-weight: 700; letter-spacing: .12em; font-size: 15px; }
.brand-text b { font-weight: 500; letter-spacing: .05em; margin-left: 8px; color: var(--muted); }
.badge { font: 500 10px/1 var(--mono); padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); letter-spacing: .1em; }
.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a { position: relative; color: rgba(238,240,246,.8); transition: color .3s; }
.nav a small { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-left: 4px; letter-spacing: .06em; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--spectrum); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px;
  font: 500 15px/1 var(--sans); border: 1px solid var(--line); color: var(--fg); background: transparent; overflow: hidden; isolation: isolate;
  transition: border-color .3s, color .3s;
}
.btn i { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn-primary { background: var(--fg); color: #05060a; border-color: var(--fg); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--spectrum); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn-primary:hover::before { transform: translateY(0); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); }
.header-cta { padding: 10px 18px; font-size: 14px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-bottom: 28px; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-fallback {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 40% at 70% 45%, rgba(106,108,255,.22), transparent 70%),
    radial-gradient(40% 30% at 85% 60%, rgba(255,59,92,.18), transparent 70%),
    radial-gradient(50% 40% at 60% 30%, rgba(61,255,197,.12), transparent 70%);
}
.hero.has-webgl .hero-fallback { opacity: 0; }
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(5,6,10,.4) 0%, transparent 25%, transparent 50%, rgba(5,6,10,.85) 100%), radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(5,6,10,.7) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 120px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--muted); padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5,6,10,.4); backdrop-filter: blur(6px); margin-bottom: 28px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--s5); box-shadow: 0 0 12px var(--s5); animation: pulse 2s infinite; }
.eyebrow .sep { opacity: .4; }
@keyframes pulse { 50% { opacity: .3 } }
.hero-title { font-size: clamp(64px, 13.5vw, 240px); line-height: .92; font-weight: 900; letter-spacing: -.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .grad { display: inline-block; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.hero-sub { max-width: 520px; color: rgba(238,240,246,.75); font-size: clamp(15px, 1.3vw, 18px); }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); }
.scroll-hint { display: flex; align-items: center; gap: 12px; font: 500 11px/1 var(--mono); letter-spacing: .2em; color: var(--muted); }
.scroll-line { position: relative; width: 48px; height: 1px; background: var(--line); overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: #fff; animation: scan 2s var(--ease) infinite; }
@keyframes scan { from { transform: translateX(-100%) } to { transform: translateX(100%) } }
.spectrum-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.spectrum-legend li { display: flex; align-items: center; gap: 6px; }
.spectrum-legend li::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.hero-coord { color: var(--muted); text-align: right; font-size: 10px; line-height: 1.6; }

/* split chars */
.char { display: inline-block; will-change: transform; }
.word { display: inline-block; white-space: nowrap; }

/* intro hidden state (only when motion allowed; JS reveals) */
.motion [data-intro], .motion .hero-title .char, .motion [data-reveal] { opacity: 0; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--bg); }
.marquee-inner { display: flex; width: max-content; font-size: clamp(28px, 4vw, 64px); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; animation: marquee 40s linear infinite; }
.js-marquee .marquee-inner { animation: none; }
.marquee em { font-style: normal; font-weight: 400; -webkit-text-stroke: 1px rgba(238,240,246,.55); color: transparent; margin: 0 .3em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { padding-block: clamp(120px, 18vw, 260px); }
.manifesto-text { font-size: clamp(32px, 5.2vw, 88px); line-height: 1.22; font-weight: 800; letter-spacing: -.01em; max-width: 15em; }
.manifesto-text mark { background: none; color: inherit; position: relative; }
.manifesto-text mark .char, .manifesto-text mark:not(:has(.char)) { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 400% 100%; }
.manifesto-foot { margin-top: 64px; display: flex; justify-content: flex-end; }
.manifesto-foot p { max-width: 460px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 20px; }
.manifesto-foot strong { color: var(--fg); }

/* =========================================================
   SERVICES (horizontal on desktop)
   ========================================================= */
.svc { position: relative; background: var(--bg); }
.svc-hud { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); top: 96px; display: none; align-items: center; gap: 24px; pointer-events: none; }
.svc-count { color: var(--muted); }
.svc-count b { color: #fff; font-weight: 500; }
.svc-bar { flex: 1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.svc-bar i { height: 2px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.svc-bar i::after { content: ""; position: absolute; inset: 0; background: var(--c); box-shadow: 0 0 8px var(--c); transform: scaleX(var(--p, 0)); transform-origin: left; }

.svc-track { display: grid; gap: 20px; padding: 0 var(--pad) 120px; }
.svc-intro { padding: 40px 0 40px; }
.svc-intro-sub { color: var(--muted); max-width: 380px; margin-top: 28px; font-size: 17px; }
.svc-intro-hint { color: var(--muted); margin-top: 40px; display: none; }

.panel {
  --mx: 50%; --my: 30%;
  position: relative; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,0) 40%), var(--bg-2);
  transition: border-color .4s;
}
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); opacity: .55; transition: opacity .4s; }
.panel::after {
  content: attr(data-nm); position: absolute; right: 28px; bottom: 24px; font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--c);
}
.panel:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.panel:hover::before { opacity: 1; }
.panel-inner { position: relative; padding: clamp(28px, 3.4vw, 56px); height: 100%; display: flex; flex-direction: column; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: auto; padding-bottom: 32px; }
.panel-no { font-size: clamp(80px, 11vw, 180px); line-height: .8; font-weight: 700; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--c); filter: drop-shadow(0 0 22px color-mix(in srgb, var(--c) 45%, transparent)); }
.panel-en { color: var(--c); text-align: right; }
.panel h3 { font-size: clamp(32px, 3.6vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; margin-bottom: 20px; }
.panel p { color: rgba(238,240,246,.72); max-width: 34em; }
.panel ul { margin-top: 24px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.panel li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.panel li::before { content: ""; flex: none; width: 8px; height: 8px; transform: rotate(45deg); border: 1.5px solid var(--c); }
.panel-spark { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

@media (min-width: 900px) {
  .svc-hud { display: flex; }
  .svc-track { grid-template-columns: repeat(2, 1fr); }
  .svc-intro { grid-column: 1 / -1; }
}

/* horizontal mode — enabled by JS */
.svc.is-horizontal { height: 100vh; overflow: hidden; }
.svc.is-horizontal .svc-track { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 28px; height: 100vh; padding: 150px var(--pad) 64px; width: max-content; will-change: transform; }
.svc.is-horizontal .svc-intro { width: 36vw; flex: none; display: flex; flex-direction: column; justify-content: center; padding: 0 3vw 0 0; }
.svc.is-horizontal .svc-intro-hint { display: block; }
.svc.is-horizontal .panel { width: min(46vw, 760px); flex: none; }

/* =========================================================
   METHOD
   ========================================================= */
.method { padding-block: clamp(120px, 14vw, 200px); }
.method-grid { position: relative; margin-top: 80px; }
.method-path { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; overflow: visible; filter: drop-shadow(0 0 10px rgba(255,255,255,.25)); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 160px; }
.steps li { border-top: 1px solid var(--line); padding-top: 22px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff; }
.steps .mono { color: var(--muted); }
.steps h3 { font-size: clamp(36px, 3.6vw, 60px); font-weight: 900; margin: 10px 0 10px; line-height: 1.1; }
.steps p { color: var(--muted); font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(100px, 12vw, 180px); border-top: 1px solid var(--line); }
.stats > div { padding: 28px 24px 0 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { border-right: 0; }
.stats dt { color: var(--muted); font-size: 13px; }
.stats dd { font-size: clamp(64px, 8vw, 140px); line-height: 1; font-weight: 700; letter-spacing: -.04em; margin-top: 18px; font-variant-numeric: tabular-nums; }
.stats dd small { font-size: .35em; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.stats > div:nth-child(1) dd span { color: var(--s1); } .stats > div:nth-child(2) dd span { color: var(--s3); }
.stats > div:nth-child(3) dd span { color: var(--s5); } .stats > div:nth-child(4) dd span { color: var(--s8); }

/* =========================================================
   TEAM
   ========================================================= */
.team { padding-block: clamp(80px, 10vw, 160px); }
.section-head { margin-bottom: 64px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.person {
  position: relative; padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg-2); transform-style: preserve-3d;
  transition: border-color .4s;
}
.person:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.avatar {
  aspect-ratio: 1; border-radius: 18px; margin-bottom: 24px; display: grid; place-items: center; overflow: hidden; position: relative;
  background: conic-gradient(from 210deg at 30% 70%, var(--c), #05060a 35%, color-mix(in srgb, var(--c) 40%, #6a6cff) 60%, #05060a 85%, var(--c));
  transform: translateZ(30px);
}
.avatar::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.35), transparent 40%); mix-blend-mode: overlay; }
.avatar span { font-size: clamp(64px, 7vw, 120px); font-weight: 900; color: rgba(255,255,255,.92); mix-blend-mode: overlay; }
.person h3 { font-size: 24px; font-weight: 800; transform: translateZ(20px); }
.person h3 small { display: block; font-size: 13px; color: var(--c); font-weight: 500; margin-top: 2px; }
.person p { color: var(--muted); font-size: 14px; margin: 10px 0 18px; }
.person .tag { color: var(--muted); font-size: 10px; border: 1px solid var(--line); padding: 5px 8px; border-radius: 6px; display: inline-block; }

/* =========================================================
   NEWS
   ========================================================= */
.news { padding-block: clamp(80px, 10vw, 160px); }
.news-list { border-top: 1px solid var(--line); }
.news-list a {
  position: relative; display: grid; grid-template-columns: 160px 1fr auto 40px; align-items: center; gap: 24px;
  padding: 34px 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.news-list a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--spectrum); opacity: .1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.news-list a:hover::before { transform: scaleY(1); }
.news-list .mono { color: var(--muted); }
.news-list h3 { font-size: clamp(20px, 2.3vw, 36px); font-weight: 700; line-height: 1.25; transition: transform .5s var(--ease); }
.news-list a:hover h3 { transform: translateX(14px); }
.news-cat { font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.news-list i { font-style: normal; font-size: 26px; transition: transform .5s var(--ease); }
.news-list a:hover i { transform: rotate(45deg); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-block: clamp(100px, 12vw, 180px); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 30%; width: 120vw; height: 60vw; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(106,108,255,.18), transparent); pointer-events: none; }
.contact-title { position: relative; font-size: clamp(56px, 12vw, 220px); font-weight: 900; line-height: 1; letter-spacing: -.04em; margin-bottom: 72px; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact-form { display: grid; gap: 28px; }
.contact-form label > span, .contact-form legend { display: block; font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .1em; margin-bottom: 10px; }
.contact-form input:not([type=checkbox]) {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0 14px; color: var(--fg);
  font: 500 clamp(18px, 1.8vw, 26px) var(--sans); transition: border-color .3s;
}
.contact-form input:focus { outline: none; border-color: var(--s5); }
.contact-form input::placeholder { color: rgba(138,144,162,.5); }
.contact-form fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: all .3s; }
.chips input:checked + span { background: var(--fg); color: #000; border-color: var(--fg); }
.chips input:focus-visible + span { outline: 2px solid var(--s5); outline-offset: 2px; }
.contact-form .btn { justify-self: start; }
.contact-info { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.contact-info div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .mono { color: var(--muted); padding-top: 4px; font-size: 11px; }
.contact-info p { font-size: 17px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; overflow: hidden; padding-bottom: 32px; border-top: 1px solid var(--line); }
.footer-word {
  font-size: 27vw; font-weight: 700; line-height: .8; letter-spacing: -.06em; text-align: center; margin: 4vw 0 2vw;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
  background: var(--spectrum); -webkit-background-clip: text; background-clip: text; background-size: 0% 100%; background-repeat: no-repeat;
  transition: background-size 1.2s var(--ease);
}
.site-footer:hover .footer-word { background-size: 100% 100%; }
.footer-row { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; font-size: 13px; color: var(--muted); }
.disclaimer { max-width: 640px; justify-self: center; text-align: center; }
.to-top { color: var(--fg); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 170; transform: translate(-50%, 140%); padding: 14px 22px; border-radius: 999px; background: var(--fg); color: #000; font-size: 14px; transition: transform .5s var(--ease); pointer-events: none; }
.toast.is-on { transform: translate(-50%, 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(5,6,10,.5); }
  .menu-toggle span { width: 18px; height: 1.5px; background: var(--fg); transition: transform .3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; justify-content: center; gap: 8px; position: fixed; inset: 0; z-index: 99; background: rgba(5,6,10,.96); padding: var(--pad); font-size: 44px; font-weight: 900; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .hero-coord { display: none; }
}
@media (max-width: 760px) {
  .header-cta, .brand-text b { display: none; }
  .hero-meta .spectrum-legend { display: none; }
  .hero-bottom { margin-top: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .method-path { display: none; }
  .steps { padding-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(3) { padding-left: 0; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person { padding: 16px; }
  .news-list a { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .news-list .mono { grid-column: 1 / -1; }
  .news-cat { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr; text-align: left; }
  .disclaimer { text-align: left; justify-self: start; }
  .panel { border-radius: 20px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
  .marquee-inner { animation: none; }
}
