/* =====================================================================
   Big Hits Digital Media — site styles
   ---------------------------------------------------------------------
   BRAND PALETTE: change these to match the brand exactly.
   Everything else on the site (gradients, glows, buttons, QR frame)
   is derived from these variables.
   ===================================================================== */
:root {
  --brand:   #ff2d87;   /* primary accent (hot magenta)   */
  --brand-2: #7b5cff;   /* secondary accent (electric violet) */
  --brand-3: #22d3ee;   /* tertiary accent (cyan)          */

  --bg:      #05070f;   /* page background                 */
  --bg-2:    #0a0e1c;   /* alternate section background    */
  --ink:     #eef1fb;   /* main text                       */
  --muted:   #9ca5c0;   /* secondary text                  */
  --line:    rgba(255, 255, 255, .09);
  --glass:   rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);

  --grad: linear-gradient(110deg, var(--brand) 0%, var(--brand-2) 50%, var(--brand-3) 100%);
  --grad-loop: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 25%, var(--brand-3) 50%, var(--brand-2) 75%, var(--brand) 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

/* ---------- Fonts (self-hosted: no third-party requests) ---------- */
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/InterDisplay-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.05; letter-spacing: -.025em; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--alt { background: var(--bg-2); }
.section--alt::before, .section--alt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.section--alt::before { top: 0; } .section--alt::after { bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .16em;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent), 0 0 18px var(--brand);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand) 0%, transparent), 0 0 26px var(--brand); } }

.h-xl { font-size: clamp(44px, 7.6vw, 104px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.h-lg { font-size: clamp(36px, 5.2vw, 68px); font-weight: 800; letter-spacing: -.04em; }
.h-md { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.grad-text {
  background: var(--grad-loop); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.section-head { display: grid; gap: 22px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --bx: 50%; --by: 50%;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15.5px/1 var(--font-body); color: #fff; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); background-size: 160% 100%; box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0;
  background: radial-gradient(120px circle at var(--bx) var(--by), rgba(255,255,255,.45), transparent 60%);
  transition: opacity .3s;
}
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover { box-shadow: 0 16px 60px -12px color-mix(in srgb, var(--brand-2) 80%, transparent); }
.btn--ghost { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: var(--glass-2); border-color: rgba(255,255,255,.2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; }
.logo__art { position: relative; display: block; height: 34px; }
.logo__art i { position: absolute; inset: 0; -webkit-mask: var(--m) left center / contain no-repeat; mask: var(--m) left center / contain no-repeat; }
.logo__wm { --m: url("/assets/img/logo-wordmark.svg"); background: var(--ink); }
.logo__ic { --m: url("/assets/img/logo-icon.svg"); background: var(--grad-loop); background-size: 200% auto; animation: shimmer 6s linear infinite; }
.logo:hover .logo__wm { background: linear-gradient(90deg, var(--ink), #fff 50%, var(--ink)); background-size: 200% auto; animation: shimmer 1.6s linear; }
.footer .logo__art { height: 40px; }
.footer__tagline { margin: 16px 0 0; font-size: 15px; font-style: italic; color: var(--ink); opacity: .85; max-width: 34ch; }
@media (max-width: 640px) { .logo__art { height: 27px; } }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); background: var(--glass-2); }
.nav__cta { margin-left: 10px; padding: 12px 20px; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--glass-2); border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
  .nav-toggle span + span { margin-top: 5px; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 24px 28px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .header { background: color-mix(in srgb, var(--bg) 94%, transparent); }
  .nav__link { font-size: 19px; padding: 14px 16px; }
  .nav__cta { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero--page { min-height: 0; padding: 190px 0 90px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.hero__grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: .55;
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.orb--1 { width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; background: var(--brand); top: -16%; right: -10%; animation: drift 18s ease-in-out infinite; }
.orb--2 { width: 38vw; height: 38vw; max-width: 560px; max-height: 560px; background: var(--brand-2); bottom: -20%; left: -12%; animation: drift 22s ease-in-out infinite reverse; }
.orb--3 { width: 24vw; height: 24vw; max-width: 360px; max-height: 360px; background: var(--brand-3); top: 40%; left: 45%; opacity: .28; animation: drift 26s ease-in-out infinite; }
.hero--page .orb { opacity: .35; }
.hero--page .hero__bg { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(6vw, 4vh) scale(1.08); }
  66% { transform: translate(-4vw, 6vh) scale(.94); }
}

.hero__layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__copy { display: grid; gap: 28px; }
.hero__title .rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(.45em); filter: blur(8px); transition: all .7s var(--ease); }
.rotator > span.is-active { opacity: 1; transform: none; filter: none; }
.hero__quote { font-size: 17px; color: var(--muted); border-left: 2px solid; border-image: var(--grad) 1; padding-left: 18px; max-width: 52ch; }
.hero__quote strong { color: var(--ink); font-weight: 600; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--brand-3); }

/* Terminal card */
.terminal {
  position: relative; border-radius: var(--radius); background: rgba(10, 14, 28, .72);
  border: 1px solid var(--line); backdrop-filter: blur(16px);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
  transform-style: preserve-3d; transition: transform .6s var(--ease);
}
.terminal::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: var(--grad); opacity: .55;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.terminal__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4058; }
.terminal__bar i:nth-child(1) { background: #ff5f57; } .terminal__bar i:nth-child(2) { background: #febc2e; } .terminal__bar i:nth-child(3) { background: #28c840; }
.terminal__bar b { margin-left: auto; font: 500 12px var(--font-mono); color: var(--muted); }
.terminal__body { padding: 22px 22px 26px; font: 400 14px/1.85 var(--font-mono); min-height: 300px; color: #c9d1ea; }
.terminal__body .ok { color: #4ade80; } .terminal__body .dim { color: #6b7391; } .terminal__body .hl { color: var(--brand-3); } .terminal__body .pk { color: var(--brand); }
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: var(--brand-3); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.terminal__stats div { padding: 16px 18px; display: grid; gap: 4px; }
.terminal__stats div + div { border-left: 1px solid var(--line); }
.terminal__stats b { font: 700 22px var(--font-display); }
.terminal__stats span { font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 700 clamp(22px, 3vw, 34px) var(--font-display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); white-space: nowrap; }
.marquee__item:nth-child(3n+1) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee__item::after { content: "✦"; color: var(--brand); -webkit-text-stroke: 0; font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 55%);
}
.card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 23px; font-weight: 700; margin: 22px 0 12px; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 26%, transparent), color-mix(in srgb, var(--brand-2) 18%, transparent));
  border: 1px solid rgba(255,255,255,.12); color: #fff;
}
.card__icon svg { width: 26px; height: 26px; }
.card__num { position: absolute; top: 26px; right: 28px; font: 500 12px var(--font-mono); color: var(--muted); letter-spacing: .1em; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.card li { position: relative; padding-left: 24px; color: var(--muted); font-size: 15.5px; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; border-radius: 2px; background: var(--grad); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: 14.5px; color: var(--muted); transition: all .3s; }
.chip:hover { color: var(--ink); border-color: color-mix(in srgb, var(--brand) 60%, transparent); }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
  transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 1.6s var(--ease);
  opacity: .8;
}
.step { position: relative; padding-top: 80px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font: 700 16px var(--font-mono);
  background: var(--bg-2); border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 6px var(--bg-2);
}
.section:not(.section--alt) .step::before { background: var(--bg); box-shadow: 0 0 0 6px var(--bg); }
.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- Pricing model / feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ticks { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ticks li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--glass);
}
.ticks li > span:first-child { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand-3) 14%, transparent); color: var(--brand-3); }
.ticks svg { width: 22px; height: 22px; }
.ticks b { display: block; font-size: 17.5px; margin-bottom: 2px; }
.ticks small { font-size: 15px; color: var(--muted); }

.stack-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; width: 100%; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); animation: spin 60s linear infinite; }
.ring--2 { inset: 14%; animation-duration: 40s; animation-direction: reverse; border-style: solid; border-color: rgba(255,255,255,.08); }
.ring--3 { inset: 30%; animation-duration: 28s; border-color: rgba(255,255,255,.12); }
.ring .node {
  position: absolute; top: -9px; left: calc(50% - 9px); width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 22px var(--brand);
}
.ring--2 .node { background: var(--brand-3); box-shadow: 0 0 22px var(--brand-3); top: auto; bottom: -9px; }
.ring--3 .node { background: var(--brand-2); box-shadow: 0 0 22px var(--brand-2); left: -9px; top: calc(50% - 9px); }
@keyframes spin { to { transform: rotate(360deg); } }
.core {
  position: absolute; inset: 38%; border-radius: 30%; display: grid; place-items: center; text-align: center;
  background: var(--grad); box-shadow: 0 0 80px -10px var(--brand-2); animation: morph 10s ease-in-out infinite;
  font: 800 clamp(14px, 1.6vw, 18px)/1.1 var(--font-display); padding: 10px;
}
@keyframes morph { 0%,100% { border-radius: 30% 70% 60% 40% / 40% 40% 60% 60%; } 50% { border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%; } }
.badge {
  position: absolute; padding: 10px 14px; border-radius: 12px; background: rgba(10,14,28,.85); border: 1px solid var(--line);
  backdrop-filter: blur(10px); font: 500 12.5px var(--font-mono); white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.badge::before { content: "● "; color: #4ade80; }
.badge--a { top: 10%; left: -2%; } .badge--b { top: 46%; right: -6%; animation-delay: -2s; } .badge--c { bottom: 8%; left: 8%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Team ---------- */
.team-strip { display: flex; justify-content: center; align-items: center; margin-top: 10px; }
.team-strip .avatar { width: 66px; height: 66px; margin-left: -14px; border: 3px solid var(--bg-2); }
.team-strip .avatar:first-child { margin-left: 0; }

.avatar {
  position: relative; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: var(--grad); font: 800 22px var(--font-display); color: #fff;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.person { padding: 0; display: flex; flex-direction: column; }
.person__photo { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.person__photo .avatar { position: absolute; inset: 0; border-radius: 0; font-size: 64px; letter-spacing: -.04em; background: linear-gradient(140deg, color-mix(in srgb, var(--brand) 60%, var(--bg)), color-mix(in srgb, var(--brand-2) 55%, var(--bg)) 55%, color-mix(in srgb, var(--brand-3) 45%, var(--bg))); }
.person__photo img { transition: transform 1s var(--ease), filter .6s; filter: saturate(.92) contrast(1.04); }
.person:hover .person__photo img { transform: scale(1.06); filter: saturate(1.05); }
.person__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,7,15,.75)); pointer-events: none; }
.person__body { padding: 26px 28px 30px; display: grid; gap: 6px; flex: 1; align-content: start; }
.person__role { font: 500 12px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.person h3 { margin: 4px 0 8px; font-size: 26px; }
.person p { font-size: 15.5px; }
.person__link { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--brand) 70%, transparent); width: fit-content; padding-bottom: 2px; transition: gap .3s var(--ease), border-color .3s; }
.person__link:hover { gap: 12px; border-color: var(--brand-3); }
.person__link svg { width: 15px; height: 15px; }

/* ---------- Contact / QR ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.contact-panel {
  position: relative; border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 5vw, 64px);
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 55%),
              radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--brand-3) 18%, transparent), transparent 55%),
              var(--bg-2);
  border: 1px solid var(--line); overflow: hidden;
}
.contact-methods { display: grid; gap: 12px; margin-top: 30px; }
.method {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px;
  border-radius: var(--radius-sm); background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: all .3s var(--ease);
}
a.method:hover, button.method:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); transform: translateX(4px); }
button.method { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
.method__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); }
.method__icon svg { width: 22px; height: 22px; color: #fff; }
.method b { display: block; font-size: 16.5px; }
.method small { color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
.method__go { color: var(--muted); }
.method__go svg { width: 18px; height: 18px; }

.qr-card { position: relative; justify-self: center; width: min(100%, 380px); text-align: center; }
.qr-frame {
  position: relative; padding: 22px; border-radius: 28px; background: #fff;
  box-shadow: 0 30px 90px -20px color-mix(in srgb, var(--brand-2) 70%, transparent);
}
.qr-frame::before {
  content: ""; position: absolute; inset: -3px; border-radius: 31px; z-index: -1; background: var(--grad-loop); background-size: 200% auto; animation: shimmer 6s linear infinite;
}
.qr-frame svg { width: 100%; height: auto; }
.qr-scan { position: absolute; left: 22px; right: 22px; height: 3px; top: 22px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--brand), transparent); box-shadow: 0 0 18px var(--brand); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 24px; } 50% { top: calc(100% - 27px); } }
.qr-card figcaption { margin-top: 20px; font-size: 15px; color: var(--muted); }
.qr-card figcaption b { color: var(--ink); display: block; font-size: 17px; margin-bottom: 2px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.info-grid .card h3 { margin-top: 0; font-size: 19px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; overflow: hidden; }
.cta-band .h-lg { max-width: 16ch; margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--brand); }
.prose ul { padding-left: 20px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: var(--bg); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink); opacity: .85; transition: opacity .2s, color .2s; }
.footer a:hover { opacity: 1; color: var(--brand-3); }
.footer__blurb { color: var(--muted); max-width: 36ch; margin-top: 18px; font-size: 15.5px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--glass); opacity: 1; }
.socials a:hover { border-color: var(--brand); color: #fff; background: color-mix(in srgb, var(--brand) 25%, transparent); }
.socials svg { width: 18px; height: 18px; }
.footer__giant { font: 800 clamp(48px, 13.5vw, 210px)/.8 var(--font-display); letter-spacing: -.06em; text-align: center; margin: 70px 0 30px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 26px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 80; translate: -50% 20px; opacity: 0; pointer-events: none; padding: 13px 20px; border-radius: 999px; background: #fff; color: #0a0e1c; font-weight: 600; font-size: 15px; box-shadow: 0 20px 60px -10px rgba(0,0,0,.6); transition: all .4s var(--ease); }
.toast.is-on { translate: -50% 0; opacity: 1; }

/* ---------- Floating email button (mobile) ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: none; }
@media (max-width: 720px) { .fab { display: inline-flex; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split-words.is-in .w > span { transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .split-words .w > span { transform: none; }

/* ---------- 404 ---------- */
.glitch { position: relative; display: inline-block; font: 800 clamp(120px, 26vw, 300px)/.85 var(--font-display); letter-spacing: -.06em; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; mix-blend-mode: screen; }
.glitch::before { color: var(--brand); animation: g1 2.6s infinite steps(2); }
.glitch::after { color: var(--brand-3); animation: g2 3.1s infinite steps(2); }
@keyframes g1 { 0%,90%,100% { transform: none; clip-path: inset(0 0 0 0); } 92% { transform: translate(-6px, 2px); clip-path: inset(20% 0 50% 0); } 95% { transform: translate(5px, -2px); clip-path: inset(60% 0 10% 0); } }
@keyframes g2 { 0%,88%,100% { transform: none; clip-path: inset(0 0 0 0); } 90% { transform: translate(6px, 1px); clip-path: inset(10% 0 70% 0); } 94% { transform: translate(-4px, 3px); clip-path: inset(45% 0 25% 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero__layout, .split, .contact { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .grid--3, .info-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .stack-visual { max-width: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 36px); }
  .grid--3, .grid--2, .grid--4, .info-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero--page { padding: 150px 0 60px; }
  .people { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .terminal__body { font-size: 12.5px; min-height: 270px; padding: 18px; }
  .badge--b { right: 0; }
  .card { padding: 28px 24px; }
  .method { grid-template-columns: 44px 1fr; }
  .method__go { display: none; }
  .scroll-cue { display: none; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
  .marquee__track { animation: none; }
}

/* =====================================================================
   Hero montage: photo slideshow + moving shapes (replaces terminal)
   ===================================================================== */
.montage { position: relative; --px: 0; --py: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); padding: 34px 26px 0 34px; }
.montage__frame {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: 30px; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 55%, var(--bg)), color-mix(in srgb, var(--brand-2) 50%, var(--bg)) 55%, color-mix(in srgb, var(--brand-3) 40%, var(--bg)));
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.08);
}
.montage__frame::after { /* gradient hairline border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 6; pointer-events: none;
  background: var(--grad-loop); background-size: 200% auto; animation: shimmer 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.montage__slide { position: absolute; inset: 0; margin: 0; z-index: 1; clip-path: circle(0% at var(--cx, 85%) var(--cy, 15%)); transition: clip-path 1.25s cubic-bezier(.7, 0, .2, 1); }
.montage__slide.is-active, .montage__slide.is-prev { clip-path: circle(150% at var(--cx, 85%) var(--cy, 15%)); }
.montage__slide.is-prev { transition: none; }
.montage__slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--ox, 50%) var(--oy, 40%); filter: saturate(1.05) contrast(1.04); }
.montage__slide.is-active img { animation: kenburns 7.5s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.18) translate(var(--kx, 0), var(--ky, 0)); } to { transform: scale(1.02) translate(0, 0); } }
.montage__slide::before { /* brand tint + legibility gradient */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,15,0) 40%, rgba(5,7,15,.82) 100%),
              linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, transparent), transparent 45%, color-mix(in srgb, var(--brand-3) 18%, transparent));
  mix-blend-mode: normal;
}
.montage__slide figcaption { position: absolute; left: 28px; right: 28px; bottom: 58px; z-index: 2; font: 800 clamp(26px, 2.6vw, 38px)/1.02 var(--font-display); letter-spacing: -.035em; }
.montage__slide figcaption small { display: block; font: 500 11.5px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.montage__slide figcaption > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.montage__slide.is-active figcaption > * { opacity: 1; transform: none; transition-delay: .55s; }
.montage__slide.is-active figcaption > *:nth-child(2) { transition-delay: .7s; }
.montage__slide figcaption em { font-style: normal; background: var(--grad-loop); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }

.montage__glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(500px circle at calc(50% + var(--px) * 60%) calc(30% + var(--py) * 60%), rgba(255,255,255,.14), transparent 45%); mix-blend-mode: overlay; }
.montage__scan { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 48%, transparent 60%); transform: translateX(-120%); }
.montage__frame.is-switching .montage__scan { animation: sweep 1.3s cubic-bezier(.7, 0, .2, 1); }
@keyframes sweep { to { transform: translateX(120%); } }

.montage__progress { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 5; display: flex; gap: 6px; }
.montage__progress i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.montage__progress i::after { content: ""; display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.montage__progress i.is-done::after { transform: scaleX(1); }
.montage__progress i.is-active::after { animation: fill var(--dur, 4.6s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* Floating picture-in-picture thumbs */
.montage__thumb {
  position: absolute; z-index: 7; width: 30%; aspect-ratio: 1; border-radius: 22px; overflow: hidden;
  border: 3px solid var(--bg); box-shadow: 0 24px 60px -18px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.1);
  background: linear-gradient(140deg, var(--brand-2), var(--brand-3));
  transform: translate(calc(var(--px) * -26px), calc(var(--py) * -26px));
  transition: transform .5s var(--ease);
}
.montage__thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.montage__thumb img.is-out { opacity: 0; transform: scale(1.15); }
.montage__thumb--a { left: -7%; top: 30%; width: 26%; animation: bob 7s ease-in-out infinite; }
.montage__thumb--b { right: -6%; top: 2%; width: 24%; border-radius: 50%; animation: bob 8s ease-in-out infinite -3s; }
@keyframes bob { 50% { translate: 0 -12px; } }

/* Notification chips */
.mchip {
  position: absolute; z-index: 8; display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px;
  border-radius: 16px; background: rgba(12, 16, 32, .78); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px);
  font-size: 13.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 20px 50px -20px rgba(0,0,0,.9);
  transform: translate(calc(var(--px) * 18px), calc(var(--py) * 18px));
  transition: transform .5s var(--ease);
}
.mchip small { display: block; font: 500 11px var(--font-mono); color: var(--muted); letter-spacing: .04em; margin-top: 2px; font-weight: 400; }
.mchip__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); flex: none; }
.mchip__ico svg { width: 17px; height: 17px; color: #fff; }
.mchip--1 { right: -4%; top: 34%; animation: chipIn 9.2s var(--ease) infinite; }
.mchip--2 { left: 2%; top: 4%; animation: chipIn 9.2s var(--ease) infinite 4.6s; }
@keyframes chipIn {
  0% { opacity: 0; translate: 0 14px; scale: .92; }
  6%, 44% { opacity: 1; translate: 0 0; scale: 1; }
  50%, 100% { opacity: 0; translate: 0 -10px; scale: .96; }
}
.mchip .live { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; margin-left: 4px; animation: pulse 2s infinite; }

/* Moving shapes */
.shapes { position: absolute; inset: -6% -8%; z-index: 0; pointer-events: none; }
.shape { position: absolute; transform: translate(calc(var(--px) * var(--depth, 30px)), calc(var(--py) * var(--depth, 30px))); transition: transform .6s var(--ease); }
.shape > * { display: block; }
.shape--ring { top: -2%; right: 4%; --depth: 40px; }
.shape--ring > i { width: 150px; height: 150px; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, var(--brand), var(--brand-2), var(--brand-3), transparent 70%, var(--brand)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: spin 9s linear infinite; }
.shape--orb { bottom: 6%; right: 0; --depth: -50px; }
.shape--orb > i { width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff 0%, var(--brand) 22%, var(--brand-2) 70%); box-shadow: 0 0 80px -6px var(--brand); animation: bob 6s ease-in-out infinite; }
.shape--square { bottom: 14%; left: -4%; --depth: 60px; }
.shape--square > i { width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); animation: tumble 14s linear infinite; }
@keyframes tumble { to { transform: rotate(360deg); } }
.shape--tri { bottom: -2%; left: 30%; --depth: -34px; }
.shape--tri svg { width: 78px; height: 78px; animation: tumble 18s linear infinite reverse; }
.shape--dots { top: 10%; left: -6%; --depth: 20px; }
.shape--dots > i { width: 120px; height: 120px; background-image: radial-gradient(rgba(255,255,255,.4) 1.4px, transparent 1.6px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 72%); mask-image: radial-gradient(circle, #000 30%, transparent 72%); animation: drift 16s ease-in-out infinite; }
.shape--plus { color: var(--brand-3); font: 300 34px/1 var(--font-body); }
.shape--plus > i { font-style: normal; animation: spin 10s linear infinite; }
.shape--plus.p1 { top: 30%; right: -3%; --depth: 70px; }
.shape--plus.p2 { bottom: 26%; left: 6%; --depth: -60px; color: var(--brand); font-size: 26px; }
.shape--arc { bottom: 18%; right: -5%; --depth: 24px; }
.shape--arc svg { width: 200px; height: 200px; animation: spin 22s linear infinite reverse; }

.montage .terminal__stats b { font-size: clamp(17px, 1.6vw, 22px); white-space: nowrap; }
.montage .terminal__stats { position: relative; z-index: 9; margin: -30px 6% 0; border-radius: 18px; background: rgba(10,14,28,.82); border: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: 0 30px 70px -30px rgba(0,0,0,.95); }

@media (max-width: 960px) { .montage { margin-inline: auto; max-width: 520px; } }
@media (max-width: 640px) {
  .montage { padding: 22px 12px 0 18px; }
  .mchip { font-size: 12px; padding: 8px 12px 8px 8px; } .mchip__ico { width: 28px; height: 28px; } .mchip small { display: none; }
  .mchip--1 { right: -2%; } .mchip--2 { left: 0; }
  .shape--ring > i { width: 100px; height: 100px; } .shape--orb > i { width: 70px; height: 70px; }
  .shape--arc, .shape--dots { display: none; }
  .montage__slide figcaption { left: 20px; right: 20px; bottom: 46px; } .montage__progress { left: 20px; right: 20px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .montage__slide { transition: none; } .mchip { opacity: 1; } .mchip--2 { display: none; } }
