/* ============================================================
   COMPASS MARKETING — style.css
   Palette: Bears navy & orange
   ============================================================ */

:root {
  --navy-950: #060D1A;
  --navy-900: #0B162A;
  --navy-800: #101F3C;
  --navy-700: #16294E;
  --orange-600: #C83803;
  --orange-500: #E85D04;
  --orange-400: #FF6B1A;
  --orange-300: #FF8A3D;
  --cream: #F7F4EF;
  --white: #FFFFFF;
  --text-dim: rgba(247, 244, 239, 0.68);
  --text-faint: rgba(247, 244, 239, 0.42);
  --ink: #0B162A;
  --ink-dim: rgba(11, 22, 42, 0.66);
  --line: rgba(255, 255, 255, 0.08);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-orange: 0 12px 40px -8px rgba(232, 93, 4, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--orange-500); color: var(--white); }

img, svg { display: block; max-width: 100%; }

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy-950);
  display: grid; place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-compass { animation: spin 1.4s var(--ease-out) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--orange-600), var(--orange-400));
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.nav.scrolled {
  background: rgba(6, 13, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 32px -18px rgba(0,0,0,.7);
}
.nav-inner {
  width: min(1280px, 94vw);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--white); text-decoration: none;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.35rem; letter-spacing: .12em;
}
.brand-footer .brand-word { font-size: 1.05rem; }
.brand-mark { color: var(--white); }
.brand:hover .brand-needle { transform: rotate(18deg); }
.brand-needle { transform-origin: 50px 50px; transition: transform .5s var(--ease-out); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  color: var(--text-dim); text-decoration: none;
  font-size: .92rem; font-weight: 500;
  transition: color .25s ease;
}
.nav-links a:hover { color: var(--white); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 10px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, background .3s ease, color .3s ease;
  will-change: transform;
}
.btn-lg { padding: 17px 34px; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px -8px rgba(232, 93, 4, 0.6);
}
.btn-ghost {
  background: transparent; color: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(247,244,239,.25);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px rgba(247,244,239,.6);
  transform: translateY(-3px);
}
.btn-nav {
  background: var(--orange-500) !important;
  color: var(--white) !important;
  padding: 10px 20px; border-radius: 9px;
}
.btn-nav:hover { background: var(--orange-400) !important; }
.btn-arrow { transition: transform .3s var(--ease-out); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 90px;
  background: radial-gradient(ellipse at 70% 20%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px);
}
.hero-glow-1 {
  width: 520px; height: 520px; top: -140px; right: -80px;
  background: rgba(200, 56, 3, 0.22);
  animation: drift 9s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 420px; height: 420px; bottom: -160px; left: -120px;
  background: rgba(22, 41, 78, 0.9);
  animation: drift 11s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}

.hero-inner {
  position: relative; z-index: 2;
  width: min(1280px, 94vw); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr .85fr;
  align-items: center; gap: 40px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em;
  color: var(--orange-300);
  border: 1px solid rgba(255, 107, 26, .3);
  background: rgba(200, 56, 3, .1);
  padding: 8px 16px; border-radius: 100px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange-400);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,26,.5); }
  50% { box-shadow: 0 0 0 7px rgba(255,107,26,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--white);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: riseUp 1s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) .line-inner { animation-delay: .15s; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: .27s; }
.hero-title .line:nth-child(3) .line-inner { animation-delay: .39s; }
.hero-title .line:nth-child(4) .line-inner { animation-delay: .51s; }
@keyframes riseUp { to { transform: translateY(0); } }
.hero-title .accent {
  background: linear-gradient(100deg, var(--orange-300), var(--orange-500) 60%, var(--orange-600));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-sub {
  max-width: 34rem; font-size: 1.12rem; color: var(--text-dim);
  margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 42px; }

.hero-trust { display: flex; align-items: center; gap: 16px; }
.hero-trust p { font-size: .9rem; color: var(--text-faint); }
.hero-trust strong { color: var(--cream); }
.trust-avatars { display: flex; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .68rem; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border: 2px solid var(--navy-900);
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.avatar:last-child { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }

/* --- hero visual --- */
.hero-visual { display: grid; place-items: center; }
.compass-wrap { position: relative; width: min(440px, 80vw); }
.compass-hero { width: 100%; filter: drop-shadow(0 24px 60px rgba(0,0,0,.5)); }
.compass-dial {
  transform-origin: 200px 200px;
  animation: dialSpin 60s linear infinite;
}
@keyframes dialSpin { to { transform: rotate(360deg); } }
.compass-needle {
  transform-origin: 200px 200px;
  animation: needleSettle 3.2s var(--ease-out) .4s both;
  transition: transform .8s var(--ease-out);
}
@keyframes needleSettle {
  0% { transform: rotate(-140deg); }
  55% { transform: rotate(16deg); }
  75% { transform: rotate(-7deg); }
  90% { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}

.compass-orbit {
  position: absolute;
  font-family: var(--font-display); font-size: .6rem; font-weight: 600;
  letter-spacing: .14em; color: var(--cream);
  background: rgba(11, 22, 42, .8);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 100px;
  animation: floatY 5s ease-in-out infinite;
}
.orbit-1 { top: 6%; left: -4%; animation-delay: 0s; border-color: rgba(255,107,26,.4); }
.orbit-2 { top: 22%; right: -10%; animation-delay: 1.2s; }
.orbit-3 { bottom: 18%; left: -9%; animation-delay: 2.1s; }
.orbit-4 { bottom: 4%; right: -2%; animation-delay: 3s; border-color: rgba(255,107,26,.4); }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  width: 26px; height: 44px; border-radius: 20px;
  border: 1.5px solid rgba(247,244,239,.3);
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-hint-line {
  width: 2px; height: 8px; border-radius: 2px;
  background: var(--orange-400);
  animation: hintDrop 1.8s ease-in-out infinite;
}
@keyframes hintDrop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--orange-600);
  background: linear-gradient(90deg, var(--orange-600), var(--orange-500), var(--orange-600));
  padding: 16px 0; overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  box-shadow: 0 10px 40px -12px rgba(200,56,3,.5);
  position: relative; z-index: 4;
  margin-top: -28px;
}
.marquee-track {
  display: flex; align-items: center; gap: 34px;
  white-space: nowrap; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--font-display); font-weight: 700;
  font-size: .95rem; letter-spacing: .18em; color: var(--white);
}
.marquee i { font-style: normal; color: rgba(255,255,255,.55); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTION HEADS ============ */
.section-tag {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .26em;
  color: var(--orange-500);
  margin-bottom: 18px;
}
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.15; margin-bottom: 18px;
}
.section-head h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--orange-300), var(--orange-600));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* ============ STATS ============ */
.stats {
  background: var(--cream);
  color: var(--ink);
  padding: 110px 0 90px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px;
}
.stat { border-top: 3px solid var(--orange-500); padding-top: 22px; }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--ink); line-height: 1; margin-bottom: 12px;
}
.stat p { color: var(--ink-dim); font-size: .95rem; max-width: 220px; }

/* ============ SERVICES ============ */
.services {
  background: var(--navy-900);
  padding: 130px 0;
  position: relative;
}
.services::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(900px, 90vw); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,26,.4), transparent);
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
  position: relative;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900) 80%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px 30px;
  transition: transform .4s var(--ease-out), border-color .4s ease, box-shadow .4s ease;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,107,26,.1), transparent 65%);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255,107,26,.35); box-shadow: 0 24px 48px -24px rgba(0,0,0,.7); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center;
  color: var(--orange-400);
  background: rgba(200,56,3,.12);
  border: 1px solid rgba(255,107,26,.25);
  margin-bottom: 22px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.08rem; margin-bottom: 12px; color: var(--white);
}
.service-card p { color: var(--text-dim); font-size: .94rem; margin-bottom: 20px; }
.service-link {
  font-size: .86rem; font-weight: 600; color: var(--orange-400);
  display: inline-flex; gap: 6px; align-items: center;
}
.service-link i { font-style: normal; transition: transform .3s var(--ease-out); }
.service-card:hover .service-link i { transform: translateX(5px); }

/* ============ PROCESS ============ */
.process {
  background: var(--navy-950);
  padding: 130px 0;
  position: relative; overflow: hidden;
}
.process::before {
  content: 'N E S W';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(8rem, 26vw, 22rem);
  letter-spacing: .1em;
  color: rgba(255,255,255,.018);
  white-space: nowrap; pointer-events: none;
}
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative;
}
.process-card {
  background: rgba(16, 31, 60, .5);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 26px 30px;
  position: relative;
  transition: transform .4s var(--ease-out), border-color .4s ease, background .4s ease;
}
.process-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,107,26,.45);
  background: rgba(22, 41, 78, .6);
}
.process-letter {
  font-family: var(--font-display); font-weight: 700;
  font-size: 3.4rem; line-height: 1;
  background: linear-gradient(160deg, var(--orange-300), var(--orange-600));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 18px;
}
.process-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.12rem; margin-bottom: 12px;
}
.process-card p { color: var(--text-dim); font-size: .92rem; margin-bottom: 24px; }
.process-step {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  color: var(--text-faint);
}

/* ============ RESULTS ============ */
.results {
  background: var(--cream);
  padding: 130px 0;
}
.results .section-tag { color: var(--orange-600); }
.results .section-head h2 { color: var(--ink); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.result-card {
  background: var(--white);
  border-radius: 20px;
  padding: 38px 32px;
  border: 1px solid rgba(11,22,42,.08);
  box-shadow: 0 4px 24px -12px rgba(11,22,42,.12);
  transition: transform .4s var(--ease-out), box-shadow .4s ease;
  position: relative; overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.result-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -20px rgba(11,22,42,.25); }
.result-card:hover::before { transform: scaleX(1); }
.result-industry {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: rgba(200,56,3,.08);
  border: 1px solid rgba(200,56,3,.2);
  padding: 6px 12px; border-radius: 100px;
  margin-bottom: 24px;
}
.result-metric {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  color: var(--ink); line-height: 1; margin-bottom: 8px;
}
.result-label { font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.result-desc { color: var(--ink-dim); font-size: .93rem; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--navy-900);
  padding: 130px 0;
}
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  align-items: start;
}
.testimonial-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px;
  transition: transform .4s var(--ease-out), border-color .4s ease;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: rgba(255,107,26,.3); }
.testimonial-featured {
  background: linear-gradient(160deg, rgba(200,56,3,.16), var(--navy-800) 70%);
  border-color: rgba(255,107,26,.35);
}
.stars { color: var(--orange-400); letter-spacing: 4px; margin-bottom: 18px; font-size: .95rem; }
.testimonial-card blockquote {
  font-size: 1rem; color: var(--cream); margin-bottom: 26px;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: .78rem; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}
.testimonial-card figcaption strong { display: block; font-size: .94rem; }
.testimonial-card figcaption span:not(.t-avatar) {
  font-size: .82rem; color: var(--text-faint);
}

/* ============ CTA ============ */
.cta {
  position: relative;
  background: var(--navy-950);
  padding: 140px 0;
  overflow: hidden;
}
.cta-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,56,3,.22), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px;
  align-items: center;
}
.cta-copy h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1; margin-bottom: 22px;
}
.cta-copy h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--orange-300), var(--orange-600));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cta-copy p { color: var(--text-dim); font-size: 1.06rem; margin-bottom: 28px; max-width: 30rem; }
.cta-list { list-style: none; display: grid; gap: 14px; }
.cta-list li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; color: var(--cream);
}
.cta-list li::before {
  content: '✓';
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: .72rem; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}

.cta-form {
  background: rgba(16, 31, 60, .55);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px 36px;
  backdrop-filter: blur(8px);
  position: relative;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; color: var(--text-dim); margin-bottom: 8px;
}
.form-field input, .form-field textarea {
  width: 100%;
  background: rgba(6, 13, 26, .6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color .3s ease, box-shadow .3s ease;
  resize: vertical;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(247,244,239,.3); }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(232,93,4,.18);
}
.form-note {
  text-align: center; margin-top: 14px;
  font-size: .8rem; color: var(--text-faint);
}
.form-success[hidden] { display: none; }
.form-success {
  position: absolute; inset: 0;
  background: rgba(6, 13, 26, .96);
  border-radius: 22px;
  display: grid; place-content: center; gap: 8px;
  text-align: center; padding: 32px;
}
.form-success strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--orange-400); }
.form-success span { color: var(--text-dim); font-size: .95rem; }

/* ============ LEGAL PAGES ============ */
.legal-hero {
  position: relative;
  padding: 170px 0 70px;
  background: radial-gradient(ellipse at 70% 0%, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.legal-hero .hero-grid { opacity: .8; }
.legal-hero .container { position: relative; }
.legal-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05; margin-bottom: 18px;
}
.legal-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--orange-300), var(--orange-600));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.legal-hero p { color: var(--text-dim); font-size: 1.05rem; max-width: 40rem; }
.legal-meta {
  display: inline-flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 26px; font-size: .85rem; color: var(--text-faint);
}
.legal-meta strong { color: var(--cream); font-weight: 600; }

.legal {
  background: var(--navy-900);
  padding: 80px 0 120px;
}
.legal-layout {
  display: grid; grid-template-columns: 250px 1fr; gap: 70px;
  align-items: start;
}
.legal-toc {
  position: sticky; top: 110px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.legal-toc h2 {
  font-family: var(--font-display); font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; color: var(--orange-500);
  margin-bottom: 16px;
}
.legal-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 9px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 10px;
  color: var(--text-dim); text-decoration: none;
  font-size: .86rem; line-height: 1.4;
  transition: color .25s ease;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--text-faint); font-variant-numeric: tabular-nums;
}
.legal-toc a:hover { color: var(--orange-400); }

.legal-body { max-width: 760px; }
.legal-body section { scroll-margin-top: 100px; }
.legal-body section + section {
  margin-top: 52px; padding-top: 52px;
  border-top: 1px solid var(--line);
}
.legal-body h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.25; margin-bottom: 18px;
  display: flex; gap: 14px; align-items: baseline;
}
.legal-body h2 .legal-num {
  font-size: .8rem; letter-spacing: .12em;
  color: var(--orange-500); font-variant-numeric: tabular-nums;
}
.legal-body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; color: var(--white);
  margin: 26px 0 10px;
}
.legal-body p, .legal-body li { color: var(--text-dim); font-size: 1rem; line-height: 1.75; }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { margin: 14px 0 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal-body ul li { position: relative; padding-left: 22px; }
.legal-body ul li::before {
  content: ''; position: absolute; left: 2px; top: .72em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--orange-500); transform: rotate(45deg);
}
.legal-body ul + p { margin-top: 14px; }
.legal-body strong { color: var(--cream); font-weight: 600; }
.legal-body a { color: var(--orange-400); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--orange-300); }
.legal-caps { text-transform: uppercase; font-size: .92rem !important; letter-spacing: .01em; }
.legal-callout {
  margin-top: 18px;
  background: rgba(16, 31, 60, .55);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange-500);
  border-radius: 12px;
  padding: 20px 22px;
}
.legal-callout p { color: var(--cream); }
.legal-contact {
  margin-top: 18px;
  display: grid; gap: 6px;
  background: rgba(16, 31, 60, .55);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  font-style: normal;
}
.legal-contact span { color: var(--text-dim); }
.legal-contact strong { font-family: var(--font-display); color: var(--white); }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding: 70px 0 34px;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  margin-bottom: 54px;
}
.footer-brand p { color: var(--text-faint); font-size: .9rem; margin-top: 14px; }
.footer-links { display: flex; gap: 70px; }
.footer-links h4 {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; color: var(--text-faint);
  margin-bottom: 16px; text-transform: uppercase;
}
.footer-links a {
  display: block; color: var(--text-dim); text-decoration: none;
  font-size: .92rem; margin-bottom: 10px;
  transition: color .25s ease;
}
.footer-links a:hover { color: var(--orange-400); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  font-size: .82rem; color: var(--text-faint);
}
.footer-tag { color: var(--orange-600); font-weight: 600; }
.form-note a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.form-note a:hover { color: var(--orange-400); }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* stagger children within grids */
.services-grid .reveal:nth-child(2), .process-grid .reveal:nth-child(2),
.results-grid .reveal:nth-child(2), .testimonial-grid .reveal:nth-child(2),
.stats-grid .reveal:nth-child(2) { transition-delay: .1s; }
.services-grid .reveal:nth-child(3), .process-grid .reveal:nth-child(3),
.results-grid .reveal:nth-child(3), .testimonial-grid .reveal:nth-child(3),
.stats-grid .reveal:nth-child(3) { transition-delay: .2s; }
.services-grid .reveal:nth-child(4), .process-grid .reveal:nth-child(4),
.stats-grid .reveal:nth-child(4) { transition-delay: .3s; }
.services-grid .reveal:nth-child(5) { transition-delay: .4s; }
.services-grid .reveal:nth-child(6) { transition-delay: .5s; }
.services-grid .reveal:nth-child(7) { transition-delay: .6s; }
.services-grid .reveal:nth-child(8) { transition-delay: .7s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 60px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid, .testimonial-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .cta-inner { grid-template-columns: 1fr; gap: 50px; }
  .legal-layout { grid-template-columns: 1fr; gap: 50px; }
  .legal-toc { position: static; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: rgba(6, 13, 26, .97);
    backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform .45s var(--ease-out);
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; position: relative; z-index: 110; }
  .services-grid, .process-grid, .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-form { padding: 30px 22px; }
  .compass-orbit { display: none; }
  .hero { padding-top: 110px; }
  .marquee { margin-top: -16px; }
  .footer-links { gap: 40px; flex-wrap: wrap; }
  .legal-hero { padding: 130px 0 50px; }
  .legal { padding: 56px 0 90px; }
  .legal-body section + section { margin-top: 40px; padding-top: 40px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line-inner { transform: none; }
}
