/* ============================
   DESIGN TOKENS
   ============================ */
:root {
  --bg:      #08080B;
  --bg2:     #0b0e1a;
  --bg3:     #0b1533;
  --pr:      #2a5ff0;
  --pr-glow: rgba(42,95,240,.18);
  --pr-dim:  rgba(42,95,240,.08);
  --tx:      #f5f6fa;
  --mu:      #888ca0;
  --bd:      rgba(255,255,255,.055);
  --r:       4px;
}

/* ============================
   RESET
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--tx);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================
   CURSOR-REVEALED GRID BACKGROUND
   ============================ */
#bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(92,140,255,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,140,255,.2) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle 480px at var(--gx,-9999px) var(--gy,-9999px), #000 0%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.16) 100%);
          mask-image: radial-gradient(circle 480px at var(--gx,-9999px) var(--gy,-9999px), #000 0%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.16) 100%);
}

/* ============================
   SCROLL PROGRESS BAR
   ============================ */
#prog {
  position: fixed;
  top: 0; left: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--pr), #5c8cff);
  z-index: 10000;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .08s linear;
  will-change: transform;
  pointer-events: none;
}

/* ============================
   LOADER  (index.html only)
   ============================ */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9996;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#loader.out { animation: wipeUp .75s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes wipeUp {
  0%   { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(100% 0 0 0); }
}
.ld-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  color: var(--tx);
  letter-spacing: .1em;
  opacity: 0;
  animation: slideUp .9s .15s cubic-bezier(.16,1,.3,1) forwards;
}
.ld-bar {
  width: 90px; height: 1px;
  background: var(--pr);
  margin-top: 1.2rem;
  /* shift left by half the logo's trailing letter-spacing at any viewport size */
  margin-left: calc(clamp(2.5rem, 8vw, 5.5rem) * -0.03);
  transform: scaleX(0);
  transform-origin: center;
  animation: grow .9s .4s ease forwards;
}
@keyframes grow { to { transform: scaleX(1); } }

/* ============================
   PAGE TRANSITION
   ============================ */
#page-transition {
  position: fixed; inset: 0;
  z-index: 9997;
  background: var(--bg);
  clip-path: inset(100% 0 0 0);
  pointer-events: none;
  transition: clip-path .5s cubic-bezier(.76,0,.24,1);
}
#page-transition.fade-out {
  clip-path: inset(0 0 0 0);
  pointer-events: all;
}

body.port-page { opacity: 0; }
body.port-page.page-ready { opacity: 1; transition: opacity .45s ease; }
#page-transition.port-trans {
  clip-path: none;
  opacity: 1;
  transition: opacity .9s cubic-bezier(.16,1,.3,1);
}

/* ============================
   NAV
   ============================ */

/* --- Rotating LED wrapper --- */
@property --led-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes ledSpin {
  from { --led-angle: 0deg; }
  to   { --led-angle: 360deg; }
}

#nav-led-wrap {
  position: fixed;
  top: 1.4rem; left: 50%;
  transform: translateX(-50%);
  z-index: 501;
  width: min(1100px, 92vw);
  border-radius: 100px;
  pointer-events: none;
  overflow: hidden;
}

/* The wrap now only mirrors the nav's box (height synced in JS).
   The cursor glow moved to #nav::before so it paints UNDER the logo
   and links instead of washing over them. */
#nav-led-wrap::before,
#nav-led-wrap::after {
  content: none;
}

#nav {
  position: fixed;
  top: 1.4rem; left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.6rem;
  width: min(1100px, 92vw);
  border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  transition: background .4s, border-color .4s, box-shadow .4s;
  overflow: visible;             /* lets the bump grow below without clipping */
}

/* Cursor glow — z-index 0 puts it above the nav's background but below the
   logo / links / CTA (all z-index 1), so the DARVIX wordmark stays white.
   border-radius clips the gradient to the pill; clip-path re-clips after the
   blur so the halo doesn't bleed past the pill edge. */
#nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 160px at var(--cx, -9999px) var(--cy, -9999px),
              rgba(42,95,240,.55) 0%,
              rgba(42,95,240,.18) 45%,
              transparent 70%);
  filter: blur(18px);
  clip-path: inset(0 round 100px);
  pointer-events: none;
  z-index: 0;
}
#nav.stuck {
  background: var(--bg);
  border-color: var(--bd);
  box-shadow: 0 4px 40px rgba(0,0,0,.4);
}
#nav.always-stuck {
  background: var(--bg);
  border-color: var(--bd);
  box-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  letter-spacing: .08em;
  color: var(--tx);
  text-decoration: none;
  transition: color .25s ease, text-shadow .25s ease;
}
/* White bloom on hover — three stacked shadows: tight core, mid halo, wide falloff */
.nav-logo:hover {
  color: #fff;
  text-shadow:
    0 0 8px  rgba(255,255,255,.75),
    0 0 22px rgba(255,255,255,.45),
    0 0 48px rgba(255,255,255,.22);
}
.nav-logo, .nav-links, .ham { position: relative; z-index: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
#nav > .nav-cta {
  position: relative;
  z-index: 1;
  margin-left: auto;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.nav-links a {
  color: var(--mu);
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--pr);
  transition: width .3s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--tx); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--pr) !important;
  color: var(--tx) !important;
  padding: .52rem 1.5rem;
  border-radius: 100px !important;
  transition: background .25s, box-shadow .25s !important;
}
.nav-cta:hover { background: #1f4bd8 !important; box-shadow: 0 4px 24px var(--pr-glow) !important; }
.nav-cta::after { display: none !important; }
.ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.ham span { width: 22px; height: 1.5px; background: var(--tx); display: block; transition: all .3s; transform-origin: center; }
.ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mob-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 499;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: var(--tx);
  text-decoration: none;
  letter-spacing: .1em;
  transition: color .2s;
}
.mob-nav a:hover { color: var(--pr); }

/* ============================
   SHARED UTILITIES
   ============================ */
.container { max-width: 1300px; margin: 0 auto; padding: 0 4vw; }
section { position: relative; overflow: hidden; }
#story { overflow: visible !important; }
#services, #about, #contact { scroll-margin-top: 120px; }
.lbl {
  font-family: 'Orbitron', sans-serif;
  font-size: .64rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--pr);
  text-shadow: 0 1px 4px rgba(0,0,0,.9), 0 0 14px rgba(0,0,0,.7);
  margin-bottom: 1rem;
  display: block;
}
.hr { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--bd), transparent); }
.rv {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .95s cubic-bezier(.16,1,.3,1), transform .95s cubic-bezier(.16,1,.3,1);
}
.rv.on { opacity: 1; transform: none; }
.rv-r {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity .95s cubic-bezier(.16,1,.3,1), transform .95s cubic-bezier(.16,1,.3,1);
}
.rv-r.on { opacity: 1; transform: none; }
.d1 { transition-delay: .10s; }
.d2 { transition-delay: .22s; }
.d3 { transition-delay: .34s; }
.d4 { transition-delay: .46s; }
.d5 { transition-delay: .58s; }

/* ============================
   BUTTONS
   ============================ */
.btn-p {
  background: var(--pr);
  color: var(--tx);
  border: none;
  padding: .9rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 100px;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.btn-p:hover { background: #1f4bd8; transform: translateY(-2px); box-shadow: 0 8px 32px var(--pr-glow); }
.btn-g {
  background: transparent;
  color: var(--tx);
  border: 1px solid rgba(255,255,255,.18);
  padding: .9rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: 100px;
  transition: border-color .25s, transform .25s, background .25s;
}
.btn-g:hover { border-color: rgba(255,255,255,.45); transform: translateY(-2px); background: rgba(255,255,255,.04); }

/* ============================
   HERO  (index.html)
   ============================ */
#hero {
  /* was a hard height:100vh + overflow:hidden — on any viewport short
     enough that the eyebrow text + eye + subtext + buttons stack taller
     than the viewport, that clipped whatever didn't fit, which in practice
     bit into the bottom of the eye sphere. min-height lets the section
     grow to whatever the content actually needs instead of cropping it;
     on any normal-height viewport where the content already fits within
     one screen, this renders identically to before. */
  min-height: max(100vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-ambient { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 0 2rem; }
.hero-eye {
  font-family: 'Orbitron', sans-serif;
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--pr);
  margin-bottom: 1.6rem;
  display: block;
  opacity: 0;
  animation: slideUp .8s .8s cubic-bezier(.16,1,.3,1) both;
}
.hero-h {
  position: relative;
  display: block;
}
.hero-logo-img {
  width: clamp(280px, 42vw, 620px);
  height: auto;
  opacity: 0;
  transform: translateY(28px);
  animation: slideUp 1s .35s cubic-bezier(.16,1,.3,1) forwards;
  filter: drop-shadow(0 0 40px rgba(42,95,240,.25));
}
.hero-h span.ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(55px) skewY(4deg);
  animation: charIn .7s cubic-bezier(.16,1,.3,1) both;
}
.hero-h span.ch:nth-child(1) { animation-delay: .5s; }
.hero-h span.ch:nth-child(2) { animation-delay: .58s; }
.hero-h span.ch:nth-child(3) { animation-delay: .66s; }
.hero-h span.ch:nth-child(4) { animation-delay: .74s; }
.hero-h span.ch:nth-child(5) { animation-delay: .82s; }
.hero-h span.ch:nth-child(6) { animation-delay: .9s; }
@keyframes charIn { to { opacity: 1; transform: none; } }
.hero-sub {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1rem, 2.7vw, 1.4rem);
  color: var(--tx);
  margin-top: .7rem;
  font-weight: 300;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: 0;
  animation: slideUp .8s 1.25s cubic-bezier(.16,1,.3,1) both;
}
.hero-sub-word {
  font-weight: 700;
  color: var(--pr);
}
.hero-sub2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(.95rem, 2.5vw, 1.25rem);
  color: var(--mu);
  margin-top: 1.8rem;
  font-weight: 300;
  letter-spacing: .01em;
  opacity: 0;
  animation: slideUp .8s 1.1s cubic-bezier(.16,1,.3,1) both;
}
.tw-wrap {
  display: inline;
  white-space: nowrap;
}
#tw-word {
  color: var(--pr);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--pr);
}
.tw-cursor {
  color: var(--pr);
  font-weight: 300;
  margin-left: 1px;
  animation: twBlink .7s ease-in-out infinite;
}
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-btns {
  margin-top: 3rem;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp .8s 1.3s cubic-bezier(.16,1,.3,1) both;
}

/* ============================
   COMMON ANIMATIONS
   ============================ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================
   SERVICES  (index.html)
   Hover-driven accordion — name left, (0N) right.
   The AI Calls row carries the workflow rail (.afx-*).
   ============================ */
#services { padding: 10rem 0 7rem; position: relative; overflow: hidden; }
#services > .container { position: relative; z-index: 2; }

/* ── Section top bar ── */
.svx-top {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 3.5rem;
}
.svx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Orbitron', sans-serif;
  font-size: .95rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--tx);
  white-space: nowrap;
}
.svx-eyebrow i { color: var(--pr); font-style: normal; font-weight: 700; }
.svx-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--bd), transparent); }
.svx-count {
  font-size: .64rem;
  letter-spacing: .3em;
  font-weight: 700;
  color: rgba(255,255,255,.22);
}

/* ── Rows ── */
.svx { border-top: 1px solid rgba(255,255,255,.09); }
.svx-item {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: background .5s ease;
}
.svx-item.is-open {
  background: linear-gradient(100deg, rgba(42,95,240,.055), rgba(42,95,240,.012) 45%, transparent 75%);
}
/* accent sweep along the bottom edge of the open row */
.svx-item::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--pr), rgba(42,95,240,0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.svx-item.is-open::after { transform: scaleX(1); }

.svx-head {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.7rem 1.2rem 1.7rem 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* cursor-tracking glow */
.svx-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(42,95,240,.13), transparent 70%);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.svx-head:hover .svx-glow { opacity: 1; }

.svx-name {
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.35rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.26);
  transition: color .45s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.svx-head:hover .svx-name { color: rgba(255,255,255,.62); transform: translateX(10px); }
.svx-item.is-open .svx-name { color: var(--tx); transform: translateX(10px); }

.svx-tag {
  position: relative;
  align-self: center;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pr);
  border: 1px solid rgba(42,95,240,.45);
  background: var(--pr-dim);
  border-radius: 100px;
  padding: .28rem .6rem;
  white-space: nowrap;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.svx-head:hover .svx-tag,
.svx-item.is-open .svx-tag { transform: translateX(10px); }

.svx-meta {
  position: relative;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  flex-shrink: 0;
}
.svx-chev {
  display: inline-flex;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .4s, transform .5s cubic-bezier(.16,1,.3,1);
}
.svx-chev svg {
  width: 18px; height: 18px;
  stroke: var(--pr); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.svx-head:hover .svx-chev,
.svx-item.is-open .svx-chev { opacity: 1; transform: none; }
.svx-item.is-open .svx-chev svg { transform: rotate(180deg); }

.svx-num {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.34);
  transition: color .4s;
}
.svx-num i { color: var(--pr); font-style: normal; padding: 0 .2rem; }
.svx-item.is-open .svx-num { color: var(--tx); }

/* ── Expanding body ── */
.svx-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .65s cubic-bezier(.16,1,.3,1);
}
.svx-item.is-open .svx-wrap { grid-template-rows: 1fr; }
.svx-body {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding-left: 10px;
}
/* single column: copy only */
.svx-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
.svx-body--wide { display: block; }

.svx-body > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.16,1,.3,1);
}
.svx-item.is-open .svx-body > * { opacity: 1; transform: none; }
.svx-item.is-open .svx-body > *:nth-child(1) { transition-delay: .10s; }
.svx-item.is-open .svx-body > *:nth-child(2) { transition-delay: .17s; }
.svx-item.is-open .svx-body > *:nth-child(3) { transition-delay: .24s; }
.svx-item.is-open .svx-body > *:nth-child(4) { transition-delay: .31s; }
.svx-item.is-open .svx-body > *:nth-child(5) { transition-delay: .38s; }

.svx-col { padding-bottom: 2.8rem; max-width: 68ch; }
.svx-desc {
  max-width: 62ch;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mu);
}

/* what's included — ticked list */
.svx-inc {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem 1.6rem;
  margin-top: 1.8rem;
}
.svx-inc li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,.74);
}
.svx-inc li::before {
  content: '';
  position: absolute;
  left: 0; top: .32em;
  width: 11px; height: 6px;
  border-left: 1.6px solid var(--pr);
  border-bottom: 1.6px solid var(--pr);
  transform: rotate(-45deg);
}

/* work preview */
.svx-vis {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--bd);
  background: var(--bg2);
  margin-bottom: 2.8rem;
}
.svx-vis img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.1);
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}
.svx-item.is-open .svx-vis img { transform: scale(1); }
.svx-vis::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5,5,12,.85), rgba(5,5,12,.05) 55%),
    linear-gradient(120deg, rgba(42,95,240,.22), transparent 60%);
  pointer-events: none;
}
.svx-vis-tag {
  position: absolute;
  left: .95rem; bottom: .9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.svx-vis-tag i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pr);
  box-shadow: 0 0 8px 2px rgba(42,95,240,.7);
}

/* ============================
   AI CALLS WORKFLOW
   Lives inside the AI Calls row.
   ============================ */
.svx-item--ai .svx-body { padding-bottom: 3rem; }
.afx-glow {
  position: absolute;
  top: -4rem; left: 30%;
  width: min(46rem, 90%); height: 20rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(42,95,240,.14), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.afx-lead {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 2.4rem 0 2rem;
}
.afx-lbl {
  font-family: 'Orbitron', sans-serif;
  font-size: .6rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--pr);
  white-space: nowrap;
}
.afx-rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(42,95,240,.4), transparent); }

.afx-flow {
  --afx-gap: 2rem;
  --afx-cycle: 7s;
  --afx-beat: 1.4s;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--afx-gap);
}
.afx-step {
  position: relative;
  padding-right: .4rem;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
}
.afx-flow.on .afx-step {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * .1s);
}
.afx-node {
  position: relative;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09);
  transition: border-color .5s, background .5s, transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s;
}
.afx-halo {
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: radial-gradient(circle at center, rgba(42,95,240,.55), transparent 70%);
  opacity: 0;
  filter: blur(9px);
  transition: opacity .5s;
  pointer-events: none;
}
.afx-ico { display: grid; place-items: center; }
.afx-ico svg {
  width: 24px; height: 24px;
  stroke: var(--mu); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .5s;
}
/* animated equalizer for the "agent picks up" node */
.afx-ico--wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.afx-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--mu);
  height: 7px;
  transition: background .5s;
}
.afx-flow.on .afx-bar { animation: afxWave 1.1s ease-in-out infinite; }
.afx-bar:nth-child(2) { animation-delay: .14s; }
.afx-bar:nth-child(3) { animation-delay: .28s; }
.afx-bar:nth-child(4) { animation-delay: .42s; }
.afx-bar:nth-child(5) { animation-delay: .56s; }
@keyframes afxWave {
  0%, 100% { height: 7px; }
  50%      { height: 20px; }
}

.afx-idx {
  display: block;
  margin-top: 1.5rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .24em;
  color: rgba(255,255,255,.24);
  transition: color .5s;
}
.afx-t {
  margin-top: .6rem;
  font-family: 'Orbitron', sans-serif;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--tx);
}
.afx-d {
  margin-top: .6rem;
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mu);
}

/* ── Connector wire + travelling pulse ── */
.afx-wire {
  position: absolute;
  top: 29px;
  left: calc(100% - .4rem);
  width: var(--afx-gap);
  height: 1px;
  background: rgba(255,255,255,.09);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
  overflow: visible;
}
.afx-step:last-child .afx-wire { display: none; }
.afx-flow.on .afx-wire { transform: scaleX(1); }
.afx-flow.on .afx-step:nth-child(1) .afx-wire { transition-delay: .35s; }
.afx-flow.on .afx-step:nth-child(2) .afx-wire { transition-delay: .50s; }
.afx-flow.on .afx-step:nth-child(3) .afx-wire { transition-delay: .65s; }
.afx-flow.on .afx-step:nth-child(4) .afx-wire { transition-delay: .80s; }
.afx-dot {
  position: absolute;
  top: 50%; left: 0;
  width: 6px; height: 6px;
  margin-top: -3px; margin-left: -3px;
  border-radius: 50%;
  background: #7aa4ff;
  box-shadow: 0 0 10px 2px rgba(42,95,240,.9);
  opacity: 0;
}
.afx-flow.on .afx-dot {
  animation: afxDot var(--afx-cycle) linear infinite;
  animation-delay: calc(1s + var(--i) * var(--afx-beat));
}
@keyframes afxDot {
  0%   { left: 0;    opacity: 0; }
  6%   { opacity: 1; }
  18%  { left: 100%; opacity: 1; }
  22%  { left: 100%; opacity: 0; }
  100% { left: 100%; opacity: 0; }
}

/* ── Auto-cycling node highlight, synced to the pulse ── */
.afx-flow.on .afx-node {
  animation: afxLive var(--afx-cycle) ease-in-out infinite;
  animation-delay: calc(1s + var(--i) * var(--afx-beat));
}
.afx-flow.on .afx-halo {
  animation: afxHalo var(--afx-cycle) ease-in-out infinite;
  animation-delay: calc(1s + var(--i) * var(--afx-beat));
}
@keyframes afxLive {
  0%, 26%, 100% {
    border-color: rgba(255,255,255,.09);
    transform: translateY(0);
    box-shadow: none;
  }
  8%, 18% {
    border-color: rgba(42,95,240,.75);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(42,95,240,.22);
  }
}
@keyframes afxHalo {
  0%, 26%, 100% { opacity: 0; }
  8%, 18%       { opacity: .85; }
}
/* pause the loop while the visitor is reading a step */
.afx-flow:hover .afx-dot,
.afx-flow:hover .afx-node,
.afx-flow:hover .afx-halo { animation-play-state: paused; }
.afx-step:hover .afx-node {
  border-color: rgba(42,95,240,.75);
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(42,95,240,.22);
}
.afx-step:hover .afx-halo { opacity: .85; }
.afx-step:hover .afx-ico svg { stroke: var(--pr); }
.afx-step:hover .afx-bar { background: var(--pr); }
.afx-step:hover .afx-idx { color: var(--pr); }

.afx-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 3.2rem;
  padding: .95rem 2rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: var(--pr);
  border: 1px solid var(--pr);
  border-radius: 2rem;
  text-decoration: none;
  transition: gap .3s, transform .25s, box-shadow .3s, background .25s;
}
.afx-cta:hover {
  gap: 1.1rem;
  transform: translateY(-2px);
  background: #3a6dff;
  box-shadow: 0 10px 30px rgba(42,95,240,.4);
}
.afx-cta svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
/* same button inside the Photography / Video / Website rows — the checklist
   above it is tighter than the AI flow, so it needs less breathing room */
.svx-col .svx-cta { margin-top: 2.2rem; }

/* ── Flow: tighter on mid screens ── */
@media (max-width: 1180px) {
  .afx-flow { --afx-gap: 1.4rem; }
  .afx-t { font-size: .9rem; }
  .afx-d { font-size: .78rem; }
}

/* ── Body stacks below 900px ── */
@media (max-width: 900px) {
  .svx-body { grid-template-columns: 1fr; gap: 1.8rem; }
  .svx-col { padding-bottom: 2.4rem; max-width: none; }
}

/* ── Flow: vertical rail below 980px ── */
@media (max-width: 980px) {
  .afx-flow {
    --afx-gap: 2.2rem;
    grid-template-columns: 1fr;
    gap: var(--afx-gap);
  }
  .afx-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 1.5rem;
    padding-right: 0;
  }
  .afx-node { grid-column: 1; grid-row: 1 / 4; align-self: start; }
  .afx-idx  { grid-column: 2; grid-row: 1; margin-top: .25rem; }
  .afx-t    { grid-column: 2; grid-row: 2; margin-top: .4rem; }
  .afx-d    { grid-column: 2; grid-row: 3; }
  .afx-wire {
    top: 66px;
    left: 29px;
    width: 1px;
    height: calc(100% - 66px + var(--afx-gap));
    transform: scaleY(0);
    transform-origin: top;
  }
  .afx-flow.on .afx-wire { transform: scaleY(1); }
  .afx-dot { top: 0; left: 50%; margin-left: -3px; margin-top: -3px; }
  .afx-flow.on .afx-dot { animation-name: afxDotV; }
  @keyframes afxDotV {
    0%   { top: 0;    opacity: 0; }
    6%   { opacity: 1; }
    18%  { top: 100%; opacity: 1; }
    22%  { top: 100%; opacity: 0; }
    100% { top: 100%; opacity: 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .afx-flow.on .afx-bar,
  .afx-flow.on .afx-dot,
  .afx-flow.on .afx-node,
  .afx-flow.on .afx-halo { animation: none; }
  .afx-flow.on .afx-dot { opacity: 0; }
}

/* ============================
   STORY  (index.html)
   ============================ */
#story { height: 500vh; }

.story-sticky {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-glow {
  position: absolute; inset: 0;
  pointer-events: none;
  transition: background 1s cubic-bezier(.16,1,.3,1);
}

.story-stage {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  perspective: 1000px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.story-slide {
  position: absolute;
  text-align: left;
  padding: 0 6vw;
  width: min(860px, 90vw);
  will-change: transform, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0,0,0);
  contain: layout paint style;
  opacity: 0;
}

.story-slide-num  {
  font-size: .64rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--pr);
  margin-bottom: 1.2rem;
  display: block;
}

.story-slide-h {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3.5rem,10vw,8.5rem);
  line-height: .92;
  color: var(--tx);
  letter-spacing: .02em;
}

.story-slide-p {
  margin-top: 1.6rem;
  font-size: .98rem;
  color: var(--mu);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.82;
}

.story-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
  z-index: 10;
}

.sdot {
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  transition: background .4s, width .4s;
}

.sdot.on {
  background: var(--pr);
  width: 48px;
}
/* ============================
   MARQUEE  (index.html)
   ============================ */
#marq { padding: 1.5rem 0; background: var(--pr); overflow: hidden; position: relative; }
#marq::before, #marq::after { content: ''; position: absolute; top: 0; bottom: 0; width: 18vw; z-index: 2; pointer-events: none; }
#marq::before { left:  0; background: linear-gradient(to right, var(--pr) 10%, transparent); }
#marq::after  { right: 0; background: linear-gradient(to left,  var(--pr) 10%, transparent); }
.mtrack { display: flex; white-space: nowrap; align-items: center; will-change: transform; }
.mi { font-family: 'Orbitron', sans-serif; font-size: clamp(1.4rem,3.2vw,2.6rem); color: rgba(8,8,11,.8); padding: 0 1rem; letter-spacing: .04em; }
.mi-icon { display: inline-flex; align-items: center; justify-content: center; padding: 0 .8rem; opacity: .65; }
.mi-icon svg { width: clamp(.85rem,1.7vw,1.4rem); height: clamp(.85rem,1.7vw,1.4rem); }

/* (billboard-wrap removed — video is now inside #services) */

/* ============================
   ABOUT  (index.html)
   ============================ */
#about { padding: 10rem 0; background: var(--bg3); }
.about-g { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; }
.about-title { font-family: 'Orbitron', sans-serif; font-size: clamp(3rem,7vw,6rem); line-height: .95; color: var(--tx); margin-bottom: 2.5rem; letter-spacing: .02em; }
.about-title span { color: var(--pr); }
.about-p { font-size: .93rem; color: var(--mu); line-height: 1.85; font-weight: 300; margin-bottom: 1.5rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3.5rem; }
.snum  { font-family: 'Orbitron', sans-serif; font-size: 3.5rem; color: var(--tx); line-height: 1; display: block; }
.snum span { color: var(--pr); }
.slbl  { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mu); margin-top: .4rem; display: block; }
.about-vis  { position: relative; height: 560px; }
.av-main    { width: 75%; height: 100%; object-fit: cover; position: absolute; right: 0; top: 0; border-radius: 2px; }
.av-acc     { width: 45%; height: 45%; object-fit: cover; position: absolute; left: 0; bottom: 3rem; border-radius: 2px; border: 5px solid var(--bg3); }
.av-badge   { position: absolute; right: 1.5rem; bottom: -2rem; background: var(--pr); padding: 1.5rem 2rem; border-radius: 2px; text-align: center; }
.bnum { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; color: var(--tx); line-height: 1; display: block; }
.btxt { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: .25rem; display: block; }
.ae   { opacity: 0; transform: translateY(50px);  transition: opacity .9s  cubic-bezier(.16,1,.3,1), transform .9s  cubic-bezier(.16,1,.3,1); }
.ae-l { opacity: 0; transform: translateX(-60px) rotate(-2deg); transition: opacity .9s  cubic-bezier(.16,1,.3,1), transform .9s  cubic-bezier(.16,1,.3,1); }
.ae-r { opacity: 0; transform: translateX(60px) scale(.95);     transition: opacity .95s cubic-bezier(.16,1,.3,1), transform .95s cubic-bezier(.16,1,.3,1); }
.ae.in, .ae-l.in, .ae-r.in { opacity: 1; transform: none; }
.ast  { opacity: 0; transform: translateY(28px) scale(.93); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.ast.in { opacity: 1; transform: none; }

/* ============================
   CONTACT  (index.html)
   ============================ */
#contact { padding: 10rem 0 8rem; background: var(--bg); }
.con-g { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; }
.con-title { font-family: 'Orbitron', sans-serif; font-size: clamp(3rem,8vw,6.5rem); line-height: .92; color: var(--tx); margin-bottom: 2rem; }
.con-title span { color: var(--pr); }
.con-desc { color: var(--mu); font-size: .93rem; line-height: 1.85; margin-bottom: 3rem; font-weight: 300; }
.con-info { display: flex; flex-direction: column; gap: 1.2rem; }
.cii { display: flex; gap: 1rem; align-items: flex-start; }
.cii-ic { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: var(--r); transition: border-color .25s, background .25s; }
.cii:hover .cii-ic { border-color: var(--pr); background: var(--pr-dim); }
.cii-ic svg { width: 15px; height: 15px; stroke: var(--pr); fill: none; stroke-width: 1.5; }
.cii-l { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mu); }
.cii-v { font-size: .93rem; color: var(--tx); margin-top: .15rem; }
.cform { display: flex; flex-direction: column; gap: 1.2rem; background: var(--bg2); padding: 2.8rem; border-radius: 12px; border: 1px solid var(--bd); }
.fgr { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.fg  { display: flex; flex-direction: column; gap: .5rem; }
.fg label { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mu); }
.fg input, .fg textarea, .fg select {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  color: var(--tx);
  padding: 1rem 1.2rem;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  border-radius: var(--r);
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
  width: 100%;
  -webkit-appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: #2f2f45; }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--pr); box-shadow: 0 0 0 3px var(--pr-glow); background: rgba(42,95,240,.04); }
.fg textarea { min-height: 130px; resize: vertical; }
.fg select option { background: var(--bg2); }
.fsub {
  background: var(--pr);
  color: var(--tx);
  border: none;
  padding: 1.1rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 100px;
  transition: background .25s, transform .25s, box-shadow .25s;
  align-self: flex-start;
  margin-top: .5rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.fsub:hover { background: #1f4bd8; transform: translateY(-2px); box-shadow: 0 8px 32px var(--pr-glow); }
.fsub svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============================
   PORTFOLIO PAGE HEADER
   ============================ */

/* ============================
   PORTFOLIO HERO
   ============================ */
.port-hero {
  position: relative;
  padding: 9rem 0 2rem;
  overflow: hidden;
  background: var(--bg);
}

.port-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(42,95,240,.12), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(92,140,255,.10), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(42,95,240,.08), transparent 30%);
  pointer-events: none;
}

.centered-port-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.centered-port-title {
  text-align: center;
  max-width: none;
  margin-bottom: 2rem;
}

.port-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  color: var(--tx);
  letter-spacing: .02em;
  overflow: hidden;
  white-space: nowrap;
}

.port-title .ph-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(80px);
}
.port-title.animate .ph-char {
  animation: slideUp .8s cubic-bezier(.16,1,.3,1) both;
}
.port-title.animate .ph-char:nth-child(1) { animation-delay: .05s; }
.port-title.animate .ph-char:nth-child(2) { animation-delay: .13s; }
.port-title.animate .ph-char:nth-child(3) { animation-delay: .21s; }
.port-title.animate .ph-char:nth-child(4) { animation-delay: .29s; }
.port-title.animate .ph-char:nth-child(5) { animation-delay: .37s; }
.port-title.animate .ph-char:nth-child(6) { animation-delay: .45s; }
.port-title.animate .ph-char:nth-child(7) { animation-delay: .53s; }
.port-title.animate .ph-char:nth-child(8) { animation-delay: .61s; }
.port-title.animate .ph-char:nth-child(9) { animation-delay: .69s; }

.centered-filter-wrap {
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.centered-filter-bar {
  justify-content: center;
}

.port-filter-bar {
  padding: 0;
  opacity: 0;
  animation: fadeIn .7s 1.15s cubic-bezier(.16,1,.3,1) both;
}
.port-filter-bar.animate {
  opacity: 1;
  animation: none;
}

.port-showcase {
  padding: 0 0 8rem;
}

/* ============================
   FILTER BAR
   ============================ */
.filter-bar {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.fbtn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.08);
  color: var(--mu);
  padding: .78rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 100px;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}

.fbtn:hover {
  border-color: rgba(42,95,240,.45);
  color: var(--tx);
  transform: translateY(-2px);
}

.fbtn.on {
  background: var(--pr);
  border-color: var(--pr);
  color: var(--tx);
  box-shadow: 0 8px 30px var(--pr-glow);
}

/* ============================
   NORMAL PORTFOLIO GRID
   ============================ */
#pgrid.normal-grid,
#pgrid {
  columns: 3;
  column-gap: 12px;
  transition: opacity .25s ease, transform .25s ease;
}

#pgrid.switching {
  opacity: .2;
  transform: translateY(10px);
}

/* ── Video grid: 2-column uniform grid ── */
#pgrid.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 12px;
  column-count: unset;
}

#pgrid.video-grid .pi {
  break-inside: unset;
  margin-bottom: 0;
}

#pgrid.video-grid .pi-media video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ── Photo grid: featured first image + 2-up row below ── */
#pgrid.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  column-count: unset;
}

#pgrid.photo-grid .pi {
  break-inside: unset;
  margin-bottom: 0;
  height: 100%;
}

#pgrid.photo-grid .pi-media {
  height: 100%;
}

#pgrid.photo-grid .pi-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

#pgrid.photo-grid .pi-feature {
  grid-column: span 2;
}

#pgrid.photo-grid .pi-feature .pi-media img {
  aspect-ratio: 21/9;
}

@media (max-width: 560px) {
  #pgrid.photo-grid { grid-template-columns: 1fr; }
  #pgrid.photo-grid .pi-feature { grid-column: span 1; }
}

@media (max-width: 560px) {
  #pgrid.video-grid {
    grid-template-columns: 1fr;
  }
}

.pi {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: block;
  width: 100%;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #0d0d16;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.06);
  opacity: 0;
  transform: translateY(28px) scale(.98);
  transition:
    opacity .75s cubic-bezier(.16,1,.3,1),
    transform .75s cubic-bezier(.16,1,.3,1),
    border-color .3s ease,
    box-shadow .3s ease;
}

.pi-normal {
  min-height: 0;
}

.pi.visible {
  opacity: 1;
  transform: none;
}

.pi::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(42,95,240,.18), transparent 40%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 2;
}

.pi:hover::after {
  opacity: 1;
}

.pi:hover {
  border-color: rgba(42,95,240,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

.pi-media {
  position: relative;
  width: 100%;
  line-height: 0;
}

.pi-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .8s cubic-bezier(.16,1,.3,1), filter .45s ease;
}

.pi-media video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  transition: transform .8s cubic-bezier(.16,1,.3,1), filter .45s ease;
}

.pi:hover .pi-media img,
.pi:hover .pi-media video {
  transform: scale(1.08);
  filter: brightness(.82) saturate(1.05);
}

.pi-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,11,.96) 0%, rgba(8,8,11,.36) 45%, rgba(8,8,11,.05) 100%);
  z-index: 1;
}


.pi-ov {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 3;
}

.pi-content {
  transform: translateY(16px);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}

.pi:hover .pi-content {
  transform: none;
}

.pi-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--tx);
  margin-bottom: .3rem;
}

.pi-sub {
  color: rgba(238,238,255,.62);
  font-size: .78rem;
  letter-spacing: .04em;
}

.pi-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,8,11,.38);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  z-index: 3;
  opacity: 0;
  transform: translate(10px,-10px);
  transition: opacity .35s ease, transform .35s cubic-bezier(.16,1,.3,1), background .25s ease;
}

.pi:hover .pi-arrow {
  opacity: 1;
  transform: none;
}

.pi-arrow:hover {
  background: var(--pr);
}

.pi-arrow svg {
  width: 15px;
  height: 15px;
  stroke: var(--tx);
  fill: none;
  stroke-width: 2;
}

.pi-blue-ov {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: #2a5ff0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 4;
}

.pi:hover .pi-blue-ov {
  opacity: 1;
}

.pi-blue-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.pi-blue-sub {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin-top: .2rem;
}

/* Country flag, centred under the caption */
.pi-blue-flag {
  display: block;
  margin-top: 1.1rem;
  line-height: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease .12s, transform .5s cubic-bezier(.16,1,.3,1) .12s;
}
.pi:hover .pi-blue-flag { opacity: 1; transform: none; }
.pi-blue-flag img {
  width: 40px;
  height: auto;
  display: block;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 6rem 2rem;
  color: var(--mu);
  font-size: 1rem;
}

/* ============================
   MODAL
   ============================ */
#modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(8,8,11,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
  backdrop-filter: blur(16px);
  padding: 2rem;
}

#modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-in {
  position: relative;
  max-width: 980px;
  width: 100%;
  transform: scale(.94) translateY(20px);
  transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .35s;
}

#modal.open .modal-in {
  transform: scale(1) translateY(0);
}

.modal-img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
}
video.modal-img {
  object-fit: contain;
  border-radius: 12px;
  display: block;
}
.modal-in video {
  pointer-events: auto;
}
.modal-in video::-webkit-media-controls-enclosure {
  overflow: hidden;
}
.modal-in video::-webkit-media-controls-panel {
  width: calc(100% + 30px);
}
#mYTFrame.modal-img {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 78vh;
  border-radius: 12px;
  display: block;
  background: #000;
}

.modal-cap {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.modal-ttl {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.modal-cat {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--pr);
}

.modal-x {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--bd);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx);
  font-size: .9rem;
  transition: background .25s, transform .3s, border-color .25s;
}

.modal-x:hover {
  background: var(--pr);
  border-color: var(--pr);
  transform: rotate(90deg);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  #pgrid.normal-grid,
  #pgrid {
    columns: 2;
  }
}

@media (max-width: 560px) {
  #pgrid.normal-grid,
  #pgrid {
    columns: 1;
  }

  .port-title {
    font-size: clamp(2.2rem, 13vw, 7rem);
  }

  .modal-x {
    right: 0;
    top: -3rem;
  }
}
/* ============================
   PRICING
   ============================ */
#pricing { padding: 6rem 0 6rem; }
.pr-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.pr-header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.pr-cii-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  margin: 0 2rem;
}
.pr-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .02em;
  margin: .5rem 0 1rem;
  color: var(--tx);
}
.pr-title span { color: var(--pr); }
.pr-sub {
  color: var(--mu);
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 0;
  line-height: 1.75;
  flex: 1;
}
.pr-cii {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.pr-cii-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(42,95,240,.1);
  border: 1px solid rgba(42,95,240,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pr-cii-ic svg {
  width: 18px; height: 18px;
  stroke: var(--pr);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pr-cii-l {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mu);
  margin-bottom: .2rem;
}
.pr-cii-v {
  font-size: .95rem;
  color: var(--tx);
  font-weight: 500;
}
.pr-cii-v a { color: var(--tx); text-decoration: none; }
.pr-cii-v a:hover { color: var(--pr); }
.pr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  align-items: stretch;
}
.pcard {
  background: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 24px;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
  transition: transform .35s ease, border-color .35s, box-shadow .35s;
}
.pcard:hover {
  transform: translateY(-8px);
  border-color: rgba(42,95,240,.45);
  box-shadow: 0 24px 64px rgba(0,0,0,.38);
}
.pcard--feat {
  background: linear-gradient(155deg, rgba(42,95,240,.16) 0%, rgba(42,95,240,.04) 100%);
  border-color: rgba(42,95,240,.55);
  box-shadow: 0 0 48px rgba(42,95,240,.12);
}
.pcard--feat:hover {
  box-shadow: 0 24px 64px rgba(42,95,240,.25);
}
.pcard-badge {
  position: absolute;
  top: -1px; right: 1.5rem;
  background: var(--pr);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .32rem .85rem;
  border-radius: 0 0 10px 10px;
}
.pcard-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(42,95,240,.1);
  border: 1px solid rgba(42,95,240,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pcard-icon svg {
  width: 20px; height: 20px;
  stroke: var(--pr);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pcard--feat .pcard-icon {
  background: rgba(42,95,240,.18);
  border-color: rgba(42,95,240,.35);
}
.pcard-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tx);
  letter-spacing: .01em;
}
.pcard-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  color: var(--tx);
  line-height: 1;
  display: flex;
  align-items: flex-start;
  gap: .15rem;
}
.pcard-cur {
  font-size: 1.4rem;
  color: var(--pr);
  margin-top: .35rem;
}
.pcard-per {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  color: var(--mu);
  font-weight: 400;
  align-self: flex-end;
  margin-bottom: .4rem;
}
.pcard-desc {
  color: var(--mu);
  font-size: .84rem;
  line-height: 1.65;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--bd);
}
.pcard-img {
  width: calc(100% + 3.5rem);
  margin-left: -1.75rem;
  height: 185px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  transform: translateZ(0);
  will-change: transform;
  isolation: isolate;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pcard-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, #0b0e1a 100%);
  pointer-events: none;
}
.pcard--feat .pcard-img::after {
  background: linear-gradient(to bottom, transparent 30%, #0c0e1c 100%);
}

/* AI Calls card has no photo — this waveform panel stands in for .pcard-img
   and matches its box exactly so every card in the row stays the same height */
.pcard-vis {
  width: calc(100% + 3.5rem);
  margin-left: -1.75rem;
  height: 185px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(42,95,240,.26), transparent 68%),
    linear-gradient(to bottom, rgba(42,95,240,.05), #0b0e1a 100%);
}
.pcard-vis::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, #0b0e1a 100%);
  pointer-events: none;
}
.pcard-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 76px;
}
.pcard-wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(to bottom, #5b84ff, var(--pr));
  transform-origin: center;
  animation: pcWave 1.5s ease-in-out infinite;
}
/* negative delays offset each bar so the row reads as a travelling wave */
.pcard-wave i:nth-child(5n+1) { animation-delay:    0s; opacity: .55; }
.pcard-wave i:nth-child(5n+2) { animation-delay: -.30s; opacity: .8;  }
.pcard-wave i:nth-child(5n+3) { animation-delay: -.60s; opacity:  1;  }
.pcard-wave i:nth-child(5n+4) { animation-delay: -.90s; opacity: .8;  }
.pcard-wave i:nth-child(5n+5) { animation-delay: -1.2s; opacity: .55; }
@keyframes pcWave {
  0%, 100% { transform: scaleY(.3); }
  50%      { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .pcard-wave i { animation: none; transform: scaleY(.55); }
}
.pcard-feats {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.pcard-feats li {
  font-size: .82rem;
  color: rgba(238,238,255,.72);
  display: flex;
  align-items: center;
  gap: .65rem;
}
.pcard-feats li::before {
  content: '';
  width: 17px; height: 17px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(42,95,240,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235467f5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
  border: 1px solid rgba(42,95,240,.3);
}
.pcard-btn {
  display: block;
  text-align: center;
  padding: .82rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid var(--bd);
  color: var(--tx);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  margin-top: .5rem;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.pcard-btn:hover {
  background: rgba(42,95,240,.12);
  border-color: var(--pr);
  color: var(--tx);
}
.pcard-btn--feat {
  background: var(--pr);
  border-color: var(--pr);
  color: #fff;
}
.pcard-btn--feat:hover {
  background: #1f4bd8;
  border-color: #1f4bd8;
  box-shadow: 0 8px 32px rgba(42,95,240,.45);
}
@media (max-width: 1250px) {
  .pr-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .pr-grid { grid-template-columns: 1fr; }
}

/* ============================
   CONTACT SECTION
   ============================ */
#contact {
  padding: 7rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ct-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
.ct-left { flex: 0 0 auto; max-width: 420px; }
.ct-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .02em;
  margin: .75rem 0 0;
  color: var(--tx);
}
.ct-title span { color: var(--pr); }
.ct-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-width: 480px;
}
.ct-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  color: var(--tx);
  transition: border-color .25s, background .25s, transform .2s;
}
.ct-item:not(.ct-item--nolink):hover {
  border-color: rgba(42,95,240,.4);
  background: rgba(42,95,240,.06);
  transform: translateX(4px);
}
.ct-item-ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(42,95,240,.1);
  border: 1px solid rgba(42,95,240,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ct-item-ic svg { width: 16px; height: 16px; stroke: var(--pr); }
.ct-item-l {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mu);
  margin-bottom: .15rem;
}
.ct-item-v { font-size: .95rem; font-weight: 500; color: var(--tx); }
.ct-arrow {
  width: 16px; height: 16px;
  margin-left: auto;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  flex-shrink: 0;
}
.ct-item:not(.ct-item--nolink):hover .ct-arrow { opacity: 1; transform: translateX(3px); }
@media (max-width: 860px) {
  .ct-inner { flex-direction: column; align-items: flex-start; gap: 2.5rem; }
  .ct-left { max-width: 100%; }
  .ct-right { max-width: 100%; width: 100%; }
}

/* Footer contact strip */
.ft-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 4vw;
  border-bottom: 1px solid var(--bd);
  background: var(--bg2);
  flex-wrap: wrap;
}
.ftci {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--mu);
  font-size: .88rem;
}
.ftci svg {
  width: 17px; height: 17px;
  stroke: var(--pr);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ftci a { color: var(--mu); text-decoration: none; transition: color .2s; }
.ftci a:hover { color: var(--tx); }

/* ============================
   TIKTOK WIDGET
   ============================ */
.ttw-section {
  padding: 4rem 0 8rem;
  overflow: hidden;
}

/* Header row */
.ttw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.ttw-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ttw-avatar-link {
  flex-shrink: 0;
  display: block;
  width: 58px; height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--pr);
  transition: border-color .2s, transform .2s;
}
.ttw-avatar-link:hover { border-color: #fff; transform: scale(1.05); }
.ttw-avatar-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ttw-profile-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--tx);
}
.ttw-profile-stats {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--mu);
  margin-top: .25rem;
}
.ttw-profile-stats strong { color: var(--tx); font-weight: 600; }
.ttw-stat-sep { opacity: .4; }
.ttw-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--pr);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .65rem 1.4rem;
  border-radius: 100px;
  transition: opacity .2s, transform .2s;
}
.ttw-follow-btn:hover { opacity: .85; transform: translateY(-1px); }

/* Carousel layout */
.ttw-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ttw-track-wrap {
  flex: 1;
  overflow: hidden;
}
.ttw-track {
  display: flex;
  gap: 1.2rem;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

/* Cards */
.ttw-card {
  flex: 0 0 calc((100% - 2.4rem) / 3);
  cursor: pointer;
  user-select: none;
}
.ttw-media {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}
.ttw-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ttw-card:hover .ttw-vid { transform: scale(1.03); }

/* Bottom gradient overlay */
.ttw-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 45%);
  pointer-events: none;
}

/* Play button */
.ttw-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .25s, transform .25s;
  z-index: 2;
}
.ttw-play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
.ttw-card.playing .ttw-play-btn { opacity: 0; transform: translate(-50%,-50%) scale(.6); }
.ttw-card:hover .ttw-play-btn { background: rgba(255,255,255,.28); transform: translate(-50%,-50%) scale(1.1); }

/* Footer inside card (username + tiktok logo) */
.ttw-card-footer {
  position: absolute;
  bottom: .85rem; left: .9rem; right: .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}
.ttw-username {
  font-size: .72rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  letter-spacing: .02em;
}
.ttw-tiktok { flex-shrink: 0; opacity: .85; }

/* Caption below card */
.ttw-caption {
  margin-top: .75rem;
  font-size: .78rem;
  color: var(--mu);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 .1rem;
}

/* Nav arrows */
.ttw-nav {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--bd);
  color: var(--tx);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.ttw-nav:hover { background: rgba(42,95,240,.18); border-color: rgba(42,95,240,.4); transform: scale(1.08); }
.ttw-nav:disabled { opacity: .25; cursor: default; transform: none; }
.ttw-nav svg { width: 18px; height: 18px; }

/* Dot indicators */
.ttw-dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.8rem;
}
.ttw-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bd);
  transition: background .2s, transform .2s;
  cursor: pointer;
}
.ttw-dot.active {
  background: var(--pr);
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 900px) {
  .ttw-card { flex: 0 0 calc((100% - 1.2rem) / 2); }
}
@media (max-width: 560px) {
  .ttw-card { flex: 0 0 80%; }
  .ttw-nav { display: none; }
}

/* ============================
   INSTAGRAM WIDGET
   Reuses the .ttw-* reel styling; this block only
   carries the Instagram-specific brand treatment.
   ============================ */
.igw { padding-top: 0; }
.igw .ttw-avatar-link {
  border-color: transparent;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7);
  padding: 2px;
}
.igw .ttw-avatar-link:hover { border-color: transparent; }
.igw-avatar-ph {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--tx);
}
.igw .ttw-follow-btn {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7);
}
.igw .ttw-nav:hover { background: rgba(238,42,123,.16); border-color: rgba(238,42,123,.4); }
.igw .ttw-dot.active { background: #ee2a7b; }

/* These reels are landscape 16:9, not portrait like the TikToks — so the
   Instagram carousel runs one full-width video per slide. Two classes here
   beats the single-class .ttw-card breakpoints further up, at every width. */
.igw .ttw-card { flex: 0 0 100%; }
.igw .ttw-media { aspect-ratio: 16 / 9; }

/* Placeholder card — until the real reels are added */
.igw-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(238,42,123,.14), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(98,40,215,.16), transparent 55%),
    var(--bg2);
  color: rgba(255,255,255,.4);
}
.igw-ph svg { width: 34px; height: 34px; }
.igw-ph span {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.igw-card .ttw-media { border: 1px solid var(--bd); }

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--bg2);
  padding: 4rem 4vw 2.5rem;
  border-top: 1px solid var(--bd);
  position: relative;
  overflow: visible;
}

/* brand block on the left, then two link columns */
.ft {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.flogo {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: var(--tx);
  letter-spacing: .08em;
  text-decoration: none;
}

.ft-brand { max-width: 420px; }
.ft-blurb {
  margin: 1.1rem 0 1.6rem;
  font-size: .85rem;
  line-height: 1.75;
  color: var(--mu);
}

/* column heading — same Orbitron eyebrow treatment as the rest of the site */
.ft-col {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.ft-h {
  font-family: 'Orbitron', sans-serif;
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: .35rem;
}

.ft-col a {
  color: var(--mu);
  text-decoration: none;
  font-size: .82rem;
  transition: color .25s;
  width: fit-content;
}
.ft-col a:hover { color: var(--tx); }

/* contact rows carry a small icon */
.ft-line {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.ft-line svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  stroke: var(--pr);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .8;
  transition: opacity .25s;
}
.ft-line:hover svg { opacity: 1; }

.fsoc {
  display: flex;
  gap: 1rem;
}

.sb {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  text-decoration: none;
  transition: border-color .25s, background .25s;
}

.sb:hover {
  border-color: var(--pr);
  background: var(--pr-dim);
}

.sb svg {
  width: 15px;
  height: 15px;
  stroke: var(--mu);
  fill: none;
  stroke-width: 1.5;
  transition: stroke .25s;
}

.sb:hover svg {
  stroke: var(--pr);
}

/* between mobile and desktop the three columns get cramped — brand goes
   full width and the two link columns sit side by side underneath */
@media (max-width: 1000px) and (min-width: 769px) {
  .ft { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .ft-brand { grid-column: 1 / -1; max-width: 560px; }
}

.fb {
  border-top: 1px solid var(--bd);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.fc,
.ftg {
  font-size: .78rem;
  color: #30304a;
}
/* existing CSS above */

.modal-x:hover {
  background: var(--pr);
  border-color: var(--pr);
  transform: rotate(90deg);
}

/* ============================
   FAQ
   Native <details>, so the answers are still readable with JS
   off; script.js layers the smooth open/close on top.
   ============================ */
#faq { padding: 7rem 0 3rem; scroll-margin-top: 120px; }

.faq {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  max-width: 900px;
}

/* soft card per question rather than hard dividing rules */
.faq-item {
  border: 1px solid var(--bd);
  border-radius: 16px;
  background: rgba(255,255,255,.014);
  overflow: hidden;
  transition: background .55s ease, border-color .55s ease;
}
.faq-item:hover {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.085);
}
.faq-item[open] {
  background: rgba(255,255,255,.026);
  border-color: rgba(42,95,240,.26);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.45rem 1.7rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,.74);
  cursor: pointer;
  list-style: none;
  transition: color .45s ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover,
.faq-item[open] .faq-q { color: var(--tx); }

/* thin chevron — quieter than a plus/minus, and it just tips over */
.faq-ic {
  flex-shrink: 0;
  width: 9px; height: 9px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: rgba(255,255,255,.28);
  transform: rotate(45deg);
  transition: transform .5s cubic-bezier(.22,1,.36,1), color .45s ease, margin-top .5s cubic-bezier(.22,1,.36,1);
}
.faq-item[open] .faq-ic {
  transform: rotate(-135deg);
  margin-top: 3px;
  color: rgba(42,95,240,.85);
}

/* height is driven by script.js so the panel eases open instead of
   snapping; without JS it simply sits at auto */
.faq-a {
  overflow: hidden;
  transition: height .45s cubic-bezier(.22,1,.36,1);
}
.faq-a p {
  margin: 0;
  padding: 0 4rem 1.65rem 1.7rem;
  max-width: 70ch;
  font-size: .93rem;
  line-height: 1.85;
  color: rgba(255,255,255,.46);
}

@media (prefers-reduced-motion: reduce) {
  .faq-a { transition: none; }
  .faq-ic { transition: color .2s ease; }
}

/* ============================
   CLOSING CTA
   ============================ */
.fcta { padding: 5rem 0 7rem; }
.fcta-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.fcta-h {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--tx);
  margin: 0;
}
.fcta .afx-cta { margin-top: 2rem; }

/* ============================
   MOBILE (≤768px)
   ============================ */
@media (max-width: 768px) {

  /* ── NAV ── */
  .nav-links { display: none; }
  #nav > .nav-cta { display: none; }
  .ham { display: flex; margin-left: auto; }
  #nav {
    top: .75rem;
    padding: .65rem 1.2rem;
    width: 92vw;
  }
  /* Remove nav glow on mobile */
  #nav.stuck,
  #nav.always-stuck {
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  #nav::before { display: none; }

  /* ── LANG TOGGLE — move to bottom-right to avoid nav overlap ── */
  #lang-toggle-fixed {
    top: auto !important;
    bottom: 22px !important;
    right: 16px !important;
  }

  /* ── HERO ── */
  .hero-inner { padding: 0 1.2rem; }
  .hero-sub { font-size: clamp(.88rem, 4vw, 1.1rem); }
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    margin-top: 2.2rem;
  }
  .hero-btns .btn-p,
  .hero-btns .btn-g {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: .95rem 1.5rem;
  }

  /* ── SERVICES ── */
  #services { padding: 5.5rem 0 4rem; }
  .svx-top { margin-bottom: 2.5rem; }
  .svx-head { padding: 1.3rem .4rem 1.3rem 0; gap: .7rem; }
  .svx-name { font-size: clamp(1.15rem, 6vw, 1.7rem); }
  .svx-head:hover .svx-name,
  .svx-item.is-open .svx-name { transform: none; }
  .svx-head:hover .svx-tag,
  .svx-item.is-open .svx-tag { transform: none; }
  .svx-tag { font-size: .52rem; padding: .24rem .5rem; }
  .svx-meta { gap: .55rem; }
  .svx-body { padding-left: 0; padding-bottom: 2rem; }
  .svx-desc { font-size: .88rem; }
  .svx-inc { grid-template-columns: 1fr; gap: .6rem; margin-top: 1.4rem; }

  /* ── FAQ + CLOSING CTA ── */
  #faq { padding: 4.5rem 0 1.5rem; }
  .faq-q { font-size: .9rem; padding: 1.2rem 1.15rem; gap: 1.1rem; }
  .faq-a p { padding: 0 1.6rem 1.3rem 1.15rem; font-size: .86rem; line-height: 1.8; }
  .fcta { padding: 3.5rem 0 5rem; }
  .svx-item--ai .svx-body { padding-bottom: 2.4rem; }
  .afx-cta { margin-top: 2.4rem; width: 100%; justify-content: center; }

  /* ── STORY ── */
  #story { height: 360vh; }
  .story-slide { width: 92vw; padding: 0 4vw; }
  .story-slide-h { font-size: clamp(2.4rem, 13vw, 4.8rem); line-height: .95; }
  .story-slide-p { margin-top: 1rem; font-size: .9rem; max-width: 90%; line-height: 1.6; }
  .story-dots { bottom: 2rem; }

  /* ── ABOUT ── */
  .about-g { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-vis { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.5rem; }

  /* ── CONTACT ── */
  .con-g { grid-template-columns: 1fr; gap: 3rem; }
  .fgr { grid-template-columns: 1fr; }
  .cform { padding: 2rem 1.4rem; }
  .fsub { align-self: stretch; justify-content: center; }

  /* ── PRICING ── */
  #pricing { padding: 6rem 0 4.5rem; }
  .pr-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .pr-header-right {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .pr-title { font-size: clamp(2.6rem, 10vw, 5rem); margin: .5rem 0 1rem; }

  /* ── PORTFOLIO ── */
  .port-hero { padding: 7rem 0 1.5rem; }
  .filter-bar,
  .centered-filter-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    flex-wrap: unset;
    overflow: visible;
    justify-content: unset;
  }
  .fbtn {
    text-align: center;
    padding: .72rem .3rem;
    font-size: .62rem;
    letter-spacing: .13em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: unset;
    width: auto;
  }

  /* ── MODAL ── */
  #modal { padding: 1rem; }
  .modal-in { max-width: 100%; }
  .modal-img { max-height: 60vh; border-radius: 8px; }
  .modal-x { top: -2.5rem; right: 0; }
  .modal-ttl { font-size: 1.1rem; }

  /* ── FOOTER ── */
  footer { padding: 3rem 4vw 2rem; }
  .ft {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin-bottom: 2rem;
  }
  .flogo { font-size: 2rem; }
  .ft-brand { max-width: none; }
  .ft-blurb { margin: .9rem 0 1.3rem; font-size: .82rem; }
  /* roomier rows so the mail/phone links are comfortable to tap */
  .ft-col { gap: .45rem; }
  .ft-col a { padding: .45rem 0; }
  .fb {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
  }

  /* ── MOB NAV CTA ── */
  .mob-nav-cta {
    display: inline-block;
    background: var(--pr);
    color: var(--tx) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: .85rem !important;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    margin-top: .5rem;
    transition: background .25s;
  }
  .mob-nav-cta:hover { background: #1f4bd8 !important; color: var(--tx) !important; }
}

/* ================================================
   COBE GLOBE  (photography section)
   ================================================ */
#globe-wrap {
  display: none;
  padding: 2rem 0 3.5rem;
  text-align: center;
}
#globe-stage {
  position: relative;
  width: min(560px, 88vw);
  margin: 0 auto;
  aspect-ratio: 1;
}
#globe-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  cursor: grab;
  opacity: 0;
  transition: opacity 1.4s ease;
  touch-action: none;
  user-select: none;
}
#globe-canvas.globe-ready { opacity: 1; }
#globe-polaroids {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.gpol {
  position: absolute;
  background: #0c0c18;
  border: 1px solid rgba(255,255,255,.07);
  padding: 5px 5px 22px;
  box-shadow: 0 6px 28px rgba(0,0,0,.65), 0 1px 4px rgba(0,0,0,.4);
  pointer-events: none;
  transition: opacity .35s ease, filter .35s ease;
  will-change: transform, opacity;
}
.gpol img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: cover;
}
.gpol-cap {
  position: absolute;
  bottom: 4px;
  left: 0; right: 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.42rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.globe-hint {
  font-family: 'Inter', sans-serif;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mu);
  margin-top: 1.2rem;
  opacity: .6;
}

/* ================================================
   SCROLL FRAME ANIMATION
   ================================================ */
#frame-section {
  position: relative;
}
.frame-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #08080B;
}
#frame-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
#frame-loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #08080B;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frame-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 220px;
}
.frame-loader-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.frame-loader-track {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
}
.frame-loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2a5ff0, #5c8cff);
  border-radius: 2px;
  transition: width .15s linear;
}

/* ============================
   LANGUAGE TOGGLE (fixed overlay)
   ============================ */
#lang-toggle-fixed {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(10,10,18,.75);
  border: 1px solid var(--bd);
  border-radius: 20px;
  padding: 3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lt-btn {
  background: none;
  border: none;
  color: var(--mu);
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: background .2s, color .2s;
  line-height: 1;
}
.lt-btn:hover { color: var(--tx); }
.lt-btn.active {
  background: var(--pr);
  color: #fff;
}

/* ============================
   PRICING STANDALONE PAGE
   ============================ */
.pricing-standalone {
  padding: 7rem 0 5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pricing-standalone .pr-sub {
  flex: unset;
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.pricing-standalone .pr-header {
  margin-bottom: 0;
}

/* ============================
   INNER PAGE — no loader flash
   ============================ */
body.inner-page { opacity: 0; animation: ipFadeIn .45s .05s ease forwards; }
@keyframes ipFadeIn { to { opacity: 1; } }

/* ============================
   NAV DROPDOWNS — localized bump below hovered item
   ============================ */

/* Source data lives here — hidden from view, JS reads it */
.nav-drop { display: none; }

/*
  .nav-expand is absolutely positioned BELOW the nav,
  aligned precisely under whichever item was hovered.
  The nav pill stays 100% unchanged — only this bump appears.
*/
.nav-expand {
  position: absolute;
  top: 100%;
  /* left set by JS */
  margin-top: -3px;             /* overlap nav bottom — eats border + gap */
  z-index: 498;
  pointer-events: none;

  /* Wipe-down stretch — clips the inner panel */
  clip-path: inset(0 0 100% 0 round 0 0 18px 18px);
  transition: clip-path .38s cubic-bezier(.16,1,.3,1);
}

.nav-expand.open {
  clip-path: inset(0 0 0% 0 round 0 0 18px 18px);
  pointer-events: auto;
}

/* Visible bump panel — must match nav's stuck bg exactly */
.nav-expand-inner {
  background: var(--bg);  /* same as #nav.stuck — no seam */
  border: 1px solid var(--bd);
  border-top: none;
  border-radius: 0 0 18px 18px;
  padding: .35rem .5rem .7rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .25rem;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Wide strip that paints over the nav's bottom border — kills the seam line */
.nav-expand-inner::before {
  content: '';
  position: absolute;
  top: -4px; left: -1px; right: -1px;
  height: 6px;
  background: var(--bg);  /* must match inner bg */
  pointer-events: none;
  z-index: 3;                   /* above links (z2) so it covers the seam */
}

/* Cursor-tracking glow — continuous with the nav LED glow */
.nav-expand-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0 0 18px 18px;
  background: radial-gradient(
    circle 130px at var(--ex, -9999px) var(--ey, -9999px),
    rgba(42,95,240,.5)  0%,
    rgba(42,95,240,.2)  45%,
    transparent          70%
  );
  filter: blur(14px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
  z-index: 0;
}
.nav-expand-inner.glow-on::after { opacity: 1; }

.nav-expand a {
  display: inline-block;
  padding: .42rem 1rem;
  color: var(--mu);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid transparent;
  position: relative;
  z-index: 2;                   /* above glow, below seam-cover strip */
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-expand a:hover {
  background: rgba(42,95,240,.14);
  border-color: rgba(42,95,240,.28);
  color: var(--tx);
}

/* ============================
   PRICING PAGE STYLES
   ============================ */
.pg-hero {
  padding: 10rem 0 5rem;
  text-align: center;
}
.pg-hero .lbl { display: inline-block; margin-bottom: 1.2rem; }
.pg-hero-h {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--tx);
}
.pg-hero-h span { color: var(--pr); }
.pg-hero-sub {
  color: var(--mu);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}
.pg-cards-section { padding: 3rem 0 6rem; }

/* HOW IT WORKS */
.pg-how { padding: 6rem 0; border-top: 1px solid var(--bd); }
.pg-how .lbl { display: inline-block; margin-bottom: 1rem; }
.pg-how-h {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 3.5rem;
}
.pg-how-h span { color: var(--pr); }
.pg-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pg-step {
  background: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: border-color .3s, transform .3s;
}
.pg-step:hover { border-color: rgba(42,95,240,.4); transform: translateY(-4px); }
.pg-step-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: var(--pr);
  opacity: .35;
  line-height: 1;
  margin-bottom: .8rem;
}
.pg-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: .6rem;
}
.pg-step p { font-size: .84rem; color: var(--mu); line-height: 1.65; }
@media (max-width: 900px) { .pg-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pg-steps { grid-template-columns: 1fr; } }

/* COMPARISON TABLE */
.pg-compare { padding: 6rem 0; border-top: 1px solid var(--bd); }
.pg-compare .lbl { display: inline-block; margin-bottom: 1rem; }
.pg-compare-h {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 3rem;
}
.pg-compare-h span { color: var(--pr); }
.pg-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--bd); }
.pg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
}
.pg-table th, .pg-table td {
  padding: 1rem 1.4rem;
  text-align: center;
  border-bottom: 1px solid var(--bd);
  color: var(--mu);
}
.pg-table th:first-child, .pg-table td:first-child { text-align: left; color: var(--tx); font-weight: 500; }
.pg-table thead th {
  background: var(--bg2);
  color: var(--tx);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}
.pg-table tbody tr:last-child td { border-bottom: none; }
.pg-table tbody tr:hover td { background: rgba(42,95,240,.04); }
.pg-th-feat { background: rgba(42,95,240,.08) !important; color: var(--pr) !important; }
.pg-check { color: var(--pr); font-size: 1rem; font-weight: 700; }
.pg-dash  { color: var(--mu); opacity: .45; }
.pg-table-note { font-size: .78rem; color: var(--mu); margin-top: 1rem; opacity: .7; }

/* FAQ */
.pg-faq { padding: 6rem 0; border-top: 1px solid var(--bd); }
.pg-faq .lbl { display: inline-block; margin-bottom: 1rem; }
.pg-faq-h {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 3rem;
}
.pg-faq-h span { color: var(--pr); }
.pg-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.pg-faq-item {
  background: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color .3s;
}
.pg-faq-item:hover { border-color: rgba(42,95,240,.35); }
.pg-faq-item h3 { font-size: 1rem; font-weight: 700; color: var(--tx); margin-bottom: .6rem; }
.pg-faq-item p  { font-size: .84rem; color: var(--mu); line-height: 1.65; }
@media (max-width: 768px) { .pg-faq-grid { grid-template-columns: 1fr; } }

/* CTA BANNER */
.pg-cta-banner { padding: 6rem 0 8rem; border-top: 1px solid var(--bd); }
.pg-cta-inner {
  background: linear-gradient(135deg, rgba(42,95,240,.14) 0%, rgba(42,95,240,.04) 100%);
  border: 1px solid rgba(42,95,240,.3);
  border-radius: 28px;
  padding: 4rem 3rem;
  text-align: center;
}
.pg-cta-inner h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--tx);
}
.pg-cta-inner h2 span { color: var(--pr); }
.pg-cta-inner p { color: var(--mu); font-size: .95rem; line-height: 1.65; margin-bottom: 2.5rem; }
/* ============================
   CONTACT PAGE STYLES
   ============================ */
.ct-pg-hero {
  padding: 10rem 0 5rem;
  text-align: center;
}
.ct-pg-hero .lbl { display: inline-block; margin-bottom: 1.2rem; }
.ct-pg-h {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--tx);
}
.ct-pg-h span { color: var(--pr); }
.ct-pg-sub {
  color: var(--mu);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

.ct-pg-body { padding: 8rem 0 6rem; }
.ct-pg-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .ct-pg-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Info side */
.ct-pg-info-h {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--tx);
}
.ct-pg-info-h span { color: var(--pr); }
.ct-pg-info-p { color: var(--mu); font-size: .9rem; line-height: 1.7; margin-bottom: 2.5rem; }
.ct-info-items { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 3rem; }

.ct-pg-trust {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bd);
}
.ct-trust-item { display: flex; flex-direction: column; gap: .2rem; }
.ct-trust-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  color: var(--pr);
  line-height: 1;
}
.ct-trust-lbl { font-size: .75rem; color: var(--mu); letter-spacing: .06em; }

/* Form */
.ct-pg-form-wrap {
  background: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 28px;
  padding: 2.5rem;
}
.ct-form { display: flex; flex-direction: column; gap: 1.6rem; }
.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .ct-form-row { grid-template-columns: 1fr; } }

.ct-field { display: flex; flex-direction: column; gap: .5rem; }
.ct-field label {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mu);
  font-weight: 500;
}
.ct-field input,
.ct-field textarea {
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: .85rem 1.1rem;
  color: var(--tx);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  resize: none;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--mu); opacity: .6; }
.ct-field input:focus,
.ct-field textarea:focus {
  border-color: rgba(42,95,240,.55);
  box-shadow: 0 0 0 3px rgba(42,95,240,.1);
}

/* Service pills */
/* all five services stay on one line — padding, gap and type are trimmed just
   enough to fit "Creative Bundle" alongside the rest at form width */
.ct-service-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: .35rem;
  margin-top: .25rem;
  overflow-x: auto;          /* safety valve if the form gets narrower than the row */
  scrollbar-width: none;
}
.ct-service-pills::-webkit-scrollbar { display: none; }
.ct-pill {
  flex: 0 0 auto;
  white-space: nowrap;
  background: var(--bg3);
  border: 1.5px solid var(--bd);
  border-radius: 100px;
  padding: .5rem .7rem;
  color: var(--mu);
  font-family: 'Inter', sans-serif;
  font-size: clamp(.68rem, 1vw, .78rem);
  font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .22s, border-color .22s, color .22s;
}
/* below the two-column split the form is narrow enough that wrapping reads better */
@media (max-width: 700px) {
  .ct-service-pills { flex-wrap: wrap; overflow-x: visible; gap: .5rem; }
  .ct-pill { padding: .52rem 1rem; font-size: .78rem; }
}
.ct-pill:hover { border-color: rgba(42,95,240,.45); color: var(--tx); }
.ct-pill.active {
  background: var(--pr);
  border-color: var(--pr);
  color: #fff;
}

/* Budget slider */
.ct-budget-wrap { animation: fadeSlideIn .3s ease both; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ct-budget-wrap label { display: flex; align-items: center; gap: .4rem; }
.ct-budget-wrap label strong { color: var(--pr); font-family: 'Orbitron', sans-serif; font-size: 1.2rem; letter-spacing: .05em; }
/* "per month" — shown only for recurring services (AI Calls), toggled in contact.html */
.ct-budget-per { display: none; margin-left: -.15rem; color: var(--mu); font-size: .82rem; font-weight: 500; }
.ct-budget-per.on { display: inline; }

.ct-slider-track { position: relative; height: 28px; display: flex; align-items: center; margin: .25rem 0; }
.ct-slider-track input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--pr) var(--fill-pct, 0%), var(--bg3) var(--fill-pct, 0%));
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  border: none;
  box-shadow: none;
  padding: 0;
}
.ct-slider-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pr);
  box-shadow: 0 0 0 4px rgba(42,95,240,.2);
  cursor: pointer;
  transition: box-shadow .2s;
}
.ct-slider-track input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(42,95,240,.3);
}
.ct-slider-track input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pr);
  border: none;
  cursor: pointer;
}
.ct-slider-range {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--mu);
}

/* Submit */
.ct-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  background: var(--pr);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 1rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .25s, box-shadow .25s, transform .25s;
  margin-top: .5rem;
}
.ct-submit:hover { background: #1f4bd8; box-shadow: 0 8px 32px rgba(42,95,240,.4); transform: translateY(-2px); }
.ct-submit svg { width: 18px; height: 18px; }
.ct-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Success */
.ct-success {
  display: none;
  align-items: center;
  gap: 1rem;
  background: rgba(84,245,130,.08);
  border: 1px solid rgba(84,245,130,.25);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  color: #4ef07a;
  font-size: .88rem;
}
.ct-success.visible { display: flex; }
.ct-success svg { width: 24px; height: 24px; flex-shrink: 0; }
.ct-success strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
.ct-success p { color: rgba(78,240,122,.7); margin: 0; }

/* Failure — same shape as .ct-success, red instead of green */
.ct-error {
  display: none;
  align-items: center;
  gap: 1rem;
  background: rgba(245,84,84,.08);
  border: 1px solid rgba(245,84,84,.25);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  color: #f07a7a;
  font-size: .88rem;
}
.ct-error.visible { display: flex; }
.ct-error svg { width: 24px; height: 24px; flex-shrink: 0; }
.ct-error strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
.ct-error p { color: rgba(240,122,122,.72); margin: 0; }

/* Honeypot — off-screen rather than display:none so bots still see it */
.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ============================
   HERO EYE  (index.html)
   ============================ */
/* desktop: eye only — logo shown on phones (see media query below) */
.hero-h .hero-logo-img { display: none; }
.hero-eyeball {
  width: clamp(240px, 36vmin, 440px);
  aspect-ratio: 1;
  margin: 0 auto;
  position: relative;
}
.hero-eyeball::before {
  /* soft ambient glow behind the orb */
  content: '';
  position: absolute; inset: -18%;
  background: radial-gradient(circle, rgba(42,95,240,.22) 0%, rgba(42,95,240,.08) 42%, transparent 68%);
  pointer-events: none;
}
.hero-eyeball canvas {
  position: relative;
  width: 100%; height: 100%;
  display: block;
  /* orb edge sits at ~91.6% of half-width; keep rim glow, trim square corners */
  -webkit-mask-image: radial-gradient(circle closest-side, #000 88%, transparent 98%);
  mask-image: radial-gradient(circle closest-side, #000 88%, transparent 98%);
}

/* eye loader mode: transparent overlay + circular hole that dims the page */
#loader.eye-mode {
  background: transparent;
  pointer-events: none;
}
#loader.eye-mode .ld-hole {
  position: fixed;
  border-radius: 50%;
  /* JS positions this over the hero eye and animates the shadow alpha */
  box-shadow: 0 0 0 200vmax rgba(5,5,8,1);
}

@media (max-width: 768px) {
  /* phones: static logo instead of the eye */
  .hero-eyeball { display: none; }
  .hero-h .hero-logo-img { display: block; margin: 0 auto; }
}

/* ================================================================
   ABOUT PAGE  (about.html)
   ================================================================ */

/* ── HERO ── */
.ab-hero {
  position: relative;
  min-height: 80vh;
  min-height: 80svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 5vh;
  overflow: hidden;
}
.ab-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(42,95,240,.16), transparent 34%),
    radial-gradient(circle at 82% 26%, rgba(92,140,255,.11), transparent 30%),
    radial-gradient(circle at 50% 92%, rgba(42,95,240,.10), transparent 38%);
  /* fade the glow out before the section edge, or the clip reads as a seam */
  -webkit-mask-image: linear-gradient(180deg, #000 46%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 46%, transparent 92%);
}
.ab-hero-rings {
  position: absolute;
  inset: 0;                    /* full-size box so the mask has something to clip */
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 88%);
          mask-image: linear-gradient(180deg, #000 40%, transparent 88%);
}
.ab-hero-rings span {
  position: absolute;
  left: 50%; top: 50%;
  width: 46vmax; height: 46vmax;
  border: 1px solid rgba(92,140,255,.12);
  border-radius: 50%;
  transform: translate(-50%,-50%) scale(.7);
  opacity: 0;
  animation: abRing 7s cubic-bezier(.16,1,.3,1) infinite;
}
.ab-hero-rings span:nth-child(2) { animation-delay: 2.3s; }
.ab-hero-rings span:nth-child(3) { animation-delay: 4.6s; }
@keyframes abRing {
  0%   { opacity: 0;   transform: translate(-50%,-50%) scale(.55); }
  18%  { opacity: .85; }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(1.5); }
}

.ab-hero-in {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ab-eyebrow { opacity: 0; }
.ab-hero.ready .ab-eyebrow { animation: slideUp .8s .1s cubic-bezier(.16,1,.3,1) both; }
.ab-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 12vw, 9rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: .02em;
  color: var(--tx);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 .28em;
  margin: .2rem 0 0;
}
.ab-title .ab-word { display: inline-flex; }
.ab-title .ab-word-ac { color: var(--pr); text-shadow: 0 0 46px rgba(42,95,240,.45); }
.ab-title .ab-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(74px) skewY(5deg);
}
.ab-hero.ready .ab-title .ab-char {
  animation: abCharIn .9s cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(.28s + var(--i, 0) * .075s);
}
@keyframes abCharIn { to { opacity: 1; transform: none; } }

.ab-hero-state {
  font-size: clamp(1.15rem, 2.5vw, 2.05rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--mu);
  max-width: 24ch;
  margin: 2rem auto 0;
  opacity: 0;
}
.ab-hero.ready .ab-hero-state { animation: slideUp .9s .95s cubic-bezier(.16,1,.3,1) both; }
.ab-hero-state span { color: var(--tx); }

/* the cue is the top of the spine — it runs straight into the thread below */
.ab-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  opacity: 0;
  z-index: 2;
}
.ab-hero.ready .ab-cue { animation: slideUp .9s 1.3s cubic-bezier(.16,1,.3,1) both; }
.ab-cue-txt {
  font-family: 'Orbitron', sans-serif;
  font-size: .58rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--mu);
}
.ab-cue-line {
  position: relative;
  width: 1px; height: 12vh;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  overflow: hidden;
}
.ab-cue-line i {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--pr), transparent);
  animation: abCue 2.4s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes abCue {
  0%   { transform: translateY(-100%); }
  65%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ── MANIFESTO — a spine that draws down, branching left / right ──
   Nothing is pinned: the page keeps scrolling and each block lights
   as it crosses the reading line.                                  */
.ab-thread {
  position: relative;
  overflow: visible;
  padding: 0 0 6vh;
}
/* carries the hero's blue up over the section boundary so there is no cut */
.ab-thread::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -34vh;
  height: 105vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 8%, rgba(42,95,240,.13), transparent 68%),
    radial-gradient(ellipse 60% 40% at 15% 40%, rgba(92,140,255,.07), transparent 70%);
  /* soften both ends, otherwise the box edge shows as a horizontal band */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 68%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 68%, transparent 100%);
}
/* the spine */
.ab-spine {
  position: absolute;
  left: 50%;
  top: 0; bottom: 6vh;
  width: 1px;
  margin-left: -.5px;
  background: rgba(255,255,255,.07);
  z-index: 1;
  pointer-events: none;
}
.ab-spine-fill {
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(180deg, rgba(42,95,240,.25), var(--pr));
  box-shadow: 0 0 12px rgba(42,95,240,.55);
}
.ab-spine-fill::after {          /* the travelling head */
  content: '';
  position: absolute;
  bottom: -3px; left: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pr);
  box-shadow: 0 0 18px 3px rgba(42,95,240,.75);
}

.ab-thread-in { position: relative; z-index: 2; }

.ab-node {
  position: relative;
  width: 50%;
  margin-bottom: 11vh;
}
.ab-node:last-child { margin-bottom: 4vh; }
.ab-node-l { padding-right: clamp(2rem, 3.6vw, 3.6rem); text-align: right; }
.ab-node-r { margin-left: 50%; padding-left: clamp(2rem, 3.6vw, 3.6rem); text-align: left; }

/* branch: dot on the spine + connector reaching across to the copy */
.ab-node-mark { position: absolute; top: .55rem; width: 0; height: 0; }
.ab-node-l .ab-node-mark { right: 0; }
.ab-node-r .ab-node-mark { left: 0; }
.ab-node-dot {
  position: absolute;
  left: -4px; top: -4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0c0e16;
  border: 1px solid rgba(255,255,255,.18);
  transition: background .45s ease, border-color .45s ease, box-shadow .45s ease, transform .45s ease;
}
.ab-node.on .ab-node-dot {
  background: var(--pr);
  border-color: var(--pr);
  transform: scale(1.3);
  box-shadow: 0 0 16px rgba(42,95,240,.9);
}
.ab-node-branch {
  position: absolute;
  top: 0;
  height: 1px;
  width: clamp(2rem, 3.6vw, 3.6rem);
  transform: scaleX(0);
  transition: transform .75s cubic-bezier(.16,1,.3,1);
}
.ab-node-l .ab-node-branch {
  right: 0;
  transform-origin: right;
  background: linear-gradient(270deg, var(--pr), rgba(42,95,240,0));
}
.ab-node-r .ab-node-branch {
  left: 0;
  transform-origin: left;
  background: linear-gradient(90deg, var(--pr), rgba(42,95,240,0));
}
.ab-node.on .ab-node-branch { transform: scaleX(1); }

.ab-ch-num {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: .62rem;
  letter-spacing: .38em;
  color: var(--pr);
  margin-bottom: 1.1rem;
  opacity: .75;
}
.ab-big {
  font-size: clamp(1.2rem, 2.15vw, 2.05rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -.01em;
  max-width: 26ch;
}
.ab-node-r .ab-big { margin-right: auto; }
.ab-node-l .ab-big { margin-left: auto; }
.ab-big .sw {
  color: rgba(245,246,250,.11);
  transition: color .5s cubic-bezier(.16,1,.3,1), text-shadow .5s ease;
}
.ab-big .sw.lit { color: var(--tx); }
.ab-big .sw.ac { color: rgba(92,140,255,.16); }
.ab-big .sw.ac.lit {
  color: #6f9bff;
  text-shadow: 0 0 34px rgba(42,95,240,.5);
}

/* ── SECTION HEADS (about) ── */
.ab-head { max-width: 780px; margin-bottom: 4.5rem; }
.ab-h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--tx);
  margin: .4rem 0 0;
}
.ab-h2 span { color: var(--pr); }
.ab-sub {
  color: var(--mu);
  font-size: clamp(.95rem, 1.5vw, 1.08rem);
  max-width: 56ch;
  margin-top: 1.3rem;
}

/* ── FIVE DISCIPLINES ── */
.ab-disc { padding: 7rem 0 6rem; overflow: visible; }
.ab-disc-list { list-style: none; border-top: 1px solid var(--bd); }
.ab-disc-row {
  position: relative;
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  align-items: center;
  gap: 1.4rem;
  padding: 2rem .6rem;
  border-bottom: 1px solid var(--bd);
  transition: opacity .95s cubic-bezier(.16,1,.3,1), transform .95s cubic-bezier(.16,1,.3,1), background .35s ease, padding-left .35s cubic-bezier(.16,1,.3,1);
}
.ab-disc-row:hover { background: rgba(42,95,240,.035); padding-left: 1.6rem; }
.ab-disc-n {
  font-family: 'Orbitron', sans-serif;
  font-size: .82rem;
  letter-spacing: .2em;
  color: var(--mu);
  transition: color .35s ease, text-shadow .35s ease;
}
.ab-disc-row:hover .ab-disc-n { color: var(--pr); text-shadow: 0 0 18px rgba(42,95,240,.55); }
.ab-disc-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  font-weight: 500;
  color: var(--tx);
  line-height: 1.2;
}
.ab-disc-txt { color: var(--mu); font-size: .95rem; margin-top: .35rem; }
.ab-disc-line {
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--pr), rgba(42,95,240,0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * .09s + .15s);
}
.ab-disc-row.on .ab-disc-line { transform: scaleX(1); }
.ab-disc-note {
  margin-top: 3.2rem;
  max-width: 68ch;
  color: var(--mu);
  font-size: clamp(.98rem, 1.6vw, 1.15rem);
  line-height: 1.75;
}
.ab-disc-note em { font-style: normal; color: var(--tx); }

/* ── WHY CHOOSE US ── */
.ab-why { padding: 5rem 0 7rem; overflow: visible; }
.ab-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.ab-card {
  position: relative;
  padding: 2.3rem 1.9rem 2.1rem;
  border: 1px solid var(--bd);
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255,255,255,.022), rgba(255,255,255,0));
  overflow: hidden;
  transition: opacity .95s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1), border-color .35s ease, background .35s ease;
}
.ab-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--pr), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.ab-card:hover {
  transform: translateY(-5px);
  border-color: rgba(42,95,240,.35);
  background: linear-gradient(160deg, rgba(42,95,240,.06), rgba(255,255,255,0));
}
.ab-card:hover::before { transform: scaleX(1); }
.ab-card-n {
  font-family: 'Orbitron', sans-serif;
  font-size: .68rem;
  letter-spacing: .3em;
  color: var(--pr);
  opacity: .8;
}
.ab-card-h {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--tx);
  line-height: 1.35;
  margin: 1rem 0 .8rem;
}
.ab-card-p { color: var(--mu); font-size: .93rem; line-height: 1.7; }

/* stagger helper (used with .rv) */
.rv.ab-stag { transition-delay: calc(var(--i, 0) * .09s); }

/* ── CLOSING ── */
.ab-close {
  position: relative;
  padding: 7rem 0 9rem;
  overflow: hidden;
  border-top: 1px solid var(--bd);
}
.ab-close-glow {
  position: absolute;
  left: 50%; bottom: -30%;
  width: 90vw; height: 70vh;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(42,95,240,.16), transparent 62%);
}
.ab-close-in {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ab-close-h {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.9rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  max-width: 16ch;
}
.ab-close-h .sw {
  color: rgba(245,246,250,.09);
  transition: color .45s cubic-bezier(.16,1,.3,1), text-shadow .45s ease;
}
.ab-close-h .sw.lit {
  color: var(--tx);
  text-shadow: 0 0 40px rgba(42,95,240,.35);
}
.ab-close-p {
  color: var(--mu);
  font-size: clamp(.98rem, 1.7vw, 1.15rem);
  max-width: 50ch;
  margin-top: 1.8rem;
}
.ab-close-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.4rem;
}

/* ── nav fit on medium screens (5 links no longer fit centred) ── */
@media (max-width: 1120px) and (min-width: 769px) {
  .nav-links {
    position: static;
    left: auto;
    transform: none;
    margin: 0 auto;
    gap: 1.15rem;
  }
  .nav-links > li > a { font-size: .66rem; letter-spacing: .1em; }
  #nav > .nav-cta { font-size: .64rem; letter-spacing: .1em; }
}
/* below this the 5 links + CTA stop fitting — links win, CTA lives in the page */
@media (max-width: 880px) and (min-width: 769px) {
  #nav > .nav-cta { display: none; }
  .nav-links { gap: 1.4rem; }
}

/* ── ABOUT: tablet ── */
@media (max-width: 1000px) {
  .ab-why-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-big { font-size: clamp(1.15rem, 2.6vw, 1.7rem); max-width: 24ch; }
  .ab-node { margin-bottom: 9vh; }
}

/* ── ABOUT: mobile ── */
@media (max-width: 768px) {
  .ab-hero { padding: 7.5rem 0 4vh; min-height: 76svh; }
  .ab-title { font-size: clamp(2.6rem, 15vw, 5rem); gap: 0 .2em; }
  .ab-hero-state { max-width: 100%; margin-top: 1.6rem; }
  .ab-cue-line { height: 10vh; }

  /* one-sided thread: spine hugs the left, every block branches right off it.
     Both offsets are built from the container padding so they stay aligned. */
  .ab-spine { left: calc(4vw + 7px); margin-left: 0; }
  /* the hero's connector has to land on the spine, not the middle of the page */
  .ab-cue { left: calc(4vw + 7px); transform: none; }
  .ab-node,
  .ab-node-r { width: 100%; margin-left: 0; text-align: left; }
  .ab-node { margin-bottom: 7vh; padding-left: 3.2rem; padding-right: 0; }
  .ab-node-l .ab-node-mark,
  .ab-node-r .ab-node-mark { left: 7px; right: auto; }
  .ab-node-l .ab-node-branch {
    left: 0; right: auto;
    transform-origin: left;
    background: linear-gradient(90deg, var(--pr), rgba(42,95,240,0));
  }
  .ab-node-branch { width: 2.2rem; }
  .ab-big { max-width: 100%; line-height: 1.45; font-size: clamp(1.05rem, 4.4vw, 1.5rem); }
  .ab-node-l .ab-big { margin-left: 0; }

  .ab-disc { padding: 4.5rem 0 4rem; }
  .ab-head { margin-bottom: 2.8rem; }
  .ab-disc-row { grid-template-columns: 3rem 1fr; gap: .9rem; padding: 1.5rem .2rem; }
  .ab-disc-row:hover { padding-left: .2rem; background: none; }
  .ab-disc-note { margin-top: 2.2rem; }

  .ab-why { padding: 3rem 0 4.5rem; }
  .ab-why-grid { grid-template-columns: 1fr; }
  .ab-card { padding: 1.8rem 1.4rem; }

  .ab-close { padding: 4.5rem 0 5.5rem; }
  .ab-close-btns { flex-direction: column; width: 100%; max-width: 320px; }
  .ab-close-btns a { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ab-title .ab-char,
  .ab-eyebrow,
  .ab-hero-state,
  .ab-cue { animation: none !important; opacity: 1; transform: none; }
  .ab-hero-rings { display: none; }
  .ab-cue-line i { animation: none; }
  .ab-node-branch { transform: scaleX(1) !important; }
  .ab-big .sw, .ab-close-h .sw { color: var(--tx) !important; transition: none; }
  .ab-big .sw.ac { color: #6f9bff !important; }
}

/* ================================================================
   AI CALL DEMO — audio player (AI Calls service row)
   ================================================================ */
.aud {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 1.7rem 0 2.1rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid rgba(42,95,240,.24);
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(42,95,240,.09), rgba(255,255,255,.014) 62%);
  overflow: hidden;
  transition: border-color .35s ease, background .35s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.aud::before {                       /* sheen sweep on hover */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(92,140,255,.10) 50%, transparent 68%);
  transform: translateX(-100%);
  transition: transform .9s cubic-bezier(.16,1,.3,1);
}
.aud:hover { border-color: rgba(42,95,240,.52); transform: translateY(-2px); }
.aud:hover::before { transform: translateX(100%); }
.aud.playing {
  border-color: rgba(42,95,240,.62);
  background: linear-gradient(120deg, rgba(42,95,240,.15), rgba(255,255,255,.02) 62%);
}

/* ── play / pause ── */
.aud-play {
  position: relative;
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: var(--pr);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 26px rgba(42,95,240,.45);
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease, background .28s ease;
}
.aud-play:hover { transform: scale(1.07); background: #1f4bd8; box-shadow: 0 8px 34px rgba(42,95,240,.62); }
.aud-play:active { transform: scale(.96); }
.aud-play:focus-visible { outline: 2px solid #9fbcff; outline-offset: 3px; }
.aud-ping {                          /* idle rings — "press me" */
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--pr);
  pointer-events: none;
  animation: audPing 2.6s cubic-bezier(.16,1,.3,1) infinite;
}
.aud-ping--b { animation-delay: 1.3s; }
.aud.playing .aud-ping { animation: none; opacity: 0; }
@keyframes audPing {
  0%        { transform: scale(1);    opacity: .6; }
  70%, 100% { transform: scale(1.9);  opacity: 0; }
}
.aud-ic {
  position: absolute;
  width: 21px; height: 21px;
  fill: currentColor;
  transition: opacity .22s ease, transform .22s cubic-bezier(.16,1,.3,1);
}
.aud-ic--play  { transform: translateX(1px); }   /* optical centring */
.aud-ic--pause { opacity: 0; transform: scale(.7); }
.aud.playing .aud-ic--play  { opacity: 0; transform: scale(.7); }
.aud.playing .aud-ic--pause { opacity: 1; transform: none; }

/* ── body ── */
.aud-main { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; }
.aud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .55rem;
}
.aud-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Orbitron', sans-serif;
  font-size: .56rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--pr);
}
.aud-live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pr);
  animation: audLive 2s ease-out infinite;
}
@keyframes audLive {
  0%        { box-shadow: 0 0 0 0 rgba(42,95,240,.55); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(42,95,240,0); }
}
.aud-time {
  font-family: 'Orbitron', sans-serif;
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--mu);
  white-space: nowrap;
}
.aud-time i { font-style: normal; opacity: .4; margin: 0 .35em; }

/* ── waveform ── */
.aud-wave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  cursor: pointer;
}
.aud-bar {
  flex: 1 1 auto;
  min-width: 2px;
  height: 100%;
  border-radius: 2px;
  background: rgba(255,255,255,.13);
  transform: scaleY(var(--h, .4));
  transition: background .25s ease;
}
.aud-bar.on { background: var(--pr); }
.aud-wave:hover .aud-bar { background: rgba(255,255,255,.2); }
.aud-wave:hover .aud-bar.on { background: #4f7dff; }
.aud-head {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 1px;
  background: #9fbcff;
  box-shadow: 0 0 10px 1px rgba(120,160,255,.85);
  opacity: 0;
  transform: translateX(var(--x, 0px));
  transition: opacity .3s ease;
}
.aud.playing .aud-head { opacity: 1; }

.aud-hint {
  display: block;
  margin-top: .55rem;
  font-size: .8rem;
  color: var(--mu);
}

@media (max-width: 620px) {
  .aud { padding: 1rem 1rem; gap: .9rem; border-radius: 8px; }
  .aud-play { width: 46px; height: 46px; }
  .aud-ic { width: 18px; height: 18px; }
  .aud-wave { height: 28px; gap: 1.5px; }
  .aud-hint { font-size: .74rem; }
  .aud-tag { font-size: .5rem; letter-spacing: .18em; }
}

@media (prefers-reduced-motion: reduce) {
  .aud-ping, .aud-live { animation: none; }
  .aud::before { display: none; }
  .aud:hover { transform: none; }
}

/* ── Closing CTA: secondary path to the About page ── */
.fcta-alt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.5rem;
  padding: .7rem 1.5rem;
  border: 1px solid var(--bd);
  border-radius: 100px;
  text-decoration: none;
  color: var(--mu);
  font-size: .84rem;
  line-height: 1;
  background: transparent;
  transition: color .3s ease, border-color .3s ease, background .3s ease,
              transform .35s cubic-bezier(.16,1,.3,1);
}
.fcta-alt svg {
  width: 15px; height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.fcta-alt:hover {
  color: var(--tx);
  border-color: rgba(42,95,240,.45);
  background: rgba(42,95,240,.07);
  transform: translateY(-2px);
}
.fcta-alt:hover svg { transform: translateX(4px); }
.fcta-alt:focus-visible { outline: 2px solid #9fbcff; outline-offset: 3px; }

@media (max-width: 560px) {
  .fcta-alt { font-size: .78rem; padding: .65rem 1.2rem; margin-top: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fcta-alt, .fcta-alt svg { transition: none; }
  .fcta-alt:hover { transform: none; }
  .fcta-alt:hover svg { transform: none; }
}
