/* ============================================================
   OZOFRYN — Premium motion prototype (light-first)
   Brand: Chartreuse #D9F323 · Royal Blue #1848D2 · Neon #412ECE
   Type: Oswald (display) · Inter (ui) · Open Sans (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --c-chartreuse: #D9F323;
  --c-chartreuse-soft: #E8F871;
  --c-midnight: #1848D2;      /* Royal Blue — replaces near-black */
  --c-midnight-2: #1038B8;    /* Deeper royal blue for tiles/overlays */
  --c-neon: #412ECE;
  --c-pond-deep: #073E1D;
  --c-pond-light: #64CC8F;

  /* surfaces */
  --c-bg: #FFFFFF;
  --c-bg-alt: #F6F8FF;        /* Faint blue tint — matches new brand */
  --c-bg-warm: #F1F4FF;
  --c-ink: #0E1535;            /* Near-black with blue undertone */
  --c-ink-soft: #2A3368;
  --c-muted: #6470A0;
  --c-line: #DDE2F0;
  --c-line-soft: #EDF0F9;

  /* type */
  --f-display: "Oswald", "Inter", system-ui, sans-serif;
  --f-sub: "Inter", system-ui, sans-serif;
  --f-body: "Open Sans", "Inter", system-ui, sans-serif;

  /* scale */
  --fs-display-xl: clamp(56px, 9vw, 148px);
  --fs-display:    clamp(30px, 3.6vw, 58px);
  --fs-h1:         clamp(28px, 3vw, 48px);
  --fs-h2:         clamp(22px, 2.4vw, 38px);
  --fs-h3:         clamp(22px, 1.8vw, 30px);
  --fs-lead:       clamp(17px, 1.25vw, 21px);
  --fs-body:       16px;
  --fs-sm:         14px;
  --fs-xs:         12px;

  /* spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 140px;
  --space-8: 180px;

  /* layout */
  --container: 1280px;
  --container-wide: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 76px;
  --radius:    6px;            /* was 2px — more rounded overall */
  --radius-lg: 14px;           /* was 4px — card corners */
  --radius-xl: 20px;           /* large image containers */

  /* motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,.84,.44,1);
  --dur-1: .22s;
  --dur-2: .42s;
  --dur-3: .75s;
  --dur-4: 1.1s;

  /* shadows */
  --shadow-card: 0 1px 3px rgba(24,72,210,.05), 0 8px 28px rgba(24,72,210,.07);
  --shadow-lift: 0 20px 56px rgba(24,72,210,.16), 0 2px 8px rgba(24,72,210,.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--c-chartreuse); color: var(--c-midnight); }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* ---------- Typography ---------- */
.h-display, .h-hero, .h-section {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  text-transform: none;
}
.h-hero    { font-size: var(--fs-display-xl); letter-spacing: -0.015em; line-height: 1.0; }
.h-display { font-size: var(--fs-display); margin-bottom: clamp(20px, 2vw, 28px); }
.h-section { font-size: var(--fs-h2); margin-bottom: clamp(16px, 1.5vw, 22px); }

.lead {
  font-family: var(--f-body);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--c-ink-soft);
  max-width: 62ch;
}
.eyebrow {
  font-family: var(--f-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-chartreuse);
  display: inline-block;
}
.eyebrow--dark { color: rgba(255,255,255,0.72); }
.eyebrow--dark::before { background: var(--c-chartreuse); }

.accent { color: var(--c-neon); }
.mark   { background: var(--c-chartreuse); padding: 0.05em 0.2em; color: var(--c-midnight); }

.breadcrumb {
  font-family: var(--f-sub);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--c-muted); transition: color var(--dur-1); }
.breadcrumb a:hover { color: var(--c-ink); }
.breadcrumb .sep { color: var(--c-line); }

/* ---------- Container + layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: var(--container-wide); }

.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section--sm { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--warm { background: var(--c-bg-warm); }
.section--dark { background: var(--c-midnight); color: #fff; }
.section--dark .h-display,
.section--dark .h-section,
.section--dark .h-hero { color: #fff; }
.section--dark .lead { color: rgba(255,255,255,0.78); }
.section--dark .eyebrow { color: rgba(255,255,255,0.7); }

.section-head { display: block; margin-bottom: 64px; max-width: 960px; }
.section-head .lead { margin-top: 0; }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.mt-4 { margin-top: 24px; }
.mt-6 { margin-top: 40px; }
.mb-6 { margin-bottom: 40px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: linear-gradient(90deg, var(--c-neon), var(--c-chartreuse));
  transition: width 60ms linear;
}

/* ---------- Custom cursor ---------- */
.has-custom-cursor,
.has-custom-cursor * { cursor: none !important; }
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 999px;
  pointer-events: none;
  z-index: 200;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  margin: -3px 0 0 -3px;
  transition: transform 0.06s linear, opacity 0.2s, width 0.2s, height 0.2s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.8);
  margin: -16px 0 0 -16px;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.cursor-hover .cursor-ring {
  width: 66px; height: 66px;
  margin: -33px 0 0 -33px;
  border-color: #fff;
  background: rgba(217,243,35,0.1);
}
.cursor-hover .cursor-dot { transform-origin: center; opacity: 0.9; }

@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-2) var(--ease), box-shadow var(--dur-2), border-color var(--dur-2);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--c-line);
  box-shadow: 0 1px 0 var(--c-line), 0 4px 24px rgba(24,72,210,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 34px; width: auto; display: block; }
/* Light hero: show light logo (black text) by default; dark logo (white text) only when nav overlaps a dark section */
.nav__logo img.nav__logo-light { display: block; }
.nav__logo img.nav__logo-dark  { display: none; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  font-family: var(--f-sub);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  padding: 10px 0;
  transition: color var(--dur-1);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--c-chartreuse);
  transition: width var(--dur-2) var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.nav__has-sub { position: relative; }
.nav__submenu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 280px;
  padding: 16px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.nav__has-sub:hover .nav__submenu,
.nav__has-sub.is-open .nav__submenu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav__submenu a {
  display: block;
  padding: 10px 12px;
  font-family: var(--f-sub);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--c-ink-soft);
  transition: background var(--dur-1), color var(--dur-1);
}
.nav__submenu a:hover { background: var(--c-bg-alt); color: var(--c-ink); }

.nav__cta .btn { padding: 10px 18px; }
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--c-ink);
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1);
}
.nav__toggle span { top: 19px; }
.nav__toggle span::before { top: -8px; }
.nav__toggle span::after  { top: 8px;  }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 32px var(--gutter);
    background: #fff;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-2), transform var(--dur-2);
    overflow-y: auto;
  }
  .nav.is-open .nav__links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__link { font-size: 22px; }
  .nav__submenu {
    position: static;
    opacity: 1; pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 4px 0 12px 12px;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-2);
  }
  .nav__has-sub.is-open .nav__submenu { max-height: 300px; }
  .nav__cta { margin-top: 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-sub);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease), border-color var(--dur-2), box-shadow var(--dur-2);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  vertical-align: middle;
  line-height: 1;
}
.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform var(--dur-2) var(--ease);
}
.btn:hover svg { transform: translateX(3px); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-chartreuse);
  transform: translateY(101%);
  transition: transform var(--dur-3) var(--ease);
  z-index: -1;
  border-radius: inherit;
}
.btn:hover::before { transform: translateY(0); }

.btn--primary {
  background: var(--c-midnight);
  color: #fff;
  box-shadow: 0 4px 16px rgba(24,72,210,.3);
}
.btn--primary:hover { color: var(--c-midnight); box-shadow: 0 6px 24px rgba(217,243,35,.35); }

.btn--dark    { background: var(--c-midnight); color: #fff; }
.btn--dark:hover { color: var(--c-midnight); }

.btn--light   { background: #fff; color: var(--c-midnight); border: 1.5px solid var(--c-line); }
.btn--light::before { background: var(--c-midnight); }
.btn--light:hover { color: #fff; border-color: transparent; }

.btn--ghost   { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn--ghost::before { background: var(--c-chartreuse); }
.btn--ghost:hover { color: var(--c-midnight); border-color: transparent; }

.btn--sm  { padding: 10px 20px; font-size: 12px; }
.btn--lg  { padding: 18px 32px; font-size: 15px; }

/* Magnetic wrapper — keep flex intact */
[data-magnetic] {
  display: inline-flex;
  transition: transform var(--dur-2) var(--ease);
  will-change: transform;
}
/* Inner span for dual-layer magnetic */
.mag__in { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Hero — defined in HOMEPAGE V3 block below ---------- */

/* Split-text reveal */
.word { display: inline-block; overflow: visible; vertical-align: bottom; line-height: inherit; }
.word__in {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 40ms);
}
[data-split].is-in .word__in { transform: translateY(0); }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal].reveal--left  { transform: translateX(-32px); }
[data-reveal].reveal--left.is-in { transform: none; }
[data-reveal].reveal--right { transform: translateX(32px); }
[data-reveal].reveal--right.is-in { transform: none; }

/* ---------- Subhero (inner pages) ---------- */
.subhero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
  background: var(--c-bg-alt);
}
.subhero__inner { position: relative; z-index: 2; max-width: 880px; }
.subhero__ghost {
  position: absolute;
  right: -4%;
  top: -8%;
  width: min(52vw, 640px);
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: block;
}
.subhero .h-display { margin-bottom: 28px; }

/* ---------- Marquee ---------- */
.marquee {
  display: flex;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg);
}
.marquee--dark { background: var(--c-midnight); border-color: rgba(255,255,255,0.08); }
.marquee--chartreuse { background: var(--c-chartreuse); border-color: transparent; color: var(--c-midnight); }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
  animation: mq 40s linear infinite;
  flex-shrink: 0;
  min-width: 100%;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 64px);
  letter-spacing: -0.01em;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: 48px;
  text-transform: uppercase;
}
.marquee--dark .marquee__item { color: #fff; }
.marquee__item::after {
  content: "";
  width: 14px; height: 14px;
  background: var(--c-chartreuse);
  border-radius: 999px;
  display: inline-block;
}
.marquee--chartreuse .marquee__item::after { background: var(--c-midnight); }
@keyframes mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ---------- Stat band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.stats .stat {
  padding: clamp(40px, 5vw, 72px) clamp(20px, 2.5vw, 40px);
  border-right: 1px solid var(--c-line);
  position: relative;
  transition: background var(--dur-2);
}
.stats .stat:last-child { border-right: 0; }
.stats .stat:hover { background: var(--c-bg-alt); }
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(44px, 4.6vw, 84px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat__num .unit { font-size: 0.35em; color: var(--c-neon); letter-spacing: 0; }
.stat__label {
  font-family: var(--f-sub);
  font-size: 13px;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:nth-child(2) { border-right: 0; }
  .stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--c-line); }
}

/* KPI card grid (compact version) */
.kpi {
  padding: 32px 0;
  border-top: 1px solid var(--c-line);
}
.kpi__value {
  font-family: var(--f-display);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1;
}
.kpi__value .unit { color: var(--c-chartreuse); }
.kpi__label { color: var(--c-muted); margin-top: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.18em; font-family: var(--f-sub); }

/* ---------- Tile (feature card) ---------- */
.tile {
  position: relative;
  padding: 40px 36px;
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2), box-shadow var(--dur-2);
}
.tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 2px;
  background: var(--c-chartreuse);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.tile:hover::before { transform: scaleX(1); }
.tile__index {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--c-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.tile__icon { width: 44px; height: 44px; color: var(--c-neon); margin: 24px 0; }
.tile__icon svg { width: 100%; height: 100%; }
.tile__title { font-family: var(--f-display); font-size: clamp(22px, 1.8vw, 30px); font-weight: 700; margin-bottom: 12px; color: var(--c-ink); }
.tile__body { color: var(--c-ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- Product card w/ image reveal ---------- */
.product-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--c-bg-alt);
  isolation: isolate;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.product-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}
.product-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--c-midnight-2);
  transition: transform 1s var(--ease);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.8s var(--ease-out), transform 1s var(--ease);
}
.product-card:hover .product-card__media { clip-path: inset(0 0 0 0); transform: scale(1.04); }
.product-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,6,48,0) 40%, rgba(10,6,48,0.85) 100%);
}
.product-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--c-ink);
  transition: color var(--dur-3);
  z-index: 2;
}
.product-card:hover .product-card__body { color: #fff; }
.product-card__body .eyebrow { color: inherit; opacity: 0.7; }
.product-card:hover .product-card__body .eyebrow::before { background: var(--c-chartreuse); }
.product-card__title {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.4vw, 42px);
  font-weight: 700;
  line-height: 1;
  color: inherit;
}
.product-card__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.product-card__items span {
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--f-sub);
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
}
.product-card__arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 999px;
  background: var(--c-chartreuse);
  color: var(--c-midnight);
  display: grid;
  place-items: center;
  transform: translate(10px, -10px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s;
  z-index: 3;
}
.product-card__arrow svg { width: 16px; height: 16px; }
.product-card:hover .product-card__arrow { transform: none; opacity: 1; }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split--media-left .split__media { order: -1; }
.split__media {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--c-midnight-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lift);
}
.split__media-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s linear;
}
.split__media:hover .split__media-bg { transform: scale(1.08); }
.split__media-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: rgba(255,255,255,0.78);
  font-family: var(--f-sub);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(10,6,48,0.7));
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--media-left .split__media { order: 0; }
}

/* ---------- Big quote ---------- */
.pull-quote {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 68px);
  line-height: 1.05;
  color: #fff;
  max-width: 22ch;
  letter-spacing: -0.01em;
}
.pull-quote .accent { color: var(--c-chartreuse); }
.pull-quote::before {
  content: "“";
  font-family: var(--f-display);
  font-size: 1em;
  color: var(--c-chartreuse);
  display: block;
  line-height: 0.6;
  margin-bottom: 8px;
}

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; margin: 56px 0 0 0; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--c-ink-soft); line-height: 1.5; }
.check-list li::before { content: ""; display: block; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--c-chartreuse); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%230E1535' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 12px; margin-top: 1px; }

/* ---------- Spec table ---------- */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-sub);
}
.spec th, .spec td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  font-size: 14px;
}
.spec th {
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}
.spec tr:hover td { background: var(--c-bg-alt); }
.spec td:first-child { font-weight: 600; color: var(--c-ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--c-midnight);
  color: #fff;
  padding: clamp(80px, 9vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  background-image: url('../img/favicon-mark.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  width: min(60vw, 700px);
  height: 130%;
  top: -15%;
  right: -10%;
  opacity: 0.07;
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.4vw, 72px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  max-width: 18ch;
}
.cta-band__title span { color: var(--c-chartreuse); }
.cta-band .btn--primary { background: var(--c-chartreuse); color: var(--c-midnight); }
.cta-band .btn--primary::before { background: #fff; }
.cta-band .btn--primary:hover { color: var(--c-midnight); }

/* ---------- Contact ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-top: 8px;
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field label {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--f-sub);
  font-size: 14px;
  color: var(--c-muted);
  pointer-events: none;
  transition: transform var(--dur-2) var(--ease), color var(--dur-2), font-size var(--dur-2);
  background: transparent;
  padding: 0 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 26px 18px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #fff;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--c-ink);
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--c-midnight);
  box-shadow: 0 0 0 4px rgba(24,72,210,0.12);
}
.field.has-value label,
.field input:focus + label,
.field select:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translateY(-14px);
  font-size: 11px;
  color: var(--c-ink-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field.has-value input::placeholder,
.field.has-value textarea::placeholder { color: var(--c-muted); }

form.is-sent { opacity: 0.85; }

.contact-info { display: grid; gap: 16px; }
.contact-info__block {
  padding: 24px 28px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color var(--dur-2), transform var(--dur-2);
}
.contact-info__block:hover { border-color: var(--c-midnight); transform: translateY(-2px); }
.contact-info__label { font-family: var(--f-sub); font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.24em; margin-bottom: 6px; }
.contact-info__value { font-family: var(--f-display); font-size: clamp(22px, 1.8vw, 28px); font-weight: 700; color: var(--c-ink); }
.contact-info__value a { color: inherit; }

/* ---------- Locations band ---------- */
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.location {
  background: #fff;
  padding: clamp(32px, 4vw, 56px);
  position: relative;
  overflow: hidden;
  transition: background var(--dur-2);
}
.location:hover { background: var(--c-bg-alt); }
.location__flag {
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.location__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 700;
  line-height: 1;
  margin: 16px 0 20px;
  color: var(--c-ink);
}
.location__desc { color: var(--c-ink-soft); max-width: 42ch; }
@media (max-width: 700px) { .locations { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-midnight);
  color: rgba(255,255,255,0.78);
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 8vw, 120px) 0 40px;
}
.footer::before {
  content: "";
  background-image: url('../img/favicon-mark.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  width: min(65vw, 750px);
  height: 130%;
  top: -15%;
  left: -8%;
  opacity: 0.05;
  pointer-events: none;
}
.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 3vw, 56px);
}
.footer__logo { display: block; text-align: left; margin-bottom: 0; }
.footer__logo img { height: 44px; filter: none; display: block; margin-left: -15px; }
.footer__tagline {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.6vw, 26px);
  color: #fff;
  line-height: 1.1;
  margin-top: 20px;
}
.footer__tagline span { color: var(--c-chartreuse); }
.footer__desc { color: rgba(255,255,255,0.6); margin-top: 16px; font-size: 14px; max-width: 30ch; }
.footer__heading { font-family: var(--f-sub); font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.24em; margin: 0 0 20px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__list a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  transition: color var(--dur-2);
  position: relative;
}
.footer__list a:hover { color: var(--c-chartreuse); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  margin-top: 80px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(255,255,255,0.5); position: relative;
  letter-spacing: 0.08em;
}
.footer__bottom a { color: rgba(255,255,255,0.5); margin: 0 6px; }
.footer__bottom a:hover { color: var(--c-chartreuse); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Services strip ---------- */
.services-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-line);
}
.services-strip__item {
  padding: 40px 32px;
  border-right: 1px solid var(--c-line);
  position: relative;
  transition: background var(--dur-2);
}
.services-strip__item:last-child { border-right: 0; }
.services-strip__item:hover { background: var(--c-midnight); color: #fff; }
.services-strip__item:hover .services-strip__title { color: var(--c-chartreuse); }
.services-strip__num { font-family: var(--f-sub); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.5; }
.services-strip__title { font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 26px); font-weight: 700; margin: 20px 0 10px; color: inherit; transition: color var(--dur-2); }
.services-strip__desc { font-size: 14px; line-height: 1.5; opacity: 0.72; }
.services-strip__arrow {
  position: absolute; top: 32px; right: 32px;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  transition: background var(--dur-2), color var(--dur-2), transform var(--dur-2);
}
.services-strip__item:hover .services-strip__arrow { background: var(--c-chartreuse); color: var(--c-midnight); border-color: transparent; transform: rotate(-45deg); }
.services-strip__arrow svg { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .services-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-strip { grid-template-columns: 1fr; }
  .services-strip__item { border-right: 0; border-bottom: 1px solid var(--c-line); }
}

/* ---------- Timeline / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step {
  position: relative;
  padding: 32px 24px 32px 0;
  border-top: 1px solid var(--c-line);
}
.step::before {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 20px; height: 5px;
  background: var(--c-chartreuse);
  transition: width var(--dur-3) var(--ease);
}
.step:hover::before { width: 100%; }
.step__num { font-family: var(--f-sub); font-size: 12px; letter-spacing: 0.24em; color: var(--c-muted); text-transform: uppercase; }
.step__title { font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 26px); font-weight: 700; margin: 16px 0 10px; color: var(--c-ink); }
.step__body { font-size: 14px; color: var(--c-ink-soft); line-height: 1.6; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Accordion (about / faq-style) ---------- */
details.acc {
  border-top: 1px solid var(--c-line);
  padding: 28px 0;
}
details.acc:last-of-type { border-bottom: 1px solid var(--c-line); }
details.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  color: var(--c-ink);
  transition: color var(--dur-2);
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: "+";
  font-family: var(--f-sub);
  font-weight: 400;
  font-size: 32px;
  color: var(--c-neon);
  transition: transform var(--dur-2), color var(--dur-2);
}
details.acc[open] summary::after { content: "×"; color: var(--c-chartreuse); background: var(--c-midnight); width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; font-size: 22px; }
details.acc[open] summary { color: var(--c-neon); }
details.acc__body { padding-top: 18px; color: var(--c-ink-soft); max-width: 70ch; font-size: 15px; line-height: 1.7; }

/* ---------- Hero for product pages ---------- */
.p-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 clamp(80px, 8vw, 120px);
  background: var(--c-midnight);
  color: #fff;
  overflow: hidden;
}
.p-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(217,243,35,0.18), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(65,46,206,0.22), transparent 55%);
  pointer-events: none;
}
.p-hero__inner { position: relative; z-index: 2; }
.p-hero .h-display { color: #fff; max-width: 18ch; }
.p-hero .lead { color: rgba(255,255,255,0.78); max-width: 54ch; }
.p-hero__ghost {
  position: absolute;
  right: -4%;
  top: 5%;
  width: min(46vw, 580px);
  height: auto;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  display: block;
}
.p-hero .breadcrumb, .p-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.p-hero .breadcrumb .sep { color: rgba(255,255,255,0.2); }
.p-hero .eyebrow { color: rgba(255,255,255,0.7); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--c-line); border: 0; margin: clamp(60px, 6vw, 100px) 0; }

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

/* ============================================================
   HOMEPAGE V3 — new hero
   ============================================================ */

/* ---------- Liquid Glass ---------- */
.liquid-glass {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.1) 80%, rgba(255,255,255,0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ---------- Hero Nav ---------- */
.hero-nav {
  position: relative;
  z-index: 10;
  padding: 24px clamp(24px, 4vw, 64px) 0;
}
.hero-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  padding: 10px 16px;
}
.hero-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.hero-nav__logo:hover { opacity: 0.8; }
.hero-nav__logo img {
  height: 34px;
  width: auto;
  display: block;
}
.hero-nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-nav__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.hero-nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.25s ease;
}
.hero-nav__links a:hover { color: #fff; }
.hero-nav__links a:hover::after { width: 100%; }
.hero-nav__cta {
  background: #fff;
  color: #000;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.hero-nav__cta:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

/* ---------- Hero Content ---------- */
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(24px, 4vw, 64px) clamp(40px, 5vw, 64px);
  position: relative;
  z-index: 5;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__right { display: none; }
}

.hero__heading {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 16px 0;
}
.hero__heading .char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.hero__heading .char.visible {
  opacity: 1;
  transform: translateX(0);
}

.hero__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.75);
  margin: 0 0 20px 0;
  max-width: 560px;
  line-height: 1.65;
  transition: opacity 1000ms ease;
}
.hero__sub.visible { opacity: 1 !important; }

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  transition: opacity 1000ms ease;
}
.hero__btns.visible { opacity: 1 !important; }

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.18s, box-shadow 0.22s, border-color 0.22s;
}
.hero-btn--solid {
  background: #fff;
  color: #000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-btn--solid:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.hero-btn--solid:active { transform: translateY(0); }
.hero-btn--glass {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.hero-btn--glass:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.hero-btn--glass:active { transform: translateY(0); }

.hero__right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero__tag {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  color: #fff;
  transition: opacity 1000ms ease;
}
.hero__tag.visible { opacity: 1 !important; }

.hero__ghost { display: none; }

/* ---------- Hero KPI tile (right column) ---------- */
.hero__tile {
  position: relative;
  z-index: 2;
}

.hero__tile-inner {
  position: relative;
  background: var(--c-midnight);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 40px);
  isolation: isolate;
  box-shadow: var(--shadow-lift);
}

/* Hero tile — What We Trade card */
.hero__tile-header {
  font-family: var(--f-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero__tile-products {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.hero__tile-product {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.hero__tile-product-num {
  font-family: var(--f-sub);
  font-size: 11px;
  color: var(--c-chartreuse);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-top: 3px;
  flex-shrink: 0;
}
.hero__tile-product strong {
  display: block;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.hero__tile-product span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-family: var(--f-sub);
}
.hero__tile-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--f-sub);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Grid pattern overlay */
.hero__tile-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217,243,35,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,243,35,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
}

/* Radial chartreuse glow */
.hero__tile-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(217,243,35,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 90%, rgba(65,46,206,0.18) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.hero__tile-caption,
.hero__tile-body,
.hero__tile-tags {
  position: relative;
  z-index: 1;
}

.hero__tile-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-sub);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.hero__tile-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__tile-kpi {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1;
}

.hero__tile-num {
  font-family: var(--f-display);
  font-size: clamp(72px, 10vw, 128px);
  font-weight: 700;
  color: var(--c-chartreuse);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.hero__tile-unit {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 56px);
  color: rgba(255,255,255,0.25);
  font-weight: 700;
  align-self: flex-end;
  margin-bottom: 4px;
}

.hero__tile-label {
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  line-height: 1.15;
  margin: 0;
}

.hero__tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__tile-tags span {
  padding: 5px 12px;
  border: 1px solid rgba(217,243,35,0.3);
  border-radius: 999px;
  font-family: var(--f-sub);
  font-size: 11px;
  color: rgba(217,243,35,0.7);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }
  .hero__tile {
    display: none;
  }
  .hero__ghost {
    width: min(72vw, 360px);
    right: -10%;
    top: auto;
    bottom: -5%;
    transform: none;
    opacity: 0.06;
  }
}

/* ---------- KPI band (4-col) ---------- */
.kpi-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--c-midnight);
}

.kpi-band__item {
  padding: clamp(28px, 3.5vw, 52px) clamp(16px, 2.5vw, 36px) clamp(28px, 3.5vw, 52px) clamp(24px, 3vw, 48px);
  border-right: 1px solid var(--c-line);
  position: relative;
}

.kpi-band__item:last-child { border-right: 0; }
.kpi-band__item:first-child { padding-left: 0; }

.kpi-band__num {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}

.kpi-band__num--text {
  font-size: clamp(32px, 3.5vw, 56px);
}

.kpi-band__unit {
  font-size: 0.5em;
  color: var(--c-chartreuse);
  font-weight: 700;
}

.kpi-band__label {
  font-family: var(--f-sub);
  font-size: 11px;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .kpi-band {
    grid-template-columns: 1fr 1fr;
  }
  .kpi-band__item:nth-child(2) { border-right: 0; }
  .kpi-band__item:nth-child(1),
  .kpi-band__item:nth-child(2) { border-bottom: 1px solid var(--c-line); }
  .kpi-band__item { padding-left: 0; }
}

/* ---------- Why Ozofryn — 6-tile dark grid ---------- */
.why-section .section-head .h-display {
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.why-tile {
  background: rgba(16, 56, 184, 0.92);
  padding: clamp(28px, 3.5vw, 48px);
  position: relative;
  overflow: hidden;
  transition: background var(--dur-2) var(--ease);
}

.why-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-chartreuse);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease);
}

.why-tile:hover { background: rgba(24,72,210,0.98); }
.why-tile:hover::before { transform: scaleX(1); }

.why-tile__index {
  font-family: var(--f-sub);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.why-tile__icon {
  width: 44px;
  height: 44px;
  background: var(--c-chartreuse);
  border-radius: 4px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--c-midnight);
  flex-shrink: 0;
  transition: transform var(--dur-2) var(--ease);
}

.why-tile:hover .why-tile__icon { transform: scale(1.06); }

.why-tile__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.why-tile__title {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.why-tile__body {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   MOBILE — comprehensive responsive fixes
   ============================================================ */

/* --- Hero Nav toggle button (hidden on desktop) --- */
.hero-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
  flex-shrink: 0;
}
.hero-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Hamburger → X */
.hero-nav.is-open .hero-nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hero-nav.is-open .hero-nav__toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hero-nav.is-open .hero-nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero Nav drawer (mobile menu) --- */
/* Explicitly hidden on all viewports by default; only shown via mobile media query */
@media (min-width: 901px) {
  .hero-nav__drawer { display: none !important; }
}
.hero-nav__drawer {
  display: none !important;
  flex-direction: column;
  background: rgba(8,5,25,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 0 0 12px 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}
.hero-nav__drawer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 15px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.hero-nav__drawer a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.hero-nav__drawer a:last-child { border-bottom: none; }
.hero-nav__drawer-cta {
  margin: 4px 16px 16px !important;
  background: #fff !important;
  color: #000 !important;
  text-align: center;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border-bottom: none !important;
  padding: 13px 20px !important;
}
.hero-nav__drawer-cta:hover { background: #f0f0f0 !important; }

@media (max-width: 900px) {
  /* Show hamburger, hide desktop links + CTA */
  .hero-nav__links { display: none; }
  .hero-nav__cta   { display: none; }
  .hero-nav__toggle { display: flex; }
  /* Show drawer when open */
  .hero-nav.is-open .hero-nav__drawer { display: flex !important; }
  /* Round only top corners when menu is open */
  .hero-nav.is-open .hero-nav__bar { border-radius: 12px 12px 0 0; }
  /* Tighten nav padding on mobile */
  .hero-nav { padding: 16px 20px 0; }
  .hero-nav__bar { padding: 10px 14px; }
}

/* --- Hero content mobile --- */
@media (max-width: 768px) {
  .hero { min-height: 100svh; }
  .hero__content { padding: 0 20px 48px; }
  .hero__heading { font-size: clamp(34px, 9vw, 52px); letter-spacing: -0.03em; }
  .hero__sub { font-size: 15px; max-width: 100%; }
  .hero__btns { flex-direction: column; gap: 12px; }
  .hero-btn { justify-content: center; padding: 15px 24px; width: 100%; box-sizing: border-box; }
}

/* --- KPI band mobile --- */
@media (max-width: 480px) {
  .kpi-band { grid-template-columns: 1fr 1fr; }
  .kpi-band__item { padding: 24px 16px; }
  .kpi-band__item:first-child { padding-left: 16px; }
  .kpi-band__num { font-size: clamp(28px, 8vw, 44px); }
  .kpi-band__label { font-size: 12px; }
}

/* --- Section spacing mobile --- */
@media (max-width: 768px) {
  .section { padding: clamp(40px, 8vw, 64px) 0; }
  .container { padding-left: 20px; padding-right: 20px; }
  .section-head { margin-bottom: 32px; }
  .section-head .lead { font-size: 15px; }
  h2.h-display { font-size: clamp(28px, 7vw, 44px); }
  .pull-quote { font-size: clamp(20px, 5.5vw, 32px); line-height: 1.3; }
  .eyebrow { font-size: 11px; }
}

/* --- Product cards mobile --- */
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
}
/* On touch devices, always reveal media — hover doesn't work on mobile */
@media (hover: none) {
  .product-card__media { clip-path: inset(0 0 0 0) !important; }
  .product-card__body { color: #fff !important; }
  .product-card__body .eyebrow::before { background: var(--c-chartreuse) !important; }
  .product-card__arrow { opacity: 1 !important; transform: none !important; }
}

/* --- Split sections mobile --- */
@media (max-width: 768px) {
  .split { gap: 40px; }
  .split__media { height: 240px; aspect-ratio: unset; width: 100%; }
  /* Stack caption spans vertically so they don't smash together */
  .split__media-caption { flex-direction: column; gap: 4px; align-items: flex-start; }
  /* Center-align text column and button on mobile (both split orientations) */
  .split > div:not(.split__media) { text-align: center; }
  .split > div:not(.split__media) .check-list { text-align: left; }
  .split > div:not(.split__media) [data-reveal]:last-child { display: flex; justify-content: center; }
}

/* --- Steps mobile --- */
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { border-right: none; border-bottom: 1px solid var(--c-line); padding-bottom: 28px; margin-bottom: 28px; }
  .step:last-child { border-bottom: none; margin-bottom: 0; }
}

/* --- Why grid mobile --- */
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-tile { padding: 24px 20px; }
}

/* --- Locations mobile --- */
@media (max-width: 480px) {
  .locations { gap: 24px; }
  .location__title { font-size: 28px; }
}

/* --- CTA band mobile --- */
@media (max-width: 768px) {
  .cta-band__inner { flex-direction: column; gap: 28px; text-align: center; }
  .cta-band__title { font-size: clamp(24px, 6vw, 36px); }
  .cta-band .btn { align-self: center; }
}

/* --- Footer mobile --- */
@media (max-width: 480px) {
  .footer__tagline { font-size: 20px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer__bottom div:last-child { display: flex; gap: 16px; justify-content: center; }
}

/* --- Marquee mobile --- */
@media (max-width: 600px) {
  .marquee__item { font-size: 12px; padding: 0 16px; }
  .marquee__item::after { margin-left: 16px; }
}
