/* ============================================================
   Universal Media Services — Design System v4 (Agency rebuild)
   Dark, premium. Black / white / red. No gradients, no neon.
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-raise: #101013;
  --bg-card: #141418;
  --panel: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);
  --text: #f6f6f7;
  --muted: #a8a8ae;
  --faint: #6e6e76;
  --red: #df1f27;
  --red-hover: #ee2b33;
  --red-deep: #a80f16;
  --red-soft: rgba(223, 31, 39, .1);
  --red-line: rgba(223, 31, 39, .38);
  --ok: #4ade80;
  --placeholder: #757575;
  --scrollbar: #2e2e33;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* spacing scale — 8pt grid */
  --sp1: 8px; --sp2: 16px; --sp3: 24px; --sp4: 32px;
  --sp5: 48px; --sp6: 64px; --sp7: 96px; --sp8: 128px;

  /* radius language */
  --r-sm: 8px;   /* badges, chips */
  --r-md: 10px;  /* buttons, inputs */
  --r-lg: 14px;  /* cards */
  --r-xl: 24px;  /* panels */

  /* shadow system — 3 elevations */
  --sh1: 0 2px 8px rgba(0, 0, 0, .3);
  --sh2: 0 12px 32px rgba(0, 0, 0, .35);
  --sh3: 0 24px 64px rgba(0, 0, 0, .45);
  --sh-red: 0 8px 32px rgba(223, 31, 39, .35);

  --radius: var(--r-lg);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --ease-snap: cubic-bezier(.3, 1.4, .4, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
/* Lenis smooth-scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background:
    radial-gradient(1100px 520px at 72% -8%, rgba(223, 31, 39, .055), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

/* thin dark scrollbar with red hover */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--red-deep); }

/* shadcn-style focus ring */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin: 0 0 18px;
}

h4 { font-size: 1rem; }

.h-red { color: var(--red); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 112px 0; }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head .lede { color: var(--muted); font-size: 1.15rem; }

/* ---------------- Eyebrow ---------------- */
/* (eyebrow badge styles live in the UI polish section below) */

/* ---------------- Buttons ---------------- */
/* ---------------- Buttons (shadcn-inspired) ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s, opacity .2s;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* click ripple */
.btn { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, .35);
  pointer-events: none;
  animation: rippleSpread .65s ease-out forwards;
}
@keyframes rippleSpread {
  to { transform: scale(4); opacity: 0; }
}

.btn-red {
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-color: rgba(255, 255, 255, .16);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn-red:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 22px rgba(0, 0, 0, .35);
}

/* ghost buttons go glass */

.btn-outline {
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-color: rgba(255, 255, 255, .16);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.btn-outline:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .09); }

.btn-sm { height: 36px; padding: 0 18px; font-size: .82rem; border-radius: 999px; }
.btn-lg { height: 52px; padding: 0 32px; font-size: .95rem; border-radius: 999px; }

/* sliding arrow on buttons (injected by JS) */
.btn .arr {
  display: inline-block;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
  font-weight: 400;
}
.btn:hover .arr { transform: translateX(4px); }

/* ---------------- Badges ---------------- */
.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-red { background: var(--red); color: var(--text); }
.badge-outline { border: 1px solid var(--line-strong); color: var(--muted); background: rgba(255,255,255,.03); }

.btn[disabled] { opacity: .5; pointer-events: none; }

.skip-link{position:fixed;top:-60px;left:16px;z-index:9999;background:var(--red);color:#fff;padding:10px 18px;border-radius:8px;transition:top .2s}
.skip-link:focus{top:12px}

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.brand-text small {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  padding: 4px;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.main-nav a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: .76rem;
  white-space: nowrap;
  flex: none;
  transition: color .25s, background .25s;
}
.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1px rgba(255, 255, 255, .14);
}

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(10, 10, 10, .96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 8px 12px;
  color: var(--text);
  transition: color .25s;
}
.mobile-menu nav a:hover,
.mobile-menu nav a[aria-current="page"] { color: var(--red); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 32px) 0 110px;
}

#globe {
  position: absolute;
  top: 0;
  right: -4%;
  width: 58%;
  height: 100%;
  pointer-events: none;
  opacity: .9;
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-copy { max-width: 760px; }
.hero h1 {
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 28px;
}
.hero h1 .h-red { color: var(--red); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------------- Inner page hero ---------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 76px;
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 900px;
}
.page-hero .lede {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 36px;
}

/* ---------------- Marquee ---------------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 26px 0;
  background: rgba(255, 255, 255, .015);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-rev { margin-top: 64px; border-bottom: 1px solid var(--line); }
.marquee-rev .marquee-track { animation-direction: reverse; }
.svc-cta { text-align: center; padding: 64px 0 8px; }
.svc-cta h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; margin: 0 0 10px; }
.svc-cta p { color: var(--muted); margin: 0 0 26px; font-size: 1.05rem; }

/* ---------------- Mega marquee (giant outlined moving text) ---------------- */
.mega-marquee {
  overflow: hidden;
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
}
.mega-track {
  display: flex;
  align-items: baseline;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.mega-marquee:hover .mega-track { animation-play-state: paused; }
.mega-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 9vw, 7rem);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
}
.mega-track span.solid {
  color: var(--red);
  -webkit-text-stroke: 0;
}

/* ---------------- Eyebrow badge ---------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 9px 18px 9px 15px;
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(223, 31, 39, .45); }
  50% { box-shadow: 0 0 0 7px rgba(223, 31, 39, 0); }
}

/* ---------------- Originkit-style animated backgrounds ---------------- */
/* Aurora glow field */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px);
  animation: auroraDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
.aurora i:nth-child(1) { width: 540px; height: 540px; left: -140px; top: -140px; background: radial-gradient(circle, rgba(223,31,39,.15), transparent 70%); }
.aurora i:nth-child(2) { width: 640px; height: 640px; right: -180px; top: 32%; background: radial-gradient(circle, rgba(223,31,39,.07), transparent 70%); animation-delay: -9s; }
.aurora i:nth-child(3) { width: 500px; height: 500px; left: 32%; bottom: -200px; background: radial-gradient(circle, rgba(255,255,255,.045), transparent 70%); animation-delay: -17s; }
@keyframes auroraDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(70px, 46px) scale(1.12); }
}
/* Particle drift canvas */
#drift { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .6; }
/* Content above the background layers */
main, .site-footer { position: relative; z-index: 1; }

/* Card spotlight (cursor-following glow) */
.pillar, .svc-card, .price-card, .audience-card { position: relative; }
.pillar::after, .svc-card::after, .price-card::after, .audience-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.075), transparent 62%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.pillar:hover::after, .svc-card:hover::after, .price-card:hover::after, .audience-card:hover::after { opacity: 1; }

/* Blueprint grid on inner-page heroes */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.033) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 38%, black, transparent);
  mask-image: radial-gradient(72% 62% at 50% 38%, black, transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .aurora, #drift { display: none; }
  .page-hero::before { display: none; }
}

/* ---------------- Advanced glassmorphism ---------------- */
/* glass surfaces — blur the aurora + drift behind them */
.svc-card,
.pillar,
.audience-card,
.price-card {
  background: linear-gradient(150deg, rgba(255,255,255,.075), rgba(255,255,255,.015) 48%, rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    inset 0 -1px 0 rgba(255, 255, 255, .03),
    0 24px 60px rgba(0, 0, 0, .32);
}
.svc-card:hover,
.pillar:hover,
.audience-card:hover,
.price-card:hover {
  border-color: rgba(255, 255, 255, .2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .05),
    0 28px 70px rgba(0, 0, 0, .4);
}
.price-card.featured {
  background: linear-gradient(165deg, rgba(223,31,39,.16), rgba(223,31,39,.03) 55%, rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}


/* CTA band glass panel */
.cta-band .container {
  border-radius: 24px;
  padding: 72px 48px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02) 50%, rgba(223,31,39,.06));
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 30px 80px rgba(0, 0, 0, .4);
  overflow: hidden;
}
.cta-band .container::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 280px at 50% 120%, rgba(223, 31, 39, .18), transparent 65%);
  pointer-events: none;
}
.cta-band .container > * { position: relative; }
/* div-variant (e.g. about page): the band itself is the panel */
.section div.cta-band {
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02) 50%, rgba(223,31,39,.06));
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 30px 80px rgba(0, 0, 0, .4);
  overflow: hidden;
}

/* FAQ glass */
.faq-item {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 20px;
  transition: background .3s, border-color .3s;
}
.faq-item + .faq-item { margin-top: 8px; }
.faq-item:hover, .faq-item.open {
  background: linear-gradient(150deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, .09);
}

/* ghost buttons go glass */
.btn-ghost {
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-color: rgba(255, 255, 255, .14);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .22); }

/* header + mobile menu deepen the frost */
.site-header.scrolled {
  background: rgba(10, 10, 10, .6);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.mobile-menu {
  background: rgba(10, 10, 10, .72);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
}

/* ---------------- Services: alternating one-by-one rows opposite the globe ---------------- */
.svc-rows { display: flex; flex-direction: column; }
.svc-row {
  display: flex;
  min-height: 72vh;
  align-items: center;
  padding: 48px 0;
  text-decoration: none;
  color: inherit;
}
.svc-row.row-left { justify-content: flex-start; }
.svc-row.row-right { justify-content: flex-end; }
.svc-row-inner { max-width: 540px; position: relative; }
.svc-row.row-right .svc-row-inner { text-align: right; }
.svc-row.row-right .svc-row-inner .svc-icon { margin-left: auto; }
.svc-row-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  margin-bottom: 18px;
}
.svc-row h3 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.svc-row p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin: 0 0 18px; }
.svc-row-kicker {
  display: block;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
  margin: -8px 0 16px;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.svc-row.row-right .svc-tags { justify-content: flex-end; }
.svc-tag {
  font-size: .72rem; font-weight: 500; letter-spacing: .06em;
  color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 6px 13px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.svc-row .svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text);
}
.svc-row .svc-link::after { content: "→"; transition: transform .25s; }
.svc-row:hover .svc-link::after { transform: translateX(6px); }
.svc-row:hover h3 { color: #fff; }
@media (max-width: 900px) {
  .svc-row { min-height: 0; padding: 36px 0; }
  .svc-row.row-right .svc-row-inner { text-align: left; }
  .svc-row.row-right .svc-row-inner .svc-icon { margin-left: 0; }
}

/* ---------------- Scroll-driven globe journey (fixed zigzag layer) ---------------- */
#globe.globe-journey {
  position: fixed;
  top: 0; left: 0; right: auto;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

/* ---------------- SPA page slide transitions ---------------- */
#main { transition: transform .32s cubic-bezier(.16,1,.3,1), opacity .3s ease; }
#main.page-exit { transform: translateX(-72px); opacity: 0; }
#main.page-enter { animation: pageSlideIn .45s cubic-bezier(.16,1,.3,1); }
@keyframes pageSlideIn {
  from { transform: translateX(72px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #main, #main.page-exit, #main.page-enter { transition: none; animation: none; }
}

/* ---------------- Film grain ---------------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- Service card numbers ---------------- */
.svc-grid { counter-reset: svc; }
.svc-card { position: relative; counter-increment: svc; }
.svc-card::before {
  content: "0" counter(svc);
  position: absolute;
  top: 30px;
  right: 32px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .1em;
  color: var(--faint);
  transition: color .3s;
}
.svc-card:hover::before { color: var(--red); }

/* ---------------- Pricing tables ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 60px -24px rgba(223,31,39,.28); }
.price-card.featured {
  border-color: var(--red-line);
  background: linear-gradient(180deg, var(--red-soft), transparent 55%);
  position: relative;
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--red);
  color: var(--text);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(223, 31, 39, .4);
}
.price-card .p-tier {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; display: block;
}
.price-card.featured .p-tier { color: var(--red); }
.price-card .p-price {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: 2.6rem; line-height: 1; margin-bottom: 6px;
}
.price-card .p-per { color: var(--faint); font-size: .88rem; margin-bottom: 20px; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.price-card ul li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: .92rem; line-height: 1.6;
}
.price-card ul li:last-child { border-bottom: 0; }
.price-card ul li::before {
  content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%;
  background: rgba(223,31,39,.12); border: 1px solid rgba(223,31,39,.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8262e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 9px; background-repeat: no-repeat; background-position: center;
}
.price-card .btn { width: 100%; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.pricing-note {
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  padding: 28px 32px; color: var(--muted); font-size: .95rem; line-height: 1.7;
  margin-top: 48px;
}
.pricing-note strong { color: var(--text); }

/* ---------------- Service page deep sections ---------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillars.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pillars.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pillar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--red-line); background: rgba(255,255,255,.055); box-shadow: 0 24px 60px -24px rgba(223,31,39,.28); }
.pillar .pnum {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .14em;
  color: var(--red);
}
.pillar h3 { margin: 16px 0 10px; font-size: 1.25rem; letter-spacing: -0.02em; }
.pillar p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.pillar .ptag {
  display: inline-block;
  margin-top: 16px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 900px) {
  .pillars, .pillars.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pillars, .pillars.cols-2, .pillars.cols-4 { grid-template-columns: 1fr; }
}

/* audience / who-it's-for */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.audience-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.audience-card:hover { transform: translateY(-4px); border-color: var(--red-line); box-shadow: 0 24px 60px -24px rgba(223,31,39,.28); }
.audience-card .akicker {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px; display: block;
}
.audience-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.audience-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
@media (max-width: 640px) { .audience-grid { grid-template-columns: 1fr; } }

/* deliverable checklist band */
.deliver-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raise);
  padding: 40px;
}
@media (max-width: 640px) { .deliver-band { padding: 28px 22px; } }

/* ---------------- CTA band glow ---------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; }
.marquee-track span {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 34px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee-track span::after {
  content: "";
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- Services grid ---------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 31, 39, .55);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 24px 60px -24px rgba(223,31,39,.28);
}
.svc-icon {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 24px;
}
.svc-icon svg { width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.015em; }
.svc-card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.svc-link {
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-link::after { content: "→"; color: var(--red); transition: transform .25s var(--ease); }
.svc-card:hover .svc-link::after { transform: translateX(5px); }

/* ---------------- Process ---------------- */
.process-list { border-bottom: 1px solid var(--line); }
.process-row {
  display: grid;
  grid-template-columns: 110px 1fr 1.4fr;
  gap: 36px;
  align-items: baseline;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  transition: background .3s;
}
.process-row:hover { background: rgba(255, 255, 255, .015); }
.process-num {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--red);
}
.process-row h3 { font-size: 1.7rem; font-weight: 700; }
.process-row p { color: var(--muted); margin: 0; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 820px; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
  padding: 26px 4px;
}
.faq-q .faq-plus {
  flex: none;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--red);
  transition: transform .3s var(--ease), background .3s;
}
.faq-item.open .faq-plus { transform: rotate(45deg); background: rgba(223, 31, 39, .12); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { color: var(--muted); padding: 0 4px 28px; max-width: 700px; }

/* ---------------- CTA band ---------------- */
.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 130px 0;
}
.cta-band h2 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  margin-bottom: 22px;
}
.cta-band h2 .h-red { color: var(--red); }
.cta-band p { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto 40px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------------- Work teaser ---------------- */
.work-teaser {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.work-grid { grid-template-columns: repeat(4, 1fr); }
.work-teaser-cta { text-align: center; margin-top: 48px; }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form .field { margin-bottom: 20px; }
.contact-form .btn { margin-top: 4px; }
/* Global button loading feedback: rotating spinner on any clicked .btn */
.btn.loading { pointer-events: none; }
.btn.loading::after {
  content: ""; display: inline-block; width: 13px; height: 13px; margin-left: 9px;
  border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
  animation: btnSpin .7s linear infinite; vertical-align: -1px;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.loading::after { animation-duration: 2.4s; } }
/* Honeypot: invisible to humans, catches form-filling bots */
.contact-form .hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.info-card {
  background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 50%, rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 24px 60px rgba(0, 0, 0, .32);
  display: grid;
  gap: 28px;
}
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 2px; }
.info-row h2 { font-size: 1.05rem; margin: 0 0 6px; }
.info-row p { margin: 0; color: var(--muted); font-size: .93rem; }
.info-row a.mail { color: var(--text); }
.info-row a.mail:hover { color: var(--red); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .contact-form .row2 { grid-template-columns: 1fr; }
  .info-card { padding: 28px 24px; }
}

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 90px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 70px;
}
.f-col h3 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.f-col a { display: block; color: var(--muted); font-size: .95rem; padding: 5px 0; transition: color .25s; }
.f-col a:hover { color: var(--text); }
/* footer link lists: semantic ul, same 10px visual rhythm as before */
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-col ul a { padding: 0; }
.f-brand img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px; filter: drop-shadow(0 0 12px rgba(255,255,255,.25)); }
.f-brand p { color: var(--muted); font-size: .95rem; max-width: 300px; }
.f-brand .btn { margin-top: 8px; }
.f-col p { color: var(--muted); font-size: .95rem; }

.nl-form {
  display: flex;
  gap: 10px;
  margin: 18px 0 10px;
}
.nl-form input {
  flex: 1;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  padding: 11px 18px;
  outline: none;
  transition: border-color .25s;
}
.nl-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.nl-form input::placeholder { color: var(--placeholder); }
.nl-msg { font-size: .85rem; min-height: 1.4em; }
.nl-msg.ok { color: var(--ok); }
.nl-msg.err { color: var(--red); }

.footer-bar { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .85rem;
}
.footer-bar a { color: var(--muted); }
.footer-bar a:hover { color: var(--text); }

/* ---------------- Back to top ---------------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 150;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(20, 20, 20, .85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), border-color .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--red); color: var(--red); }

/* ---------------- Reveal on scroll ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ---------------- Hero entrance ---------------- */
.hero h1 .w, .page-hero h1 .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.hero h1 .wi, .page-hero h1 .wi {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}
body.loaded .hero h1 .wi, body.loaded .page-hero h1 .wi {
  transform: translateY(0);
  transition: transform 1s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0s);
}
.hero [data-enter], .page-hero [data-enter] {
  opacity: 0;
  transform: translateY(26px);
}
body.loaded .hero [data-enter], body.loaded .page-hero [data-enter] {
  opacity: 1;
  transform: none;
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0s);
}
body.loaded .hero .hero-rotator[data-enter] { transition-delay: .62s; }

/* ---------------- Card tilt ---------------- */
.svc-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color .35s, box-shadow .35s;
}
.svc-card:hover {
  border-color: var(--red-line);
  box-shadow: 0 24px 60px -24px rgba(223,31,39,.28);
}

/* ---------------- Hero word rotator ---------------- */
.hero-rotator {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 32px;
  font-family: var(--font-display);
  min-height: 2rem;
}
.rot-label {
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-family: var(--font);
  white-space: nowrap;
}
.rot-words { display: inline-grid; }
.rot-word {
  grid-area: 1 / 1;
  white-space: nowrap;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 0;
  transform: translateY(55%);
  transition: opacity .45s ease, transform .55s cubic-bezier(.16,1,.3,1);
}
.rot-word.is-active { opacity: 1; transform: none; }
.rot-word.is-leaving { opacity: 0; transform: translateY(-55%); }
.rot-word::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 12px;
  vertical-align: baseline;
}

/* ---------------- Masked heading reveals ---------------- */
.hmask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hmask-in {
  display: block;
  transform: translateY(108%);
  transition: transform 1.05s cubic-bezier(.16,1,.3,1) .08s;
  will-change: transform;
}
.hmask-in.in { transform: none; }

/* ---------------- Nav letter wave ---------------- */
.main-nav a .nl {
  display: inline-block;
  transition: transform .32s cubic-bezier(.16,1,.3,1), color .3s;
}
.main-nav a:hover .nl { transform: translateY(-4px); color: #fff; }

/* ---------------- Scroll progress ---------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 300;
}

/* ---------------- Preloader ---------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { text-align: center; padding: 20px; }
.pre-logo {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  animation: preFloat 2.2s ease-in-out infinite;
}
.pre-logo img { width: 100%; height: 100%; border-radius: 50%; }
@keyframes preFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.pre-name { color: #fff; font-weight: 700; letter-spacing: .16em; font-size: .78rem; text-transform: uppercase; margin-bottom: 6px; }
.pre-sub { color: #8f8f8f; font-size: .8rem; letter-spacing: .1em; margin-bottom: 22px; }

/* ---- autofill dark theme (color rule 93) ---- */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 40px var(--bg-raise) inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
}

/* ---- tabular numbers (font rule 36) ---- */
.stat-num, .p-price, .hero h1, .page-hero h1 {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---- print (color rule 94) ---- */
@media print {
  @page { margin: 18mm 15mm; }
  * { animation: none !important; transition: none !important; }
  body { background: #fff !important; color: #111 !important; }
  /* Hide navigation, decoration, and interactive-only elements */
  .site-header, .mobile-menu, .to-top, .scroll-progress, #preloader,
  .aurora, #drift, .cursor-aura, .film-grain, .marquee, .mega-marquee,
  .hero-canvas, .spotlight, .blueprint-grid, .cta-band .btn, .contact-form,
  .success-overlay, footer .footer-cta, .ripple { display: none !important; }
  /* Lighten dark sections for ink-friendly printing */
  .hero, .page-hero, .section, .cta-band, footer.site-footer { background: #fff !important; color: #111 !important; }
  .hero h1, .page-hero h1, .section h2, .cta-band h2 { color: #111 !important; -webkit-text-fill-color: #111 !important; }
  .glass, .card, .pillar, .svc-card, .aud-card { background: #fff !important; border: 1px solid #ddd !important; box-shadow: none !important; backdrop-filter: none !important; }
  .eyebrow, .muted, .lede { color: #444 !important; }
  /* Expand collapsed FAQ answers so printed pages carry the full content */
  .faq-a { max-height: none !important; overflow: visible !important; }
  .faq-q { pointer-events: none; }
  /* Readable links with visible destinations */
  a { color: #111 !important; text-decoration: underline !important; }
  a[href^="http"]:after { content: " (" attr(href) ")"; font-size: .8em; color: #555; word-break: break-all; }
  /* Keep blocks together */
  .card, .pillar, .faq-item, .svc-card, h1, h2, h3 { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  img { max-width: 100% !important; }
}
.pre-bar { width: 190px; height: 2px; background: rgba(255,255,255,.1); border-radius: 99px; margin: 0 auto; overflow: hidden; }
.pre-bar i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 99px; animation: preBar 1.4s cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes preBar { to { width: 100%; } }

/* ---------------- Generic forms ---------------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; }
.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: inherit;
  font-size: .92rem;
  padding: 0 14px;
  height: 46px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; padding: 12px 14px; height: auto; }
.field select {
  width: 100%;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: inherit;
  font-size: .92rem;
  padding: 0 14px;
  height: 46px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background:
    linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.015)),
    rgba(255, 255, 255, .03);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23df1f27' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"),
    linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  background-repeat: no-repeat;
  background-position: right 16px center, 0 0;
  background-size: 16px 16px, cover;
  padding-right: 44px;
  font-weight: 500;
}
.field select:hover {
  border-color: rgba(223, 31, 39, .45);
  background-color: rgba(255, 255, 255, .05);
  box-shadow: 0 4px 20px rgba(223, 31, 39, .12);
}
.field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft), 0 4px 24px rgba(223, 31, 39, .18);
}
.field select option {
  background: #141418;
  color: var(--text);
  padding: 12px;
}
.field select option:checked {
  background: rgba(223, 31, 39, .25);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.form-msg { font-size: .92rem; margin-top: 16px; min-height: 1.5em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--red); }

/* ---------------- Custom select dropdown ---------------- */
.custom-select { position: relative; }
.cs-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 46px;
  padding: 0 16px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
  background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.cs-trigger svg { color: var(--red); flex: none; transition: transform .25s var(--ease); }
.custom-select.open .cs-trigger svg { transform: rotate(180deg); }
.cs-trigger:hover {
  border-color: rgba(223, 31, 39, .45);
  box-shadow: 0 4px 20px rgba(223, 31, 39, .12);
}
.custom-select.open .cs-trigger,
.cs-trigger:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft), 0 4px 24px rgba(223, 31, 39, .18);
}
.cs-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  z-index: 50;
  background: rgba(20, 20, 24, .92);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255,255,255,.08);
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(223, 31, 39, .4) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.custom-select.open .cs-options {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cs-options::-webkit-scrollbar { width: 6px; }
.cs-options::-webkit-scrollbar-track { background: transparent; }
.cs-options::-webkit-scrollbar-thumb {
  background: rgba(223, 31, 39, .35);
  border-radius: 3px;
}
.cs-options::-webkit-scrollbar-thumb:hover { background: rgba(223, 31, 39, .6); }
.cs-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background .15s, color .15s, transform .15s;
}
.cs-option:hover {
  background: rgba(223, 31, 39, .12);
  color: var(--text);
  transform: translateX(4px);
}
.cs-option.selected {
  background: rgba(223, 31, 39, .18);
  color: var(--text);
  font-weight: 600;
}
.cs-option.selected::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  flex: none;
}
.cs-option svg { width: 16px; height: 16px; color: var(--red); flex: none; margin-right: 10px; }
.cs-option span { flex: 1; }

/* ---------------- Form success animation ---------------- */
.form-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 7, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: overlayIn .4s var(--ease);
  padding: 24px;
}
@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.form-success {
  text-align: center;
  padding: 56px 48px;
  max-width: 520px;
  width: 100%;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255,255,255,.1);
  animation: successIn .5s var(--ease);
  position: relative;
}
@keyframes successIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.success-tick {
  width: 88px; height: 88px;
  margin: 0 auto 24px;
}
.success-tick circle {
  fill: none;
  stroke: var(--ok);
  stroke-width: 3;
  stroke-dasharray: 290;
  stroke-dashoffset: 290;
  animation: drawCircle .7s var(--ease) forwards;
}
.success-tick path {
  fill: none;
  stroke: var(--ok);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawCheck .45s .55s var(--ease) forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.success-tick-glow {
  filter: drop-shadow(0 0 24px rgba(74, 222, 128, .45));
  animation: tickPulse 2s 1.2s ease-in-out infinite;
}
@keyframes tickPulse {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(74, 222, 128, .45)); }
  50% { filter: drop-shadow(0 0 36px rgba(74, 222, 128, .65)); }
}
.golden-line {
  height: 2px;
  width: 200px;
  margin: 0 auto 24px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, #f5d76e, #d4af37, transparent);
  background-size: 200% 100%;
  animation: goldShimmer 2.2s linear infinite;
  box-shadow: 0 0 16px rgba(212, 175, 55, .5);
}
@keyframes goldShimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
.form-success h3 {
  font-size: 1.4rem;
  margin: 0 0 12px;
  color: var(--text);
}
.form-success p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.65;
}
.form-success p strong { color: #f5d76e; font-weight: 600; }
.success-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s var(--ease);
}
.success-close:hover {
  color: var(--text);
  border-color: var(--red);
  background: rgba(223, 31, 39, .15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------------- Generic page head ---------------- */
.page-head {
  padding: calc(var(--header-h) + 90px) 0 70px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.page-head h1 .h-red { color: var(--red); }
.page-head .lede { color: var(--muted); font-size: 1.15rem; max-width: 640px; }

/* ---------------- 404 ---------------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 13rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 10px;
}
.error-code .h-red { color: var(--red); }
.error-page h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.error-page p { color: var(--muted); max-width: 440px; margin: 0 auto 36px; }
.error-page .hero-ctas { justify-content: center; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-row { grid-template-columns: 70px 1fr; gap: 20px; }
  .process-row p { grid-column: 2; }
  #globe { width: 110%; right: -8%; opacity: .4; }
  .hero-copy { max-width: 100%; }
  .cta-band { padding: 90px 0; }
  .hero-rotator { flex-wrap: wrap; row-gap: 8px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .section { padding: 64px 0; }
  .work-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 24px); min-height: 92svh; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .hero-sub { font-size: 1.02rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  .hero-rotator { margin-bottom: 28px; }
  .rot-word { font-size: 1rem; }
  .page-hero { padding: calc(var(--header-h) + 40px) 0 56px; }
  .page-hero .lede { font-size: 1.02rem; }
  .marquee-track span { font-size: .92rem; }
  .btn-lg { height: 50px; padding: 0 26px; font-size: .92rem; }
  .to-top { right: 18px; bottom: 18px; width: 46px; height: 46px; }
  .nl-form { flex-direction: column; }
  .nl-form .btn { width: 100%; }
  .cta-band h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .cta-band .container { padding: 48px 24px; border-radius: 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .check-list { grid-template-columns: 1fr; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .mega-track { animation: none; }
  .eyebrow::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pre-logo, .pre-bar i { animation: none; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    transition-duration: .001s !important;
  }
}

/* ---------------- Utility classes (replacing inline styles) ---------------- */
.section-flush { padding-top: 0; }
.opt-note { font-weight: 400; color: var(--muted); }
.native-hidden { display: none; }
.sec-head-tight { margin-bottom: 24px; }
