/* ==========================================================================
   Frosty Snow Management, design system
   Identity: winter at night. Navy carries the surface, orange only ever
   marks an action. Type is fleet signage over a plain humanist text face.
   Every colour pair below is verified against WCAG 2.1 AA.
   ========================================================================== */

:root {
  /* --- Winter navy, the dominant surface --- */
  --navy-950: #030C15;
  --navy-900: #05121D;
  --navy-800: #0A1E2E;
  --navy-700: #113047;
  --navy-600: #1B4463;
  --navy-500: #2A5B7F;

  /* --- Ice, the cold accent ---
     ice-500 is for dark backgrounds and borders only.
     ice-700 is the only ice permitted as text on a light background (5.85:1). */
  --ice-300: #9BD2F2;
  --ice-400: #63B6E8;
  --ice-500: #3E9FDC;
  --ice-700: #176A9E;
  --ice-050: #E4F1FB;

  /* --- Plow orange, action only, never decoration ---
     orange-600 backs buttons and badges. White text on it is 4.91:1, which
     clears AA for normal text, because button labels sit at 15px bold and
     WCAG only treats bold as "large" from 18.66px up.
     orange-400 is text on navy (6.17:1). */
  --orange-400: #F26A1B;
  --orange-600: #C24A08;
  --orange-700: #97370A;

  /* --- Neutrals --- */
  --frost-050: #F1F5F9;
  --frost-100: #E3EBF2;
  --frost-200: #CBD9E5;
  --steel-300: #8DA2B4;
  --steel-500: #566C7E;
  --steel-600: #4A5D6E;
  --ink: #10202C;
  --white: #FFFFFF;

  /* --- Semantic --- */
  --bg: var(--white);
  --bg-alt: var(--frost-050);
  --bg-dark: var(--navy-900);
  --text: #16242F;
  --text-muted: var(--steel-600);
  --text-on-dark: #DCE7F0;
  --text-muted-on-dark: var(--steel-300);
  --border: var(--frost-200);
  --border-dark: rgba(155, 210, 242, .18);

  /* --- Type ---
     Display: Archivo, heavy and slightly expanded. Reads as truck lettering
     and highway signage. Body: Public Sans, humanist, plainspoken, built for
     small sizes in poor light. Two different skeletons, a real contrast axis. */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, sans-serif;

  /* --- Space --- */
  --container: 1220px;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
  --radius: 3px;
  --radius-lg: 6px;

  /* --- Depth --- */
  --shadow-sm: 0 1px 2px rgba(5, 18, 29, .07), 0 2px 8px rgba(5, 18, 29, .05);
  --shadow-md: 0 4px 14px rgba(5, 18, 29, .1), 0 14px 36px rgba(5, 18, 29, .08);
  --shadow-lg: 0 16px 34px rgba(5, 18, 29, .18), 0 34px 72px rgba(5, 18, 29, .16);

  /* --- Semantic z-index scale --- */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky-cta: 60;
  --z-header: 100;
  --z-dropdown: 110;
  --z-drawer-scrim: 200;
  --z-drawer: 210;
  --z-dialog-scrim: 300;
  --z-dialog: 310;

  /* --- Motion --- */
  --ease-out: cubic-bezier(.22, 1, .36, 1);       /* ease-out-quint */
  --ease-out-soft: cubic-bezier(.16, 1, .3, 1);   /* ease-out-expo */
  --dur-fast: 140ms;
  --dur: 220ms;
  --dur-slow: 420ms;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.66;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.022em;
  text-wrap: balance;
  /* Safety net: a long uppercase word at display size must never punch out of
     a narrow column. The viewport is part of the design. */
  overflow-wrap: break-word;
}
h1, h2 { text-transform: uppercase; font-stretch: 112%; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 700; letter-spacing: -.014em; }
h4 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }

:focus-visible { outline: 3px solid var(--ice-500); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }
.container--mid { max-width: 980px; }
.section { padding-block: clamp(2.75rem, 5.5vw, 5rem); }
.section--tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-900); color: var(--text-on-dark); }
.section--darker { background: var(--navy-950); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--darker h1, .section--darker h2, .section--darker h3, .section--darker h4 { color: var(--white); }

/* Section heads are headline-led. No eyebrow chips.
   NOTE: container widths are in rem. `ch` on a container resolves against the
   container's own (body-size) font, which silently produces ~270px columns
   when the intent was to measure a 56px heading. Measure constraints belong on
   the text element itself, where `ch` means what you expect. */
.section-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head--wide { max-width: 58rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { max-width: 20ch; }
.section-head--wide h2 { max-width: 24ch; }
.section-head--center h2 { max-width: none; }
.section-head p { margin-top: 1rem; font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--text-muted); max-width: 64ch; }
.section--dark .section-head p, .section--darker .section-head p { color: var(--text-on-dark); }
.section-head--center p { margin-inline: auto; }

/* ---------- Two-column section body ----------
   Desktop reads heading-left / content-right so the page uses its width
   instead of running a narrow column down the left edge. Collapses to a
   single column below 960px, where the stacked reading order is correct. */
.section-cols { display: grid; gap: 1.25rem; }
@media (min-width: 960px) {
  .section-cols {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: clamp(2.5rem, 4.5vw, 4.5rem);
    align-items: start;
  }
  .section-cols__head { position: sticky; top: calc(var(--header-h) + 1.75rem); }
  .section-cols__body > .stack > p { max-width: 68ch; }
}
/* The sticky column is narrow, so its heading steps down a size. At the full
   h2 scale a single uppercase word ("Commercial") measures wider than the
   column and overflows. */
.section-cols__head h2 { font-size: clamp(1.5rem, 2.3vw, 2.05rem); max-width: none; }

.lede { font-size: clamp(1.06rem, 1.8vw, 1.22rem); color: var(--text-muted); max-width: 62ch; }
.section--dark .lede { color: var(--text-on-dark); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; min-height: 50px;
  font-family: var(--font-body); font-size: .94rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .045em; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: var(--dur-fast); }
/* Hover deepens rather than brightens: lightening the orange would drop white
   label text to 3.06:1 and fail AA. orange-700 takes it to 7.33:1. */
.btn--primary { background: var(--orange-600); color: var(--white); box-shadow: 0 3px 0 var(--orange-700); }
.btn--primary:hover { background: var(--orange-700); box-shadow: 0 5px 0 #6E2807; }
.btn--primary:active { box-shadow: 0 1px 0 #6E2807; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--frost-200); }
.btn--outline:hover { border-color: var(--navy-800); background: var(--frost-050); }
.btn--sm { padding: .62rem 1.1rem; min-height: 44px; font-size: .8rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: var(--frost-200); font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 40px; }
.topbar__group { display: flex; align-items: center; gap: 1.6rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; white-space: nowrap; }
.topbar__item:hover { color: var(--ice-300); }
.topbar__item svg { flex: none; color: var(--ice-500); }
.topbar__rating { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; white-space: nowrap; }
.topbar__rating:hover { color: var(--ice-300); }
.topbar__rating strong { color: var(--white); }
.topbar__stars { color: #FFB020; letter-spacing: .04em; }
@media (max-width: 920px) { .topbar__group--left { display: none; } .topbar__inner { justify-content: center; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--white); border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease-out);
}
.header--scrolled { box-shadow: var(--shadow-md); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.header__logo { flex: none; display: block; line-height: 0; }
.header__logo img { width: auto; height: 54px; }
.header__nav { margin-left: auto; display: flex; align-items: center; gap: 1.9rem; }
.nav__links { display: flex; align-items: center; gap: 1.45rem; list-style: none; }
.nav__links > li { position: relative; }
.nav__links > li > a {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem 0;
  font-size: .855rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--navy-800); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.nav__links > li > a:hover { color: var(--ice-700); }
.nav__links > li > a.is-active { color: var(--ice-700); border-bottom-color: var(--orange-600); }
.nav__chev { flex: none; transition: transform var(--dur) var(--ease-out); }
.nav__item--drop:hover .nav__chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 1px); left: -1rem; min-width: 274px;
  background: var(--navy-800); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg); padding: .45rem; list-style: none;
  z-index: var(--z-dropdown);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
}
.nav__item--drop:hover .dropdown,
.nav__item--drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: .58rem .8rem; font-size: .855rem; font-weight: 600;
  color: var(--text-on-dark); text-decoration: none; border-radius: var(--radius);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.dropdown a:hover { background: var(--navy-700); color: var(--white); }
.dropdown a.is-active { background: var(--navy-700); color: var(--ice-300); }
.dropdown--wide { min-width: 580px; columns: 2; column-gap: .4rem; }
.dropdown--wide li { break-inside: avoid; }
.dropdown__all { color: var(--orange-400) !important; font-weight: 700 !important; }

.header__cta { display: flex; align-items: center; gap: 1.1rem; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 800; font-stretch: 108%;
  letter-spacing: -.015em; color: var(--navy-900); text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease-out);
}
.header__phone:hover { color: var(--orange-600); }
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 50px; height: 50px; margin-left: auto; padding: 0 11px;
  background: var(--navy-900); border: 0; border-radius: var(--radius);
}
.hamburger span { display: block; height: 2px; background: var(--white); border-radius: 2px; }

@media (max-width: 1140px) {
  .header__nav { display: none; }
  .hamburger { display: flex; }
  .header__logo img { height: 46px; }
}

/* ---------- Mobile drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: var(--z-drawer-scrim);
  background: rgba(3, 12, 21, .6); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer);
  width: min(410px, 90vw); background: var(--navy-900); color: var(--text-on-dark);
  transform: translateX(102%);
  transition: transform var(--dur-slow) var(--ease-out-soft);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-dark); }
.drawer__head img { height: 44px; width: auto; background: var(--white); padding: 4px 8px; border-radius: var(--radius); }
.drawer__close { display: grid; place-items: center; width: 46px; height: 46px; background: transparent; border: 1px solid var(--border-dark); border-radius: var(--radius); color: var(--white); }
.drawer__close:hover { background: var(--navy-700); }
.drawer__nav { padding: .5rem 1.25rem 1.25rem; list-style: none; }
.drawer__nav > li + li { border-top: 1px solid var(--border-dark); }
.drawer__nav > li > a, .drawer__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1rem 0; min-height: 52px; background: none; border: 0; text-align: left;
  font-family: var(--font-body); font-size: .95rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--text-on-dark); text-decoration: none;
}
.drawer__nav > li > a.is-active, .drawer__toggle.is-active { color: var(--ice-300); }
.drawer__toggle svg { flex: none; transition: transform var(--dur) var(--ease-out); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__sub { display: none; padding: 0 0 .85rem .9rem; list-style: none; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { display: block; padding: .6rem 0; min-height: 44px; font-size: .9rem; font-weight: 500; color: var(--ice-300); text-decoration: none; }
.drawer__sub a:hover { color: var(--white); }
.drawer__cta { display: grid; gap: .65rem; padding: 1.25rem; margin-top: auto; border-top: 1px solid var(--border-dark); }
.drawer__info { padding: 0 1.25rem 1.5rem; font-size: .84rem; color: var(--text-muted-on-dark); }
.drawer__info p { margin-bottom: .3rem; }

/* ---------- Hero, navy drenched ---------- */
.hero { position: relative; background: var(--navy-950); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, var(--navy-950) 8%, rgba(5, 18, 29, .86) 46%, rgba(10, 30, 46, .5) 100%),
    linear-gradient(to top, var(--navy-950) 2%, transparent 34%);
}
.hero__inner { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem); max-width: 47rem; }
.hero__inner--wide { max-width: 54rem; }
/* `ch` is correct here: it resolves against the heading's own display size. */
.hero h1 { color: var(--white); max-width: 15ch; }
.hero__sub { margin-top: 1.35rem; max-width: 52ch; font-size: clamp(1.06rem, 1.9vw, 1.28rem); line-height: 1.58; color: var(--text-on-dark); }
.hero .btn-row { margin-top: 2.25rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: .85rem 2.25rem; list-style: none;
  margin-top: 2.75rem; padding-top: 1.85rem; border-top: 1px solid var(--border-dark);
  max-width: 62ch;
}
.hero__trust li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 600; color: var(--text-on-dark); }
.hero__trust svg { flex: none; color: var(--ice-400); }

.hero--page .hero__inner { padding-block: clamp(2.5rem, 5.5vw, 4.25rem); max-width: 54rem; }
.hero--page h1 { font-size: clamp(2rem, 4.2vw, 3.35rem); max-width: 19ch; }
.hero--page .hero__sub { max-width: 56ch; }
.hero--plain { background: var(--navy-900); }
.hero--plain::after { display: none; }

/* ---------- Breadcrumbs ---------- */
.crumbs { position: relative; font-size: .8125rem; margin-bottom: 1.15rem; color: var(--ice-300); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; list-style: none; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: var(--white); font-weight: 600; }
.crumbs__sep { opacity: .45; }

/* ---------- Storm report band, the signature element ----------
   A dispatch strip rather than a hero-metric row: rules, tabular figures,
   a live-looking status marker. */
.report { background: var(--navy-800); color: var(--white); border-block: 1px solid var(--border-dark); }
.report__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); }
.report__cell { padding: 1.6rem 1.35rem; border-left: 1px solid var(--border-dark); }
.report__cell:first-child { border-left: 0; }
@media (max-width: 640px) {
  .report__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report__cell:nth-child(odd) { border-left: 0; }
  .report__cell:nth-child(n+3) { border-top: 1px solid var(--border-dark); }
  /* An odd final cell fills the row rather than leaving a half-width gap. */
  .report__cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.report__label {
  display: block; font-size: .715rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .11em; color: var(--ice-400); margin-bottom: .5rem;
}
.report__value {
  display: block; font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.report__note { display: block; margin-top: .45rem; font-size: .82rem; color: var(--text-muted-on-dark); }
.report__live { display: inline-flex; align-items: center; gap: .45rem; }
.report__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-400); flex: none; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }
@media (prefers-reduced-motion: reduce) { .report__dot { animation: none; } }

/* ---------- Ledger, the editorial service list ----------
   Replaces a card grid. Rows, not boxes. Reads like a service schedule. */
.ledger { border-top: 1px solid var(--border); }
.section--dark .ledger, .section--darker .ledger { border-top-color: var(--border-dark); }
.ledger__row {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 1rem 2rem; align-items: center;
  padding: clamp(1.15rem, 2vw, 1.5rem) 0;
  border-bottom: 1px solid var(--border);
  transition: background-color var(--dur) var(--ease-out);
}
.ledger__thumb {
  aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius);
  background: var(--frost-100);
}
.section--dark .ledger__thumb, .section--darker .ledger__thumb { background: var(--navy-700); }
.ledger__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.ledger__row:hover .ledger__thumb img { transform: scale(1.05); }
/* The heading link covers the whole row, so the tap target is the row itself
   and there is only one link per row for assistive tech. */
.ledger__title a::after { content: ''; position: absolute; inset: 0; }
.ledger__row:focus-within { background: var(--frost-050); }
.section--dark .ledger__row:focus-within { background: rgba(155, 210, 242, .05); }
.section--dark .ledger__row, .section--darker .ledger__row { border-bottom-color: var(--border-dark); }
.ledger__row:hover { background: var(--frost-050); }
.section--dark .ledger__row:hover, .section--darker .ledger__row:hover { background: rgba(155, 210, 242, .05); }
.ledger__title { display: flex; align-items: baseline; gap: .7rem; }
.ledger__title h3 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); text-transform: uppercase; font-stretch: 108%; letter-spacing: -.02em; }
.ledger__title a { text-decoration: none; }
.ledger__title a:hover { color: var(--ice-700); }
.section--dark .ledger__title a:hover { color: var(--ice-300); }
.ledger__new {
  align-self: center; padding: .18rem .5rem; border-radius: 2px;
  background: var(--orange-600); color: var(--white);
  font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.ledger__desc { font-size: .98rem; color: var(--text-muted); }
.section--dark .ledger__desc, .section--darker .ledger__desc { color: var(--text-on-dark); }
.ledger__go {
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ice-700); text-decoration: none;
}
.section--dark .ledger__go, .section--darker .ledger__go { color: var(--ice-300); }
.ledger__go svg { transition: transform var(--dur) var(--ease-out); }
.ledger__row:hover .ledger__go svg { transform: translateX(4px); }
/* Tablet: the arrow column folds away, thumbnail keeps its own column. */
@media (max-width: 1020px) {
  .ledger__row { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.3fr); gap: .9rem 1.5rem; }
  .ledger__go { display: none; }
}
/* Mobile: thumbnail on the left spanning both text rows. */
@media (max-width: 760px) {
  .ledger__row {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: .35rem 1rem; align-items: start;
  }
  .ledger__thumb { grid-row: 1 / span 2; align-self: start; }
  .ledger__title { align-self: end; }
  .ledger__title h3 { font-size: 1.18rem; }
  .ledger__desc { font-size: .92rem; }
}

/* ---------- Cards, used sparingly and never in identical grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(286px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(224px, 1fr)); }

.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ice-500); }
.card__media { position: relative; aspect-ratio: 16 / 9; background: var(--frost-100); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .card__media img { transform: scale(1.045); }
.card__tag {
  position: absolute; top: .7rem; left: .7rem; padding: .28rem .55rem; border-radius: 2px;
  background: var(--orange-600); color: var(--white);
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.3rem 1.45rem; }
.card__body h3 { margin-bottom: .5rem; }
.card__body h3 a { text-decoration: none; }
.card__body h3 a:hover { color: var(--ice-700); }
.card__body p { font-size: .95rem; color: var(--text-muted); }
.card__link {
  margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ice-700); text-decoration: none;
}
.card__link svg { transition: transform var(--dur) var(--ease-out); }
.card__link:hover svg { transform: translateX(4px); }

/* Feature block. Full border, no side stripe. */
.feature { padding: 1.55rem 1.4rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.feature h3, .feature h4 { margin-bottom: .5rem; }
.feature p { font-size: .94rem; color: var(--text-muted); }
.feature a { color: var(--ice-700); }
.section--dark .feature, .section--darker .feature { background: rgba(155, 210, 242, .05); border-color: var(--border-dark); }
.section--dark .feature p, .section--darker .feature p { color: var(--text-on-dark); }
.section--dark .feature a, .section--darker .feature a { color: var(--ice-300); }

/* ---------- Steps. Numbered only where the content is genuinely a sequence. ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--border); }
/* A six-step sequence reads fine in two columns row-wise: 01 02 / 03 04 / 05 06. */
@media (min-width: 1000px) {
  .steps--split { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4vw, 3.5rem); }
  .steps--split .step:nth-child(2) { border-top: 0; }
}
.section--dark .steps, .section--darker .steps { border-top-color: var(--border-dark); }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--border);
}
.section--dark .step, .section--darker .step { border-bottom-color: var(--border-dark); }
.step__n {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; font-stretch: 112%;
  line-height: 1.15; color: var(--orange-600); min-width: 2.6ch; font-variant-numeric: tabular-nums;
}
.section--dark .step__n, .section--darker .step__n { color: var(--orange-400); }
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { font-size: .95rem; color: var(--text-muted); max-width: 68ch; }
.section--dark .step p, .section--darker .step p { color: var(--text-on-dark); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: .85rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: 1rem; }
.checklist svg { flex: none; margin-top: .3em; color: var(--ice-700); }
.section--dark .checklist svg, .section--darker .checklist svg { color: var(--ice-400); }
.checklist--2 { grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); gap: .85rem 2.25rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius-lg); }
.section--dark .split__media img, .section--darker .split__media img { box-shadow: var(--shadow-lg); }
.split--reverse .split__media { order: 2; }
@media (max-width: 760px) { .split--reverse .split__media { order: 0; } }

/* ---------- Reviews ---------- */
.review { display: flex; flex-direction: column; height: 100%; padding: 1.6rem 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.review__stars { color: #FFB020; font-size: 1.05rem; letter-spacing: .08em; margin-bottom: .75rem; }
.review__text { font-size: .97rem; line-height: 1.62; color: var(--text); margin-bottom: 1.1rem; }
.review__who { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--border); }
.review__name { display: block; font-weight: 700; color: var(--navy-800); }
.review__meta { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }
.review__meta svg { flex: none; color: var(--ice-700); }
.section--dark .review, .section--darker .review { background: rgba(155, 210, 242, .05); border-color: var(--border-dark); }
.section--dark .review__text, .section--darker .review__text { color: var(--text-on-dark); }
.section--dark .review__name, .section--darker .review__name { color: var(--white); }
.section--dark .review__who, .section--darker .review__who { border-top-color: var(--border-dark); }
.section--dark .review__meta, .section--darker .review__meta { color: var(--text-muted-on-dark); }
.section--dark .review__meta svg, .section--darker .review__meta svg { color: var(--ice-400); }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 72s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee .review { width: 376px; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .marquee__track { animation: none; }
}

/* ---------- Coverage index ---------- */
.index-cols { columns: 4; column-gap: 2.25rem; }
@media (max-width: 900px) { .index-cols { columns: 3; } }
@media (max-width: 620px) { .index-cols { columns: 2; column-gap: 1.25rem; } }
.index-group { break-inside: avoid; margin-bottom: 1.9rem; }
.index-group h3 {
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-family: var(--font-body); color: var(--ice-400);
  padding-bottom: .5rem; margin-bottom: .7rem; border-bottom: 1px solid var(--border-dark);
}
.index-group ul { list-style: none; display: grid; gap: .3rem; }
.index-group a { font-size: .92rem; color: var(--text-on-dark); text-decoration: none; }
.index-group a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.chips a, .chips span {
  display: inline-block; padding: .45rem .85rem; font-size: .86rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--border); border-radius: 100px;
  color: var(--navy-800); text-decoration: none;
  transition: border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.chips a:hover { border-color: var(--ice-700); color: var(--ice-700); }
.section--dark .chips a, .section--dark .chips span,
.section--darker .chips a, .section--darker .chips span { background: rgba(155, 210, 242, .07); border-color: var(--border-dark); color: var(--text-on-dark); }
.section--dark .chips a:hover, .section--darker .chips a:hover { border-color: var(--ice-400); color: var(--white); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.section--dark .faq { border-top-color: var(--border-dark); }
.faq__item { border-bottom: 1px solid var(--border); }
.section--dark .faq__item { border-bottom-color: var(--border-dark); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  width: 100%; padding: 1.3rem 0; background: none; border: 0; text-align: left;
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--navy-900);
  transition: color var(--dur) var(--ease-out);
}
.section--dark .faq__q { color: var(--white); }
.faq__q:hover { color: var(--ice-700); }
.section--dark .faq__q:hover { color: var(--ice-300); }
.faq__q svg { flex: none; margin-top: .22em; color: var(--orange-600); transition: transform var(--dur) var(--ease-out); }
.section--dark .faq__q svg { color: var(--orange-400); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-slow) var(--ease-out); }
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.3rem; color: var(--text-muted); max-width: 72ch; }
.section--dark .faq__a p { color: var(--text-on-dark); }

/* ---------- Answer / callout. Full borders, no side stripes. ---------- */
.answer {
  padding: 1.5rem 1.6rem; margin-bottom: 2rem;
  background: var(--navy-900); color: var(--text-on-dark); border-radius: var(--radius-lg);
}
.answer h2, .answer strong {
  display: block; font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ice-400); margin-bottom: .6rem;
}
.answer p { font-size: 1.04rem; line-height: 1.6; color: var(--white); }
.callout { padding: 1.35rem 1.5rem; background: var(--frost-050); border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: .96rem; }
.callout a { color: var(--ice-700); font-weight: 600; }
.note { padding: 1.05rem 1.25rem; background: var(--frost-050); border: 1px solid var(--border); border-radius: var(--radius); font-size: .87rem; color: var(--text-muted); }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin: 2.75rem 0 1rem; font-size: clamp(1.55rem, 2.9vw, 2.1rem); }
.prose h3 { margin: 2rem 0 .7rem; }
.prose ul, .prose ol { margin: 0 0 1.35rem 1.2rem; display: grid; gap: .5rem; }
.prose a { color: var(--ice-700); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--orange-700); }
.prose img { border-radius: var(--radius-lg); margin-block: 1.6rem; }

.table-wrap { overflow-x: auto; margin: 1.6rem 0 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 460px; }
th, td { padding: .82rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
thead th { background: var(--navy-900); color: var(--white); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
tbody th { font-weight: 700; color: var(--navy-800); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--frost-050); }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--navy-950); color: var(--white); overflow: hidden; isolation: isolate; }
.cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(760px 340px at 78% 8%, rgba(62, 159, 220, .22), transparent 68%);
}
.cta__inner { text-align: center; max-width: 46rem; margin-inline: auto; }
.cta h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta p { margin-top: 1.1rem; color: var(--text-on-dark); font-size: 1.06rem; max-width: 56ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 2.15rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--frost-200); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-block: clamp(2.9rem, 6vw, 4.5rem); }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); } }
.footer h4 { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; font-stretch: 108%; letter-spacing: .01em; color: var(--white); margin-bottom: 1.1rem; }
.footer__brand img { height: 62px; width: auto; background: var(--white); padding: 6px 10px; border-radius: var(--radius); margin-bottom: 1.1rem; }
.footer__brand p { color: var(--text-muted-on-dark); font-size: .89rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--border-dark); border-radius: var(--radius); color: var(--frost-200);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.footer__social a:hover { background: var(--ice-700); border-color: var(--ice-700); color: var(--white); }
.footer__links { list-style: none; display: grid; gap: .55rem; }
.footer__links a { color: var(--frost-200); text-decoration: none; font-size: .89rem; }
.footer__links a:hover { color: var(--ice-300); }
.footer__contact { display: grid; gap: 1rem; margin-bottom: 1.25rem; list-style: none; }
.footer__contact li { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.footer__contact svg { margin-top: .26em; color: var(--ice-500); flex: none; }
.footer__contact a { color: var(--frost-200); text-decoration: none; }
.footer__contact a:hover { color: var(--ice-300); }
.footer__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-dark); }
.footer__map iframe { width: 100%; height: 176px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
.footer__areas { padding-block: 1.8rem; border-top: 1px solid var(--border-dark); }
.footer__areas h4 { margin-bottom: .9rem; font-size: .95rem; }
.footer__areas ul { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; }
.footer__areas a { font-size: .84rem; color: var(--text-muted-on-dark); text-decoration: none; }
.footer__areas a:hover { color: var(--ice-300); }
.footer__bottom { border-top: 1px solid var(--border-dark); }
.footer__bottom .container { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; align-items: center; justify-content: space-between; padding-block: 1.4rem; font-size: .84rem; color: var(--text-muted-on-dark); }
.footer__bottom a { color: var(--text-muted-on-dark); text-decoration: none; }
.footer__bottom a:hover { color: var(--ice-300); }

/* ---------- Sticky CTAs ---------- */
.rail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: var(--z-sticky-cta); display: flex; flex-direction: column; gap: 2px; }
.rail a {
  display: flex; align-items: center; gap: .5rem; padding: 1rem .85rem;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; color: var(--white); writing-mode: vertical-rl;
  transition: transform var(--dur) var(--ease-out);
}
.rail a svg { writing-mode: horizontal-tb; flex: none; }
.rail__phone { background: var(--navy-800); border-radius: var(--radius) 0 0 0; }
.rail__form { background: var(--orange-600); border-radius: 0 0 0 var(--radius); }
.rail a:hover { transform: translateX(-4px); }
@media (max-width: 1140px) { .rail { display: none; } }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky-cta);
  display: none; gap: 1px; background: var(--border-dark);
  box-shadow: 0 -4px 20px rgba(3, 12, 21, .28);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 58px; padding: .5rem;
  font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--white); text-decoration: none;
}
.mobile-bar__phone { background: var(--navy-800); }
.mobile-bar__form { background: var(--orange-600); }
@media (max-width: 1140px) { .mobile-bar { display: flex; } body { padding-bottom: 58px; } }

/* ---------- Estimate dialog ---------- */
.popup-overlay {
  position: fixed; inset: 0; z-index: var(--z-dialog-scrim); display: grid; place-items: center;
  padding: 1rem; background: rgba(3, 12, 21, .76); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; overflow-y: auto;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.popup-overlay.is-open { opacity: 1; visibility: visible; }
.popup {
  position: relative; z-index: var(--z-dialog);
  width: min(560px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.985);
  transition: transform var(--dur-slow) var(--ease-out-soft);
}
.popup-overlay.is-open .popup { transform: translateY(0) scale(1); }

/* Branded header band, so the dialog reads as ours before anything is typed. */
.popup__head {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; gap: .9rem;
  padding: 1.05rem 3.5rem 1.05rem 1.35rem;
  background: var(--navy-800); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.popup__logo { height: 46px; width: auto; flex: none; }
.popup__headtext { min-width: 0; }
.popup__head h2 {
  font-size: clamp(1.15rem, 3vw, 1.4rem); line-height: 1.15; color: var(--white);
  margin: 0; text-transform: uppercase; letter-spacing: -.01em;
}
.popup__sub { font-size: .82rem; color: var(--ice-300); margin: .15rem 0 0; }
.popup__close {
  position: absolute; top: .8rem; right: .8rem; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 0; color: var(--white);
  transition: background-color var(--dur) var(--ease-out);
}
.popup__close:hover { background: rgba(255, 255, 255, .24); }
.popup__close:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

.form { display: grid; gap: 1rem; padding: 1.35rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.field { display: grid; gap: .32rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--navy-800);
}
.field .req { color: var(--orange-700); }

.form input, .form select, .form textarea {
  width: 100%; padding: .8rem .9rem; min-height: 48px;
  font: inherit; font-size: .95rem; color: var(--text);
  background: var(--frost-050); border: 1px solid var(--frost-200); border-radius: var(--radius);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.form textarea { min-height: 104px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0; background: var(--white);
  border-color: var(--ice-700); box-shadow: 0 0 0 3px rgba(23, 106, 158, .18);
}
/* Placeholders held to the same 4.5:1 bar as body text. */
.form input::placeholder, .form textarea::placeholder { color: var(--steel-500); opacity: 1; }
/* Only flag after a submit attempt, never while the user is still typing. */
.form.was-validated input:invalid,
.form.was-validated select:invalid { border-color: var(--orange-700); background: #FFF6F1; }

/* A2P 10DLC consent. Optional by design, so it is styled as information
   rather than as a required field. */
.consent {
  display: grid; grid-template-columns: auto 1fr; gap: .7rem;
  padding: .9rem 1rem; background: var(--frost-050);
  border: 1px solid var(--frost-200); border-radius: var(--radius);
}
.consent input[type="checkbox"] {
  width: 20px; height: 20px; min-height: 0; padding: 0; margin-top: .12rem;
  accent-color: var(--orange-600); flex: none; cursor: pointer;
}
.consent label {
  font-size: .78rem; line-height: 1.5; color: var(--text-muted); cursor: pointer;
}
.consent a { color: var(--ice-800); font-weight: 600; text-decoration: underline; }
.consent a:hover { color: var(--orange-700); }

.btn--submit { gap: .5rem; font-size: 1.02rem; padding-block: 1rem; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .78rem; color: var(--text-muted); margin: 0; text-align: center; }
.form__note strong { color: var(--navy-800); }
.form__note svg { flex: none; color: var(--ice-700); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Compact form for phones ----------
   The desktop dialog is deliberately generous, but on a 375x812 phone the same
   layout ran to 1,289px of content in an 812px viewport. Everything below
   tightens the chrome around the fields and keeps the short pairs two-up so the
   form fits close to a single screen.

   Two things are deliberately NOT shrunk:
   1. The consent block keeps its full disclosure text. It is what a carrier
      reviews for the A2P 10DLC registration, so it stays legible and visible
      rather than collapsed behind a tap.
   2. Inputs go UP to 16px. Any smaller and iOS Safari zooms the viewport on
      focus, which is a far worse experience than a few extra pixels. */
@media (max-width: 560px) {
  .popup-overlay { padding: .5rem; }
  .popup { max-height: calc(100dvh - 1rem); }

  .popup__head { padding: .75rem 2.9rem .75rem .9rem; gap: .65rem; }
  .popup__logo { height: 34px; }
  .popup__head h2 { font-size: 1.02rem; }
  .popup__sub { font-size: .72rem; }
  .popup__close { width: 34px; height: 34px; top: .55rem; right: .55rem; }

  .form { padding: .9rem; gap: .75rem; }
  .form__grid { gap: .6rem .55rem; }
  .field { gap: .22rem; }
  .field label { font-size: .66rem; letter-spacing: .045em; }

  .form input, .form select, .form textarea {
    min-height: 46px; padding: .6rem .7rem; font-size: 16px;
  }
  .form textarea { min-height: 76px; }

  .consent { padding: .7rem .75rem; gap: .55rem; }
  .consent input[type="checkbox"] { width: 22px; height: 22px; }
  .consent label { font-size: .72rem; line-height: 1.45; }

  .btn--submit { font-size: .95rem; padding-block: .85rem; }
  .form__note { font-size: .7rem; gap: .3rem; }
}

/* ---------- Blog ---------- */
.post__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; font-size: .85rem; color: var(--ice-300); margin-top: 1.1rem; }
.post__body { margin-top: 2.5rem; }
.post-card__meta { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; margin-bottom: .5rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 1.6rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.contact-list svg { margin-top: .3em; color: var(--ice-700); flex: none; }
.contact-list strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; color: var(--navy-900); margin-bottom: .2rem; }
.contact-list a { color: var(--ice-700); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { color: var(--text-muted); font-size: .87rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Entrance motion ----------
   `.reveal` alone is never hidden. JS adds `.reveal--armed` only to elements
   that start below the fold, so with JS off, in a headless renderer, or under
   reduced motion, every section renders visible. */
@media (prefers-reduced-motion: no-preference) {
  .reveal--armed { opacity: 0; transform: translateY(16px); }
  .reveal--armed.is-in {
    opacity: 1; transform: none;
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.center-row { justify-content: center; }
.stack > * + * { margin-top: 1.1rem; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
