/* ==========================================================
   helplocalbiz.com v2 - "Always On"
   Cinematic dark theme with motion
   ========================================================== */

/* --- Inter font --- */
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* --- Tokens --- */
:root {
  --hlb-blue:        #1B6FE3;
  --hlb-blue-light:  #4A8FE8;
  --hlb-blue-pale:   #A8C8F0;
  --hlb-blue-glow:   rgba(74, 143, 232, 0.25);
  --hlb-navy:        #0A2540;
  --hlb-navy-deep:   #051529;
  --hlb-navy-mid:    #0E2C50;
  --hlb-white:       #FFFFFF;
  --hlb-text:        #DCE5F0;
  --hlb-text-mute:   #8FA3BD;
  --hlb-line:        rgba(255, 255, 255, 0.08);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1240px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(5rem, 12vw, 9rem);

  --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hlb-text);
  background: var(--hlb-navy-deep);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { padding: 0; margin: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -10000px; top: 8px;
  background: var(--hlb-blue); color: white;
  padding: 0.5rem 1rem; border-radius: 6px; z-index: 1000;
}
.skip-link:focus { left: 8px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 2;
}
.container-narrow { max-width: var(--container-narrow); }

/* ==========================================================
   AMBIENT BACKGROUND
   Floating gradient orbs + grain texture for depth
   ========================================================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: var(--hlb-blue); top: -200px; left: -200px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: #2858a8; top: 40%; right: -100px; animation-delay: -7s; opacity: 0.35; }
.orb-3 { width: 700px; height: 700px; background: var(--hlb-blue-light); bottom: -300px; left: 30%; animation-delay: -14s; opacity: 0.3; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.05); }
  66% { transform: translate(-40px, 50px) scale(0.95); }
}
.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' /></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.04;
  mix-blend-mode: overlay;
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(5, 21, 41, 0.78);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  padding: 0.85rem 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.625rem;
}
.brand-mark { width: 24px; height: 28px; }
.brand-text {
  font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em;
  color: var(--hlb-white);
}
.brand-text .dot { color: var(--hlb-blue-light); }
.primary-nav {
  display: flex; gap: 2rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--hlb-text-mute);
}
.primary-nav a:hover { color: var(--hlb-white); }

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none; border: 0;
  transition: all 0.3s var(--easing);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-pill {
  background: var(--hlb-blue);
  color: var(--hlb-white);
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  border: 1px solid rgba(74, 143, 232, 0.5);
  box-shadow:
    0 0 0 0 rgba(27, 111, 227, 0.4),
    0 4px 14px rgba(27, 111, 227, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}
.btn-pill::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--hlb-blue-light), var(--hlb-blue));
  opacity: 0; transition: opacity 0.3s ease;
}
.btn-pill > * { position: relative; z-index: 1; }
.btn-pill:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 4px rgba(27, 111, 227, 0.18),
    0 8px 22px rgba(27, 111, 227, 0.45);
}
.btn-pill:hover::before { opacity: 1; }

.btn-glow {
  background: var(--hlb-blue); color: var(--hlb-white);
  padding: 1.05rem 1.75rem; font-size: 1rem;
  box-shadow:
    0 0 0 0 rgba(27, 111, 227, 0.6),
    0 8px 28px rgba(27, 111, 227, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.btn-glow::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--hlb-blue-light), var(--hlb-blue));
  opacity: 0; transition: opacity 0.4s ease;
}
.btn-glow span { position: relative; z-index: 1; }
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 6px rgba(27, 111, 227, 0.15),
    0 12px 36px rgba(27, 111, 227, 0.5);
}
.btn-glow:hover::before { opacity: 1; }

.btn-ghost-dark {
  color: var(--hlb-text); background: transparent;
  border: 1px solid var(--hlb-line);
  padding: 1.05rem 1.75rem; font-size: 1rem;
  backdrop-filter: blur(10px);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.18); }

.btn-block { width: 100%; }
.arrow { transition: transform 0.3s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem; padding-bottom: 4rem;
  overflow: hidden;
}
.hero-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.7;
  pointer-events: none;
}
.map-svg { width: 100%; height: 100%; }
.pin-light {
  opacity: 0;
  animation: pinLight 0.8s var(--easing) forwards;
  animation-delay: calc(var(--delay, 0) * 1ms);
  transform-origin: var(--x, 0) var(--y, 0);
}
.pin-dot {
  animation: dotPulse 3s ease-in-out infinite;
}
.pin-light.featured .pin-dot {
  animation: dotPulseFeatured 2.4s ease-in-out infinite;
}
@keyframes pinLight {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.6; r: 5; }
  50% { opacity: 1; r: 7; }
}
@keyframes dotPulseFeatured {
  0%, 100% { opacity: 0.85; r: 9; }
  50% { opacity: 1; r: 13; }
}

.hero-content {
  position: relative; z-index: 3;
  max-width: 900px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(74, 143, 232, 0.1);
  border: 1px solid rgba(74, 143, 232, 0.25);
  color: var(--hlb-blue-pale);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s var(--easing) 0.2s both;
}
.status-dot {
  width: 8px; height: 8px;
  background: #1FA672;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(31, 166, 114, 0.7);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 166, 114, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(31, 166, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 166, 114, 0); }
}

.hero-title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--hlb-white);
  margin: 0 0 1.5rem;
}
.hero-title .line {
  display: block;
  opacity: 0;
  animation: fadeUpHero 1s var(--easing) forwards;
}
.hero-title .line-1 { animation-delay: 0.4s; }
.hero-title .line-2 {
  animation-delay: 0.7s;
  background: linear-gradient(135deg, var(--hlb-blue-light) 0%, var(--hlb-blue-pale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes fadeUpHero {
  from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--hlb-text-mute);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
  animation: fadeUp 1s var(--easing) 1s both;
}
.hero-ctas {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeUp 1s var(--easing) 1.2s both;
}
.hero-meta {
  display: flex; justify-content: center; flex-wrap: wrap;
  align-items: center; gap: 1.25rem;
  font-size: 0.875rem; color: var(--hlb-text-mute);
  animation: fadeUp 1s var(--easing) 1.4s both;
}
.hero-meta strong { color: var(--hlb-white); font-weight: 700; }
.meta-divider { width: 4px; height: 4px; background: var(--hlb-text-mute); border-radius: 50%; opacity: 0.4; }

.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--hlb-text-mute);
  font-size: 0.7rem; letter-spacing: 0.3em; font-weight: 600;
  z-index: 4;
  animation: fadeUp 1s var(--easing) 2s both;
}
.scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--hlb-text-mute), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.6); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 720px) {
  .primary-nav { display: none; }
  .hero-meta { gap: 0.75rem; font-size: 0.75rem; }

  /* Hero stacks: content tightened, map area below, both fit cleanly within ~100vh */
  .hero {
    min-height: 100vh;
    align-items: flex-start;
    padding-top: 5rem;
    padding-bottom: 260px;  /* reserves space for the map area below content */
  }
  /* Tighten content gaps on mobile so everything fits */
  .hero-eyebrow { margin-bottom: 1.25rem; }
  .hero-title { font-size: 3rem; line-height: 0.98; margin-bottom: 1.25rem; }
  .hero-lede { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero-ctas { margin-bottom: 1.5rem; }
  .hero-meta { font-size: 0.7rem; }
  .scroll-hint { display: none; }  /* scroll-hint redundant on mobile */

  /* Map sits in its own 240px tall band at the very bottom of the hero */
  .hero-map {
    top: auto;
    bottom: 0;
    height: 260px;
    opacity: 1;
  }
  /* Bright readable labels */
  .hero-map text {
    display: block !important;
    fill: #FFFFFF !important;
    opacity: 1 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
  }
  .pin-light.featured text {
    font-size: 30px !important;
  }
  .connections { opacity: 0.5; stroke-width: 2; }
  .pin-light circle:first-child { r: 50; }
  .pin-light.featured circle:first-child { r: 90; }
  .pin-dot { fill: #FFFFFF !important; }

  /* Soft fade where the map meets the hero content above */
  .hero-map::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, var(--hlb-navy-deep), transparent);
    pointer-events: none;
    z-index: 5;
  }

  /* Add a soft fade where map meets text so the transition feels intentional */
  .hero-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--hlb-navy-deep) 0%, transparent 25%);
    pointer-events: none;
    z-index: 1;
  }
}

/* ==========================================================
   REVEAL ANIMATIONS (used on most sections)
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--easing), transform 1s var(--easing);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-stagger="1"].in { transition-delay: 0.05s; }
.reveal[data-stagger="2"].in { transition-delay: 0.15s; }
.reveal[data-stagger="3"].in { transition-delay: 0.25s; }
.reveal[data-stagger="4"].in { transition-delay: 0.35s; }
.reveal[data-stagger="5"].in { transition-delay: 0.45s; }
.reveal[data-stagger="6"].in { transition-delay: 0.55s; }

/* ==========================================================
   SECTION COMMON
   ========================================================== */
.section { padding: var(--section-y) 0; position: relative; z-index: 2; }

.section-eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--hlb-blue-light); font-weight: 700;
  margin: 0 0 1.5rem;
}
.section-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  color: var(--hlb-white);
  margin: 0 0 1.25rem;
  max-width: 800px;
}

/* ==========================================================
   STORY SECTION
   ========================================================== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 3rem 0 4rem;
}
.story-stat {
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  border: 1px solid var(--hlb-line);
  border-radius: 16px;
}
.story-stat.highlight {
  background: linear-gradient(180deg, rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0));
  border-color: rgba(220, 53, 69, 0.2);
}
.stat-time {
  font-size: 0.875rem; color: var(--hlb-blue-light);
  font-weight: 700; letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.story-stat.highlight .stat-time { color: #FF8B95; }
.stat-label { color: var(--hlb-text); font-size: 0.95rem; line-height: 1.5; margin: 0; }

.story-headline {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--hlb-white);
  max-width: 900px;
  margin: 0 0 1.5rem;
}
.accent {
  background: linear-gradient(135deg, var(--hlb-blue-light), var(--hlb-blue-pale));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.story-cta { color: var(--hlb-text-mute); font-size: 1.0625rem; max-width: 700px; margin: 0; }

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

/* ==========================================================
   WHAT WE BUILD
   ========================================================== */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.product-card {
  position: relative;
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border: 1px solid var(--hlb-line);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s var(--easing), border-color 0.4s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 143, 232, 0.3);
}
.product-card.featured {
  background: linear-gradient(180deg, rgba(74, 143, 232, 0.08), rgba(74, 143, 232, 0.01));
  border-color: rgba(74, 143, 232, 0.3);
}
.product-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: var(--hlb-blue);
  filter: blur(100px);
  opacity: 0.15;
  top: -100px; right: -100px;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.product-card:hover .product-glow { opacity: 0.3; }
.product-tag {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.15em;
  color: var(--hlb-blue-light);
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  background: rgba(74, 143, 232, 0.15);
  border: 1px solid rgba(74, 143, 232, 0.3);
  border-radius: 999px;
}
.product-icon {
  width: 56px; height: 56px;
  background: rgba(74, 143, 232, 0.1);
  border: 1px solid rgba(74, 143, 232, 0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--hlb-blue-light);
  margin-bottom: 1.5rem;
}
.product-icon svg { width: 30px; height: 30px; }
.product-card h3 {
  font-size: 1.625rem; color: var(--hlb-white);
  margin: 0 0 0.75rem; font-weight: 700; letter-spacing: -0.02em;
}
.product-pitch { color: var(--hlb-text-mute); font-size: 1rem; margin-bottom: 1.5rem; }
.product-features {
  display: flex; flex-direction: column; gap: 0.625rem;
}
.product-features li {
  position: relative; padding-left: 1.5rem;
  color: var(--hlb-text); font-size: 0.9375rem;
}
.product-features li::before {
  content: "";
  position: absolute; left: 0; top: 0.55rem;
  width: 8px; height: 8px;
  background: var(--hlb-blue-light);
  border-radius: 2px;
  transform: rotate(45deg);
}
@media (max-width: 720px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 1.75rem; }
}

/* ==========================================================
   PROCESS
   ========================================================== */
.process-list {
  display: flex; flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--hlb-line);
}
.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--hlb-line);
  align-items: center;
  transition: background 0.4s ease;
}
.process-item:hover { background: rgba(255,255,255,0.015); }
.process-num {
  font-size: 3.5rem; font-weight: 800;
  color: var(--hlb-blue);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--hlb-blue-light), var(--hlb-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.process-item h3 {
  font-size: 1.5rem; color: var(--hlb-white);
  margin: 0 0 0.4rem; font-weight: 700; letter-spacing: -0.02em;
}
.process-item p { color: var(--hlb-text-mute); margin: 0; font-size: 1rem; max-width: 560px; }
@media (max-width: 720px) {
  .process-item { grid-template-columns: 1fr; gap: 0.75rem; padding: 2rem 0; }
  .process-num { font-size: 2.25rem; }
}

/* ==========================================================
   QUOTES
   ========================================================== */
.quotes-section { padding: 5rem 0; }
.quote {
  margin: 0; max-width: 880px; margin-left: auto; margin-right: auto;
  text-align: center;
}
.quote blockquote {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.3;
  color: var(--hlb-white); margin: 0 0 2rem;
  position: relative; padding: 0 2rem;
}
.quote-mark {
  font-size: 4rem; line-height: 0; vertical-align: -0.4em;
  color: var(--hlb-blue-light); margin-right: 0.25em; opacity: 0.6;
}
.quote figcaption strong { display: block; color: var(--hlb-white); font-weight: 600; font-size: 1rem; }
.quote figcaption span { color: var(--hlb-text-mute); font-size: 0.875rem; }

/* ==========================================================
   CONTACT FORM
   ========================================================== */
.contact-section { background: linear-gradient(180deg, transparent, rgba(74, 143, 232, 0.04)); }
.contact-sub { color: var(--hlb-text-mute); margin: 0 0 2.5rem; font-size: 1.0625rem; }

.contact-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--hlb-line);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  backdrop-filter: blur(10px);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field > span {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--hlb-text-mute);
  letter-spacing: 0.02em;
}

.form-field .req { color: var(--hlb-blue-light); margin-left: 2px; font-weight: 700; }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans); font-size: 0.95rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hlb-line);
  border-radius: 10px;
  color: var(--hlb-white);
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--hlb-blue);
  background: rgba(74, 143, 232, 0.08);
  box-shadow: 0 0 0 3px rgba(27, 111, 227, 0.2);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field option { background: var(--hlb-navy); color: var(--hlb-white); }
.form-note { font-size: 0.8125rem; color: var(--hlb-text-mute); text-align: center; margin: 0.5rem 0 0; }
.hp-field { position: absolute; left: -10000px; visibility: hidden; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  border-top: 1px solid var(--hlb-line);
  padding: 4rem 0 2rem;
  position: relative; z-index: 2;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.footer-logo { height: 36px; width: auto; margin-bottom: 0.875rem; }
.footer-tagline { color: var(--hlb-text-mute); font-size: 0.9375rem; margin: 0; }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: flex-end;
  font-size: 0.8125rem; color: var(--hlb-text-mute);
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-meta { justify-content: flex-start; }
}



/* ==========================================================
   NEW MOTION POLISH (added v2.1)
   ========================================================== */

/* --- Cursor-following ambient glow (desktop only) --- */
.cursor-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 143, 232, 0.18) 0%, rgba(74, 143, 232, 0) 70%);
  pointer-events: none;
  filter: blur(40px);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  will-change: transform;
}
.cursor-glow.visible { opacity: 1; }
@media (hover: none), (max-width: 720px) {
  .cursor-glow { display: none; }
}

/* --- Floating particles (firefly atmosphere) --- */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--hlb-blue-light);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--hlb-blue-light);
  opacity: 0;
  animation: floatUp linear infinite;
  will-change: transform, opacity;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0.6); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* --- Word-by-word hero reveal --- */
.hero-title .word {
  display: inline-block;
  margin-right: 0.25em;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  animation: wordIn 0.9s var(--easing) forwards;
}
.hero-title .line-1 .word:nth-child(1) { animation-delay: 0.30s; }
.hero-title .line-1 .word:nth-child(2) { animation-delay: 0.42s; }
.hero-title .line-2 .word:nth-child(1) { animation-delay: 0.62s; }
.hero-title .line-2 .word:nth-child(2) { animation-delay: 0.74s; }
.hero-title .line-2 .word:nth-child(3) { animation-delay: 0.86s; }
.hero-title .line-2 .word:nth-child(4) { animation-delay: 0.98s; }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(40px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
/* Override the old line-level animation since words handle it now */
.hero-title .line { opacity: 1; animation: none; }

/* --- Connection lines drawing in --- */
.connection-line {
  stroke-dasharray: var(--len, 500);
  stroke-dashoffset: var(--len, 500);
  opacity: 0;
  animation: drawLine 1.6s var(--easing) forwards, lineShimmer 4s ease-in-out infinite 2.5s;
}
.connection-line:nth-child(1) { --len: 500; animation-delay: 1.5s; }
.connection-line:nth-child(2) { --len: 450; animation-delay: 1.6s; }
.connection-line:nth-child(3) { --len: 280; animation-delay: 1.7s; }
.connection-line:nth-child(4) { --len: 135; animation-delay: 1.8s; }
.connection-line:nth-child(5) { --len: 305; animation-delay: 1.9s; }
.connection-line:nth-child(6) { --len: 150; animation-delay: 2.0s; }
.connection-line:nth-child(7) { --len: 135; animation-delay: 2.1s; }
.connection-line:nth-child(8) { --len: 215; animation-delay: 2.2s; }
.connection-line:nth-child(9) { --len: 170; animation-delay: 2.3s; }
.connection-line:nth-child(10) { --len: 320; animation-delay: 2.4s; }
.connection-line:nth-child(11) { --len: 165; animation-delay: 2.5s; }
.connection-line:nth-child(12) { --len: 170; animation-delay: 2.6s; }
.connection-line:nth-child(13) { --len: 160; animation-delay: 2.7s; }
@keyframes drawLine {
  to { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes lineShimmer {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.5; }
}

/* --- Magnetic CTA button --- */
.btn-glow {
  will-change: transform;
}

/* --- Hero scroll fade (handled via JS + CSS variable) --- */
.hero-content {
  --scroll-progress: 0;
  opacity: calc(1 - var(--scroll-progress));
  transform: translateY(calc(var(--scroll-progress) * -40px));
}

/* Reduced motion: kill the new flashy stuff */
@media (prefers-reduced-motion: reduce) {
  .particles, .cursor-glow, .connection-line { display: none !important; }
  .hero-title .word { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-content { opacity: 1 !important; transform: none !important; }
}

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

/* ==========================================================
   FOOTER SERVICE-AREAS NAV
   ========================================================== */
.footer-areas {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hlb-line);
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.footer-areas-label {
  color: var(--hlb-text-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
}
.footer-areas a {
  color: var(--hlb-blue-pale);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--easing), color 200ms var(--easing);
}
.footer-areas a:hover {
  color: var(--hlb-white);
  border-bottom-color: var(--hlb-blue);
}

/* ==========================================================
   FOOTER LEGAL + CONSENT LINKS
   ========================================================== */
.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--hlb-line);
  font-size: 0.8125rem;
  color: var(--hlb-text-mute);
}
.footer-legal a {
  color: var(--hlb-text-mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 200ms var(--easing), border-color 200ms var(--easing);
  cursor: pointer;
}
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--hlb-white);
  border-bottom-color: var(--hlb-blue);
  outline: none;
}
.footer-legal-sep {
  color: var(--hlb-line);
  user-select: none;
}
@media (max-width: 600px) {
  .footer-legal-sep { display: none; }
  .footer-legal { gap: 0.5rem 1rem; }
}

/* ==========================================================
   SERVICE AREAS HUB + CITY PAGES
   ========================================================== */
.areas-page {
  padding: 9rem 0 5rem;
  position: relative;
  z-index: 1;
}
.areas-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(74, 143, 232, 0.1);
  border: 1px solid rgba(74, 143, 232, 0.25);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--hlb-blue-light);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.areas-h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hlb-white);
  margin: 0 0 1.25rem;
  line-height: 1.05;
}
.areas-lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--hlb-text);
  max-width: 720px;
  margin: 0 0 2.5rem;
  line-height: 1.55;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.area-card {
  display: block;
  text-decoration: none;
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--hlb-line);
  border-radius: 18px;
  color: var(--hlb-text);
  transition: transform 280ms var(--easing), border-color 280ms var(--easing), background 280ms var(--easing);
  position: relative;
  overflow: hidden;
}
.area-card:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 143, 232, 0.5);
  background: linear-gradient(180deg, rgba(74,143,232,0.08), rgba(255,255,255,0.02));
}
.area-card .area-pin {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(27, 111, 227, 0.18);
  border: 1px solid rgba(74, 143, 232, 0.4);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.area-card .area-pin::after {
  content: "";
  width: 10px; height: 10px;
  background: var(--hlb-blue-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--hlb-blue-glow);
}
.area-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  color: var(--hlb-white);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.area-card p {
  margin: 0;
  color: var(--hlb-text-mute);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.area-card .area-arrow {
  position: absolute;
  top: 1.75rem; right: 1.75rem;
  color: var(--hlb-blue-light);
  font-size: 1.125rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 280ms var(--easing), transform 280ms var(--easing);
}
.area-card:hover .area-arrow {
  opacity: 1;
  transform: translateX(0);
}
.areas-also {
  margin: 3rem 0 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hlb-line);
}
.areas-also h2 {
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hlb-blue-light);
  margin: 0 0 1.25rem;
  font-weight: 600;
}
.areas-also-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  list-style: none;
  padding: 0; margin: 0;
}
.areas-also-list li {
  padding: 0.55rem 1rem;
  border: 1px solid var(--hlb-line);
  border-radius: 999px;
  color: var(--hlb-text);
  font-size: 0.9375rem;
  background: rgba(255,255,255,0.02);
}

/* ----- City subpage layout ----- */
.city-page {
  padding: 9rem 0 5rem;
}
.breadcrumb {
  font-size: 0.875rem;
  color: var(--hlb-text-mute);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--hlb-blue-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover { border-bottom-color: var(--hlb-blue); }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.4; }
.city-section {
  padding: 3rem 0;
  border-top: 1px solid var(--hlb-line);
}
.city-section:first-of-type { border-top: 0; padding-top: 0; }
.city-section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--hlb-white);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.city-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--hlb-blue-pale);
  margin: 1.75rem 0 0.5rem;
}
.city-section p {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 0 1.1rem;
  color: var(--hlb-text);
}
.city-section ul {
  margin: 0.5rem 0 1.25rem 1.25rem;
  padding: 0;
  color: var(--hlb-text);
}
.city-section ul li { margin-bottom: 0.4rem; line-height: 1.55; }
.city-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 760px) {
  .city-twocol { grid-template-columns: 1fr; gap: 1.5rem; }
}
.city-callout {
  padding: 1.5rem 1.75rem;
  background: linear-gradient(180deg, rgba(27,111,227,0.1), rgba(27,111,227,0.03));
  border: 1px solid rgba(74,143,232,0.3);
  border-radius: 16px;
  margin: 1.5rem 0;
}
.city-callout p { margin: 0; color: var(--hlb-blue-pale); font-size: 1rem; }
.city-faq details {
  border: 1px solid var(--hlb-line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,0.02);
}
.city-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--hlb-white);
  padding: 0.25rem 0;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.city-faq summary::-webkit-details-marker { display: none; }
.city-faq summary::after {
  content: "+";
  position: absolute;
  top: 0.25rem; right: 0;
  width: 1.5rem; height: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--hlb-blue-light);
  font-size: 1.25rem;
  transition: transform 200ms var(--easing);
}
.city-faq details[open] summary::after { transform: rotate(45deg); }
.city-faq details p {
  margin: 0.75rem 0 0;
  color: var(--hlb-text-mute);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.city-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(27,111,227,0.18), rgba(74,143,232,0.06));
  border: 1px solid rgba(74,143,232,0.3);
  border-radius: 24px;
  text-align: center;
}
.city-cta h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  margin: 0 0 0.75rem;
  color: var(--hlb-white);
}
.city-cta p {
  color: var(--hlb-text);
  margin: 0 0 1.75rem;
  font-size: 1rem;
}

/* ==========================================================
   v3 ADDITIONS: System pillars, In action, Behind the System
   ========================================================== */

/* Section subtitle (under section-title) */
.section-sub {
  color: var(--hlb-text-mute);
  font-size: 1.0625rem;
  max-width: 720px;
  margin: 0.75rem 0 0;
  line-height: 1.55;
}

/* 6-pillar grid (3 columns desktop, 2 tablet, 1 mobile) */
.pillars-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* Closing line under section grids */
.system-closing {
  color: var(--hlb-text-mute);
  font-size: 1.0625rem;
  text-align: center;
  max-width: 720px;
  margin: 2.5rem auto 0;
  line-height: 1.55;
  font-style: italic;
}

/* In Action: vertical examples */
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.vertical-card {
  position: relative;
  padding: 2.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  border: 1px solid var(--hlb-line);
  border-radius: 20px;
  transition: transform 0.4s var(--easing), border-color 0.4s ease;
}
.vertical-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 143, 232, 0.3);
}
.vertical-card h3 {
  font-size: 1.375rem;
  color: var(--hlb-white);
  margin: 0 0 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hlb-line);
}
.vertical-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.vertical-list li {
  font-size: 0.9375rem;
  color: var(--hlb-text-mute);
  line-height: 1.5;
}
.vertical-list li strong {
  color: var(--hlb-blue-light);
  font-weight: 600;
}
@media (max-width: 980px) {
  .vertical-grid { grid-template-columns: 1fr; }
  .vertical-card { padding: 1.75rem; }
}

/* Behind the System (credibility section) */
.behind-section .section-title { max-width: 720px; }
.behind-body {
  margin-top: 2rem;
}
.behind-body p {
  color: var(--hlb-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.behind-signoff {
  margin-top: 2rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hlb-line);
  color: var(--hlb-blue-light) !important;
  font-size: 1rem !important;
}
.behind-signoff strong { color: var(--hlb-white); }
