/* =========================================================
   Razu Sheikh — Local SEO Consultant & AI Search Strategist
   Brand: Forest Ink + Signal Lime
   All brand colors live in :root — change them there.
   ========================================================= */

:root {
  /* ---- Brand palette ---- */
  --ink: #0f2a1e;          /* Forest Ink — primary dark */
  --ink-2: #173a2a;        /* raised surface on dark */
  --lime: #c8f04a;         /* Signal Lime — accent / CTA */
  --lime-hover: #d9f77a;
  --moss: #3d7a1c;         /* lime's readable partner on light backgrounds */
  --paper: #f4f6f0;        /* Field — light background */
  --white: #ffffff;
  --slate: #56655b;        /* secondary text on light */
  --mist: #dde4d7;         /* lines on light */
  --sage: #a9baae;         /* secondary text on dark */
  --warn: #c2551f;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 70px -30px rgba(15, 42, 30, 0.35), 0 4px 14px -6px rgba(15, 42, 30, 0.12);

  /* ---- Context tokens (light by default; .dark / .white sections override) ---- */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--slate);
  --line: var(--mist);
  --surface: var(--white);
  --accent-text: var(--moss);
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-hover-bg: var(--lime);
  --btn-hover-fg: var(--ink);
}

.dark {
  --bg: var(--ink);
  --fg: #eef3ea;
  --muted: var(--sage);
  --line: rgba(238, 243, 234, 0.14);
  --surface: var(--ink-2);
  --accent-text: var(--lime);
  --btn-bg: var(--lime);
  --btn-fg: var(--ink);
  --btn-hover-bg: var(--white);
  --btn-hover-fg: var(--ink);
}
.white { --bg: var(--white); --surface: var(--paper); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.section, .site-header, .site-footer, .hero, .final-cta, .marquee, .article-hero { background: var(--bg); color: var(--fg); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--lime); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale ---------- */
.display, .h2, .h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
.display {
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 96;
}
.h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 72;
  max-width: 17ch;
}
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 58ch; margin: 0; }
.lede strong { color: var(--fg); font-weight: 600; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(15,42,30,.5); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 42, 30, 0.86);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--lime); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-family: var(--display); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-role { font-size: 0.78rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.96rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--fg); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 0.94rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 999px;
  width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--fg); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 22px;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 26px var(--gutter) 32px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { display: block; padding: 10px 0; font-size: 1.15rem; color: var(--fg); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.hero::before {
  /* field grid — a nod to map tiles */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(238,243,234,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238,243,234,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; right: -8%; top: -10%; width: 60vw; max-width: 820px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200,240,74,0.16), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px;
  padding: 7px 16px 7px 8px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 0.92rem; color: var(--fg);
}
.hero-badge .live { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.hero-badge .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

.hero-title { font-size: clamp(2.8rem, 5.9vw, 5.6rem); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; white-space: nowrap; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .hero-title .line > span { transform: none; }
.hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.hero-title .line:nth-child(3) > span { transition-delay: .18s; }

.hero-copy .lede { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-fade { opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease) .45s, transform .9s var(--ease) .45s; }
.is-loaded .hero-fade { opacity: 1; transform: none; }

.surface-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.93rem; }
.surface-legend li { display: flex; align-items: center; gap: 9px; transition: color .3s; }
.surface-legend .dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--lime); transition: background .3s, box-shadow .3s; }
.surface-legend li.is-active { color: var(--fg); }
.surface-legend li.is-active .dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(200,240,74,.18); }

/* --- Portrait + live search demo --- */
.hero-visual { position: relative; padding: 0 0 90px 0; }
.hero-photo {
  position: relative; margin: 0 0 0 auto; width: 80%; aspect-ratio: 4 / 5.2; border-radius: var(--r-lg); overflow: hidden;
  background: #120d0a; box-shadow: 0 40px 90px -40px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease) .15s, transform 1.1s var(--ease) .15s;
}
.is-loaded .hero-photo { opacity: 1; transform: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(238,243,234,.12); pointer-events: none; }
.photo-chip {
  position: absolute; right: 16px; top: 16px; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 14px;
  background: rgba(15,42,30,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(238,243,234,.16); color: #eef3ea; font-size: 0.85rem; line-height: 1.25;
}
.photo-chip b { display: block; font-family: var(--display); font-size: 0.98rem; letter-spacing: -0.01em; }
.photo-chip .chip-icon { width: 30px; height: 30px; border-radius: 9px; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; }
.photo-chip .chip-icon svg { width: 16px; height: 16px; }

.serp {
  position: absolute; left: 0; bottom: 0; width: min(330px, 58%); z-index: 3;
  background: var(--white); color: var(--ink);
  border-radius: 22px; padding: 14px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), 0 2px 0 rgba(255,255,255,.4) inset;
  opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease) .45s, transform 1.1s var(--ease) .45s;
}
.is-loaded .serp { opacity: 1; transform: none; }

.serp-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--mist); border-radius: 999px;
  padding: 10px 15px; font-size: 0.95rem; min-height: 44px;
}
.serp-bar svg { flex: none; color: var(--moss); }
.serp-query { white-space: nowrap; overflow: hidden; }
.caret { width: 1.5px; height: 1.1em; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.serp-body { display: grid; gap: 10px; margin-top: 10px; }
.serp-map { position: relative; height: 84px; border-radius: 14px; overflow: hidden; background: #e9efe4; }
.serp-map svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; width: 20px; height: 20px; margin: -20px 0 0 -10px; opacity: 0; transform: translateY(-12px); transition: opacity .4s, transform .5s var(--ease); }
.pin svg { width: 20px; height: 20px; }
.pin.you { width: 28px; height: 28px; margin: -28px 0 0 -14px; z-index: 2; }
.pin.you svg { width: 28px; height: 28px; }
.pin.you::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 34px; height: 12px; margin-left: -17px; border-radius: 50%; border: 1.5px solid var(--moss); opacity: 0; }
.serp.s-map .pin { opacity: 1; transform: none; }
.serp.s-map .pin:nth-of-type(2) { transition-delay: .12s; }
.serp.s-map .pin:nth-of-type(3) { transition-delay: .24s; }
.serp.s-map .pin.you { transition-delay: .4s; }
.serp.s-rank .pin.you::after { animation: ripple 1.8s var(--ease) infinite; }
@keyframes ripple { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.2); } }

.serp-pack { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pack-row {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 12px; background: var(--paper); border: 1px solid transparent;
  opacity: .35; transform: translateX(-6px);
  transition: opacity .45s, transform .6s var(--ease), background .4s, border-color .4s;
}
.serp.s-pack .pack-row { opacity: 1; transform: none; }
.serp.s-pack .pack-row:nth-child(2) { transition-delay: .1s; }
.serp.s-pack .pack-row:nth-child(3) { transition-delay: .2s; }
.pack-rank { font-family: var(--display); font-weight: 700; color: var(--slate); font-size: 0.95rem; text-align: center; }
.pack-lines { display: grid; gap: 5px; }
.pack-lines i { display: block; height: 6px; border-radius: 4px; background: #d3dccd; }
.pack-lines i:first-child { width: 62%; }
.pack-lines i:last-child { width: 38%; background: #e2e8dd; }
.pack-name { font-weight: 700; font-size: 0.9rem; display: block; line-height: 1.25; }
.pack-meta { font-size: 0.74rem; color: var(--slate); display: flex; gap: 8px; white-space: nowrap; }
.pack-meta .stars { color: #e3a008; letter-spacing: 1px; }
.pack-cta { font-size: 0.72rem; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--mist); color: var(--slate); }
.pack-row.you { order: 3; }
.serp.s-rank .pack-row.you { order: -1; background: var(--lime); border-color: #b3dc33; }
.serp.s-rank .pack-row.you .pack-rank, .serp.s-rank .pack-row.you .pack-meta { color: var(--ink); }
.serp.s-rank .pack-row.you .pack-cta { background: var(--ink); border-color: var(--ink); color: var(--lime); }

.serp-ai {
  border-radius: 14px; padding: 11px 13px; background: var(--ink); color: #eef3ea;
  opacity: .3; transform: translateY(4px); transition: opacity .5s, transform .6s var(--ease);
}
.serp.s-ai .serp-ai { opacity: 1; transform: none; }
.ai-head { display: flex; align-items: center; gap: 7px; font-size: 0.76rem; color: var(--lime); margin-bottom: 8px; font-weight: 600; }
.ai-head svg { width: 14px; height: 14px; }
.ai-lines { display: grid; gap: 6px; }
.ai-lines i { display: block; height: 6px; border-radius: 4px; background: rgba(238,243,234,.16); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.serp.s-ai .ai-lines i { transform: scaleX(1); }
.ai-lines i:nth-child(2) { width: 86%; transition-delay: .15s; }
.ai-lines i:nth-child(3) { width: 60%; transition-delay: .3s; }
.ai-cite {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
  font-size: 0.76rem; padding: 4px 10px 4px 5px; border-radius: 999px;
  background: rgba(200,240,74,.12); border: 1px solid var(--lime); color: #eef3ea;
  opacity: 0; transform: scale(.9); transition: opacity .4s .9s, transform .5s var(--ease) .9s;
}
.ai-cite b { width: 17px; height: 17px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 0.66rem; }
.serp.s-ai .ai-cite { opacity: 1; transform: none; }

@media (max-width: 1020px) { .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; } }
@media (max-width: 620px) {
  .hero-visual { padding: 0; }
  .hero-photo { width: 100%; aspect-ratio: 4 / 4.6; }
  .serp { position: relative; width: calc(100% - 24px); margin: -110px 0 0 12px; }
}

/* ---------- Marquee band ---------- */
.marquee { --bg: var(--lime); --fg: var(--ink); overflow: hidden; border-block: 1px solid #b3dc33; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 18px 0; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -0.02em; white-space: nowrap; }
.marquee li::after { content: ""; width: 10px; height: 10px; background: var(--ink); border-radius: 3px; transform: rotate(45deg); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Three surfaces ---------- */
.surfaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.surface { background: var(--surface); border-radius: var(--r-md); padding: 34px 30px 36px; border: 1px solid var(--line); }
.surface-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--lime); display: grid; place-items: center; margin-bottom: 28px; }
.surface-icon svg { width: 26px; height: 26px; }
.surface p { color: var(--muted); margin: 14px 0 0; }
@media (max-width: 860px) { .surfaces { grid-template-columns: 1fr; } }

/* ---------- Services (expandable list) ---------- */
.services-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.service { border-bottom: 1px solid var(--line); }
.service-toggle {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: none; border: 0; text-align: left; cursor: pointer; padding: 28px 0;
}
.service-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.1; letter-spacing: -0.03em; transition: color .25s; }
.service-short { display: block; font-family: var(--sans); font-weight: 400; font-size: 1rem; color: var(--muted); margin-top: 8px; letter-spacing: 0; }
.service-toggle:hover .service-title { color: var(--accent-text); }
.plus { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; flex: none; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--fg); border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.service-toggle:hover .plus { border-color: var(--fg); }
.service-toggle[aria-expanded="true"] .plus, .faq-q[aria-expanded="true"] .plus { background: var(--lime); border-color: var(--lime); transform: rotate(180deg); }
.service-toggle[aria-expanded="true"] .plus::before, .service-toggle[aria-expanded="true"] .plus::after,
.faq-q[aria-expanded="true"] .plus::before, .faq-q[aria-expanded="true"] .plus::after { background: var(--ink); }
.service-toggle[aria-expanded="true"] .plus::after, .faq-q[aria-expanded="true"] .plus::after { transform: rotate(0deg); }

.service-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.service-panel > div { overflow: hidden; }
.service.is-open .service-panel { grid-template-rows: 1fr; }
.service-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 0 34px; }
.service-body p { margin: 0; color: var(--muted); max-width: 52ch; }
.deliverables { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.deliverables li { position: relative; padding-left: 28px; }
.deliverables li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2a1e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 760px) { .service-body { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Approach (a real sequence, so numbered) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 30px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.step-num { font-family: var(--display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--lime); letter-spacing: -0.04em; }
.step h3 { margin: 20px 0 10px; font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; }
.step p { margin: 0 0 18px; color: var(--muted); }
.step-when { margin-top: auto; align-self: flex-start; font-size: 0.84rem; color: var(--fg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Visibility checker ---------- */
.checker { display: grid; grid-template-columns: 1fr 380px; gap: clamp(30px, 4vw, 60px); align-items: start; }
@media (max-width: 1000px) { .checker { grid-template-columns: 1fr; } }
.check-group { border: 0; margin: 0 0 30px; padding: 0; }
.check-group legend { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 10px; padding: 0; }
.check-item { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.check-item p { margin: 0; }
.check-item small { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 3px; }
.yn { display: inline-flex; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 3px; flex: none; }
.yn input { position: absolute; opacity: 0; pointer-events: none; }
.yn label { min-width: 58px; text-align: center; padding: 8px 12px; border-radius: 999px; cursor: pointer; font-size: 0.9rem; color: var(--slate); transition: background .2s, color .2s; }
.yn input:checked + label { background: var(--lime); color: var(--ink); font-weight: 700; }
.yn input.no:checked + label { background: var(--ink); color: var(--white); }
.yn input:focus-visible + label { outline: 2px solid var(--moss); outline-offset: 2px; }

.score-card { position: sticky; top: 100px; background: var(--ink); color: #eef3ea; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.gauge { position: relative; width: 190px; height: 190px; margin: 0 auto 10px; }
.gauge svg { width: 190px; height: 190px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.gauge .track { stroke: rgba(238,243,234,0.1); }
.gauge .bar { stroke: var(--lime); stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.gauge-num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge-num strong { font-family: var(--display); font-size: 3.6rem; font-weight: 700; line-height: 1; display: block; letter-spacing: -0.04em; }
.gauge-num span { font-size: 0.85rem; color: var(--sage); }
.score-band { text-align: center; font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin: 6px 0 4px; }
.score-note { text-align: center; color: var(--sage); font-size: 0.95rem; margin: 0 0 22px; }
.fix-first h3 { font-size: 1rem; font-family: var(--sans); font-weight: 700; margin: 0 0 10px; }
.fix-first ol { margin: 0 0 24px; padding-left: 20px; display: grid; gap: 8px; font-size: 0.96rem; }
.fix-first ol:empty::before { content: "Answer the questions to see what to fix first."; color: var(--sage); margin-left: -20px; }
.score-card .btn { width: 100%; background: var(--lime); color: var(--ink); }
.score-card .btn:hover { background: var(--white); }

.mini-score { display: none; }
@media (max-width: 1000px) {
  .mini-score {
    position: sticky; bottom: 14px; z-index: 5; margin: 10px 70px 0 0;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    background: var(--ink); color: #eef3ea; text-decoration: none;
    border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(15,42,30,.4);
  }
  .mini-score:hover { color: var(--lime); }
  .mini-score b { font-family: var(--display); font-size: 1.15rem; color: var(--lime); }
  .mini-score span:last-child { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
}

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .industries { grid-template-columns: 1fr; } }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tag-cloud li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 18px; font-size: 0.98rem; transition: background .2s, border-color .2s; }
.tag-cloud li:hover { background: var(--lime); border-color: var(--lime); }
.markets { margin-top: 38px; }
.markets h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 12px; }
.markets ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.markets li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.markets li span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 520px) { .markets ul { grid-template-columns: 1fr; } }

/* ---------- Standards (do / don't) ---------- */
.pledge { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pledge-col { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); }
.pledge-col.do { background: var(--ink); color: #eef3ea; }
.pledge-col.dont { background: var(--white); border: 1px solid var(--line); }
.pledge-col h3 { margin-bottom: 24px; }
.pledge-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pledge-col li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.pledge-col li .ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.pledge-col.do li .ic { background: var(--lime); color: var(--ink); }
.pledge-col.dont li .ic { background: var(--paper); color: var(--warn); }
.pledge-col li .ic svg { width: 14px; height: 14px; }
.pledge-col li strong { font-weight: 700; display: block; }
.pledge-col li span { font-size: 0.96rem; }
.pledge-col.do li span { color: var(--sage); }
.pledge-col.dont li span { color: var(--slate); }
@media (max-width: 800px) { .pledge { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.portrait { position: relative; margin: 0; }
.portrait-frame { aspect-ratio: 5 / 4.4; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.portrait-fallback { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 14vw, 9rem); color: var(--lime); letter-spacing: -0.06em; }
.portrait.no-photo img { display: none; }
.portrait.no-photo .portrait-fallback { display: grid; }
.portrait-tag {
  position: absolute; right: -14px; bottom: -22px; max-width: 290px;
  background: var(--lime); color: var(--ink); border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow);
}
.portrait-tag strong { display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.02em; }
.portrait-tag span { font-size: 0.9rem; }
@media (max-width: 600px) { .portrait-tag { right: 12px; left: 12px; max-width: none; } }
.about-copy p { color: var(--muted); max-width: 60ch; }
.about-copy p.first { color: var(--fg); font-size: 1.18rem; }
.focus-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 34px; padding: 0; list-style: none; }
.focus-list li { padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
@media (max-width: 520px) { .focus-list { grid-template-columns: 1fr; } }

/* ---------- Ways to work together ---------- */
.offers { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 1000px) { .offers { grid-template-columns: 1fr; } }
.offer { border: 1px solid var(--line); background: var(--white); border-radius: var(--r-md); padding: 32px; display: flex; flex-direction: column; }
.offer.lead { background: var(--ink); color: #eef3ea; border-color: var(--ink); border-radius: var(--r-lg); --fg: #eef3ea; --muted: var(--sage); --btn-bg: var(--lime); --btn-fg: var(--ink); --btn-hover-bg: var(--white); }
.offer-type { display: inline-block; align-self: flex-start; font-size: 0.82rem; font-weight: 600; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); }
.offer.lead .offer-type { background: var(--lime); }
.offer h3 { margin-bottom: 12px; }
.offer > p { color: var(--muted); margin: 0 0 22px; }
.offer .deliverables { margin-bottom: 28px; font-size: 0.97rem; }
.offer .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Insights ---------- */
.feature-post { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; text-decoration: none; }
.feature-post:hover { color: inherit; }
.feature-post:hover .post-title { color: var(--accent-text); }
.post-art { aspect-ratio: 16 / 10; border-radius: var(--r-lg); background: var(--ink); position: relative; overflow: hidden; transition: transform .5s var(--ease); }
.feature-post:hover .post-art { transform: scale(1.015); }
.post-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-meta { color: var(--muted); font-size: 0.92rem; display: flex; gap: 16px; flex-wrap: wrap; }
.post-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.03em; margin: 14px 0 16px; transition: color .25s; }
.feature-post p { color: var(--muted); margin: 0 0 22px; }
.read-link { font-weight: 700; color: var(--accent-text); border-bottom: 2px solid var(--lime); }
@media (max-width: 860px) { .feature-post { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { border-top: 1px solid var(--fg); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: none; border: 0; text-align: left; padding: 22px 0; cursor: pointer; font-size: 1.12rem; font-weight: 600; }
.faq-q:hover { color: var(--accent-text); }
.faq-q .plus { width: 38px; height: 38px; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { margin: 0 0 24px; color: var(--muted); max-width: 66ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-ways { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-ways li { border-bottom: 1px solid var(--line); }
.contact-ways a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; text-decoration: none; }
.contact-ways a span:first-child { color: var(--muted); font-size: 0.92rem; }
.contact-ways a span:last-child { font-weight: 600; }
.contact-ways a:hover span:last-child { color: var(--lime); }

.form { display: grid; gap: 18px; background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); --fg: var(--ink); --muted: var(--slate); --line: var(--mist); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { min-width: 0; }
.field label { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 8px; }
.field label .opt { color: var(--slate); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--paper); color: var(--ink);
  border: 1.5px solid transparent; border-radius: 12px; padding: 14px 16px;
  font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(200,240,74,.45); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--warn); }
.field-error { color: var(--warn); font-size: 0.86rem; margin: 6px 0 0; display: none; }
.field.has-error .field-error { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form-foot small { color: var(--slate); max-width: 40ch; }
.form .btn-primary { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-hover-bg: var(--lime); --btn-hover-fg: var(--ink); }
.form-status { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--paper); display: none; }
.form-status.is-shown { display: block; }
.hp { position: absolute; left: -9999px; }

/* ---------- Final CTA + footer ---------- */
.final-cta { --bg: var(--lime); --fg: var(--ink); padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(15,42,30,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(15,42,30,.07) 1px, transparent 1px);
  background-size: 64px 64px;
}
.final-cta .wrap { position: relative; }
.final-cta .display { font-size: clamp(2.5rem, 6vw, 5.2rem); max-width: 15ch; }
.final-cta .btn-primary { --btn-bg: var(--ink); --btn-fg: var(--lime); --btn-hover-bg: var(--white); --btn-hover-fg: var(--ink); }
.final-cta .btn-ghost { border-color: rgba(15,42,30,.3); }
.final-cta .hero-actions { margin-top: 40px; }

.site-footer { padding: 64px 0 40px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--lime); }
.footer-about p { color: var(--muted); max-width: 36ch; margin: 16px 0 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.footer-bottom ul { display: flex; gap: 20px; }

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(15,42,30,.55);
  transition: transform .3s var(--ease), background .2s;
}
.float-wa:hover { transform: translateY(-3px); background: var(--ink); color: var(--lime); }
.float-wa svg { width: 27px; height: 27px; }

/* Heading reveal — starts visible if JS is off or slow */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }

/* ---------- Article pages ---------- */
.article-hero { padding: clamp(50px, 8vw, 100px) 0 50px; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--lime); }
.crumbs a { text-decoration: none; color: var(--muted); }
.article-hero .display { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 22ch; }
.article-hero .post-meta { margin-top: 26px; }
.article-hero .post-meta a { color: var(--lime); }
.prose { max-width: 720px; margin: 0 auto; padding: 60px 0 90px; font-size: 1.1rem; line-height: 1.75; color: #2a3b31; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.12; margin: 2.1em 0 0.6em; letter-spacing: -0.03em; color: var(--ink); }
.prose h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin: 1.8em 0 0.5em; letter-spacing: -0.02em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--moss); }
.prose strong { color: var(--ink); }
.prose a { color: var(--moss); text-decoration-thickness: 2px; text-decoration-color: var(--lime); }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--mist); border-radius: var(--r-md); background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.96rem; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.prose th { background: var(--ink); color: #eef3ea; font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.callout { border-radius: var(--r-md); padding: 26px 28px; background: var(--ink); color: #eef3ea; margin: 2em 0; --btn-bg: var(--lime); --btn-fg: var(--ink); --btn-hover-bg: var(--white); --btn-hover-fg: var(--ink); }
.callout p { margin: 0 0 16px; color: #eef3ea; }
.toc { background: var(--white); border-left: 4px solid var(--lime); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 18px 22px; margin: 0 0 40px; }
.toc p { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.toc ol { margin: 0; padding-left: 18px; font-size: 0.98rem; }

/* 404 */
.not-found { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); }
.not-found .display { margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero-fade, .serp, .hero-photo { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .marquee-track { animation: none; }
}

/* =========================================================
   Silo site: mega menu, service pages, hubs, footer map
   ========================================================= */

/* ---------- Mega menu ---------- */
.header-inner { position: relative; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  font-size: 0.96rem; color: var(--muted); padding: 0; transition: color .2s;
}
.menu-btn:hover, .menu-btn[aria-expanded="true"], .menu-btn[aria-current="true"] { color: var(--fg); }
.menu-btn .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-menu.is-open .menu-btn .chev { transform: rotate(180deg); }

.mega {
  --fg: var(--ink); --muted: var(--slate); --line: var(--mist);
  position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
  background: var(--white); color: var(--ink); border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 40px 80px -30px rgba(15,42,30,.45); padding: 28px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .3s var(--ease), visibility .3s; z-index: 60;
}
.has-small { position: relative; }
.mega-small { left: -24px; right: auto; width: 340px; }
.has-menu.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 981px) {
  .has-menu:hover > .mega { opacity: 1; visibility: visible; transform: none; }
  .has-menu:hover .menu-btn .chev { transform: rotate(180deg); }
}
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr) 0.9fr; gap: 26px; }
.mega-hub { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; padding: 10px; margin: -10px -10px 8px; border-radius: 14px; transition: background .2s; }
.mega-hub:hover { background: var(--paper); color: var(--ink); }
.mega-hub b { display: block; font-family: var(--display); font-size: 1.08rem; letter-spacing: -0.02em; }
.mega-hub small { display: block; color: var(--slate); font-size: 0.85rem; line-height: 1.4; margin-top: 2px; }
.mega-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.mega-ic svg { width: 19px; height: 19px; }
.mega-col ul, .mega-list { list-style: none; margin: 0; padding: 0 0 0 50px; display: grid; gap: 2px; }
.mega-list { padding-left: 0; margin-top: 6px; }
.mega-col a, .mega-list a { display: block; padding: 7px 0; text-decoration: none; font-size: 0.95rem; color: var(--ink); }
.mega-list a { padding: 9px 12px; border-radius: 10px; }
.mega-col a:hover { color: var(--moss); }
.mega-list a:hover { background: var(--paper); color: var(--ink); }
.mega-promo { display: flex; flex-direction: column; gap: 8px; background: var(--ink); color: #eef3ea; border-radius: 18px; padding: 22px; text-decoration: none; }
.mega-promo:hover { color: #eef3ea; background: var(--ink-2); }
.mega-promo b { font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.02em; }
.mega-promo span { font-size: 0.92rem; color: var(--sage); }
.mega-promo .promo-tag { align-self: flex-start; background: var(--lime); color: var(--ink); font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.mega-promo .promo-link { margin-top: auto; color: var(--lime); font-weight: 600; }

@media (min-width: 981px) {
  .nav, .nav-links { height: 76px; }
  .nav-links > li { display: flex; align-items: center; }
}
@media (max-width: 1120px) and (min-width: 981px) { .nav-links { gap: 18px; } .nav { gap: 20px; } .nav .btn { padding: 0 16px; } }
@media (max-width: 980px) {
  .nav { max-height: calc(100vh - 76px); overflow-y: auto; }
  .menu-btn { width: 100%; justify-content: space-between; padding: 10px 0; font-size: 1.15rem; color: var(--fg); }
  .mega, .mega-small {
    position: static; width: auto; margin: 4px 0 10px; padding: 16px; border-radius: 16px; box-shadow: none;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-menu.is-open > .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; gap: 18px; }
  .mega-col ul { padding-left: 50px; }
  .mega-promo { display: none; }
}

/* ---------- Page hero (hubs, services, industries) ---------- */
.page-hero { background: var(--bg); color: var(--fg); padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(238,243,234,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(238,243,234,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 20%, transparent 75%);
}
.page-hero .wrap { position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-title { font-size: clamp(2.5rem, 5.6vw, 4.8rem); max-width: 16ch; }
.page-answer { margin-top: 24px; max-width: 60ch; color: #d3ddd5; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--lime); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--fg); }
.btn-ghost svg { width: 18px; height: 18px; }

.takeaways { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); margin-top: 8px; }
.takeaways h2 { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.02em; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.takeaways h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--lime); transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(200,240,74,.25); }
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.takeaways li { position: relative; padding-left: 20px; font-size: 0.97rem; line-height: 1.5; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); }
.takeaways-by { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--mist); font-size: 0.85rem; font-weight: 600; flex-wrap: wrap; }
.takeaways-by img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.takeaways-by span { font-weight: 400; color: var(--slate); width: 100%; padding-left: 46px; margin-top: -8px; }

/* ---------- Content blocks ---------- */
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col > * { min-width: 0; }
.prose-block p { margin: 0 0 18px; color: var(--muted); font-size: 1.08rem; }
.prose-block p:first-child { color: var(--fg); font-size: 1.15rem; }
.prose-block a { color: var(--accent-text); text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.included { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.included h3 { margin-bottom: 22px; }
.check-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }

.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.type-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 30px; }
.type-card h3 { margin-bottom: 10px; }
.type-card p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .type-grid { grid-template-columns: 1fr; } }

.signs-cost { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
@media (max-width: 860px) { .signs-cost { grid-template-columns: 1fr; } }
.signs { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.signs li { padding: 16px 0 16px 40px; border-bottom: 1px solid var(--line); position: relative; }
.signs li::before { content: "!"; position: absolute; left: 0; top: 14px; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; }
.cost-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.section:not(.white) .cost-card { background: var(--white); }
.cost-card h2 { margin-bottom: 14px; }
.cost-card p { color: var(--muted); margin: 0 0 18px; }
.cost-card .deliverables { margin-bottom: 18px; }
.cost-note { font-size: 0.92rem; font-weight: 600; color: var(--fg) !important; margin: 0 !important; }

.mid-cta { background: var(--bg); color: var(--fg); padding: clamp(40px, 5vw, 56px) 0; }
.mid-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.mid-cta p { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; max-width: 34ch; line-height: 1.25; }

.compare { margin: 0; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.compare thead th { background: var(--ink); color: #eef3ea; font-weight: 600; }
.compare .hl-1 thead th:nth-child(2), .compare .hl-2 thead th:nth-child(3) { background: var(--lime); color: var(--ink); }
.compare tbody th { font-weight: 700; width: 24%; }
.compare .hl-1 tbody td:nth-child(2), .compare .hl-2 tbody td:nth-child(3) { background: rgba(200,240,74,.14); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--mist); border-radius: var(--r-md); background: var(--white); }

.why { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.section:not(.white) .why-list li { background: var(--white); }
.why-list .ic { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.why-list .ic svg { width: 14px; height: 14px; }
.why-list strong { display: block; font-weight: 700; }
.why-list span { color: var(--muted); font-size: 0.97rem; }

.faq-h { margin: 0; font: inherit; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.link-card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px;
  transition: transform .3s var(--ease), border-color .2s, box-shadow .3s;
}
.section:not(.white) .link-card { background: var(--white); }
.link-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow); color: inherit; }
.link-card b { font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.15; }
.link-card span { color: var(--muted); font-size: 0.97rem; }
.link-card .card-more { margin-top: auto; padding-top: 8px; color: var(--accent-text); font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.link-card .card-more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.link-card:hover .card-more::after { transform: translateX(3px) rotate(45deg); }
.up-link { margin: 0; justify-self: end; }
.up-link a { font-weight: 700; color: var(--accent-text); }
@media (max-width: 860px) { .up-link { justify-self: start; } }

.search-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.search-list li { background: var(--paper); border-radius: 14px; padding: 14px 18px 14px 50px; position: relative; }
.search-list li::before {
  content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d7a1c' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.challenge { border-top: 3px solid var(--ink); padding-top: 22px; }
.challenge h3 { margin-bottom: 10px; }
.challenge p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .challenge-grid { grid-template-columns: 1fr; } }

/* ---------- Home silo grid ---------- */
.silo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .silo-grid { grid-template-columns: 1fr; } }
.silo-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; }
.silo-card:nth-child(2) { background: var(--ink); color: #eef3ea; border-color: var(--ink); --fg: #eef3ea; --muted: var(--sage); --line: rgba(238,243,234,.14); --accent-text: var(--lime); }
.silo-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--lime); display: grid; place-items: center; margin-bottom: 22px; }
.silo-card:nth-child(2) .silo-ic { background: var(--lime); color: var(--ink); }
.silo-ic svg { width: 24px; height: 24px; }
.silo-card h3 a { text-decoration: none; }
.silo-card > p { color: var(--muted); margin: 8px 0 20px; }
.silo-card ul { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.silo-card li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.silo-card li a b { display: block; font-weight: 700; transition: color .2s; }
.silo-card li a span { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 2px; }
.silo-card li a:hover b { color: var(--accent-text); }
.silo-more { margin-top: auto; font-weight: 700; color: var(--accent-text); }

.tag-cloud li a { text-decoration: none; display: block; margin: -9px -18px; padding: 9px 18px; border-radius: 999px; }
.tag-cloud li:has(a) { background: var(--ink); color: #eef3ea; border-color: var(--ink); }
.tag-cloud li:has(a):hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.tag-cloud li:has(a) a:hover { color: inherit; }
.tag-cloud li.tag-more { background: transparent; color: var(--fg); border-color: var(--fg); }

/* ---------- About & contact pages ---------- */
.about-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }
.about-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } }
.page-hero .contact-ways { border-top-color: var(--line); }
.page-hero .contact-ways a:hover span:last-child { color: var(--lime); }

/* ---------- Footer silo map ---------- */
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-top .btn { margin-top: 22px; }
.footer-silos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; padding: 44px 0 10px; }
.footer-silos h2 a { color: var(--fg); }
.footer-silos h2 a:hover { color: var(--lime); }
@media (max-width: 960px) { .footer-silos { grid-template-columns: repeat(2, 1fr); } .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .footer-silos { grid-template-columns: 1fr; } }
.not-found { min-height: 70vh; background: var(--bg); color: var(--fg); }

.mega a.mega-hub { display: flex; }
.mega-promo b { color: #ffffff; }
.site-footer a.btn-primary { color: var(--btn-fg); }
.site-footer a.btn-primary:hover { color: var(--btn-hover-fg); }

/* ---------- Blog cards & posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.post-card {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px;
  transition: transform .3s var(--ease), border-color .2s, box-shadow .3s;
}
.section:not(.white) .post-card { background: var(--white); }
.post-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow); color: inherit; }
.post-card b { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.02em; }
.post-card .post-ex { color: var(--muted); font-size: 0.97rem; }
.post-card .post-meta { margin-top: auto; padding-top: 10px; font-size: 0.85rem; }
.post-grid:has(> .post-card:only-child) .post-card { max-width: 760px; }
.post-cat { align-self: flex-start; font-size: 0.78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--lime); color: var(--ink); }
.post-cat.on-dark { display: inline-block; margin-bottom: 18px; }
.post-image { margin: 0 0 36px; border-radius: var(--r-md); overflow: hidden; }
.post-image img { width: 100%; height: auto; }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; margin-top: 40px; padding: 24px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--mist); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.author-box b { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.author-box p { margin: 4px 0 8px; font-size: 0.98rem; }
.card-grid:has(> :only-child) > * { max-width: 420px; }

/* ---------- Visibility grid map ---------- */
.grid-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 960px) { .grid-layout { grid-template-columns: 1fr; } .grid-copy { order: 2; } }
.mini-steps { list-style: none; margin: 0 0 30px; padding: 0; counter-reset: ms; border-top: 1px solid var(--line); }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mini-steps li::before { content: counter(ms); grid-row: span 2; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.mini-steps b { font-family: var(--display); font-size: 1.12rem; letter-spacing: -0.02em; }
.mini-steps span { color: var(--muted); font-size: 0.96rem; }

.map-card { position: relative; background: #0a1f15; border-radius: var(--r-lg); overflow: hidden; color: #eef3ea; box-shadow: 0 50px 90px -40px rgba(15,42,30,.65); }
.map-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid rgba(238,243,234,.1); }
.map-query { display: inline-flex; align-items: center; gap: 9px; background: rgba(238,243,234,.08); border-radius: 999px; padding: 8px 14px; font-size: 0.92rem; }
.map-query svg { width: 15px; height: 15px; color: var(--lime); }
.map-toggle { display: inline-flex; background: rgba(238,243,234,.08); border-radius: 999px; padding: 3px; }
.map-toggle button { border: 0; background: none; color: var(--sage); font-size: 0.86rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.map-toggle button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.map-toggle button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.map-stage { position: relative; }
.map-svg { width: 100%; height: auto; display: block; }
.map-parks path { fill: #143424; stroke: #24482f; stroke-width: 1; }
.map-roads path { fill: none; stroke: #27452f; stroke-width: 9; stroke-linecap: round; }
.map-roads.thin path { stroke: #1d3826; stroke-width: 3.5; }
.map-roads.flow path { stroke: #c8f04a; stroke-width: 1.4; stroke-dasharray: 4 10; opacity: .5; animation: roadflow 8s linear infinite; }
@keyframes roadflow { to { stroke-dashoffset: -140; } }
.map-places text { fill: #7f9584; font-size: 12px; font-family: var(--sans); letter-spacing: .02em; }
.map-ripple circle { fill: none; stroke: #c8f04a; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: mapripple 3.6s ease-out infinite; }
.map-ripple circle:nth-child(2) { animation-delay: 1.2s; }
.map-ripple circle:nth-child(3) { animation-delay: 2.4s; }
@keyframes mapripple { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(5); opacity: 0; } }
.map-home path { fill: #c8f04a; stroke: #0a1f15; stroke-width: 2; }
.map-home circle { fill: #0a1f15; }
.gd circle { stroke-width: 2; transition: fill .45s ease, stroke .45s ease; }
.gd text { font-family: var(--display); font-weight: 700; font-size: 13px; text-anchor: middle; dominant-baseline: central; transition: fill .45s ease; }
.gd.top circle { fill: #c8f04a; stroke: #e2fb8f; }
.gd.top text { fill: #0f2a1e; }
.gd.mid circle { fill: #3d7a1c; stroke: #5e9a37; }
.gd.mid text { fill: #eef3ea; }
.gd.low circle { fill: #20352a; stroke: #33503f; }
.gd.low text { fill: #93a597; font-size: 11px; }
.gd { transform-box: fill-box; transform-origin: center; }
.gd.pop { animation: gdpop .5s var(--ease); }
@keyframes gdpop { 40% { transform: scale(1.28); } }
.map-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 14px 18px; border-top: 1px solid rgba(238,243,234,.1); font-size: 0.92rem; color: var(--sage); }
.map-foot b { font-family: var(--display); font-size: 1.25rem; color: var(--lime); font-variant-numeric: tabular-nums; }
.map-note { margin-left: auto; font-size: 0.8rem; }
.map-legend { position: absolute; left: 14px; bottom: 64px; display: flex; gap: 6px; }
.map-legend .lg { font-size: 0.74rem; padding: 3px 9px; border-radius: 999px; }
.lg.top { background: #c8f04a; color: #0f2a1e; }
.lg.mid { background: #3d7a1c; color: #eef3ea; }
.lg.low { background: #20352a; color: #93a597; }
@media (max-width: 620px) { .map-legend { position: static; padding: 0 18px 14px; } .map-note { margin-left: 0; width: 100%; } }

/* ---------- Signals radar ---------- */
.signals-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .signals-grid { grid-template-columns: 1fr; } }
.radar-card { background: var(--ink); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.radar-svg { width: 100%; height: auto; overflow: visible; }
.rd-ring { fill: none; stroke: rgba(238,243,234,.12); stroke-width: 1; }
.rd-axis { stroke: rgba(238,243,234,.1); stroke-width: 1; }
.rd-poly { fill: rgba(200,240,74,.14); stroke: #c8f04a; stroke-width: 2.4; stroke-linejoin: round; transform-origin: 250px 190px; transition: transform 1.4s var(--ease), opacity .6s; }
.js-reveal .radar-card:not(.is-drawn) .rd-poly { transform: scale(0.05); opacity: 0; }
.rd-dot { fill: #c8f04a; filter: drop-shadow(0 0 6px rgba(200,240,74,.8)); transition: r .25s; }
.rd-dot.is-hot { r: 9; }
.rd-label { fill: #a9baae; font-family: var(--sans); font-size: 14px; font-weight: 600; transition: fill .25s; }
.rd-label.is-hot { fill: #c8f04a; }
.rd-sweep-wrap { transform-origin: 250px 190px; animation: sweep 10s linear infinite; }
.rd-sweep { fill: none; stroke: url(#none); }
.radar-card::before {
  content: ""; position: absolute; width: min(64%, 300px); aspect-ratio: 1; left: 50%; top: 47%; transform: translate(-50%, -50%);
  border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 78%, rgba(200,240,74,.13) 92%, transparent 97%);
  animation: radarspin 9s linear infinite; pointer-events: none;
}
@keyframes radarspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-cap { margin: 10px 0 0; color: var(--sage); font-size: 0.9rem; text-align: center; }
.signal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.signal-list a {
  display: grid; grid-template-columns: 36px 1fr 22px; gap: 14px; align-items: center; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px;
  transition: border-color .2s, transform .3s var(--ease), box-shadow .3s;
}
.signal-list a:hover, .signal-list a:focus-visible, .signal-list a.is-hot { border-color: var(--ink); transform: translateX(4px); box-shadow: var(--shadow); color: inherit; }
.sg-n { width: 32px; height: 32px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; font-family: var(--display); font-weight: 700; transition: background .2s; }
.signal-list a:hover .sg-n, .signal-list a.is-hot .sg-n { background: var(--lime); }
.signal-list b { display: block; font-weight: 700; }
.signal-list small { color: var(--slate); font-size: 0.92rem; }
.signal-list svg { width: 18px; height: 18px; color: var(--moss); }

/* hero: soft rings behind the portrait */
.hero-visual::before {
  content: ""; position: absolute; right: 2%; top: -4%; width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(200,240,74,.14);
  box-shadow: 0 0 0 36px rgba(200,240,74,.035), 0 0 0 72px rgba(200,240,74,.025);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .rd-poly { transform: none !important; opacity: 1 !important; } }

/* hero demo: AI block reads as a quiet skeleton until the answer appears */
.serp-ai { opacity: 1; transform: none; background: var(--paper); transition: background .5s ease; }
.serp-ai .ai-head { color: var(--slate); transition: color .5s; }
.serp.s-ai .serp-ai { background: var(--ink); }
.serp.s-ai .serp-ai .ai-head { color: var(--lime); }

/* ---------- Booking card (Cal.com inline + message form) ---------- */
.contact-section .contact-grid { align-items: start; }
.book-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 10px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); min-width: 0; --fg: var(--ink); --muted: var(--slate); --line: var(--mist); }
.book-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper); border-radius: 18px; padding: 4px; }
.book-tabs button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; background: none; cursor: pointer;
  padding: 12px 10px; border-radius: 14px; font-weight: 700; font-size: 0.95rem; color: var(--slate); transition: background .25s, color .25s, box-shadow .25s;
}
.book-tabs button svg { width: 18px; height: 18px; }
.book-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(15,42,30,.6); }
.book-tabs button[aria-selected="true"] svg { color: var(--lime); }
.book-tabs button:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.book-panel { padding: 10px 6px 6px; }
.book-panel .form { padding: 18px 14px 10px; box-shadow: none; }
.cal-wrap { position: relative; min-height: 620px; border-radius: 18px; overflow: hidden; }
.cal-inline { width: 100%; min-height: 620px; overflow: auto; }
.cal-loading {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--paper); border-radius: 18px; text-align: center; padding: 20px; transition: opacity .4s;
}
.cal-loading p { margin: 0; font-weight: 600; }
.cal-loading a { font-size: 0.9rem; color: var(--moss); font-weight: 600; }
.cal-loading.is-done { opacity: 0; pointer-events: none; }
.cal-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--mist); border-top-color: var(--ink); animation: calspin .9s linear infinite; }
@keyframes calspin { to { transform: rotate(360deg); } }
@media (max-width: 520px) { .book-tabs button { font-size: 0.86rem; gap: 6px; padding: 11px 6px; } .book-tabs button svg { display: none; } .cal-wrap, .cal-inline { min-height: 680px; } }
.page-hero.contact-section .contact-grid { gap: clamp(32px, 5vw, 64px); }

/* ---------- Worldwide markets card ---------- */
.world-card { background: var(--ink); color: #eef3ea; border-radius: var(--r-md); padding: 22px; }
.world-head { display: flex; gap: 14px; align-items: center; }
.globe-ic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.globe-ic svg { width: 24px; height: 24px; animation: globespin 14s linear infinite; }
@keyframes globespin { 50% { transform: rotate(18deg); } }
.world-head b { display: block; font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.02em; }
.world-head span { color: var(--sage); font-size: 0.95rem; }
.world-sub { margin: 18px 0 10px; font-size: 0.88rem; color: var(--sage); }
.tz-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tz-list li { background: rgba(238,243,234,.07); border-radius: 12px; padding: 10px 8px; text-align: center; min-width: 0; }
.tz-list li:first-child { background: rgba(200,240,74,.14); }
.tz-list b { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--lime); font-variant-numeric: tabular-nums; }
.tz-list span { display: block; font-size: 0.76rem; color: var(--sage); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .tz-list { grid-template-columns: repeat(3, 1fr); } }
.markets .tz-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.markets .tz-list li { display: block; border-bottom: 0; padding: 10px 6px; }
.markets .tz-list li span { color: var(--sage); font-size: 0.76rem; }
.world-head .globe-ic { color: var(--ink); }
@media (max-width: 1100px) { .markets .tz-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Brand logo (pin mark) ---------- */
.brand-pin { width: 42px; height: 49px; flex: none; filter: drop-shadow(0 6px 14px rgba(200,240,74,.22)); transition: transform .35s var(--ease); }
.brand-pin text { font-family: var(--display); }
.brand:hover .brand-pin { transform: translateY(-2px) rotate(-4deg); }
.brand-name { display: inline-flex; align-items: center; gap: 5px; font-size: 1.18rem; }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); display: inline-block; margin-bottom: 6px; }
.brand-role { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }

/* ---------- Hero live map background ---------- */
.hero-live { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.hero-shade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15,42,30,.78) 0%, rgba(15,42,30,.55) 34%, rgba(15,42,30,.08) 64%, rgba(15,42,30,0) 100%);
}
.hero.has-live::before { display: none; }
.live-cap {
  position: absolute; left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); bottom: 22px; z-index: 2; margin: 0;
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--sage);
  background: rgba(15,42,30,.7); border: 1px solid rgba(238,243,234,.12); border-radius: 999px; padding: 6px 12px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200,240,74,.6); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(200,240,74,0); } 100% { box-shadow: 0 0 0 0 rgba(200,240,74,0); } }
@media (max-width: 1020px) {
  .hero-shade { background: linear-gradient(180deg, rgba(15,42,30,.9) 0%, rgba(15,42,30,.72) 38%, rgba(15,42,30,.2) 70%, rgba(15,42,30,.55) 100%); }
  .live-cap { display: none; }
}

/* ---------- Portfolio ---------- */
.teaser-stats { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.teaser-stats li { padding: 26px 22px 6px 0; display: flex; flex-direction: column; gap: 8px; }
.teaser-stats li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.teaser-stats b { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; color: var(--lime); font-variant-numeric: tabular-nums; }
.teaser-stats span { color: var(--muted); font-size: 0.97rem; max-width: 24ch; }
@media (max-width: 860px) {
  .teaser-stats { grid-template-columns: 1fr 1fr; }
  .teaser-stats li, .teaser-stats li + li { padding: 22px 14px 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .teaser-stats li:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
}
.results-teaser .hero-actions { margin-top: 10px; }

.case-jump { margin-top: 30px; }
.case-jump ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.case-jump a { display: flex; flex-direction: column; text-decoration: none; padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, background .2s; }
.case-jump a:hover { border-color: var(--lime); background: rgba(200,240,74,.06); color: inherit; }
.case-jump span { font-weight: 700; }
.case-jump small { color: var(--muted); font-size: 0.85rem; }

.case { scroll-margin-top: 90px; }
.case-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; margin-bottom: 40px; }
@media (max-width: 900px) { .case-head { grid-template-columns: 1fr; } }
.case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 20px; color: var(--muted); font-size: 0.93rem; }
.case-side .lede { margin-bottom: 22px; color: var(--fg); }
.case-side h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 12px; }
.case-stats { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.case-stats li { background: var(--ink); color: #eef3ea; border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.case-stats li:first-child { background: var(--lime); color: var(--ink); }
.case-stats b { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.case-stats li:not(:first-child) b { color: var(--lime); }
.case-stats span { font-size: 0.95rem; color: var(--sage); }
.case-stats li:first-child span { color: var(--ink); }
@media (max-width: 860px) { .case-stats { grid-template-columns: 1fr 1fr; } }

.spark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .spark-grid { grid-template-columns: 1fr; } }
.spark { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px 10px; }
.section:not(.white) .spark, .section:not(.white) .viz-card { background: var(--white); }
.spark figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.spark figcaption span { font-weight: 700; }
.spark figcaption b { font-family: var(--display); font-size: 1.4rem; letter-spacing: -0.03em; }
.spark svg { width: 100%; height: auto; display: block; overflow: visible; }
.sp-area { fill: rgba(200,240,74,.28); }
.sp-line { fill: none; stroke: #0f2a1e; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.sp-dots circle { fill: #c8f04a; stroke: #0f2a1e; stroke-width: 2; }
.sp-x text { fill: #56655b; font-size: 11px; font-family: var(--sans); }
.js-reveal .spark:not(.is-in) .sp-line { stroke-dasharray: 900; stroke-dashoffset: 900; }
.spark .sp-line { transition: stroke-dashoffset 1.6s var(--ease); }
.viz-note { margin: 12px 0 0; font-size: 0.86rem; color: var(--muted); }

.realtor-viz, .ai-viz { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 860px) { .realtor-viz, .ai-viz { grid-template-columns: 1fr; } }
.viz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.viz-card h4 { margin: 0 0 16px; font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.02em; }
.donut-wrap { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; }
@media (max-width: 480px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; } }
.donut { width: 150px; height: 150px; }
.dn-big { font-family: var(--display); font-weight: 700; font-size: 20px; fill: var(--ink); }
.dn-small { font-size: 11px; fill: var(--slate); }
.donut-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; }
.donut-legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; font-size: 0.93rem; }
.donut-legend i { width: 12px; height: 12px; border-radius: 4px; }
.donut-legend b { font-variant-numeric: tabular-nums; }
.donut-legend small { color: var(--slate); font-weight: 500; }
.term-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.term-bars li { position: relative; display: flex; justify-content: space-between; padding: 11px 14px; border-radius: 10px; overflow: hidden; background: var(--paper); z-index: 0; }
.term-bars li i { position: absolute; inset: 0 auto 0 0; background: rgba(200,240,74,.45); z-index: -1; border-radius: 10px; }
.term-bars b { font-variant-numeric: tabular-nums; }
.ai-cites { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ai-cites li { display: grid; grid-template-columns: 1fr auto 90px; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 10px; background: var(--paper); }
.ai-cites b { font-family: var(--display); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ai-cites li.up b { color: var(--moss); }
.ai-cites li.down b { color: var(--warn); }
.ai-cites small { color: var(--slate); text-align: right; font-size: 0.84rem; }
.mini-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-stats li { background: var(--ink); color: #eef3ea; border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.mini-stats b { font-family: var(--display); font-size: 2rem; letter-spacing: -0.04em; color: var(--lime); }
.mini-stats span { color: var(--sage); font-size: 0.93rem; }

.case-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 22px; }
.shots { flex: 1 1 100%; order: 2; }
.shots summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; list-style: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }
.shots summary::-webkit-details-marker { display: none; }
.shots summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .3s var(--ease); }
.shots[open] summary::before { transform: rotate(45deg); }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 16px; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #111; }
.shot figcaption { margin-top: 8px; font-size: 0.86rem; color: var(--muted); }
.case-foot .read-link { order: 1; margin-left: auto; }
.mini-stats li { justify-content: center; }
.ai-viz { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 860px) { .ai-viz { grid-template-columns: 1fr; } }
