/* ============================================================
   near2me — hyperlocal websites & local SEO
   v4 — local map lens, dark↔light section tones,
        gearbox, editorial footer, deck-deal reveals, beams
   Palette adapted from depiano.nz (violet/pink on deep slate)
   ============================================================ */

:root {
  --bg: #0f172a;
  --bg-deep: #0b1120;
  --panel: rgba(148, 163, 184, 0.06);
  --panel-strong: rgba(148, 163, 184, 0.1);
  --line: rgba(148, 163, 184, 0.16);
  --violet: #8b5cf6;
  --violet-soft: #a78bfa;
  --violet-deep: #7e22ce;
  --pink: #ec4899;
  --pink-deep: #db2777;
  --green: #10b981;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--violet-soft); text-decoration: none; }
a:hover { color: var(--pink); }

img, svg { display: inline-block; vertical-align: middle; }

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

section { scroll-margin-top: var(--header-h); }
[data-batch] { position: relative; }

/* ------------------------------------------------------------
   LAYERING
   The map lens is a fixed canvas sitting ABOVE section backgrounds
   but BELOW their content, so it can travel through both dark
   and light sections. Hence: sections stay out of the stacking
   context, and their .container is lifted above the lens.
   ------------------------------------------------------------ */
main > section { position: relative; }
main > section > .container { position: relative; z-index: 2; }
main > .marquee { position: relative; z-index: 2; }
.site-footer { position: relative; z-index: 2; }

#map-stage {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
@media (max-width: 720px) { #map-stage { opacity: .85; } }

/* ---------- film grain overlay ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 3;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-5%); }
  60% { transform: translate(-5%,-2%); }
  80% { transform: translate(4%,4%); }
}
html.on-light .grain { opacity: .035; }

/* ---------- liquid (gooey) cursor trail ---------- */
#goo-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9997;
  filter: url(#goo);
  mix-blend-mode: screen;
  opacity: .55;
}
html.on-light #goo-canvas { mix-blend-mode: multiply; opacity: .3; }
@media (hover: none), (pointer: coarse) { #goo-canvas { display: none; } }

/* while the map is being panned the pointer must not select copy */
body.map-drag, body.map-drag * {
  user-select: none;
  -webkit-user-select: none;
  cursor: grabbing !important;
}

/* the lens is an affordance, so it borrows the pointer while you are over it */
body.map-hot { cursor: zoom-in; }
body.map-hot.map-city { cursor: zoom-out; }
body.map-hot a, body.map-hot button, body.map-hot summary,
body.map-hot input, body.map-hot textarea, body.map-hot select, body.map-hot label {
  cursor: pointer;
}

/* ---------- preloader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
}
/* CSS-only failsafe: the overlay must not outlive the paint even when no
   script runs at all (JS off, CDN blocked, main.js throwing). GSAP only
   touches transform/display here, so visibility is safe to claim. */
@keyframes loader-failsafe { to { visibility: hidden; pointer-events: none; } }
#loader { animation: loader-failsafe .01s linear 1.5s forwards; }
.loader-inner { text-align: center; }
.loader-logo { font-size: 1.9rem; justify-content: center; display: inline-flex; }
.loader-bar {
  width: 220px; height: 2px;
  background: var(--panel-strong);
  border-radius: 2px; margin: 26px auto 0;
  overflow: hidden;
}
#loader-fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--violet), var(--pink));
}

/* ---------- spine (connecting scroll line) ---------- */
#spine {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
  overflow: visible;
}
#spine-path {
  stroke: url(#spine-grad);
  stroke-width: 2; opacity: .55;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, .55));
}
#spine-nodes circle {
  fill: var(--bg-deep);
  stroke: var(--violet-soft);
  stroke-width: 2; opacity: 0;
  transition: opacity .5s, fill .5s;
}
#spine-nodes circle.lit { opacity: 1; }
#spine-nodes circle.active {
  fill: var(--pink); stroke: var(--pink);
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, .8));
}
@media (max-width: 720px) { #spine { display: none; } }

/* ---------- beam (section transition) ---------- */
.beam {
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet) 30%, var(--pink) 70%, transparent);
  transform: scaleX(0); opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 26px 3px rgba(139, 92, 246, 0.45);
  z-index: 4;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--header-h);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.35rem;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: -0.02em;
  transition: color .3s;
}
.logo em {
  font-style: normal;
  background: linear-gradient(120deg, var(--violet), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-img { display: block; width: auto; height: 26px; }
.loader-logo .logo-img { height: 30px; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  color: var(--muted); font-size: .95rem; font-weight: 500;
  position: relative; transition: color .25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { transform: scaleX(1); }

/* dropdowns (Niches / Countries) */
.nav-item.has-dropdown { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0;
  color: var(--muted); font: inherit; font-size: .95rem; font-weight: 500;
  cursor: pointer; position: relative; transition: color .25s;
}
.nav-caret { transition: transform .3s var(--ease-out); }
.nav-drop-toggle::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-drop-toggle:hover, .nav-drop-toggle[aria-expanded="true"] { color: var(--text); }
.nav-item.has-dropdown.open .nav-drop-toggle::after,
.nav-drop-toggle:hover::after { transform: scaleX(1); }
.nav-item.has-dropdown.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translate(-50%, 10px);
  min-width: 250px; margin: 0; list-style: none;
  background: rgba(11, 17, 32, 0.97);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 10px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px -18px rgba(2, 6, 23, 0.75);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
  z-index: 60;
}
.nav-item.has-dropdown.open .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; border-radius: 9px;
  color: var(--muted); font-size: .9rem;
  transition: color .2s, background .2s;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible {
  color: var(--text); background: var(--panel-strong);
  outline: none;
}
.nav-dropdown .dropdown-more {
  margin-top: 6px; padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--violet-soft); font-weight: 600;
}
.nav-dropdown .tag { flex: none; }

/* grouped (mega) dropdown: New Zealand | Australia columns */
.nav-dropdown--mega {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px;
  min-width: 480px; padding: 14px;
}
.nav-drop-label {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 6px; padding: 0 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.nav-dropdown--mega .dropdown-more { grid-column: 1 / -1; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px;
  flex-direction: column; gap: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text);
  transition: transform .3s, opacity .3s, background .3s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* header adapts while a light section sits underneath it */
html.on-light .site-header.scrolled {
  background: rgba(26, 35, 64, 0.78);
  border-bottom-color: rgba(196, 181, 253, 0.18);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  padding: 15px 30px; border-radius: 999px;
  font-size: 1rem; border: 1px solid transparent;
  transition: box-shadow .3s, background .3s, border-color .3s, color .3s;
  will-change: transform;
  white-space: nowrap; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-sm { padding: 11px 22px; font-size: .92rem; }
.btn-lg { padding: 19px 40px; font-size: 1.1rem; }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--violet-deep), var(--violet) 45%, var(--pink-deep));
  background-size: 180% 180%;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover {
  color: #fff; background-position: 90% 50%;
  box-shadow: 0 12px 44px rgba(236, 72, 153, 0.45);
}
.btn-ghost {
  color: var(--text); border-color: var(--line);
  background: rgba(148, 163, 184, 0.05);
}
.btn-ghost:hover { border-color: var(--violet); color: #fff; background: rgba(139, 92, 246, 0.12); }

/* ---------- shared section bits ---------- */
.section { padding: 130px 0; overflow: clip; }
.section-alt {
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(139, 92, 246, 0.08), transparent 70%),
    rgba(11, 17, 32, 0.88);
  border-block: 1px solid var(--line);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.78rem; font-weight: 600;
  color: var(--violet-soft); margin-bottom: 18px;
}

/* eyebrow-style context menu (breadcrumbs) on niche / city pages */
.crumb-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.72rem; font-weight: 600;
  margin-bottom: 14px;
}
.crumb-bar a, .crumb-bar span { color: var(--violet-soft); }
.crumb-bar a { text-decoration: none; transition: color .2s ease; }
.crumb-bar a:hover { color: #ec4899; }
.crumb-bar .crumb-sep { color: rgba(148, 163, 184, .55); letter-spacing: 0; }
.crumb-bar [aria-current="page"] { color: var(--text, #eef1f8); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px; max-width: 16em;
}
.section-sub { color: var(--muted); max-width: 46em; margin-bottom: 54px; }
.grad-text, .grad-text-alt {
  background: linear-gradient(115deg, var(--violet-soft), var(--violet) 40%, var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-text-alt {
  background: linear-gradient(115deg, var(--pink), var(--violet-soft));
  -webkit-background-clip: text; background-clip: text;
}

/* word-split masks (JS builds .w > .wi spans) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }
.wi.grad-text {
  background: linear-gradient(115deg, var(--violet-soft), var(--violet) 40%, var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wi.grad-text-alt {
  background: linear-gradient(115deg, var(--pink), var(--violet-soft));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- custom SVG icon chips ---------- */
.icon-chip {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 15px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  margin-bottom: 18px;
  transition: border-color .35s, background .35s, box-shadow .35s;
}
.ic {
  width: 25px; height: 25px;
  fill: none; stroke: var(--violet-soft);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .35s;
}
.niche-card:hover .icon-chip,
.feature-card:hover .icon-chip {
  border-color: rgba(236, 72, 153, 0.55);
  background: rgba(236, 72, 153, 0.08);
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.18);
}
.niche-card:hover .ic, .feature-card:hover .ic { stroke: var(--pink); }

.pin {
  width: 19px; height: 19px; flex: none;
  fill: none; stroke: var(--pink);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- reveal fallback (only when GSAP absent) ---------- */
html.js:not(.gsap-on) .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
html.js:not(.gsap-on) .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg,
    rgba(15,23,42,.94) 0%, rgba(15,23,42,.72) 34%, rgba(15,23,42,0) 64%);
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
  will-change: transform;
}
.orb-violet {
  width: 560px; height: 560px; top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(139,92,246,.4), transparent 65%);
}
.orb-pink {
  width: 460px; height: 460px; bottom: -180px; left: -140px;
  background: radial-gradient(circle, rgba(236,72,153,.3), transparent 65%);
}
.hero-inner { padding: 90px 0 70px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 44px; align-items: end;
}
.hero-copy { max-width: 44rem; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--green);
  animation: live-pulse 2.4s var(--ease-out) infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  70%,100% { box-shadow: 0 0 0 11px rgba(16,185,129,0); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -.03em;
  margin: 10px 0 30px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-sub {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  max-width: 34em; margin-bottom: 36px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; }

/* radar ticker */
/* radar ticker */
.hero-radar {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 34px; padding: 10px 16px 10px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(11,17,32,.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  max-width: 100%;
}
.radar-eye {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  color: var(--violet-soft); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.radar-query {
  /* fixed track sized to the longest query, so the typewriter
     never resizes the pill; shrinks on narrow screens only */
  flex: 0 1 15.5rem; min-width: 0;
  padding-left: 14px; border-left: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 500;
  color: var(--text); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.radar-query::after {
  content: ""; display: inline-block;
  width: 2px; height: 1em; margin-left: 3px;
  background: var(--pink); vertical-align: -.15em;
  animation: blink 1s steps(1) infinite;
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  margin-top: 30px; color: var(--muted); font-size: .88rem;
}
.hero-meta b { color: var(--text); font-family: var(--font-display); font-weight: 600; }

/* the scarcity rule, in the first screen rather than only in the footer CTA */
.hero-scarcity {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin-top: 22px; padding: 11px 16px;
  border: 1px solid rgba(139,92,246,.34); border-radius: 999px;
  background: rgba(139,92,246,.10);
  color: var(--text); font-size: .9rem; font-weight: 500;
}
.hero-scarcity .ic { width: 15px; height: 15px; color: var(--violet-soft); flex: none; }
.hero-scarcity em { font-style: normal; color: var(--violet-soft); font-weight: 600; }

.hero-side { position: relative; padding-bottom: 8px; }
.map-legend {
  display: flex; flex-direction: column; gap: 10px;
  color: var(--muted); font-size: .82rem; letter-spacing: .04em;
}
.map-legend span { display: inline-flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-live { background: var(--green); box-shadow: 0 0 10px rgba(16,185,129,.8); }
.dot-soon { background: var(--pink); box-shadow: 0 0 10px rgba(236,72,153,.8); }
.map-hint {
  margin-top: 18px; color: var(--muted);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.grab {
  display: grid; place-items: center; width: 28px; height: 28px;
  border: 1px solid rgba(139,92,246,.32); border-radius: 50%;
  color: var(--violet-soft);
}
/* the globe's own affordance: a real button, so the zoom is reachable by
   keyboard and assistive tech and not only by pressing the canvas */
.map-zoom {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 7px;
  border: 1px solid rgba(139,92,246,.32); border-radius: 999px;
  background: rgba(11,17,32,.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text); font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  cursor: pointer; transition: border-color .25s, background .25s;
}
.map-zoom[hidden] { display: none; }
.map-zoom:hover, .map-zoom[aria-pressed="true"] {
  border-color: rgba(236,72,153,.55); background: rgba(139,92,246,.18);
}
.map-zoom .grab { width: 22px; height: 22px; font-size: .85rem; }
.map-zoom:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 2px; }
.hero-hint {
  margin-top: 46px; color: var(--muted); font-size: .8rem;
  letter-spacing: .25em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.mouse {
  width: 22px; height: 34px;
  border: 1.5px solid var(--muted); border-radius: 12px;
  display: inline-flex; justify-content: center;
}
.wheel {
  width: 3px; height: 7px; border-radius: 2px;
  background: var(--pink); margin-top: 6px;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- light-tone sections ---------- */
/* ---------- elevated sections (was "light tone") ----------
   One step above the base slate instead of going white. The old
   dark → #f5f3ff jump is what read as a muddy gradient: any mid
   point between navy and lilac passes through grey-beige. */
.tone-light {
  --panel: rgba(226, 232, 255, 0.05);
  --panel-strong: rgba(226, 232, 255, 0.09);
  --line: rgba(196, 181, 253, 0.16);
  background:
    radial-gradient(72% 62% at 80% 2%, rgba(167, 139, 250, .17), transparent 66%),
    radial-gradient(58% 55% at 8% 98%, rgba(236, 72, 153, .11), transparent 66%),
    linear-gradient(180deg, #1a2340 0%, #212b4c 52%, #1b2441 100%);
  border-block: 0;
}
/* feathered edges so the step up reads as a dissolve, not a seam */
.tone-light::before, .tone-light::after {
  content: ""; position: absolute; left: 0; right: 0; height: 110px;
  pointer-events: none; z-index: 3;
}
.tone-light::before { top: 0;    background: linear-gradient(180deg, var(--bg-deep), rgba(11,17,32,0)); }
.tone-light::after  { bottom: 0; background: linear-gradient(0deg,   var(--bg-deep), rgba(11,17,32,0)); }
.tone-light .step,
.tone-light .quote-card {
  background: rgba(226, 232, 255, .055);
  border-color: rgba(196, 181, 253, .18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tone-light .quote-card::before { color: rgba(196, 181, 253, .22); }
.quote-disclaimer { margin-top: 26px; color: var(--muted); font-size: .84rem; }

/* ---------- gearbox (section 6) ---------- */
.gearbox { position: relative; height: clamp(180px, 24vw, 260px); margin: 6px 0 46px; }
#gears-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gearbox-cap {
  position: absolute; left: 0; bottom: -6px;
  color: var(--muted); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase;
}

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); background: rgba(11, 17, 32, 0.55); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; padding: 54px 0;
}
.stat { text-align: center; }
.stat-num, .stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700;
  background: linear-gradient(120deg, var(--violet-soft), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-suffix { font-size: clamp(1.1rem, 2vw, 1.6rem); margin-left: 4px; }
.stat p { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* ---------- about ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 70px; align-items: center; margin-top: 20px;
}
.about-text p { color: var(--muted); margin-bottom: 20px; }
.about-text p strong, .about-text p em { color: var(--text); font-style: normal; font-weight: 600; }

/* mock Google window */
.about-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 22px; padding: 10px; will-change: transform;
}
.mock-window {
  background: rgba(11, 17, 32, 0.85);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar i:first-child { background: var(--pink); }
.mock-bar i:nth-child(2) { background: var(--violet); }
.mock-bar i:nth-child(3) { background: var(--green); }
.mock-search {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--violet); border-radius: 999px;
  padding: 12px 18px; color: #e5e7eb; font-size: .95rem;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12); min-height: 46px;
}
.caret { width: 2px; height: 1.1em; background: var(--pink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-result {
  margin-top: 18px; border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
  background: rgba(148, 163, 184, 0.04);
}
.mock-result strong { color: var(--violet-soft); font-size: 1rem; }
.mock-result p { color: var(--muted); font-size: .85rem; margin: 6px 0 10px; }
.mock-result.ghost { opacity: .45; }
.mock-badge {
  display: inline-block; font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--green); border: 1px solid rgba(16, 185, 129, .4);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.mock-line { height: 8px; border-radius: 4px; background: var(--panel-strong); margin-top: 8px; }
.mock-line.w80 { width: 80%; } .mock-line.w70 { width: 70%; }
.mock-line.w60 { width: 60%; } .mock-line.w50 { width: 50%; }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0; overflow: hidden; background: var(--bg-deep);
}
.marquee-track {
  display: flex; align-items: center; gap: 34px;
  width: max-content; animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 500;
  color: var(--muted); white-space: nowrap;
}
.marquee-track i { color: var(--violet); font-style: normal; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- niche grid ---------- */
.niche-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 20px;
}
.niche-card {
  display: block; background: var(--panel);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 26px; color: var(--text);
  position: relative; overflow: hidden;
  transition: border-color .35s, background .35s;
  will-change: transform;
}
.niche-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
              rgba(139, 92, 246, 0.16), transparent 60%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.niche-card:hover { border-color: rgba(139, 92, 246, 0.55); color: var(--text); }
.niche-card:hover::before { opacity: 1; }
.niche-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 600;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.niche-card p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.niche-link { color: var(--violet-soft); font-weight: 600; font-size: .9rem; transition: color .3s; }
.niche-card:hover .niche-link, .country-card:hover .niche-link { color: var(--pink); }
.niches-note { margin-top: 34px; color: var(--muted); }

/* ---------- countries (photo cards) ---------- */
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.country-card {
  position: relative; display: flex; align-items: flex-end;
  min-height: 460px; border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden;
  color: var(--text); background: var(--panel);
  transition: border-color .35s; will-change: transform;
}
.country-card:hover { border-color: rgba(139, 92, 246, 0.55); color: var(--text); }
.country-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .5; transform: scale(1.03);
  transition: transform 1.1s var(--ease-out), opacity .5s;
}
.country-card:hover .country-media { transform: scale(1.1); opacity: .62; }
.country-card.is-soon .country-media { filter: grayscale(.35) brightness(.85); }
.country-media--uk {
  background:
    radial-gradient(85% 60% at 72% 12%, rgba(139, 92, 246, 0.38), transparent 62%),
    radial-gradient(70% 55% at 18% 88%, rgba(236, 72, 153, 0.22), transparent 60%),
    linear-gradient(155deg, #171c38 0%, #241d4a 48%, #33194a 100%);
}
.country-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,17,32,.1) 0%, rgba(11,17,32,.5) 42%, rgba(11,17,32,.95) 100%);
}
.country-card.no-media {
  background:
    radial-gradient(90% 70% at 70% 10%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(70% 60% at 20% 90%, rgba(236, 72, 153, 0.14), transparent 60%),
    var(--panel);
}
.country-body { position: relative; width: 100%; padding: 28px 24px 26px; }
.country-body h3 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  margin: 14px 0 12px; letter-spacing: -0.01em;
}
.country-body > p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.badge {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.badge-live { color: var(--green); border: 1px solid rgba(16,185,129,.45); background: rgba(16,185,129,.1); }
.badge-soon { color: var(--text); border: 1px solid var(--line); background: rgba(11,17,32,.5); }
.badge-later { color: var(--muted); border: 1px solid var(--line); }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }

/* the generated suburb×job search list under the Local SEO cards */
.keyword-map {
  margin: 2.2rem auto 0; max-width: 52rem;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--violet);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted); font-size: .95rem;
}

/* ============ country hub: quick pathfinder + city cards ============ */
.pathfinder {
  position: relative;
  margin: 0 0 2.6rem;
  padding: 22px 24px;
  border: 1px solid rgba(139,92,246,.34);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(139,92,246,.10), rgba(11,17,32,.42));
}
.pathfinder-lead {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  margin: 0 0 14px;
}
.pathfinder-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.pf-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; }
.pf-field > span {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.pf-field select {
  font: inherit; color: var(--text); cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 14px; width: 100%;
  transition: border-color .25s, box-shadow .25s;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 49%, var(--muted) 50%),
                    linear-gradient(-45deg, transparent 49%, var(--muted) 50%);
  background-size: 5px 5px, 5px 5px;
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-repeat: no-repeat;
}
.pf-field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
.pathfinder-row .btn[disabled] { opacity: .45; cursor: not-allowed; }
.pathfinder-note { margin: 14px 0 0; color: var(--muted); font-size: .86rem; }
.pathfinder-note a { color: var(--violet-soft); }

/* city card pills — every one is a real link into /{country}/{niche}/{city}/ */
.city-pills { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 4px; }
.city-pills a {
  font-size: .76rem; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 11px;
  transition: color .25s, border-color .25s, background .25s;
}
.city-pills a:hover { color: var(--text); border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.12); }
.city-pills--more { margin-top: 12px; }
.city-card h3 + p { margin-bottom: 16px; }
.city-more { margin-top: 12px; }
.city-more summary {
  cursor: pointer; list-style: none;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--violet-soft);
  display: inline-flex; align-items: center; gap: 7px;
}
.city-more summary::-webkit-details-marker { display: none; }
.city-more summary::after {
  content: "+"; font-family: var(--font-display); font-size: .95rem; line-height: 1;
  transition: transform .25s;
}
.city-more[open] summary::after { content: "–"; }
/* the label swaps so an open list does not read "All 13 trades" while showing 13 */
.city-more .cm-close { display: none; }
.city-more[open] .cm-open { display: none; }
.city-more[open] .cm-close { display: inline; }
.city-more-note { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) {
  .pathfinder { padding: 18px 16px; }
  .pathfinder-row .btn { width: 100%; justify-content: center; }
}
.chip-row span {
  font-size: .76rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; background: rgba(11,17,32,.4);
  transition: color .25s, border-color .25s;
}
.country-card:hover .chip-row span { color: var(--text); border-color: rgba(139,92,246,.4); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }
.step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 22px; padding: 36px 30px;
  transition: border-color .35s; position: relative;
}
.step:hover { border-color: rgba(139, 92, 246, 0.5); }
.step-num {
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 700; line-height: 1;
  background: linear-gradient(120deg, var(--violet), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 18px;
}
.step h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 32px 28px;
  transition: border-color .35s; will-change: transform;
}
.feature-card:hover { border-color: rgba(236, 72, 153, 0.45); }
.feature-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .93rem; }

/* ---------- quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 34px 30px;
  position: relative; transition: border-color .35s; will-change: transform;
}
.quote-card:hover { border-color: rgba(139, 92, 246, 0.5); }
.quote-card::before {
  content: "\201C"; position: absolute; top: 6px; right: 22px;
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: rgba(139, 92, 246, 0.25);
}
.quote-card p { font-size: 1.02rem; margin-bottom: 18px; }
.quote-card footer { color: var(--muted); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 20px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 16px;
  margin-bottom: 14px; background: var(--panel);
  overflow: hidden; transition: border-color .3s;
}
.faq-item[open] { border-color: rgba(139, 92, 246, 0.5); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 22px 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  color: var(--text); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--violet-soft);
  transition: transform .35s var(--ease-out);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-body { padding: 0 26px 24px; color: var(--muted); }
.faq-body strong { color: var(--text); }

/* ---------- CTA ---------- */
.cta {
  padding: 150px 0; text-align: center; overflow: hidden;
  border-top: 1px solid var(--line);
  background: radial-gradient(70% 90% at 50% 120%, rgba(126, 34, 206, 0.25), transparent 70%), rgba(11,17,32,.9);
}
.orb-cta {
  top: auto; bottom: -260px; right: 50%; transform: translateX(50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22), transparent 65%);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.6vw, 4.4rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 34px;
}
.cta-sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 42px; }
.cta .hero-cta { justify-content: center; }
.cta-note { margin-top: 26px; color: var(--muted); font-size: .9rem; }

/* lead form */
.lead-form {
  max-width: 620px; margin: 0 auto; text-align: left;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.lead-form .field { display: flex; flex-direction: column; gap: 6px; }
.lead-form .field-full { grid-column: 1 / -1; }
.lead-form label {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.lead-form input,
.lead-form textarea {
  font: inherit; color: var(--text);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--muted); opacity: .6; }
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none; border-color: var(--violet);
  background: var(--panel-strong);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form .hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}
.lead-form .form-actions { grid-column: 1 / -1; margin-top: 6px; }
.lead-form .form-status {
  grid-column: 1 / -1; margin: 0; font-size: .95rem; min-height: 1.4em;
}
.lead-form .form-status.is-error { color: #fca5a5; }
.lead-form .form-status a { color: var(--violet-soft); }
.lead-form-thanks {
  max-width: 620px; margin: 0 auto; text-align: center;
  padding: 40px 28px; border: 1px solid var(--line);
  border-radius: 16px; background: var(--panel);
}
.lead-form-thanks strong { display: block; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 10px; }
.lead-form-thanks p { color: var(--muted); }
@media (max-width: 640px) {
  .lead-form { grid-template-columns: 1fr; }
}

/* founder block */
.founder {
  display: inline-flex; align-items: center; gap: 16px;
  text-align: left; margin: 0 auto 30px;
  padding: 12px 22px 12px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(148, 163, 184, 0.05);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.founder img {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; border: 2px solid transparent;
  background: linear-gradient(var(--bg-deep), var(--bg-deep)) padding-box,
              linear-gradient(135deg, var(--violet), var(--pink)) border-box;
}
.founder-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 600; display: block;
}
.founder-text p { color: var(--muted); font-size: .86rem; }

/* founder card on the about page */
.founder-about {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 18px; padding: 34px 28px;
}
.founder-about img {
  width: 180px; height: 180px; border-radius: 50%;
  object-fit: cover; object-position: top center;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-deep), var(--bg-deep)) padding-box,
              linear-gradient(135deg, var(--violet), var(--pink)) border-box;
}
.founder-about .founder-about-name {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--text); margin: 0;
}
.founder-about .founder-about-note {
  color: var(--text); font-size: .98rem; line-height: 1.6; max-width: 320px; margin: 0;
}

/* ---------- footer ---------- */
.site-footer {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding-top: 84px;
}
.footer-aurora {
  position: absolute; left: 50%; top: -220px;
  width: 900px; height: 520px; transform: translateX(-50%);
  background:
    radial-gradient(50% 60% at 30% 50%, rgba(139,92,246,.28), transparent 70%),
    radial-gradient(50% 60% at 70% 50%, rgba(236,72,153,.2), transparent 70%);
  filter: blur(70px); pointer-events: none;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet) 25%, var(--pink) 75%, transparent);
  opacity: .8;
}
.footer-top {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.5fr);
  gap: 56px; padding-bottom: 60px;
}
.footer-lead p { color: var(--muted); font-size: .95rem; margin-top: 16px; max-width: 24em; }
.footer-mail {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 600;
  color: var(--text); letter-spacing: -.02em;
  padding-bottom: 4px; border-bottom: 1px solid var(--line);
  transition: color .3s, border-color .3s; will-change: transform;
}
.footer-mail:hover { color: var(--pink); border-color: var(--pink); }
.footer-clock {
  display: flex; align-items: center; gap: 9px;
  margin-top: 26px !important; font-size: .84rem !important; letter-spacing: .06em;
}
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--violet-soft); margin-bottom: 18px;
}
.footer-col a {
  display: flex; align-items: center; gap: 8px;
  color: var(--text); font-size: .95rem; padding: 7px 0;
  opacity: .82;
  transition: opacity .25s, color .25s, transform .25s var(--ease-out);
}
.footer-col a:hover { opacity: 1; color: var(--pink); transform: translateX(4px); }
.footer-col .footer-more { color: var(--violet-soft); font-weight: 600; margin-top: 6px; }
.tag {
  font-style: normal; font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 8px;
}
.tag-live { color: var(--green); border-color: rgba(16,185,129,.4); }

.footer-wordmark {
  position: relative; z-index: 2;
  padding: 0 0 10px; text-align: center; line-height: .8;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 92%);
}
.footer-wordmark span {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4rem, 19vw, 17rem); letter-spacing: -.05em;
  color: transparent;
  background: linear-gradient(180deg, rgba(148,163,184,.3), rgba(148,163,184,.02));
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.footer-wordmark em {
  font-style: normal;
  background: linear-gradient(120deg, var(--violet), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-bottom {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line);
  padding-block: 24px; color: var(--muted); font-size: .85rem;
}
.to-top {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--text);
  transition: border-color .3s, color .3s, transform .3s var(--ease-out);
}
.to-top:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-3px); }

/* ---------- responsive: tablets ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-side { order: 2; }
  .hero { min-height: auto; }
  .hero-inner { padding: 56px 0 64px; }
  .hero-scrim {
    background: linear-gradient(170deg, rgba(15,23,42,.9) 0%, rgba(15,23,42,.62) 46%, rgba(15,23,42,0) 80%);
  }
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .country-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 44px; }
  .section { padding: 100px 0; }
}

/* ---------- responsive: phones ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .section-sub { margin-bottom: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 34px 12px; padding: 44px 0; }
  .country-grid, .feature-grid, .quote-grid { grid-template-columns: 1fr; }
  .country-card { min-height: 400px; }
  .niche-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .niche-card { padding: 22px 18px; border-radius: 16px; }
  .niche-card h3 { font-size: 1.02rem; }
  .niche-card p { font-size: .85rem; margin-bottom: 12px; }
  .icon-chip { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
  .ic { width: 21px; height: 21px; }
  .hero-radar { width: 100%; }
  .hero-meta { gap: 8px 20px; font-size: .82rem; }
  .map-hint { display: none; }
  .hero-title { letter-spacing: -0.02em; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero-hint { display: none; }
  .gearbox { height: 150px; margin-bottom: 28px; }
  .gearbox-cap { display: none; }
  .tone-light::before, .tone-light::after { height: 80px; }
  .marquee-track span { font-size: 1rem; }
  .marquee-track { gap: 22px; animation-duration: 26s; }
  .step { padding: 28px 24px; }
  .step-num { font-size: 2.6rem; }
  .feature-card, .quote-card { padding: 26px 22px; }
  .cta { padding: 100px 0; }
  .founder { padding: 10px 18px 10px 10px; }
  .founder img { width: 58px; height: 58px; }
  .faq-item summary { padding: 18px 20px; font-size: 1rem; }
  .faq-body { padding: 0 20px 20px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 4px;
    background: rgba(11, 17, 32, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 20px 5vw 28px;
    transform: translateY(-130%);
    /* without this the off-screen menu keeps every link in the tab order */
    visibility: hidden;
    transition: transform .45s var(--ease-out), visibility 0s linear .45s;
  }
  .main-nav.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .45s var(--ease-out), visibility 0s;
  }
  .main-nav a { font-size: 1.15rem; padding: 12px 0; }
  .nav-item.has-dropdown { display: flex; flex-direction: column; }
  .nav-drop-toggle {
    width: 100%; justify-content: space-between;
    font-size: 1.15rem; padding: 12px 0;
  }
  .nav-drop-toggle::after { display: none; }
  .nav-dropdown {
    position: static; transform: none;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; background: transparent; border: 0; border-radius: 0;
    padding: 0 0 10px 16px;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: none; transition: none;
  }
  .nav-item.has-dropdown.open .nav-dropdown { display: block; transform: none; }
  .nav-dropdown a { font-size: 1rem; padding: 9px 12px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-header .btn { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 400px) {
  .niche-card { padding: 20px 16px; }
  .niche-card p { display: none; }
  .hero-cta .btn { width: 100%; }
}
@media (max-width: 340px) {
  .niche-grid { grid-template-columns: 1fr; }
  .niche-card p { display: block; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  /* map lens stays, but painted as a single static frame by JS */
  #goo-canvas, #loader, #spine, .beam { display: none !important; }
}

/* ---------- sourced local fact base (pilot pages) ---------- */
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 2.6rem; }
.fact-group {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--panel); padding: 22px 24px;
}
.fact-angle {
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--violet-soft);
  margin: 0 0 14px;
}
.fact-group ul { list-style: none; margin: 0; padding: 0; }
.fact-item { padding: 12px 0; border-top: 1px solid var(--line); }
.fact-item:first-child { border-top: 0; padding-top: 0; }
.fact-item p { margin: 0; font-size: .95rem; line-height: 1.55; }
.fact-src { margin-top: 7px !important; font-size: .78rem !important; color: var(--muted); }
.fact-src a { color: var(--violet-soft); text-decoration: none; border-bottom: 1px solid rgba(139,92,246,.3); }
.fact-src a:hover { border-bottom-color: var(--violet-soft); }
.fact-review {
  display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px;
  background: rgba(139,92,246,.14); color: var(--violet-soft);
  font-size: .68rem; letter-spacing: .04em;
}
.fact-note { margin-top: 2.2rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .fact-grid { grid-template-columns: 1fr; } }

/* ---------- niche x city layer (pilot pages) ---------- */
.prose-stack p { margin: 0 0 1.15rem; font-size: 1.02rem; line-height: 1.68; color: var(--text-dim); }
.prose-stack p:first-child { color: var(--text); font-size: 1.08rem; }
.suburb-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; margin-top: 2.4rem; }
.suburb-row { border-top: 1px solid var(--line); padding-top: 14px; }
.suburb-row h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 6px; }
.suburb-row p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--muted); }
.searches { margin-top: 2.6rem; }
.searches-label {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px;
}
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 2.4rem; }
.col-title { font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--violet-soft); margin: 0 0 12px; }
.two-col p { margin: 0; font-size: .98rem; line-height: 1.66; color: var(--text-dim); }
.col-note { margin-top: 12px !important; font-size: .86rem !important; color: var(--muted) !important; }
.covers { margin-top: 2.6rem; font-size: .95rem; color: var(--muted); border-left: 2px solid rgba(139,92,246,.4); padding-left: 16px; }
@media (max-width: 900px) { .suburb-list, .two-col { grid-template-columns: 1fr; } }
