/* =====================================================================
   YUME AI — Sai Charan
   Design system + layout + motion
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:        #04060e;
  --bg-soft:   #060b18;
  --navy:      #081226;
  --panel:     rgba(11, 21, 42, 0.58);
  --panel-2:   rgba(8, 16, 34, 0.82);

  --blue:      #2f6bff;
  --blue-soft: #5b8dff;
  --cyan:      #46e6ff;
  --violet:    #8b5cf6;

  --text:      #eaf0ff;
  --muted:     #93a4c6;
  --dim:       rgba(234, 240, 255, 0.38);

  --line:      rgba(140, 170, 255, 0.13);
  --line-2:    rgba(140, 170, 255, 0.24);

  --glass:     rgba(12, 23, 46, 0.5);
  --glass-hi:  rgba(255, 255, 255, 0.06);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-jp:      'Noto Sans JP', 'Sora', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --pad: clamp(20px, 5vw, 64px);
  --max: 1240px;

  --photo-pos: 50% 30%;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);

  --nav-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(47, 107, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at 8% 18%, rgba(70, 230, 255, 0.07), transparent 62%),
    radial-gradient(1000px 700px at 50% 110%, rgba(139, 92, 246, 0.10), transparent 60%),
    linear-gradient(180deg, #04060e 0%, #050a16 45%, #04060e 100%);
  z-index: -3;
  pointer-events: none;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

::selection { background: rgba(70, 230, 255, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #04060e; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#1c3a78, #0e1d38);
  border-radius: 99px;
  border: 2px solid #04060e;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(#2b56ad, #16294c); }

.skip {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--cyan);
  color: #031018;
  border-radius: 10px;
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip:focus { top: 16px; }

.mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.grad {
  background: linear-gradient(104deg, #b6f4ff 0%, #46e6ff 26%, #5b8dff 58%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.muted { color: var(--muted); }

/* =====================================================================
   Loader
   ===================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #04060e;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-core { text-align: center; width: min(280px, 72vw); }

.loader-kanji {
  font-family: var(--font-jp);
  font-size: 62px;
  line-height: 1;
  color: transparent;
  background: linear-gradient(150deg, #bfefff, #46e6ff 40%, #5b8dff 75%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 26px rgba(70, 230, 255, .45));
  animation: loader-breathe 2.6s var(--ease-io) infinite;
}

.loader-name {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .42em;
  padding-left: .42em;
}
.loader-name span { color: var(--cyan); }

.loader-bar {
  margin: 22px auto 14px;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, .08);
  border-radius: 99px;
  overflow: hidden;
}
.loader-bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue));
  animation: loader-slide 1.15s var(--ease-io) infinite;
}

.loader-caption {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .26em;
  color: rgba(147, 164, 198, .7);
}

@keyframes loader-slide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(360%); }
}
@keyframes loader-breathe {
  0%, 100% { opacity: .75; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

/* =====================================================================
   Ambient layers
   ===================================================================== */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: orb-float 22s var(--ease-io) infinite alternate;
}
.orb-a {
  width: 46vw; height: 46vw;
  top: -12vw; right: -8vw;
  background: radial-gradient(circle, rgba(47, 107, 255, .55), transparent 68%);
}
.orb-b {
  width: 38vw; height: 38vw;
  bottom: -10vw; left: -12vw;
  background: radial-gradient(circle, rgba(70, 230, 255, .26), transparent 68%);
  animation-delay: -7s;
}
.orb-c {
  width: 30vw; height: 30vw;
  top: 42%; left: 52%;
  background: radial-gradient(circle, rgba(139, 92, 246, .3), transparent 68%);
  animation-delay: -13s;
}

@keyframes orb-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3vw, -4vh, 0) scale(1.12); }
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: .85;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 170, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, .05) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 80%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 560px; height: 560px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s;
  background: radial-gradient(circle, rgba(70, 230, 255, .10), rgba(47, 107, 255, .05) 40%, transparent 68%);
  mix-blend-mode: screen;
}
.cursor-glow.on { opacity: 1; }

.progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  z-index: 120;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue), var(--cyan) 55%, var(--violet));
  box-shadow: 0 0 18px rgba(70, 230, 255, .6);
}

/* =====================================================================
   Nav
   ===================================================================== */
.nav {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 28px));
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 12px 11px 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(6, 12, 26, .72);
  border-color: var(--line);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 18px 50px -22px rgba(0, 0, 0, .85);
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  font-family: var(--font-jp);
  font-size: 20px;
  color: #d8f7ff;
  background:
    linear-gradient(160deg, rgba(70, 230, 255, .22), rgba(47, 107, 255, .18)),
    rgba(10, 20, 40, .8);
  border: 1px solid rgba(70, 230, 255, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 26px -6px rgba(70, 230, 255, .5);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
}
.brand-text b span { color: var(--cyan); }
.brand-text > span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .045); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--cyan);
}

.nav-cta { flex-shrink: 0; margin-left: 6px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  position: relative;
  margin-left: auto;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 16px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 50%; margin-top: -0.75px; }
.nav-toggle span::before { content: ""; top: -5px; left: 0; transform: none; }
.nav-toggle span::after  { content: ""; top: 5px; left: 0; transform: none; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-5px) rotate(-45deg); }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .35s, background .3s, border-color .3s, color .3s;
}
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); font-size: 13px; }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn-primary {
  color: #02121c;
  background: linear-gradient(104deg, #7defff, #46e6ff 34%, #5b8dff 100%);
  box-shadow: 0 12px 34px -14px rgba(70, 230, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .55) 45%, transparent 62%);
  transform: translateX(-130%);
  transition: transform .75s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(70, 230, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-primary:hover::after { transform: translateX(130%); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  border-color: var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(70, 230, 255, .5); transform: translateY(-2px); }

.btn-sm { padding: 11px 17px; font-size: 12.5px; }
.btn-lg { padding: 17px 26px; font-size: 14.5px; }

/* =====================================================================
   Layout primitives
   ===================================================================== */
main { position: relative; z-index: 5; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: clamp(76px, 9.5vw, 140px);
}

.sec-head { max-width: 820px; margin-bottom: clamp(34px, 4.6vw, 64px); }

.sec-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  opacity: .9;
}

.sec-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.sec-title .dim { color: var(--dim); }

.sec-sub {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.7;
}

section[id] { scroll-margin-top: 96px; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(30px, 5vh, 56px);
  padding: calc(var(--nav-h) + 44px) var(--pad) 0;
  overflow: hidden;
}

.hero-grid {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy { max-width: 640px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.eyebrow .sep { color: rgba(147, 164, 198, .4); }
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(70, 230, 255, .6);
  animation: pulse 2.4s var(--ease-io) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(70, 230, 255, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(70, 230, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 230, 255, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.05rem, 4.35vw, 3.9rem);
  line-height: .99;
  letter-spacing: -.042em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-title .grad { display: inline; }

.hero-lede {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 1.7;
  color: #c3d0ea;
}

.tagline {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: .92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-facts li { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.hero-facts b {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.hero-facts span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Portrait (Act I) ---------- */
.portrait-wrap {
  position: relative;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 560px;
  perspective: 1200px;
}

.portrait-orbit {
  position: absolute;
  inset: -9% -7%;
  z-index: 0;
  pointer-events: none;
  animation: orbit-drift 26s linear infinite;
}
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(70, 230, 255, .16);
  transform: rotate(-24deg) scaleY(.62);
}
.orbit-2 {
  inset: 4%;
  border-color: rgba(139, 92, 246, .18);
  transform: rotate(38deg) scaleY(.66);
}
.orbit-dot {
  position: absolute;
  top: 14%; right: 2%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px 2px rgba(70, 230, 255, .7);
}
@keyframes orbit-drift {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.portrait {
  position: relative;
  padding: 1px;
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(70, 230, 255, .6), rgba(47, 107, 255, .08) 42%, rgba(139, 92, 246, .5));
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, .95),
    0 0 70px -30px rgba(70, 230, 255, .55),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: translate3d(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 10px + var(--sy, 0) * -18px), 0) rotate(calc(var(--mx, 0) * 1.2deg));
  transition: transform .25s linear;
  will-change: transform;
}

.portrait-img {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #050b16;
}
.portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-pos);
  transform: scale(1.04);
  filter: saturate(1.03) contrast(1.04) brightness(.97);
}

.portrait-vignette {
  position: absolute;
  inset: 0;
  border-radius: 25px;
  background:
    linear-gradient(180deg, rgba(4, 6, 14, .18) 0%, transparent 28%, transparent 58%, rgba(4, 6, 14, .82) 100%),
    radial-gradient(120% 80% at 50% 100%, rgba(47, 107, 255, .18), transparent 60%);
  pointer-events: none;
}

.portrait-scan {
  position: absolute;
  left: 0; right: 0;
  height: 32%;
  top: -32%;
  border-radius: 25px;
  background: linear-gradient(180deg, transparent, rgba(70, 230, 255, .1) 70%, rgba(70, 230, 255, .22));
  mix-blend-mode: screen;
  animation: scan 7s var(--ease-io) infinite 2.2s;
  pointer-events: none;
}
@keyframes scan {
  0%   { transform: translateY(0); opacity: 0; }
  12%  { opacity: 1; }
  55%  { opacity: .7; }
  100% { transform: translateY(420%); opacity: 0; }
}

.hud {
  position: absolute;
  width: 26px; height: 26px;
  pointer-events: none;
  opacity: .75;
}
.hud-tl { top: 16px; left: 16px; border-top: 1px solid var(--cyan); border-left: 1px solid var(--cyan); border-top-left-radius: 6px; }
.hud-tr { top: 16px; right: 16px; border-top: 1px solid var(--cyan); border-right: 1px solid var(--cyan); border-top-right-radius: 6px; }
.hud-bl { bottom: 16px; left: 16px; border-bottom: 1px solid var(--cyan); border-left: 1px solid var(--cyan); border-bottom-left-radius: 6px; }
.hud-br { bottom: 16px; right: 16px; border-bottom: 1px solid var(--cyan); border-right: 1px solid var(--cyan); border-bottom-right-radius: 6px; }

.portrait-caption {
  position: absolute;
  left: 26px; bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  pointer-events: none;
}
.p-name {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -.01em;
}
.p-role {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(220, 236, 255, .7);
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  color: #d9ecff;
  background: rgba(7, 15, 30, .62);
  border: 1px solid rgba(140, 170, 255, .25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .9);
}
.chip i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.chip-a { top: 22px; right: 22px; }
.chip-b { right: 22px; bottom: 24px; color: rgba(70, 230, 255, .9); }

.float-tag {
  position: absolute;
  right: -34px;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: .2em;
  color: rgba(147, 164, 198, .65);
  text-align: right;
  pointer-events: none;
}
.float-tag::after {
  content: "";
  display: block;
  margin: 10px 0 0 auto;
  width: 1px; height: 44px;
  background: linear-gradient(var(--cyan), transparent);
}
.float-tag-a { top: 6%; }
.float-tag-b { bottom: 8%; }
.float-tag-b::after { background: linear-gradient(var(--violet), transparent); }

/* ---------- Hero foot ---------- */
.hero-foot {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(18px, 3vh, 30px);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .24em;
  color: var(--muted);
  transition: color .3s;
}
.scroll-cue:hover { color: var(--cyan); }
.scroll-line {
  position: relative;
  width: 48px; height: 1px;
  background: rgba(147, 164, 198, .25);
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: scroll-line 2.4s var(--ease-io) infinite;
}
@keyframes scroll-line {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.hero-coords {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: rgba(147, 164, 198, .55);
}

/* ---------- Ticker ---------- */
.ticker {
  margin-inline: calc(var(--pad) * -1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  overflow: hidden;
  background: rgba(5, 10, 22, .35);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(147, 164, 198, .75);
  padding-right: 40px;
}
.ticker-track i { font-style: normal; color: var(--cyan); margin-inline: 22px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================================
   Act II — Researcher
   ===================================================================== */
.act { position: relative; }
.act::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent);
}
.act-two { background: linear-gradient(180deg, rgba(8, 16, 34, .35), transparent 55%); }
.act-three { background: linear-gradient(180deg, transparent, rgba(6, 13, 28, .4) 40%, transparent); }

.researcher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

/* ---------- 3D card (Act II) ---------- */
.card-stage {
  position: relative;
  perspective: 1400px;
  padding-block: 10px;
}
.card-3d {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform .1s linear;
  will-change: transform;
}

.card-face {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(140, 170, 255, .2);
  box-shadow:
    0 50px 80px -50px rgba(0, 0, 0, 1),
    0 0 90px -40px rgba(47, 107, 255, .7);
  background: #050b16;
  transform: translateZ(0);
}
.card-face img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--photo-pos);
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.04);
}
.card-edge {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(70, 230, 255, .16), transparent 34%, transparent 70%, rgba(139, 92, 246, .24));
  mix-blend-mode: screen;
  pointer-events: none;
}

.card-sheen {
  position: absolute;
  inset: -1px;
  border-radius: 23px;
  background: linear-gradient(118deg, rgba(255, 255, 255, .18) 0%, transparent 32%, transparent 68%, rgba(70, 230, 255, .12) 100%);
  transform: translateZ(26px);
  pointer-events: none;
  opacity: .8;
}

.card-layer {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform-style: preserve-3d;
}

.card-top {
  top: 14px; left: 14px; right: 14px;
  padding: 9px 12px;
  border-radius: 11px;
  background: rgba(5, 11, 24, .55);
  border: 1px solid rgba(140, 170, 255, .18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateZ(46px);
}
.card-top .mono { font-size: 8.5px; letter-spacing: .2em; }
.dot-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .18em;
  color: #86efac;
}
.dot-live i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.card-bottom {
  left: 22px; right: 22px; bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(6, 13, 28, .86), rgba(9, 19, 40, .62));
  border: 1px solid rgba(140, 170, 255, .22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateZ(58px);
  box-shadow: 0 18px 40px -24px #000;
}
.card-bottom strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.card-bottom span:not(.card-mark) {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-mark {
  font-family: var(--font-jp);
  font-size: 26px;
  line-height: 1;
  color: transparent;
  background: linear-gradient(160deg, #cdf6ff, #46e6ff 50%, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(70, 230, 255, .5));
}

.card-chip {
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .2em;
  color: #d9ecff;
  background: rgba(6, 13, 28, .7);
  border: 1px solid rgba(70, 230, 255, .3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}
.card-chip-1 { top: 27%; right: -18px; transform: translateZ(80px); }
.card-chip-2 { bottom: 23%; left: -22px; transform: translateZ(92px); border-color: rgba(139, 92, 246, .45); }

.card-hint {
  margin-top: 26px;
  text-align: center;
  font-size: 11px;
  color: rgba(147, 164, 198, .7);
}
.card-hint .mono { font-size: 8.5px; color: rgba(70, 230, 255, .8); }

/* ---------- Researcher copy ---------- */
.researcher-copy p + p { margin-top: 18px; }
.researcher-copy .lead {
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.68;
  color: #d6e2f8;
}
.researcher-copy .lead b, .researcher-copy p b { color: #fff; font-weight: 600; }
.researcher-copy .muted { font-size: 14.5px; line-height: 1.75; }

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.fact-grid > div {
  padding: 15px 18px;
  background: rgba(6, 12, 26, .78);
}
.fact-grid dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.fact-grid dd {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
}

.lang-strip {
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 12, 26, .5);
}
.lang-strip .mono { display: block; margin-bottom: 8px; font-size: 8.5px; color: var(--cyan); }
.lang-strip ul { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-strip li {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(47, 107, 255, .1);
  border: 1px solid rgba(140, 170, 255, .18);
}
.lang-strip li.jp { font-family: var(--font-jp); }

/* =====================================================================
   Act III — Profile
   ===================================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.profile-aside {
  position: sticky;
  top: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(13, 25, 49, .7), rgba(6, 12, 26, .55));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -50px #000;
}

.profile-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #050b16;
}
.profile-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--photo-pos);
  filter: saturate(1.02) contrast(1.03) brightness(.98);
}
.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 8, 18, .55));
}
.profile-photo-ring {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(70, 230, 255, .22);
  pointer-events: none;
}

.profile-id { padding: 16px 4px 18px; }
.profile-id h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.profile-id p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.profile-id .mono { display: block; margin-top: 12px; font-size: 8.5px; color: var(--cyan); }

.profile-aside .btn { width: 100%; }

.block { padding-block: 26px; }
.block + .block { border-top: 1px solid var(--line); }
.block:first-child { padding-top: 0; }

.block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  margin-bottom: 20px;
}
.block-title .mono { color: var(--cyan); font-size: 9px; }

.edu-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding-block: 16px;
  border-top: 1px dashed rgba(140, 170, 255, .13);
}
.edu-list li:first-child { border-top: 0; padding-top: 0; }
.edu-year {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-top: 3px;
}
.edu-list b {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 5px;
}
.edu-list p { font-size: 13.5px; line-height: 1.65; color: var(--muted); }

.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.interest-grid li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 16, 34, .5);
  transition: border-color .35s, transform .35s var(--ease), background .35s;
}
.interest-grid li:hover {
  border-color: rgba(70, 230, 255, .35);
  background: rgba(11, 23, 48, .72);
  transform: translateY(-3px);
}
.ico {
  width: 22px; height: 22px;
  color: var(--cyan);
  margin-bottom: 12px;
}
.interest-grid b {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 6px;
}
.interest-grid span { font-size: 12px; line-height: 1.55; color: var(--muted); }

.vision-card {
  position: relative;
  padding: 26px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(139, 92, 246, .18), transparent 55%),
    linear-gradient(160deg, rgba(15, 30, 58, .9), rgba(7, 14, 30, .75));
  border: 1px solid rgba(140, 170, 255, .18);
}
.vision-card p {
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  color: #d5e2f9;
  max-width: 52ch;
}
.vision-card p b { color: #fff; }
.vision-mark {
  position: absolute;
  top: -18px; right: 8px;
  font-family: var(--font-jp);
  font-size: 120px;
  line-height: 1;
  color: rgba(70, 230, 255, .07);
  pointer-events: none;
}
.vision-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.vision-tags li {
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #bcd8ff;
  border: 1px solid rgba(140, 170, 255, .22);
  background: rgba(47, 107, 255, .08);
}

/* =====================================================================
   Challenges
   ===================================================================== */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.challenge {
  position: relative;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(11, 22, 44, .62), rgba(6, 12, 26, .4));
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.challenge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(70, 230, 255, .12), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.challenge:hover { transform: translateY(-4px); border-color: rgba(70, 230, 255, .32); }
.challenge:hover::after { opacity: 1; }

.challenge-no {
  display: block;
  font-size: 9px;
  color: rgba(70, 230, 255, .65);
  margin-bottom: 16px;
}
.challenge h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.challenge p { font-size: 13px; line-height: 1.65; color: var(--muted); }
.challenge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(140, 170, 255, .1);
}
.challenge-tags span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(180, 200, 235, .75);
}

/* =====================================================================
   YUME — mission
   ===================================================================== */
.yume {
  background:
    radial-gradient(1000px 500px at 15% 0%, rgba(47, 107, 255, .1), transparent 60%),
    radial-gradient(800px 500px at 90% 40%, rgba(139, 92, 246, .09), transparent 62%);
}

.yume-top {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.giant-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.7vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -.025em;
  font-weight: 500;
  text-wrap: balance;
  color: #f0f6ff;
}
.yume-desc {
  margin-top: 22px;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}
.yume-desc b { color: #e6efff; font-weight: 500; }

/* language orbit */
.lang-orbit {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.orbit-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(70, 230, 255, .2);
  animation: spin 34s linear infinite;
}
.orbit-ring::before {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.orbit-ring-2 {
  inset: 22%;
  border-color: rgba(139, 92, 246, .25);
  animation-duration: 22s;
  animation-direction: reverse;
}
.orbit-ring-2::before { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-core {
  display: grid;
  place-items: center;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  font-family: var(--font-jp);
  font-size: clamp(30px, 5vw, 44px);
  color: #d7f8ff;
  background: radial-gradient(circle at 35% 30%, rgba(70, 230, 255, .25), rgba(9, 18, 38, .9) 70%);
  border: 1px solid rgba(70, 230, 255, .35);
  box-shadow: 0 0 60px -10px rgba(70, 230, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.lang-chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: #dff5ff;
  background: rgba(8, 17, 36, .92);
  border: 1px solid rgba(140, 170, 255, .28);
  box-shadow: 0 10px 26px -14px #000;
}
.lc-1 { top: 1%; left: 50%; transform: translateX(-50%); }
.lc-2 { top: 50%; right: 1%; transform: translateY(-50%); font-family: var(--font-jp); }
.lc-3 { bottom: 1%; left: 50%; transform: translateX(-50%); font-family: 'Noto Sans Telugu', var(--font-jp); }
.lc-4 { top: 50%; left: 1%; transform: translateY(-50%); font-family: var(--font-jp); }

/* pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pillar {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(12, 24, 48, .66), rgba(6, 12, 26, .45));
  transition: border-color .4s, transform .4s var(--ease);
}
.pillar:hover { border-color: rgba(70, 230, 255, .3); transform: translateY(-3px); }
.pillar-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pillar-icon { color: var(--cyan); font-size: 13px; }
.pillar-head .mono { font-size: 8.5px; }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.pillar p { font-size: 13.5px; line-height: 1.68; color: var(--muted); }
.pillar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.pillar-list li {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 6px;
  color: rgba(190, 214, 255, .85);
  background: rgba(47, 107, 255, .1);
  border: 1px solid rgba(140, 170, 255, .16);
}

/* proposals */
.propose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.propose {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  border: 1px dashed rgba(140, 170, 255, .22);
  background: rgba(6, 13, 28, .38);
  transition: border-color .4s, background .4s;
}
.propose:hover { border-color: rgba(70, 230, 255, .45); background: rgba(9, 18, 38, .6); }
.status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: .2em;
  color: var(--cyan);
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid rgba(70, 230, 255, .3);
  background: rgba(70, 230, 255, .07);
  margin-bottom: 14px;
}
.propose h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}
.propose p { font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.propose-tag {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(147, 164, 198, .7);
}

/* honesty strip */
.honesty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
}
.honesty > div { padding: 20px 22px; background: rgba(6, 12, 26, .82); }
.honesty .mono { display: block; margin-bottom: 8px; font-size: 8px; color: var(--cyan); }
.honesty > div:last-child .mono { color: #fbbf24; }
.honesty p { font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* =====================================================================
   Architecture
   ===================================================================== */
.arch-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 322px;
  gap: 14px;
  align-items: stretch;
}

.arch {
  position: relative;
  height: clamp(480px, 46vw, 640px);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(23, 48, 96, .5), transparent 70%),
    linear-gradient(180deg, rgba(7, 14, 30, .8), rgba(4, 8, 18, .95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 40px 90px -60px #000;
  touch-action: none;
  cursor: grab;
}
.arch.grabbing { cursor: grabbing; }
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(70, 230, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 230, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 78%);
}

#arch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.arch-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.arch-node {
  position: absolute;
  top: 0; left: 0;
  padding: 6px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(190, 214, 255, .8);
  cursor: pointer;
  pointer-events: auto;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: color .3s, background .3s, opacity .3s;
  will-change: transform;
}
.arch-node::before {
  content: "";
  position: absolute;
  top: -2px; left: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity .3s;
}
.arch-node:hover, .arch-node.active {
  color: #eaf7ff;
  background: rgba(8, 20, 42, .82);
  box-shadow: 0 0 0 1px rgba(70, 230, 255, .3);
}
.arch-node.active::before { opacity: 1; }

.arch-core-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .24em;
  line-height: 1.8;
  text-align: center;
  color: rgba(70, 230, 255, .55);
  pointer-events: none;
}

.arch-hud {
  position: absolute;
  top: 18px; left: 20px; right: 20px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 20;
}
.arch-hud .mono { font-size: 8.5px; opacity: .75; }
.arch-hint {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .18em;
  color: rgba(70, 230, 255, .65);
}

.arch-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(140, 170, 255, .18);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(47, 107, 255, .14), transparent 55%),
    rgba(6, 13, 28, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 30px 60px -40px #000;
  transition: opacity .18s, transform .18s;
  cursor: default;
}
.arch-panel.swap { opacity: .35; transform: translateY(4px); }
.arch-panel-index { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .2em; color: var(--cyan); margin-bottom: 10px; }
.arch-panel h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.arch-panel p { font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.arch-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.arch-tags li {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 4px;
  color: rgba(190, 214, 255, .85);
  background: rgba(47, 107, 255, .12);
  border: 1px solid rgba(140, 170, 255, .15);
}
.arch-status {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .18em;
  color: rgba(251, 191, 36, .85);
}

.arch-panel-foot {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.arch-panel-foot .mono { display: block; font-size: 7.5px; margin-bottom: 10px; }
.arch-nav { display: flex; gap: 6px; }
.arch-dot {
  width: 26px; height: 26px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  position: relative;
  transition: border-color .25s, background .25s, transform .25s;
}
.arch-dot::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(147, 164, 198, .6);
  transform: translate(-50%, -50%);
  transition: background .25s, box-shadow .25s;
}
.arch-dot:hover { border-color: rgba(70, 230, 255, .45); transform: translateY(-1px); }
.arch-dot.active { border-color: rgba(70, 230, 255, .55); background: rgba(70, 230, 255, .08); }
.arch-dot.active::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.arch-fallback { display: none; }

.arch-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: rgba(147, 164, 198, .7);
}
.arch-note .mono { color: #fbbf24; font-size: 8px; margin-right: 6px; }

/* no-3d fallback */
.arch.no-3d { height: auto; min-height: 0; cursor: default; }
.arch.no-3d #arch-canvas,
.arch.no-3d .arch-core-label { display: none; }
.arch.no-3d .arch-overlay {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 64px 20px 24px;
  pointer-events: auto;
}
.arch.no-3d .arch-node {
  position: static;
  transform: none !important;
  opacity: 1 !important;
  padding: 10px 14px;
  font-size: 10px;
  border: 1px solid var(--line);
  background: rgba(8, 16, 34, .7);
}
.arch.no-3d .arch-fallback { display: block; position: absolute; top: 48px; left: 20px; }
.arch.no-3d .arch-fallback p { font-size: 11px; color: rgba(147, 164, 198, .7); }

/* =====================================================================
   Timeline
   ===================================================================== */
.timeline {
  position: relative;
  padding-left: 6px;
  max-width: 900px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 39px; top: 12px; bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg, rgba(70, 230, 255, .5), rgba(47, 107, 255, .22) 40%, rgba(139, 92, 246, .12));
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  padding-bottom: 34px;
}
.timeline-marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-left: 12px;
  border-radius: 50%;
  border: 1px solid rgba(70, 230, 255, .35);
  background: rgba(7, 14, 30, .95);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  box-shadow: 0 0 24px -8px rgba(70, 230, 255, .7);
  z-index: 1;
}
.timeline-body { padding-top: 2px; }
.timeline-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.timeline-meta .mono { font-size: 8.5px; color: rgba(147, 164, 198, .8); }
.pill {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .16em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(140, 170, 255, .2);
  color: rgba(147, 164, 198, .9);
}
.pill-now {
  color: #86efac;
  border-color: rgba(74, 222, 128, .4);
  background: rgba(74, 222, 128, .08);
}
.timeline-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.timeline-body p { font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 62ch; }
.timeline-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.timeline-list li {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 5px;
  color: rgba(190, 214, 255, .8);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(140, 170, 255, .13);
}

/* =====================================================================
   Japan
   ===================================================================== */
.japan {
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(255, 70, 90, .06), transparent 60%),
    radial-gradient(900px 500px at 10% 80%, rgba(255, 153, 51, .05), transparent 60%);
}
.japan-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
}
.japan-copy p + p { margin-top: 16px; }
.japan-copy .lead { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; color: #d6e2f8; }
.japan-copy p { font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.japan-copy b { color: #e9f1ff; font-weight: 500; }
.japan-copy .sec-title { margin-bottom: 22px; }
.japan-copy .sec-index { margin-bottom: 16px; }

.lang-goal {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 14, 30, .6);
}
.lang-goal > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lang-goal b { font-family: var(--font-jp); font-size: 18px; font-weight: 500; }
.lang-goal p { margin-top: 8px; font-size: 12px; color: var(--muted); }

.route-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(47, 107, 255, .14), transparent 55%),
    rgba(7, 14, 30, .66);
  box-shadow: 0 40px 90px -60px #000;
}
.route-label { display: block; font-size: 8.5px; margin-bottom: 20px; color: var(--cyan); }
.route { position: relative; }
.route li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  padding-bottom: 22px;
}
.route li:last-child { padding-bottom: 0; }
.route-dot {
  position: relative;
  width: 10px; height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  border: 1px solid rgba(70, 230, 255, .6);
  background: #071022;
  z-index: 1;
}
.route-dot::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .7;
}
.route li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 18px; bottom: -2px;
  width: 1px;
  background: linear-gradient(rgba(70, 230, 255, .45), rgba(70, 230, 255, .1));
}
.route li:last-child .route-dot {
  border-color: rgba(139, 92, 246, .7);
  box-shadow: 0 0 18px -2px rgba(139, 92, 246, .7);
}
.route li:last-child .route-dot::before { background: var(--violet); }
.route b {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}
.route div > span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted);
}
.route-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.flag { font-size: 17px; }
.route-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 153, 51, .5), rgba(70, 230, 255, .5), rgba(255, 70, 90, .5));
}

/* =====================================================================
   Founder
   ===================================================================== */
.founder {
  background:
    radial-gradient(900px 480px at 12% 18%, rgba(70, 230, 255, .07), transparent 62%),
    radial-gradient(760px 500px at 90% 82%, rgba(139, 92, 246, .08), transparent 62%);
}

.founder-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.founder-photo {
  position: relative;
  margin: 0;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(140, 170, 255, .22);
  background: #050b16;
  aspect-ratio: 632 / 580;
  box-shadow:
    0 50px 100px -55px #000,
    0 0 80px -38px rgba(70, 230, 255, .5),
    inset 0 1px 0 rgba(255, 255, 255, .1);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(.97) contrast(1.05) brightness(.94);
  transition: transform 1.1s var(--ease);
}
.founder-photo:hover img { transform: scale(1.035); }

.founder-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 6, 14, .3) 0%, transparent 26%, transparent 52%, rgba(4, 6, 14, .7) 82%, rgba(4, 6, 14, .95) 100%),
    radial-gradient(120% 90% at 50% 100%, rgba(47, 107, 255, .22), transparent 62%);
}

.founder-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .14) 0%, transparent 30%, transparent 74%, rgba(70, 230, 255, .12) 100%);
  mix-blend-mode: screen;
}

.founder-chip {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .18em;
  white-space: nowrap;
  color: #d9ecff;
  background: rgba(7, 15, 30, .62);
  border: 1px solid rgba(140, 170, 255, .28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.founder-chip i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.founder-caption {
  position: absolute;
  left: 24px; bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  pointer-events: none;
}

.founder-mark {
  position: absolute;
  right: 20px; bottom: 14px;
  font-family: var(--font-jp);
  font-size: 34px;
  line-height: 1;
  color: transparent;
  background: linear-gradient(160deg, #cdf6ff, #46e6ff 50%, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(70, 230, 255, .55));
  pointer-events: none;
}

.founder-copy .sec-title { margin-bottom: 20px; }
.founder-copy p + p { margin-top: 16px; }
.founder-copy .lead { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.66; color: #d6e2f8; }
.founder-copy p { font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.founder-copy b { color: #fff; font-weight: 600; }

.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.founder-link:hover {
  transform: translateY(-2px);
  border-color: rgba(70, 230, 255, .45);
  background: rgba(70, 230, 255, .07);
}
.fl-ico {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--cyan);
}
.fl-wa .fl-ico { color: #4ade80; }
.fl-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.fl-text > span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.fl-text b {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
  color: #eaf2ff;
}

.founder-note {
  margin-top: 22px;
  font-size: 11.5px;
  color: rgba(147, 164, 198, .75);
}
.founder-note .mono { font-size: 8px; color: var(--cyan); margin-right: 8px; }

/* =====================================================================
   Contact + footer
   ===================================================================== */
.contact {
  position: relative;
  padding-bottom: 0;
  background: radial-gradient(900px 460px at 50% 22%, rgba(47, 107, 255, .16), transparent 65%);
}
.contact-inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(20px, 4vw, 50px) clamp(60px, 8vw, 100px);
}
.contact-inner .sec-index { margin-bottom: 18px; }
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 700;
}
.contact-sub {
  max-width: 52ch;
  margin: 20px auto 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}
.contact-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-wa .wa-ico { width: 16px; height: 16px; color: #4ade80; }
.btn-wa:hover {
  border-color: rgba(74, 222, 128, .5);
  background: rgba(74, 222, 128, .07);
}
.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.socials a {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s, border-color .3s, background .3s, transform .3s;
}
.socials a:hover {
  color: var(--text);
  border-color: rgba(70, 230, 255, .45);
  background: rgba(70, 230, 255, .06);
  transform: translateY(-2px);
}
.contact-note {
  margin-top: 26px;
  font-family: var(--font-jp);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(147, 164, 198, .6);
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 6, 14, .6);
}
.footer-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 26px var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-mark {
  font-family: var(--font-jp);
  font-size: 17px;
  color: rgba(234, 240, 255, .8);
}
.footer-mark span { font-family: var(--font-display); font-size: 11px; letter-spacing: .16em; color: var(--cyan); margin-left: 3px; }
.footer-inner p { font-size: 11.5px; color: rgba(147, 164, 198, .65); }

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.footer-contact a {
  color: rgba(180, 198, 226, .82);
  transition: color .3s;
}
.footer-contact a:hover { color: var(--cyan); }

/* Floating WhatsApp */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #04140a;
  background: linear-gradient(150deg, #8bf7b5, #25d366 52%, #12a150);
  border: 1px solid rgba(255, 255, 255, .32);
  box-shadow:
    0 18px 40px -16px rgba(37, 211, 102, .75),
    inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-fab svg { width: 25px; height: 25px; }
.wa-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 24px 48px -16px rgba(37, 211, 102, .9),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

.wa-fab-tip {
  position: absolute;
  right: calc(100% + 10px);
  padding: 7px 11px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #d9ecff;
  background: rgba(6, 13, 28, .92);
  border: 1px solid var(--line-2);
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.wa-fab:hover .wa-fab-tip { opacity: 1; transform: none; }
.back-top {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--muted);
  transition: color .3s;
}
.back-top:hover { color: var(--cyan); }

/* =====================================================================
   Reveal
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .9s var(--ease),
    transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr .92fr; gap: 40px; }
  .float-tag { display: none; }
  .nav-links a { padding: 9px 9px; font-size: 12.5px; }
  .profile-grid { grid-template-columns: 290px 1fr; gap: 40px; }
  .challenge-grid { grid-template-columns: 1fr 1fr; }
  .arch-shell { grid-template-columns: minmax(0, 1fr) 272px; }
  .arch-panel { padding: 18px; }
  .arch-panel h3 { font-size: 17px; }
}

@media (max-width: 940px) {
  .arch-shell { grid-template-columns: 1fr; }
  .arch { height: 520px; }
  .arch-panel { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
  .arch-panel-foot { border-top: 0; padding-top: 0; }
  .arch-nav { flex-wrap: wrap; max-width: 110px; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(6, 12, 26, .96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 30px 60px -30px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 14px; font-size: 14px; }
  .nav-links a.active::after { left: auto; right: 14px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .hero { padding-top: calc(var(--nav-h) + 34px); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .portrait-wrap { justify-self: stretch; max-width: 620px; margin-inline: auto; }
  .hero-copy { max-width: none; }
  .hero-foot { padding-top: 8px; }

  .researcher-grid { grid-template-columns: 1fr; gap: 44px; }
  .card-stage { order: -1; max-width: 620px; margin-inline: auto; width: 100%; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-aside {
    position: static;
    display: grid;
    grid-template-columns: 132px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 12px;
  }
  .profile-photo { aspect-ratio: 1; }
  .profile-id { padding: 0; }
  .profile-aside .btn { width: auto; justify-self: end; }
  .yume-top { grid-template-columns: 1fr; }
  .lang-orbit { max-width: 280px; }
  .japan-grid { grid-template-columns: 1fr; }
  .route-card { max-width: 560px; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 540px; justify-self: center; }
  .footer-contact { margin-left: 0; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; }

  .hero { min-height: auto; padding-bottom: 0; gap: 26px; padding-top: calc(var(--nav-h) + 24px); }
  .hero-grid { gap: 30px; }
  .portrait-wrap { order: -1; }
  .hero-facts { display: none; }
  .hero-actions { margin-top: 24px; }
  .hero-title { font-size: clamp(1.95rem, 8.2vw, 2.9rem); }
  .hero-lede { font-size: 15px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-facts { gap: 14px 20px; }
  .hero-coords { display: none; }
  .hero-foot { justify-content: center; padding-bottom: 20px; }

  .portrait { border-radius: 22px; }
  .portrait-img { border-radius: 21px; aspect-ratio: 4 / 3; }
  .portrait-caption { left: 18px; bottom: 18px; }
  .chip-a { top: 14px; right: 14px; }
  .chip-b { right: 16px; bottom: 16px; }
  .hud { width: 18px; height: 18px; }
  .hud-tl { top: 12px; left: 12px; }
  .hud-tr { top: 12px; right: 12px; }
  .hud-bl { bottom: 12px; left: 12px; }
  .hud-br { bottom: 12px; right: 12px; }

  .section { padding-block: 68px; }
  .sec-head { margin-bottom: 30px; }

  .card-face { aspect-ratio: 4 / 3.1; }
  .card-chip-1 { right: -6px; }
  .card-chip-2 { left: -6px; }
  .card-bottom { left: 14px; right: 14px; bottom: 14px; }

  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact-grid > div { padding: 13px 14px; }

  .interest-grid { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .propose-grid { grid-template-columns: 1fr; }
  .honesty { grid-template-columns: 1fr; }

  .profile-aside { grid-template-columns: 96px 1fr; }
  .profile-aside .btn { grid-column: 1 / -1; justify-self: stretch; }
  .profile-id h3 { font-size: 18px; }

  .arch { height: 560px; border-radius: 18px; }
  .arch-panel { display: flex; padding: 18px; }
  .arch-panel-foot { border-top: 1px solid var(--line); padding-top: 16px; }
  .arch-nav { max-width: none; }
  .arch-panel p { font-size: 12px; }
  .arch-node { font-size: 7.5px; padding: 5px 6px; }
  .arch-hud { top: 14px; left: 14px; right: 14px; }
  .arch-hint { display: none; }

  .timeline { padding-left: 0; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 42px 1fr; gap: 14px; }
  .timeline-marker { margin-left: 0; width: 36px; height: 36px; font-size: 9px; }

  .contact-title { font-size: clamp(1.9rem, 8.4vw, 2.7rem); }
  .contact-actions .btn { width: 100%; }
  .founder-links { flex-direction: column; }
  .founder-link { width: 100%; }
  .founder-caption { left: 18px; bottom: 18px; }
  .founder-mark { font-size: 28px; right: 16px; bottom: 12px; }
  .wa-fab { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .wa-fab-tip { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .back-top { margin-left: 0; }
}

@media (max-width: 420px) {
  .chip-a { display: none; }
  .hero-facts li:nth-child(3) { flex-basis: 100%; }
  .profile-aside { grid-template-columns: 78px 1fr; gap: 14px; }
  .route-card { padding: 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;
  }
  .reveal { opacity: 1; transform: none; }
  .portrait, .card-3d { transform: none !important; }
  .ticker-track { animation: none; }
}
