/* ============================================================
   XANDORS — Design System
   ------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Ambient background (aurora, grid, grain)
   6.  Preloader
   7.  Navigation
   8.  Buttons
   9.  Motion / reveal primitives
   10. Components (per section)
   11. Footer
   12. Responsive
   ============================================================ */

/* ---------- 1. TOKENS ------------------------------------- */
:root {
  /* Core palette — swap these six values to re-skin the site */
  --ink:          #050609;   /* Deep black      */
  --charcoal:     #0A0C12;   /* Dark charcoal   */
  --surface:      #10131C;   /* Raised surface  */
  --surface-2:    #161A26;   /* Hover surface   */
  --blue:         #3D7BFF;   /* Electric blue   */
  --blue-bright:  #5E97FF;
  --purple:       #8B5CF6;   /* Purple          */
  --violet:       #B06CFF;

  /* Text */
  --white:        #FFFFFF;
  --text:         #EDEFF5;
  --text-muted:   #9AA3B8;
  --text-dim:     #626B80;

  /* Lines & glass */
  --line:         rgba(255, 255, 255, .08);
  --line-strong:  rgba(255, 255, 255, .16);
  --glass:        rgba(255, 255, 255, .035);
  --glass-hi:     rgba(255, 255, 255, .06);

  /* Gradients */
  --grad-brand:   linear-gradient(115deg, var(--blue) 0%, var(--purple) 55%, var(--violet) 100%);
  --grad-text:    linear-gradient(100deg, #FFFFFF 12%, #C9D6FF 45%, #A78BFA 88%);
  --grad-line:    linear-gradient(90deg, transparent, var(--line-strong) 22%, var(--line-strong) 78%, transparent);
  --grad-card:    linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.012) 55%);

  /* Glow */
  --glow-blue:    0 0 0 1px rgba(61,123,255,.28), 0 20px 60px -18px rgba(61,123,255,.55);
  --glow-purple:  0 0 0 1px rgba(139,92,246,.28), 0 20px 60px -18px rgba(139,92,246,.5);

  /* Type */
  --font-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid scale */
  --step--2: clamp(.69rem, .66rem + .12vw, .75rem);
  --step--1: clamp(.82rem, .78rem + .18vw, .9375rem);
  --step-0:  clamp(.95rem, .9rem + .25vw, 1.0625rem);
  --step-1:  clamp(1.1rem, 1rem + .5vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --step-3:  clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --step-4:  clamp(2.4rem, 1.7rem + 3.4vw, 4.5rem);
  --step-5:  clamp(2.9rem, 1.6rem + 5.6vw, 7rem);

  /* Space & shape */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1280px;
  --maxw-narrow: 860px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur: .55s;

  --nav-h: 76px;
}

/* ---------- 2. RESET & BASE -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  /* The site is dark-only — render native UI (dropdowns, scrollbars,
     date pickers) to match instead of the OS light default. */
  color-scheme: dark;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-feature-settings: "ss01", "cv05", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body.is-locked { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
img { border-radius: inherit; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: rgba(139, 92, 246, .35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -200%);
  background: var(--surface); border: 1px solid var(--line-strong);
  padding: .7rem 1.2rem; border-radius: var(--r-pill); z-index: 999;
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--purple));
  border-radius: 99px; border: 3px solid var(--ink);
}

/* ---------- 3. TYPOGRAPHY ---------------------------------- */
h1, h2, h3, h4, h5 {
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--white);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); letter-spacing: -.025em; line-height: 1.15; }
h4 { font-size: var(--step-1); letter-spacing: -.02em; line-height: 1.25; }

p { text-wrap: pretty; }

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 350;
  max-width: 62ch;
}

.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--step--2);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(139,92,246,.9);
  animation: pulseDot 2.6s var(--ease-in-out) infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .55; }
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: .04em;
  color: var(--text-dim);
}

/* Placeholder marker — makes swap-me content obvious while editing */
.ph { color: var(--text-dim); }

/* ---------- 4. LAYOUT -------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); }
.wrap-wide { max-width: 1480px; }

.section { position: relative; padding-block: clamp(3rem, 5.5vw, 5.75rem); }
.section-tight { padding-block: clamp(2.25rem, 3.5vw, 3.5rem); }

.section-head { max-width: 780px; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-head h2 { margin-bottom: 1.25rem; }
.section-head.center .eyebrow { justify-content: center; }

.rule { height: 1px; background: var(--grad-line); border: 0; }

.grid { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.stack-sm { display: flex; flex-direction: column; gap: .75rem; }
.row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ---------- 5. AMBIENT BACKGROUND -------------------------- */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.ambient__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 25%, transparent 78%);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.blob--a { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: radial-gradient(circle, rgba(61,123,255,.45), transparent 68%); animation: drift 26s var(--ease-in-out) infinite; }
.blob--b { width: 40vw; height: 40vw; right: -8vw; top: 4vh; background: radial-gradient(circle, rgba(139,92,246,.42), transparent 68%); animation: drift 32s var(--ease-in-out) infinite reverse; }
.blob--c { width: 52vw; height: 34vw; left: 24vw; top: 62vh; background: radial-gradient(circle, rgba(176,108,255,.22), transparent 70%); animation: drift 40s var(--ease-in-out) infinite; }

@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  33%      { transform: translate3d(6vw, 5vh, 0) scale(1.12); }
  66%      { transform: translate3d(-5vw, -3vh, 0) scale(.94); }
}

/* Fine film grain — the detail that kills the "AI gradient" look */
.ambient__grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  opacity: .16;
  mix-blend-mode: overlay;
  animation: grainShift 900ms steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -2%); }
  75%  { transform: translate(-1%, -1%); }
  100% { transform: translate(0,0); }
}

/* Mouse-follow spotlight */
.spotlight {
  position: fixed; z-index: 1; pointer-events: none;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(93,141,255,.09), transparent 62%);
  transform: translate(-50%, -50%);
  transition: opacity .5s ease;
  opacity: 0;
}

/* Page content sits above ambient */
.page { position: relative; z-index: 2; }

/* ---------- 6. PRELOADER ----------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease-out), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { width: min(320px, 70vw); text-align: center; }
.preloader__mark {
  font-size: 1.35rem; letter-spacing: .42em; text-transform: uppercase;
  font-weight: 500; color: var(--white);
  margin-bottom: 1.6rem; padding-left: .42em;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .1s forwards;
}
.preloader__bar {
  height: 2px; width: 100%; background: rgba(255,255,255,.1);
  border-radius: 99px; overflow: hidden;
}
.preloader__fill {
  display: block; height: 100%; width: 0%;
  background: var(--grad-brand);
  box-shadow: 0 0 18px rgba(139,92,246,.9);
  transition: width .35s var(--ease-out);
}
.preloader__pct {
  margin-top: .9rem; font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .22em; color: var(--text-dim);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 7. NAVIGATION ---------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: height .4s var(--ease-out), background .4s ease, border-color .4s ease, backdrop-filter .4s ease, transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  height: 62px;
  background: rgba(5, 6, 9, .72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-102%); }
.nav__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand__logo { height: 30px; width: auto; display: block; transition: opacity .3s ease; }
.brand:hover .brand__logo { opacity: .85; }
.nav.is-stuck .brand__logo { height: 26px; }
.footer .brand__logo { height: 34px; }
@media (max-width: 640px) { .brand__logo { height: 26px; } }
.brand__glyph { width: 30px; height: 30px; }
.brand__glyph svg { width: 100%; height: 100%; }
.brand__name {
  font-size: 1.02rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--white);
}
.brand__name em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--violet);
}

.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative; padding: .5rem .85rem; border-radius: var(--r-pill);
  font-size: var(--step--1); color: var(--text-muted); font-weight: 450;
  transition: color .3s ease, background .3s ease;
}
.nav__link:hover, .nav__link:focus-visible { color: var(--white); background: var(--glass); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; translate: -50% 0;
  width: 16px; height: 2px; border-radius: 2px; background: var(--grad-brand);
}

.nav__actions { display: flex; align-items: center; gap: .75rem; }

.nav__toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--glass);
  place-items: center;
}
.nav__toggle span {
  display: block; width: 17px; height: 1.5px; background: var(--white); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s ease;
}
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(5,6,9,.92);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 3rem;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.mm-link {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.6rem, 7vw, 2.4rem); letter-spacing: -.03em; color: var(--white);
  opacity: 0; transform: translateY(18px);
}
.mobile-menu.is-open a.mm-link { animation: fadeUp .55s var(--ease-out) forwards; }
.mobile-menu a.mm-link span { font-family: var(--font-mono); font-size: .7rem; color: var(--text-dim); }

/* ---------- 8. BUTTONS ------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem; padding: .95rem 1.6rem; border-radius: var(--r-pill);
  font-size: var(--step--1); font-weight: 500; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .3s ease, border-color .3s ease, background .3s ease;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 10px 30px -12px rgba(87,110,255,.85), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, var(--violet), var(--blue));
  opacity: 0; transition: opacity .4s ease;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(139,92,246,.95); }
.btn--primary:hover::after { opacity: 1; }

.btn--ghost {
  border: 1px solid var(--line-strong); color: var(--white);
  background: var(--glass); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: var(--glass-hi); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

.btn--quiet { color: var(--text-muted); padding-inline: .4rem; }
.btn--quiet:hover { color: var(--white); }

.btn--lg { padding: 1.15rem 2rem; font-size: var(--step-0); }
.btn--sm { padding: .6rem 1.05rem; font-size: var(--step--2); }
.btn--block { width: 100%; }

/* Magnetic wrapper */
.magnetic { display: inline-block; will-change: transform; }
/* When .magnetic sits directly on a button, keep the button's own flex layout
   so the label and icon stay on one line. */
.btn.magnetic { display: inline-flex; }

/* Text link with animated underline */
.link-u {
  position: relative; display: inline-flex; align-items: center; gap: .45rem;
  color: var(--white); font-weight: 450; font-size: var(--step--1);
}
.link-u::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform-origin: right; transform: scaleX(0);
  transition: transform .45s var(--ease-out);
}
.link-u:hover::after { transform-origin: left; transform: scaleX(1); }

/* Pills / chips / badges */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .8rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--glass);
  font-size: var(--step--2); color: var(--text-muted); white-space: nowrap;
}
.chip--accent { border-color: rgba(139,92,246,.35); color: #D9C9FF; background: rgba(139,92,246,.08); }

.badge-live {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem .9rem .42rem .7rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--glass);
  font-size: var(--step--2); color: var(--text-muted); backdrop-filter: blur(10px);
}
.badge-live i {
  width: 6px; height: 6px; border-radius: 50%; background: #34D399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.16); animation: pulseDot 2s infinite;
}

/* ---------- 9. MOTION PRIMITIVES --------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.955); }
[data-reveal="blur"]  { filter: blur(10px); transform: translateY(18px); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* Line-by-line headline reveal */
.reveal-lines { display: block; }
.reveal-lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.reveal-lines .line > span {
  display: block; transform: translateY(105%);
  transition: transform 1.05s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-lines.is-in .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .reveal-lines .line > span { transform: none !important; }
}

/* ---------- 10. CARDS (shared) ----------------------------- */
.card {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--grad-card);
  transition: transform .5s var(--ease-out), border-color .5s ease, background .5s ease, box-shadow .5s ease;
}
.card::before {
  /* cursor-tracked sheen */
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(120,150,255,.14), transparent 62%);
  opacity: 0; transition: opacity .45s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card__body { padding: clamp(1.4rem, 2.4vw, 2rem); }

.icon-tile {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(61,123,255,.22), rgba(139,92,246,.14));
  color: #CFE0FF;
  transition: transform .5s var(--ease-spring), box-shadow .5s ease;
}
.icon-tile svg { width: 21px; height: 21px; }
.card:hover .icon-tile { transform: translateY(-2px) rotate(-4deg); box-shadow: 0 10px 26px -10px rgba(93,141,255,.8); }

/* ---------- HERO ------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2rem, 4.5vw, 4rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  min-height: min(86svh, 820px);
  display: flex; align-items: center;
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: 100%;
}
.hero__eyebrow { margin-bottom: 1.35rem; }
.hero h1 { margin-bottom: 1.4rem; font-weight: 480; font-size: clamp(1.95rem, 1.2rem + 2.7vw, 3.5rem); }
.hero h1 .line:last-child span { color: transparent; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.hero__sub { font-size: clamp(.98rem, .55vw + .85rem, 1.12rem); color: var(--text-muted); max-width: 54ch; font-weight: 350; }
.hero__sub strong { color: var(--text); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 1.9rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero__stars { display: flex; align-items: center; gap: .55rem; font-size: var(--step--1); color: var(--text-muted); }
.stars { display: inline-flex; gap: 2px; color: #FFC24B; }
.stars svg { width: 14px; height: 14px; }
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink);
  margin-left: -10px; background: var(--grad-brand);
  display: grid; place-items: center; font-size: .68rem; font-weight: 600; color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(140deg,#5E97FF,#8B5CF6); }
.avatars span:nth-child(3) { background: linear-gradient(140deg,#8B5CF6,#B06CFF); }
.avatars span:nth-child(4) { background: linear-gradient(140deg,#B06CFF,#3D7BFF); }

/* Floating device showcase */
.showcase { position: relative; height: clamp(420px, 46vw, 620px); perspective: 1400px; }
.showcase__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.device {
  position: absolute; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: #0B0D14;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04) inset;
  will-change: transform;
}
.device__screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #06070B; }
.device__chrome {
  position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 3;
  display: flex; align-items: center; gap: 5px; padding-inline: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.device__chrome i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }

.device--main { left: 0; top: 8%; width: 74%; height: 60%; }
.device--phone { right: 2%; top: 30%; width: 25%; height: 62%; border-radius: 26px; }
.device--card { right: 6%; top: 0; width: 44%; height: 26%; border-radius: 18px; }
.device--stat { left: 6%; bottom: 2%; width: 46%; height: 20%; border-radius: 18px; }

/* Real hero footage — silent, looping, sits behind the on-screen UI */
.reel__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  background: linear-gradient(150deg, #141B33, #07080F);
}
.device__screen > .reel__ui, .device__screen > .play-btn { z-index: 4; }

/* Fake video content: layered gradient "scenes" that cross-fade */
.reel { position: absolute; inset: 0; }
.reel__frame {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.06);
  animation: reelCycle 12s var(--ease-in-out) infinite;
}
.reel__frame:nth-child(1) { animation-delay: 0s; }
.reel__frame:nth-child(2) { animation-delay: 4s; }
.reel__frame:nth-child(3) { animation-delay: 8s; }
@keyframes reelCycle {
  0%   { opacity: 0; transform: scale(1.08); }
  6%   { opacity: 1; transform: scale(1.02); }
  30%  { opacity: 1; transform: scale(1); }
  36%  { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; }
}
.scene-1 { background: radial-gradient(120% 90% at 20% 10%, #1E3A8A 0%, #0B1020 55%), linear-gradient(140deg,#2B1A5E,#07080F); }
.scene-2 { background: radial-gradient(100% 90% at 80% 20%, #5B21B6 0%, #0A0A18 60%), linear-gradient(200deg,#0F2A5E,#07080F); }
.scene-3 { background: radial-gradient(110% 100% at 50% 90%, #0E7490 0%, #0A1020 58%), linear-gradient(160deg,#3B1D6E,#06070C); }
.scene-4 { background: radial-gradient(90% 90% at 30% 30%, #7C3AED 0%, #0B0A18 62%); }
.scene-5 { background: radial-gradient(90% 90% at 70% 70%, #2563EB 0%, #080C18 62%); }

/* subject silhouette so scenes read as footage, not swatches */
.reel__frame::after {
  content: ""; position: absolute; left: 50%; bottom: -12%; translate: -50% 0;
  width: 46%; aspect-ratio: 1/1.35; border-radius: 50% 50% 42% 42%;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.8));
  filter: blur(.5px);
}
.reel__frame::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72));
}

.reel__ui {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 8px;
}
.reel__bar { height: 3px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.reel__bar i { display: block; height: 100%; width: 0; background: var(--grad-brand); animation: playhead 12s linear infinite; }
@keyframes playhead { 0% { width: 0; } 100% { width: 100%; } }
.reel__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reel__label { font-size: .68rem; letter-spacing: .06em; color: rgba(255,255,255,.82); font-weight: 500; }
.reel__time { font-family: var(--font-mono); font-size: .6rem; color: rgba(255,255,255,.5); }

.play-btn {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 5;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px); color: #fff;
}
.play-btn::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); animation: ripple 2.8s var(--ease-out) infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.85); opacity: 0; }
}
.play-btn svg { width: 16px; height: 16px; margin-left: 3px; }

/* Floating glass metric cards on hero */
.float-card {
  position: absolute; z-index: 6; padding: .85rem 1.05rem; border-radius: 16px;
  background: rgba(16,19,28,.72); border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 26px 60px -26px rgba(0,0,0,.95);
  animation: floaty 7s var(--ease-in-out) infinite;
}
.float-card--1 { right: -2%; top: 4%; animation-delay: -1.5s; }
.float-card--2 { left: -4%; bottom: 16%; animation-delay: -3.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}
.float-card__k { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.float-card__v { font-size: 1.3rem; font-weight: 600; letter-spacing: -.03em; color: #fff; line-height: 1.2; }
.float-card__v small { font-size: .7rem; color: #34D399; font-weight: 500; margin-left: .3rem; }

.spark { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: .4rem; }
.spark i {
  width: 4px; border-radius: 2px; background: var(--grad-brand); opacity: .85;
  animation: sparkGrow 2.4s var(--ease-in-out) infinite alternate;
}
@keyframes sparkGrow { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

/* ---------- COUNTERS / TRUST ------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.008));
  overflow: hidden; backdrop-filter: blur(12px);
}
.stat {
  position: relative; padding: clamp(1.4rem, 2.6vw, 2.2rem);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .45s ease;
}
.stat:hover { background: rgba(255,255,255,.03); }
.stat:nth-child(4n) { border-right: 0; }
.stats > .stat:nth-last-child(-n+4) { border-bottom: 0; }
.stat__num {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 550; letter-spacing: -.045em;
  line-height: 1; color: var(--white); display: flex; align-items: baseline; gap: .05em;
}
.stat__num .suffix { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: .6rem; font-size: var(--step--1); color: var(--text-muted); }
.stat__note { margin-top: .2rem; font-size: var(--step--2); color: var(--text-dim); }

/* ---------- LOGO MARQUEE ----------------------------------- */
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: clamp(2rem, 4vw, 4rem); width: max-content; animation: scrollX 44s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item {
  flex: none; height: 34px; display: grid; place-items: center;
  opacity: .48; filter: grayscale(1) brightness(1.7);
  transition: opacity .4s ease, filter .4s ease, transform .4s ease;
}
.logo-item img { height: 100%; width: auto; }
.logo-item:hover { opacity: 1; filter: none; transform: translateY(-2px); }

/* ---------- RESULTS CARDS ---------------------------------- */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.result-card { display: flex; flex-direction: column; min-height: 230px; }
.result-card .card__body { display: flex; flex-direction: column; height: 100%; gap: .9rem; }
.result-card h3 { font-size: var(--step-1); }
.result-card p { font-size: var(--step--1); color: var(--text-muted); flex: 1; }
.result-card__metric {
  display: flex; align-items: baseline; gap: .5rem; padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.result-card__metric b { font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-card__metric span { font-size: var(--step--2); color: var(--text-dim); }

/* ---------- COMPARISON ------------------------------------- */
.compare { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: rgba(255,255,255,.012); }
.compare__cell { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .7rem; font-size: var(--step--1); }
.compare__cell:nth-child(3n+2) { background: rgba(139,92,246,.05); border-inline: 1px solid var(--line); }
.compare__head { padding-block: 1.35rem; font-weight: 550; color: var(--white); font-size: var(--step-0); letter-spacing: -.02em; }
.compare__head.is-us { background: linear-gradient(180deg, rgba(139,92,246,.18), rgba(139,92,246,.04)); }
.compare__row-label { color: var(--text); font-weight: 450; }
.compare__cell:nth-last-child(-n+3) { border-bottom: 0; }
.mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; }
.mark--yes { background: rgba(52,211,153,.14); color: #34D399; border: 1px solid rgba(52,211,153,.3); }
.mark--no { background: rgba(255,255,255,.05); color: var(--text-dim); border: 1px solid var(--line); }
.mark svg { width: 12px; height: 12px; }

/* ---------- PROCESS TIMELINE ------------------------------- */
.process { position: relative; }
.process__line {
  position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(180deg, var(--line-strong), var(--line));
  border-radius: 2px; overflow: hidden;
}
.process__line i { display: block; width: 100%; height: 0%; background: var(--grad-brand); box-shadow: 0 0 18px rgba(139,92,246,.8); transition: height .1s linear; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: clamp(1rem, 2.5vw, 2rem); padding-bottom: clamp(1.15rem, 2vw, 1.75rem); }
.step:last-child { padding-bottom: 0; }
.step__dot {
  position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; flex: none;
  background: var(--surface); border: 1px solid var(--line-strong); color: #CFE0FF;
  transition: transform .5s var(--ease-spring), border-color .4s ease, box-shadow .4s ease, background .4s ease;
}
.step__dot svg { width: 22px; height: 22px; }
.step.is-in .step__dot { background: linear-gradient(150deg, rgba(61,123,255,.28), rgba(139,92,246,.2)); border-color: rgba(139,92,246,.5); box-shadow: 0 0 0 6px rgba(139,92,246,.06), 0 16px 40px -16px rgba(139,92,246,.8); }
.step__body { padding-top: .3rem; }
.step__n { font-family: var(--font-mono); font-size: .68rem; color: var(--text-dim); letter-spacing: .18em; }
.step h3 { margin: .35rem 0 .5rem; font-size: var(--step-1); }
.step p { color: var(--text-muted); font-size: var(--step--1); max-width: 60ch; }
.step__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }

/* ---------- SERVICES --------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.service {
  position: relative; padding: 1.25rem; border-radius: var(--r-md);
  border: 1px solid var(--line); background: rgba(255,255,255,.018);
  overflow: hidden; cursor: pointer;
  transition: background .45s ease, border-color .45s ease, transform .45s var(--ease-out);
}
.service:hover { background: rgba(255,255,255,.045); border-color: var(--line-strong); transform: translateY(-3px); }
.service__top { display: flex; align-items: center; gap: .9rem; }
.service h3 { font-size: var(--step-0); font-weight: 550; letter-spacing: -.02em; }
.service__idx { margin-left: auto; font-family: var(--font-mono); font-size: .66rem; color: var(--text-dim); }
.service__more {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .55s var(--ease-out), opacity .4s ease, margin-top .5s var(--ease-out);
  margin-top: 0;
}
.service__more > div { overflow: hidden; }
.service:hover .service__more, .service:focus-within .service__more { grid-template-rows: 1fr; opacity: 1; margin-top: 1rem; }
.service__more p { font-size: var(--step--1); color: var(--text-muted); }
.service__more ul { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.service::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.service:hover::after { transform: scaleX(1); }

/* ---------- INDUSTRIES ------------------------------------- */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.ind {
  position: relative; padding: 1.1rem 1rem; border-radius: var(--r-md);
  border: 1px solid var(--line); background: rgba(255,255,255,.015);
  display: flex; align-items: center; gap: .7rem; overflow: hidden;
  font-size: var(--step--1); color: var(--text);
  transition: color .4s ease, border-color .4s ease, transform .4s var(--ease-out), background .4s ease;
}
.ind svg { width: 17px; height: 17px; color: var(--text-dim); transition: color .4s ease, transform .4s var(--ease-spring); }
.ind:hover { transform: translateY(-3px); border-color: rgba(139,92,246,.4); background: rgba(139,92,246,.07); color: #fff; }
.ind:hover svg { color: var(--violet); transform: scale(1.12) rotate(-6deg); }

/* ---------- PORTFOLIO -------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  padding: .55rem 1.05rem; border-radius: var(--r-pill); font-size: var(--step--1);
  border: 1px solid var(--line); color: var(--text-muted); background: transparent;
  transition: all .35s var(--ease-out);
}
.filter:hover { color: var(--white); border-color: var(--line-strong); }
.filter.is-active { color: #fff; border-color: transparent; background: var(--grad-brand); box-shadow: 0 8px 24px -10px rgba(120,110,255,.9); }

/* Jump link that sits in the filter row but scrolls instead of filtering */
.filter--jump { display: inline-flex; align-items: center; gap: .4rem; }
.filter--jump svg { transition: transform .35s var(--ease-out); }
.filter--jump:hover svg { transform: translateY(2px); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.work {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .55s var(--ease-out), border-color .45s ease, box-shadow .55s var(--ease-out);
  display: flex; flex-direction: column;
}
.work:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 40px 80px -40px rgba(0,0,0,1); }
.work.is-hidden { display: none; }
.work__media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0B0D14; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .6s ease; }
.work:hover .work__media img { transform: scale(1.06); filter: saturate(1.15) brightness(1.05); }
.work__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(5,6,9,.85)); }
.work__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity .45s ease;
}
.work:hover .work__play { opacity: 1; }
.work__tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 3;
  padding: .3rem .7rem; border-radius: var(--r-pill); font-size: .68rem;
  background: rgba(5,6,9,.7); border: 1px solid var(--line-strong); backdrop-filter: blur(8px);
  color: var(--text); letter-spacing: .04em;
}
.work__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.work__client { font-size: var(--step--2); color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; }
.work h3 { font-size: var(--step-1); }
.work p { font-size: var(--step--1); color: var(--text-muted); }
.work__metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.work__metric b { display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.work__metric span { font-size: .68rem; color: var(--text-dim); }
.work__foot { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.25rem; border-top: 1px solid var(--line); background: rgba(255,255,255,.015); }

/* ---------- TESTIMONIALS / SOCIAL PROOF -------------------- */
/* Equal-height testimonial cards — long reviews clamp with a Show more toggle */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.quote { position: relative; display: flex; }
.quote > .card__body { display: flex; flex-direction: column; width: 100%; }
.quote__mark { font-family: var(--font-serif); font-size: 3.6rem; line-height: .6; color: var(--violet); opacity: .5; }
.quote p {
  font-size: var(--step-0); color: var(--text); margin: 1rem 0 0; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}
.quote.is-open p { -webkit-line-clamp: unset; overflow: visible; }
.quote__more {
  align-self: flex-start; margin-top: .55rem; padding: 0;
  font-size: var(--step--2); font-weight: 500; letter-spacing: .01em;
  color: var(--violet); background: none; border: 0;
  transition: color .3s ease;
}
.quote__more:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.quote__who { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.quote__ava { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; font-weight: 600; font-size: .8rem; color: #fff; flex: none; }
.quote__who b { display: block; font-size: var(--step--1); font-weight: 550; color: #fff; }
.quote__who span { font-size: var(--step--2); color: var(--text-dim); }
.quote__result { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; margin-top: 1.25rem; padding: .35rem .75rem; border-radius: var(--r-pill); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.24); color: #6EE7B7; font-size: var(--step--2); }
.quote__result:empty { display: none; }

.vquote { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; background: #0B0D14; }
.vquote img { width: 100%; height: 100%; object-fit: cover; }
.vquote__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,6,9,.9)); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.1rem; gap: .3rem; }
.vquote__overlay b { font-size: var(--step--1); color: #fff; }
.vquote__overlay span { font-size: var(--step--2); color: var(--text-muted); }

.rating-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.rating {
  padding: 1.35rem; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--grad-card); text-align: center;
  transition: transform .45s var(--ease-out), border-color .4s ease;
}
.rating:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.rating__src { font-size: var(--step--2); letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.rating__score { font-size: 1.9rem; font-weight: 600; letter-spacing: -.04em; margin: .35rem 0 .2rem; color: #fff; }
.rating__count { font-size: var(--step--2); color: var(--text-dim); }

.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.badge-item {
  display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255,255,255,.015);
  font-size: var(--step--2); color: var(--text-muted);
  transition: border-color .4s ease, background .4s ease, color .4s ease;
}
.badge-item:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); color: var(--text); }
.badge-item svg { width: 16px; height: 16px; color: var(--violet); }

/* ---------- CASE STUDIES ----------------------------------- */
.case {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(140deg, rgba(255,255,255,.045), rgba(255,255,255,.008));
}
.case + .case { margin-top: 1.25rem; }
.case:nth-child(even) .case__media { order: 2; }
.case__media { position: relative; min-height: 340px; background: #0A0C14; overflow: hidden; }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: clamp(1.6rem, 3vw, 3rem); display: flex; flex-direction: column; gap: 1.1rem; }
.case__kv { display: grid; grid-template-columns: 92px 1fr; gap: .6rem 1rem; font-size: var(--step--1); }
.case__kv dt { color: var(--text-dim); font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase; padding-top: .15rem; }
.case__kv dd { color: var(--text-muted); }
.case__results { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding: 1.1rem 0; border-block: 1px solid var(--line); }
.case__results b { display: block; font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; letter-spacing: -.04em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case__results span { font-size: var(--step--2); color: var(--text-dim); }
.case__quote { font-size: var(--step--1); color: var(--text); font-style: italic; border-left: 2px solid var(--violet); padding-left: 1rem; }

/* ---------- PRICING ---------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--grad-card); position: relative; overflow: hidden; transition: transform .5s var(--ease-out), border-color .4s ease; }
.plan:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.plan--featured { border-color: rgba(139,92,246,.45); background: linear-gradient(165deg, rgba(139,92,246,.16), rgba(61,123,255,.05) 55%, rgba(255,255,255,.01)); box-shadow: 0 30px 80px -40px rgba(139,92,246,.9); }
.plan--featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(139,92,246,.7), transparent 55%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__flag { position: absolute; top: 1rem; right: 1rem; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .6rem; border-radius: var(--r-pill); background: var(--grad-brand); color: #fff; }
.plan h3 { font-size: var(--step-1); }
.plan__for { font-size: var(--step--2); color: var(--text-dim); margin-top: .35rem; }
.plan__for:empty { display: none; }
.plan__price { margin: 1rem 0 .35rem; font-size: 1.6rem; font-weight: 550; letter-spacing: -.035em; color: #fff; }
.plan__hint { font-size: var(--step--2); color: var(--text-dim); }
.plan ul { margin: 1.5rem 0; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.plan li { display: flex; gap: .6rem; font-size: var(--step--1); color: var(--text-muted); }
.plan li svg { width: 15px; height: 15px; flex: none; margin-top: .35rem; color: var(--violet); }

/* ---------- FAQ -------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; text-align: left; font-size: var(--step-1); font-weight: 450;
  letter-spacing: -.02em; color: var(--text); transition: color .35s ease;
}
.faq__q:hover { color: var(--white); }
.faq__icon {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center; margin-top: .15rem;
  transition: background .4s ease, border-color .4s ease, transform .5s var(--ease-out);
}
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-out), opacity .3s ease; }
.faq__icon::before { width: 11px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 11px; }
.faq__item.is-open .faq__icon { background: var(--grad-brand); border-color: transparent; transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.5rem; color: var(--text-muted); font-size: var(--step-0); max-width: 72ch; }

/* ---------- BIG CTA ---------------------------------------- */
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(165deg, rgba(61,123,255,.14), rgba(139,92,246,.1) 45%, rgba(255,255,255,.012));
}
.cta-panel::after {
  content: ""; position: absolute; left: 50%; top: -50%; translate: -50% 0;
  width: 120%; aspect-ratio: 2/1; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.28), transparent 62%);
  filter: blur(50px); pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { margin-bottom: 1.25rem; }
.cta-panel .row { justify-content: center; margin-top: 2.25rem; }
.cta-panel__foot { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; font-size: var(--step--2); color: var(--text-dim); }
.cta-panel__foot span { display: inline-flex; align-items: center; gap: .45rem; }

/* Sticky CTA bar (portfolio / case study pages) */
.sticky-cta {
  position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 150;
  display: flex; align-items: center; gap: 1.25rem;
  padding: .7rem .7rem .7rem 1.35rem; border-radius: var(--r-pill);
  background: rgba(12,14,20,.82); border: 1px solid var(--line-strong);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 24px 60px -22px rgba(0,0,0,1);
  opacity: 0; transform: translateY(130%); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.sticky-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta p { font-size: var(--step--1); color: var(--text-muted); }
.sticky-cta b { color: #fff; font-weight: 550; }

/* ---------- FORMS ------------------------------------------ */
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: var(--step--2); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field textarea, .field select {
  width: 100%; padding: .95rem 1.1rem; border-radius: var(--r-md);
  background: rgba(255,255,255,.025); border: 1px solid var(--line);
  color: var(--text); font-size: var(--step-0);
  transition: border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
/* Native dropdown lists are drawn by the OS — tell it to use dark mode,
   and colour the options directly for browsers that honour it. */
.field select { color-scheme: dark; }
.field select option,
.field select optgroup {
  background-color: #12141C;
  color: #EDEFF5;
}
.field select option:checked { background-color: #2A2E3D; }

.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.75rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: rgba(139,92,246,.6); background: rgba(255,255,255,.045);
  box-shadow: 0 0 0 4px rgba(139,92,246,.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: var(--step--2); color: var(--text-dim); }

.newsletter { display: flex; gap: .6rem; max-width: 420px; }
.newsletter input { flex: 1; padding: .8rem 1rem; border-radius: var(--r-pill); background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: var(--step--1); }
.newsletter input:focus { outline: none; border-color: rgba(139,92,246,.6); }

/* ---------- BOOKING (Calendly popup trigger) --------------- */
.booking {
  position: relative; overflow: hidden; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(61,123,255,.12), rgba(139,92,246,.08) 45%, rgba(255,255,255,.012));
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .95);
}
.booking::after {
  content: ""; position: absolute; left: 50%; top: -60%; translate: -50% 0;
  width: 110%; aspect-ratio: 2/1; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.22), transparent 62%);
  filter: blur(50px); pointer-events: none;
}
.booking > * { position: relative; z-index: 1; }

/* Placeholder embed blocks (Calendly, map, video) */
.embed-ph {
  position: relative; display: grid; place-items: center; gap: .6rem; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 12px, transparent 12px 24px);
  padding: clamp(2rem, 5vw, 3.5rem); min-height: 260px; color: var(--text-dim);
}
.embed-ph b { color: var(--text-muted); font-weight: 500; font-size: var(--step-0); }
.embed-ph small { font-size: var(--step--2); max-width: 44ch; }

/* ---------- BLOG ------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .5s var(--ease-out), border-color .4s ease; }
.post:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.post.is-hidden { display: none; }
.post__media { aspect-ratio: 16/10; overflow: hidden; background: #0B0D14; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 1.35rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post__meta { display: flex; align-items: center; gap: .6rem; font-size: var(--step--2); color: var(--text-dim); }
.post__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.post h3 { font-size: var(--step-1); }
.post p { font-size: var(--step--1); color: var(--text-muted); flex: 1; }

.feature-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--grad-card); }
.feature-post__media { min-height: 340px; position: relative; background: #0A0C14; }
.feature-post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-post__body { padding: clamp(1.6rem, 3vw, 3rem); display: flex; flex-direction: column; gap: 1.1rem; justify-content: center; }

.search-box { position: relative; max-width: 380px; width: 100%; }
.search-box input { width: 100%; padding: .8rem 1rem .8rem 2.6rem; border-radius: var(--r-pill); background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: var(--step--1); }
.search-box input:focus { outline: none; border-color: rgba(139,92,246,.55); }
.search-box svg { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--text-dim); }

/* ---------- PAGE HERO (inner pages) ------------------------ */
.page-hero { padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: var(--step-4); margin-bottom: 1.35rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: var(--step--2); color: var(--text-dim); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- TEAM / ABOUT ----------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.member { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .5s var(--ease-out), border-color .4s ease; }
.member:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.member__photo { aspect-ratio: 4/5; background: linear-gradient(160deg, #171B29, #0B0D14); position: relative; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s ease, transform .8s var(--ease-out); }
.member:hover .member__photo img { filter: none; transform: scale(1.04); }
.member__body { padding: 1.1rem 1.25rem 1.35rem; }
.member__body b { display: block; font-size: var(--step-0); color: #fff; font-weight: 550; }
.member__body span { font-size: var(--step--2); color: var(--text-dim); }

.value-card { padding: 1.6rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--grad-card); }
.value-card h3 { font-size: var(--step-1); margin: 1rem 0 .6rem; }
.value-card p { font-size: var(--step--1); color: var(--text-muted); }

.timeline-v { position: relative; padding-left: 2rem; border-left: 1px solid var(--line); }
.tl-item { position: relative; padding-bottom: 2.25rem; }
.tl-item::before { content: ""; position: absolute; left: calc(-2rem - 5px); top: .5rem; width: 9px; height: 9px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 4px rgba(139,92,246,.14); }
.tl-item b { font-family: var(--font-mono); font-size: var(--step--2); color: var(--violet); letter-spacing: .1em; }
.tl-item h3 { font-size: var(--step-1); margin: .4rem 0 .5rem; }
.tl-item p { font-size: var(--step--1); color: var(--text-muted); max-width: 62ch; }

.photo-ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(150deg, #141827, #0A0C14); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text-dim); font-size: var(--step--2);
  aspect-ratio: 4/3;
}
.photo-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 30% 20%, rgba(61,123,255,.16), transparent 60%); }

/* ---------- CASE STUDY DETAIL ------------------------------ */
.cs-hero { position: relative; padding-top: calc(var(--nav-h) + 3rem); }
.cs-banner { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/9; background: #0A0C14; }
.cs-banner img { width: 100%; height: 100%; object-fit: cover; }
.cs-banner__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,9,.2), rgba(5,6,9,.85)); display: flex; align-items: flex-end; padding: clamp(1.25rem, 3vw, 2.5rem); }
.cs-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cs-fact { background: var(--charcoal); padding: 1.25rem; }
.cs-fact dt { font-size: var(--step--2); letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.cs-fact dd { margin-top: .4rem; font-size: var(--step-0); color: var(--text); }
.cs-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.cs-side { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; margin-bottom: .9rem; }
.prose h3 { margin-top: 1.75rem; margin-bottom: .6rem; }
.prose p { color: var(--text-muted); margin-bottom: 1rem; }
.prose ul { display: flex; flex-direction: column; gap: .6rem; margin: 1rem 0 1.5rem; }
.prose ul li { display: flex; gap: .7rem; color: var(--text-muted); font-size: var(--step-0); }
.prose ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-brand); margin-top: .62em; flex: none; }
.prose blockquote { margin: 2rem 0; padding: 1.5rem 1.75rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--grad-card); font-size: var(--step-1); font-weight: 350; color: var(--text); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.gallery-grid .photo-ph:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Progress bars */
.bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad-brand); transition: width 1.4s var(--ease-out); }
.bar-row { display: flex; flex-direction: column; gap: .5rem; }
.bar-row .row { justify-content: space-between; font-size: var(--step--1); }
.bar-row .row b { color: #fff; font-weight: 550; }

/* Reading progress */
.read-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 300; background: var(--grad-brand); box-shadow: 0 0 12px rgba(139,92,246,.9); }

/* ---------- 11. FOOTER ------------------------------------- */
.footer { position: relative; border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 4vw, 4rem); padding-top: clamp(2.5rem, 4vw, 4rem); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, .8fr) 1.2fr; gap: clamp(1.5rem, 3vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer h4 { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; margin-bottom: 1.1rem; }
.footer__links { display: flex; flex-direction: column; gap: .7rem; }
.footer__links a { font-size: var(--step--1); color: var(--text-muted); transition: color .3s ease, transform .3s var(--ease-out); display: inline-block; }
.footer__links a:hover { color: var(--white); transform: translateX(3px); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: var(--step--2); color: var(--text-dim); }
.socials { display: flex; gap: .5rem; }
.socials a { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-muted); transition: all .35s var(--ease-out); }
.socials a:hover { color: #fff; border-color: var(--line-strong); background: var(--glass-hi); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }
.footer__word {
  font-size: clamp(2.5rem, 12vw, 9rem); font-weight: 600; letter-spacing: -.06em; line-height: .85;
  text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; padding-top: 1rem; margin-bottom: -.1em; overflow: hidden;
}

/* ---------- 12. RESPONSIVE --------------------------------- */
@media (max-width: 1120px) {
  .results-grid, .price-grid, .team-grid, .rating-strip, .cs-facts { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid, .post-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .cs-layout { grid-template-columns: 1fr; }
  .cs-side { position: static; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .showcase { height: clamp(340px, 62vw, 460px); order: 2; }
  .nav__links { display: none; }
  .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: grid; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(4n) { border-right: 0; }
  .stats > .stat:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .stats > .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .case, .feature-post { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__media { order: 0; }
  .case__media, .feature-post__media { min-height: 260px; }
  .compare { grid-template-columns: 1.2fr .9fr .9fr; font-size: var(--step--2); }
  .compare__cell { padding: .85rem .9rem; }
}

@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .results-grid, .price-grid, .team-grid, .rating-strip, .services-grid,
  .work-grid, .post-grid, .quote-grid, .g-2, .g-3, .g-4, .form-grid,
  .cs-facts, .gallery-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .photo-ph:first-child { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .case__results { grid-template-columns: 1fr; gap: 1rem; }
  .case__kv { grid-template-columns: 1fr; gap: .15rem 0; }
  .case__kv dd { margin-bottom: .5rem; }
  .hero__cta .btn { width: 100%; }
  .sticky-cta { left: var(--gutter); right: var(--gutter); translate: 0 0; width: auto; justify-content: space-between; padding-left: 1rem; }
  .sticky-cta p { display: none; }
  .sticky-cta .btn { flex: 1; }
  .float-card--1 { right: 0; top: 0; }
  .float-card--2 { left: 0; bottom: 6%; }
  .device--card { display: none; }
  .cs-banner { aspect-ratio: 4/3; }
}

@media print {
  .nav, .preloader, .ambient, .sticky-cta, .footer__word { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- ICON UTILITY (SVG sprite) ---------------------- */
svg.i { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg.i--fill { fill: currentColor; stroke: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- HERO REVEAL STATE ------------------------------ */
[data-reveal-hero] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal-hero].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal-hero] { opacity: 1 !important; transform: none !important; } }

/* ---------- MANIFESTO / STATEMENT -------------------------- */
.statement { font-size: clamp(1.5rem, 3.4vw, 3.1rem); line-height: 1.24; letter-spacing: -.035em; font-weight: 400; color: var(--text-dim); max-width: 22ch; }
.statement b { color: var(--white); font-weight: 500; }
.statement-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .statement-grid { grid-template-columns: 1fr; } .statement { max-width: none; } }
.split-list { display: flex; flex-direction: column; }
.split-list__row { display: grid; grid-template-columns: 26px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.split-list__row:first-child { border-top: 1px solid var(--line); }
.split-list__row b { display: block; color: var(--white); font-weight: 500; font-size: var(--step-0); margin-bottom: .25rem; }
.split-list__row p { font-size: var(--step--1); color: var(--text-muted); }
.split-list__row svg { color: var(--violet); margin-top: .3rem; }

/* ---------- SIDEBAR GRID UTILITIES ------------------------- */
.grid--sidebar { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.grid--map { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 1rem; align-items: stretch; }
@media (max-width: 900px) {
  .grid--sidebar, .grid--map { grid-template-columns: 1fr; }
}
/* inline play button (used inside cards & captions) */
.play-btn--inline { position: relative; left: auto; top: auto; translate: none; width: 42px; height: 42px; }

/* ---------- COMPACT PROCESS STRIP -------------------------- */
.process-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: rgba(255,255,255,.012); }
.pstep { position: relative; padding: 1.25rem 1rem 1.35rem; border-right: 1px solid var(--line); transition: background .45s ease; }
.pstep:last-child { border-right: 0; }
.pstep:hover { background: rgba(255,255,255,.035); }
.pstep::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.pstep.is-in::before, .pstep:hover::before { transform: scaleX(1); }
.pstep__n { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; color: var(--text-dim); }
.pstep svg { width: 19px; height: 19px; color: var(--violet); margin: .6rem 0 .5rem; }
.pstep b { display: block; font-size: var(--step--1); font-weight: 550; color: var(--white); letter-spacing: -.01em; }
.pstep p { font-size: var(--step--2); color: var(--text-muted); margin-top: .3rem; line-height: 1.45; }
@media (max-width: 1120px) { .process-strip { grid-template-columns: repeat(4, 1fr); } .pstep:nth-child(4n) { border-right: 0; } .pstep { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px)  { .process-strip { grid-template-columns: repeat(2, 1fr); } .pstep:nth-child(2n) { border-right: 0; } }

/* ---------- INLINE RATING ROW ------------------------------ */
.rating-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.75rem; padding: .9rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--glass); width: fit-content; margin-inline: auto; }
.rating-row div { display: inline-flex; align-items: baseline; gap: .45rem; font-size: var(--step--1); color: var(--text-muted); }
.rating-row b { color: var(--white); font-weight: 600; font-size: var(--step-0); letter-spacing: -.02em; }
@media (max-width: 640px) { .rating-row { border-radius: var(--r-md); gap: .75rem 1.25rem; } }

/* Empty template slots collapse (e.g. an unused "Most chosen" flag) */
.plan__flag:empty, .stat__num .suffix:empty, .chip:empty, .work__tag:empty { display: none; }

/* ---------- WORK PAGE: filter bar + simplified cards -------- */
/* "Show less" state — chevron points back up */
.btn--collapse svg { transform: rotate(180deg); }
.btn--collapse:hover svg { transform: rotate(180deg) translateY(3px); }

.work-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.work-bar .filters { flex: 1 1 auto; }
.work-bar .search-box { max-width: 230px; flex: 0 1 230px; }
@media (max-width: 700px) { .work-bar .search-box { max-width: none; flex: 1 1 100%; } }

/* Silent hover preview sitting over the thumbnail */
.work__preview {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; z-index: 1;
  transition: opacity .55s var(--ease-out);
  pointer-events: none;
}
.work:hover .work__preview[src],
.reel-card:hover .work__preview[src] { opacity: 1; }
.reel-card:hover .work__play { opacity: 1; }
.work__scrim { z-index: 2; }
.work__play { z-index: 3; }
.work[data-video]:not([data-video=""]) .work__tag::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #34D399; box-shadow: 0 0 8px rgba(52,211,153,.9); margin-left: .1rem;
}
.work[data-video]:not([data-video=""]) .work__tag { display: inline-flex; align-items: center; gap: .45rem; }

/* ---------- VIDEO LIGHTBOX --------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 5, 8, .9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner {
  position: relative; width: min(1120px, 100%); aspect-ratio: 16 / 9;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-strong); background: #000;
  box-shadow: 0 50px 130px -40px rgba(0, 0, 0, 1);
  transform: scale(.965) translateY(12px);
  transition: transform .55s var(--ease-out);
}
.lightbox.is-open .lightbox__inner { transform: none; }
.lightbox__inner iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close {
  position: absolute; top: clamp(.9rem, 2.5vw, 1.75rem); right: clamp(.9rem, 2.5vw, 1.75rem);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--glass); color: #fff;
  backdrop-filter: blur(10px);
  transition: background .3s ease, transform .45s var(--ease-out), border-color .3s ease;
}
.lightbox__close:hover { background: var(--glass-hi); border-color: rgba(255,255,255,.32); transform: rotate(90deg); }
.lightbox__notice {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .85rem; text-align: center; padding: clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(160deg, rgba(61,123,255,.10), rgba(139,92,246,.07) 55%, rgba(255,255,255,.012));
  color: var(--text-muted);
}
.lightbox__notice svg { color: var(--violet); }
.lightbox__notice b { font-size: var(--step-1); font-weight: 500; letter-spacing: -.02em; color: #fff; }
.lightbox__notice span { font-size: var(--step--1); max-width: 46ch; line-height: 1.6; }
.lightbox__notice code {
  font-family: var(--font-mono); font-size: .85em; color: #CFE0FF;
  background: rgba(255,255,255,.06); padding: .1em .4em; border-radius: 5px;
}
.lightbox__notice .btn { margin-top: .5rem; }

.lightbox__label {
  position: absolute; left: 50%; bottom: clamp(1rem, 3vw, 2rem); translate: -50% 0;
  font-size: var(--step--2); letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim);
  text-align: center; padding-inline: 1rem;
}
@media (max-width: 640px) { .lightbox__label { display: none; } }

a.work { color: inherit; }
a.work .work__body { gap: .35rem; padding-bottom: 1.35rem; }
a.work h3 { font-size: var(--step-1); }
a.work:hover h3 { color: #fff; }
.work__desc { font-size: var(--step--1); color: var(--text-muted); }
.work__desc:empty { display: none; }

/* ---------- VERTICAL REELS GRID ---------------------------- */
.reel-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.reel-card {
  display: block; color: inherit; position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: transform .5s var(--ease-out), border-color .4s ease, box-shadow .5s var(--ease-out);
}
.reel-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 30px 60px -34px rgba(0,0,0,1); }
.reel-card__media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #0B0D14; }
.reel-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.reel-card:hover .reel-card__media img { transform: scale(1.05); }
.reel-card__body { padding: .8rem .9rem 1rem; }
.reel-card__body b { display: block; font-size: var(--step--1); font-weight: 550; color: #fff; letter-spacing: -.01em; }
.reel-card__body span { font-size: var(--step--2); color: var(--text-muted); }
@media (max-width: 1120px) { .reel-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .reel-grid { grid-template-columns: repeat(2, 1fr); } }

/* Vertical video in the lightbox */
.lightbox--vertical .lightbox__inner { width: min(420px, 100%); aspect-ratio: 9 / 16; max-height: 82vh; }
