/* Aurora Network Solutions site styles — extends tokens.css */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg-deep); color-scheme: dark; scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   AMBIENT PAGE WASH
   Subtle aurora glow tucked behind every page; doesn't intrude.
   ============================================================ */
.page-wash {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 600px at 15% -10%, rgba(74,143,231,0.10), transparent 60%),
    radial-gradient(900px 600px at 85% -5%, rgba(139,92,246,0.10), transparent 60%),
    radial-gradient(1200px 700px at 50% 120%, rgba(46,184,198,0.06), transparent 60%);
}
.app-root { position: relative; z-index: 1; }

/* ============================================================
   SECTIONS / CONTAINER
   ============================================================ */
.section {
  padding-block: clamp(72px, 12vw, 140px);
  position: relative;
}
.section--tight { padding-block: clamp(48px, 8vw, 96px); }
.section--first { padding-top: calc(var(--nav-h-desktop) + clamp(40px, 6vw, 88px)); }
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 920px; }
.container--wide   { max-width: 1360px; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--aurora-blue);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.5;
}

/* ============================================================
   HEADLINE / TYPE UTILITIES
   ============================================================ */
.display {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 8.4vw, 128px);
  line-height: 1.02; letter-spacing: -0.025em;
  text-wrap: balance;
}
.display .beat { display: inline; }
.display .beat-aurora {
  background: var(--aurora-ribbon);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: aurora-drift 12s var(--ease-aurora) infinite alternate;
}
@keyframes aurora-drift {
  0%   { background-position:   0% 50%; }
  100% { background-position: 100% 50%; }
}

.h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05; letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1; letter-spacing: -0.015em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2; letter-spacing: -0.01em;
}
.h4 {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-lg); line-height: 1.25;
}
.lede {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55; color: var(--fg-2);
  font-weight: 400;
  max-width: 64ch;
}
.body { color: var(--fg-2); line-height: 1.65; }
.mono { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--fg-2); }
.dim  { color: var(--fg-3); }

/* aurora text accent (one phrase per page) */
.beat-aurora { 
  background: var(--aurora-ribbon);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: aurora-drift 12s var(--ease-aurora) infinite alternate;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 600;
  font-size: 15px; letter-spacing: 0;
  border: 1px solid transparent;
  transition: background 200ms var(--ease-aurora), border-color 200ms var(--ease-aurora),
              box-shadow 320ms var(--ease-aurora), filter 200ms var(--ease-aurora),
              transform 200ms var(--ease-aurora), color 200ms var(--ease-aurora);
  white-space: nowrap;
  position: relative;
}
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }

.btn--primary {
  background: var(--aurora-ribbon);
  /* Kill the 1px edge slivers (far-end gradient color wrapping onto the
     opposite edge of the pill): backgrounds tile by default, and on
     fractional/retina pixel boundaries a hair of the neighboring tile
     paints at each end. no-repeat removes the tiles; oversizing the one
     gradient tile by 1px per side hides its ends past the rounded edge.
     Safe from the old Safari >100% bleed BECAUSE of the no-repeat. */
  background-repeat: no-repeat;
  background-size: calc(100% + 2px) calc(100% + 2px);
  background-position: center;
  color: var(--fg-on-aurora);
  box-shadow: var(--glow-aurora);
}
.btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: var(--glow-aurora), 0 0 60px rgba(139,92,246,0.35);
}
.btn--primary:active { filter: brightness(0.96); transform: translateY(0); }

.btn--secondary {
  background: transparent; color: var(--fg-1);
  border-color: var(--border-soft);
}
.btn--secondary:hover { background: var(--bg-elev-1); border-color: var(--border-strong); }

.btn--ghost { background: transparent; color: var(--fg-1); }
.btn--ghost:hover { background: var(--bg-elev-1); }

.btn--link {
  background: transparent; border: 0;
  padding: 0; height: auto;
  color: var(--fg-1); font-weight: 500;
  border-radius: 0;
}
.btn--link:hover { color: var(--fg-1); }
.btn--link .underline { 
  display: inline-block; height: 1px; background: currentColor; 
  width: 24px; transition: width 320ms var(--ease-aurora); 
}
.btn--link:hover .underline { width: 40px; }

.btn .icon { width: 18px; height: 18px; stroke-width: 1.75; }

/* ============================================================
   CARD
   ============================================================ */
.card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-quiet);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: box-shadow 320ms var(--ease-aurora), border-color 320ms var(--ease-aurora), transform 320ms var(--ease-aurora);
  position: relative;
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-card-hover); border-color: var(--border-soft); }
.card--edge::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: var(--aurora-cool); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card--linked { cursor: pointer; display: flex; flex-direction: column; }
.card--linked:hover { transform: translateY(-2px); }

/* ============================================================
   CHIPS / BADGES / DIVIDERS
   ============================================================ */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-elev-2);
  color: var(--fg-2);
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  border: 1px solid var(--border-quiet);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--aurora-green); box-shadow: 0 0 8px var(--aurora-green); }

.divider { height: 1px; background: var(--border-quiet); border: 0; }
.divider-aurora { height: 1px; background: var(--aurora-ribbon); opacity: 0.5; border: 0; }

/* ============================================================
   INPUTS
   ============================================================ */
.input, .textarea, .select {
  display: block; width: 100%;
  padding: 14px 16px;
  background: var(--bg-elev-2);
  color: var(--fg-1);
  border: 1px solid var(--border-quiet);
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 15px;
  transition: border-color 200ms var(--ease-aurora), box-shadow 200ms var(--ease-aurora), background 200ms var(--ease-aurora);
  font: inherit;
}
.input { height: 48px; padding-block: 0; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { height: 48px; padding-block: 0; appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.input::placeholder, .textarea::placeholder { color: var(--fg-3); }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--aurora-blue);
  box-shadow: 0 0 0 3px rgba(74,143,231,0.18);
  background: var(--bg-elev-3);
}
.label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: 13px;
  color: var(--fg-2); letter-spacing: 0.02em;
}
.field { display: flex; flex-direction: column; gap: 0; }
.field + .field { margin-top: 18px; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ============================================================
   STARFIELD MOTIF
   ============================================================ */
.starfield {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.starfield .star {
  position: absolute; background: rgba(245,239,227,0.7); border-radius: 50%;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h-desktop);
  background: rgba(10,14,31,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-quiet);
  transition: background 320ms var(--ease-aurora), border-color 320ms var(--ease-aurora);
}
.site-header .inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 32px; height: 32px; }
.brand .wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: 0.04em; color: var(--fg-1);
}
.brand .wordmark .sub {
  display: block; font-size: 9px; letter-spacing: 0.22em;
  color: var(--fg-3); font-weight: 500; margin-top: 1px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  color: var(--fg-2);
  border-radius: var(--radius-full);
  transition: color 200ms var(--ease-aurora), background 200ms var(--ease-aurora);
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; border: 0; background: transparent;
}
.nav-link:hover { color: var(--fg-1); background: var(--bg-elev-1); }
.nav-link.is-active { color: var(--fg-1); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--aurora-ribbon); border-radius: 1px;
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 520px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; pointer-events: none; transform: translate(-50%, -8px);
  transition: opacity 200ms var(--ease-aurora), transform 200ms var(--ease-aurora);
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-dd-item {
  display: flex; gap: 12px; padding: 12px;
  border-radius: var(--radius-md);
  transition: background 200ms var(--ease-aurora);
  cursor: pointer;
}
.nav-dd-item:hover { background: var(--bg-elev-2); }
.nav-dd-item .icon-tile {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-elev-3);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.nav-dd-item .icon-tile .icon { width: 20px; height: 20px; }
.nav-dd-item .title { color: var(--fg-1); font-weight: 600; font-size: 14px; font-family: var(--font-display); }
.nav-dd-item .desc  { color: var(--fg-3); font-size: 12px; line-height: 1.5; margin-top: 2px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn-cta-text { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h-desktop) 0 0 0; z-index: 49;
  background: rgba(10,14,31,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity 240ms var(--ease-aurora), transform 240ms var(--ease-aurora);
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu .mlink {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 12px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: var(--fg-1); border-bottom: 1px solid var(--border-quiet);
}
.mobile-menu .mlink:hover { background: var(--bg-elev-1); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-quiet);
  padding-block: 80px 32px;
  margin-top: 80px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h5 {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-3); margin: 0 0 18px 0;
}
/* Plain footer links only — .btn pills (Call / Email) keep their own
   styling and flex alignment. */
.footer-grid a:not(.btn), .footer-grid button:not(.btn) {
  display: block; padding: 6px 0; color: var(--fg-2);
  font-size: 14px; font-family: var(--font-body);
  border: 0; background: transparent; text-align: left;
  transition: color 200ms var(--ease-aurora);
}
.footer-grid a:not(.btn):hover, .footer-grid button:not(.btn):hover { color: var(--fg-1); }
.footer-blurb { color: var(--fg-2); line-height: 1.65; font-size: 14px; max-width: 38ch; margin: 18px 0 24px; }
.footer-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-quiet);
  flex-wrap: wrap; gap: 16px;
}
.footer-meta .legal { color: var(--fg-3); font-size: 12px; line-height: 1.5; }
.footer-meta .socials { display: flex; gap: 8px; }
.footer-meta .socials a {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-elev-1); border: 1px solid var(--border-quiet);
  display: grid; place-items: center;
  transition: background 200ms, border-color 200ms;
}
.footer-meta .socials a:hover { background: var(--bg-elev-2); border-color: var(--border-soft); }
.footer-meta .socials .icon { width: 18px; height: 18px; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   MODAL / CONTACT
   ============================================================ */
.modal-veil {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 8, 20, 0.72);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 260ms var(--ease-aurora);
}
.modal-veil.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
  width: 100%; max-width: 560px;
  max-height: calc(100vh - 48px); overflow: auto;
  padding: 36px;
  transform: scale(0.96) translateY(8px);
  transition: transform 320ms var(--ease-aurora);
  position: relative;
}
.modal-veil.is-open .modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 10px;
  background: transparent; border: 0;
  display: grid; place-items: center;
  color: var(--fg-2);
}
.modal-close:hover { background: var(--bg-elev-2); color: var(--fg-1); }

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Asymmetric two-column splits that collapse to single column on mobile.
   Usage: <div className="cols-2" style={{'--cols':'1fr 1.4fr', '--col-gap':'64px'}}>
   The default ratio is 1fr 1fr; override with --cols.
   Collapses at 800px (covers tablets in portrait and all phones). */
.cols-2 {
  display: grid;
  grid-template-columns: var(--cols, 1fr 1fr);
  gap: var(--col-gap, 48px);
}
@media (max-width: 800px) {
  .cols-2 {
    grid-template-columns: 1fr;
    gap: var(--col-gap-mobile, 32px);
  }
  /* On mobile, a fixed sidebar (e.g. 260px) used in cols-2 would have
     made the inner aside narrower than its content — once stacked, drop
     the sticky positioning so the aside scrolls with the page. */
  .cols-2 > aside { position: static !important; }
}

.stack { display: flex; flex-direction: column; }
.row   { display: flex; }
.row--center { align-items: center; }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.gap-6 { gap: 24px; } .gap-8 { gap: 32px; } .gap-12 { gap: 48px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; }

/* ============================================================
   ICONS
   ============================================================ */
.icon { width: 24px; height: 24px; stroke-width: 1.75; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; }
.icon-tile {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-quiet);
  color: var(--fg-1);
}
.icon-tile--aurora {
  background: var(--aurora-ribbon);
  /* no-repeat + 1px oversize: same edge-sliver fix as .btn--primary */
  background-repeat: no-repeat;
  background-size: calc(100% + 2px) calc(100% + 2px);
  background-position: center;
  border-color: transparent;
  color: var(--fg-on-aurora);
}
.icon-tile--lg { width: 64px; height: 64px; border-radius: 16px; }
.icon-tile--lg .icon { width: 28px; height: 28px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h-desktop) + 64px);
  padding-bottom: clamp(80px, 12vw, 140px);
  min-height: min(100vh, 880px);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }
.hero-headline { margin: 16px 0 28px 0; }
.hero-meta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 40px; flex-wrap: wrap;
  color: var(--fg-3); font-size: 13px;
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-3); }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Service quick-jump bar at the bottom of the hero */
.hero-quickjump {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; padding: 8px;
  background: rgba(19,26,48,0.7); backdrop-filter: blur(12px);
  border: 1px solid var(--border-quiet);
  border-radius: var(--radius-full);
}
.hero-quickjump-links { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-quickjump-links .nav-link { font-size: 13px; padding: 10px 18px; }

@media (max-width: 720px) {
  /* Pill radius on a multi-line bar reads as a giant oval — square it up
     and stack the links as a simple menu. */
  .hero-quickjump {
    border-radius: var(--radius-lg);
    flex-direction: column; align-items: stretch; padding: 12px;
  }
  .hero-quickjump-links { flex-direction: column; gap: 2px; }
  .hero-quickjump-links .nav-link { justify-content: flex-start; }
  .hero-quickjump > .btn { align-self: flex-start; }
  /* Redundant next to the badge on small screens — the hero meta row
     lists the cities anyway. */
  .hero-locale { display: none; }
  .hero-meta .dot { display: none; }
}

/* The animated ribbon canvas */
.hero-ribbon-stage {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  overflow: hidden;
}

/* Hero variant: photo */
.hero-photo {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,31,0) 0%, rgba(10,14,31,0.4) 50%, rgba(10,14,31,0.92) 100%),
    linear-gradient(90deg, rgba(10,14,31,0.7) 0%, rgba(10,14,31,0.0) 60%);
}
.hero-photo .ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 30% 40%, rgba(74,143,231,0.4), transparent 70%),
    radial-gradient(700px 500px at 80% 70%, rgba(139,92,246,0.35), transparent 70%),
    linear-gradient(135deg, #14213D 0%, #0A0E1F 60%, #1B2342 100%);
}

/* ============================================================
   ADD-INS
   ============================================================ */
.bullet-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bullet-list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--fg-2); font-size: 15px; line-height: 1.55;
}
.bullet-list .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(61,220,140,0.12);
  color: var(--aurora-green);
  margin-top: 1px;
}
.bullet-list .check .icon { width: 12px; height: 12px; stroke-width: 2.5; }

.kv-list { display: grid; gap: 0; }
.kv-list .kv {
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--border-quiet);
  align-items: baseline;
}
.kv-list .kv:last-child { border-bottom: 0; }
.kv-list .kv .k { color: var(--fg-2); font-size: 14px; }
.kv-list .kv .v { color: var(--fg-1); font-family: var(--font-mono); font-size: 14px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--border-quiet);
}
.faq-item:first-child { border-top: 1px solid var(--border-quiet); }
.faq-q {
  width: 100%; background: transparent; border: 0;
  padding: 28px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px); color: var(--fg-1);
  letter-spacing: -0.01em; text-align: left;
  cursor: pointer;
}
.faq-q .chev {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-quiet);
  background: transparent; color: var(--fg-2);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform 320ms var(--ease-aurora), border-color 200ms, color 200ms, background 200ms;
}
.faq-item.is-open .faq-q .chev {
  transform: rotate(45deg);
  border-color: transparent; background: var(--aurora-ribbon); color: var(--fg-on-aurora);
  /* no-repeat + 1px oversize: same edge-sliver fix as .btn--primary */
  background-repeat: no-repeat;
  background-size: calc(100% + 2px) calc(100% + 2px);
  background-position: center;
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 480ms var(--ease-aurora);
}
.faq-a-inner {
  padding-bottom: 28px; padding-right: 60px;
  color: var(--fg-2); line-height: 1.65; font-size: 15px;
}

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border-quiet);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev-1);
}
.process-step { padding: 36px 28px; border-right: 1px solid var(--border-quiet); position: relative; }
.process-step:last-child { border-right: 0; }
.process-step .step-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--aurora-blue);
  letter-spacing: 0.08em;
}
.process-step .step-title {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  color: var(--fg-1); margin: 12px 0 8px 0;
}
.process-step .step-body {
  color: var(--fg-2); font-size: 14px; line-height: 1.6;
}
@media (max-width: 800px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: 1px solid var(--border-quiet); border-bottom: 1px solid var(--border-quiet); }
  .process-step:nth-child(2n) { border-right: 0; }
  .process-step:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 500px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--border-quiet); }
  .process-step:last-child { border-bottom: 0; }
}

/* ============================================================
   SERVICE CARD (large)
   ============================================================ */
.service-card {
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  padding: 36px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border-quiet);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 320ms var(--ease-aurora), box-shadow 320ms var(--ease-aurora), transform 320ms var(--ease-aurora);
  min-height: 360px;
}
.service-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--accent, var(--aurora-blue));
  opacity: 0.7;
}
.service-card:hover { border-color: var(--border-soft); box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.service-card .icon-tile { background: color-mix(in srgb, var(--accent, var(--aurora-blue)) 14%, transparent); border-color: color-mix(in srgb, var(--accent, var(--aurora-blue)) 30%, transparent); color: var(--accent, var(--aurora-blue)); }
.service-card .number {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-3);
  letter-spacing: 0.1em;
}
.service-card h3 { margin: 0; }
.service-card .body { color: var(--fg-2); font-size: 15px; line-height: 1.6; flex-grow: 1; }
.service-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.service-card .tags .tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  padding: 4px 8px; background: var(--bg-elev-2); border-radius: 6px;
}
.service-card .footer-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.service-card .quote-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--fg-1);
}
.service-card .quote-link .icon {
  width: 16px; height: 16px;
  transition: transform 320ms var(--ease-aurora);
}
.service-card:hover .quote-link .icon { transform: translate(2px, -2px); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  padding: clamp(56px, 8vw, 96px);
  border-radius: var(--radius-xl);
  background: var(--bg-elev-1);
  border: 1px solid var(--border-quiet);
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.6; z-index: 0;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(139,92,246,0.25), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(46,184,198,0.20), transparent 60%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: var(--aurora-ribbon); opacity: 0.7;
}
.cta-band > * { position: relative; z-index: 1; }

/* ============================================================
   LOCAL / MAP STRIP
   ============================================================ */
.local-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border-top: 1px solid var(--border-quiet);
  border-bottom: 1px solid var(--border-quiet);
}
.local-strip .city {
  padding: 32px 20px; text-align: center;
  border-right: 1px solid var(--border-quiet);
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--fg-2); letter-spacing: -0.005em;
  transition: color 200ms;
}
.local-strip .city:last-child { border-right: 0; }
.local-strip .city .zip {
  display: block; font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); margin-top: 6px; letter-spacing: 0.06em;
}
.local-strip .city:hover { color: var(--fg-1); }
@media (max-width: 800px) {
  .local-strip { grid-template-columns: repeat(3, 1fr); }
  .local-strip .city { border-bottom: 1px solid var(--border-quiet); }
  .local-strip .city:nth-child(3n) { border-right: 0; }
  .local-strip .city:nth-last-child(-n+3) { border-bottom: 0; }
}

/* ============================================================
   STAT / METRIC ROW
   ============================================================ */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.metric { padding: 24px 0; }
.metric .num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 4vw, 56px); line-height: 1;
  letter-spacing: -0.02em;
  background: var(--aurora-cool);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.metric .lbl { color: var(--fg-3); font-size: 13px; margin-top: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 800px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   TESTIMONIAL CARD (placeholder)
   ============================================================ */
.testimonial {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--bg-elev-1); border: 1px solid var(--border-quiet);
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  min-height: 280px;
}
.testimonial .quote {
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px; line-height: 1.45; color: var(--fg-1);
  letter-spacing: -0.005em;
  flex-grow: 1;
}
.testimonial .placeholder-label {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 10px; color: var(--aurora-amber);
  background: rgba(244,162,97,0.12); padding: 4px 8px; border-radius: 4px;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(244,162,97,0.3);
}
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-elev-3);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--fg-2);
}
.testimonial .who .meta .name { font-weight: 600; color: var(--fg-1); font-size: 14px; }
.testimonial .who .meta .role { color: var(--fg-3); font-size: 12px; }

/* ============================================================
   PORTFOLIO CARD
   ============================================================ */
.case-card {
  display: flex; flex-direction: column;
  background: var(--bg-elev-1); border: 1px solid var(--border-quiet);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 320ms, transform 320ms;
}
.case-card:hover { border-color: var(--border-soft); transform: translateY(-2px); }
.case-card .case-img {
  /* Match the 1200x630 (1.91:1) social link-preview ratio so og:image
     artwork displays uncropped. */
  aspect-ratio: 1200/630; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-elev-2), var(--bg-elev-3));
}
.case-card .case-img .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74,143,231,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,143,231,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.case-card .case-meta { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.case-card .case-meta h4 { margin: 0; color: var(--fg-1); font-size: 18px; font-family: var(--font-display); }
.case-card .case-meta .tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.case-card .case-meta .tag-row .tag {
  font-family: var(--font-mono); font-size: 10px; padding: 4px 8px;
  background: var(--bg-elev-2); border-radius: 4px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.case-card .case-meta .desc { color: var(--fg-2); font-size: 14px; line-height: 1.55; }

/* ============================================================
   PAGE INTRO (sub-pages)
   ============================================================ */
.page-intro {
  padding-top: calc(var(--nav-h-desktop) + 80px);
  padding-bottom: 64px;
  position: relative;
}
.page-intro .crumbs {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-3); margin-bottom: 24px; letter-spacing: 0.04em;
}
.page-intro .crumbs a { color: var(--fg-2); }
.page-intro .crumbs a:hover { color: var(--fg-1); }
.page-intro .crumbs .sep { color: var(--fg-3); margin: 0 8px; }

/* ============================================================
   DOTTED MAP (Triangle area)
   ============================================================ */
.dotted-map {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-quiet);
  background: var(--bg-elev-1);
  overflow: hidden;
}

/* ============================================================
   QUOTE BUILDER (multi-step contact)
   ============================================================ */
.steps-bar {
  display: flex; gap: 8px;
  margin-bottom: 24px;
}
.step-pill {
  flex: 1; padding: 12px; border-radius: var(--radius-md);
  background: var(--bg-elev-2); border: 1px solid var(--border-quiet);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 200ms, border-color 200ms, color 200ms;
}
.step-pill.is-active { background: var(--bg-elev-3); border-color: var(--aurora-blue); color: var(--aurora-blue); }
.step-pill.is-done { color: var(--aurora-green); border-color: rgba(61,220,140,0.4); }

.service-pick {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.service-pick label {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px;
  border: 1px solid var(--border-quiet); border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 200ms, background 200ms;
  background: var(--bg-elev-2);
}
.service-pick label:hover { border-color: var(--border-soft); }
.service-pick input { position: absolute; opacity: 0; pointer-events: none; }
.service-pick label.is-checked {
  border-color: var(--aurora-blue);
  background: linear-gradient(135deg, rgba(74,143,231,0.10), rgba(139,92,246,0.06));
}
.service-pick label .ttl { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg-1); }
.service-pick label .desc { color: var(--fg-3); font-size: 12px; line-height: 1.45; }
.service-pick label .icon { color: var(--fg-1); }

/* ============================================================
   TWEAKS PANEL — hide site UI hints when tweaks off
   ============================================================ */
[hidden] { display: none !important; }

/* ============================================================
   AURORA RIBBON — canvas-based aurora curtains
   The canvas itself draws the curtains every frame; this CSS only
   styles the stage container, vignette, and reduced-motion fallback.
   ============================================================ */
.aurora-stage { contain: layout paint; }

.aurora-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% 60%, transparent 0%, rgba(10,14,31,0.55) 100%),
    linear-gradient(180deg, rgba(10,14,31,0) 0%, rgba(10,14,31,0.7) 100%);
}


.center-text { text-align: center; }
.max-prose { max-width: 64ch; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.spaced-cap {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-3);
}
