/* ==========================================================================
   Trident Forge Advisory
   Layout system mirrors the reference: vw-locked root rem (1rem = 10px @1460),
   12-col fluid container, heavy uppercase display (.8 leading, -.05em),
   split-screen stage, line dividers, hov-list dimming, difference-blend navs.
   ========================================================================== */

@font-face { font-family: "Poppins Local"; src: url("shared/fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins Local"; src: url("shared/fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #040b1c;
  --navy: #102f59;
  --blue: #0f0dd8;
  --cyan: #75fafc;
  --glow: #dbf0fc;
  --sky: #7ec1ee;
  --paper: #eef6fd;

  --bg: var(--ink);
  --fg: var(--paper);
  --acc: var(--cyan);
  --border: color-mix(in srgb, var(--fg) 14%, transparent);

  --font: "Poppins", "Poppins Local", system-ui, sans-serif;
  --pad: max(16px, 1.5rem);
  --sec: 12rem;

  --fs-small: clamp(12.5px, .85rem, .85rem);
  --fs-main: clamp(14px, 1.5rem, 1.5rem);
  --fs-large: clamp(13px, 1.25rem, 1.25rem);
  --fs-h2: 2.5rem;
  --fs-h1: 4.5rem;
  --fs-display: 16rem;
  --ease-expo: cubic-bezier(.87, 0, .13, 1);
  --ease-arrow: cubic-bezier(.25, .1, .006, 1.001);

  font-size: .684931506849315vw; /* 1rem = 10px at a 1460px design width */
}
@media (max-width: 991px) {
  :root {
    font-size: 80%;
    --fs-display: clamp(4.5rem, 3.7rem + 3.98vw, 8rem);
    --fs-h1: clamp(2rem, 1.89rem + .57vw, 2.5rem);
    --fs-h2: clamp(1.4rem, 1.3rem + .4vw, 1.75rem);
    --fs-main: 1rem;
    --sec: 6rem;
  }
}
@media (max-width: 479px) {
  :root {
    --fs-display: clamp(3.5rem, 2.93rem + 2.84vw, 6rem);
    --fs-h1: clamp(1.75rem, 1.69rem + .28vw, 2rem);
    --fs-large: 1rem;
  }
}

html[data-theme="dark"]  { --bg: var(--ink);  --fg: var(--paper); --acc: var(--cyan); }
html[data-theme="light"] { --bg: var(--paper); --fg: #071737;     --acc: var(--blue); }
html[data-theme="blue"]  { --bg: var(--blue); --fg: #f2f8ff;      --acc: var(--cyan); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-main);
  font-weight: 600;
  line-height: 1.125;
  letter-spacing: -.035em;
  -webkit-font-smoothing: antialiased;
  transition: background-color 1s cubic-bezier(.45, 0, .55, 1), color 1s cubic-bezier(.45, 0, .55, 1);
  overflow-x: clip;
}
h1, h2, h3, h4, p, blockquote, ul, ol, figure { margin: 0; padding: 0; font: inherit; letter-spacing: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; text-align: inherit; }
::selection { background: var(--cyan); color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--acc); outline-offset: 3px;
}
.skip { position: fixed; left: var(--pad); top: -100px; z-index: 2000; background: var(--cyan); color: var(--ink); padding: .75em 1em; }
.skip:focus { top: var(--pad); }

/* ---------- type ---------- */
.t-small { font-size: var(--fs-small); font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.t-main { font-size: var(--fs-main); }
.t-sub { font-size: var(--fs-main); text-transform: uppercase; display: inline-flex; align-items: center; gap: .6em; }
.sub-spark { width: 1.6em; height: auto; transition: filter 1s; }
html[data-theme="light"] .sub-spark { filter: hue-rotate(58deg) saturate(8) brightness(.6); }
.t-h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.t-h1 { font-size: var(--fs-h1); font-weight: 900; line-height: .925; letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }
.t-h1.low { text-transform: none; font-weight: 800; line-height: 1; }
.t-h2.low { font-weight: 500; }
.t-display {
  font-size: var(--fs-display); font-weight: 900; line-height: .82; letter-spacing: -.05em;
  text-transform: uppercase; text-wrap: balance;
}
.dim { opacity: .55; }
@media (max-width: 767px) { .hide-m { display: none !important; } }

/* ---------- layout ---------- */
.wrap { position: relative; width: 100%; padding: var(--sec) var(--pad); }
.wrap.no-top { padding-top: 0; }
.wrap.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3rem; }
.sec { position: relative; }
.line { height: 1px; background: currentColor; opacity: .5; transform-origin: 0 50%; margin: 0 calc(var(--pad) * -1); }

/* hover list (reference: [hov-list]) */
[data-hov-list] > * { transition: opacity .3s ease; }
@media (hover: hover) {
  [data-hov-list]:has(> *:hover) > *:not(:hover) { opacity: .4; }
}

/* ---------- buttons (reference arrow swap) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--fs-large); text-transform: uppercase; font-weight: 600;
  transition: opacity .3s;
}
.btn .arr {
  position: relative; display: inline-grid; place-items: center; overflow: hidden;
  width: 1.9em; height: 1.9em; border-radius: .45em; background: var(--acc); color: var(--bg);
  font-weight: 700; line-height: 1;
  transition: transform .3s, background-color 1s;
}
.btn .arr-a, .btn .arr-b { grid-area: 1 / 1; transition: transform .4s; }
.btn .arr-b { transform: translateX(-160%); transition: transform .5s var(--ease-arrow); }
.btn:hover { opacity: .6; }
.btn:hover .arr-a { transform: translateX(160%); }
.btn:hover .arr-b { transform: translateX(0); }
.btn.is-big { font-size: var(--fs-h2); }

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader { position: fixed; inset: 0; z-index: 999; display: none; pointer-events: none; }
.js:not(.rm) .loader { display: block; pointer-events: auto; }
.loader-bk { position: absolute; top: 0; bottom: 0; width: 50.2%; background: var(--paper); will-change: transform; }
.loader-bk.is-left { left: 0; }
.loader-bk.is-right { right: 0; }
.loader-nav { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; color: #fff; mix-blend-mode: difference; }
.nav-row { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr) minmax(0, .5fr); align-items: center; gap: 16px; padding: var(--pad); }
.nav-col.is-c { display: flex; justify-content: center; position: relative; }
.nav-col.is-r { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; text-align: right; }
.nav-word { text-transform: uppercase; display: inline-block; white-space: nowrap; will-change: transform; }
.nav-row.is-loader .nav-word { font-size: var(--fs-h1); font-weight: 900; opacity: 0; }
.ld-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: .35em; font-size: var(--fs-h1); font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.ld-ref { display: inline-block; will-change: transform; }
.ld-spark { height: .62em; width: auto; }
.ld-mark { position: absolute; left: 50%; top: 50%; width: clamp(110px, 16rem, 16rem); max-width: none; opacity: 0; }

/* page-transition panels */
.wipe { position: fixed; inset: 0; z-index: 998; pointer-events: none; }
.wipe-bk { position: absolute; top: 0; bottom: 0; width: 50.2%; background: var(--paper); }
.wipe-bk.is-left { left: 0; transform: translateY(-101%); }
.wipe-bk.is-right { right: 0; transform: translateY(101%); }

/* ==========================================================================
   NAV (difference blend, top + bottom)
   ========================================================================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: var(--nav-fg, #fff); transition: color .6s cubic-bezier(.45, 0, .55, 1); }
.nav-logo img { transition: filter .6s cubic-bezier(.45, 0, .55, 1); }
html[data-theme="light"]:not(.menu-open) { --nav-fg: var(--navy); }
html[data-theme="light"]:not(.menu-open) .nav-logo img { filter: brightness(0) saturate(100%) invert(14%) sepia(37%) saturate(2300%) hue-rotate(196deg) brightness(92%); }
.nav .nav-word { padding: .5rem 0; }
.nav-logo { display: block; width: clamp(110px, 16rem, 16rem); }
.nav-logo img { width: 100%; height: auto; }
.burger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; margin: -12px -10px -12px 0; }
.burger-line { display: block; width: 22px; height: 1.5px; background: currentColor; }
.burger-line.middle { margin: 6px 0; }
@media (max-width: 767px) {
  .burger { display: flex; }
  .nav .nav-col.is-r .nav-word, .nav .nav-col.is-l .nav-word { font-size: 13px; }
  .nav-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav-row.is-loader .nav-col.is-c { width: 0; }
  .nav-row.is-loader .nav-word, .ld-center { font-size: 5.2vw; }
}

.menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper); display: none; flex-direction: column; justify-content: space-between; padding: 7rem var(--pad) var(--pad); overflow: auto; }
.menu-inner { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 4rem; }
.menu-link { font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -.04em; }

.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; color: var(--nav-fg, #fff); pointer-events: none; transition: color .6s cubic-bezier(.45, 0, .55, 1); }
.bottom-row { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: var(--pad); }
.bottom-link { pointer-events: auto; text-transform: uppercase; justify-self: start; margin: -.75rem; padding: .75rem; transition: opacity .2s; }
.bottom-link:nth-child(2) { justify-self: center; }
.bottom-link:nth-child(3) { justify-self: end; }
.bottom-row:has(.bottom-link:hover) .bottom-link:not(:hover) { opacity: .4; }

/* ==========================================================================
   SPLIT STAGE — fallback (no JS / reduced motion): stacked full-height slides
   ========================================================================== */
.split { position: relative; background: var(--ink); color: var(--paper); }
.split-stage { position: relative; }
.split-item { position: relative; min-height: 100svh; overflow: hidden; }
.split-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; z-index: 0; }
.split-vis { position: relative; overflow: hidden; }
.split-vis::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 28, .35), rgba(4, 11, 28, .15) 40%, rgba(4, 11, 28, .55)); pointer-events: none; }
.vis { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, var(--blue), var(--navy) 55%, var(--ink)); }
.vis svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vis-photo { background: var(--navy); }
.vis-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.95); }
.vis-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), var(--blue)); mix-blend-mode: multiply; }
.vis-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(80% 60% at 70% 30%, rgba(117, 250, 252, .28), transparent 70%); mix-blend-mode: screen; }

.split-content { position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 7rem var(--pad) 8rem; }
.split-item.is-00 .split-content { justify-content: flex-end; }
.split-block { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; will-change: transform; }
.is-00 .split-block { align-items: flex-start; text-align: left; }
.split-title { max-width: 11ch; margin: 0 auto; font-size: min(var(--fs-display), 17vh); }
.split-title.is-long { font-size: min(calc(var(--fs-display) * .78), 13vh); max-width: 12ch; }
.is-00 .split-title { margin: 0; }
.split-lede { max-width: 34ch; opacity: .9; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .3em 1.4em; font-size: var(--fs-large); text-transform: uppercase; }
.is-00 .tags { justify-content: flex-start; }
.tags li { display: inline-flex; align-items: center; gap: .5em; }
.tags li::before { content: ""; width: 1.25em; height: .55em; background: var(--cyan); -webkit-mask: url("shared/brand/spark.svg") center / contain no-repeat; mask: url("shared/brand/spark.svg") center / contain no-repeat; }
.split .btn .arr { background: var(--cyan); color: var(--ink); }
.split-meta { display: none; }
.embers { display: none; }

/* live mode (set by JS): sticky stage, absolute stacked slides */
.split.is-live .split-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.split.is-live .split-item { position: absolute; inset: 0; min-height: 0; pointer-events: none; }
.split.is-live .split-content { position: absolute; inset: 0; min-height: 0; }
.split.is-live .split-content.is-left { clip-path: inset(0% 50% 0% 0%); }
.split.is-live .split-content.is-right { clip-path: inset(0% 0% 0% 50%); }
.split.is-live .split-vis .vis { will-change: transform; }
.split.is-live .embers { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; mix-blend-mode: screen; }
.split.is-live .split-meta {
  display: flex; position: absolute; z-index: 45; left: var(--pad); top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  gap: 2rem; font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .08em; color: #fff; pointer-events: none; white-space: nowrap;
}
.split.is-live .split-stage::after { /* the seam: one shaft through everything */
  content: ""; position: absolute; z-index: 44; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(117, 250, 252, .55) 20%, rgba(117, 250, 252, .55) 80%, transparent);
  pointer-events: none;
}
@media (max-width: 767px) {
  .split.is-live .split-meta { display: none; }
  .split-content { padding-bottom: 6rem; }
  .split-block { gap: 1.5rem; }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.big-txt { text-align: center; position: relative; will-change: transform; }
.seam { position: relative; display: block; }
.seam-r { position: absolute; inset: 0; display: block; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-top: 4rem; }
.about-img { position: relative; padding-bottom: 125%; overflow: hidden; margin-left: calc(var(--pad) * -1); }
.about-img.is-r { margin-left: 0; margin-right: calc(var(--pad) * -1); }
.about-img .vis { inset: -8% 0; }
.img-cap { position: absolute; left: var(--pad); bottom: var(--pad); color: var(--paper); opacity: .8; }
.about-txt { display: flex; flex-direction: column; gap: 2.5rem; padding: 0 2.5rem 2rem; }
.about-txt .line { margin: 1rem 0; }

.list-head { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 1.25rem; }
.wwd-block { padding-bottom: 3rem; }
.wwd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 1.5rem; }
.wwd-num { display: block; margin-bottom: 1.25rem; opacity: .55; }
.rich { font-size: var(--fs-h2); font-weight: 500; line-height: 1.2; }
.rich li { padding: .2em 0; }
.rich .ongoing { margin-top: 1.5rem; font-size: var(--fs-main); text-transform: uppercase; }
.rich .ongoing strong { opacity: .5; font-weight: 600; margin-right: .6em; }

/* method */
.method { display: flex; flex-direction: column; }
.m-row { padding-bottom: 4rem; }
.shaft { position: relative; height: 1px; margin: 0 calc(var(--pad) * -1); }
.shaft-line { position: absolute; inset: 0; background: currentColor; opacity: .6; transform-origin: 0 50%; }
.shaft-spark { position: absolute; top: 50%; left: 0; width: 5rem; min-width: 46px; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 0 10px rgba(117, 250, 252, .9)); }
.m-grid { display: grid; grid-template-columns: 1fr 6fr 4fr; gap: 2rem; align-items: end; padding-top: 2rem; }
.m-word { font-size: 13rem; }
.m-grid p { padding-bottom: .6rem; max-width: 26ch; }

/* drawers */
.intro-p { max-width: 22ch; margin: 2rem 0 6rem; }
.drawers { border-bottom: 1px solid currentColor; }
.drawer { border-top: 1px solid currentColor; }
.drawer-top { width: 100%; display: grid; grid-template-columns: 1fr 6fr 3fr auto; align-items: center; gap: 2rem; padding: 1.75rem 0; }
.dr-d { opacity: .6; text-transform: uppercase; }
.dr-n { opacity: .6; }
.plus { position: relative; width: 2.4rem; height: 2.4rem; min-width: 22px; min-height: 22px; transition: transform .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: currentColor; transform: translateY(-50%); }
.plus::after { transform: translateY(-50%) rotate(90deg); }
.drawer.open .plus { transform: rotate(45deg); }
.drawer-bottom { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.drawer.open .drawer-bottom { grid-template-rows: 1fr; }
.drawer-in { overflow: hidden; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.offer { display: flex; flex-direction: column; gap: .9rem; padding: 1rem 0 3rem; border-left: 1px solid var(--border); padding-left: 1.5rem; }
.offer .t-small { text-transform: uppercase; opacity: .6; letter-spacing: .04em; }
.offer .t-main { opacity: .7; }

/* bench */
.bench-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; padding-top: 2rem; }
.bench-list li { padding: .9rem 0; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }
.bench-list .t-small { opacity: .55; text-transform: uppercase; }
.bench-quote { align-self: end; }
.bench-quote p { color: var(--acc); transition: color 1s; }

/* who */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 6rem; }
.cols-2 .line { margin: 1.25rem 0 0; }
.moments li { padding: .7rem 0; border-bottom: 1px solid var(--border); }

/* why table */
.why { margin-top: 1rem; }
.why-row { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.6fr; gap: 2rem; padding: 1.75rem 0; border-top: 1px solid currentColor; align-items: start; }
.why-row.is-head { text-transform: uppercase; opacity: .55; padding: 1rem 0; }
.why-row span { line-height: 1.25; }
.w-us { color: var(--acc); transition: color 1s; }
.w-who { line-height: 1.05 !important; }

.marquee { overflow: hidden; padding: 4rem 0 var(--sec); }
.marquee-track { display: flex; width: max-content; font-size: 9rem; animation: marquee 48s linear infinite; }
.marquee-track li { display: flex; align-items: center; white-space: nowrap; }
.marquee-track li::after { content: ""; display: inline-block; width: .9em; height: .4em; margin: 0 .45em; background: var(--acc); -webkit-mask: url("shared/brand/spark.svg") center / contain no-repeat; mask: url("shared/brand/spark.svg") center / contain no-repeat; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* partners */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 2rem; }
.partner { display: flex; flex-direction: column; gap: 1.1rem; }
.p-img { position: relative; padding-bottom: 125%; overflow: hidden; margin-bottom: 1rem; }
.p-img .vis { transition: transform .5s ease; }
.partner:hover .p-img .vis { transform: scale(1.1); }
.ph { position: absolute; left: 1rem; top: 1rem; padding: .3em .6em; border: 1px solid rgba(255, 255, 255, .5); color: #fff; text-transform: uppercase; }
.partner .t-sub { opacity: .7; font-size: var(--fs-large); }
.p-bio { font-weight: 500; opacity: .85; max-width: 34ch; }

/* insights */
.news { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.news-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: .9rem; }
.news input { flex: 1 1 14rem; min-width: 0; background: none; border: 0; color: inherit; font: inherit; font-size: var(--fs-h2); padding: .3rem 0; }
.news input::placeholder { color: inherit; opacity: .45; }
.news input:focus-visible { outline: none; }
.news-row:focus-within { border-bottom-color: var(--acc); }
.news-msg { min-height: 1.3em; }

/* contact */
.contact-title { max-width: 10ch; }
.contact-line { line-height: 1.4; }
.contact-line a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* footer */
.footer { position: relative; }
.wrap.is-footer { padding-top: 0; padding-bottom: 7rem; }
.nav-row.is-footer { padding: 4rem 0; }
.nav-row.is-footer .nav-word { text-transform: uppercase; }
.foot-lockup { width: clamp(180px, 30rem, 30rem); height: auto; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 2rem; }
.foot-socials { display: flex; flex-direction: column; gap: 1rem; }
.socials { display: flex; gap: 2rem; text-transform: uppercase; }
.socials a { min-width: 7ch; padding: .5rem 0; }
.foot-links { display: flex; flex-direction: column; align-items: center; text-align: center; }
.foot-links a { padding: .375rem 0; }
.foot-legal { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; text-transform: uppercase; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
  .m-word { font-size: var(--fs-display); }
  .marquee-track { font-size: calc(var(--fs-display) * .7); }
}
@media (max-width: 767px) {
  .about-split, .wwd-grid, .bench-grid, .cols-2, .partners, .foot-grid { grid-template-columns: 1fr; }
  .about-img, .about-img.is-r { margin: 0 calc(var(--pad) * -1); }
  .about-txt { padding: 0; }
  .about-split[data-split="01"] .about-img { order: -1; }
  .m-grid { grid-template-columns: 1fr; gap: 1rem; }
  .m-num { opacity: .6; }
  .drawer-top { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .drawer-top .dr-d { grid-column: 2; grid-row: 2; }
  .drawer-top .plus { grid-column: 3; grid-row: 1; }
  .drawer-in { grid-template-columns: 1fr; gap: 0; }
  .offer { padding: .5rem 0 1.5rem 1rem; }
  .why-row.is-head { display: none; }
  .why-row { grid-template-columns: 1fr; gap: .6rem; }
  .why-row [data-l]::before { content: attr(data-l); display: block; font-size: var(--fs-small); text-transform: uppercase; opacity: .55; margin-bottom: .2rem; letter-spacing: .03em; }
  .foot-links, .foot-legal, .foot-socials { align-items: center; text-align: center; }
  .socials { justify-content: center; }
  .foot-links { order: -1; }
  .nav-row.is-footer { grid-template-columns: 1fr; justify-items: center; gap: 1.5rem; }
  .nav-row.is-footer .nav-col.is-l, .nav-row.is-footer .nav-col.is-r { display: none; }
  .wrap.is-footer { padding-bottom: 6rem; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* generative art animation hooks */
@keyframes pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes drift { to { stroke-dashoffset: -400; } }
.vis .a-pulse { animation: pulse 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.vis .a-twinkle { animation: twinkle 3s ease-in-out infinite; }
.vis .a-drift { animation: drift 12s linear infinite; }

@media (max-width: 479px) {
  .nav .nav-col.is-r .nav-word { display: none; }
  .nav-row { gap: 8px; }
}


/* ==========================================================================
   V8c · THE LINE HERO — scroll is the spear
   Static (no JS / reduced motion / failure) = stacked editorial stops.
   Pinned (.js:not(.rm)) = tall section + sticky 100svh pin; guide.js adds .is-live.
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.line-hero { position: relative; background: linear-gradient(90deg, #102f59, #0f0dd8); color: #eef6fd; isolation: isolate; letter-spacing: -.02em; }
.lh-canvas { display: none; }

/* ---------- shared stop typography ---------- */
.lh-kicker { display: flex; align-items: baseline; gap: .9em; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.lh-num { font-size: 11px; letter-spacing: .1em; padding: .25em .6em; border: 1px solid rgba(117, 250, 252, .5); border-radius: 999px; }
.lh-h {
  font-weight: 900; text-transform: uppercase; letter-spacing: -.05em; line-height: .86;
  font-size: clamp(32px, min(6.3vw, 11.5vh), 124px); text-wrap: balance; font-kerning: none;
}
.lh-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 48px); }
.lh-item { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; padding-top: 2px; }
.lh-mono {
  font-weight: 900; line-height: .8; letter-spacing: -.06em; font-size: clamp(40px, min(4.6vw, 8vh), 84px);
  color: transparent; -webkit-text-stroke: 1.2px rgba(219, 240, 252, .85); margin-bottom: .35rem;
}
.lh-mono.is-num { -webkit-text-stroke-color: rgba(117, 250, 252, .9); }
.lh-name { font-size: clamp(17px, 1.6vw, 26px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.lh-role { font-size: 13px; font-weight: 500; line-height: 1.45; letter-spacing: 0; color: rgba(238, 246, 253, .72); max-width: 30ch; }
.lh-body { font-size: 13px; font-weight: 500; line-height: 1.45; letter-spacing: 0; color: rgba(238, 246, 253, .55); max-width: 30ch; }
.lh-ph { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border: 1px dashed rgba(238, 246, 253, .3); border-radius: 999px; padding: 3px 9px; color: rgba(238, 246, 253, .6); margin-top: .2rem; }
.lh-after { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; max-width: 640px; }
.lh-big { font-size: clamp(22px, 2.6vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.lh-lede { font-size: 15px; font-weight: 500; line-height: 1.55; letter-spacing: 0; color: rgba(238, 246, 253, .72); max-width: 46ch; }
.lh-cta .arr { background: var(--cyan); color: var(--ink); }
.lh-hud, .lh-lockup { display: none; }
.line-hero:not(.is-live) .lh-cut.is-ghost, .line-hero:not(.is-live) .lh-cut.is-bot { display: none; }

/* ---------- static version (reduced motion, no JS, or the canvas failed) ---------- */
.line-hero:not(.is-live) .lh-pin { padding: 9rem var(--pad) 6rem; }
.line-hero:not(.is-live) .lh-lockup { display: block; width: min(560px, 80vw); height: auto; margin: 2rem auto 5rem; }
.line-hero:not(.is-live) .lh-stop { position: relative; padding: 3rem 0 3.5rem 28px; border-left: 1px solid rgba(117, 250, 252, .55); max-width: 1180px; margin: 0 auto; }
.line-hero:not(.is-live) .lh-stop::before { content: ""; position: absolute; left: -9px; top: 3.4rem; width: 17px; height: 7px; background: var(--cyan); -webkit-mask: url("shared/brand/spark.svg") center / contain no-repeat; mask: url("shared/brand/spark.svg") center / contain no-repeat; }
.line-hero:not(.is-live) .lh-h { margin: 1.2rem 0 2rem; font-size: clamp(32px, 5.5vw, 96px); }
.line-hero:not(.is-live) .lh-lede { margin-bottom: .5rem; }
@media (max-width: 767px) {
  .line-hero:not(.is-live) .lh-items { grid-template-columns: 1fr; }
}

/* ---------- pinned shell (set up in CSS so V8's ScrollTriggers measure the right height) ---------- */
.js:not(.rm) .line-hero:not(.is-static) { height: 640vh; height: 640svh; background: #0b1d48; }
.js:not(.rm) .line-hero:not(.is-static) .lh-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding: 0; touch-action: pan-y; background: linear-gradient(90deg, #102f59, #0f0dd8); }
.js:not(.rm) .line-hero:not(.is-static):not(.is-live) .lh-track,
.js:not(.rm) .line-hero:not(.is-static):not(.is-live) .lh-lockup { visibility: hidden; }
@media (max-width: 767px) {
  .js:not(.rm) .line-hero:not(.is-static) { height: 560vh; height: 560svh; }
}

/* ---------- live ---------- */
.line-hero.is-live .lh-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.line-hero.is-live.is-drag .lh-canvas { cursor: grabbing; }
.line-hero.is-live.is-drag { -webkit-user-select: none; user-select: none; }
.line-hero.is-live .lh-track { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; pointer-events: none; will-change: transform; }
.line-hero.is-live .lh-stop { position: absolute; left: 0; top: 0; width: var(--sw, 80vw); visibility: hidden; will-change: transform; }
.line-hero.is-live .lh-stop.is-near { visibility: visible; }
.line-hero.is-live .lh-stop.is-on { pointer-events: auto; }
.line-hero.is-live .lh-h { position: absolute; left: 0; top: 0; width: 100%; transform: translateY(-50%); margin: 0; }
.line-hero.is-live .lh-above { position: absolute; left: 0; bottom: calc(var(--hh, 100px) / 2 + clamp(14px, 2.2vh, 26px)); }
.line-hero.is-live .lh-below { position: absolute; left: 0; right: 0; top: calc(var(--hh, 100px) / 2 + clamp(20px, 4vh, 44px)); }

/* cut headline: ghost outline + top half (real text) + bottom half (aria-hidden copy) */
.lh-cut { display: block; }
.line-hero.is-live .lh-cut.is-top { position: relative; clip-path: polygon(-10% -60%, 110% -60%, 110% 50%, -10% 50%); }
.line-hero.is-live .lh-cut.is-bot { position: absolute; inset: 0; clip-path: polygon(-10% 50%, 110% 50%, 110% 160%, -10% 160%); user-select: none; -webkit-user-select: none; pointer-events: none; }
.line-hero.is-live .lh-cut.is-ghost { position: absolute; inset: 0; color: transparent; -webkit-text-stroke: 1px rgba(219, 240, 252, .16); user-select: none; -webkit-user-select: none; pointer-events: none; }
.lh-w { display: inline-block; white-space: nowrap; }
.lh-c { display: inline-block; }
.line-hero.is-live .lh-track.is-fast .lh-h, .line-hero.is-live .lh-track.is-fast .lh-big, .line-hero.is-live .lh-track.is-fast .lh-mono {
  text-shadow: calc(var(--ca) * -1) 0 rgba(117, 250, 252, .55), var(--ca) 0 rgba(15, 13, 216, .9);
}
.line-hero.is-live .lh-item { padding-top: 0; }

/* HUD: the minimap mirrors the line */
.line-hero.is-live .lh-hud { display: block; position: absolute; left: 0; right: 0; bottom: clamp(58px, 8vh, 78px); height: 0; z-index: 3; pointer-events: none; transition: opacity .5s; }
.lh-map { position: absolute; left: 50%; bottom: 0; width: min(560px, 62vw); height: 34px; transform: translateX(-50%); pointer-events: auto; }
.lh-map-line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(238, 246, 253, .22); }
.lh-map-fill { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: linear-gradient(90deg, rgba(117, 250, 252, .2), var(--cyan)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 8px rgba(117, 250, 252, .8); }
.lh-map-dot { position: absolute; left: 0; top: -4px; width: 22px; height: 9px; margin-left: -11px; background: #fff; -webkit-mask: url("shared/brand/spark.svg") center / contain no-repeat; mask: url("shared/brand/spark.svg") center / contain no-repeat; filter: drop-shadow(0 0 6px #75fafc); }
.lh-node { position: absolute; top: 0; width: 44px; margin-left: -22px; height: 34px; display: flex; flex-direction: column; align-items: center; gap: 9px; color: rgba(238, 246, 253, .55); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.lh-node::before { content: ""; width: 7px; height: 7px; margin-top: 4px; transform: rotate(45deg); border: 1px solid currentColor; background: #0b1d48; transition: background-color .3s, border-color .3s; }
.lh-node span { white-space: nowrap; transition: color .3s; }
.lh-node.is-on, .lh-node:hover { color: #fff; }
.lh-node.is-on::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.lh-node.is-past::before { border-color: var(--cyan); }
.lh-sound { position: absolute; right: var(--pad); bottom: 2px; display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 246, 253, .7); pointer-events: auto; padding: 8px 0; }
.lh-sound:hover, .lh-sound[aria-pressed="true"] { color: #fff; }
.lh-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.lh-eq i { display: block; width: 2px; height: 3px; background: currentColor; transition: height .2s; }
.lh-sound[aria-pressed="true"] .lh-eq i { background: var(--cyan); animation: lhEq .9s ease-in-out infinite alternate; }
.lh-sound[aria-pressed="true"] .lh-eq i:nth-child(2) { animation-delay: -.3s; }
.lh-sound[aria-pressed="true"] .lh-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes lhEq { from { height: 2px; } to { height: 10px; } }
.lh-skip { position: absolute; left: var(--pad); bottom: 2px; padding: 8px 0; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 246, 253, .7); pointer-events: auto; }
.lh-skip:hover { color: #fff; }
.lh-hint { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(238, 246, 253, .8); white-space: nowrap; transition: opacity .6s, transform .6s; }
.lh-hint-line { position: relative; width: 1px; height: 26px; overflow: hidden; background: rgba(238, 246, 253, .2); }
.lh-hint-line::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--cyan); animation: lhDrop 1.6s cubic-bezier(.7, 0, .3, 1) infinite; }
@keyframes lhDrop { to { top: 100%; } }
.line-hero.is-moved .lh-hint { opacity: 0; transform: translateX(-50%) translateY(8px); }

@media (max-width: 767px) {
  .lh-kicker { font-size: 10px; letter-spacing: .18em; }
  .lh-num { font-size: 9px; }
  .line-hero.is-live .lh-h { font-size: clamp(26px, 8vw, 54px); }
  .line-hero.is-live .lh-items { grid-template-columns: 1fr; gap: 12px; }
  .line-hero.is-live .lh-item { display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; row-gap: 2px; align-items: start; }
  .line-hero.is-live .lh-item > :not(.lh-mono) { grid-column: 2; }
  .line-hero.is-live .lh-mono { grid-row: 1 / span 4; font-size: 38px; margin: 0; }
  .line-hero.is-live .lh-name { font-size: 16px; }
  .line-hero.is-live .lh-role, .line-hero.is-live .lh-body { font-size: 12px; line-height: 1.35; }
  .line-hero.is-live .lh-body.is-soon { display: none; }
  .line-hero.is-live .lh-ph { font-size: 9px; padding: 2px 7px; justify-self: start; }
  .line-hero.is-live .lh-big { font-size: 22px; }
  .line-hero.is-live .lh-lede { font-size: 13px; }
  .lh-map { width: 72vw; }
  .lh-node span { display: none; }
  .lh-node.is-on span { display: block; position: absolute; top: 18px; }
  .lh-sound .lh-sound-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lh-sound { bottom: 40px; }
  .lh-skip { bottom: 40px; }
  .lh-hint { bottom: 84px; font-size: 10px; }
}
@media (max-height: 640px) and (min-width: 768px) {
  .lh-body, .lh-ph { display: none; }
}

/* the stage's seam now starts solid so the hero's diving line flows straight into it */
.split.is-live .split-stage::after {
  background: linear-gradient(180deg, rgba(117, 250, 252, .9), rgba(117, 250, 252, .55) 22%, rgba(117, 250, 252, .55) 80%, transparent);
  box-shadow: 0 0 10px rgba(117, 250, 252, .35);
}
