/* ThinkXELA — global stylesheet
   Direction: "Executive Systems" — editorial serif + schematic mono,
   pure-black field over a CSS mesh, one disciplined blue signal (#2572C7),
   circuit-trace motion. */

:root {
  --navy: #050b16;
  --navy-deep: #000000;
  --white: #FFFFFF;
  /* blue signal (was gold) — one disciplined accent */
  --gold: #2572C7;
  --gold-dark: #1b5a9e;
  --gold-light: #4a90d9;
  --on-accent: #FFFFFF;      /* text/icon color that sits on a solid --gold fill */
  --bg: #000000;
  --bg-soft: #000000;
  --grey: #000000;
  --surface: rgba(9, 14, 24, 0.66);
  --surface-2: rgba(4, 8, 16, 0.7);
  --ink: #F3F6FC;
  --ink-soft: #AEB9D4;
  --border: rgba(255,255,255,0.10);
  --radius: 14px;
  --shadow: 0 20px 40px rgba(0,0,0,0.45);
  --max: 1140px;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* live scroll telemetry — set by js/main.js, driving all parallax/progress effects */
  --scroll-y: 0;
  --scroll-progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ---------- Ambient mesh field (fixed, whole viewport, sits behind everything) ----------
   Replaces the old Vanta.NET WebGL background: pure CSS, no JS, no main-thread cost.
   Two soft blue glows for depth plus a faint tiled network pattern. */
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(37,114,199,0.12), rgba(37,114,199,0) 60%),
    radial-gradient(55% 55% at 100% 100%, rgba(74,144,217,0.10), rgba(37,114,199,0) 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cg fill='none' stroke='%232572c7' stroke-opacity='0.13' stroke-width='1'%3E%3Cpath d='M40 80L220 40L360 160L540 90L620 240'/%3E%3Cpath d='M20 300L180 260L300 380L120 520L60 420'/%3E%3Cpath d='M300 380L500 320L600 460L440 560Z'/%3E%3Cpath d='M360 160L300 380L500 320'/%3E%3Cpath d='M220 40L180 260'/%3E%3Cpath d='M540 90L500 320'/%3E%3Cpath d='M180 260L120 520'/%3E%3Cpath d='M600 460L620 240'/%3E%3C/g%3E%3Cg fill='%232572c7' fill-opacity='0.18'%3E%3Ccircle cx='220' cy='40' r='2'/%3E%3Ccircle cx='360' cy='160' r='2'/%3E%3Ccircle cx='540' cy='90' r='2'/%3E%3Ccircle cx='180' cy='260' r='2'/%3E%3Ccircle cx='300' cy='380' r='2.5'/%3E%3Ccircle cx='500' cy='320' r='2'/%3E%3Ccircle cx='120' cy='520' r='2'/%3E%3Ccircle cx='600' cy='460' r='2'/%3E%3C/g%3E%3C/svg%3E"),
    #000;
  background-repeat: no-repeat, no-repeat, repeat, no-repeat;
  background-size: auto, auto, 640px 640px, auto;
}

/* ---------- Film grain field (fixed, whole viewport, sits under content) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  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");
}
.site-header, main, .site-footer { position: relative; z-index: 1; }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
h2, h3, h4 {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.4rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
h1 em { font-style: italic; font-weight: 500; }

p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- Word-by-word heading reveal (built by js/main.js) ---------- */
.word-wrap { display: inline-block; overflow: hidden; vertical-align: top; }
.word-wrap .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.85s cubic-bezier(0.16, 0.8, 0.28, 1);
}
.is-visible .word-wrap .word-inner { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .word-wrap .word-inner { transition: none; transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.2s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--on-accent);
  box-shadow: 0 10px 24px rgba(37, 114, 199, 0.35);
}
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 14px 34px rgba(37, 114, 199, 0.5); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--ink);
}
.btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--navy-deep); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--navy-deep);
}
.btn-white:hover { background: var(--gold-light); }

.btn-link {
  background: none;
  border: none;
  color: var(--ink);
  font-weight: 700;
  padding: 0;
  border-radius: 0;
  position: relative;
}
.btn-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -3px;
  height: 1px;
  background: var(--gold-light);
  transition: right 0.25s cubic-bezier(0.2,0.8,0.2,1);
}
.btn-link:hover { color: var(--gold-light); }
.btn-link:hover::after { right: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
/* live scroll-progress signal line along the header's bottom edge */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: calc(var(--scroll-progress) * 1%);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  box-shadow: 0 0 10px rgba(37,114,199,0.6);
  transition: width 0.1s linear;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand span { color: var(--gold); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a.active:not(.btn) {
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: 0.2s ease;
}

/* ---------- Cursor signal (desktop pointer only, injected by js/main.js) ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px;
  height: 420px;
  margin-left: -210px;
  margin-top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,114,199,0.10) 0%, rgba(37,114,199,0) 68%);
  pointer-events: none;
  z-index: 2;
  transform: translate3d(var(--cx, -420px), var(--cy, -420px), 0);
  transition: opacity 0.3s ease;
  opacity: 0;
}
.cursor-glow.is-active { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 76px;
  background: transparent;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(37,114,199,0.20) 0%, rgba(37,114,199,0) 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, calc(var(--scroll-y) * 0.12px), 0);
}
.hero .circuit-draw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  transform: translate3d(0, calc(var(--scroll-y) * -0.05px), 0);
}
.hero .container { position: relative; z-index: 1; }
.hero-inner {
  max-width: 780px;
}
.hero .btn-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-secondary-link {
  font-weight: 700;
  color: var(--gold-light);
  border-bottom: 2px solid var(--gold);
  transition: color 0.15s ease;
  padding-bottom: 2px;
}
.hero-secondary-link:hover { color: var(--white); }
.hero-photo-frame {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ---------- Wide artistic photo frame (hero / editorial photos) ---------- */
.photo-frame-wide {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(37,114,199,0.25);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}
.photo-frame-wide:hover { transform: rotate(0deg); }
.photo-frame-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo-frame-wide:hover img { transform: scale(1.05); }
.photo-frame-wide-wrap { position: relative; }
.photo-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--on-accent);
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 16px 30px rgba(0,0,0,0.4);
  transform: rotate(-1.5deg);
}
.photo-badge .num { display: block; font-family: var(--font-mono); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.photo-badge .label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.8; }

@media (max-width: 720px) {
  .photo-frame-wide { transform: none; margin-top: 8px; }
  .photo-badge { left: 12px; bottom: -16px; }
}

/* ---------- Scroll reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.28, 1), transform 0.7s cubic-bezier(0.16, 0.8, 0.28, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .photo-frame-wide, .photo-frame-wide img { transition: none !important; }
  [data-parallax] { transform: none !important; }
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-grey { background: transparent; }
.section-navy {
  position: relative;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  border-top: 1px solid rgba(37, 114, 199, 0.3);
  border-bottom: 1px solid rgba(37, 114, 199, 0.3);
  overflow: hidden;
}
.section-navy::before {
  content: "";
  position: absolute;
  bottom: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37,114,199,0.16) 0%, rgba(37,114,199,0) 72%);
  pointer-events: none;
  z-index: 0;
}
.section-navy .circuit-draw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  transform: translate3d(0, calc(var(--scroll-y) * -0.04px), 0);
}
.section-navy .container { position: relative; z-index: 1; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.82); }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }

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

.card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(37,114,199,0.08), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.card:hover::before { left: 130%; }
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(37,114,199,0.35);
  box-shadow: 0 30px 54px rgba(0,0,0,0.5);
}
.card .badge {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37,114,199,0.16);
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
}
.service-card .price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-light);
  margin: 4px 0 18px;
}
.service-card .btn { margin-top: auto; align-self: flex-start; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 114, 199, 0.12);
  border: 1px solid rgba(37, 114, 199, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--gold); }

/* ---------- Stats ---------- */
.stats-bar {
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  padding: 52px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  /* reserve two lines so a wrapped label (e.g. "10+ Countries") still lines
     its .stat-label up with the single-line columns beside it */
  min-height: 2.3em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* ---------- Testimonials ---------- */
.testimonial {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(37,114,199,0.08), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.testimonial:hover::before { left: 130%; }
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 54px rgba(0,0,0,0.5);
}
.stars { color: var(--gold); font-size: 1.05rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}
.testimonial .role { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.88rem; }

/* ---------- Pledge / CTA banners ---------- */
.pledge {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-banner {
  background: var(--surface);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
}

/* ---------- Bullets ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 500;
}
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--on-accent);
  border-bottom: 2px solid var(--on-accent);
  transform: rotate(45deg);
}
.check-list.on-dark li { color: rgba(255,255,255,0.85); }
.check-list.on-dark li::after { border-color: var(--on-accent); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 24px;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: start;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-icon { font-family: var(--font-mono); font-size: 1.4rem; color: var(--gold); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 4px 22px; margin: 0; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ---------- Photo placeholder ---------- */
.photo-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(37,114,199,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow);
}
.photo-placeholder.wide { aspect-ratio: 16/10; font-size: 2rem; }

/* ---------- About photo (floated within body text) ---------- */
.about-text { overflow: auto; }
.about-photo {
  float: right;
  width: 200px;
  aspect-ratio: 4 / 5;
  margin: 4px 0 22px 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(37,114,199,0.25);
  box-shadow: var(--shadow);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 640px) {
  .about-photo { float: none; width: 200px; margin: 0 auto 22px; }
}

/* ---------- Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface-2);
  transition: border-color 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(174,185,212,0.55); }
.form-field select option { background: #0a0f1a; color: var(--ink); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-info-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid var(--border);
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card .info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 600;
}
.contact-info-card .info-row .k { font-family: var(--font-mono); color: var(--gold); min-width: 70px; }
.reassurance-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.reassurance-strip .item {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.reassurance-strip .item strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* ---------- Form Tabs / Assessment ---------- */
.form-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  background: var(--surface-2);
}
.tab-btn {
  flex: 1;
  background: none;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab-btn.active {
  background: var(--gold);
  color: var(--on-accent);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.quiz-question { margin-bottom: 26px; }
.quiz-question > p {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.quiz-options { display: grid; gap: 10px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  font-size: 0.95rem;
  color: var(--ink);
}
.quiz-option:hover { border-color: rgba(37,114,199,0.5); }
.quiz-option input { accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.quiz-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(37,114,199,0.10);
}

.quiz-result {
  display: none;
  margin-top: 8px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(37,114,199,0.3);
}
.quiz-result.show { display: block; }
.quiz-result .eyebrow { color: var(--gold-light); }
.quiz-result h3 { color: var(--white); margin-bottom: 8px; }
.quiz-result p { color: rgba(255,255,255,0.82); }

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer-brand span { color: var(--gold); font-style: italic; }
.footer-col h4 {
  font-family: var(--font-mono);
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.72); margin-bottom: 10px; font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.social-icon svg { width: 18px; height: 18px; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }

.footer-legal { color: rgba(255,255,255,0.55); }
.footer-legal a { color: rgba(255,255,255,0.55); }
.footer-legal a:hover { color: var(--gold); }
.footer-legal .cookie-preferences { cursor: pointer; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.gold-text { color: var(--gold-light); font-style: italic; }

/* ---------- Parallax depth layers (js/main.js drives transform via data-parallax) ---------- */
[data-parallax] { will-change: transform; }

/* ---------- Flow canvas: Home → About → Services → How It Works as one continuous scroll ---------- */
.flow-canvas {
  position: relative;
  background: transparent;
}
/* let the shared canvas background show through instead of each section painting its own band */
.flow-canvas .section-grey,
.flow-canvas .section-navy {
  background: transparent;
  border: none;
}
.flow-canvas .section-navy::before,
.flow-canvas .section-navy::after { display: none; }

.flow-spine {
  position: absolute;
  left: 34px;
  top: 6%;
  bottom: 6%;
  width: 2px;
  background: rgba(37, 114, 199, 0.14);
  z-index: 0;
  pointer-events: none;
}
.flow-spine-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--gold-dark), var(--gold-light));
  box-shadow: 0 0 14px rgba(37, 114, 199, 0.55);
  transform: scaleY(0);
  transform-origin: top;
}
.flow-node {
  position: absolute;
  left: -6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 2px solid rgba(37, 114, 199, 0.35);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.flow-node.lit {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 18px rgba(37, 114, 199, 0.75);
  transform: scale(1.15);
}
.flow-node-label {
  position: absolute;
  left: 22px;
  top: -6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(37, 114, 199, 0.5);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.flow-node.lit .flow-node-label { opacity: 1; color: var(--gold-light); }

@media (max-width: 1240px) {
  .flow-spine { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-spine-fill { transform: scaleY(1) !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 28px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a:not(.btn) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 8px; width: 100%; justify-content: center; }
  .nav-toggle { display: block; }

  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .reassurance-strip { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .cursor-glow { display: none; }
}

@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: -140px;
  z-index: 200;
  max-width: 760px;
  margin: 0 auto;
  background: rgba(4, 8, 16, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 114, 199, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transition: bottom 0.5s cubic-bezier(0.16, 0.8, 0.28, 1);
}
.cookie-banner.is-visible { bottom: 20px; }
.cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.cookie-banner p a { color: var(--gold-light); font-weight: 600; }
.cookie-banner p a:hover { color: var(--white); }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-actions .btn { padding: 11px 20px; font-size: 0.9rem; }

@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; padding: 18px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}
