/* ============================================================
   SYNTIC PRODUCTS — Stylesheet
   Brand: Navy #16256b · Cyan #00a0e3 · Gold accent #c9a44a
============================================================ */

:root {
  /* Brand constants (fixed across themes) */
  --navy: #16256b;
  --navy-deep: #0e1a4d;
  --cyan: #00a0e3;
  --cyan-light: #4fc3f7;
  --gold: #c9a44a;
  --gold-light: #e4c56e;
  --white: #ffffff;

  /* Theme tokens (light) */
  --ink: #14203f;
  --muted: #5b6478;
  --heading: #16256b;
  --line: #e6e9f0;
  --line-strong: #d3d9e6;
  --bg: #ffffff;
  --bg-tint: #f3f6fc;
  --surface: #ffffff;
  --surface-alt: #eef6fe;
  --surface-2: #f8fafe;
  --brand-tile: #ffffff;
  --header-bg: rgba(255, 255, 255, .72);
  --glass: rgba(255, 255, 255, .6);
  --glass-brd: rgba(22, 37, 107, .1);

  /* Layered shadows (ambient + key light) */
  --shadow-xs: 0 1px 2px rgba(22, 37, 107, .06), 0 2px 6px rgba(22, 37, 107, .05);
  --shadow-sm: 0 2px 6px rgba(22, 37, 107, .06), 0 8px 20px rgba(22, 37, 107, .07);
  --shadow-md: 0 6px 16px rgba(22, 37, 107, .08), 0 18px 44px rgba(22, 37, 107, .12);
  --shadow-lg: 0 12px 30px rgba(14, 26, 77, .14), 0 34px 80px rgba(14, 26, 77, .22);
  --shadow-cyan: 0 16px 40px rgba(0, 160, 227, .28);

  /* Signature gradients */
  --grad-brand: linear-gradient(120deg, var(--cyan), #3b6bff 55%, var(--navy));
  --grad-line: linear-gradient(120deg, var(--cyan), var(--gold));
  --grad-mesh:
    radial-gradient(680px 420px at 12% -10%, rgba(0, 160, 227, .10), transparent 60%),
    radial-gradient(560px 360px at 100% 8%, rgba(201, 164, 74, .09), transparent 55%);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 11px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sans: 'Inter', system-ui, sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
}

/* Theme tokens (dark) */
[data-theme="dark"] {
  --ink: #e7ebf6;
  --muted: #9aa4be;
  --heading: #f2f5fc;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --bg: #080b18;
  --bg-tint: #0d1226;
  --surface: #111931;
  --surface-alt: #16213f;
  --surface-2: #0f1730;
  --brand-tile: #eef2fb;
  --header-bg: rgba(10, 14, 28, .68);
  --glass: rgba(20, 28, 52, .55);
  --glass-brd: rgba(255, 255, 255, .1);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .4), 0 10px 24px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, .5), 0 22px 50px rgba(0, 0, 0, .5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, .6), 0 40px 90px rgba(0, 0, 0, .6);
  --shadow-cyan: 0 16px 40px rgba(0, 160, 227, .35);
  --grad-mesh:
    radial-gradient(680px 420px at 12% -10%, rgba(0, 160, 227, .14), transparent 60%),
    radial-gradient(560px 360px at 100% 8%, rgba(59, 107, 255, .12), transparent 55%);
}
html { color-scheme: light; }
[data-theme="dark"] html, html[data-theme="dark"] { color-scheme: dark; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

::selection { background: var(--cyan); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--cyan) var(--bg-tint); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-tint); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--cyan), var(--navy)); border-radius: 10px; border: 3px solid var(--bg-tint); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  position: relative;
  padding-left: 44px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 32px; height: 2px; border-radius: 2px;
  background: var(--grad-line); transform: translateY(-50%);
}
.eyebrow--light { color: var(--cyan-light); }

.section__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--heading);
  text-wrap: balance;
}
.section__title--light { color: #fff; }
.grad {
  background: linear-gradient(100deg, var(--cyan), var(--cyan-light) 60%, var(--gold-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  font-family: var(--display); font-weight: 600; font-size: .96rem;
  border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  will-change: transform;
}
.btn--gold {
  background: linear-gradient(100deg, var(--gold), var(--gold-light));
  color: #2b2205;
  box-shadow: 0 12px 28px rgba(201, 164, 74, .35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(201, 164, 74, .5); }
.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff; border: 1.5px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-3px); }
.btn--block { width: 100%; }
.btn__arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--cyan), var(--gold)); box-shadow: 0 0 10px rgba(0,160,227,.6); transition: width .1s linear; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__left { display: flex; gap: 24px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; transition: color .25s; }
.topbar__item:hover { color: var(--cyan-light); }
.topbar__tag { color: rgba(255, 255, 255, .6); letter-spacing: .02em; }
@media (max-width: 820px) { .topbar__right { display: none; } }
@media (max-width: 560px) { .topbar__left { gap: 14px; font-size: .74rem; } .topbar__item svg { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s, height .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s var(--ease); }
.header.scrolled .header__inner { height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center;
  background: var(--brand-tile);
  border-radius: 13px; padding: 5px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .3s;
}
.brand:hover .brand__mark { transform: translateY(-1px) rotate(-3deg); box-shadow: inset 0 0 0 1px var(--cyan), var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--display); }
.brand__text strong { font-weight: 800; font-size: 1.18rem; letter-spacing: .04em; color: var(--heading); }
.brand__text em { font-style: normal; font-weight: 600; font-size: .7rem; letter-spacing: .34em; color: var(--cyan); }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__mark { background: rgba(255, 255, 255, .1); box-shadow: none; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; font-weight: 500; font-size: .95rem; color: var(--ink);
  border-radius: 8px; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--heading); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--heading); font-weight: 600; }
.nav__cta {
  margin-left: 10px; padding: 11px 22px; border-radius: 999px;
  background: var(--navy); color: #fff; font-family: var(--display); font-weight: 600; font-size: .92rem;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.nav__cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: var(--grad-brand); transition: opacity .3s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-cyan); }
.nav__cta:hover::before { opacity: 1; }

.nav__toggle { display: none; width: 46px; height: 46px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 24px; height: 2.4px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); padding: 12px 24px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .4s var(--ease);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 15px 6px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 16px 0 0; text-align: center; padding: 15px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(70px, 12vw, 130px) 0 90px; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(0, 160, 227, .55), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(201, 164, 74, .18), transparent 55%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #1c3390);
}
.hero__aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.hero__aurora span:nth-child(1) { width: 460px; height: 460px; background: var(--cyan); top: -120px; right: 6%; animation: float1 14s ease-in-out infinite; }
.hero__aurora span:nth-child(2) { width: 380px; height: 380px; background: #3b6bff; bottom: -140px; left: 4%; animation: float2 17s ease-in-out infinite; }
.hero__aurora span:nth-child(3) { width: 300px; height: 300px; background: var(--gold); top: 30%; left: 40%; opacity: .28; animation: float1 20s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 40px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -30px); } }

.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .4;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 80%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4.1rem); line-height: 1.05; letter-spacing: -.025em; margin-bottom: 22px;
}
.hero__sub { font-size: clamp(1rem, 1.5vw, 1.18rem); color: rgba(255, 255, 255, .82); max-width: 560px; margin-bottom: 26px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.hero__chips span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 500; padding: 7px 15px 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.hero__chips span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-light); box-shadow: 0 0 8px var(--cyan-light);
}
.hero__chips span:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .16); border-color: rgba(79,195,247,.6); box-shadow: 0 10px 26px rgba(0, 160, 227, .32); }
.hero__chips span:hover::before { box-shadow: 0 0 14px 2px var(--cyan-light); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero media */
.hero__media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.18); }
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--brd-angle),
    transparent 0%, var(--cyan-light) 12%, rgba(255,255,255,.9) 20%, transparent 34%,
    transparent 62%, var(--gold-light) 78%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinBorder 9s linear infinite;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transform: scale(1.02); transition: transform .45s var(--ease); will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14,26,77,.55)); }
.hero__badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(255,255,255,.14); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.28); border-radius: 14px; padding: 12px 18px; color: #fff;
}
.hero__badge strong { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--gold-light); }
.hero__badge span { font-size: .82rem; color: rgba(255,255,255,.85); }

/* Hero stat bar */
.hero__statbar { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.stat {
  position: relative; overflow: hidden;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius); padding: 22px; backdrop-filter: blur(10px); text-align: center;
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.stat::before {
  content: ""; position: absolute; top: 0; left: 20%; right: 20%; height: 2px; border-radius: 2px;
  background: var(--grad-line); opacity: .8;
}
.stat:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.stat__num { font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: #fff; }
.stat__num.pan { color: var(--gold-light); }
.stat__plus { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--cyan-light); }
.stat__label { display: block; margin-top: 6px; font-size: .84rem; color: rgba(255, 255, 255, .7); }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 44px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 999px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--surface); border-radius: 4px; transform: translateX(-50%); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translate(-50%, 16px); } }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .stat { padding: 16px; }
  .stat__num { font-size: 1.9rem; }
  .hero__scroll { display: none; }
}
@media (max-width: 620px) { .hero__statbar { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Hero micro-interactions ---------- */
/* Over-extend full-cover layers so pointer-parallax shifts never reveal an edge */
.hero__bg, .hero__grid { inset: -60px; }
.hero__bg, .hero__aurora, .hero__grid, .hero__spot, .hero__media { will-change: transform; }

/* Staggered headline reveal (line/word by word) */
.hero__title { display: block; }
.hero__title .hw {
  display: inline-block;
  opacity: 0; transform: translateY(26px); filter: blur(8px);
  animation: heroWordIn .85s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * .14s + .15s);
}
@keyframes heroWordIn { to { opacity: 1; transform: none; filter: none; } }

/* Rotating keyword inside the gradient span */
.rotator { display: inline-block; transition: opacity .32s var(--ease), transform .32s var(--ease); }
.rotator.swap { opacity: 0; transform: translateY(-10px); }

/* Chips fade up in sequence once the row reveals */
.hero__chips span { opacity: 0; transform: translateY(14px); }
.hero__chips.in span { animation: chipIn .55s var(--ease-out) forwards; animation-delay: calc(var(--i) * .09s + .1s); }
@keyframes chipIn { to { opacity: 1; transform: none; } }

/* Glass badge: gentle float */
.hero__badge { animation: badgeFloat 5.5s ease-in-out infinite; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Richer image reveal: scale + rise */
.hero__media.reveal { transform: translateY(22px) scale(.955); }
.hero__media.reveal.in { transform: none; }

/* Slowly drifting background grid */
.hero__grid { animation: gridMove 34s linear infinite; }
@keyframes gridMove { from { background-position: 0 0, 0 0; } to { background-position: 60px 60px, 60px 60px; } }

/* Cursor-follow glow */
.hero__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(300px circle at var(--hx, 72%) var(--hy, 28%), rgba(79, 195, 247, .22), transparent 62%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.hero.spot-on .hero__spot { opacity: 1; }

/* Floating particles */
.hero__particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__particles span {
  position: absolute; bottom: -12px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 210, 255, .95), rgba(120, 210, 255, 0) 70%);
  opacity: 0; animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) scale(.5); opacity: 0; }
  12%  { opacity: .55; }
  88%  { opacity: .45; }
  100% { transform: translateY(-88vh) scale(1); opacity: 0; }
}

/* CTA arrow idle nudge (pauses on hover, where it slides fully) */
.hero__actions .btn--gold .btn__arrow { animation: arrowNudge 2.4s ease-in-out infinite; }
.hero__actions .btn--gold:hover .btn__arrow { animation: none; }
@keyframes arrowNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* Smooth pointer-parallax on hero layers (JS sets transform each frame) */
@media (prefers-reduced-motion: reduce) {
  .hero__title .hw { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .hero__chips span { opacity: 1 !important; transform: none !important; }
  .hero__badge, .hero__grid, .hero__media::before, .hero__actions .btn--gold .btn__arrow { animation: none !important; }
  .hero__particles, .hero__spot { display: none !important; }
  .rotator { transition: none; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: rgba(255, 255, 255, .92); overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; font-family: var(--display); font-weight: 600; letter-spacing: .04em; font-size: 1rem; }
.marquee__track span:not(:nth-child(even)) { color: #fff; }
.marquee__track span:nth-child(even) { color: var(--cyan-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(66px, 9vw, 116px) 0; }
.section--tint { background: var(--bg-tint); background-image: var(--grad-mesh); }
.section--dark { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #fff; }
.section__head { max-width: 730px; margin: 0 auto clamp(38px, 5vw, 64px); text-align: center; }
.section__head .eyebrow { padding-left: 0; justify-content: center; }
.section__head .eyebrow::before { display: none; }
.section__lead { margin-top: 15px; color: var(--muted); font-size: 1.1rem; line-height: 1.6; text-wrap: pretty; }
.section__lead--light { color: rgba(255, 255, 255, .78); }

/* ---------- What We Do / Vision ---------- */
.whatwedo { position: relative; overflow: hidden; }
.whatwedo__head { max-width: 860px; margin: 0 auto clamp(42px, 5vw, 64px); text-align: center; }
.whatwedo__head .eyebrow { padding-left: 0; justify-content: center; }
.whatwedo__head .eyebrow::before { display: none; }

/* Engineering-themed animated background (blueprint grid + drifting glow) */
.wwd__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.wwd__bg::before {
  content: ""; position: absolute; inset: -40px;
  background-image:
    linear-gradient(color-mix(in srgb, var(--cyan) 22%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--cyan) 22%, transparent) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .12;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 50% 42%, #000, transparent 78%);
  animation: gridMove 40s linear infinite;
}
.wwd__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(520px 340px at 20% 12%, color-mix(in srgb, var(--cyan) 16%, transparent), transparent 60%),
    radial-gradient(460px 320px at 82% 88%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 62%);
  animation: ambientDrift 30s ease-in-out infinite alternate;
}

/* Animated "Designed • Built • Delivered" beats */
.wwd__beats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 22px; font-family: var(--display); font-weight: 800; letter-spacing: .02em; font-size: clamp(1rem, 1.7vw, 1.35rem); }
.wwd__beats span { color: var(--heading); opacity: .35; animation: beatPulse 3.6s var(--ease) infinite; animation-delay: calc(var(--i) * 1.2s); }
.wwd__beats i { color: var(--cyan); font-style: normal; opacity: .6; }
@keyframes beatPulse { 0%, 70%, 100% { opacity: .32; } 20%, 45% { opacity: 1; text-shadow: 0 0 22px color-mix(in srgb, var(--cyan) 55%, transparent); } }

/* Credibility strip (truthful claims only) */
.wwd__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; }
.wwd__trust li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.wwd__trust svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(0,160,227,.12); color: var(--cyan); flex-shrink: 0; }

/* Pillars + workflow connector */
.pillars { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillars__track { position: absolute; top: 64px; left: 8%; right: 8%; height: 2px; z-index: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--cyan) 45%, transparent) 12%, color-mix(in srgb, var(--cyan) 45%, transparent) 88%, transparent); }
.pillars__pulse { position: absolute; top: -3px; left: 0; width: 90px; height: 8px; border-radius: 8px; background: radial-gradient(closest-side, var(--cyan-light), transparent); box-shadow: 0 0 16px 4px color-mix(in srgb, var(--cyan) 60%, transparent); animation: flowPulse 4.5s var(--ease) infinite; }
@keyframes flowPulse { 0% { left: -10%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (max-width: 900px) { .pillars__track { display: none; } }

.pillar { position: relative; z-index: 1; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 26px 30px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.pillar:hover { transform: translateY(-12px); box-shadow: var(--shadow-md), 0 30px 60px rgba(0,160,227,.18); border-color: color-mix(in srgb, var(--cyan) 55%, var(--line)); }
.pillar__ico { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 17px; margin-bottom: 22px; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-cyan); transition: transform .5s var(--ease); }
.pillar__ico::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in srgb, var(--cyan) 55%, transparent); animation: icoPulse 4s ease-out infinite; animation-delay: var(--pulse-d, 0s); }
.pillar:nth-child(2) .pillar__ico::after { --pulse-d: 1s; }
.pillar:nth-child(3) .pillar__ico::after { --pulse-d: 2s; }
.pillar:nth-child(4) .pillar__ico::after { --pulse-d: 3s; }
.pillar:hover .pillar__ico { transform: translateY(-4px) scale(1.08) rotate(-6deg); }
.pillar__ico svg { width: 28px; height: 28px; }
@keyframes icoPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cyan) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 14px transparent; } }
.pillar h3 { font-family: var(--display); font-size: 1.13rem; color: var(--heading); margin-bottom: 8px; letter-spacing: -.01em; }
.pillar p { color: var(--muted); font-size: .93rem; }
.pillar__no { position: absolute; top: 18px; right: 22px; font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: color-mix(in srgb, var(--cyan) 42%, transparent); }
.pillar.reveal .pillar__no { opacity: 0; transform: translateY(-8px) rotate(-12deg); }
.pillar.reveal.in .pillar__no { animation: numIn .6s var(--ease-out) forwards; animation-delay: .25s; }
@keyframes numIn { to { opacity: 1; transform: none; } }
/* Cursor-follow spotlight (::before free; ::after used for conic border) */
.pillar > * { position: relative; z-index: 1; }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--cyan) 20%, transparent), transparent 62%); }
.pillar:hover::before { opacity: 1; }

/* Closing CTA */
.wwd__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; margin-top: clamp(40px, 5vw, 60px); padding-top: clamp(34px, 4vw, 46px); border-top: 1px solid var(--line); text-align: center; }
.wwd__cta p { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--heading); }

@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }
/* Vision provides its own richer background; suppress the generic section orbs here */
.section.whatwedo::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .wwd__beats span { opacity: 1 !important; }
  .pillar.reveal .pillar__no, .pillar.reveal.in .pillar__no { opacity: 1 !important; transform: none !important; animation: none !important; }
  .pillars__pulse, .pillar__ico::after { display: none !important; }
}

/* ---------- About ---------- */
#about { position: relative; overflow: hidden; }
.about { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 6vw, 72px); align-items: center; }

/* Soft lighting behind the visual */
.about__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.about__glow::before { content: ""; position: absolute; top: 10%; left: -6%; width: 46%; height: 80%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cyan) 20%, transparent), transparent 68%); filter: blur(30px); animation: ambientDrift 26s ease-in-out infinite alternate; }

/* Layered image composition */
.about__visual { position: relative; padding: 0 6% 12% 0; }
.about__visual::before { content: ""; position: absolute; top: -22px; left: -22px; width: 55%; height: 55%; z-index: 0; border-radius: 14px; opacity: .5;
  background-image:
    linear-gradient(color-mix(in srgb, var(--cyan) 30%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--cyan) 30%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%); mask-image: linear-gradient(135deg, #000, transparent 70%);
}
.about__img { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .7s var(--ease); }
.about__img:hover img { transform: scale(1.05); }
.about__img--main { aspect-ratio: 4 / 3.1; z-index: 1; }
.about__img--main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); pointer-events: none; }
.about__img--detail { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; z-index: 2; border: 5px solid var(--bg); box-shadow: var(--shadow-lg); }

/* Floating experience badge */
.about__badge { position: absolute; left: -6px; bottom: 6%; z-index: 3; display: flex; align-items: center; gap: 13px; padding: 14px 20px 14px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); animation: badgeFloat 6s ease-in-out infinite; }
.about__badge-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-cyan); }
.about__badge-ico svg { width: 22px; height: 22px; }
.about__badge-txt strong { display: block; font-family: var(--display); font-weight: 800; color: var(--heading); font-size: 1.02rem; line-height: 1.1; }
.about__badge-txt span { font-size: .8rem; color: var(--muted); }

/* Body: rhythm + readable measure */
.about__body { position: relative; z-index: 1; }
.about__body p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; max-width: 46ch; }
.about__lead { color: var(--ink) !important; font-size: 1.14rem !important; margin-top: 22px !important; }

/* Compact stat counters */
.about__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 14px 34px; margin: 32px 0 4px; justify-content: start; }
.astat { display: flex; flex-direction: column; }
.astat__num { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: var(--heading); display: inline; background: linear-gradient(120deg, var(--cyan), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .astat__num { background: linear-gradient(120deg, var(--cyan-light), #6f8bff); -webkit-background-clip: text; background-clip: text; }
.astat__plus { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--cyan); }
.astat__label { margin-top: 6px; font-size: .82rem; color: var(--muted); font-weight: 500; }

/* Checklist as pill cards */
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.point { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); font-size: .95rem; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.point:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cyan) 55%, var(--line)); box-shadow: var(--shadow-sm); }
.point__ico { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 160, 227, .12); color: var(--cyan); flex-shrink: 0; }
.point__ico svg { width: 15px; height: 15px; }
.point:hover .point__ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: icoPulse 1.2s ease-out; }

.about__cta { margin-top: 34px; }

/* Industries: full-width row */
.about__industries { margin-top: clamp(48px, 6vw, 68px); }
.chipgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chipgrid li { background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; font-size: .9rem; font-weight: 500; text-align: center; transition: transform .25s, border-color .25s, background .25s, box-shadow .25s; }
.chipgrid li:hover { transform: translateY(-2px); border-color: var(--cyan); background: var(--surface); box-shadow: var(--shadow-sm); }

@media (max-width: 900px) { .chipgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; gap: 44px; }
  .about__visual { padding: 0 8% 14% 0; max-width: 560px; margin: 0 auto; }
  .about__body p, .about__lead { max-width: none; }
}
@media (max-width: 480px) {
  .about__points { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .about__badge { left: 0; padding: 10px 14px; }
}

/* ---------- Split (furniture) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.split__list, .featgrid { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.split__list h3, .featgrid h3 { font-family: var(--display); color: var(--heading); font-size: 1.32rem; margin-bottom: 24px; letter-spacing: -.01em; }

.ticklist { display: grid; gap: 13px; }
.ticklist--2col { grid-template-columns: 1fr 1fr; }
.ticklist li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--cyan)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/10px no-repeat;
}

.featgrid__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fcard { display: flex; align-items: center; gap: 11px; padding: 15px 16px; border-radius: var(--radius-sm); background: var(--bg-tint); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.fcard::before { content: ""; width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; background: linear-gradient(135deg, var(--cyan), var(--gold)); box-shadow: 0 0 0 3px rgba(0,160,227,.1); }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--cyan); }

@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ticklist--2col, .featgrid__cards { grid-template-columns: 1fr; } }

/* ---------- Cards (fume hoods) ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card--accent { background: linear-gradient(165deg, var(--surface), var(--surface-alt)); }
.card__ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 17px; margin-bottom: 20px; background: linear-gradient(140deg, rgba(0,160,227,.16), rgba(201,164,74,.14)); color: var(--cyan); box-shadow: inset 0 0 0 1px var(--line); }
.card__ico svg { width: 30px; height: 30px; }
.card h3 { font-family: var(--display); color: var(--heading); font-size: 1.35rem; margin-bottom: 20px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.gallery--4 { grid-template-columns: repeat(4, 1fr); }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }

/* In-house manufacturing band */
.mfg { margin-top: 60px; padding-top: 48px; border-top: 1px solid var(--line); }
.mfg__intro { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.mfg__intro h3 { font-family: var(--display); font-weight: 800; color: var(--heading); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.mfg__intro p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.mfg .gallery--2 .shot img { aspect-ratio: 16/11; }
.shot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; background: #dfe6f0; }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.08); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px; color: #fff;
  font-family: var(--display); font-weight: 600; font-size: .95rem;
  background: linear-gradient(180deg, transparent, rgba(14,26,77,.82));
  transform: translateY(6px); opacity: .95; transition: transform .35s var(--ease);
}
.shot:hover figcaption { transform: translateY(0); }
@media (max-width: 900px) { .gallery, .gallery--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gallery, .gallery--4 { grid-template-columns: 1fr; } }

/* ---------- Catalog cards (organised galleries) ---------- */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.catalog--2 { grid-template-columns: repeat(2, 1fr); }
.catalog--4 { grid-template-columns: repeat(4, 1fr); }
.citem { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.citem:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.citem__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #dfe6f0; cursor: zoom-in; }
.citem__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.citem:hover .citem__img img { transform: scale(1.07); }
.citem__img::after { content: ""; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 9px; background: rgba(14,26,77,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center/18px no-repeat; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; backdrop-filter: blur(2px); }
.citem__img:hover::after { opacity: 1; transform: scale(1); }
.citem__meta { position: relative; padding: 19px 20px 21px; flex: 1; }
.citem__meta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-line); transform: scaleX(1); transform-origin: left; }
.citem__meta h4 { font-family: var(--display); font-weight: 700; color: var(--heading); font-size: 1.06rem; margin-bottom: 5px; letter-spacing: -.01em; }
.citem__meta p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.citem--tall .citem__img { aspect-ratio: 3/4; }
@media (max-width: 900px) { .catalog, .catalog--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .catalog, .catalog--2, .catalog--4 { grid-template-columns: 1fr; } }

/* Sub-group heading inside a section */
.subgroup { display: flex; align-items: center; gap: 14px; margin: 48px 0 4px; }
.subgroup:first-of-type { margin-top: 44px; }
.subgroup h3 { font-family: var(--display); font-weight: 700; color: var(--heading); font-size: 1.15rem; white-space: nowrap; }
.subgroup__line { height: 1px; background: var(--line); flex: 1; }
.subgroup__count { font-size: .8rem; font-weight: 600; color: var(--cyan); background: rgba(0,160,227,.1); padding: 3px 10px; border-radius: 999px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(9, 16, 45, .88); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__fig { margin: 0; max-width: 960px; text-align: center; }
.lightbox__fig img { max-width: 100%; max-height: 78vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox__fig figcaption { margin-top: 14px; color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.lightbox__close { position: absolute; top: 20px; right: 26px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: background .25s, transform .25s; }
.lightbox__close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  position: relative; overflow: hidden; padding: 28px 22px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .11);
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: #fff;
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-line); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.service span { display: block; font-family: var(--display); font-weight: 800; font-size: 1.05rem; background: linear-gradient(120deg, var(--cyan-light), var(--gold-light)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; letter-spacing: .04em; }
.service:hover { transform: translateY(-5px); background: rgba(0, 160, 227, .14); border-color: rgba(0, 160, 227, .5); }
.service:hover::before { transform: scaleY(1); }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .services { grid-template-columns: 1fr; } }

/* ---------- Why (bento) ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.whycard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.whycard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
/* Feature tiles: gradient wash + brand icon for visual hierarchy (gap-free) */
.whycard--feature { background: linear-gradient(155deg, var(--surface), var(--surface-alt)); border-color: color-mix(in srgb, var(--cyan) 24%, var(--line)); }
.whycard--feature .whycard__ico { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-cyan); }
.whycard__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(140deg, rgba(0,160,227,.14), rgba(201,164,74,.12)); color: var(--cyan); margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease); }
.whycard:hover .whycard__ico { transform: translateY(-3px) scale(1.05); }
.whycard__ico svg { width: 28px; height: 28px; }
.whycard h3 { font-family: var(--display); font-size: 1.1rem; color: var(--heading); margin-bottom: 8px; letter-spacing: -.01em; }
.whycard p { color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.pstep { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.pstep::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(var(--cyan), var(--gold)); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.pstep:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pstep:hover::before { transform: scaleY(1); }
.pstep__no { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 2.5rem; line-height: 1; background: linear-gradient(120deg, var(--cyan), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .pstep__no { background: linear-gradient(120deg, var(--cyan-light), #6f8bff); -webkit-background-clip: text; background-clip: text; }
.pstep h3 { font-family: var(--display); color: var(--heading); font-size: 1.16rem; margin: 12px 0 8px; letter-spacing: -.01em; }
.pstep p { color: var(--muted); font-size: .94rem; }
@media (max-width: 820px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* Full turnkey scope (merged from former Services section) */
.scopegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.scopegrid li { display: flex; align-items: center; gap: 11px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; font-size: .93rem; color: var(--ink); box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.scopegrid li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cyan) 55%, var(--line)); box-shadow: var(--shadow-sm); }
.scopegrid svg { width: 16px; height: 16px; padding: 4px; box-sizing: content-box; flex-shrink: 0; border-radius: 50%; background: rgba(0,160,227,.12); color: var(--cyan); }
@media (max-width: 820px) { .scopegrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .scopegrid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faqwrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faqwrap__head { position: sticky; top: 110px; }
.faqwrap__head .eyebrow { padding-left: 0; }
.faqwrap__head .eyebrow::before { display: none; }
.faqwrap__head p { color: var(--muted); margin-top: 14px; }
.link { color: var(--cyan); font-weight: 600; border-bottom: 1.5px solid transparent; transition: border-color .25s; }
.link:hover { border-color: var(--cyan); }
.faq { display: grid; gap: 14px; }
.faqitem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.faqitem[open] { border-color: var(--cyan); box-shadow: var(--shadow-md); }
.faqitem summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--display); font-weight: 600; color: var(--heading); font-size: 1.04rem; }
.faqitem summary::-webkit-details-marker { display: none; }
/* Plus icon (rotates to a cross when open) built from two gradient bars */
.faqitem summary::after {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 11px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) center / 2px 11px no-repeat,
    rgba(0, 160, 227, .1);
  transition: transform .35s var(--ease), background .25s;
}
.faqitem[open] summary::after { transform: rotate(135deg); }
.faqitem__body p { color: var(--muted); padding-bottom: 20px; font-size: .98rem; }
/* Modern smooth expand (progressive enhancement; graceful no-op elsewhere) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faqitem::details-content {
    height: 0; overflow: hidden; opacity: 0;
    transition: height .38s var(--ease), opacity .3s, content-visibility .38s allow-discrete;
  }
  .faqitem[open]::details-content { height: auto; opacity: 1; }
}
@media (max-width: 820px) { .faqwrap { grid-template-columns: 1fr; gap: 28px; } .faqwrap__head { position: static; } }

/* ---------- CTA band ---------- */
.ctaband { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--navy), var(--cyan) 55%, #0079c2); color: #fff; }
.ctaband::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(500px 300px at 8% -40%, rgba(255,255,255,.28), transparent 60%),
    radial-gradient(420px 260px at 96% 140%, rgba(201,164,74,.4), transparent 60%);
}
.ctaband__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(42px, 6vw, 68px) 24px; flex-wrap: wrap; }
.ctaband h2 { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; }
.ctaband p { color: rgba(255, 255, 255, .88); margin-top: 6px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.contact__info > p { color: var(--muted); margin-top: 14px; max-width: 480px; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.ccard { background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; border-left: 4px solid var(--cyan); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.ccard h4 { font-family: var(--display); color: var(--heading); font-size: 1.05rem; }
.ccard__role { display: block; font-size: .8rem; color: var(--gold); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin: 3px 0 10px; }
.ccard a { font-weight: 600; color: var(--ink); transition: color .25s; }
.ccard a:hover { color: var(--cyan); }

.contact__list { display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 16px; }
.contact__ico { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(0,160,227,.1); color: var(--cyan); }
.contact__ico svg { width: 22px; height: 22px; }
.contact__list strong { display: block; font-family: var(--display); color: var(--heading); margin-bottom: 4px; }
.contact__list a { display: block; color: var(--muted); transition: color .25s; }
.contact__list a:hover { color: var(--cyan); }
.contact__list p { color: var(--muted); font-size: .95rem; }

.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); }
.contact__form h3 { font-family: var(--display); color: var(--heading); font-size: 1.5rem; margin-bottom: 24px; }
.field { position: relative; margin-bottom: 20px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 18px 16px 8px; font-family: var(--sans); font-size: .98rem; color: var(--ink);
  background: var(--bg-tint); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .25s, background .25s, box-shadow .25s; resize: vertical;
}
.field textarea { padding-top: 22px; }
.field label { position: absolute; left: 16px; top: 16px; color: var(--muted); font-size: .98rem; pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: var(--surface); box-shadow: 0 0 0 4px rgba(0,160,227,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label {
  top: 7px; font-size: .7rem; color: var(--cyan); font-weight: 600; letter-spacing: .03em;
}
.form__note { margin-top: 14px; font-size: .9rem; font-weight: 600; min-height: 20px; }
.form__note.ok { color: #128a4b; }
.form__note.err { color: #c8321f; }

@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 440px) { .contact__cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding-top: 64px; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-line); opacity: .8; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin-top: 16px; font-size: .92rem; max-width: 320px; }
.footer__col h4 { font-family: var(--display); color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: .92rem; transition: color .25s, padding-left .25s; }
.footer__col a:hover { color: var(--cyan-light); padding-left: 5px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; color: rgba(255, 255, 255, .55); flex-wrap: wrap; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating action buttons ---------- */
.fab { position: fixed; right: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), opacity .3s; }
.fab--wa { bottom: 22px; background: #25d366; }
.fab--wa:hover { transform: scale(1.1); }
.fab--top { bottom: 86px; background: var(--navy); opacity: 0; pointer-events: none; }
.fab--top.show { opacity: 1; pointer-events: auto; }
.fab--top:hover { transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out), filter .75s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: none; }
/* Directional reveal variant: slide in from the left */
.reveal--left { transform: translateX(-46px); }
.reveal--left.in { transform: none; }

/* ============================================================
   Premium enhancements
============================================================ */

/* Skip link (accessibility) */
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px; font-weight: 600; transition: top .25s var(--ease); }
.skip:focus { top: 12px; }

/* Theme toggle */
.themebtn { display: grid; place-items: center; width: 42px; height: 42px; margin-left: 6px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--heading); background: transparent; transition: background .25s, transform .3s var(--ease), border-color .25s; }
.themebtn:hover { transform: translateY(-2px); border-color: var(--cyan); background: color-mix(in srgb, var(--cyan) 12%, transparent); }
.themebtn svg { width: 20px; height: 20px; }
.themebtn .ico-sun { display: none; }
[data-theme="dark"] .themebtn .ico-sun { display: block; }
[data-theme="dark"] .themebtn .ico-moon { display: none; }

/* Subtle grain/texture on dark surfaces for depth */
.hero, .section--dark { position: relative; }
.hero::after, .section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
.hero > .container, .section--dark > .container { position: relative; z-index: 1; }

/* Cursor spotlight on interactive cards */
.citem, .whycard, .pstep { position: relative; }
.citem::after, .whycard::before, .pstep::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity .45s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--cyan) 22%, transparent), transparent 62%);
}
.citem:hover::after, .whycard:hover::before, .pstep:hover::after { opacity: 1; }
.whycard > *, .pstep > * { position: relative; z-index: 1; }
/* keep the citem image zoom-affordance overlay above the spotlight */
.citem__img { z-index: 1; }
.citem__meta { position: relative; z-index: 1; }

/* ---- Smart group hover: spotlight the one you're on, recede the rest ---- */
.catalog:has(.citem:hover) .citem:not(:hover),
.cards:has(.card:hover) .card:not(:hover),
.why:has(.whycard:hover) .whycard:not(:hover),
.pillars:has(.pillar:hover) .pillar:not(:hover),
.services:has(.service:hover) .service:not(:hover),
.process:has(.pstep:hover) .pstep:not(:hover),
.chipgrid:has(li:hover) li:not(:hover),
.featgrid__cards:has(.fcard:hover) .fcard:not(:hover) {
  opacity: .52;
  transform: scale(.985);
  filter: saturate(.72);
  transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease);
}
/* Ensure the hovered one is unmistakably on top */
.catalog .citem:hover, .cards .card:hover, .why .whycard:hover, .pillars .pillar:hover,
.services .service:hover, .process .pstep:hover { z-index: 3; }

/* Button gloss shine */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn > * { position: relative; z-index: 1; }

/* Hero eyebrow: stronger contrast on dark hero */
.hero .eyebrow { color: var(--cyan-light); }

/* Perf: reserve space / smoother images */
img { background: color-mix(in srgb, var(--muted) 12%, transparent); }
.citem__img img, .hero__media img, .about__img img { background: none; }

/* Perf: skip rendering + pause animations for off-screen sections.
   The browser only paints (and only runs the ambient/reveal animations of)
   these sections when they approach the viewport. contain-intrinsic-size
   reserves space so the scrollbar and in-page anchors stay stable (no CLS). */
#furniture, #fumehoods, #facilities, #process, #why {
  content-visibility: auto;
  contain-intrinsic-size: auto 1100px;
}

/* ============================================================
   Ambient background motion + smart animated hover glow
============================================================ */
@property --brd-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* Keep section content above the moving background */
.section { position: relative; isolation: isolate; }
.section > .container { position: relative; z-index: 1; }

/* Drifting orb layer — gentle motion behind every section (light & dark) */
.section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(300px 300px at 12% 16%, color-mix(in srgb, var(--cyan) 13%, transparent), transparent 60%),
    radial-gradient(340px 340px at 88% 84%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 62%);
  will-change: transform;
  animation: ambientDrift 28s ease-in-out infinite alternate;
}
.section:nth-of-type(even)::after { animation-duration: 34s; animation-delay: -6s; background:
    radial-gradient(320px 320px at 82% 20%, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 60%),
    radial-gradient(300px 300px at 16% 80%, color-mix(in srgb, #3b6bff 12%, transparent), transparent 62%); }
.section--dark::after { mix-blend-mode: screen; opacity: .7; }
@keyframes ambientDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, -2.5%, 0) scale(1.12); }
  100% { transform: translate3d(-2.5%, 3%, 0) scale(1.06); }
}

/* Animated conic glow border on the card you're hovering ("super cool") */
.citem::before, .whycard::after, .card::before, .pillar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 2;
  pointer-events: none; opacity: 0; transition: opacity .4s;
  background: conic-gradient(from var(--brd-angle),
    transparent 0%, var(--cyan) 14%, var(--cyan-light) 26%, var(--gold-light) 40%, transparent 56%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.citem:hover::before, .whycard:hover::after, .card:hover::before, .pillar:hover::after {
  opacity: 1; animation: spinBorder 3.6s linear infinite;
}
@keyframes spinBorder { to { --brd-angle: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .btn::after, .citem::after, .whycard::before, .pstep::after, .section::after { display: none; }
  .catalog:has(.citem:hover) .citem:not(:hover),
  .cards:has(.card:hover) .card:not(:hover),
  .why:has(.whycard:hover) .whycard:not(:hover),
  .services:has(.service:hover) .service:not(:hover),
  .process:has(.pstep:hover) .pstep:not(:hover) { transform: none; }
}
