@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #050506;
  --panel: #0a0a0b;
  --silver: #e9e9ee;
  --dim: #9a9aa2;
  --mist: #74747c;
  --faint: #55555c;
  --ghost: #2a2a30;
  --hair: #19191e;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--silver);
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: #3a3a44; color: #ffffff; }

/* ---------- Storm layer ---------- */
#storm {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
#flash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  background: radial-gradient(ellipse 62% 42% at var(--fx, 50%) var(--fy, 12%), rgba(212, 217, 238, 0.6), transparent 65%);
  mix-blend-mode: screen;
}
body.static #storm, body.static #flash { display: none; }

#soundToggle {
  position: fixed;
  left: clamp(24px, 5vw, 56px);
  bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mist);
  font-family: inherit;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 14px;
  margin: -14px;
  transition: color 0.3s;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 3.2s forwards;
}
#soundToggle:hover, #soundToggle.on { color: var(--dim); }
#soundToggle:focus-visible { opacity: 1; animation: none; }
.st-bars { display: flex; gap: 2.5px; align-items: center; height: 12px; }
.st-bars i {
  width: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: center;
}
.st-bars i:nth-child(1) { height: 6px; }
.st-bars i:nth-child(2) { height: 11px; }
.st-bars i:nth-child(3) { height: 8px; }
#soundToggle:not(.on) .st-bars i { transform: scaleY(0.35); }
#soundToggle.on .st-bars i { animation: stBar 1.1s ease-in-out infinite; }
#soundToggle.on .st-bars i:nth-child(2) { animation-delay: 0.18s; }
#soundToggle.on .st-bars i:nth-child(3) { animation-delay: 0.36s; }
@keyframes stBar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
body.static #soundToggle { display: none; }

/* ---------- Cursor + light (pointer: fine only, enabled by JS) ---------- */
#glow {
  position: fixed;
  top: 0; left: 0;
  width: 760px; height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 150, 175, 0.08), transparent 62%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.8s;
}
body.glow-on #glow { opacity: 1; }

#cursorDot, #cursorRing {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 9999;
}
#cursorDot {
  width: 6px; height: 6px;
  background: #e9e9ee;
  transition: opacity 0.3s, width 0.25s, height 0.25s;
}
#cursorRing {
  width: 34px; height: 34px;
  border: 1px solid rgba(233, 233, 238, 0.32);
  transition: opacity 0.3s, width 0.3s, height 0.3s, border-color 0.3s;
}
body.cursor-on #cursorDot, body.cursor-on #cursorRing { opacity: 1; }
body.cursor-on, body.cursor-on a, body.cursor-on button, body.cursor-on .soc { cursor: none !important; }
body.cursor-on input, body.cursor-on textarea { cursor: text; }
body.cursor-hide #cursorDot, body.cursor-hide #cursorRing { opacity: 0; }
body.cursor-hover #cursorRing {
  width: 54px; height: 54px;
  border-color: rgba(233, 233, 238, 0.65);
}
body.cursor-hover #cursorDot { width: 4px; height: 4px; }

.magnetic { will-change: transform; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(24px, 5vw, 56px);
  transition: background 0.5s, backdrop-filter 0.5s;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 2.6s forwards;
}
#nav.solid {
  background: rgba(5, 5, 6, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav-mark {
  display: flex;
  align-items: center;
  color: #c9c9cf;
  padding: 12px;
  margin: -12px;
  transition: color 0.3s;
}
.nav-mark:hover { color: var(--silver); }
.nav-links { display: flex; align-items: center; gap: clamp(22px, 3vw, 38px); }
.nav-link {
  color: var(--dim);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 4px;
  margin: -16px -4px;
  transition: color 0.3s;
}
.nav-link:hover { color: var(--silver); }
.nav-contact {
  color: #c9c9cf;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 0 16px 20px;
  margin: -16px 0 -16px -20px;
  transition: color 0.3s;
}
.nav-contact:hover { color: var(--silver); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-inner { text-align: center; padding: 0 24px; will-change: transform, opacity; }

.hero-mark { width: clamp(150px, 24vw, 230px); margin: 0 auto; perspective: 800px; }
.hero-mark svg { width: 100%; height: auto; display: block; will-change: transform; }
.hero-wordmark, .hero-tagline { will-change: transform; }
.hero-mark {
  opacity: 0;
  transform: translateY(14px) scale(0.965);
  animation: markIn 1.5s var(--ease) 0.35s forwards;
}
.glint {
  animation: glintSweep 6.5s var(--ease) 1.5s infinite;
}

.hero-wordmark {
  margin-top: clamp(28px, 4.5vh, 44px);
  font-size: clamp(20px, 3.4vw, 34px);
  font-weight: 400;
  letter-spacing: 0.62em;
  color: var(--silver);
}
.hero-wordmark span:last-child { margin-right: -0.62em; }
.hero-wordmark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: letterIn 0.9s var(--ease) forwards;
}
.hero-wordmark span:nth-child(1) { animation-delay: 1.15s; }
.hero-wordmark span:nth-child(2) { animation-delay: 1.23s; }
.hero-wordmark span:nth-child(3) { animation-delay: 1.31s; }
.hero-wordmark span:nth-child(4) { animation-delay: 1.39s; }
.hero-wordmark span:nth-child(5) { animation-delay: 1.47s; }
.hero-wordmark span:nth-child(6) { animation-delay: 1.55s; }
.hero-wordmark span:nth-child(7) { animation-delay: 1.63s; }
.hero-wordmark span:nth-child(8) { animation-delay: 1.71s; }

.hero-tagline {
  margin-top: clamp(18px, 3vh, 28px);
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--dim);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 2.2s forwards;
}

.scroll-cue {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1.4s var(--ease) 3s forwards;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--faint));
  overflow: hidden;
  position: relative;
}
.scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--silver));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
.scroll-label {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Manifesto ---------- */
.manifesto { height: 340vh; position: relative; }
.manifesto-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 5vh, 46px);
  padding: 0 24px;
}
.m-bolt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.m-bolt svg {
  height: min(76vh, 76vw);
  width: auto;
  will-change: transform;
}
.m-line {
  position: relative;
  font-size: clamp(28px, 5.4vw, 62px);
  font-weight: 200;
  letter-spacing: -0.015em;
  line-height: 1.16;
  text-align: center;
  color: var(--silver);
  max-width: 24ch;
  text-wrap: balance;
  will-change: transform;
}
.m-line .w { opacity: 0.08; }

/* ---------- Why ---------- */
.why {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(100px, 16vh, 180px) clamp(24px, 5vw, 56px);
}
.why-inner {
  border-left: 1px solid var(--hair);
  padding-left: clamp(28px, 4vw, 56px);
  display: grid;
  gap: clamp(34px, 5vh, 52px);
}
.why-inner .reveal:nth-child(2) { transition-delay: 0.15s; }
.why-inner .reveal:nth-child(3) { transition-delay: 0.3s; }
.why-line {
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 200;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--silver);
}
.why-dim { color: var(--mist); }
.why-kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Two lines panels ---------- */
.lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 90px) clamp(24px, 5vw, 56px);
}
.line-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: #0a0a0c;
  min-height: clamp(340px, 46vh, 440px);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), border-color 0.5s;
}
.line-panel:hover { border-color: #2e2e38; }
.lp-streak {
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 42%, rgba(150, 150, 175, 0.09) 50%, transparent 58%);
  transform: translateX(-45%);
  transition: transform 1.6s var(--ease);
  pointer-events: none;
}
.line-panel:hover .lp-streak, .line-panel.in .lp-streak { transform: translateX(0); }
.line-panel:hover .lp-streak { transform: translateX(45%); }
.lp-tag {
  position: absolute;
  top: 30px; left: 34px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.lp-title {
  font-size: clamp(46px, 6vw, 74px);
  font-weight: 200;
  letter-spacing: 0.05em;
  color: var(--silver);
  line-height: 1;
}
.lp-sub {
  margin-top: 12px;
  font-size: 15px;
  color: var(--dim);
  line-height: 1.6;
}

/* ---------- Technology ---------- */
.tech {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(110px, 16vh, 180px) clamp(24px, 5vw, 56px) clamp(50px, 8vh, 100px);
}
.t-lede {
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 200;
  color: var(--silver);
  margin-bottom: clamp(56px, 9vh, 90px);
}
.t-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.t-title {
  margin-top: 18px;
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--silver);
}
.t-sub {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 44ch;
}
.t-cat {
  display: block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.t-name {
  margin-top: 10px;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 200;
  letter-spacing: 0.06em;
  color: var(--silver);
  line-height: 1.05;
}
.tm {
  font-size: 0.26em;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--faint);
  vertical-align: 1.6em;
}
.t-kicker {
  margin-top: clamp(64px, 10vh, 100px);
  text-align: center;
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 200;
  letter-spacing: 0.04em;
  color: var(--silver);
}
.tech-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding: clamp(44px, 7vh, 72px) 0;
  border-top: 1px solid var(--hair);
}
.tech-row.flip .tech-art { order: 2; }
.tech-art svg {
  width: 100%;
  max-width: 430px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.tech-art path, .tech-art polygon, .tech-art rect {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.9s var(--ease) 0.3s;
}
.tech-art circle {
  opacity: 0;
  transition: opacity 0.9s ease 1.7s;
}
.tech-art .chipmark {
  opacity: 0;
  transition: opacity 0.9s ease 1.5s;
}
.tech-row.in .tech-art path, .tech-row.in .tech-art polygon, .tech-row.in .tech-art rect { stroke-dashoffset: 0; }
.tech-row.in .tech-art circle, .tech-row.in .tech-art .chipmark { opacity: 1; }

/* ---------- Roadmap ---------- */
.road {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(70px, 11vh, 130px) clamp(24px, 5vw, 56px) clamp(120px, 16vh, 180px);
}
.road-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 5vw, 64px);
}
.road-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.road-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.road-item {
  position: relative;
  border-top: 1px solid var(--hair);
  padding-top: 26px;
}
.road-dot {
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
}
.road-tag {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}
.road-title {
  margin-top: 16px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--silver);
}
.road-sub {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--dim);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--panel);
  border-top: 1px solid var(--hair);
  padding: clamp(100px, 15vh, 170px) 24px;
}
.c-inner { max-width: 560px; margin: 0 auto; }
.c-title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 200;
  letter-spacing: -0.01em;
  text-align: center;
}
.c-sub {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
  color: var(--dim);
}
#contactForm { margin-top: clamp(44px, 6vh, 64px); }
.hp { position: absolute; left: -9999px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f-field { margin-bottom: 20px; }
.f-field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 9px;
}
.f-field .opt { text-transform: none; letter-spacing: 0.04em; color: var(--mist); }
.f-field input,
.f-field textarea {
  width: 100%;
  background: #0f0f12;
  border: 1px solid #232329;
  border-radius: 6px;
  padding: 13px 15px;
  color: var(--silver);
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.f-field textarea { resize: none; min-height: 110px; }
.f-field input:focus,
.f-field textarea:focus {
  outline: none;
  border-color: #6a6a76;
  background: #121216;
}
a:focus-visible, button:focus-visible {
  outline: 1px solid #8a8a94;
  outline-offset: 3px;
}
.f-send {
  display: block;
  width: auto;
  margin: 14px auto 0;
  background: var(--silver);
  color: #08080a;
  border: none;
  border-radius: 999px;
  padding: 15px 64px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.f-send:hover { background: #ffffff; }
.f-send:active { transform: scale(0.99); }
.f-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--dim);
  min-height: 1.4em;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--hair);
  padding: 48px clamp(24px, 5vw, 56px) calc(96px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-word {
  font-size: 12px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--dim);
}
.foot-social { display: flex; gap: 22px; }
.soc {
  color: var(--faint);
  opacity: 0.75;
  display: flex;
  transition: color 0.3s, opacity 0.3s;
  cursor: default;
}
.soc:hover { color: var(--dim); opacity: 1; }
.foot-legal {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
  text-align: center;
}

/* ---------- Keyframes ---------- */
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes letterIn { to { opacity: 1; transform: none; } }
@keyframes markIn { to { opacity: 1; transform: none; } }
@keyframes glintSweep {
  0% { transform: translateX(0); }
  18% { transform: translateX(500px); }
  100% { transform: translateX(500px); }
}
@keyframes scrollPulse {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .hero-wordmark { font-size: 24px; letter-spacing: 0.5em; }
  .hero-wordmark span:last-child { margin-right: -0.5em; }
  .nav-link { display: none; }
  .why-inner { padding-left: 22px; }
  .lines { grid-template-columns: 1fr; gap: 16px; }
  .line-panel { min-height: 280px; padding: 26px; }
  .lp-tag { top: 24px; left: 26px; }
  .tech { padding-top: 90px; padding-bottom: 50px; }
  .tech-row { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .tech-row.flip .tech-art { order: 0; }
  .tech-art svg { max-width: 320px; }
  .t-sub { max-width: none; }
  .road-grid { grid-template-columns: 1fr; gap: 40px; }
  .road { padding-bottom: 110px; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .f-send { width: 100%; }
  .manifesto { height: 300vh; }
  .m-line { max-width: 15ch; }
  .m-line .w { opacity: 0.15; }
  .m-bolt svg { height: min(52vh, 92vw); }
  .footer { gap: 22px; }
}

/* ---------- Reduced motion / static ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #nav, .hero-mark, .hero-wordmark span, .hero-tagline, .scroll-cue { animation: none; opacity: 1; transform: none; }
  .glint, .scroll-line::after { animation: none; }
  .m-line { opacity: 1; }
  .m-line .w { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .lp-streak { transition: none; }
  .tech-art path, .tech-art polygon, .tech-art rect { stroke-dashoffset: 0; transition: none; }
  .tech-art circle, .tech-art .chipmark { opacity: 1; transition: none; }
}
body.static #nav, body.static .hero-mark, body.static .hero-wordmark span,
body.static .hero-tagline, body.static .scroll-cue { animation: none; opacity: 1; transform: none; }
body.static .glint, body.static .scroll-line::after { animation: none; }
body.static .m-line { opacity: 1; }
body.static .m-line .w { opacity: 1; }
body.static .reveal { opacity: 1; transform: none; transition: none; }
body.static .line-panel { opacity: 1; transform: none; }
body.static .tech-art path, body.static .tech-art polygon, body.static .tech-art rect { stroke-dashoffset: 0; transition: none; }
body.static .tech-art circle, body.static .tech-art .chipmark { opacity: 1; transition: none; }

/* ================= Product pages (/tornado, /tsunami) ================= */
body.product #nav { animation-delay: 0.3s; }

.t-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  border-bottom: 1px solid #2e2e38;
  padding-bottom: 4px;
  transition: border-color 0.35s, color 0.35s;
}
.t-more:hover { border-color: var(--silver); }

.p-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 24px;
}
.p-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.p-art svg { width: 100%; height: 100%; }
.p-hero-inner { position: relative; }
.p-cat {
  display: block;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--faint);
}
.p-name {
  margin-top: 18px;
  font-size: clamp(58px, 12.5vw, 180px);
  font-weight: 200;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--silver);
}
.p-myth {
  margin-top: 26px;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 200;
  letter-spacing: 0.05em;
  color: var(--dim);
}

/* vortex rings (tornado) */
.vx { transform-origin: 200px 150px; }
.vx1 { animation: vxspin 52s linear infinite; }
.vx2 { animation: vxspin 34s linear infinite reverse; }
.vx3 { animation: vxspin 22s linear infinite; }
.vx4 { animation: vxspin 14s linear infinite reverse; }
@keyframes vxspin { to { transform: rotate(360deg); } }

/* drifting waves (tsunami) */
.wave-track { animation: wavedrift 26s linear infinite; }
.wave-track.wt2 { animation-duration: 38s; }
.wave-track.wt3 { animation-duration: 54s; }
@keyframes wavedrift { to { transform: translateX(-800px); } }

.p-beat {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(130px, 20vh, 220px) 24px;
  text-align: center;
}
.pb-title {
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 200;
  letter-spacing: -0.01em;
  color: var(--silver);
}
.pb-text {
  margin: 28px auto 0;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.9;
  color: var(--dim);
  max-width: 54ch;
}

.promises {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px clamp(90px, 14vh, 160px);
}
.p-promise-lede {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 48px;
}
.promise {
  border-top: 1px solid var(--hair);
  padding: clamp(30px, 4.5vh, 44px) 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  text-align: left;
}
.promise:last-of-type { border-bottom: 1px solid var(--hair); }
.pr-num {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}
.pr-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  color: var(--silver);
}
.pr-sub {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--dim);
  max-width: 56ch;
}

.p-close {
  text-align: center;
  padding: clamp(130px, 22vh, 240px) 24px clamp(90px, 14vh, 150px);
}
.p-close-title {
  font-size: clamp(34px, 5.4vw, 66px);
  font-weight: 200;
  color: var(--silver);
}
.p-close-sub {
  margin-top: 16px;
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--dim);
  letter-spacing: 0.04em;
}
.notify-form {
  margin: 44px auto 0;
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  max-width: 560px;
}
.notify-form .f-field { flex: 1 1 260px; text-align: left; margin: 0; }
.notify-form .f-send { flex: 0 0 auto; }
.n-note {
  margin-top: 18px;
  min-height: 1.4em;
  font-size: 14px;
  color: var(--dim);
}
.p-back {
  display: inline-block;
  margin-top: 64px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.35s;
}
.p-back:hover { color: var(--silver); }

@media (max-width: 760px) {
  .p-name { font-size: 17vw; }
  .p-beat { padding: 110px 24px; }
  .promise { grid-template-columns: 1fr; gap: 6px; }
  .pr-num { padding-top: 0; }
  .notify-form { flex-direction: column; align-items: stretch; }
  .notify-form .f-send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vx, .wave-track { animation: none; }
}
body.static .vx, body.static .wave-track { animation: none; }

/* ================= Apex — the aircraft (隼) ================= */
.apex {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: clamp(90px, 14vh, 150px) 24px;
}
.apex-tag {
  display: block;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--faint);
}
.apex-glyph {
  margin-top: 30px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 200;
  font-size: clamp(150px, 26vw, 340px);
  line-height: 1;
  color: var(--silver);
  user-select: none;
}
.apex-glyph .tm { font-size: 0.08em; vertical-align: 8em; }
.apex-name {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dim);
}
.apex-line {
  margin-top: clamp(40px, 6vh, 64px);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 200;
  letter-spacing: -0.01em;
  color: var(--silver);
}
.apex-sub {
  margin: 20px auto 0;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.85;
  color: var(--dim);
  max-width: 52ch;
}
.apex .reveal:nth-child(2) { transition-delay: 0.1s; }
.apex .reveal:nth-child(3) { transition-delay: 0.2s; }
.apex .reveal:nth-child(4) { transition-delay: 0.3s; }
.apex .reveal:nth-child(5) { transition-delay: 0.4s; }
@media (max-width: 760px) {
  .apex-glyph { font-size: 44vw; }
  .apex-glyph .tm { display: none; }
}

/* ================= Sun (隼) product page ================= */
.p-name-glyph {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(130px, 21vw, 290px);
  letter-spacing: 0;
}
.p-name-glyph .tm { font-size: 0.09em; vertical-align: 7em; }
.p-hero-inner .apex-name { margin-top: 20px; }
.fly { animation: flypath linear infinite; }
.f1 { animation-duration: 11s; }
.f2 { animation-duration: 16s; }
.f3 { animation-duration: 23s; }
@keyframes flypath { to { stroke-dashoffset: -990; } }
@media (max-width: 760px) {
  .p-name-glyph { font-size: 38vw; }
  .p-name-glyph .tm { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fly { animation: none; } }
body.static .fly { animation: none; }

/* ================= Mobile polish pass (2026-07-07) ================= */
@media (max-width: 760px) {
  .notify-form .f-field { flex: 0 0 auto; }
  .st-label { display: none; }
  #soundToggle { gap: 0; }
  .p-close { padding-bottom: 150px; }
  .p-back { margin-top: 48px; }
  .apex-line { padding: 0 8px; }
}

/* ================= The Film — full-bleed autoplay ================= */
.film {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #050506 url(/assets/film/poster.jpg) center / cover no-repeat;
}
.film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.8s;
}
.film.rolling video { opacity: 1; }
.film-tap {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 6, 0.25);
  border: none;
  cursor: pointer;
  color: var(--silver);
}
.film-tap[hidden] { display: none; }
.film-tap .fp-ring {
  width: 74px; height: 74px;
  border: 1px solid rgba(233, 233, 238, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.film-tap:hover .fp-ring { transform: scale(1.12); border-color: var(--silver); }
