/* ═══════════════════════════════════════════════════════
   nowa — PRMO-inspired bold blocks
   white / ink / neon-green color blocks × giant type × HUD
   Archivo Black × Zen Kaku Gothic New × DM Mono
   ═══════════════════════════════════════════════════════ */
:root {
  --white: #FFFFFF;
  --ink: #101113;
  --green: #00E06A;
  --green-dark: #00B856;
  --violet: #4B2ED6;
  --gray: #ECECEA;
  --disp: 'Archivo Black', sans-serif;
  --sans: 'Zen Kaku Gothic New', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 2;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.disp { font-family: var(--disp); font-weight: 400; }
.mono { font-family: var(--mono); }
::selection { background: var(--green); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main { position: relative; z-index: 2; }

/* custom cursor */
.cursor { position: fixed; left: -100px; top: -100px; width: 14px; height: 14px; z-index: 999;
  background: var(--green); pointer-events: none; mix-blend-mode: difference;
  transform: translate(-50%, -50%); transition: width .25s, height .25s, border-radius .25s; }
.cursor.is-link { width: 44px; height: 44px; border-radius: 50%; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ════ HUD ════ */
.hud { position: fixed; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; gap: 22px; padding: 14px 22px;
  pointer-events: none; mix-blend-mode: normal; }
.hud--top { top: 0; }
.hud--bottom { bottom: 0; justify-content: space-between; }
.hud__logo { pointer-events: auto; font-family: var(--disp); font-size: 21px;
  letter-spacing: -.02em; text-decoration: none; position: relative; line-height: 1;
  color: var(--ink); }
.hud__logo i { position: absolute; right: -9px; top: -1px; width: 6px; height: 6px;
  background: var(--green); animation: blink 1.8s steps(2) infinite; }
.hud__news { flex: 1; overflow: hidden; white-space: nowrap; font-size: 11px;
  letter-spacing: .14em; color: var(--ink); opacity: .75; }
.hud__news span { display: inline-block; animation: newsloop 18s linear infinite; }
@keyframes newsloop { 0% { transform: translateX(100vw);} 100% { transform: translateX(-100%);} }
.hud__sq { display: flex; gap: 5px; }
.hud__sq i { width: 9px; height: 9px; background: #fff; }
.hud__sq i:nth-child(2) { animation: blink 1.2s steps(2) infinite; }
.hud__sq i:nth-child(3) { opacity: .5; }
.hud__sq i:nth-child(4) { animation: blink 2.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hud--bottom p { font-size: 10px; letter-spacing: .26em; opacity: .7; }
.hud__cell { display: flex; align-items: center; gap: 10px; }
.hud .sq { width: 9px; height: 9px; background: var(--ink); display: inline-block; }
#viz { display: block; image-rendering: pixelated; }
.hud__bars { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; }
.hud__bars i { width: 3px; background: var(--ink); animation: bars 1s ease-in-out infinite; }
.hud__bars i:nth-child(1) { height: 60%; }
.hud__bars i:nth-child(2) { height: 100%; animation-delay: .2s; }
.hud__bars i:nth-child(3) { height: 40%; animation-delay: .4s; }
@keyframes bars { 50% { transform: scaleY(.4); } }

/* HUD inverts over dark sections via difference blend — keep internals pure white */
.hud { mix-blend-mode: difference; color: #fff; }
.hud--top .hud__logo, .hud__news, .hud--bottom p { color: #fff; }
.hud__sq i, .hud .sq, .hud__bars i, .hud__logo i { background: #fff; }

/* dots nav */
.dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; gap: 12px; mix-blend-mode: difference; }
.dots a { width: 8px; height: 8px; background: #fff; opacity: .35; transition: all .3s; }
.dots a.on { opacity: 1; transform: scale(1.45) rotate(45deg); }

/* floating CTA */
.fab { position: fixed; right: 22px; bottom: 56px; z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: var(--ink); text-decoration: none;
  font-weight: 900; font-size: 14px; letter-spacing: .06em;
  padding: 16px 26px; border-radius: 999px;
  box-shadow: 0 14px 40px rgba(0,224,106,.45);
  transition: transform .35s var(--ease), box-shadow .35s; }
.fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 54px rgba(0,224,106,.6); }
.fab span { transition: transform .3s; }
.fab:hover span { transform: translateX(4px); }

/* ════ buttons ════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 32px; border-radius: 999px; text-decoration: none;
  font-weight: 900; font-size: 14px; letter-spacing: .06em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform .3s; }
.btn:hover span { transform: translateX(5px); }
.btn--green { background: var(--green); color: var(--ink); box-shadow: 0 12px 34px rgba(0,224,106,.35); }
.btn--line { border: 2px solid currentColor; }
.btn--xl { padding: 22px 46px; font-size: 16px; margin-top: 36px; }

/* ════ HERO ════ */
.hero { min-height: 100svh; position: relative; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* when the 3D wordmark is alive, the hero opens to the WebGL space */
body.has3d .hero { background: transparent; }
body.has3d .hero__logo { visibility: hidden; } /* keeps layout, 3D word takes its place */
body.has3d .hero::before { content: ''; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%); width: min(96vw, 1300px); height: 76%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.88) 30%, rgba(255,255,255,.45) 60%, transparent 80%);
  pointer-events: none; }
.hero > * { position: relative; }
.hero__meta { position: absolute; top: 64px; left: 0; right: 0;
  display: flex; justify-content: space-between; padding: 0 6vw;
  font-size: 11px; letter-spacing: .3em; opacity: .65; }
.hero__logo { font-size: clamp(110px, 22vw, 330px); line-height: .94; letter-spacing: -.045em;
  color: var(--green); user-select: none;
  text-shadow: 0 .04em 0 rgba(0,184,86,.35); }
.hero__a { position: relative; display: inline-block; }
.hero__a i { position: absolute; right: -.08em; top: .02em; width: .11em; height: .11em;
  background: var(--ink); border-radius: 50%; animation: blink 1.6s steps(2) infinite; }
.hero__tag { margin-top: 34px; font-size: clamp(16px, 1.8vw, 23px); font-weight: 700;
  letter-spacing: .14em; }
.hero__tag b { background: linear-gradient(transparent 62%, var(--green) 62%); font-weight: 900; }
.hero__scroll { position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .4em; opacity: .6;
  display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 44px; background: var(--ink); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--green);
  animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { from { transform: translateY(-110%);} to { transform: translateY(110%);} }
.hero__corner { position: absolute; bottom: 64px; font-size: 10px; letter-spacing: .26em; opacity: .55; }
.hero__corner--bl { left: 6vw; }
.hero__corner--br { right: 6vw; }

/* ════ PHILOSOPHY — WebGL window, pinned 3-act sequence ════ */
.phil { min-height: 280svh; position: relative; background: transparent; }
.phil__sticky { position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 6vw; }
.phil__copy { position: relative; z-index: 2; padding: 8vh 4vw; }
.phil__copy::before { content: ''; position: absolute; inset: -10% -16%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.92) 38%, rgba(255,255,255,.55) 62%, transparent 78%); }
.phil__line { font-size: clamp(22px, 3.4vw, 46px); font-weight: 900; line-height: 2.1;
  letter-spacing: .06em; }
.phil__line em { font-style: normal; color: var(--green-dark);
  background: linear-gradient(transparent 60%, rgba(0,224,106,.35) 60%); }
.phil__last { position: absolute; left: 50%; top: 50%; z-index: 3;
  transform: translate(-50%, -50%); width: max-content; max-width: 90vw;
  font-size: clamp(20px, 2.6vw, 38px); font-weight: 900; line-height: 2.2;
  letter-spacing: .08em; opacity: 0; filter: blur(12px);
  text-shadow: 0 0 30px rgba(255,255,255,.9); will-change: opacity, filter; }

/* ════ sections (color blocks) ════ */
.sec { position: relative; padding: 24vh 6vw 18vh; overflow: clip; }
.sec--white { background: var(--white); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--violet { background: var(--violet); color: #fff; }
.wrap { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }

/* giant scroll-bound word */
.gword { position: relative; z-index: 1; white-space: nowrap;
  font-size: clamp(110px, 19vw, 300px); line-height: .9; letter-spacing: -.03em;
  color: var(--green); pointer-events: none; user-select: none;
  margin-bottom: -.18em; will-change: transform; }
.sec--white .gword { color: var(--green); }
.gword--outline { -webkit-text-stroke: 2.5px var(--ink); }
.sec--white .gword--outline { color: transparent; }
.gword--comic { -webkit-text-stroke: 3px var(--ink); }
.sec--violet .gword { color: var(--green); }

.sec__intro { max-width: 760px; padding-top: 10vh; }
.sec__no { font-size: 12px; letter-spacing: .34em; margin-bottom: 24px; opacity: .7; }
.sec--white .sec__no { color: var(--green-dark); opacity: 1; }
.sec--ink .sec__no, .sec--violet .sec__no { color: var(--green); opacity: 1; }
.sec__title { font-size: clamp(28px, 3.4vw, 52px); font-weight: 900; line-height: 1.5;
  letter-spacing: .03em; }
.sec__lead { margin-top: 24px; font-size: 15px; line-height: 2.2; opacity: .8; max-width: 640px; }

/* ticks shared */
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { padding-left: 24px; position: relative; font-size: 14px; opacity: .9; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 11px; width: 10px; height: 10px;
  background: var(--green); }
.ticks li.hl { font-weight: 900; }
.ticks b { font-weight: 900; }

/* ── SYSTEM ── */
.minitrack { height: 560svh; margin: 8vh 0 2vh; }
.ministage__words { position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  counter-reset: ev; }
.ministage__words span { position: absolute; right: 4vw; top: 50%;
  counter-increment: ev;
  font-weight: 900; font-size: clamp(24px, 2.9vw, 50px); line-height: 1.3;
  letter-spacing: .14em; white-space: nowrap; color: #fff;
  padding-top: 34px; text-align: right;
  opacity: 0; will-change: transform, opacity; }
.ministage__words span::before {
  content: 'EVOLVE 0' counter(ev) ' —';
  position: absolute; top: 0; right: 0;
  font-family: var(--mono); font-weight: 500;
  font-size: 11px; letter-spacing: .3em; color: var(--green);
}
.ministage__words span::after {
  content: ''; position: absolute; top: 22px; right: 0; width: 56px; height: 2px;
  background: var(--green); box-shadow: 0 0 12px rgba(0,224,106,.7);
}
.ministage { position: sticky; top: 6svh; height: 88svh;
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,224,106,.1), transparent 60%),
    radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.05), transparent 70%);
}
.ministage__head span { opacity: 0; transition: opacity .2s linear; display: inline-block; }
.ministage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.ministage__label { position: absolute; left: 24px; top: 20px; font-size: 12px;
  letter-spacing: .26em; color: var(--green); transition: opacity .3s; }
.ministage__head { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: max-content; max-width: 92%; text-align: center;
  font-weight: 900; font-size: clamp(15px, 1.9vw, 26px); letter-spacing: .08em;
  text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.ministage__head em { font-style: normal; color: var(--green);
  text-shadow: 0 0 22px rgba(0,224,106,.6); }
.orbs { display: flex; gap: 4vw; justify-content: center; margin: 12vh 0; flex-wrap: wrap; }
.orb { width: clamp(190px, 17vw, 250px); aspect-ratio: 1; border-radius: 50%;
  background: var(--green); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; animation: bob 5s ease-in-out infinite; animation-delay: var(--d);
  transition: transform .4s var(--ease), box-shadow .4s; }
.orb:hover { transform: scale(1.07) rotate(-3deg); box-shadow: 0 30px 70px rgba(0,224,106,.35); }
.orb b { font-size: clamp(26px, 2.4vw, 36px); font-weight: 900; letter-spacing: .1em; }
.orb span { font-size: 11.5px; line-height: 1.7; font-weight: 700; opacity: .75; }
@keyframes bob { 0%,100% { translate: 0 0;} 50% { translate: 0 -16px;} }

.system__demo { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center;
  margin-top: 6vh; }
.system__notes-tag { font-size: 11px; letter-spacing: .3em; color: var(--green); margin-bottom: 18px; }
.system__notes > p:not(.mono) { font-size: clamp(17px, 1.6vw, 24px); font-weight: 900;
  line-height: 1.9; margin-bottom: 26px; }

/* chat */
.chat { background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.45); min-height: 400px; display: flex; flex-direction: column; }
.chat__bar { display: flex; align-items: center; gap: 13px; padding: 15px 20px;
  border-bottom: 1px solid rgba(16,17,19,.1); }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 19px; color: var(--ink); background: var(--green); }
.chat__bar b { display: block; font-size: 14px; line-height: 1.3; }
.chat__bar span { font-size: 10.5px; letter-spacing: .12em; color: var(--green-dark); }
.chat__body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg { max-width: 84%; padding: 10px 16px; border-radius: 16px; font-size: 13px; line-height: 1.8;
  opacity: 0; transform: translateY(10px) scale(.97);
  transition: opacity .5s var(--ease), transform .5s var(--ease); white-space: pre-line; }
.msg.on { opacity: 1; transform: none; }
.msg--user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.msg--ai { align-self: flex-start; background: var(--gray); border-bottom-left-radius: 5px; }
.msg--sys { align-self: center; background: none; font-size: 10.5px; font-family: var(--mono);
  letter-spacing: .14em; color: rgba(16,17,19,.45); padding: 2px; }
.msg--typing { align-self: flex-start; background: var(--gray); }
.msg--typing i { display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(16,17,19,.4); margin-right: 4px; animation: tdot 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; margin-right: 0; }
@keyframes tdot { 0%,60%,100% { transform: translateY(0);} 30% { transform: translateY(-5px);} }

/* ── USE CASES ── */
.uc { margin-top: 7vh; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden;
  background: #fff; }
.uc__tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 24px;
  border-bottom: 3px solid var(--ink); background: var(--gray); }
.uc__tab { font-family: var(--sans); font-weight: 900; font-size: 13px;
  padding: 9px 17px; border-radius: 999px; border: 2px solid var(--ink);
  background: #fff; color: var(--ink); cursor: pointer; transition: all .25s var(--ease); }
.uc__tab:hover { background: var(--ink); color: #fff; }
.uc__tab.on { background: var(--green); border-color: var(--ink); color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink); }
.uc__list { list-style: none; counter-reset: uc; display: grid; grid-template-columns: 1fr 1fr;
  padding: 18px 28px 28px; column-gap: 48px; }
.uc__list li { counter-increment: uc; display: flex; gap: 16px; align-items: baseline;
  padding: 12px 4px; border-bottom: 2px dotted rgba(16,17,19,.2);
  font-size: 14.5px; font-weight: 700; animation: ucIn .45s var(--ease) both; }
.uc__list li::before { content: counter(uc, decimal-leading-zero); font-family: var(--mono);
  font-size: 11px; color: var(--green-dark); font-weight: 500; }
@keyframes ucIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }

/* ── ENGINE ── */
.engines { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 7vh; }
.ecard { background: rgba(255,255,255,.07); border: 2px solid rgba(255,255,255,.25);
  border-radius: 18px; padding: 38px 36px; transition: all .4s var(--ease); }
.ecard:hover { background: rgba(255,255,255,.12); transform: translateY(-6px);
  border-color: var(--green); }
.ecard__type { font-size: 11px; letter-spacing: .28em; color: var(--green); margin-bottom: 18px; }
.ecard h4 { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.1; letter-spacing: -.01em; }
.ecard__tag { font-weight: 900; letter-spacing: .1em; margin: 10px 0 26px; opacity: .85; }
.ecard .ticks li { opacity: .92; }
.ecard .ticks b { color: #fff; }
.ecard__meta { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25);
  font-size: 10.5px; letter-spacing: .2em; opacity: .7; }

/* ── PRICING ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 7vh; }
.plan { background: #fff; color: var(--ink); border-radius: 18px; padding: 56px 32px 34px;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s; }
.plan:hover { transform: translateY(-8px); box-shadow: 0 36px 80px rgba(0,0,0,.4); }
.plan__flag { position: absolute; top: 0; left: 0; right: 0; text-align: center;
  padding: 11px; font-size: 11px; letter-spacing: .3em;
  background: var(--green); color: var(--ink); font-weight: 500; }
.plan__flag--soft { background: var(--gray); }
.plan__flag--reco { background: var(--ink); color: var(--green); }
.plan h4 { font-size: 21px; font-weight: 900; }
.plan__price { font-size: clamp(64px, 5vw, 88px); line-height: 1; letter-spacing: -.02em;
  margin-top: 14px; }
.plan__price i { font-style: normal; font-family: var(--sans); font-weight: 900;
  font-size: .26em; margin-left: 6px; }
.plan--campaign .plan__price { color: var(--green-dark); }
.plan__tax { font-size: 10.5px; letter-spacing: .1em; opacity: .55; margin-top: 10px; }
.plan .ticks { margin: 26px 0 30px; flex: 1; }
.plan .btn { width: 100%; }
.plan .btn--line { border-color: var(--ink); }
.plan--campaign { outline: 4px solid var(--green); outline-offset: -4px; }
.plan--reco { outline: 4px solid var(--ink); outline-offset: -4px; }

/* ── FLOW ── */
.steps { list-style: none; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 22px;
  margin-top: 7vh; }
.stepcard { border: 3px solid var(--ink); border-radius: 18px; padding: 34px 32px;
  background: #fff; transition: all .35s var(--ease); }
.stepcard:hover { box-shadow: 8px 8px 0 var(--green); transform: translate(-3px, -3px); }
.stepcard__no { font-size: 60px; line-height: 1; color: var(--green);
  -webkit-text-stroke: 2px var(--ink); margin-bottom: 18px; }
.stepcard h4 { font-size: 20px; font-weight: 900; margin-bottom: 12px; }
.stepcard h4 .mono { display: block; font-size: 11px; font-weight: 400;
  letter-spacing: .2em; color: var(--green-dark); margin-top: 6px; }
.stepcard p { font-size: 13.5px; opacity: .8; }
.stepcard--focus { background: var(--ink); color: #fff; }
.stepcard--focus:hover { box-shadow: 8px 8px 0 var(--green); }
.reqs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.req { border: 3px dashed rgba(16,17,19,.4); border-radius: 18px; padding: 30px 32px; }
.req > .mono { font-size: 11px; letter-spacing: .26em; opacity: .6; margin-bottom: 16px; }

/* ── MESSAGE — WebGL window ── */
.message { min-height: 130svh; background: transparent; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20vh 6vw; }
.message::before { content: ''; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%); width: min(90vw, 1100px); height: 70%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.9) 35%, rgba(255,255,255,.5) 62%, transparent 80%); }
.message > * { position: relative; }
.message__label { font-size: 11px; letter-spacing: .44em; color: var(--green-dark);
  margin-bottom: 42px; }
.message__title { font-weight: 900; font-size: clamp(52px, 9.5vw, 156px); line-height: 1.25;
  letter-spacing: .02em; }
.message__title span { display: inline-block; }
.message__sub { margin-top: 48px; font-size: clamp(14px, 1.35vw, 17px); font-weight: 700;
  line-height: 2.4; opacity: .85; }

/* ── TEAM ── */
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 7vh; }
.mcard { border: 3px solid var(--ink); border-radius: 18px; padding: 26px;
  background: #fff; transition: all .35s var(--ease); }
.mcard:hover { box-shadow: 10px 10px 0 var(--green); transform: translate(-4px, -4px); }
.mcard figure { height: 205px; display: flex; align-items: flex-end; justify-content: center;
  background: var(--gray); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.mcard img { height: 185px; width: auto; object-fit: contain; mix-blend-mode: multiply;
  transition: transform .45s var(--ease); }
.mcard:hover img { transform: translateY(-6px) scale(1.05); }
.mcard__role { font-size: 10px; letter-spacing: .26em; color: var(--green-dark); }
.mcard h4 { font-size: 28px; font-weight: 900; margin-top: 8px; }
.mcard h4 .mono { font-size: 10.5px; letter-spacing: .3em; opacity: .45; margin-left: 10px; }
.mcard blockquote { font-weight: 900; font-size: 14.5px; letter-spacing: .04em;
  background: linear-gradient(transparent 62%, rgba(0,224,106,.5) 62%);
  display: inline; line-height: 2.2; }
.mcard > p { font-size: 12.5px; opacity: .75; margin-top: 12px; }

/* ── CONTACT ── */
.contact .gword { color: var(--green); }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw;
  align-items: start; padding-top: 10vh; }
.contact__title { font-size: clamp(40px, 5.4vw, 84px); font-weight: 900; line-height: 1.3;
  letter-spacing: .02em; margin: 10px 0 18px; }
.company { width: 100%; border-collapse: collapse; }
.company th, .company td { text-align: left; padding: 18px 8px;
  border-bottom: 1px solid rgba(255,255,255,.2); vertical-align: top; }
.company th { font-size: 10.5px; letter-spacing: .3em; color: var(--green);
  font-weight: 400; white-space: nowrap; padding-right: 28px; }
.company td { font-size: 14px; line-height: 1.9; }

.footer { position: relative; z-index: 2; background: var(--ink); color: #fff;
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 30px 6vw; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer .disp { font-size: 20px; color: var(--green); position: relative; }
.footer .disp i { position: absolute; right: -9px; top: 0; width: 5px; height: 5px;
  background: #fff; border-radius: 50%; animation: blink 2s steps(2) infinite; }
.footer .mono { font-size: 10.5px; letter-spacing: .2em; opacity: .6; }

/* ── reveal variants ── */
.reveal { opacity: 0; transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.rv-left { transform: translateX(-70px) rotate(-1.5deg); }
.reveal.rv-right { transform: translateX(70px) rotate(1.5deg); }
.reveal.rv-pop { transform: scale(.82) rotate(-2deg); transition-timing-function: cubic-bezier(.34,1.56,.64,1); }
.reveal.in { opacity: 1; transform: none; }
/* stagger siblings */
.orbs .reveal:nth-child(2), .plans .reveal:nth-child(2), .steps .reveal:nth-child(2),
.members .reveal:nth-child(2) { transition-delay: .14s; }
.orbs .reveal:nth-child(3), .plans .reveal:nth-child(3), .steps .reveal:nth-child(3),
.members .reveal:nth-child(3) { transition-delay: .28s; }

/* ── text-entrance variants ([data-anim]) ── */
[data-anim] .ch { display: inline-block; opacity: 0; }
[data-anim] .ch.settled { animation: none !important; opacity: 1; }
[data-anim].in .ch { animation-duration: .7s; animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.22,.9,.24,1);
  animation-delay: calc(var(--i) * 42ms); }
[data-anim="rise"].in .ch { animation-name: chRise; }
@keyframes chRise {
  from { opacity: 0; transform: translateY(1em) rotate(10deg); }
  to { opacity: 1; transform: none; } }
[data-anim="flip"] { perspective: 900px; }
[data-anim="flip"] .ch { transform-origin: 50% 100%; backface-visibility: hidden; }
[data-anim="flip"].in .ch { animation-name: chFlip; animation-duration: .85s; }
@keyframes chFlip {
  from { opacity: 0; transform: rotateX(-100deg) translateY(.25em); }
  60% { opacity: 1; transform: rotateX(18deg); }
  to { opacity: 1; transform: none; } }
[data-anim="slide"].in .ch { animation-name: chSlide; animation-duration: .55s; }
@keyframes chSlide {
  from { opacity: 0; transform: translateX(.8em) skewX(-14deg); }
  to { opacity: 1; transform: none; } }
[data-anim="mist"].in .ch { animation-name: chMist; animation-duration: 1.1s;
  animation-delay: calc(var(--i) * 50ms); }
@keyframes chMist {
  from { opacity: 0; filter: blur(14px); transform: translateY(.45em) scale(1.18); }
  60% { opacity: .9; filter: blur(2px); }
  to { opacity: 1; filter: blur(0); transform: none; } }
/* phil lines: char-level mist takes over — neutralize the old line-level transition */
.phil__line[data-anim] { opacity: 1; transform: none; filter: none; transition: none; }
.phil__line--last[data-anim].in { opacity: 1; }

[data-anim="pop"].in .ch { animation-name: chPop; animation-duration: .6s; }
@keyframes chPop {
  0% { opacity: 0; transform: scale(0) rotate(-14deg); }
  62% { opacity: 1; transform: scale(1.22) rotate(4deg); }
  to { opacity: 1; transform: none; } }
[data-anim="wipe"] { clip-path: inset(-5% 100% -5% 0); transform: translateX(-18px);
  transition: clip-path 1.1s var(--ease) .1s, transform 1.1s var(--ease) .1s; }
[data-anim="wipe"].in { clip-path: inset(-5% -2% -5% 0); transform: none; }

/* ── giant word entrances (gword) ── */
.gword[data-anim].in .ch { animation-duration: .9s; animation-delay: calc(var(--i) * 60ms); }
[data-anim="gstairs"] { clip-path: inset(-12% -9999px 0 -9999px); }
[data-anim="gstairs"].in .ch { animation-name: gStairs; }
@keyframes gStairs {
  from { opacity: 1; transform: translateY(118%); }
  to { opacity: 1; transform: none; } }
[data-anim="gdrop"].in .ch { animation-name: gDrop; }
@keyframes gDrop {
  0% { opacity: 0; transform: translateY(-130%) rotate(-7deg); }
  68% { opacity: 1; transform: translateY(7%) rotate(2deg); }
  100% { opacity: 1; transform: none; } }
[data-anim="gflip"] { perspective: 1400px; }
[data-anim="gflip"] .ch { transform-origin: 50% 50%; backface-visibility: hidden; }
[data-anim="gflip"].in .ch { animation-name: gFlip; animation-duration: 1s; }
@keyframes gFlip {
  from { opacity: 0; transform: rotateY(96deg) translateX(.18em); }
  62% { opacity: 1; transform: rotateY(-14deg); }
  to { opacity: 1; transform: none; } }
[data-anim="gzoom"].in .ch { animation-name: gZoom; }
@keyframes gZoom {
  from { opacity: 0; transform: scale(1.8); filter: blur(16px); }
  to { opacity: 1; transform: none; filter: blur(0); } }
[data-anim="gslide"].in .ch { animation-name: gSlide; animation-duration: .65s; }
@keyframes gSlide {
  from { opacity: 0; transform: translateX(1.3em) skewX(-20deg); }
  78% { opacity: 1; transform: translateX(-.05em) skewX(4deg); }
  to { opacity: 1; transform: none; } }
[data-anim="gpop"].in .ch { animation-name: gPop;
  animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
@keyframes gPop {
  0% { opacity: 0; transform: scale(0) rotate(-16deg); }
  70% { opacity: 1; transform: scale(1.18) rotate(5deg); }
  100% { opacity: 1; transform: none; } }

/* ── responsive ── */
@media (max-width: 1080px) {
  .dots { display: none; }
  /* mobile perf: blur & blend compositing is expensive on phones */
  .chat { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(255,255,255,.94); }
  .grain { display: none; }
  .hud, .dots { mix-blend-mode: normal; }
  .hud--top { background: linear-gradient(180deg, rgba(252,252,250,.92), rgba(252,252,250,0)); }
  .hud--bottom { background: linear-gradient(0deg, rgba(252,252,250,.92), rgba(252,252,250,0)); }
  .hud--top .hud__logo, .hud__news { color: var(--ink); }
  .hud__sq i, .hud .sq, .hud__bars i { background: var(--ink); }
  .hud__logo i { background: var(--green); }
  .system__demo, .engines, .reqs { grid-template-columns: 1fr; }
  .plans, .steps, .members { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .orbs { gap: 18px; }
}
@media (max-width: 640px) {
  .sec { padding: 16vh 6vw 12vh; }
  .hero__meta { font-size: 9px; letter-spacing: .18em; }
  .hero__corner { display: none; }
  .gword { font-size: 26vw; }
  /* usecases: one swipeable tab row + roomier list */
  .uc__tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 14px 16px; scrollbar-width: none; }
  .uc__tabs::-webkit-scrollbar { display: none; }
  .uc__tab { flex: 0 0 auto; }
  .uc__list { grid-template-columns: 1fr; padding: 8px 18px 22px; }
  .uc__list li { font-size: 15px; padding: 14px 2px; gap: 12px; }
  .footer { flex-direction: column; }
  .fab { right: 14px; bottom: 46px; padding: 13px 20px; font-size: 13px; }
  .hud__news { display: none; }
  .hud--bottom p { display: none; }
  .ministage__words span { right: 5vw; font-size: 22px; }
  .ministage__head { bottom: 96px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ════ intro flythrough（プロローグ・オーバーレイ）════ */
#intro { display: none; }
.intro-pending #intro {
  display: block;
  position: fixed; inset: 0; z-index: 900;
  background: #03120d;
  opacity: 1;
  transition: opacity .9s ease;
}
#intro.is-done { opacity: 0; }
#intro.is-done .intro__skip, #intro.is-done .intro__hint { pointer-events: none; }
#intro canvas { display: block; width: 100%; height: 100%; }
#intro .intro__bar {
  position: absolute; top: 0; left: 0; height: 2px; width: 0%;
  background: #5dffb8; z-index: 2;
}
#intro .intro__skip {
  position: absolute; top: 20px; right: 24px; z-index: 2;
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .14em;
  color: rgba(255,255,255,.75); background: none;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: 9px 16px; cursor: pointer; transition: color .25s, border-color .25s;
}
#intro .intro__skip:hover { color: #5dffb8; border-color: #5dffb8; }
#intro .intro__hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-family: 'DM Mono', monospace; font-size: 12px;
  letter-spacing: .24em; color: rgba(255,255,255,.6);
  transition: opacity .8s ease;
  animation: introBob 1.6s ease-in-out infinite;
}
@keyframes introBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}
