/* =====================================================================
   SCANDEX GROUP — public stylesheet  ·  "Loom" design system
   ---------------------------------------------------------------------
   A deep-navy stage, bright royal-blue light and a single gold thread.
   Display set in Sora, text in Inter, labels in IBM Plex Mono.

   Built STATIC-FIRST: every layout below works as an ordinary page with
   no JavaScript and no motion. The 3D scroll scenes (hero deck, product
   ring, production drum, capacity slabs, gallery wall …) are layered on
   top only when <html> carries the .fx3d class, which depth.js adds when
   motion is on and the browser can do 3D. Turning 3D off in the header
   (or OS "reduce motion") simply removes that class.
   ===================================================================== */

/* ---------- 1. Tokens ------------------------------------------------ */
:root {
  /* Night — the stage */
  --night:   #050816;
  --night-2: #0A1024;
  --navy:    #0C1736;
  --navy-2:  #132257;

  /* Light — brand blue from the logo, lifted */
  --blue:    #2F6BFF;
  --blue-2:  #5B8DFF;
  --blue-d:  #1B4DD1;
  --sky:     #8CC1FF;
  --ice:     #E8F0FF;

  /* The thread — one warm accent */
  --gold:    #F4B73F;
  --gold-2:  #FFD98A;
  --coral:   #FF5C4D;

  /* Paper */
  --white:   #FFFFFF;
  --paper:   #F4F6FC;
  --paper-2: #EAEEF8;

  /* Ink (text on paper) */
  --ink:     #0B1330;
  --ink-2:   #3C4766;
  --ink-3:   #6A7491;

  --line:    rgba(11, 19, 48, .10);
  --line-d:  rgba(255, 255, 255, .13);
  --on-dark: rgba(255, 255, 255, .78);
  --on-dark-2: rgba(255, 255, 255, .56);

  --ok: #1F9D63;
  --err: #FF7A6B;

  /* Type */
  --f-display: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-h1: clamp(2.5rem, 1.1rem + 5.6vw, 6.2rem);
  --fs-h2: clamp(2rem, 1.1rem + 3.5vw, 4rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .6vw, 1.55rem);
  --fs-lead: clamp(1.06rem, .98rem + .42vw, 1.3rem);

  /* Shape + space */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 44px;
  --gutter: clamp(1.1rem, .5rem + 2.4vw, 2.75rem);
  --wrap: 1280px;
  --wrap-narrow: 960px;
  --section-y: clamp(4.5rem, 2.5rem + 7vw, 9.5rem);
  --header-h: 72px;

  --shadow-1: 0 1px 2px rgba(11, 19, 48, .06), 0 10px 28px -8px rgba(11, 19, 48, .12);
  --shadow-2: 0 2px 6px rgba(11, 19, 48, .08), 0 34px 70px -18px rgba(11, 19, 48, .34);
  --shadow-glow: 0 24px 70px -14px rgba(47, 107, 255, .5);

  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io:  cubic-bezier(.65, 0, .35, 1);
}

/* ---------- 2. Reset + base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  background: var(--night);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 1.0625rem/1.72 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
figure { margin: 0; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 999;
  background: var(--gold); color: var(--night); padding: .8rem 1.2rem; border-radius: 999px;
  font: 600 .9rem/1 var(--f-body); transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.muted { opacity: .62; }
.hide  { display: none !important; }
.relative { position: relative; }

/* ---------- 3. Layout primitives ------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .5); }

.section--light { background: var(--white); color: var(--ink); }
.section--paper { background: var(--paper);  color: var(--ink); }
.section--dark  { background: var(--night);  color: #fff; }
.section--navy  { background: linear-gradient(180deg, var(--navy) 0%, var(--night-2) 100%); color: #fff; }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--dark p, .section--dark li, .section--navy p, .section--navy li { color: var(--on-dark); }

/* A section that slides up over the one before it, like a sheet of cloth */
.sheet {
  z-index: 3;
  margin-top: calc(-1 * var(--r-xl));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.grid { display: grid; gap: clamp(1rem, .5rem + 1.6vw, 2rem); }
.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)); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 1.15rem; }
.text-center { text-align: center; }
.center { margin-inline: auto; }

.headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 1.2rem + 3vw, 4rem); }
.headrow .sec-head { margin-bottom: 0; }

/* ---------- 4. Typography ------------------------------------------- */
.h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.06; letter-spacing: -.035em; }
.h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-2); }
.section--dark .lead, .section--navy .lead, .banner .lead { color: var(--on-dark); }

.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.2rem + 3vw, 4rem); }
.sec-head .h2 + .lead, .sec-head h2 + .lead { margin-top: 1.2rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .kicker { justify-content: center; }

.kicker {
  display: inline-flex; align-items: center; gap: .65rem;
  font: 500 .72rem/1 var(--f-mono);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-d);
  margin: 0 0 1.1rem;
}
.kicker::before {
  content: ""; width: 7px; height: 7px; flex: none;
  background: currentColor; transform: rotate(45deg); border-radius: 1px;
}
.kicker--light { color: var(--sky); }
.kicker__dot { display: none; }

/* Gradient emphasis */
.grad, .grad-dark { color: transparent; -webkit-background-clip: text; background-clip: text; }
.grad      { background-image: linear-gradient(96deg, #9CCBFF 0%, #D9E6FF 42%, #FFD98A 100%); }
.grad-dark { background-image: linear-gradient(96deg, #1B4DD1 0%, #4C86FF 52%, #E39A14 100%); }
/* once split into words, each word carries the gradient itself */
.grad.is-split, .grad-dark.is-split { background: none; color: inherit; }
.grad.is-split .w > i      { background-image: linear-gradient(96deg, #9CCBFF 0%, #D9E6FF 42%, #FFD98A 100%); background-size: calc(var(--gn, 1) * 100%) 100%; background-position: calc(var(--gk, 0) / max(var(--gn, 1) - 1, 1) * 100%) 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-dark.is-split .w > i { background-image: linear-gradient(96deg, #1B4DD1 0%, #4C86FF 52%, #E39A14 100%);  background-size: calc(var(--gn, 1) * 100%) 100%; background-position: calc(var(--gk, 0) / max(var(--gn, 1) - 1, 1) * 100%) 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* word-by-word rise (JS wraps words in .w > i) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .16em; margin-bottom: -.16em; }
.w > i { display: inline-block; font-style: inherit; }
.split-ready .w > i { transform: translateY(112%); transition: transform .9s var(--ease-out); transition-delay: var(--wd, 0s); }
.split-ready.is-in .w > i { transform: none; }

/* ---------- 5. Buttons + links -------------------------------------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.55rem;
  background: var(--b-bg); color: var(--b-fg);
  border: 1px solid var(--b-bd); border-radius: 999px;
  font: 600 .875rem/1 var(--f-body); letter-spacing: .005em;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn::after {              /* sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .8s var(--ease-out);
}
.btn:hover::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary { --b-bg: linear-gradient(135deg, #FFD98A, #F4B73F 60%, #EBA21C); --b-fg: #1A1203; box-shadow: 0 10px 30px -8px rgba(244,183,63,.55); background: var(--b-bg); }
.btn--primary:hover { box-shadow: 0 16px 40px -8px rgba(244,183,63,.7); }
.btn--ghost   { --b-bg: rgba(255,255,255,.06); --b-fg: #fff; --b-bd: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--ghost:hover { --b-bg: rgba(255,255,255,.16); --b-bd: rgba(255,255,255,.5); }
.btn--dark    { --b-bg: var(--ink); --b-fg: #fff; box-shadow: 0 12px 30px -10px rgba(11,19,48,.6); }
.btn--dark:hover { --b-bg: var(--blue-d); }
.btn--outline { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line); }
.btn--outline:hover { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }
.btn--sm { padding: .7rem 1.15rem; font-size: .8rem; }
.btn--block { width: 100%; }

.tlink {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 500 .74rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-d); padding-bottom: .4rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size .5s var(--ease-out), color .25s;
}
.section--dark .tlink, .section--navy .tlink, .site-footer .tlink { color: var(--gold-2); }
.tlink:hover { background-size: 100% 1px; }
.tlink [aria-hidden] { transition: transform .35s var(--ease-out); }
.tlink:hover [aria-hidden] { transform: translateX(5px); }

.round-btn {
  width: 52px; height: 52px; display: grid; place-items: center; flex: none;
  border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease-out), background .25s, color .25s, border-color .25s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.section--dark .round-btn, .section--navy .round-btn { background: rgba(255,255,255,.07); color: #fff; border-color: var(--line-d); box-shadow: none; }
.section--dark .round-btn:hover, .section--navy .round-btn:hover { background: var(--gold); color: #1A1203; border-color: var(--gold); }

/* segmented control (per day / per month) */
.seg { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line-d); }
.seg button { padding: .6rem 1.2rem; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark); font: 500 .74rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s; }
.seg button.is-active { background: var(--gold); color: #1A1203; }

/* ---------- 6. Top scroll bar --------------------------------------- */
.scrollbar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scrollbar i { display: block; height: 100%; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; background: linear-gradient(90deg, var(--blue), var(--sky), var(--gold)); }

/* ---------- 7. Header ----------------------------------------------- */
.site-header {
  position: fixed; inset: 14px 0 auto 0; z-index: 100;
  display: flex; justify-content: center; padding-inline: 14px;
  pointer-events: none;
  transition: transform .55s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-140%); }
.site-header__bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 1.2rem;
  width: min(var(--wrap), 100%);
  padding: .55rem .6rem .55rem 1.35rem;
  border-radius: 999px;
  background: rgba(8, 12, 30, .55);
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
          backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 14px 44px -14px rgba(0,0,0,.6);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.site-header.is-stuck .site-header__bar { background: rgba(6, 9, 24, .82); border-color: rgba(255,255,255,.16); }

.brand { display: flex; flex-direction: column; gap: .32rem; flex: none; }
.brand__logo { height: 26px; width: auto; transition: transform .5s var(--ease-out); }
.brand:hover .brand__logo { transform: translateY(-1px) scale(1.02); }
.brand__sub { font: 500 .56rem/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

.primary-nav { display: flex; gap: .1rem; margin-inline: auto; }
.primary-nav__link {
  position: relative; padding: .62rem .82rem; border-radius: 999px;
  font: 500 .8125rem/1 var(--f-body); color: rgba(255,255,255,.76);
  transition: color .2s, background .25s;
}
.primary-nav__link:hover { color: #fff; background: rgba(255,255,255,.09); }
.primary-nav__link.is-current { color: #fff; background: rgba(255,255,255,.14); }
.primary-nav__link.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  background: var(--gold); border-radius: 50%;
}

.site-header__tools { display: flex; align-items: center; gap: .55rem; }

.mo-toggle {
  display: inline-flex; align-items: center; gap: .5rem; padding: .62rem .85rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: rgba(255,255,255,.82);
  font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s;
}
.mo-toggle:hover { background: rgba(255,255,255,.12); color: #fff; }
.mo-toggle__dot { width: 8px; height: 8px; border-radius: 50%; background: #6b7390; transition: background .25s, box-shadow .25s; }
[data-motion="full"] .mo-toggle__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(244,183,63,.2); }
[data-motion="full"] .mo-toggle__off, [data-motion="reduced"] .mo-toggle__on { display: none; }
.mo-toggle--block { width: 100%; justify-content: center; padding: .95rem; font-size: .7rem; }

.burger {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 0;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1200px) {
  .primary-nav, .site-header__cta, .site-header__tools > .mo-toggle { display: none; }
  .burger { display: inline-block; }
  .site-header__bar { justify-content: space-between; padding-right: .5rem; }
}

/* ---------- 8. Full-screen menu ------------------------------------- */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: radial-gradient(80% 60% at 90% 0%, rgba(47,107,255,.32), transparent 60%), rgba(5, 8, 22, .96);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  visibility: hidden; opacity: 0;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.menu__in { height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 2rem; padding: calc(var(--header-h) + 36px) var(--gutter) 2.4rem; perspective: 1000px; }
.menu__nav { display: grid; }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem; padding: .5rem 0;
  font: 600 clamp(2rem, 7vw, 3.2rem)/1.1 var(--f-display); letter-spacing: -.03em; color: #fff;
  border-bottom: 1px solid var(--line-d);
  opacity: 0; transform-origin: 50% 0; transform: rotateX(-70deg) translateY(30px);
}
.menu.is-open .menu__link { animation: menuIn .8s var(--ease-out) forwards; animation-delay: calc(.07s * var(--i) + .1s); }
.menu__link:hover, .menu__link.is-current { color: var(--gold-2); }
.menu__n { font: 500 .7rem/1 var(--f-mono); letter-spacing: .2em; color: var(--gold); }
.menu__foot { margin-top: auto; display: grid; gap: .8rem; max-width: 460px; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- 9. Hero — the scroll-driven 3D deck ---------------------- */
.hero { position: relative; background: var(--night); color: #fff; }
.hero__track { position: relative; }
.hero__pin {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 32px) 0 calc(8.5rem + var(--r-xl));
  overflow: hidden; isolation: isolate;
}
.fx3d .hero__track { height: calc(100svh + (var(--slides) - 1) * 72vh); }
.fx3d .hero__pin   { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; padding-bottom: calc(7.5rem + var(--r-xl)); }

.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(90% 70% at 85% 10%, #10265f 0%, transparent 60%),
  radial-gradient(70% 60% at 0% 100%, #0b1a45 0%, transparent 62%),
  linear-gradient(180deg, #060a1c, #050816 70%); }
.hero__threads { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,8,22,.86) 0%, rgba(5,8,22,.55) 34%, transparent 62%); }
.hero__orb { position: absolute; border-radius: 50%; opacity: .55; pointer-events: none; }
.hero__orb--a { width: 40vw; height: 40vw; right: -8vw; top: -10vw; background: radial-gradient(circle, #2f6bff 0%, transparent 65%); }
.hero__orb--b { width: 30vw; height: 30vw; left: -8vw; bottom: -12vw; background: radial-gradient(circle, rgba(244,183,63,.55) 0%, transparent 65%); opacity: .32; }
.hero__grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(1.5rem, 4vw, 5rem); width: 100%; }
.hero__copy-col { position: relative; z-index: 3; }
.hero__copies { display: grid; }
.hero__copy {
  grid-area: 1 / 1; align-self: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(28px);
  transition: opacity .55s var(--ease), transform .9s var(--ease-out), visibility 0s linear .55s;
}
.hero__copy.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: .12s, .12s, 0s; }

.hero__title .ln { display: block; }
.hero__title { font: 700 clamp(2.4rem, 1rem + 4.2vw, 4.9rem)/1.04 var(--f-display); letter-spacing: -.045em; color: #fff; text-wrap: balance; }
.hero__sub { margin-top: 1.5rem; max-width: 52ch; font-size: var(--fs-lead); color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.hero__copy .kicker { margin-bottom: 1.4rem; }

.hero__ctrl { display: flex; align-items: center; gap: 1rem; margin-top: 2.4rem; }
.fx3d .hero__ctrl { display: none; }
.hero__arrow { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-d); background: rgba(255,255,255,.06); color: #fff; transition: background .25s, color .25s, border-color .25s; }
.hero__arrow svg { width: 18px; height: 18px; }
.hero__arrow:hover { background: var(--gold); color: #1A1203; border-color: var(--gold); }
.hero__dots { display: flex; gap: .5rem; }
.hero__dot { width: 36px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.22); transition: background .3s, width .4s var(--ease-out); }
.hero__dot.is-active { background: var(--gold); width: 56px; }

/* the stage + deck of photographs */
.hero__stage { --stage-h: max(360px, min(60vh, 600px)); position: relative; z-index: 2; height: var(--stage-h); perspective: 1600px; perspective-origin: 50% 42%; }
.deck { position: absolute; inset: 0; transform-style: preserve-3d; }
.deck__card {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: min(100%, 640px, calc(var(--stage-h) * 1.25)); aspect-ratio: 5 / 4;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy);
  box-shadow: 0 50px 90px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.14);
  backface-visibility: hidden;
  opacity: 0; transition: opacity .6s var(--ease);
}
.deck__card.is-active { opacity: 1; }
.fx3d .deck__card { opacity: 1; transition: none; will-change: transform, opacity; }
.deck__card img { width: 100%; height: 100%; object-fit: cover; }
.deck__card figcaption {
  position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: .8rem;
  padding: 3rem 1.5rem 1.3rem;
  background: linear-gradient(0deg, rgba(5,8,22,.88), transparent);
  font: 500 .7rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
.deck__card figcaption span { color: var(--gold); }
.deck__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, transparent 38%, transparent 62%, rgba(255,255,255,.08) 100%); mix-blend-mode: soft-light; }

.deck__chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1.15rem; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.6);
  font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .06em; color: #fff;
  transform: translateZ(var(--z, 0px));
}
.deck__chip b { font: 700 1.6rem/1 var(--f-display); letter-spacing: -.03em; color: var(--gold-2); }
.deck__chip span { max-width: 14ch; color: var(--on-dark); }
.deck__chip svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.deck__chip--a { left: 0; top: 4%; }
.deck__chip--b { right: 0; bottom: 8%; }
.deck__chip--b span { max-width: 22ch; }

.hero__hud { position: absolute; z-index: 4; right: calc(var(--gutter) + 62px); bottom: calc(5.4rem + var(--r-xl)); display: flex; align-items: center; gap: 1.1rem; font: 500 .72rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); }
.hero__count b { color: #fff; font-weight: 500; }
.hero__bar { width: 90px; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; }
.hero__bar i { display: block; height: 100%; width: 100%; transform: scaleX(var(--hp, 0)); transform-origin: 0 50%; background: linear-gradient(90deg, var(--sky), var(--gold)); }
.hero__cue { display: inline-flex; align-items: center; gap: .5rem; }
.hero__cue svg { width: 16px; height: 16px; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%,100% { transform: translateY(-2px); opacity: .5; } 50% { transform: translateY(4px); opacity: 1; } }

.hero__specs { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(1.4rem + var(--r-xl)); display: flex; gap: .7rem; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: .8rem; padding: .6rem 1.1rem .6rem .6rem;
  border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line-d);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background .3s, border-color .3s, transform .4s var(--ease-out);
}
.chip:hover { background: rgba(255,255,255,.13); border-color: rgba(244,183,63,.5); transform: translateY(-3px); }
.chip__ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; }
.chip__ico svg { width: 18px; height: 18px; }
.chip__t { display: grid; line-height: 1.25; }
.chip__k { font: 500 .66rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: .25rem; }
.chip__v { font: 600 1rem/1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.chip__v small { font: 400 .72rem var(--f-body); color: var(--on-dark-2); letter-spacing: 0; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 1rem; align-content: center; }
  .hero__stage { --stage-h: 44vh; position: absolute; inset: auto -8vw 4.5rem auto; width: 70vw; opacity: .3; z-index: 1; pointer-events: none; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(5,8,22,.3) 0%, rgba(5,8,22,.72) 45%, rgba(5,8,22,.88) 100%); }
  .deck__chip { display: none; }
  .hero__copy-col { max-width: 36rem; }
  .hero__hud { display: none; }
}
@media (max-width: 560px) {
  .hero__pin { padding-bottom: 11rem; }
  .hero__sub { font-size: 1rem; margin-top: 1.1rem; }
  .hero__actions { flex-wrap: nowrap; gap: .5rem; margin-top: 1.5rem; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; padding: .9rem .6rem; font-size: .8rem; }
  .hero__actions .btn svg { display: none; }
  .hero__specs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; bottom: calc(58px + env(safe-area-inset-bottom) + .9rem); gap: .5rem; }
  .hero__specs::-webkit-scrollbar { display: none; }
  .chip { flex: none; padding-right: .85rem; }
  .chip__ico { width: 32px; height: 32px; }
  .chip__v { font-size: .88rem; }
  .hero__stage { --stage-h: 34vh; inset: auto -22vw 9rem auto; width: 92vw; opacity: .26; }
  .brand__logo { height: 22px; }
  .site-header__bar { padding-left: 1.1rem; }
}

/* ---------- 10. Trust — buyers + audits ------------------------------ */
.trust { padding-top: calc(var(--r-xl) + 2.4rem); padding-bottom: 3.4rem; overflow: hidden; }
.trust__head { display: flex; align-items: baseline; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.trust__head .kicker { margin: 0; }
.trust__lead { margin: 0; max-width: 62ch; color: var(--ink-2); font-size: .98rem; }
.trust__rows { display: grid; gap: .6rem; }
.fx3d .trust__rows {
  transform: perspective(1200px) rotateX(calc(var(--e, 1) * 15deg)) scale(calc(.95 + (1 - var(--e, 1)) * .05));
  transform-origin: 50% 0; will-change: transform;
}

/* auto-scrolling logo rail: two copies slide by exactly half the track */
.logorail { position: relative; overflow: hidden; padding-block: .5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logorail__track { display: flex; width: max-content; align-items: center; gap: clamp(.9rem, 2vw, 1.5rem); animation: logoslide var(--speed, 42s) linear infinite; animation-direction: var(--dir, reverse); }
.logorail:hover .logorail__track, .logorail:focus-within .logorail__track { animation-play-state: paused; }
@keyframes logoslide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.logorail__item {
  flex: none; width: clamp(150px, 15vw, 210px); height: clamp(72px, 7vw, 96px);
  display: grid; place-items: center; padding: .5rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-1);
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.logorail__item:hover { transform: translateY(-5px) scale(1.03); box-shadow: var(--shadow-2); }
.logorail__item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logorail__badge { font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
[data-motion="reduced"] .logorail { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
[data-motion="reduced"] .logorail__track { animation: none; }

/* ---------- 11. About ------------------------------------------------ */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2.2rem, 5vw, 6.5rem); align-items: center; }
.about__links { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.2rem; }
.about .h2 { margin-bottom: 1.6rem; max-width: 16ch; }

.about__visual { position: relative; padding: 0 0 2rem; transform-style: preserve-3d; }
.about__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 4 / 3.1; background: var(--paper-2); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12) translate3d(0, var(--shift, 0px), 0); }
.about__ring {
  position: absolute; z-index: -1; right: -8%; top: -10%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(47,107,255,.4);
  box-shadow: inset 0 0 0 28px rgba(47,107,255,.05);
}
.float-card {
  position: absolute; z-index: 2; padding: 1rem 1.3rem; border-radius: 20px;
  background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -20px rgba(11,19,48,.4);
  transform: translateZ(var(--z, 0px));
}
.float-card b { display: block; font: 700 2rem/1 var(--f-display); letter-spacing: -.04em; color: var(--ink); }
.float-card span { font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.float-card--a { left: -4%; bottom: 0; }
.float-card--b { right: -3%; top: 14%; background: linear-gradient(135deg, #12286e, #0A1535); border-color: rgba(255,255,255,.14); }
.float-card--b b { color: var(--gold-2); }
.float-card--b span { color: var(--on-dark-2); }

/* pointer-tilt cards (JS sets --rx / --ry) */
[data-tilt] { transform-style: preserve-3d; }
.fx3d [data-tilt] { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out); }
.fx3d [data-tilt].is-tilting { transition: transform .08s linear; will-change: transform; }
.tilt-glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), transparent 55%); mix-blend-mode: soft-light; z-index: 5; }
.is-tilting .tilt-glare { opacity: 1; }

/* ---------- 12. Capacity — 3D slabs ---------------------------------- */
.capacity { overflow: hidden; background: linear-gradient(180deg, var(--night), #08112e 55%, var(--night)); }
.capacity__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 45% at 50% 38%, rgba(47,107,255,.28), transparent 70%), radial-gradient(30% 30% at 12% 90%, rgba(244,183,63,.14), transparent 70%); }
.capacity .wrap { position: relative; }

.slabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); perspective: 1800px; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.slabs:has(.slab:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.slab {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.03) 60%);
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.2);
  transform-style: preserve-3d;
  transition: border-color .4s, background .4s;
}
.fx3d .slab {
  transform:
    perspective(1500px)
    translate3d(0, calc(var(--fan, 0) * 70px), calc(var(--fan, 0) * -260px))
    rotateY(calc(var(--fan, 0) * var(--k, 0) * -42deg + var(--ry, 0deg)))
    rotateX(calc(var(--fan, 0) * 18deg + var(--rx, 0deg)));
  opacity: calc(1 - var(--fan, 0) * .55);
  will-change: transform, opacity;
}
.slab:hover { border-color: rgba(244,183,63,.55); background: linear-gradient(165deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 60%); }
.slab::before {            /* a thread of light along the top edge */
  content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent); opacity: .8;
}
.slab__no { position: absolute; right: 1.4rem; top: 1.2rem; font: 500 .7rem/1 var(--f-mono); letter-spacing: .2em; color: var(--on-dark-2); }
.slab__icon { width: 52px; height: 52px; padding: 13px; border-radius: 16px; margin-bottom: 1.6rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; box-shadow: 0 14px 30px -10px rgba(47,107,255,.8); transform: translateZ(40px); }
.slab__label { font: 500 .74rem/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-2); transform: translateZ(28px); }
.slab__value {
  margin-top: .9rem; font: 700 clamp(2.6rem, 1.4rem + 3.8vw, 4.8rem)/1 var(--f-display); letter-spacing: -.05em;
  background: linear-gradient(180deg, #fff 30%, #9CCBFF); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateZ(60px); transition: opacity .28s var(--ease), transform .28s var(--ease);
  font-variant-numeric: tabular-nums;
}
.slab__unit { margin-top: .5rem; font: 500 .8rem/1 var(--f-mono); letter-spacing: .12em; color: var(--gold-2); transform: translateZ(30px); transition: opacity .28s var(--ease); }
.slab__note { margin-top: 1.1rem; font-size: .9rem; color: var(--on-dark-2); line-height: 1.55; }
.slab.is-swapping .slab__value, .slab.is-swapping .slab__unit { opacity: 0; transform: translateY(-10px); }
.slab__glare { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), rgba(140,193,255,.3), transparent 60%); }
.slab.is-tilting .slab__glare { opacity: 1; }
@media (max-width: 900px) { .slabs, .slabs:has(.slab:nth-child(4)) { grid-template-columns: 1fr; } .fx3d .slab { transform: none; opacity: 1; } }

.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 3rem); padding-top: clamp(2rem, 4vw, 3.4rem); border-top: 1px solid var(--line-d); }
.counter { position: relative; text-align: center; }
.counter + .counter::before { content: ""; position: absolute; left: calc(-1 * clamp(.6rem, 1.5vw, 1.5rem)); top: 14%; bottom: 14%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-d), transparent); }
.counter__v { display: flex; justify-content: center; align-items: baseline; gap: .04em; font: 700 clamp(2.6rem, 1.4rem + 4.4vw, 5rem)/1 var(--f-display); letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums; }
.counter__v .pre, .counter__v .suf { color: var(--gold); }
.counter__l { margin-top: .9rem; font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }
.section--light .counter__v, .section--paper .counter__v { color: var(--ink); }
.section--light .counter__v .pre, .section--light .counter__v .suf, .section--paper .counter__v .pre, .section--paper .counter__v .suf { color: var(--blue-d); }
.section--light .counter__l, .section--paper .counter__l { color: var(--ink-3); }
.section--light .counters, .section--paper .counters { border-top-color: var(--line); }
@media (max-width: 700px) { .counters { grid-template-columns: 1fr; } .counter + .counter::before { display: none; } }

/* ---------- 13. Products — the 3D ring ------------------------------- */
.ringsec { overflow-x: clip; padding-bottom: calc(var(--section-y) * .7); }
.ring { position: relative; --cw: clamp(200px, 22vw, 300px); }

/* static fallback: a plain responsive grid */
.ring__spin { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.6rem); width: min(var(--wrap), 100%); margin: 0 auto; padding-inline: var(--gutter); }
.ring__ui, .ring__floor { display: none; }
@media (max-width: 1020px) { .ring__spin { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .ring__spin { grid-template-columns: 1fr; } }

.rcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-1); color: var(--ink);
  transition: box-shadow .4s, border-color .4s, transform .5s var(--ease-out);
}
.rcard:hover { box-shadow: var(--shadow-2); border-color: rgba(47,107,255,.35); }
.rcard__fig { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #fff, var(--paper-2)); overflow: hidden; }
.rcard__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.rcard:hover .rcard__fig img { transform: scale(1.07); }
.rcard__tag { position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .4rem .7rem; border-radius: 999px; background: rgba(8,12,30,.82); color: var(--gold-2); font: 500 .66rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; }
.rcard__body { display: grid; gap: .3rem; padding: 1.1rem 1.25rem 1.3rem; position: relative; }
.rcard__no { font: 500 .66rem/1 var(--f-mono); letter-spacing: .2em; color: var(--blue-d); }
.rcard__name { font: 600 1.12rem/1.2 var(--f-display); letter-spacing: -.02em; }
.rcard__blurb { font-size: .85rem; line-height: 1.5; color: var(--ink-3); }

/* 3D: cards orbit a vertical axis as the section scrolls past */
.fx3d .ring__stage { position: relative; height: clamp(430px, 50vw, 580px); perspective: 1900px; perspective-origin: 50% 36%; margin-top: 1rem; }
.fx3d .ring__spin { position: absolute; inset: 0; display: block; width: auto; margin: 0; padding: 0; transform-style: preserve-3d; will-change: transform; }
.fx3d .ring__spin .rcard { position: absolute; left: 50%; top: 46%; width: var(--cw); translate: -50% -50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: box-shadow .4s, border-color .4s; will-change: transform, opacity; }
.fx3d .ring__spin .rcard.is-front { box-shadow: 0 40px 80px -24px rgba(47,107,255,.55), var(--shadow-2); border-color: rgba(47,107,255,.5); }
.fx3d .ring__floor { display: block; position: absolute; left: 50%; bottom: 3%; width: min(90%, 900px); height: 120px; translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(11,19,48,.28), transparent 70%); filter: blur(6px); pointer-events: none; }
.fx3d .ring__ui { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 1.2rem; }
.ring__now { margin: 0; min-width: 12ch; text-align: center; font: 600 1.3rem/1.2 var(--f-display); letter-spacing: -.02em; }
.fx3d .ring { cursor: grab; touch-action: pan-y; }
.fx3d .ring.is-dragging { cursor: grabbing; }

/* ---------- 14. Production journey — the pinned drum ----------------- */
.journey { position: relative; color: #fff; background: linear-gradient(180deg, var(--night) 0%, var(--navy) 50%, var(--night-2) 100%); }
.journey__track { position: relative; }
.journey__pin { position: relative; padding-block: var(--section-y); overflow: hidden; isolation: isolate; }
.fx3d .journey__track { height: calc(100svh + var(--n) * 46vh); }
.fx3d .journey__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 1rem) 2rem; }
.journey__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 55% at 80% 50%, rgba(47,107,255,.34), transparent 70%), radial-gradient(30% 40% at 5% 10%, rgba(244,183,63,.12), transparent 70%); }
.journey__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; width: 100%; }
.journey .h2 { color: #fff; margin-bottom: 1.2rem; }
.journey .lead { color: var(--on-dark); max-width: 46ch; }

.journey__now { display: none; align-items: flex-start; gap: 1.2rem; margin-top: 2rem; padding: 1.3rem 1.5rem; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid var(--line-d); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.fx3d .journey__now { display: flex; }
.journey__no { font: 700 3rem/1 var(--f-display); letter-spacing: -.06em; background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.journey__now h3 { font-size: 1.4rem; margin-bottom: .35rem; color: #fff; }
.journey__now p { margin: 0; font-size: .95rem; color: var(--on-dark); }

.journey__list { display: none; list-style: none; padding: 0; margin: 1.4rem 0 0; flex-wrap: wrap; gap: .5rem; }
.fx3d .journey__list { display: flex; }
.journey__item button { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem .55rem .6rem; border-radius: 999px; border: 1px solid var(--line-d); background: transparent; color: var(--on-dark-2); font: 500 .8rem/1 var(--f-body); transition: background .3s, color .3s, border-color .3s; }
.journey__item button span { font: 500 .66rem/1 var(--f-mono); letter-spacing: .12em; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.journey__item button:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.journey__item.is-active button { background: var(--gold); border-color: var(--gold); color: #1A1203; }
.journey__item.is-active button span { background: rgba(26,18,3,.14); }

/* static fallback: all steps shown as a card grid */
.drumwrap { position: relative; }
.drum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.face { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line-d); background: var(--navy-2); aspect-ratio: 3 / 2; }
.face img { width: 100%; height: 100%; object-fit: cover; }
.face figcaption { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: .8rem; padding: 3rem 1.3rem 1.1rem; background: linear-gradient(0deg, rgba(5,8,22,.92), transparent); font: 600 1.1rem/1.2 var(--f-display); color: #fff; letter-spacing: -.02em; }
.face figcaption span { font: 500 .66rem/1 var(--f-mono); letter-spacing: .2em; color: var(--gold); }
.face--icon { background: radial-gradient(80% 80% at 30% 20%, #1c3a8f, #0b1740 70%); }
.face__art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.face__art svg { width: 28%; height: auto; stroke-width: 1.1; filter: drop-shadow(0 12px 30px rgba(47,107,255,.7)); }
.face__desc { display: none; }
html:not(.fx3d) .face__desc { display: block; position: absolute; left: 1.3rem; right: 1.3rem; bottom: .85rem; margin: 0; font-size: .8rem; line-height: 1.45; color: rgba(255,255,255,.72); }
html:not(.fx3d) .face figcaption { padding-bottom: 3.4rem; }
.drumwrap__pointer { display: none; }

.fx3d .drumwrap { --fw: clamp(250px, 34vw, 470px); --fh: calc(var(--fw) * .6); height: min(76vh, 600px); display: grid; place-items: center; perspective: 1700px; perspective-origin: 50% 50%; }
.fx3d .drum { position: relative; display: block; width: var(--fw); height: var(--fh); transform-style: preserve-3d; will-change: transform; }
.fx3d .face { position: absolute; inset: 0; aspect-ratio: auto; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 18px 36px -14px rgba(0,0,0,.65); will-change: transform, opacity; transition: border-color .4s; }
.fx3d .face.is-front { border-color: rgba(244,183,63,.7); box-shadow: 0 0 0 1px rgba(244,183,63,.4), 0 40px 80px -20px rgba(47,107,255,.6); }
.fx3d .drumwrap__pointer { display: block; position: absolute; left: -2.2rem; top: 50%; width: 2rem; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.fx3d .drumwrap__pointer::after { content: ""; position: absolute; right: -3px; top: -4px; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); border-radius: 2px; }

@media (max-width: 960px) {
  .journey__inner { grid-template-columns: 1fr; gap: 1rem; }
  .fx3d .drumwrap { height: 46vh; --fw: clamp(240px, 70vw, 420px); }
  .fx3d .journey__list { display: none; }
  .fx3d .journey__pin { align-items: flex-start; padding-top: calc(var(--header-h) + .6rem); }
  .journey .lead { display: none; }
  .fx3d .journey__now { margin-top: 1rem; padding: 1rem 1.1rem; }
  .fx3d .journey__no { font-size: 2.2rem; }
  .fx3d .journey__now h3 { font-size: 1.15rem; }
  .fx3d .journey__now p { font-size: .88rem; }
  .fx3d .drumwrap__pointer { display: none; }
}
@media (max-width: 640px) { .drum { grid-template-columns: 1fr; } }

/* ---------- 15. Companies rail --------------------------------------- */
.companies { overflow-x: clip; }
.rail { position: relative; }
.rail__track {
  display: flex; gap: clamp(.9rem, 1.6vw, 1.4rem); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 1.2rem max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 2.4rem;
  scrollbar-width: none; cursor: grab;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__track.is-dragging * { pointer-events: none; }
.rail__nav { display: flex; justify-content: flex-end; gap: .6rem; }
.co {
  position: relative; flex: 0 0 clamp(270px, 27vw, 370px); height: clamp(380px, 38vw, 480px);
  border-radius: var(--r-md); overflow: hidden; isolation: isolate; color: #fff; scroll-snap-align: start; background: var(--navy);
  box-shadow: var(--shadow-1); transition: box-shadow .5s;
}
.co:hover { box-shadow: var(--shadow-2); }
.co__media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.1s var(--ease); }
.co:hover .co__media { transform: scale(1.1); }
.co__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,8,22,.15) 15%, rgba(5,8,22,.94) 100%); }
.co::after { content: ""; position: absolute; inset: 12px; border-radius: calc(var(--r-md) - 8px); border: 1px solid rgba(244,183,63,.7); opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); pointer-events: none; }
.co:hover::after { opacity: 1; transform: none; }
.co__body { position: absolute; inset: auto 0 0 0; padding: 1.6rem; display: grid; gap: .5rem; transform: translateZ(40px); }
.co__kicker { font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.co__name { font: 600 1.35rem/1.2 var(--f-display); letter-spacing: -.02em; }
.co__text { font-size: .88rem; line-height: 1.55; color: rgba(255,255,255,.72); }
.co__go { display: inline-flex; align-items: center; gap: .5rem; margin-top: .6rem; font: 500 .66rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); transform: translateY(10px); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s; }
.co__go svg { width: 14px; height: 14px; }
.co:hover .co__go, .co:focus-visible .co__go { transform: none; opacity: 1; }
@media (hover: none) { .co__go { opacity: 1; transform: none; } }

/* ---------- 16. Facility — sticky stage + narrative ------------------ */
.facility { overflow: clip; background: linear-gradient(180deg, var(--night), #070e29 60%, var(--night)); }
.facility__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 10% 20%, rgba(47,107,255,.26), transparent 70%); }
.facility .wrap { position: relative; }
.facility__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.facility__stage-wrap { position: sticky; top: 104px; perspective: 1600px; }
.facility__stage {
  position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12);
  transform-style: preserve-3d;
}
.fx3d .facility__stage { transform: rotateY(calc(var(--fry, 0) * 1deg)) rotateX(calc(var(--frx, 0) * 1deg)); transition: transform .15s linear; will-change: transform; }
.facility__stage::after { content: ""; position: absolute; inset: 14px; z-index: 3; pointer-events: none; border-radius: calc(var(--r-lg) - 12px); border: 1px solid rgba(140,193,255,.5); }
.facility__plate { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.facility__plate.is-on { opacity: 1; transform: scale(1); }
.facility__wash { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 50%, rgba(5,8,22,.78)); }
.facility__count { position: absolute; left: 22px; bottom: 18px; z-index: 4; font: 500 .68rem/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--sky); }

.facility__steps { display: grid; gap: clamp(1rem, 3vh, 1.8rem); }
.fstep {
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.3rem); border-radius: var(--r-md);
  border: 1px solid var(--line-d); background: rgba(255,255,255,.035);
  transition: border-color .5s var(--ease), background .5s var(--ease), transform .6s var(--ease-out);
}
.fstep.is-current { border-color: rgba(91,141,255,.8); background: linear-gradient(135deg, rgba(47,107,255,.2), rgba(47,107,255,.04)); transform: translateX(10px); }
.fstep__k { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; font: 500 .66rem/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--sky); }
.fstep__k i { display: block; width: 22px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.fstep.is-current .fstep__k i { width: 44px; }
.fstep h3 { font-size: var(--fs-h3); color: #fff; }
.fstep p { margin-top: .6rem; color: var(--on-dark); font-size: .96rem; }
@media (max-width: 900px) { .facility__in { grid-template-columns: 1fr; } .facility__stage-wrap { position: relative; top: 0; } .fstep.is-current { transform: none; } }

/* ---------- 17. Gallery wall — flattens as it arrives ---------------- */
.wall { overflow-x: clip; }
.wall__stage { perspective: 1700px; perspective-origin: 50% 0; }
.wall__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); transform-style: preserve-3d; transform-origin: 50% 0; }
.fx3d .wall__grid { transform: rotateX(calc(var(--flat, 0) * 34deg)) translateZ(calc(var(--flat, 0) * -140px)) scale(calc(1 - var(--flat, 0) * .06)); will-change: transform; }
.wall__item {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--r-md); background: var(--paper-2); cursor: zoom-in;
  box-shadow: var(--shadow-1); transition: box-shadow .5s;
}
.fx3d .wall__item { transform: translateZ(calc(var(--flat, 0) * var(--lift, 0) * 1px)); }
.wall__item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; --lift: 90; }
.wall__item:nth-child(6n+2) { --lift: -30; } .wall__item:nth-child(6n+3) { --lift: 40; } .wall__item:nth-child(6n+4) { --lift: -60; } .wall__item:nth-child(6n+5) { --lift: 20; } .wall__item:nth-child(6n) { --lift: 70; }
.wall__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wall__item:hover { box-shadow: var(--shadow-2); }
.wall__item:hover img { transform: scale(1.08); }
.wall__item::after { content: ""; position: absolute; inset: 10px; border-radius: calc(var(--r-md) - 6px); border: 1px solid rgba(255,255,255,.7); opacity: 0; transform: scale(1.04); transition: .5s var(--ease-out); pointer-events: none; }
.wall__item:hover::after, .wall__item:focus-visible::after { opacity: 1; transform: none; }
.wall__cap { position: absolute; inset: auto 0 0 0; padding: 2.6rem 1.2rem 1rem; text-align: left; background: linear-gradient(0deg, rgba(5,8,22,.9), transparent); color: #fff; font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; transform: translateY(10px); opacity: 0; transition: .45s var(--ease-out); }
.wall__item:hover .wall__cap, .wall__item:focus-visible .wall__cap { transform: none; opacity: 1; }
@media (hover: none) { .wall__cap { transform: none; opacity: 1; } }
@media (max-width: 720px) {
  .wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall__item:nth-child(6n+1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}

/* ---------- 18. Responsibility mosaic -------------------------------- */
.resp { overflow: clip; }
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.7rem, 1.3vw, 1.1rem); }
.mosaic__item { position: relative; grid-column: span 2; aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: var(--navy-2); box-shadow: 0 30px 60px -28px rgba(0,0,0,.7); }
.mosaic__item--wide { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic__item:hover img { transform: scale(1.06); }
.mosaic__item figcaption { position: absolute; inset: auto 0 0 0; padding: 3rem 1.3rem 1.2rem; background: linear-gradient(0deg, rgba(5,8,22,.95) 15%, rgba(5,8,22,.6) 60%, transparent); color: #fff; }
.mosaic__item figcaption b { display: block; font: 600 1.05rem/1.25 var(--f-display); letter-spacing: -.02em; }
.mosaic__item figcaption p { margin: .4rem 0 0; font-size: .84rem; line-height: 1.55; color: rgba(255,255,255,.76); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease); }
.mosaic__item--wide figcaption p, .mosaic__item:hover figcaption p, .mosaic__item:focus-within figcaption p { max-height: 7em; opacity: 1; }
@media (hover: none) { .mosaic__item figcaption p { max-height: 7em; opacity: 1; } }
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mosaic__item--wide { grid-column: span 4; grid-row: auto; aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .mosaic { grid-template-columns: 1fr; } .mosaic__item, .mosaic__item--wide { grid-column: auto; aspect-ratio: 3 / 2; } }

/* ---------- 19. Leadership quotes ------------------------------------ */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.1rem, 2.4vw, 2.2rem); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.qcard {
  position: relative; overflow: hidden; padding: clamp(2rem, 1.4rem + 2vw, 3.2rem); border-radius: var(--r-lg);
  background: linear-gradient(160deg, #fff, var(--paper)); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: box-shadow .5s;
}
.qcard:hover { box-shadow: var(--shadow-2); }
.qcard__mark { position: absolute; right: 1.6rem; top: -.4rem; font: 700 9rem/1 var(--f-display); color: var(--blue); opacity: .1; pointer-events: none; transform: translateZ(30px); }
.qcard blockquote { margin: 0; font: 400 clamp(1.05rem, .95rem + .5vw, 1.3rem)/1.65 var(--f-body); color: var(--ink); }
.qcard blockquote br + br { display: block; content: ""; margin-top: .6em; }
.qcard__by { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.qcard__photo, .qcard__mono { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; }
.qcard__mono { display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; font: 600 1.1rem var(--f-display); }
.qcard__n { display: block; font: 600 1.05rem/1.2 var(--f-display); letter-spacing: -.02em; }
.qcard__r { font: 500 .66rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-d); }

/* ---------- 20. Quote section, form, contact rows -------------------- */
.quote { overflow: clip; }
.quote__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 100% 0%, rgba(47,107,255,.32), transparent 65%), radial-gradient(40% 50% at 0% 100%, rgba(244,183,63,.14), transparent 70%); }
.quote__in { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
@media (max-width: 960px) { .quote__in { grid-template-columns: 1fr; } }
.quote__copy .h2 { margin-bottom: 1.2rem; }

.reach { display: grid; gap: .8rem; margin-top: 2.2rem; }
.reach__item {
  display: flex; gap: 1.1rem; align-items: center; padding: 1.1rem 1.3rem; border-radius: 18px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-d);
  transition: border-color .35s, background .35s, transform .45s var(--ease-out);
}
a.reach__item:hover { border-color: rgba(244,183,63,.6); background: rgba(255,255,255,.09); transform: translateX(6px); }
.reach__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1A1203; }
.reach__ico svg { width: 20px; height: 20px; }
.reach__k { display: block; font: 500 .66rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.reach__v { display: block; margin-top: .3rem; font: 600 1.05rem/1.3 var(--f-display); letter-spacing: -.01em; color: #fff; word-break: break-word; }
.reach__note { display: block; margin-top: .15rem; font-size: .8rem; color: var(--on-dark-2); }

/* the form — a glass panel on the dark stage */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.18);
}
.form { display: grid; gap: 1.05rem; padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); }
.form__head { display: flex; align-items: center; gap: 1rem; margin-bottom: .4rem; }
.form__head h3 { font-size: 1.3rem; color: #fff; }
.form__head p { margin: .15rem 0 0; font-size: .86rem; color: var(--on-dark-2); }
.form__badge { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; box-shadow: var(--shadow-glow); }
.form__badge svg { width: 22px; height: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .5rem; }
.field > label { font: 500 .66rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }
.field .req { color: var(--gold); }
.input, .textarea, .select {
  width: 100%; padding: .95rem 1.05rem; border-radius: 14px;
  background: rgba(5,8,22,.45); color: #fff; border: 1px solid rgba(255,255,255,.16);
  font-size: .96rem; transition: border-color .25s, box-shadow .25s, background .25s;
}
.input::placeholder, .textarea::placeholder { color: rgba(255,255,255,.34); }
.input:hover, .textarea:hover, .select:hover { border-color: rgba(255,255,255,.3); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--sky); background: rgba(5,8,22,.62); box-shadow: 0 0 0 4px rgba(91,141,255,.25); }
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FFD98A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.05rem center; background-size: 12px; }
.select option { color: #0B1330; }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--err); box-shadow: 0 0 0 3px rgba(255,122,107,.18); }
.field__err { margin: 0; font-size: .8rem; color: var(--err); }
.hp { position: absolute !important; left: -9999px !important; height: 0; opacity: 0; }
.form__note { margin: 0; font-size: .8rem; color: var(--on-dark-2); text-align: center; }
.alert { padding: 1rem 1.2rem; border-radius: 14px; font-size: .93rem; border: 1px solid transparent; color: #fff; }
.alert--ok  { background: rgba(31,157,99,.18); border-color: rgba(31,157,99,.55); }
.alert--err { background: rgba(255,122,107,.14); border-color: rgba(255,122,107,.5); }
.form [data-form-message]:empty { display: none; }
.form button[disabled] { opacity: .7; pointer-events: none; }

/* ---------- 21. CTA band --------------------------------------------- */
.cta { background: var(--night); padding-block: clamp(3rem, 6vw, 6rem) 0; position: relative; }
.cta__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2rem, 1rem + 4vw, 4.5rem); border-radius: var(--r-xl);
  background: radial-gradient(70% 140% at 100% 0%, #2f6bff 0%, transparent 60%), radial-gradient(60% 120% at 0% 100%, #f4b73f33 0%, transparent 60%), linear-gradient(135deg, #0f2268, #0A1535);
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 60px 100px -40px rgba(47,107,255,.6);
}
.cta__threads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .85; }
.cta__copy { max-width: 46ch; }
.cta__copy .kicker { color: var(--gold-2); }
.cta__card h2 { font: 600 clamp(1.7rem, 1.1rem + 2.6vw, 3.1rem)/1.08 var(--f-display); letter-spacing: -.035em; color: #fff; }
.cta__card p { color: var(--on-dark); margin-top: 1rem; }
.cta__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- 22. Footer ------------------------------------------------ */
.site-footer { position: relative; background: var(--night); color: var(--on-dark); padding-top: clamp(3.5rem, 2rem + 4vw, 6rem); overflow: hidden; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.5fr; gap: clamp(1.8rem, 3vw, 3.4rem); position: relative; z-index: 2; }
.site-footer h4 { margin-bottom: 1.3rem; font: 500 .68rem/1 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.site-footer a { transition: color .25s; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .92rem; }
.site-footer__links--plain li span { color: var(--on-dark); }
.site-footer__tag { display: block; margin-bottom: .2rem; font: 500 .66rem/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-2); }
.site-footer__brand p { margin-top: 1.3rem; max-width: 40ch; font-size: .94rem; line-height: 1.75; }
.site-footer .brand__logo { height: 30px; }
.social { display: flex; gap: .5rem; margin-top: 1.6rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-d); border-radius: 50%; transition: background .3s, color .3s, transform .4s var(--ease-out), border-color .3s; }
.social a:hover { background: var(--gold); color: #1A1203; border-color: var(--gold); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; }
.profile-dl { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.6rem; padding: 1rem 1.3rem; border-radius: 18px; border: 1px solid rgba(244,183,63,.4); background: linear-gradient(100deg, rgba(244,183,63,.12), transparent 70%); transition: border-color .3s, transform .4s var(--ease-out); }
.profile-dl:hover { border-color: var(--gold); transform: translateY(-2px); }
.profile-dl__ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1A1203; }
.profile-dl__ico svg { width: 19px; height: 19px; }
.profile-dl__k { display: block; font: 500 .66rem/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.profile-dl__v { display: block; margin-top: .25rem; font: 600 1.02rem var(--f-display); color: #fff; }
.profile-dl__n { display: block; margin-top: .2rem; font: 400 .7rem var(--f-mono); color: var(--on-dark-2); }

.wordmark {
  margin: clamp(2rem, 4vw, 4rem) 0 0; text-align: center; user-select: none; position: relative; z-index: 1;
  font: 700 clamp(3rem, 17.4vw, 16rem)/.8 var(--f-display); letter-spacing: -.06em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.02) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translate3d(0, var(--shift, 0px), 0);
}
.site-footer__bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem 1.8rem; border-top: 1px solid var(--line-d); font: 400 .74rem/1.5 var(--f-mono); letter-spacing: .04em; color: var(--on-dark-2); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- 23. Floating dock ----------------------------------------- */
.dock { position: fixed; z-index: 90; right: 18px; bottom: 22px; display: grid; gap: .55rem; }
.dock a { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(8,12,30,.7); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 36px -12px rgba(0,0,0,.6);
  transition: transform .4s var(--ease-out), background .3s, color .3s; }
.dock a:hover { transform: translateY(-3px) scale(1.06); }
.dock svg { width: 21px; height: 21px; }
.dock .dock__wa { background: #1fb957; border-color: #1fb957; }
.dock .dock__call:hover, .dock .dock__mail:hover { background: var(--blue); border-color: var(--blue); }
.dock .dock__top { opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .35s, transform .4s var(--ease-out), background .3s, color .3s; }
.dock .dock__top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.dock .dock__top:hover { background: var(--gold); color: #1A1203; border-color: var(--gold); }
.dock__label { display: none; }
@media (max-width: 720px) {
  .dock { inset: auto 0 0 0; grid-auto-flow: column; gap: 0; padding-bottom: env(safe-area-inset-bottom); background: rgba(6,9,24,.88); border-top: 1px solid var(--line-d); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .dock a { width: auto; height: 58px; border-radius: 0; border: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; display: flex; flex-direction: column; gap: 4px; font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
  .dock a:hover { transform: none; }
  .dock .dock__wa { background: transparent; color: #4be37e; }
  .dock .dock__top { display: none; }
  .dock__label { display: block; }
  .site-footer { padding-bottom: 58px; }
}

/* ---------- 24. Lightbox ---------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 4vh 4vw;
  background: rgba(3,5,14,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s linear .4s; perspective: 1600px; }
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.lightbox__fig { margin: 0; text-align: center; transform: rotateX(8deg) scale(.94); opacity: 0; transition: transform .7s var(--ease-out), opacity .5s; }
.lightbox.is-open .lightbox__fig { transform: none; opacity: 1; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: 18px; box-shadow: 0 50px 100px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.14); }
.lightbox__cap { margin: 1.1rem 0 0; color: var(--on-dark); font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; }
.lightbox__x, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: #fff; transition: background .25s, color .25s; }
.lightbox__x svg, .lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__x { top: 3vh; right: 3vw; }
.lightbox__nav--prev { left: 2vw; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 2vw; top: 50%; translate: 0 -50%; }
.lightbox__x:hover, .lightbox__nav:hover { background: var(--gold); color: #1A1203; border-color: var(--gold); }

/* ---------- 25. Right-hand section rail (home) ------------------------ */
.railnav { position: fixed; z-index: 80; left: 18px; top: 50%; translate: 0 -50%; display: none; flex-direction: column; gap: .2rem; }
.fx3d .railnav { display: flex; }
.railnav a { position: relative; display: flex; align-items: center; gap: .8rem; height: 22px; font: 500 .66rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: transparent; }
.railnav a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); box-shadow: 0 0 0 1px rgba(8,12,30,.35); transition: transform .35s var(--ease-out), background .3s; }
.railnav a:hover, .railnav a.is-on { color: var(--on-dark); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.railnav a.is-on::before { background: var(--gold); transform: scale(1.7); }
.railnav.on-light a::before { background: rgba(11,19,48,.3); box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.railnav.on-light a:hover, .railnav.on-light a.is-on { color: var(--ink); text-shadow: none; }
.railnav.on-light a.is-on::before { background: var(--blue); }
@media (max-width: 1500px) { .railnav { display: none !important; } }

/* ---------- 26. Inner-page banner ------------------------------------ */
.banner {
  position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff;
  padding: calc(var(--header-h) + clamp(3.2rem, 7vw, 6.5rem)) 0 calc(clamp(3.5rem, 8vw, 7rem) + var(--r-xl));
}
.banner__threads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .75; mix-blend-mode: screen; }
.banner__media { position: absolute; inset: -12% 0; z-index: -3; background-size: cover; background-position: center 40%; opacity: .34; transform: translate3d(0, var(--shift, 0px), 0) scale(1.08); }
.banner__veil { position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(70% 90% at 85% 0%, rgba(47,107,255,.42), transparent 62%), radial-gradient(40% 60% at 0% 100%, rgba(244,183,63,.14), transparent 70%), linear-gradient(180deg, rgba(5,8,22,.45), var(--night) 96%); }
.banner__ghost { position: absolute; z-index: -1; right: -1%; bottom: .08em; pointer-events: none; white-space: nowrap; user-select: none;
  font: 700 clamp(5rem, 22vw, 21rem)/.9 var(--f-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1);
  transform: translate3d(0, var(--shift, 0px), 0); }
.banner__in { position: relative; }
.crumbs { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.6rem; font: 500 .68rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span:last-child { color: var(--gold); }
.banner__title { font: 700 clamp(2.4rem, 1.2rem + 5vw, 5.4rem)/1.04 var(--f-display); letter-spacing: -.045em; color: #fff; max-width: 18ch; text-wrap: balance; }
.banner__lead { margin-top: 1.4rem; max-width: 56ch; }

/* first section after a banner overlaps it like a sheet */
.banner + .section { z-index: 3; margin-top: calc(-1 * var(--r-xl)); border-radius: var(--r-xl) var(--r-xl) 0 0; }

/* ---------- 27. Cards + shared inner components ----------------------- */
.card {
  position: relative; height: 100%; overflow: hidden;
  padding: clamp(1.5rem, 1rem + 1.2vw, 2.2rem); border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: box-shadow .5s, border-color .4s;
}
a.card:hover, .card:hover { box-shadow: var(--shadow-2); border-color: rgba(47,107,255,.35); }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.card:hover::after { transform: scaleX(1); }
.card h3 { font-size: var(--fs-h3); margin-bottom: .6rem; }
.card p { color: var(--ink-2); font-size: .96rem; }
.card__num { display: block; margin-bottom: 1.1rem; font: 700 1.9rem/1 var(--f-display); letter-spacing: -.05em; background: linear-gradient(135deg, var(--blue-d), var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.2rem; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; box-shadow: var(--shadow-glow); }
.card__ico svg { width: 24px; height: 24px; }
.section--paper .card { background: #fff; }
.section--light .card { background: var(--paper); border-color: transparent; }
.section--dark .card, .section--navy .card { background: rgba(255,255,255,.05); border-color: var(--line-d); box-shadow: none; }
.section--dark .card p, .section--navy .card p { color: var(--on-dark); }
.section--dark .card h3, .section--navy .card h3 { color: #fff; }
.card__mono { margin-top: .9rem; font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* split layout: copy + framed photograph */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2.2rem, 5vw, 6rem); align-items: center; }
.split--rev .split__media { order: -1; }
.split__copy .h2 { margin-bottom: 1.5rem; max-width: 18ch; }
.split__media { position: relative; }
.split__frame { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-2); background: var(--paper-2); }
.split__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: scale(1.1) translate3d(0, var(--shift, 0px), 0); }
.split__media::before { content: ""; position: absolute; z-index: -1; right: -5%; top: -6%; width: 58%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(47,107,255,.4); box-shadow: inset 0 0 0 26px rgba(47,107,255,.05); }
.split__badge { position: absolute; z-index: 2; left: -4%; bottom: -6%; padding: 1.1rem 1.5rem; border-radius: 20px; background: linear-gradient(135deg, #12286e, #0A1535); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px -20px rgba(11,19,48,.6); transform: translateZ(80px); }
.split__badge b { display: block; font: 700 2rem/1 var(--f-display); letter-spacing: -.04em; color: var(--gold-2); }
.split__badge span { font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } .split__badge { left: 4%; } }

/* values */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.5vw, 1.3rem); }
.values--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value { position: relative; overflow: hidden; padding: clamp(1.5rem, 1rem + 1.4vw, 2.3rem); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: box-shadow .5s, border-color .4s; }
.value:hover { box-shadow: var(--shadow-2); border-color: rgba(47,107,255,.35); }
.value__i { width: 54px; height: 54px; padding: 14px; margin-bottom: 1.3rem; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; box-shadow: var(--shadow-glow); transform: translateZ(30px); }
.value h4 { font-size: 1.15rem; }
.value p { margin-top: .6rem; font-size: .93rem; line-height: 1.62; color: var(--ink-2); }
@media (max-width: 1020px) { .values, .values--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .values, .values--3 { grid-template-columns: 1fr; } }

/* leadership on dark */
.section--navy .qcard, .section--dark .qcard { background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border-color: var(--line-d); box-shadow: none; }
.section--navy .qcard blockquote, .section--dark .qcard blockquote { color: rgba(255,255,255,.9); }
.section--navy .qcard__by, .section--dark .qcard__by { border-top-color: var(--line-d); }
.section--navy .qcard__n, .section--dark .qcard__n { color: #fff; }
.section--navy .qcard__r, .section--dark .qcard__r { color: var(--gold); }
.section--navy .qcard__mark, .section--dark .qcard__mark { color: var(--gold); opacity: .16; }

/* timeline — cards swing in on a hinge as you scroll the line */
.tline { position: relative; max-width: 1040px; margin-inline: auto; padding-block: .5rem; --tl: 0; }
.tline__rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -50% 0; background: var(--line); border-radius: 2px; }
.tline__rail i { display: block; width: 100%; height: 100%; transform: scaleY(var(--tl)); transform-origin: 50% 0; background: linear-gradient(180deg, var(--blue), var(--sky), var(--gold)); box-shadow: 0 0 18px rgba(47,107,255,.6); }
.tl { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.4rem, 6vw, 5.5rem); margin-bottom: clamp(1.8rem, 4vw, 3.2rem); perspective: 1400px; }
.tl__pin { position: absolute; left: 50%; top: 1.7rem; translate: -50% 0; z-index: 2; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transition: border-color .5s, box-shadow .5s, background .5s; }
.tl.is-in .tl__pin { border-color: var(--blue); background: var(--gold-2); box-shadow: 0 0 0 7px rgba(47,107,255,.16); }
.tl__card { grid-column: 1; text-align: right; padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: box-shadow .5s; }
.tl:nth-of-type(even) .tl__card { grid-column: 2; text-align: left; }
.tl__card:hover { box-shadow: var(--shadow-2); }
.tl__year { font: 700 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--f-display); letter-spacing: -.05em; background: linear-gradient(135deg, var(--blue-d), var(--blue-2) 60%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl__card h4 { margin-top: .7rem; font-size: 1.15rem; }
.tl__card p { margin-top: .5rem; font-size: .93rem; color: var(--ink-2); line-height: 1.62; }
.fx3d .tl__card { opacity: 0; transform-origin: 100% 50%; transform: rotateY(-74deg) translateX(-24px); transition: transform 1.1s var(--ease-out), opacity .8s, box-shadow .5s; }
.fx3d .tl:nth-of-type(even) .tl__card { transform-origin: 0% 50%; transform: rotateY(74deg) translateX(24px); }
.fx3d .tl.is-in .tl__card { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .tline__rail { left: 14px; } .tl__pin { left: 14px; }
  .tl { grid-template-columns: 1fr; padding-left: 2.8rem; }
  .tl__card, .tl:nth-of-type(even) .tl__card { grid-column: 1; text-align: left; }
  .fx3d .tl__card, .fx3d .tl:nth-of-type(even) .tl__card { transform-origin: 0% 50%; transform: rotateY(60deg) translateX(20px); }
}

/* certification cards */
.cert { display: flex; flex-direction: column; gap: 1rem; height: 100%; padding: clamp(1.4rem, 1rem + 1vw, 2rem); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: box-shadow .5s, border-color .4s; }
.cert:hover { box-shadow: var(--shadow-2); border-color: rgba(47,107,255,.35); }
.cert__head { display: flex; align-items: center; gap: 1rem; }
.cert__logo { width: 84px; height: 48px; flex: none; display: grid; place-items: center; padding: 4px 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.cert__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert__logo svg { width: 24px; height: 24px; color: var(--blue); }
.cert h3 { font-size: 1.08rem; }
.cert p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.6; }

/* people */
.person { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: box-shadow .5s, border-color .4s; }
.person:hover { box-shadow: var(--shadow-2); border-color: rgba(47,107,255,.35); }
.person__fig { position: relative; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, var(--ice), var(--paper-2)); }
.person__fig img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1s var(--ease); }
.person:hover .person__fig img { transform: scale(1.06); }
.person__initial { display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; font: 600 2.2rem var(--f-display); letter-spacing: .03em; box-shadow: var(--shadow-glow); }
.person__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.person__role { display: block; margin-bottom: .55rem; font: 500 .66rem/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--blue-d); }
.person h3 { font-size: 1.2rem; }
.person p { margin-top: .6rem; font-size: .88rem; line-height: 1.65; color: var(--ink-2); }
.person .tlink { margin-top: auto; padding-top: 1rem; align-self: flex-start; font-size: .66rem; }

/* products page: grid reuses .rcard */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }
@media (max-width: 1020px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .pgrid { grid-template-columns: 1fr; } }
.pgrid .rcard { height: 100%; }
.pgrid .rcard__body { flex: 1; align-content: start; }
.rcard__chip { justify-self: start; margin-top: .6rem; padding: .35rem .65rem; border-radius: 999px; background: var(--paper); font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.swatch { position: relative; overflow: hidden; height: 100%; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: box-shadow .5s, border-color .4s; }
.swatch:hover { box-shadow: var(--shadow-2); border-color: rgba(47,107,255,.35); }
.swatch__fig { aspect-ratio: 1; overflow: hidden; }
.swatch__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.swatch:hover .swatch__fig img { transform: scale(1.1) rotate(1.5deg); }
.swatch__body { padding: 1.2rem 1.3rem 1.4rem; }
.swatch__body h4 { font-size: 1.08rem; }
.swatch__body p { margin-top: .5rem; font-size: .86rem; line-height: 1.6; color: var(--ink-2); }
.tag { display: inline-block; margin-top: .55rem; padding: .38rem .7rem; border-radius: 999px; background: var(--paper); font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.dtile { position: relative; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.7rem; overflow: hidden; isolation: isolate; border-radius: var(--r-md); color: #fff; background: var(--navy); box-shadow: var(--shadow-1); }
.dtile__media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .6; transition: transform 1.1s var(--ease), opacity .5s; }
.dtile:hover .dtile__media { transform: scale(1.09); opacity: .45; }
.dtile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,8,22,.1) 20%, rgba(5,8,22,.94)); }
.dtile::after { content: ""; position: absolute; inset: 12px; border-radius: calc(var(--r-md) - 8px); border: 1px solid rgba(244,183,63,.7); opacity: 0; transform: scale(1.04); transition: .5s var(--ease-out); pointer-events: none; }
.dtile:hover::after { opacity: 1; transform: none; }
.dtile__k { font: 500 .66rem/1 var(--f-mono); letter-spacing: .22em; color: var(--gold); margin-bottom: .7rem; }
.dtile h4 { font-size: 1.28rem; color: #fff; }
.dtile p { margin-top: .5rem; font-size: .88rem; line-height: 1.6; color: rgba(255,255,255,.76); }

.svc { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: box-shadow .5s, border-color .4s; }
.svc:hover { box-shadow: var(--shadow-2); border-color: rgba(47,107,255,.35); }
.svc__fig { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.svc__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc:hover .svc__fig img { transform: scale(1.07); }
.svc__ico { position: absolute; left: 1.3rem; bottom: -24px; z-index: 2; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1A1203; box-shadow: 0 14px 30px -10px rgba(244,183,63,.8); }
.svc__ico svg { width: 22px; height: 22px; }
.svc__body { flex: 1; padding: 2.4rem 1.5rem 1.7rem; }
.svc__body h3 { font-size: 1.15rem; }
.svc__body p { margin-top: .55rem; font-size: .9rem; line-height: 1.65; color: var(--ink-2); }

/* product detail */
.pdetail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.pdetail__stage { position: relative; }
.pdetail__fig { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(160deg, #fff, var(--paper-2)); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.pdetail__fig img { width: 100%; height: 100%; object-fit: cover; }
.pdetail__fig img[src$=".svg"] { width: 58%; height: auto; object-fit: contain; }
.pdetail .h2 { margin-bottom: 1.2rem; }
.specs { display: grid; margin: 2rem 0 0; border-radius: var(--r-md); overflow: hidden; background: var(--line); gap: 1px; border: 1px solid var(--line); }
.specs div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.2rem; padding: 1rem 1.2rem; background: #fff; }
.specs dt { font: 500 .66rem/1.6 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.pdetail__cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.8rem; }
@media (max-width: 900px) { .pdetail { grid-template-columns: 1fr; } }

/* companies grid */
.cogrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }
@media (max-width: 1020px) { .cogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .cogrid { grid-template-columns: 1fr; } }
.cogrid .co { flex: none; height: auto; aspect-ratio: 4 / 4.6; }
.cogrid--sm .co { aspect-ratio: 16 / 10; }
.cotags { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* quality gates */
.gates { counter-reset: gate; }
.gate .card__num::before { counter-increment: gate; }

/* gallery filter */
.chips { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chipbtn { padding: .7rem 1.2rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 .74rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-out); }
.chipbtn:hover { border-color: var(--blue); color: var(--blue-d); transform: translateY(-2px); }
.chipbtn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.wall__item.hide { display: none !important; }

/* contact */
.ccard { display: block; }
.ccard .card__ico { margin-bottom: 1.1rem; }
.mapbox { position: relative; overflow: hidden; height: 300px; margin-top: 2rem; border-radius: var(--r-md); border: 1px solid var(--line-d); background: var(--navy); }
.mapbox iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }
.note { font-size: .82rem; color: var(--on-dark-2); margin-top: .9rem; }
.note a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.lite-note { font-size: .86rem; color: var(--ink-3); margin-top: 1.4rem; }
.lite-note a { color: var(--blue-d); text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.nf { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; background: var(--night); color: #fff; padding: calc(var(--header-h) + 4rem) 0 5rem; }
.nf__threads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.nf__big { font: 700 clamp(7rem, 26vw, 20rem)/.85 var(--f-display); letter-spacing: -.08em; background: linear-gradient(180deg, #fff 10%, rgba(140,193,255,.25) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf p { color: var(--on-dark); }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* ---------- 28. Reveal system ----------------------------------------- */
[data-reveal] {
  opacity: 0; translate: 0 30px;
  transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out), scale 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * .09s);
}
[data-reveal="rise"]  { translate: 0 64px; scale: .94; }
[data-reveal="rise"]:not([data-tilt]) { transform: perspective(1300px) rotateX(14deg); transform-origin: 50% 100%; }
[data-reveal="left"]  { translate: -46px 0; }
[data-reveal="right"] { translate: 46px 0; }
[data-reveal].is-in { opacity: 1; translate: none; scale: none; }
[data-reveal="rise"].is-in:not([data-tilt]) { transform: none; }
.fx3d [data-tilt][data-reveal] { transition: transform .5s var(--ease-out), opacity .9s var(--ease-out), translate 1.1s var(--ease-out), scale 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * .09s), calc(var(--d, 0) * .09s), calc(var(--d, 0) * .09s), calc(var(--d, 0) * .09s); }
.fx3d [data-tilt].is-tilting[data-reveal] { transition: transform .08s linear, opacity .9s, translate 1.1s, scale 1.1s; }
html:not(.js) [data-reveal] { opacity: 1; translate: none; scale: none; transform: none; }

/* ---------- 29. Motion off / print ------------------------------------ */
[data-motion="reduced"] { scroll-behavior: auto; }
[data-motion="reduced"] [data-reveal] { translate: none !important; scale: none !important; transform: none !important; transition: opacity .5s linear !important; }
[data-motion="reduced"] .split-ready .w > i { transform: none !important; transition: none !important; }
[data-motion="reduced"] .banner__media, [data-motion="reduced"] .banner__ghost,
[data-motion="reduced"] .about__frame img, [data-motion="reduced"] .split__frame img,
[data-motion="reduced"] .wordmark { transform: none !important; }
[data-motion="reduced"] .hero__cue svg { animation: none; }
[data-motion="reduced"] .btn::after { display: none; }

@media print {
  .site-header, .menu, .dock, .scrollbar, .cta, .railnav, .hero__bg, .banner__threads, .hero__stage { display: none !important; }
  body, .section--dark, .section--navy, .hero, .banner, .journey, .capacity, .facility { background: #fff !important; color: #000 !important; }
  .hero__pin, .journey__pin { position: static !important; height: auto !important; }
  .hero__title, .banner__title, .h2, h3 { color: #000 !important; }
  .fx3d .hero__track, .fx3d .journey__track { height: auto !important; }
}

/* ---------- 30. Motion-preference notice ------------------------------ */
.motion-note {
  position: fixed; z-index: 120; left: 18px; bottom: 22px; max-width: min(420px, calc(100vw - 36px));
  display: grid; gap: .8rem; padding: 1rem 1.2rem; border-radius: 20px;
  background: rgba(8,12,30,.9); border: 1px solid rgba(255,255,255,.18); color: var(--on-dark);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  font-size: .86rem; line-height: 1.5;
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}
.motion-note.is-in { opacity: 1; transform: none; }
.motion-note p { margin: 0; }
.motion-note b { color: #fff; font-weight: 600; }
.motion-note div { display: flex; gap: .5rem; flex-wrap: wrap; }
.motion-note button { padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; font: 500 .74rem/1 var(--f-body); transition: background .25s, color .25s, border-color .25s; }
.motion-note button:hover { background: rgba(255,255,255,.14); }
.motion-note button[data-note="keep"] { background: var(--gold); border-color: var(--gold); color: #1A1203; font-weight: 600; }
.motion-note button[data-note="keep"]:hover { background: var(--gold-2); }
@media (max-width: 720px) { .motion-note { left: 12px; right: 12px; bottom: 70px; max-width: none; } }

/* ---------- 31. Hero copy entrance ------------------------------------ */
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.js .hero__copy.is-active .kicker       { animation: heroIn .9s var(--ease-out) .05s both; }
.js .hero__copy.is-active .hero__title  { animation: heroIn 1.05s var(--ease-out) .14s both; }
.js .hero__copy.is-active .hero__sub    { animation: heroIn 1.05s var(--ease-out) .3s both; }
.js .hero__copy.is-active .hero__actions{ animation: heroIn 1.05s var(--ease-out) .44s both; }
[data-motion="reduced"] .hero__copy.is-active .kicker,
[data-motion="reduced"] .hero__copy.is-active .hero__title,
[data-motion="reduced"] .hero__copy.is-active .hero__sub,
[data-motion="reduced"] .hero__copy.is-active .hero__actions { animation: none; }

/* production page: the editor-written copy leads with a larger first paragraph */
.lead-copy > p:first-child { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-2); }

/* ---------- 32. Tablet hero: copy above, photograph deck below -------- */
@media (min-width: 561px) and (max-width: 960px) {
  .hero__pin { justify-content: flex-start; }
  .hero__inner { align-content: start; padding-top: clamp(.5rem, 4vh, 2.5rem); }
  .hero__stage { --stage-h: clamp(200px, 28vh, 320px); position: relative; inset: auto; width: min(100%, 600px); margin: 1.4rem auto 0; opacity: 1; z-index: 2; }
}

/* ---------- 33. Capacity: a single wide slab ---------------------------
   One capacity line shows its per-day and per-month figures side by side;
   with several lines the slabs sit in a row and a toggle flips the period. */
.slab__head { display: block; }
.slabs.slabs--solo { grid-template-columns: minmax(0, 1120px); justify-content: center; }
.slab--solo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem clamp(1.6rem, 4vw, 3.6rem); align-items: center; padding: clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem); }
.slab--solo .slab__head { display: grid; gap: 1.1rem; align-content: center; justify-items: start; min-width: 7.5rem; }
.slab--solo .slab__icon { margin-bottom: 0; }
.slab__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 1.4rem clamp(1.4rem, 3vw, 3rem); }
.slab__pair > div + div { padding-left: clamp(1.4rem, 3vw, 3rem); border-left: 1px solid var(--line-d); }
.slab--solo .slab__value { margin-top: 0; transform: none; font-size: clamp(2.2rem, 1rem + 3.4vw, 4rem); }
.slab--solo .slab__unit  { transform: none; }
.slab--solo .slab__note  { grid-column: 1 / -1; margin: .2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line-d); }
@media (max-width: 760px) {
  .slab--solo { grid-template-columns: 1fr; }
  .slab--solo .slab__head { grid-auto-flow: column; justify-content: start; align-items: center; }
  .slab__pair { grid-template-columns: 1fr; }
  .slab__pair > div + div { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line-d); }
}
/* ---------- 34. Five-up grid: three on top, two wider below ------------- */
.grid-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-5 > * { grid-column: span 2; }
.grid-5 > *:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 1020px) {
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 > *, .grid-5 > *:nth-child(n+4) { grid-column: auto; }
  .grid-5 > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 660px) {
  .grid-5 { grid-template-columns: 1fr; }
  .grid-5 > *:last-child:nth-child(odd) { grid-column: auto; }
}
