/* ==========================================================================
   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: #00305C;
  --blue: #100DE2;
  --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; transition: opacity .4s ease;
}
@media (max-width: 767px) { .split.on-contact .split-stage::after { opacity: 0; } }
@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; }
@keyframes glide { 0%, 100% { transform: translateX(0); opacity: .92; } 50% { transform: translateX(14px); opacity: 1; } }
.vis .a-glide { animation: glide 7s 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, #00305C, #100DE2); 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, #00305C, #100DE2); }
.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);
}

/* ==========================================================================
   V9 · LAUNCH — one short page: hero, about, team, services, work, contact
   ========================================================================== */
.js:not(.rm) .line-hero:not(.is-static) { height: 300vh; height: 300svh; }
.line-hero .lh-big { text-wrap: balance; }

/* the bars take the page colour past the hero */
.nav, .bottom-row { transition: color .6s cubic-bezier(.45, 0, .55, 1), background-color 1s cubic-bezier(.45, 0, .55, 1); }
.past-hero .nav, .past-hero .bottom-row { background-color: var(--bg); }
.past-hero .bottom-row { padding-top: .9rem; padding-bottom: .9rem; }

/* slide content */
#stage .split-vis::after { background: rgba(4, 11, 28, .68); }
#stage .split-content { padding: 8rem max(var(--pad), 6vw) 7rem; }
#stage .split-block { gap: clamp(14px, 2.4vh, 26px); width: 100%; }
.slide-title { font-size: clamp(30px, min(4.6vw, 7.4vh), 72px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; max-width: 21ch; text-wrap: balance; }
.slide-copy { max-width: 74ch; font-size: clamp(14px, min(1.15vw, 2vh), 18px); font-weight: 500; letter-spacing: 0; line-height: 1.45; opacity: .92; }
.slide-copy a { text-decoration: underline; text-underline-offset: .15em; }
.slide-cols { display: grid; gap: clamp(14px, 2.6vh, 28px) clamp(16px, 2.4vw, 40px); width: 100%; max-width: 1240px; margin-top: clamp(4px, 1.4vh, 16px); text-align: left; }
.slide-cols.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.slide-cols.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.slide-cols li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.slide-cols b { font-size: clamp(15px, min(1.35vw, 2.3vh), 21px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.slide-cols i { font-style: normal; font-size: clamp(11px, min(.85vw, 1.5vh), 13px); font-weight: 600; line-height: 1.3; letter-spacing: .02em; color: var(--cyan); }
.slide-cols span { font-size: clamp(12.5px, min(.95vw, 1.7vh), 15px); font-weight: 500; letter-spacing: 0; line-height: 1.4; opacity: .88; }

/* contact: the title stays in the left half, the one real form lives in the right panel */
#contact .split-content { pointer-events: none; }
#contact .split-content a { pointer-events: auto; }
#contact .split-block { align-items: flex-start; text-align: left; width: 44%; }
.vis.vis-form { z-index: 2; background: transparent; color: #f2f8ff; display: flex; align-items: center; justify-content: center; padding: 7rem max(var(--pad), 3.5vw) 6rem; }
#contact .split-vis:last-child { background: radial-gradient(110% 80% at 80% 15%, rgba(15, 13, 216, .55), transparent 60%), var(--ink); }
#contact .split-vis:last-child::before { display: block; background-position: 240px 120px; opacity: .55; }
#contact .split-vis:last-child::after { display: block; background: linear-gradient(180deg, rgba(4, 11, 28, .25), rgba(4, 11, 28, .55)); }
.enquiry { max-width: 560px; }
.field label { color: var(--cyan); letter-spacing: .14em; font-size: 11px; }
.field input, .field select { border-bottom-color: rgba(219, 240, 252, .3); transition: border-color .25s ease; }
.field input:hover, .field select:hover { border-bottom-color: rgba(219, 240, 252, .6); }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.8vh, 18px) 24px; width: 100%; }
.field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.field.is-full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.field label .opt { opacity: .7; text-transform: none; font-weight: 500; letter-spacing: 0; }
.field input, .field select { width: 100%; min-width: 0; min-height: 38px; background: none; color: inherit; font: inherit; font-size: 16px; font-weight: 500; letter-spacing: 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding: 4px 0; -webkit-appearance: none; appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%23f2f8ff' stroke-width='1.5'/%3E%3C/svg%3E") right center / 12px no-repeat; padding-right: 22px; }
.field select option { color: #071737; background: #fff; }
.field input:focus-visible, .field select:focus-visible { outline: none; border-bottom-color: var(--cyan); box-shadow: 0 1px 0 0 var(--cyan); }
.field .err { font-size: 12px; font-weight: 500; letter-spacing: 0; color: #ffe3a3; }
.field .err:empty { display: none; }
.enquiry-foot { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.enquiry-foot .btn { color: #f2f8ff; }
.enquiry-foot .btn .arr { background: var(--cyan); color: var(--ink); }
.enquiry-foot .legal { font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.4; opacity: .85; }
.enquiry-foot .legal a { text-decoration: underline; text-underline-offset: .15em; }
.enquiry-msg { font-size: 13px; font-weight: 500; letter-spacing: 0; line-height: 1.35; }
.enquiry-msg:empty { display: none; }

@media (max-width: 767px) {
  .nav-logo { width: 120px; }
  .past-hero .bottom-row { padding-top: 10px; padding-bottom: 10px; }
  #stage .split-content { padding: 68px 18px 54px; }
  .slide-title { font-size: clamp(25px, 7.4vw, 32px); }
  .slide-copy { font-size: 13.5px; line-height: 1.4; }
  .slide-cols.is-3, .slide-cols.is-5 { grid-template-columns: 1fr; gap: 11px; }
  .slide-cols.is-work { grid-template-columns: 1fr 1fr; }
  .slide-cols li { gap: 2px; }
  .slide-cols b { font-size: 15px; }
  .slide-cols span { font-size: 12.5px; line-height: 1.32; }
  .slide-cols i { font-size: 11.5px; }
  /* contact stacks: title band on top, form panel below */
  #contact .split-grid { grid-template-columns: 1fr; grid-template-rows: 30% 70%; }
  #contact .split-content { padding-top: 84px; }
  #contact .split-content { justify-content: flex-start; }
  #contact .split-block { width: 100%; gap: 6px; }
  #contact .slide-copy { font-size: 12.5px; }
  .vis.vis-form { padding: 12px 18px 52px; }
  .enquiry { gap: 7px 14px; }
  .field label { font-size: 11px; }
  .field input, .field select { min-height: 34px; }
}

/* experiment: one-line heading so the line runs through the middle bar of the E in MARKET */
.line-hero[data-weapon="trident"].is-live .lh-h { font-size: min(4.1vw, 8vh); white-space: nowrap; }
@media (max-width: 767px) { .line-hero[data-weapon="trident"].is-live .lh-h { font-size: 5.05vw; } }

/* Starfield: the logo's star and trail drifting over the split-scroll art */
#stage .split-vis::before { content: ""; position: absolute; inset: 0; z-index: 1; background: url("shared/brand/starfield-midnight.svg") 0 0 / 720px; mix-blend-mode: screen; opacity: .85; pointer-events: none; }
#stage .split-vis:last-child::before { background-position: 240px 120px; }
#stage .split-vis::after { z-index: 1; background: rgba(4, 11, 28, .58); }

/* less text: headings and names stay; the details open in a small card on hover, focus or tap */
#stage .has-more { position: relative; outline: none; }
#stage .slide-cols .has-more { cursor: default; }
#stage .slide-cols b { display: inline-flex; align-items: center; gap: .45em; }
#stage .has-more > b::after, #stage .note-label::after {
  content: ""; flex: none; width: .6em; height: .6em; opacity: .9;
  background: linear-gradient(var(--cyan), var(--cyan)) center / 100% 2px no-repeat, linear-gradient(var(--cyan), var(--cyan)) center / 2px 100% no-repeat;
  transition: transform .35s ease;
}
#stage .has-more.is-open > b::after, #stage .slide-note.is-open .note-label::after { transform: rotate(45deg); }
#stage .more {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 6; display: flex; flex-direction: column; gap: 6px;
  width: max(100%, 260px); max-width: 340px; padding: 12px 14px; text-align: left;
  background: rgba(7, 18, 38, .94); border: 1px solid rgba(117, 250, 252, .28); box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
#stage .has-more.is-open > .more { opacity: 1; transform: none; }
#stage .more span { opacity: .92; }
#stage .slide-note { display: inline-flex; flex-direction: column; align-items: center; cursor: pointer; }
#stage .note-label { display: inline-flex; align-items: center; gap: .6em; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
#stage .slide-note > .more { left: 50%; width: min(560px, 82vw); max-width: none; transform: translate(-50%, 6px); }
#stage .slide-note.is-open > .more { transform: translate(-50%, 0); }
#stage .slide-note .slide-copy { font-size: 14px; max-width: none; }
#stage .slide-copy.is-note { font-size: 13px; opacity: .72; }
@media (max-width: 767px) {
  #stage .more { width: min(300px, 78vw); max-width: none; }
  #stage .slide-cols.is-work li:nth-child(even) > .more { left: auto; right: 0; }
}
.split.has-card .split-stage::after { opacity: .15; }

/* hero word stops: one word at a time, Poppins Bold like TRIDENT, whole letters (no split halves, no outline ghost) */
.line-hero[data-stops="words"].is-live .lh-h { font-weight: 700; letter-spacing: 0; line-height: 1; white-space: nowrap; font-kerning: normal; text-wrap: nowrap; }
.line-hero[data-stops="words"] .lh-cut.is-bot, .line-hero[data-stops="words"] .lh-cut.is-ghost { display: none; }
.line-hero[data-stops="words"].is-live .lh-cut.is-top { clip-path: none; }
.line-hero[data-stops="words"] .lh-c { transform-origin: 50% 50%; }
.line-hero[data-stops="words"]:not(.is-live) .lh-stop { border-left: 0; padding: 1.5rem 0; text-align: center; }
.line-hero[data-stops="words"]:not(.is-live) .lh-stop::before { display: none; }
.line-hero[data-stops="words"]:not(.is-live) .lh-h { font-weight: 700; letter-spacing: 0; margin: 0; }

/* ---- split scroll: eyebrow labels and the Trident Method title ---- */
#stage .slide-eyebrow { margin: 0 0 clamp(6px, 1.4vh, 14px); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan); }
#stage .method-title { white-space: normal; margin-bottom: clamp(10px, 2.4vh, 26px); }
#stage .method-title .has-more { display: inline-flex; cursor: default; }
#stage .method-title .has-more > b { font: inherit; letter-spacing: inherit; display: inline-flex; align-items: center; gap: .18em; }
#stage .method-title .has-more > b::after { width: .42em; height: .2em; }
#stage .method-title .more { font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.45; text-transform: none; white-space: normal; width: 320px; }

/* ---- detail cards, re-made: a star shoots across and the card is forged in behind it ---- */
#stage .has-more > b, #stage .has-more > i { transition: color .4s ease, text-shadow .4s ease; }
#stage .has-more > b::after {                                  /* the plus becomes a small four-point star */
  width: .9em; height: .42em; opacity: .85; background: var(--cyan);
  -webkit-mask: url("shared/brand/spark.svg") center / contain no-repeat; mask: url("shared/brand/spark.svg") center / contain no-repeat;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), opacity .3s ease, filter .3s ease;
}
#stage .has-more.is-open > b::after { transform: rotate(180deg) scale(1.35); opacity: 1; filter: drop-shadow(0 0 6px rgba(117, 250, 252, .9)); }
#stage .has-more.is-open > b { color: #fff; text-shadow: 0 0 22px rgba(117, 250, 252, .45); }
#stage .more {
  border: 0; border-radius: 0; padding: 14px 16px 15px;
  background: linear-gradient(115deg, rgb(8, 20, 54) 0%, rgb(17, 22, 104) 60%, rgb(52, 30, 150) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .45), 0 0 36px rgba(130, 79, 255, .28), 0 0 18px rgba(117, 250, 252, .12);
  opacity: 1; transform: translateX(-10px); clip-path: inset(0 100% 0 0);
  transition: clip-path .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}
#stage .has-more.is-open > .more { clip-path: inset(0 0 0 0); transform: none; }
#stage .more > * { opacity: 0; filter: blur(6px); transform: translateX(-12px); transition: opacity .45s ease, filter .45s ease, transform .55s cubic-bezier(.16, 1, .3, 1); }
#stage .has-more.is-open > .more > * { opacity: .95; filter: none; transform: none; transition-delay: .14s; }
#stage .has-more.is-open > .more > i { transition-delay: .24s; }
#stage .has-more::before {                                     /* the star and its light trail, shooting across the top of the card */
  content: ""; position: absolute; left: 0; top: calc(100% + 4px); z-index: 7; width: 64px; height: 12px; pointer-events: none; opacity: 0;
  background: url("shared/brand/spark.svg") right center / 22px 10px no-repeat, linear-gradient(90deg, rgba(130, 79, 255, 0), rgba(146, 98, 255, .55) 45%, rgba(117, 250, 252, .95)) left center / calc(100% - 12px) 3px no-repeat;
  border-radius: 50%; filter: drop-shadow(0 0 6px rgba(117, 250, 252, .9));
}
#stage .has-more.is-open::before { animation: moreShot .62s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes moreShot {
  0% { opacity: 0; transform: translateX(-40px); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateX(var(--shot, 290px)); }
}
#stage .method-title .has-more::before { top: calc(100% + 2px); }
@media (max-width: 767px) { #stage .has-more::before { --shot: 230px; } }
@media (prefers-reduced-motion: reduce) {
  #stage .more, #stage .more > * { transition: opacity .2s ease; clip-path: none; transform: none; filter: none; }
  #stage .has-more:not(.is-open) > .more { opacity: 0; }
  #stage .has-more.is-open::before { animation: none; }
}

/* ---- who we are: a portrait over every name ---- */
#stage .slide-cols.is-people li { align-items: flex-start; }
#stage .portrait { position: relative; display: block; width: 100%; max-width: 200px; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 8px;
  background: #0b1d48; box-shadow: 0 16px 34px rgba(0, 0, 0, .35); transition: box-shadow .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
#stage .portrait img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1), filter .5s ease; filter: saturate(.9); }
#stage .portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: linear-gradient(200deg, rgba(117, 250, 252, .28), rgba(130, 79, 255, .12) 45%, rgba(130, 79, 255, 0) 70%); }
#stage .is-people .has-more.is-open .portrait { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0, 0, 0, .45), 0 0 34px rgba(130, 79, 255, .35); }
#stage .is-people .has-more.is-open .portrait img { transform: scale(1.05); filter: saturate(1.1); }
#stage .is-people .has-more.is-open .portrait::after { opacity: 1; }
#stage .is-people .has-more::before { top: calc(100% + 4px); }
#stage .slide-cols.is-moments b { font-size: clamp(14px, min(1.15vw, 2.1vh), 18px); }
@media (max-width: 767px) {
  #stage .slide-cols.is-people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
  #stage .portrait { margin-bottom: 4px; aspect-ratio: 1; }
  #stage .slide-cols.is-people b { font-size: 12.5px; }
  #stage .slide-cols.is-people i { font-size: 10px; }
  #stage .slide-cols.is-people li:nth-child(3n) > .more { left: auto; right: 0; }
}

/* ---- portraits blend into the page: brand-tinted at rest, background faded, full colour when opened ---- */
#stage .portrait { background: linear-gradient(160deg, #3a2296 0%, #14176e 55%, #0b1d48 100%); box-shadow: none; }
#stage .portrait img { object-position: 50% 30%; mix-blend-mode: luminosity; filter: contrast(1.12) brightness(1.02);
  -webkit-mask-image: radial-gradient(ellipse 64% 74% at 50% 38%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 64% 74% at 50% 38%, #000 52%, transparent 100%);
  transition: transform .8s cubic-bezier(.16, 1, .3, 1), filter .6s ease, opacity .6s ease; }
#stage .portrait::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 18, 38, 0) 55%, rgba(7, 18, 38, .55) 100%); }
#stage .is-people .has-more.is-open .portrait img { mix-blend-mode: normal; filter: none; transform: scale(1.05); }
#stage .is-people .has-more.is-open .portrait { box-shadow: 0 0 40px rgba(130, 79, 255, .35); }

/* ---- what we've done: a logo wall, ready for client logos ---- */
#stage .logo-wall { list-style: none; margin: clamp(10px, 2.4vh, 28px) 0 0; padding: 0; width: 100%; max-width: 1100px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); }
#stage .logo-tile { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .5s ease, box-shadow .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1); pointer-events: auto; }
#stage .logo-ph { width: 22%; aspect-ratio: 2.2; opacity: .22; background: #fff; transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
  -webkit-mask: url("shared/brand/spark.svg") center / contain no-repeat; mask: url("shared/brand/spark.svg") center / contain no-repeat; }
  background: linear-gradient(#fff, #fff) left center / 22% 100% no-repeat, linear-gradient(#fff, #fff) 72% 30% / 66% 34% no-repeat, linear-gradient(#fff, #fff) 60% 82% / 42% 22% no-repeat; }
#stage .logo-tile::after { content: ""; position: absolute; left: -30%; top: 50%; width: 30%; height: 10px; margin-top: -5px; opacity: 0; pointer-events: none;
  background: url("shared/brand/spark.svg") right center / 20px 9px no-repeat, linear-gradient(90deg, rgba(130, 79, 255, 0), rgba(146, 98, 255, .5) 50%, rgba(117, 250, 252, .9)) left center / calc(100% - 10px) 3px no-repeat;
  filter: drop-shadow(0 0 6px rgba(117, 250, 252, .9)); }
#stage .logo-tile:hover { background: linear-gradient(135deg, rgba(117, 250, 252, .1), rgba(130, 79, 255, .14)); box-shadow: 0 0 36px rgba(130, 79, 255, .3); transform: translateY(-3px); }
#stage .logo-tile:hover .logo-ph { opacity: .75; transform: scale(1.15); }
#stage .logo-tile:hover::after { animation: tileShot .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes tileShot { 0% { opacity: 0; transform: translateX(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateX(560%); } }
@media (max-width: 767px) { #stage .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* real team photos: round cut-outs, softened into a square tile and tinted with the page */
#stage .slide-cols.is-people .portrait { aspect-ratio: 1; max-width: 190px; background: radial-gradient(circle at 50% 42%, #3a2296 0%, #14176e 55%, rgba(11, 29, 72, 0) 72%); }
#stage .slide-cols.is-people .portrait::before { display: none; }
#stage .slide-cols.is-people .portrait img { object-position: 50% 50%;
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 80%, transparent 100%); mask-image: radial-gradient(circle closest-side at 50% 50%, #000 80%, transparent 100%); }
#stage .slide-cols.is-people .portrait { background-color: transparent; }
/* team photos: same face size in every circle, no square on open, bright studio backdrops toned down */
#stage .slide-cols.is-people .portrait { overflow: visible; box-shadow: none !important; transform: none !important; }
#stage .slide-cols.is-people .portrait::after { display: none; }
#stage .slide-cols.is-people .portrait img { border-radius: 50%; transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 40%);
  filter: brightness(.86) contrast(1.15);
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(circle closest-side at 50% 50%, #000 70%, transparent 100%); }
#stage .slide-cols.is-people .has-more.is-open .portrait img { transform: scale(calc(var(--z, 1) * 1.05)); filter: drop-shadow(0 0 22px rgba(130, 79, 255, .55)); }
#stage .portrait img[src*="minaal"] { --z: 1.6; --o: 50% 22%; }
#stage .portrait img[src*="mishaal"] { --z: 1.22; --o: 50% 30%; }
#stage .portrait img[src*="feras"] { --z: 1.25; --o: 58% 30%; }
#stage .portrait img[src*="faran"] { --z: 1.08; --o: 45% 32%; }
/* the soft circle is the frame; each photo zooms inside it */
#stage .slide-cols.is-people .portrait { overflow: hidden; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 72%, transparent 100%); mask-image: radial-gradient(circle closest-side at 50% 50%, #000 72%, transparent 100%); }
#stage .slide-cols.is-people .portrait img { border-radius: 0; -webkit-mask-image: none; mask-image: none; }
#stage .slide-cols.is-people .has-more.is-open .portrait img { filter: none; }
#stage .slide-cols.is-people .has-more.is-open .portrait { background: radial-gradient(circle at 50% 45%, rgba(130, 79, 255, .55), rgba(20, 23, 110, 0) 72%); }

/* ---- services slide: the three services lead; the Trident Method sits behind them, translucent ---- */
#services .split-block { position: relative; }
#stage .method-ghost { position: absolute; left: 50%; top: 50%; z-index: 0; margin: 0; transform: translate(-50%, -50%); pointer-events: none; user-select: none;
  display: flex; flex-direction: column; align-items: center; white-space: nowrap; text-align: center;
  font-weight: 900; font-size: clamp(64px, min(12.5vw, 21vh), 230px); line-height: .84; letter-spacing: -.05em;
  background: linear-gradient(100deg, rgba(146, 98, 255, .16), rgba(255, 255, 255, .07) 50%, rgba(117, 250, 252, .12)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#stage .method-ghost small { display: block; margin-bottom: .9em; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .32em; text-transform: uppercase;
  -webkit-background-clip: border-box; background: none; color: rgba(117, 250, 252, .42); }
#stage .service-list { position: relative; z-index: 1; max-width: 1180px; gap: clamp(18px, 3vh, 34px) clamp(20px, 3vw, 56px); }
#stage .service-list li { align-items: center; text-align: center; }
#stage .service-list b { justify-content: center; font-size: clamp(24px, min(2.9vw, 5vh), 48px); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
#stage .service-list b::after { width: .55em; height: .26em; }
#stage .service-list .more { left: 50%; transform: translate(-50%, 0) translateX(-10px); }
#stage .service-list .has-more.is-open > .more { transform: translate(-50%, 0); }
#stage .service-list .has-more::before { left: calc(50% - 150px); }
@media (max-width: 767px) {
  #stage .method-ghost { font-size: clamp(54px, 21vw, 110px); }
  #stage .service-list { gap: 26px; }
  #stage .service-list b { font-size: 26px; }
}
#stage .service-list b { display: block; }
#stage .service-list b::after { display: inline-block; margin-left: .3em; vertical-align: .18em; }

/* the Trident Method: a quiet caption in the empty band under the services, never behind other text */
#stage .method-ghost { display: none; }
#services .split-block { position: relative; }
#stage .method-rail { position: absolute; left: 50%; top: calc(100% + clamp(48px, 12vh, 130px)); transform: translateX(-50%); margin: 0; z-index: 1;
  display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); white-space: nowrap; pointer-events: none;
  font-size: clamp(12px, 1vw, 15px); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(238, 246, 253, .34); }
#stage .method-rail small { font-size: .78em; letter-spacing: .32em; color: rgba(117, 250, 252, .5); margin-right: clamp(6px, 1vw, 14px); }
#stage .method-rail i { flex: none; width: 1.2em; height: .55em; background: rgba(117, 250, 252, .45);
  -webkit-mask: url("shared/brand/spark.svg") center / contain no-repeat; mask: url("shared/brand/spark.svg") center / contain no-repeat; }
@media (max-width: 767px) {
  #stage .method-rail { top: calc(100% + 34px); flex-wrap: wrap; justify-content: center; row-gap: 8px; width: 88vw; font-size: 11px; letter-spacing: .24em; }
  #stage .method-rail small { flex-basis: 100%; text-align: center; margin: 0; }
}

/* team photos: every face placed by its eyes (measured with Chrome's FaceDetector): eye midpoint at 50% / 42% of the circle, same eye spacing */
#stage .slide-cols.is-people .portrait img { transform-origin: 0 0 !important; }
#stage .portrait img[src*="jamal"] { --z: 1; transform: translate(-11.35%, 2.10%) scale(1.277) !important; }
#stage .portrait img[src*="minaal"] { --z: 1; transform: translate(-75.76%, 1.46%) scale(2.296) !important; }
#stage .portrait img[src*="mishaal"] { --z: 1; transform: translate(-46.24%, -29.31%) scale(1.783) !important; }
#stage .portrait img[src*="faran"] { --z: 1; transform: translate(-21.92%, 5.06%) scale(1.571) !important; }
#stage .portrait img[src*="feras"] { --z: 1; transform: translate(-78.33%, -31.42%) scale(2.789) !important; }

/* opening: DIAGNOSE ✦ FORGE ✦ AMPLIFY, forged into the trident */
.ld-center { font-size: min(var(--fs-h1), 6vw); font-weight: 700; letter-spacing: 0; gap: .4em; }
.ld-center .ld-ref:empty { display: none; }
@media (max-width: 767px) { .ld-center { font-size: 5vw; gap: .3em; } }
/* four corners: two pages on top, two at the bottom */
.bottom-row { grid-template-columns: 1fr 1fr; }
.bottom-link:nth-child(2) { justify-self: end; }
.ld-center { width: max-content; }
