/* ==========================================================================
   Swift Sites v3 "Make the phone ring": shared design system (main.css)
   Owner: lead builder. Page builders: do NOT edit. Put page-only CSS in
   assets/css/pages/<page>.css and read COMPONENTS.md for the contract.
   ========================================================================== */

/* ---------- 0. Fallback faces (keep line boxes stable while fonts load) --- */
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("Arial");
  font-weight: 800;
  size-adjust: 96%;     /* best line-break match to Bricolage Grotesque 800 across all post titles */
  ascent-override: 96%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica Neue");
  size-adjust: 101.3%;  /* matched to Geist 400 line length */
  ascent-override: 94%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Numerals Fallback";
  src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"), local("Impact"), local("Arial Bold");
  font-weight: 900;
  size-adjust: 88%;
}

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Canvas */
  --void: #05080C;            /* page */
  --night: #0A111B;           /* raised band */
  --night-2: #0F1824;         /* UI surfaces on night */
  --night-3: #16212F;         /* UI surfaces, hover */
  /* Signal */
  --cyan: #00C6F2;            /* the one accent; 9.9:1 on --void. Text on cyan is --void */
  --cyan-hover: #3AD6F8;
  --cyan-deep: #0082A8;       /* daylight rhythm: large type, rules, focus (3.9:1 on daylight) */
  --cyan-ink: #006C8C;        /* small cyan text / links on daylight (5.3:1) */
  /* Daylight surface */
  --daylight: #F4F7FA;
  --paper: #FFFFFF;
  --ink: #0A111B;             /* text on daylight (17:1) */
  --ink-muted: #4A5A6B;       /* 6.6:1 on daylight */
  --ink-line: rgba(10, 17, 27, .12);
  /* Text on dark */
  --text: #EAF1F7;
  --text-2: #C9D5E0;          /* secondary copy on photos */
  --muted: #9AABBD;           /* 8.5:1 on --void */
  --line: rgba(234, 241, 247, .10);
  --line-2: rgba(234, 241, 247, .18);

  /* Type */
  --font-display: "Bricolage Grotesque", "Bricolage Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-num: "Big Shoulders Display", "Numerals Fallback", "Arial Narrow", ui-sans-serif, sans-serif;
  --font-body: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: .9375rem;                                         /* 15 */
  --step-0: clamp(1.0625rem, 1rem + .22vw, 1.125rem);          /* 17 → 18 */
  --step-1: clamp(1.1875rem, 1.08rem + .45vw, 1.4375rem);      /* 19 → 23 */
  --step-2: clamp(1.4375rem, 1.2rem + 1vw, 2rem);              /* 23 → 32 */
  --step-3: clamp(1.875rem, 1.35rem + 2.2vw, 3.25rem);         /* 30 → 52 */
  --step-4: clamp(2.5rem, 1.45rem + 4.3vw, 5.25rem);           /* 40 → 84 */
  --step-5: clamp(3.5rem, 9vw, 9rem);                          /* hero */
  --track-display: -.04em;
  --word-display: .06em;

  /* Space */
  --space-2xs: .375rem;
  --space-xs: .625rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: clamp(3rem, 2rem + 3.5vw, 5rem);
  --space-2xl: clamp(5rem, 3rem + 8vw, 10rem);
  --gutter: clamp(16px, 4vw, 56px);
  --container: 1344px;
  --container-narrow: 860px;
  --header-h: 84px;

  --radius-xs: 6px;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 28px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: .18s;
  --dur: .4s;
  --dur-slow: .9s;

  color-scheme: dark;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--void);
}
html:focus-within { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, h5, h6, li, dd, blockquote { overflow-wrap: break-word; }
:where(ul[role="list"], ol[role="list"]), .list-reset { list-style: none; padding: 0; }
::selection { background: var(--cyan); color: var(--void); }
[hidden] { display: none !important; }
address { font-style: normal; }

/* ---------- 3. Focus & a11y ---------------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--daylight :focus-visible { outline-color: var(--cyan-deep); }

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: .75rem 1.1rem;
  background: var(--cyan);
  color: var(--void);
  font-weight: 600;
  border-radius: var(--radius-s);
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus, .skip-link:focus-visible { transform: translateY(0); }

.visually-hidden, .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;
}

/* ---------- 4. Typography ------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: var(--track-display);
  word-spacing: var(--word-display);
  font-optical-sizing: auto;
  text-wrap: balance;
  color: inherit;
}
h1, .display { font-size: var(--step-5); line-height: .88; }
h2, .h2 { font-size: var(--step-4); line-height: .96; }
h3, .h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -.028em; word-spacing: .04em; line-height: 1.08; }
h4, .h4 { font-size: var(--step-1); font-weight: 700; letter-spacing: -.018em; word-spacing: .02em; line-height: 1.2; }
.h3-lg { font-size: var(--step-3); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }

/* The one highlight: cyan phrase inside the home H1 (and page H1s that use Jared's accent). */
.hl { color: var(--cyan); }
.section--daylight .hl { color: var(--cyan-deep); }

/* Pre-line: Jared's own small line above a hero H1. Sentence case, never caps. */
.preline {
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-2);
  letter-spacing: -.005em;
}
.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 58ch;
}
.muted { color: var(--muted); }
.measure { max-width: 64ch; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }

a.link, .prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: color-mix(in oklab, var(--cyan) 45%, transparent);
  transition: text-decoration-color var(--dur-fast), color var(--dur-fast);
}
a.link:hover, .prose a:hover { color: #fff; text-decoration-color: var(--cyan); }
.section--daylight a.link, .section--daylight .prose a { color: var(--cyan-ink); text-decoration-color: rgba(0, 108, 140, .4); }
.section--daylight a.link:hover, .section--daylight .prose a:hover { color: var(--ink); }

/* Big Shoulders numerals: the data typography */
.num {
  font-family: var(--font-num);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ---------- 5. Layout ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.container--wide { max-width: calc(1680px + var(--gutter) * 2); }

.section {
  position: relative;
  padding-block: var(--space-2xl);
  isolation: isolate;
}
.section--tight { padding-block: var(--space-xl); }
.section--flush-top { padding-top: 0; }
.section--night { background: var(--night); }
.section--daylight {
  background: var(--daylight);
  color: var(--ink);
  color-scheme: light;
}
.section--daylight .lede { color: var(--ink-muted); }
.section--daylight .muted { color: var(--ink-muted); }

.section-head { display: grid; gap: var(--space-m); margin-bottom: var(--space-xl); max-width: 900px; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.15fr .85fr; gap: var(--space-l); }
}

.grid { display: grid; gap: var(--space-m); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.stack > * + * { margin-top: var(--stack-gap, var(--space-s)); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster-gap, .75rem); align-items: center; }
.rule { height: 1px; border: 0; background: var(--line); }
.section--daylight .rule { background: var(--ink-line); }

/* ---------- 6. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-2);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 48px;
  padding: .8rem 1.3rem;
  border-radius: var(--radius-s);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.01em;
  line-height: 1.1;
  white-space: nowrap;
  isolation: isolate;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn__label { position: relative; display: inline-block; white-space: nowrap; }
.btn__icon { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { --btn-bg: rgba(234, 241, 247, .08); --btn-bd: rgba(234, 241, 247, .4); }
.btn:active { transform: scale(.98); }
.btn--primary { --btn-bg: var(--cyan); --btn-fg: var(--void); --btn-bd: var(--cyan); }
.btn--primary:hover { --btn-bg: var(--cyan-hover); --btn-bd: var(--cyan-hover); }
.btn--primary:focus-visible { outline-color: #fff; }
.section--daylight .btn--primary:focus-visible { outline-color: var(--ink); }
.btn--ghost { --btn-bg: rgba(5, 8, 12, .28); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--ink:hover { --btn-bg: #1A2636; --btn-bd: #1A2636; }
.section--daylight .btn:not(.btn--primary):not(.btn--ink) { --btn-fg: var(--ink); --btn-bd: rgba(10, 17, 27, .3); --btn-bg: transparent; }
.section--daylight .btn:not(.btn--primary):not(.btn--ink):hover { --btn-bg: rgba(10, 17, 27, .05); --btn-bd: var(--ink); }
.btn--lg { min-height: 58px; padding: 1rem 1.6rem; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: .55rem 1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
[data-magnetic] { will-change: transform; }

/* ---------- 7. Header ---------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease-out), background-color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(5, 8, 12, .78);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden:focus-within { transform: none; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: var(--space-m); }
.brand { --brand-h: 46px; display: inline-flex; align-items: center; flex: none; border-radius: 6px; }
.brand__mark { display: block; height: var(--brand-h); width: calc(var(--brand-h) * 1033 / 577); overflow: visible; }

/* Logo entrance: Jared's selected original (swift-sites-logo-motion@326ca41).
   The cyan dot rises along the shared "i" as the stem reveals upward, the words
   slide in from opposite sides, one soft pulse, then the static mark. Keyframes
   and timings are the original's. html.brand-intro is set before first paint by
   the inline head script and removed when the pulse ends; no GSAP involved.   */
.brand__upper, .brand__lower, .brand__stem, .brand__dot, .brand__halo { transform-box: view-box; }
.brand__stem { transform-origin: 523px 564px; }
.brand__dot, .brand__halo { transform-origin: 523.237px 52.454px; }
.brand__halo { opacity: 0; }
html.brand-intro .brand__dot { animation: brand-dot-rise 2700ms cubic-bezier(.2, .75, .2, 1) both; }
html.brand-intro .brand__stem { animation: brand-stem-reveal 2700ms cubic-bezier(.2, .75, .2, 1) both; }
html.brand-intro .brand__upper { animation: brand-upper-in 2700ms ease both; }
html.brand-intro .brand__lower { animation: brand-lower-in 2700ms ease both; }
html.brand-intro .brand__halo { animation: brand-pulse 2700ms ease-out both; }
@keyframes brand-dot-rise { 0%, 8% { transform: translateY(485px) scale(.58); } 48% { transform: translateY(-9px) scale(.95); } 59%, 100% { transform: translateY(0) scale(1); } }
@keyframes brand-stem-reveal { 0%, 8% { transform: scaleY(0); } 48%, 100% { transform: scaleY(1); } }
@keyframes brand-upper-in { 0%, 37% { opacity: 0; transform: translateX(-20px); } 68%, 100% { opacity: 1; transform: translateX(0); } }
@keyframes brand-lower-in { 0%, 24% { opacity: 0; transform: translateX(20px); } 59%, 100% { opacity: 1; transform: translateX(0); } }
@keyframes brand-pulse { 0%, 57% { opacity: 0; transform: scale(.9); } 62% { opacity: .65; transform: scale(1); } 87%, 100% { opacity: 0; transform: scale(1.85); } }
/* Paused (footer toggle) or reduced motion: the complete static logo, never a partial frame. */
html.motion-paused .brand__mark * { animation: none !important; transform: none !important; }
html.motion-paused .brand__halo { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .brand__mark * { animation: none !important; transform: none !important; }
  .brand__halo { opacity: 0 !important; }
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .1rem; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .4rem .7rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-xs);
  transition: color var(--dur-fast);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .7rem; right: .7rem; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(.35); }
.nav__link[aria-current="page"], .nav__trigger.is-current { color: #fff; }
.nav__link[aria-current="page"]::after, .nav__trigger.is-current::after { transform: scaleX(1); }
.nav__chev { width: 12px; height: 12px; transition: transform var(--dur) var(--ease-out); }
.nav__item--dropdown.is-open .nav__chev { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  padding: .45rem;
  border-radius: var(--radius);
  background: rgba(10, 17, 27, .96);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) linear, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.nav__item--dropdown.is-open .nav__dropdown,
html:not(.js) .nav__item--dropdown:hover .nav__dropdown,
html:not(.js) .nav__item--dropdown:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--dur-fast) linear, transform var(--dur) var(--ease-out), visibility 0s;
}
.nav__sublink {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .8rem;
  border-radius: var(--radius-xs);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-2);
}
.nav__sublink:hover, .nav__sublink:focus-visible { color: #fff; background: rgba(234, 241, 247, .07); }
.nav__sublink[aria-current="page"] { color: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.header-call {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-2);
  color: var(--cyan);
  background: rgba(5, 8, 12, .35);
}
.header-call svg { width: 18px; height: 18px; }
.menu-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .5rem .9rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-2);
  background: rgba(5, 8, 12, .35);
  font-weight: 600;
  font-size: .9375rem;
}
.menu-toggle__icon { position: relative; width: 18px; height: 12px; }
.menu-toggle__icon span {
  position: absolute; left: 0; right: 0;
  height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.menu-toggle__icon span:nth-child(1) { top: 0; }
.menu-toggle__icon span:nth-child(2) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { top: 5px; transform: rotate(-45deg); }

/* ≥1200: full nav + CTA. 960–1199: logo, CTA, Menu. <960: logo, call, Menu. */
@media (max-width: 1199.98px) {
  html.js .nav { display: none; }
  html.js .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 959.98px) {
  :root { --header-h: 68px; }
  html:not(.js) { --header-h: 124px; }
  .brand { --brand-h: 38px; }
  html.js .header-cta { display: none; }
  html.js .header-call { display: grid; }
  html:not(.js) .site-header { position: absolute; height: auto; padding-block: .6rem; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; row-gap: .3rem; }
  html:not(.js) .nav { order: 3; width: 100%; margin-left: 0; }
  html:not(.js) .nav__list { flex-wrap: wrap; }
  html:not(.js) .header-cta { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 1.75rem;
  background: var(--void);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { display: grid; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: .35rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.mobile-menu__link[aria-current="page"] { color: var(--cyan); }
.mobile-menu__group { padding: .9rem 0 .4rem; border-bottom: 1px solid var(--line); }
.mobile-menu__group-label { display: block; font-size: .9375rem; color: var(--muted); margin-bottom: .2rem; }
.mobile-menu__sub { display: grid; }
.mobile-menu__sub a {
  display: flex; align-items: center; min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -.03em;
}
.mobile-menu__sub a[aria-current="page"] { color: var(--cyan); }
.mobile-menu__foot { margin-top: auto; padding-top: 1.75rem; display: grid; gap: .9rem; }
.mobile-menu__phone {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-num); font-weight: 900; font-size: 2.25rem; line-height: 1; letter-spacing: .01em;
  color: var(--text);
}
.mobile-menu__phone svg { width: 22px; height: 22px; color: var(--cyan); }
.mobile-menu__nap { color: var(--muted); font-size: .9375rem; }
html.menu-open .call-fab { visibility: hidden; }   /* the menu has its own call link and CTA */
html.menu-open .site-header { background: var(--void); border-bottom-color: transparent; transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- 8. Inner page hero ------------------------------------------- */
.page-hero {
  position: relative;
  min-height: min(84svh, 820px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-xl);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: -6% 0 0 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, .6) 0%, rgba(5, 8, 12, .1) 30%, rgba(5, 8, 12, .7) 72%, var(--void) 100%),
    linear-gradient(90deg, rgba(5, 8, 12, .82) 0%, rgba(5, 8, 12, .15) 70%);
}
.page-hero__content { display: grid; gap: var(--space-m); max-width: 1000px; }
.page-hero h1 { font-size: clamp(2.75rem, 1.2rem + 6.2vw, 7rem); }
.page-hero .lede { color: var(--text-2); }

/* ---------- 9. Signature components -------------------------------------- */

/* 9a. Signal rings: <span class="signal" aria-hidden="true"><i></i><i></i><i></i></span>
   Concentric cyan rings pulsing out from a center. Position the .signal box yourself
   (it is a square; rings scale from its center). Add .signal--flat for ground-level
   ellipses under a map pin. Paused by html.motion-paused and reduced motion.       */
.signal {
  --signal-size: 160px;
  --signal-dur: 2.4s;
  position: absolute;
  width: var(--signal-size);
  height: var(--signal-size);
  pointer-events: none;
}
/* Ground-level ellipses (true ellipses, so the stroke stays even) */
.signal--flat { height: calc(var(--signal-size) * .36); }
.signal--flat > i { border-width: 2px; }
.signal > i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  opacity: 0;
  transform: scale(.2);
  animation: signal-pulse var(--signal-dur) cubic-bezier(.2, .6, .35, 1) infinite;
  will-change: transform, opacity;
}
.signal > i:nth-child(2) { animation-delay: calc(var(--signal-dur) / 3); }
.signal > i:nth-child(3) { animation-delay: calc(var(--signal-dur) / 3 * 2); }
@keyframes signal-pulse {
  0% { transform: scale(.2); opacity: 0; }
  12% { opacity: .85; }
  100% { transform: scale(1); opacity: 0; }
}
.signal.is-idle > i { animation-play-state: paused; }
html.motion-paused .signal > i { animation-play-state: paused; }
/* Static (paused / reduced motion): show three still rings instead of a frozen frame */
html.motion-paused .signal > i, html:not(.js) .signal > i, .signal.is-static > i {
  animation: none;
  opacity: .5;
}
html.motion-paused .signal > i:nth-child(1), html:not(.js) .signal > i:nth-child(1), .signal.is-static > i:nth-child(1) { transform: scale(.38); opacity: .7; }
html.motion-paused .signal > i:nth-child(2), html:not(.js) .signal > i:nth-child(2), .signal.is-static > i:nth-child(2) { transform: scale(.66); opacity: .42; }
html.motion-paused .signal > i:nth-child(3), html:not(.js) .signal > i:nth-child(3), .signal.is-static > i:nth-child(3) { transform: scale(.94); opacity: .2; }

/* 9b. Stat numerals */
.stat { display: grid; gap: .55rem; align-content: start; }
.stat__num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: var(--stat-size, clamp(4.5rem, 3rem + 7vw, 10rem));
  line-height: .8;
  letter-spacing: -.005em;
  color: var(--stat-color, var(--text));
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.stat__label { font-size: var(--step--1); line-height: 1.4; color: var(--muted); max-width: 24ch; }
/* A numeral with a descender ("Top 3"): at line-height .8 the "p" hangs ~.18em below the box and
   onto its label. Every numeral in that list reserves the descender so the labels stay level. */
:is(ul, ol):has(.stat__num--descender) .stat__num { padding-bottom: .19em; }
.section--daylight .stat__label { color: var(--ink-muted); }
.stat--cyan { --stat-color: var(--cyan); }
.section--daylight .stat--cyan { --stat-color: var(--cyan-deep); }

/* 9c. Photo split: media bleeds to the viewport edge, copy sits in the container */
.photo-split {
  position: relative;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
.photo-split__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--night);
}
.photo-split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .photo-split { grid-template-columns: 1.1fr 1fr; min-height: min(92vh, 900px); }
  .photo-split--reverse { grid-template-columns: 1fr 1.1fr; }
  .photo-split__media {
    align-self: stretch;
    aspect-ratio: auto;
    border-radius: 0 var(--radius-l) var(--radius-l) 0;
    margin-left: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2));
  }
  .photo-split--reverse .photo-split__media {
    order: 2;
    border-radius: var(--radius-l) 0 0 var(--radius-l);
    margin-left: 0;
    margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2));
  }
}

/* 9d. Type band: oversized service marquee (cyan band, void type) */
.type-band {
  position: relative;
  background: var(--cyan);
  color: var(--void);
  padding-block: clamp(.9rem, .5rem + 1.4vw, 1.8rem);
  overflow: hidden;
}
.type-band .marquee { --marquee-gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.type-band__item {
  display: inline-flex;
  align-items: center;
  gap: var(--marquee-gap);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 1.4rem + 7vw, 9.5rem);
  line-height: 1;
  letter-spacing: -.045em;
  word-spacing: .05em;
  white-space: nowrap;
  padding-bottom: .06em;
}
.type-band__mark { width: .42em; height: .42em; flex: none; }
.type-band--night { background: var(--void); color: var(--cyan); }

/* Marquee engine (used by .type-band). JS clones the track. */
.marquee { --marquee-gap: 3rem; --marquee-duration: 40s; display: flex; overflow: hidden; }
.marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--marquee-gap);
  padding-right: var(--marquee-gap);
  min-width: 100%;
  margin: 0;
}
html:not(.js) .marquee__track { flex-wrap: wrap; row-gap: .2em; flex: 1; }
.marquee.is-animated .marquee__track { animation: marquee-scroll var(--marquee-duration) linear infinite; }
.marquee.is-animated:hover .marquee__track,
.marquee.is-animated:focus-within .marquee__track,
html.motion-paused .marquee.is-animated .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll { to { transform: translateX(-100%); } }

/* 9e. Drawn route: an SVG line that draws on scroll with nodes that light up.
   <div class="route" data-draw-root> <svg class="route__svg"> <path class="route__bg"/> <path class="route__line" data-draw/> </svg> ... */
.route { position: relative; }
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route__bg, .route__line { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.route__bg { stroke: rgba(234, 241, 247, .18); stroke-width: 1.5; stroke-dasharray: 2 7; }
.route__line { stroke: var(--cyan); stroke-width: 2.5; }
.route__node {
  position: relative;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--void);
  border: 2px solid rgba(234, 241, 247, .4);
  transition: border-color .5s var(--ease-out), background-color .5s var(--ease-out);
}
.route__node::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--cyan);
  transform: scale(0);
  transition: transform .6s var(--ease-out);
}
.route__node.is-lit, html:not(.anim-ready) .route__node { border-color: var(--cyan); }
.route__node.is-lit::after, html:not(.anim-ready) .route__node::after { transform: scale(1); }

/* 9f. Live phone (hero). Markup + behavior: COMPONENTS.md and assets/js/components/live-phone.js.
   Everything inside is sized in em; set --phone-w on .phone to scale it. */
.phone {
  --phone-w: 300px;
  position: relative;
  width: var(--phone-w);
  font-size: calc(var(--phone-w) / 30);   /* 1em = 10px at 300px */
  aspect-ratio: 300 / 626;
  font-family: var(--font-body);
  color: #fff;
  line-height: 1.25;
  user-select: none;
}
.phone__signal { --signal-size: calc(var(--phone-w) * 2.3); --signal-dur: 1.8s; left: 50%; top: 50%; margin: calc(var(--signal-size) / -2) 0 0 calc(var(--signal-size) / -2); z-index: 0; opacity: 0; }
.phone__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 5em;
  padding: 1.05em;
  background: linear-gradient(145deg, #3A4452 0%, #1A212B 18%, #0B1017 50%, #1A212B 82%, #39424F 100%);
  box-shadow:
    inset 0 0 0 .1em rgba(255, 255, 255, .16),
    inset 0 0 0 .45em #07090D,
    0 3em 5em -1.5em rgba(0, 0, 0, .75),
    0 1em 1.6em -.6em rgba(0, 0, 0, .6);
}
.phone__btn { position: absolute; width: .35em; border-radius: .2em; background: #252D38; }
.phone__btn--a { left: -.25em; top: 11em; height: 3.2em; }
.phone__btn--b { left: -.25em; top: 15.6em; height: 5.8em; }
.phone__btn--c { right: -.25em; top: 16em; height: 8.8em; }
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 4em;
  overflow: hidden;
  background: #0A0F16;
  isolation: isolate;
  transform: translateZ(0);
}
.phone__wall { position: absolute; inset: 0; z-index: -2; }
.phone__wall img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.phone__wall::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 12, .15) 0%, rgba(5, 8, 12, 0) 35%, rgba(5, 8, 12, .35) 70%, rgba(5, 8, 12, .6) 100%);
}
.phone__dim { position: absolute; inset: 0; z-index: -1; background: rgba(4, 7, 11, .62); opacity: 0; }

.phone__status {
  position: absolute; top: 1.35em; left: 2.6em; right: 1.85em;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.3em; font-weight: 600; letter-spacing: -.01em;
}
.phone__status-icons { display: flex; align-items: center; gap: .35em; }
.phone__status-icons svg { height: .82em; width: auto; }
.phone__island {
  position: absolute; top: 1.05em; left: 50%;
  width: 9em; height: 2.75em; margin-left: -4.5em;   /* ~a third of the screen, like the real island; clears the status icons */
  border-radius: 2em; background: #000; z-index: 5;
}
.phone__island-live {
  position: absolute; top: 1.05em; left: 50%;
  width: 21em; height: 2.75em; margin-left: -10.5em;
  border-radius: 2em; background: #000; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.05em 0 .7em;
  opacity: 0; transform: scaleX(.43);   /* 9em compact / 21em live: the morph starts at the compact width */
}
.phone__island-call { display: flex; align-items: center; gap: .45em; font-size: 1.2em; font-weight: 600; color: var(--cyan); font-variant-numeric: tabular-nums; }
.phone__island-call svg { width: 1.45em; height: 1.45em; padding: .3em; border-radius: 50%; background: var(--cyan); color: #000; }
.phone__wave { display: flex; align-items: center; gap: .22em; height: 1.4em; }
.phone__wave i { display: block; width: .26em; height: 100%; border-radius: .2em; background: var(--cyan); transform: scaleY(.35); }
.phone__wave i:nth-child(2) { transform: scaleY(.8); }
.phone__wave i:nth-child(3) { transform: scaleY(.55); }
.phone__wave i:nth-child(4) { transform: scaleY(.9); }
.phone__wave i:nth-child(5) { transform: scaleY(.45); }

.phone__lock { position: absolute; top: 4.6em; left: 0; right: 0; text-align: center; }
.phone__lock-icon { width: 1.5em; height: 1.5em; margin: 0 auto .5em; opacity: .9; }
.phone__date { font-size: 1.55em; font-weight: 500; letter-spacing: -.005em; opacity: .92; }
.phone__time {
  font-size: 8.6em; font-weight: 600; line-height: .95;
  letter-spacing: -.035em; margin-top: -.02em;
  font-variant-numeric: tabular-nums;
}
.phone__notes { position: absolute; left: 1.1em; right: 1.1em; top: 22.2em; margin: 0; padding: 0; list-style: none; }
.note {
  position: absolute; left: 0; right: 0; top: 0;
  height: 7.3em;
  display: grid;
  grid-template-columns: 3.8em minmax(0, 1fr);
  gap: 0 1em;
  align-items: start;
  padding: 1.15em 1.2em;
  border-radius: 2.2em;
  background: rgba(38, 46, 58, .78);
  box-shadow: inset 0 0 0 .08em rgba(255, 255, 255, .08);
  transform: translateY(calc(var(--slot, 0) * 8em));
}
.note:nth-child(1) { --slot: 2; }
.note:nth-child(2) { --slot: 1; }
.note:nth-child(3) { --slot: 0; }
.note__icon {
  width: 3.8em; height: 3.8em; border-radius: .95em;
  display: grid; place-items: center;
  background: var(--cyan); color: #04212B;
}
.note__icon svg { width: 2.1em; height: 2.1em; }
.note__icon--light { background: #F2F5F8; color: #0A111B; }
.note__icon--light .pin { color: var(--cyan-deep); }
.note__body { min-width: 0; }
.note__top { display: flex; justify-content: space-between; gap: .6em; font-size: 1.15em; line-height: 1.3; }
.note__app { font-weight: 600; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note__when { opacity: .55; white-space: nowrap; }
.note__title { font-size: 1.36em; font-weight: 600; line-height: 1.25; margin-top: .1em; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note__text { font-size: 1.24em; line-height: 1.3; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note__stars { letter-spacing: .08em; }

.phone__call { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 7.2em 2em 3.4em; text-align: center; opacity: 0; visibility: hidden; }
.phone__call-label { font-size: 1.35em; opacity: .7; font-weight: 500; }
.phone__call-who { font-size: 3.1em; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin-top: .25em; font-variant-numeric: tabular-nums; }
.phone__call-where { font-size: 1.45em; opacity: .7; margin-top: .3em; }
.phone__call-actions { margin-top: auto; width: 100%; display: flex; justify-content: space-between; padding: 0 1.4em 2.4em; }
.phone__call-act { display: grid; justify-items: center; gap: .5em; font-size: 1.15em; opacity: .9; }
.phone__call-act span { width: 3.4em; height: 3.4em; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.phone__call-act svg { width: 1.5em; height: 1.5em; }
.phone__slider { position: relative; width: 100%; height: 6em; border-radius: 3em; background: rgba(255, 255, 255, .16); display: flex; align-items: center; }
.phone__knob { position: absolute; left: .5em; top: .5em; width: 5em; height: 5em; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--cyan-deep); z-index: 1; }
.phone__knob svg { width: 2.2em; height: 2.2em; }
.phone__hint { flex: 1; padding-left: 5.5em; font-size: 1.5em; font-weight: 500; opacity: .85; }

.phone__foot { position: absolute; left: 3.8em; right: 3.8em; bottom: 3.6em; display: flex; justify-content: space-between; }
.phone__foot span { width: 4.4em; height: 4.4em; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 26, 34, .55); box-shadow: inset 0 0 0 .08em rgba(255, 255, 255, .08); }
.phone__foot svg { width: 1.9em; height: 1.9em; opacity: .95; }
.phone__homebar { position: absolute; left: 50%; bottom: .9em; width: 12.5em; height: .45em; margin-left: -6.25em; border-radius: 1em; background: rgba(255, 255, 255, .85); }

/* 9g. Maps pack (Google Maps-style local results). Static by default; home.js animates it. */
.maps {
  --row-h: 7.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-l);
  background: rgba(10, 17, 27, .94);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  overflow: hidden;
  font-size: .9375rem;
  color: var(--text);
}
.maps__search {
  display: flex; align-items: center; gap: .8rem;
  margin: .9rem .9rem .5rem;
  padding: 0 1rem;
  min-height: 3.1rem;
  border-radius: 999px;
  background: var(--night-3);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1rem;
}
.maps__search svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--muted); }
.maps__query { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.maps__meta { display: flex; justify-content: space-between; padding: .5rem 1.25rem .6rem; font-size: .875rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.maps__list { position: relative; margin: 0; padding: 0; list-style: none; height: calc(var(--row-h) * var(--rows, 4)); overflow: hidden; }
.maps__row {
  position: absolute; left: 0; right: 0; top: 0;
  height: var(--row-h);
  display: grid;
  grid-template-columns: 1fr 4.4rem;
  gap: .9rem;
  padding: .95rem 1.25rem;
  border-bottom: 1px solid var(--line);
  transform: translateY(calc(var(--pos, 0) * 100%));
  background: rgba(10, 17, 27, 1);
}
.maps__row.is-client { background: #0C1B27; box-shadow: inset 3px 0 0 var(--cyan); z-index: 2; }
.maps__name { font-weight: 600; font-size: 1.0625rem; line-height: 1.25; letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem; min-height: 1.4rem; }
.maps__redact { display: block; height: .72rem; border-radius: 3px; background: rgba(234, 241, 247, .22); width: var(--w, 60%); }
.maps__rating { display: flex; align-items: center; gap: .35rem; margin-top: .15rem; font-size: .875rem; line-height: 1.4; color: var(--text-2); }
.maps__stars { display: inline-flex; gap: 1px; color: var(--text); }
.maps__stars svg { width: .8rem; height: .8rem; }
.maps__stars .off { opacity: .28; }
.maps__detail { font-size: .8125rem; color: var(--muted); line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.maps__actions { display: flex; gap: .45rem; margin-top: .45rem; }
.maps__act { display: inline-flex; align-items: center; gap: .3rem; height: 1.8rem; padding: 0 .65rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .8125rem; font-weight: 500; color: var(--text-2); }
.maps__act svg { width: .85rem; height: .85rem; }
.maps__row.is-client .maps__act--site { color: var(--cyan); border-color: rgba(0, 198, 242, .45); }
.maps__thumb { width: 4.4rem; height: 4.4rem; border-radius: var(--radius-s); background: var(--night-3); overflow: hidden; align-self: center; }
.maps__thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: .35rem; }
.maps__pin-label { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .35rem; border-radius: 999px; background: var(--cyan); color: var(--void); font-size: .75rem; font-weight: 700; }

/* Map drop pins (absolute; place with --x/--y as % of the map/photo box) */
.map-pin {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 22px; height: 30px;
  margin: -30px 0 0 -11px;
  transform-origin: 50% 100%;
  color: rgba(234, 241, 247, .82);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5));
}
.map-pin svg { width: 100%; height: 100%; }
.map-pin--client { width: 38px; height: 52px; margin: -52px 0 0 -19px; color: var(--cyan); z-index: 2; }

/* ---------- 10. Closing CTA / finale ------------------------------------- */
.finale {
  position: relative;
  padding-block: clamp(6rem, 3rem + 10vw, 12rem) clamp(4rem, 2rem + 6vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}
.finale__bg { position: absolute; inset: 0; z-index: -2; }
.finale__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.finale::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--void) 0%, rgba(5, 8, 12, .55) 22%, rgba(5, 8, 12, .5) 60%, var(--void) 100%),
    linear-gradient(90deg, rgba(5, 8, 12, .9) 0%, rgba(5, 8, 12, .45) 60%, rgba(5, 8, 12, .3) 100%);
}
.finale__inner { display: grid; gap: var(--space-l); }
.finale h2 { max-width: 13ch; }
.finale .lede { max-width: 46ch; }
.finale__call {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, .5rem + 2vw, 2.5rem);
  width: fit-content;
  color: var(--text);
  transition: color var(--dur) var(--ease-out);
}
.finale__call:hover { color: var(--cyan); }
.finale__num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: min(clamp(3rem, 1rem + 12.5vw, 15rem), calc((100vw - 2 * var(--gutter) - 7rem) / 5.5));
  line-height: .8;
  white-space: nowrap;
  letter-spacing: -.005em;
  font-variant-numeric: lining-nums tabular-nums;
}
.finale__dial { position: relative; flex: none; width: clamp(3rem, 2rem + 4vw, 6.5rem); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--void); }
.finale__dial svg { width: 42%; height: 42%; }
.finale__dial .signal { --signal-size: 260%; left: -80%; top: -80%; width: 260%; height: 260%; }
.finale__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.finale__meta { color: var(--text-2); font-size: var(--step--1); }

/* ---------- 11. Footer --------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--night);
  border-top: 1px solid var(--line);
  padding-top: var(--space-xl);
}
.footer-grid { display: grid; gap: var(--space-l) var(--space-m); grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr .9fr .8fr 1.1fr; } }
.footer-brand { display: grid; gap: 1.1rem; align-content: start; justify-items: start; max-width: 34ch; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { color: var(--text-2); font-size: 1rem; }
.footer-col h2 {
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: 0;
  word-spacing: 0;
  line-height: 1.4;
  color: var(--muted);
  margin-bottom: .9rem;
}
.footer-col ul { display: grid; gap: .1rem; }
.footer-col a { display: inline-flex; align-items: center; min-height: 34px; color: var(--text); font-size: .98rem; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--cyan); }
.footer-col a[aria-current="page"] { color: var(--cyan); }
.footer-col address { display: grid; gap: .45rem; color: var(--text); font-size: .98rem; line-height: 1.5; }
.footer-col address .muted { font-size: .9rem; }
.footer-phone { font-family: var(--font-num); font-weight: 900; font-size: 2rem !important; line-height: 1; letter-spacing: .01em; }
/* Bottom row clears the fixed corner items (review badge bottom-left ≥1024px,
   floating call button bottom-right) so nothing sits underneath them at the end of the page. */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 2.25rem;
  justify-content: flex-start;
  align-items: center;
  margin-top: var(--space-xl);
  padding-block: 1.25rem 7rem;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--cyan); }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: 0 .1rem;
  color: var(--text);
  font-size: .875rem;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}
.motion-toggle svg { width: 12px; height: 12px; color: var(--cyan); }
.motion-toggle .icon-play { display: none; }
.motion-toggle[aria-pressed="true"] .icon-play { display: block; }
.motion-toggle[aria-pressed="true"] .icon-pause { display: none; }
.motion-toggle:hover { color: var(--cyan); }
html:not(.js) .motion-toggle { display: none; }

/* ---------- 12. Floating call button + third-party widgets ---------------- */
/* Bottom-right call button on every page (replaced the LeadConnector chat widget;
   same corner and footprint, so the clearances left for the launcher still apply). */
.call-fab {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 95;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--void);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .6), 0 0 0 1px rgba(5, 8, 12, .2);
  transition: background-color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.call-fab svg { width: 26px; height: 26px; }
.call-fab:hover { background: var(--cyan-hover); transform: translateY(-2px); }
.call-fab:active { transform: scale(.96); }
.call-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Floating ReputationHub badge: the widget script positions it (fixed, bottom-left).
   Hidden under 1024px like the live site. */
.review-badge-slot { position: relative; z-index: 90; }
@media (max-width: 1023.98px) { .review-badge-slot { display: none; } }
/* In-section review carousel: a white panel (the widget's own text is dark, its bg transparent) */
.review-embed {
  position: relative;
  border-radius: var(--radius-l);
  background: var(--paper);
  border: 1px solid var(--ink-line);
  padding: clamp(.75rem, .4rem + 1.2vw, 1.5rem);
  min-height: 420px;
  color-scheme: light;
}
.review-embed iframe { display: block; width: 100%; min-height: 390px; border: 0; }

/* ---------- 13. Forms (lead-form.js) ------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field__label { font-weight: 500; font-size: .95rem; color: var(--text); }
.field__label .req { color: var(--cyan); margin-left: .15em; }
.field__label .optional { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field__hint { font-size: .85rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border-radius: var(--radius-s);
  background: rgba(234, 241, 247, .04);
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast);
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239AABBD' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}
.select option { background: var(--night); color: var(--text); }
.input::placeholder, .textarea::placeholder { color: #7F90A3; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(234, 241, 247, .32); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 198, 242, .25);
  background: rgba(234, 241, 247, .06);
}
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea,
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #FF8A7A; }
.field__error { color: #FFB2A6; font-size: .875rem; }
.choice { display: flex; align-items: flex-start; gap: .65rem; font-size: .95rem; line-height: 1.45; }
.choice input { width: 20px; height: 20px; margin-top: .12em; accent-color: var(--cyan); flex: none; }
.form-note { font-size: .85rem; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
form[data-state="sending"] [type="submit"] { opacity: .7; pointer-events: none; }
[data-lead-status] { min-height: 1.5em; font-size: .95rem; }
[data-lead-status]:empty { min-height: 0; }
[data-lead-status][data-kind="sending"] { color: var(--muted); }
[data-lead-status][data-kind="success"] { color: var(--cyan); font-weight: 600; }
[data-lead-status][data-kind="error"] { color: #FFB2A6; }
/* Light form (on white / daylight) */
.form--light .field__label { color: var(--ink); }
.form--light .field__label .req { color: var(--cyan-ink); }
.form--light .field__hint, .form--light .form-note { color: var(--ink-muted); }
.form--light .input, .form--light .select, .form--light .textarea { background: #fff; border-color: rgba(10, 17, 27, .22); color: var(--ink); }
.form--light .input:hover, .form--light .select:hover, .form--light .textarea:hover { border-color: rgba(10, 17, 27, .45); }
.form--light .input:focus-visible, .form--light .select:focus-visible, .form--light .textarea:focus-visible { border-color: var(--cyan-deep); box-shadow: 0 0 0 3px rgba(0, 130, 168, .22); background: #fff; }
.form--light .select option { background: #fff; color: var(--ink); }
.form--light [data-lead-status][data-kind="success"] { color: var(--cyan-ink); }
.form--light [data-lead-status][data-kind="error"], .form--light .field__error { color: #B42318; }

/* ---------- 14. Reveal animations ----------------------------------------
   Base CSS shows everything. The hidden state only bridges first paint → main.js
   boot (html.js, motion allowed, not .anim-ready, not .reveal-failed). GSAP then
   owns the start state (fromTo) and clears it, so nothing snaps back.          */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.reveal-failed):not(.anim-ready) [data-reveal],
  html.js:not(.reveal-failed):not(.anim-ready) [data-reveal-stagger] > * {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  html.js:not(.reveal-failed):not(.anim-ready) [data-reveal="fade"] { transform: none; }
  html.js:not(.reveal-failed):not(.anim-ready) [data-reveal="scale"] { transform: scale(.96); }
  html.js:not(.reveal-failed) [data-split]:not([data-split="load"]) { visibility: hidden; }
  @media (min-width: 768px) {
    html.js:not(.reveal-failed) [data-split="load"] { visibility: hidden; }
  }
  html.js.anim-ready [data-split].is-split { visibility: visible; }
}
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- 15. Reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee.is-animated .marquee__track { animation: none; }
  .signal > i { animation: none !important; }
  .signal > i:nth-child(1) { transform: scale(.38); opacity: .7; }
  .signal > i:nth-child(2) { transform: scale(.66); opacity: .42; }
  .signal > i:nth-child(3) { transform: scale(.94); opacity: .2; }
}

/* ---------- 16. Utilities ------------------------------------------------ */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: var(--space-s); }
.mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.relative { position: relative; }

@media print {
  .site-header, .mobile-menu, .review-badge-slot { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Load check: the inline stylesheet guard re-fetches this file if this rule is missing. Keep it last. */
:root { --css-main: 1; }
