/* =========================================================
   NEXERA GLOBAL TECH — Design System
   ========================================================= */

:root {
  --ink: #041215;
  --ink-2: #06191d;
  --deep: #0a2a31;
  --deep-2: #0d3740;
  --brand: #02667a;
  --brand-2: #0a8499;
  --glow: #4fe3d0;
  --glow-2: #9ff5e8;
  --cream: #f1eee6;
  --paper: #f8f6f1;
  --white: #ffffff;

  --t-dark: #0b1c20;
  --t-muted: #54656a;
  --t-light: #eaf4f2;
  --t-light-muted: rgba(226, 240, 238, 0.62);

  --line-l: rgba(4, 18, 21, 0.12);
  --line-d: rgba(255, 255, 255, 0.1);

  --f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1380px;
  --hdr-h: 84px;
}

/* ---------- Reset ---------- */
*, *::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;
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--t-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--glow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.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; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--glow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); } 30% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); } 70% { transform: translate(9%, 4%); }
  90% { transform: translate(-1%, 7%); }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 980px; }
.section { position: relative; padding-block: clamp(90px, 12vw, 180px); }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }
.section--flush-top { padding-top: 0; }
.is-dark { background: var(--ink); color: var(--t-light); }
.is-deep { background: var(--deep); color: var(--t-light); }
.is-cream { background: var(--cream); color: var(--t-dark); }
.is-paper { background: var(--paper); color: var(--t-dark); }
.is-dark .muted, .is-deep .muted { color: var(--t-light-muted); }
.muted { color: var(--t-muted); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.sticky { position: sticky; top: calc(var(--hdr-h) + 30px); }
.stack-y > * + * { margin-top: var(--gap, 24px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.flex { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split, .split--even { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}
.is-dark .eyebrow, .is-deep .eyebrow { color: var(--glow); }

.display, .h1, .h2, .h3, .h4 { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.display { font-size: clamp(3rem, 8.4vw, 9.4rem); letter-spacing: -0.05em; line-height: 0.94; }
.h1 { font-size: clamp(2.6rem, 6.2vw, 6.4rem); letter-spacing: -0.045em; line-height: 0.98; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4.6rem); }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -0.025em; line-height: 1.12; }
.h4 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); letter-spacing: -0.015em; line-height: 1.25; }
.display em, .h1 em, .h2 em, .h3 em, .lead em, .fill-text em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  color: var(--brand);
}
.is-dark :is(.display, .h1, .h2, .h3, .lead, .fill-text) em,
.is-deep :is(.display, .h1, .h2, .h3, .lead, .fill-text) em { color: var(--glow); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; letter-spacing: -0.01em; }
.fill-text { font-size: clamp(1.7rem, 3.6vw, 3.5rem); line-height: 1.14; letter-spacing: -0.035em; font-weight: 500; }
.small { font-size: 14px; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.num { font-family: var(--f-mono); font-size: 13px; color: var(--brand); letter-spacing: 0.06em; }
.is-dark .num, .is-deep .num { color: var(--glow); }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--t-dark); }
:is(.is-dark, .is-deep, .hero, .phero, .ftr) .outline-text { -webkit-text-stroke-color: rgba(234, 244, 242, .75); }
.text-glow { color: var(--glow); }
.text-brand { color: var(--brand); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head .eyebrow { margin-bottom: 22px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* split-text internals */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; will-change: transform; }
.anim [data-split] { visibility: hidden; }
.fw { transition: none; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 58px;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: var(--bh); padding: 0 8px 0 26px; border-radius: 100px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
}
.btn__ic {
  display: grid; place-items: center; width: calc(var(--bh) - 16px); height: calc(var(--bh) - 16px);
  border-radius: 50%; flex: none; transition: transform .6s var(--ease), background-color .5s var(--ease);
}
.btn__ic svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.btn:hover .btn__ic svg { transform: rotate(45deg); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--glow { background: var(--glow); color: var(--ink); }
.btn--glow .btn__ic { background: var(--ink); color: var(--glow); }
.btn--glow::before { background: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark .btn__ic { background: var(--glow); color: var(--ink); }
.btn--dark::before { background: var(--brand); }
.btn--brand { background: var(--brand); color: var(--white); }
.btn--brand .btn__ic { background: var(--white); color: var(--brand); }
.btn--brand::before { background: var(--ink); }
.btn--ghost { border: 1px solid currentColor; color: inherit; background: transparent; }
.btn--ghost .btn__ic { background: color-mix(in srgb, currentColor 12%, transparent); }
.btn--ghost::before { background: currentColor; opacity: .08; }
.btn--sm { --bh: 46px; font-size: 14px; padding-left: 20px; gap: 10px; }
.btn--sm .btn__ic svg { width: 15px; height: 15px; }
.btn--plain { padding: 0 26px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px;
  position: relative; padding-bottom: 4px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transform: scaleX(0.3); opacity: .5; transition: transform .6s var(--ease), opacity .4s;
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; opacity: 1; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px;
  border: 1px solid var(--line-l); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.is-dark .tag, .is-deep .tag { border-color: var(--line-d); color: var(--t-light); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 500; height: var(--hdr-h);
  color: var(--white); transition: transform .7s var(--ease), color .4s;
}
.hdr::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line-d);
}
.hdr.is-scrolled::before { opacity: 1; }
.hdr.is-light { color: var(--t-dark); }
.hdr.is-light::before { background: color-mix(in srgb, var(--paper) 78%, transparent); border-bottom-color: var(--line-l); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.menu-open { transform: none; color: var(--white); }
.hdr.menu-open::before { opacity: 0; }
.hdr__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark {
  display: inline-block; width: 36px; height: 37px; flex: none;
  background: url("../img/logo-mark-white.png") center / contain no-repeat;
  transition: transform .8s var(--ease);
}
.hdr.is-light .logo__mark { background-image: url("../img/logo-mark-dark.png"); }
.hdr.menu-open .logo__mark { background-image: url("../img/logo-mark-white.png"); }
.logo__mark--glow { background-image: url("../img/logo-mark-glow.png"); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__txt b { font-size: 22px; font-weight: 700; letter-spacing: -0.04em; }
.logo__txt small { font-size: 8.5px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; margin-top: 4px; opacity: .8; }

.nav ul { display: flex; align-items: center; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 15px; font-weight: 500; border-radius: 100px; transition: background-color .3s;
}
.nav > ul > li > a:hover, .nav > ul > li > a.is-active { background: color-mix(in srgb, currentColor 9%, transparent); }
.nav > ul > li > a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--glow); transform: translateX(-50%);
}
.hdr.is-light .nav > ul > li > a.is-active::after { background: var(--brand); }
.nav .chev { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.has-mega:hover .chev, .has-mega:focus-within .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(860px, 86vw);
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; padding: 10px;
  background: var(--ink-2); color: var(--t-light); border: 1px solid var(--line-d); border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .35s, transform .5s var(--ease), visibility .35s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__list { display: grid; gap: 2px; padding: 6px; }
.mega__item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; transition: background-color .3s; }
.mega__item:hover { background: rgba(255, 255, 255, .06); }
.mega__item .ic-box { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(79, 227, 208, .1); color: var(--glow); }
.mega__item b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mega__item span { display: block; font-size: 13px; color: var(--t-light-muted); line-height: 1.4; margin-top: 2px; }
.mega__feature {
  position: relative; overflow: hidden; border-radius: 20px; padding: 26px; min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; isolation: isolate;
}
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.mega__feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,18,21,.1), rgba(4,18,21,.92)); }
.mega__feature:hover img { transform: scale(1.06); }
.mega__feature .h4 { color: var(--white); }

.hdr__cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 50px; height: 50px; border-radius: 50%; position: relative; background: color-mix(in srgb, currentColor 10%, transparent); }
.burger span { position: absolute; left: 15px; right: 15px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 20px; }
.burger span:nth-child(2) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 24px; transform: rotate(-45deg); }

@media (max-width: 1140px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 520px) {
  .hdr__cta .btn { display: none; }
  :root { --hdr-h: 74px; }
}

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 450; background: var(--ink); color: var(--t-light);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  display: flex; flex-direction: column; padding: calc(var(--hdr-h) + 24px) var(--gutter) 32px; overflow-y: auto;
}
.mmenu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.mmenu__links { display: grid; gap: 4px; margin-top: 2vh; }
.mmenu__links a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(2.2rem, 9vw, 4.2rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.12; overflow: hidden; }
.mmenu__links a span.n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--glow); }
.mmenu__links a .t { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
.mmenu.is-open .mmenu__links a .t { transform: none; }
.mmenu__links a:hover .t { color: var(--glow); }
.mmenu__foot { margin-top: auto; padding-top: 40px; display: grid; gap: 18px; opacity: 0; transform: translateY(20px); transition: opacity .6s .5s, transform .8s .5s var(--ease); }
.mmenu.is-open .mmenu__foot { opacity: 1; transform: none; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 1001; border-radius: 50%; }
.cursor {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(79, 227, 208, .7);
  display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s, border-color .45s, opacity .3s;
  mix-blend-mode: normal;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--glow); }
.cursor__label { font-size: 12px; font-weight: 600; color: var(--ink); opacity: 0; transform: scale(.5); transition: opacity .3s, transform .45s var(--ease); letter-spacing: .02em; }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(79, 227, 208, .12); border-color: transparent; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--glow); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Preloader & transition ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 2000; background: var(--ink); color: var(--t-light);
  display: grid; place-items: center;
}
.preloader__mid { display: grid; justify-items: center; gap: 26px; }
.preloader__mark { width: 74px; height: 76px; background: url("../img/logo-mark-glow.png") center/contain no-repeat; }
.preloader__word { display: flex; overflow: hidden; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.preloader__word span { display: inline-block; transform: translateY(110%); }
.preloader__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; height: 1px; background: var(--line-d); }
.preloader__bar i { position: absolute; inset: 0; background: var(--glow); transform-origin: left; transform: scaleX(0); }
.preloader__count { position: absolute; right: var(--gutter); bottom: 64px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--t-light-muted); }
.preloader__tag { position: absolute; left: var(--gutter); bottom: 64px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--t-light-muted); }
.no-preload .preloader { display: none; }

.pt { position: fixed; inset: 0; z-index: 1500; pointer-events: none; }
.pt__panel { position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; }
.pt__panel--2 { background: var(--brand); }
.pt__logo { position: absolute; left: 50%; top: 50%; width: 60px; height: 62px; margin: -31px 0 0 -30px; opacity: 0; background: url("../img/logo-mark-glow.png") center/contain no-repeat; }
.pt-in .pt__panel { transform: scaleY(1); }
.pt-in .pt__logo { opacity: 1; }

.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 600; background: var(--glow); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--hdr-h) + 40px); padding-bottom: clamp(36px, 5vw, 64px);
  background: radial-gradient(120% 90% at 78% 30%, #0b3a43 0%, var(--ink) 55%);
  color: var(--t-light);
}
.hero__globe { position: absolute; z-index: -1; right: -12vw; top: 50%; width: min(1100px, 92vw); aspect-ratio: 1; transform: translateY(-52%); }
.hero__globe canvas { width: 100%; height: 100%; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 60%, #000 10%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 30% 60%, #000 10%, transparent 75%);
}
.hero__content { position: relative; }
.hero__title { max-width: 13ch; margin-top: 28px; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.hero__sub { max-width: 520px; color: var(--t-light-muted); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(40px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--line-d); flex-wrap: wrap; }
.hero__levers { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__levers .tag { background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.hero__levers .tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--glow); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--t-light-muted); }
.scroll-cue__line { width: 1px; height: 44px; background: var(--line-d); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--glow); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }

.float-card {
  position: absolute; z-index: 2; padding: 18px 20px; border-radius: 18px; min-width: 220px;
  background: rgba(8, 36, 42, .55); border: 1px solid rgba(159, 245, 232, .14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--t-light);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.float-card .mono { color: var(--t-light-muted); font-size: 11px; }
.float-card b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; margin-top: 6px; }
.float-card b small { font-size: 14px; color: var(--glow); font-weight: 600; margin-left: 6px; letter-spacing: 0; }
.float-card svg.spark { width: 100%; height: 44px; margin-top: 8px; }
.float-card--a { right: 5%; top: 21%; }
.float-card--b { right: 21%; top: 63%; }
@media (max-width: 1360px) { .float-card--b { display: none; } }
@media (max-width: 1100px) { .float-card { display: none; } .hero__globe { right: -30vw; opacity: .55; } }
@media (max-width: 640px) { .hero__globe { right: -50vw; top: 34%; width: 130vw; } }

/* ---------- Page hero (inner) ---------- */
.phero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--t-light); background: var(--ink);
  padding-top: calc(var(--hdr-h) + clamp(60px, 10vw, 140px)); padding-bottom: clamp(56px, 7vw, 100px);
  min-height: 78svh; display: flex; flex-direction: column; justify-content: flex-end;
}
.phero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.phero__bg img { width: 100%; height: 125%; object-fit: cover; opacity: .5; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 18, 21, .55) 0%, rgba(4, 18, 21, .35) 40%, var(--ink) 100%), linear-gradient(90deg, rgba(4, 18, 21, .8), transparent 70%); }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--t-light-muted); margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--glow); }
.crumbs span[aria-hidden] { opacity: .5; }
.phero__title { max-width: 16ch; }
.phero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.phero__foot .lead { max-width: 640px; color: var(--t-light-muted); }
@media (max-width: 760px) { .phero__foot { grid-template-columns: 1fr; } }

/* ---------- Media ---------- */
.media { display: block; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--deep); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media[data-parallax] img { height: 120%; margin-top: -10%; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1; }
.media--cinema { aspect-ratio: 21 / 9; }
.media__badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; padding: 14px 18px; border-radius: 14px;
  background: rgba(4, 18, 21, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--t-light); border: 1px solid var(--line-d);
}
@media (max-width: 640px) { .media--cinema { aspect-ratio: 4 / 3; } }

.expand { position: relative; margin-inline: auto; overflow: hidden; border-radius: var(--r-lg); height: 88svh; width: 100%; }
.expand img { width: 100%; height: 100%; object-fit: cover; }
.expand__cap { position: absolute; inset: auto 0 0; padding: clamp(24px, 4vw, 56px); color: var(--white); background: linear-gradient(180deg, transparent, rgba(4,18,21,.85)); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; position: relative; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__group { display: inline-flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); padding-right: clamp(18px, 2.2vw, 36px); font-size: clamp(2.4rem, 6vw, 6rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.15; transition: color .5s var(--ease), -webkit-text-stroke-color .5s; }
.marquee__item .ic { width: clamp(22px, 2.6vw, 40px); height: clamp(22px, 2.6vw, 40px); color: var(--glow); animation: nx-spin 9s linear infinite; filter: drop-shadow(0 0 14px rgba(79, 227, 208, .55)); }
.marquee__item.outline-text { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; -webkit-text-stroke-width: 1.2px; }
:is(.is-dark, .is-deep) .marquee__item.outline-text { -webkit-text-stroke-color: rgba(79, 227, 208, .9); }
.marquee__item.outline-text:hover { color: var(--brand); }
:is(.is-dark, .is-deep) .marquee__item.outline-text:hover { color: var(--glow); }
.marquee__item:not(.outline-text):hover { color: var(--brand); }
:is(.is-dark, .is-deep) .marquee__item:not(.outline-text):hover { color: var(--glow); }
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
@keyframes nx-spin { to { transform: rotate(360deg); } }
.marquee--sm .marquee__item { font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; }
.marquee--sm .marquee__item .ic { width: 16px; height: 16px; }
.marquee-band { padding-block: clamp(28px, 4vw, 48px); border-block: 1px solid var(--line-d); }
.is-cream .marquee-band, .is-paper .marquee-band { border-color: var(--line-l); }

/* ---------- Cards ---------- */
.card {
  position: relative; border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); overflow: hidden; isolation: isolate;
  background: var(--white); border: 1px solid var(--line-l); transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.is-dark .card, .is-deep .card { background: rgba(255, 255, 255, .03); border-color: var(--line-d); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(4, 18, 21, .25); }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(79, 227, 208, .16), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); margin-bottom: 30px; transition: background-color .5s, color .5s, transform .6s var(--ease); }
.card__icon .ic { width: 28px; height: 28px; }
.is-dark .card__icon, .is-deep .card__icon { background: rgba(79, 227, 208, .1); color: var(--glow); }
.card:hover .card__icon { background: var(--brand); color: var(--white); transform: rotate(-6deg); }
.is-dark .card:hover .card__icon, .is-deep .card:hover .card__icon { background: var(--glow); color: var(--ink); }
.card .h4 { margin-bottom: 12px; }
.card p { color: var(--t-muted); font-size: 15.5px; }
.is-dark .card p, .is-deep .card p { color: var(--t-light-muted); }
.card__num { position: absolute; top: clamp(26px, 3vw, 40px); right: clamp(26px, 3vw, 40px); }

/* pillar / lever cards */
.lever { min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; }
.lever__big { font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.lever__big em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--brand); }

/* ---------- Horizontal scroll ---------- */
.hs { position: relative; overflow: hidden; }
.hs__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); will-change: transform; width: max-content; }
.hs__intro { width: min(520px, 80vw); flex: none; display: flex; flex-direction: column; justify-content: space-between; padding-right: 3vw; }
.hs__panel {
  position: relative; flex: none; width: clamp(300px, 36vw, 540px); height: min(70vh, 640px); min-height: 480px;
  border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 2.6vw, 36px);
}
.hs__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.hs__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 18, 21, .35) 0%, rgba(4, 18, 21, .15) 35%, rgba(4, 18, 21, .94) 100%); transition: background-color .6s; }
.hs__panel:hover img { transform: scale(1.02); }
.hs__panel .top { display: flex; justify-content: space-between; align-items: center; }
.hs__panel .arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); transition: background-color .5s, color .5s, transform .6s var(--ease); }
.hs__panel:hover .arrow { background: var(--glow); color: var(--ink); transform: rotate(45deg); }
.hs__panel .h3 { margin-bottom: 14px; }
.hs__panel p { color: rgba(255, 255, 255, .72); font-size: 15.5px; max-width: 40ch; }
.hs__panel .tags { margin-top: 20px; }
.hs__panel .tag { border-color: rgba(255, 255, 255, .2); color: var(--white); font-size: 12px; padding: 6px 12px; }
.hs__bar { margin: clamp(32px, 4vw, 56px) var(--gutter) 0; height: 2px; background: var(--line-d); position: relative; }
.hs__bar i { position: absolute; inset: 0; background: var(--glow); transform-origin: left; transform: scaleX(0); }
.hs__head { display: none; }
@media (max-width: 900px) {
  .hs { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; padding-block: 76px 24px !important; }
  .hs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-inline: var(--gutter); margin-bottom: 22px; }
  .hs__head .h2 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); margin-top: 12px; }
  .hs__head p { font-size: 14px; margin-top: 10px; max-width: 34ch; }
  .hs__count { font-family: var(--f-mono); font-size: 13px; color: var(--t-light-muted); white-space: nowrap; padding-bottom: 4px; }
  .hs__count b { color: var(--glow); font-size: 24px; font-weight: 500; }
  .hs__intro { display: none; }
  .hs__track { gap: 14px; }
  .hs__panel { width: 82vw; height: min(52svh, 480px); min-height: 330px; }
  .hs__bar { margin-top: 22px; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .hs__head p { display: none; }
  .hs__panel { height: 50svh; min-height: 300px; }
}
html:not(.anim) .hs__head { position: sticky; left: 0; }
/* No-motion fallback: let the track be swiped/scrolled natively */
html:not(.anim) .hs { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
html:not(.anim) .hs__panel, html:not(.anim) .hs__intro { scroll-snap-align: start; }
html:not(.anim) .hs__bar { display: none; }

/* ---------- Stacking cards ---------- */
.stack { display: grid; gap: 24px; }
.stack__card {
  position: sticky; top: calc(var(--hdr-h) + 24px + var(--i, 0) * 28px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  min-height: 0; padding: clamp(24px, 3.2vw, 44px); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line-l); overflow: hidden; transform-origin: center top;
  box-shadow: 0 -20px 60px -40px rgba(4, 18, 21, .3);
}
.stack__card:nth-child(2) { background: var(--deep); color: var(--t-light); border-color: var(--line-d); }
.stack__card:nth-child(3) { background: var(--brand); color: var(--white); border-color: transparent; }
.stack__card:nth-child(4) { background: var(--ink); color: var(--t-light); border-color: var(--line-d); }
.stack__card .step { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.stack__card .big-n { font-size: clamp(3rem, 7.4vw, 8rem); font-weight: 500; letter-spacing: -0.07em; line-height: .8; opacity: .95; }
.stack__card .big-n em { font-family: var(--f-serif); font-weight: 400; }
.stack__body { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.stack__body p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); opacity: .8; max-width: 44ch; }
.stack__body { align-self: stretch; }
.stack__media { border-radius: var(--r); overflow: hidden; width: 100%; aspect-ratio: 16 / 10; max-height: 56vh; }
.stack__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--hdr-h) + 12px + var(--i, 0) * 14px); }
  .stack__media { min-height: 0; width: 100%; aspect-ratio: 16/9; }
  .acc__inner { padding-right: 0; }
  .stack__card .big-n { font-size: clamp(2.6rem, 13vw, 5rem); }
}

/* ---------- Hover list with following image ---------- */
.hlist { border-top: 1px solid var(--line-l); position: relative; }
.is-dark .hlist, .is-deep .hlist { border-color: var(--line-d); }
.hlist__row {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center;
  padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line-l); transition: color .4s, padding .6s var(--ease);
}
.is-dark .hlist__row, .is-deep .hlist__row { border-color: var(--line-d); }
.hlist__row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.hlist { isolation: isolate; }
.hlist__row:hover { color: var(--t-light); padding-left: 18px; }
.hlist__row:hover::before { transform: scaleY(1); transform-origin: top; }
.is-dark .hlist__row::before { background: var(--brand); }
.hlist__row .t { font-size: clamp(1.6rem, 3.2vw, 3rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.hlist__row .d { font-size: 15px; opacity: .7; max-width: 44ch; }
.hlist__row .a { width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .5; transition: all .5s var(--ease); }
.hlist__row:hover .a { opacity: 1; background: var(--glow); color: var(--ink); border-color: var(--glow); transform: rotate(45deg); }
.hlist__img { position: fixed; left: 0; top: 0; width: 320px; height: 220px; border-radius: 18px; overflow: hidden; pointer-events: none; z-index: 60; opacity: 0; transform: scale(.6); }
.hlist__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.hlist__img img.on { opacity: 1; }
@media (max-width: 760px) {
  .hlist__row { grid-template-columns: 40px minmax(0, 1fr) 44px; }
  .hlist__row .d { display: none; }
  .hlist__row .a { width: 42px; height: 42px; }
  .hlist__img { display: none; }
}

/* ---------- Case cards ---------- */
.case { display: block; position: relative; }
.case__media { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3.2; background: var(--deep); }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.case:hover .case__media img { transform: scale(1.07); }
.case__media .tag { position: absolute; left: 18px; top: 18px; background: rgba(4, 18, 21, .55); color: var(--white); border-color: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.case__body { padding-top: 24px; display: grid; gap: 10px; }
.case__body .h4 { font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -0.03em; }
.case__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-l); }
.is-dark .stats, .is-deep .stats { border-color: var(--line-d); }
.stat { padding: clamp(24px, 3vw, 40px) clamp(12px, 2vw, 28px) 0 0; }
.stat + .stat { padding-left: clamp(12px, 2vw, 28px); border-left: 1px solid var(--line-l); }
.is-dark .stat + .stat, .is-deep .stat + .stat { border-color: var(--line-d); }
.stat__n { font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 500; letter-spacing: -0.06em; line-height: 1; }
.stat__n sup { font-size: .4em; color: var(--brand); vertical-align: top; margin-left: 4px; top: .2em; position: relative; }
.is-dark .stat__n sup, .is-deep .stat__n sup { color: var(--glow); }
.stat__l { margin-top: 12px; font-size: 15px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Progress bars ---------- */
.bars { display: grid; gap: 28px; }
.bar__head { display: flex; justify-content: space-between; gap: 16px; font-weight: 500; margin-bottom: 12px; }
.bar__head span:last-child { font-family: var(--f-mono); font-size: 14px; color: var(--brand); }
.is-dark .bar__head span:last-child, .is-deep .bar__head span:last-child { color: var(--glow); }
.bar__track { height: 6px; border-radius: 6px; background: var(--line-l); overflow: hidden; }
.is-dark .bar__track, .is-deep .bar__track { background: var(--line-d); }
.bar__fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--glow)); }

/* ---------- Checklist ---------- */
.checks { display: grid; gap: 0; }
.checks li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line-l); font-size: clamp(1.02rem, 1.3vw, 1.18rem); }
.is-dark .checks li, .is-deep .checks li { border-color: var(--line-d); }
.checks li .ck { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.is-dark .checks li .ck, .is-deep .checks li .ck { background: rgba(79, 227, 208, .12); color: var(--glow); }
.checks li .ck .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
@media (max-width: 640px) { .checks--2 { grid-template-columns: 1fr; } }

/* ---------- Process timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline__line { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line-l); }
.is-dark .timeline__line, .is-deep .timeline__line { background: var(--line-d); }
.timeline__line i { position: absolute; inset: 0; background: linear-gradient(var(--glow), var(--brand)); transform-origin: top; transform: scaleY(0); }
.timeline__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: clamp(20px, 3vw, 40px); padding-bottom: clamp(40px, 5vw, 64px); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line-l); font-family: var(--f-mono); font-size: 14px; color: var(--brand); position: relative; z-index: 1; transition: background-color .5s, color .5s; }
.is-dark .timeline__dot, .is-deep .timeline__dot { background: var(--ink); border-color: var(--line-d); color: var(--glow); }
.timeline__item.is-on .timeline__dot { background: var(--glow); color: var(--ink); border-color: var(--glow); }
.timeline__item .h3 { margin-bottom: 12px; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line-l); }
.is-dark .acc, .is-deep .acc { border-color: var(--line-d); }
.acc__item { border-bottom: 1px solid var(--line-l); }
.is-dark .acc__item, .is-deep .acc__item { border-color: var(--line-d); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; text-align: left; font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 500; letter-spacing: -0.02em; }
.acc__pm { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid currentColor; position: relative; opacity: .6; transition: all .5s var(--ease); }
.acc__pm::before, .acc__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.acc__pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__pm { background: var(--glow); border-color: var(--glow); color: var(--ink); opacity: 1; }
.acc__item.is-open .acc__pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc__panel { height: 0; overflow: hidden; transition: height .6s var(--ease); }
.acc__inner { padding: 0 64px 30px 0; color: var(--t-muted); max-width: 820px; }
.is-dark .acc__inner, .is-deep .acc__inner { color: var(--t-light-muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 26px 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--line-l); border-radius: 0;
  font-size: 17px; outline: none; transition: border-color .4s; appearance: none;
}
.is-dark .field input, .is-dark .field textarea, .is-dark .field select,
.is-deep .field input, .is-deep .field textarea, .is-deep .field select { border-color: var(--line-d); }
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 0; top: 26px; font-size: 17px; color: var(--t-muted); pointer-events: none; transition: all .4s var(--ease); }
.is-dark .field label, .is-deep .field label { color: var(--t-light-muted); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--f-mono); color: var(--brand); }
.is-dark .field input:focus + label, .is-dark .field input:not(:placeholder-shown) + label,
.is-dark .field textarea:focus + label, .is-dark .field textarea:not(:placeholder-shown) + label { color: var(--glow); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.is-dark .field::after { background: var(--glow); }
.field:focus-within::after { transform: scaleX(1); }
.field.is-error input, .field.is-error textarea { border-color: #e5484d; }
.field__err { font-size: 13px; color: #e5484d; margin-top: 6px; display: none; }
.field.is-error .field__err { display: block; }
.form__ok { display: none; padding: 20px 22px; border-radius: 14px; background: rgba(79, 227, 208, .12); border: 1px solid rgba(79, 227, 208, .35); }
.form.is-sent .form__ok { display: block; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--brand); color: var(--white); border-radius: var(--r-lg); padding: clamp(40px, 7vw, 110px) clamp(24px, 6vw, 96px); }
.cta__bg { position: absolute; inset: 0; z-index: -1; opacity: .55; }
.cta__bg img { width: 100%; height: 130%; object-fit: cover; mix-blend-mode: screen; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 100% 0%, rgba(79, 227, 208, .45), transparent 60%), linear-gradient(120deg, rgba(2, 53, 63, .9), rgba(2, 102, 122, .4)); }
.cta .h1 em { color: var(--glow-2); }
.cta__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 48px); }
.cta__row p { max-width: 520px; color: rgba(255, 255, 255, .8); }

/* ---------- Footer ---------- */
.ftr { position: relative; background: var(--ink); color: var(--t-light); padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); padding-bottom: clamp(56px, 7vw, 90px); }
.ftr__top h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--t-light-muted); margin-bottom: 22px; }
.ftr__links { display: grid; gap: 12px; }
.ftr__links a { position: relative; width: fit-content; transition: color .3s; }
.ftr__links a:hover { color: var(--glow); }
.ftr__brand p { color: var(--t-light-muted); max-width: 360px; margin-top: 22px; }
.ftr__contact { display: grid; gap: 16px; color: var(--t-light-muted); font-size: 15px; }
.ftr__contact a:hover { color: var(--glow); }
.ftr__contact .row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.ftr__contact .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--glow); }
.socials { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); transition: all .4s var(--ease); }
.socials a:hover { background: var(--glow); color: var(--ink); border-color: var(--glow); transform: translateY(-3px); }
.socials .ic { width: 18px; height: 18px; }
.ftr__word { font-size: clamp(5rem, 23vw, 26rem); font-weight: 600; letter-spacing: -0.075em; line-height: .8; text-align: center; white-space: nowrap; user-select: none; overflow: hidden; margin-bottom: -0.04em; color: rgba(79, 227, 208, .3); }
.ftr__word span {
  display: inline-block; color: transparent;
  background: linear-gradient(180deg, rgba(79, 227, 208, .5) 0%, rgba(79, 227, 208, .12) 55%, rgba(79, 227, 208, 0) 92%);
  -webkit-background-clip: text; background-clip: text;
}
.ftr__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--t-light-muted); }
.ftr__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.ftr__bottom a:hover { color: var(--glow); }
.to-top { display: inline-flex; align-items: center; gap: 10px; }
.to-top .ic { width: 16px; height: 16px; transform: rotate(-90deg); }
@media (max-width: 1000px) { .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: 1fr; } }

/* ---------- Misc blocks ---------- */
.pill-note { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 100px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .04); font-size: 14px; backdrop-filter: blur(8px); }
.pill-note b { background: var(--glow); color: var(--ink); padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.divider { height: 1px; background: var(--line-l); }
.is-dark .divider, .is-deep .divider { background: var(--line-d); }

.quote-block { font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1.15; letter-spacing: -0.035em; font-weight: 500; }
.quote-block em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--brand); }
.is-dark .quote-block em { color: var(--glow); }

.value-card { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r); border: 1px solid var(--line-l); background: var(--white); display: grid; gap: 16px; align-content: start; transition: transform .6s var(--ease), background-color .5s, color .5s; }
.value-card:hover { transform: translateY(-6px); background: var(--ink); color: var(--t-light); }
.value-card .num { font-size: 12px; }
.value-card .h4 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }

.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-d); }
.orbit__ring--2 { inset: 16%; }
.orbit__ring--3 { inset: 32%; border-style: solid; }
.orbit__core { position: absolute; inset: 38%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, var(--brand), var(--deep)); box-shadow: 0 0 80px rgba(79, 227, 208, .35); }
.orbit__core .logo__mark { width: 44%; height: 44%; color: var(--white); }
.orbit__node { position: absolute; left: 50%; top: 50%; padding: 10px 16px; border-radius: 100px; background: var(--ink-2); border: 1px solid rgba(79, 227, 208, .3); font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--t-light); }

.gauge { width: 100%; max-width: 420px; }
.gauge text { font-family: var(--f-display); }

.notice { padding: 18px 22px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); font-size: 15px; }

/* Prose (legal pages) */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; margin: 56px 0 16px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--t-muted); margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Always-dark contexts (hero, page hero, footer, menu) ---------- */
:is(.hero, .phero, .ftr, .mmenu) :is(.display, .h1, .h2, .h3, .lead, .fill-text, .quote-block) em { color: var(--glow); }
:is(.hero, .phero, .ftr, .mmenu) .eyebrow { color: var(--glow); }
:is(.hero, .phero, .ftr, .mmenu) .muted { color: var(--t-light-muted); }
:is(.hero, .phero) .num { color: var(--glow); }
:is(.hero, .phero) .tag { border-color: var(--line-d); color: var(--t-light); }
:is(.hero, .phero) .divider { background: var(--line-d); }
a.pill-note { transition: border-color .4s, background-color .4s; }
a.pill-note:hover { border-color: rgba(79, 227, 208, .5); background: rgba(79, 227, 208, .08); }

/* ---------- Reveal initial states (only when animating) ---------- */
.anim [data-reveal], .anim [data-stagger] > * { opacity: 0; }
.anim [data-clip] { clip-path: inset(100% 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}
