/* Bucket Truck for Hire
   Palette from the logo and van wrap: canton navy, wrap blue, signal red, white.
   Type: Barlow Condensed (display, echoes the italic wordmark) + Barlow (body). */

:root {
  --navy: #0E1F4D;
  --navy-2: #172B63;
  --navy-3: #22397A;
  --navy-deep: #091535;
  --blue: #2434B5;
  --blue-soft: #9DAAF5;
  --red: #D7141F;
  --red-dark: #AE0E17;
  --red-bright: #FF4650;
  --paper: #F3F5FA;
  --white: #FFFFFF;
  --line: #D8DDEA;
  --field-border: #7D88A6;
  --ink: #16203B;
  --ink-muted: #4A5573;
  --on-navy-muted: #C3CCE4;
  --success: #17703A;

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: 1.875rem;

  --radius: 4px;
  --radius-lg: 10px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --z-header: 40;
  --z-actionbar: 50;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero :focus-visible,
.section--navy :focus-visible,
.cta-band :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible,
.action-bar :focus-visible,
.topbar :focus-visible { outline-color: var(--white); }

main:focus { outline: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1, h2 {
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: .005em;
}
h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
h3 { font-size: var(--step-2); font-weight: 700; line-height: 1.15; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.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;
}

.skip-link {
  position: absolute;
  left: 16px; top: -120px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.narrow > * { max-width: 820px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }

.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }

.btn--light { border-color: rgba(255, 255, 255, .75); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--navy); }

.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* ---------- Top bar + header ---------- */

.topbar {
  background: var(--navy-deep);
  color: var(--on-navy-muted);
  font-size: var(--step--1);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}
.topbar__note { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__contact { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .icon { width: 16px; height: 16px; color: var(--blue-soft); }
@media (max-width: 1100px) {
  .topbar__contact li:last-child { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 31, 77, .10); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}
.brand__mark { width: 60px; height: auto; }
.brand__word {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: .01em;
  color: #000;
  text-shadow: 2px 2px 0 var(--blue);
}
.brand--light .brand__word { color: var(--white); text-shadow: 2px 2px 0 var(--red); }

/* Original logo from the old site. Its wordmark is small inside the artwork, so it sits
   on a white tab that hangs below the header, and scales down (transform only, no layout
   shift) once the page scrolls. */
:root:has(.site-header .brand__logo) { --header-h: 88px; }
.brand__logo { display: block; width: auto; height: 106px; }
.site-header .brand:has(.brand__logo) {
  align-self: flex-start;
  position: relative;
  z-index: 1;
  margin-bottom: -36px;
  padding: 8px 14px 10px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--white);
  box-shadow: 0 14px 18px -10px rgba(9, 21, 53, .35);
  transform-origin: top left;
  transition: transform .25s var(--ease-out);
}
.site-header.is-scrolled .brand:has(.brand__logo) { transform: scale(.7); }
.site-footer .brand__logo { height: 104px; }

@media (max-width: 1260px) {
  .site-header .brand__logo { height: 88px; }
  .site-header .brand:has(.brand__logo) { margin-bottom: -20px; padding: 6px 10px 8px; }
}

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a:hover { background: var(--paper); }
.primary-nav a[aria-current="page"] { color: var(--red); }
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 3px;
  background: var(--red);
}

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .icon { color: var(--red); }
.header-book { min-height: 48px; padding-inline: 20px; white-space: nowrap; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle [data-menu-icon] { display: inline-flex; }
.menu-toggle [hidden] { display: none; }

.mobile-menu { border-top: 1px solid var(--line); background: var(--white); }
.mobile-menu ul { list-style: none; margin: 0 auto; padding: 8px 0 16px; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  text-decoration: none;
}
.mobile-menu li:last-child a { border-bottom: 0; color: var(--red); }
.mobile-menu a[aria-current="page"] { color: var(--red); }

/* Below 1261px the seven menu links no longer fit on one line, so the menu button takes over. */
@media (max-width: 1260px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__actions { margin-left: auto; }
}
@media (min-width: 1261px) {
  .mobile-menu { display: none; }
}
@media (max-width: 767px) {
  :root, :root:has(.site-header .brand__logo) { --header-h: 72px; }
  .topbar { display: none; }
  .header-phone, .header-book { display: none; }
  .brand__mark { width: 50px; }
  .brand__word { font-size: 1.3rem; }
  .site-header .brand__logo { height: 72px; }
  .site-header .brand:has(.brand__logo) { margin-bottom: -16px; padding: 5px 8px 7px; }
}

/* ---------- Flag rule (red / white / red) ---------- */

.flag-rule {
  height: 12px;
  background: linear-gradient(to bottom, var(--red) 0 33.3%, var(--white) 33.3% 66.6%, var(--red) 66.6% 100%);
}

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding-top: clamp(40px, 6vw, 72px);
}
.hero__copy { align-self: center; padding-bottom: clamp(32px, 5vw, 64px); }
/* Headline styled after the old site's "NEED A LIFT? / BUCKET TRUCK FOR HIRE" graphic, in the
   owner's pick of colors: upright red kicker, then heavy white italic letters with a layered
   blue-then-red shadow (red, white and blue, like the flag logo). Real, selectable text. */
.hero h1 {
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: .01em;
  margin-bottom: .32em;
}
.hero__kicker {
  display: block;
  margin-bottom: .16em;
  font-size: .5em;
  font-style: normal;
  letter-spacing: .03em;
  color: var(--red-bright);
}
.hero__line {
  display: block;
  color: var(--white);
  text-shadow: .05em .05em 0 #3D5BFF, .075em .075em 0 var(--red);
}
.hero__lead {
  max-width: 34em;
  font-size: var(--step-1);
  color: var(--on-navy-muted);
}
.hero__come {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

/* "Skip the trip to the rental yard" checklist */
.checklist { margin: 20px 0 28px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; padding: 8px 0; font-size: var(--step-1); color: var(--ink-muted); }
.checklist .icon { width: 24px; height: 24px; margin-top: 3px; color: var(--red); }
.checklist strong { color: var(--navy); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 479px) {
  .hero__actions .btn, .cta-band__actions .btn, .page-hero__actions .btn { flex: 1 1 100%; }
}
.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--on-navy-muted);
  font-size: var(--step--1);
}
.hero__note .icon { color: var(--blue-soft); }
.hero__art { align-self: end; }
/* Size the diagram by viewport height so the whole truck shows above the fold.
   Width drives height through the viewBox ratio (690 x 590). */
.hero__art .reach-wrap {
  width: min(100%, 700px, max(450px, calc((100svh - 250px) * 1.1695)));
  margin-left: auto;
}
/* The workers GIF from the old site, standing right of the van (positioned in % of the viewBox). */
.reach__workers {
  position: absolute;
  left: var(--wl);
  bottom: var(--wb);
  width: var(--ww);
  pointer-events: none;
}
.reach__workers img { display: block; width: 100%; height: auto; }
.hero__art .reach { width: 100%; height: auto; }
.hero__street {
  height: 18px;
  background: #0A1740;
  border-top: 3px solid var(--navy-3);
}

@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; }
  .hero__art { max-width: 480px; width: 100%; margin-inline: auto; }
  .hero__art .reach-wrap { width: 100%; }
}

/* Reach diagram text */
.reach__num {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  fill: rgba(255, 255, 255, .72);
}
.reach__value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  fill: var(--red-bright);
}
.reach__label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  fill: var(--on-navy-muted);
}
.js .reach--hero .reach__moving { visibility: hidden; }
.js .reach--hero.is-ready .reach__moving { visibility: visible; }

/* Interactive hero: drag the red handle on the ruler, or the bucket itself. */
.reach-wrap { position: relative; }
.reach-range { display: none; }
.js .reach-range {
  display: block;
  position: absolute;
  left: var(--left);
  width: var(--w);
  top: calc(var(--top) - 14px);          /* extend by half the thumb so its center tracks the handle */
  height: calc(var(--h) + 28px);
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: grab;
  writing-mode: vertical-lr;
  direction: rtl;                          /* bottom = lowest, top = highest */
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  touch-action: none;
}
.reach-range:active { cursor: grabbing; }
.reach-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 44px; height: 28px; }
.reach-range::-moz-range-thumb { width: 44px; height: 28px; border: 0; }
.reach__focus { opacity: 0; }
.reach-wrap:has(.reach-range:focus-visible) .reach__focus { opacity: 1; }
.reach--hero [data-bucket] { cursor: grab; touch-action: none; }
.reach--hero.is-dragging, .reach--hero.is-dragging [data-bucket] { cursor: grabbing; }
.reach__hint { opacity: 0; transition: opacity .5s ease; }
.reach__hint.is-visible { opacity: 1; }
.reach__hint.is-visible.is-hidden { opacity: 0; }
.reach__hint-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  fill: var(--on-navy-muted);
}
/* The diagram scales down on phones, so its small labels need larger viewBox sizes. */
@media (max-width: 599px) {
  .reach__num { font-size: 20px; }
  .reach__label, .reach__hint-text { font-size: 21px; }
}

/* ---------- Proof strip ---------- */

.proof { border-bottom: 1px solid var(--line); }
.proof__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}
.proof__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  background: var(--white);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.proof__item .icon { width: 28px; height: 28px; color: var(--red); }

@media (max-width: 899px) {
  .proof__list { grid-template-columns: repeat(2, 1fr); }
  .proof__item { padding: 18px 12px; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: var(--step-1); color: var(--ink-muted); }
.section-head h2:last-child { margin-bottom: 0; }
.section--navy .section-head p { color: var(--on-navy-muted); }
.section-link { margin-top: 32px; font-weight: 600; }

/* Service pages (on hold in src/drafts/service-pages): breadcrumb trail, rows of job photos,
   and links to the other services. */
.breadcrumb { margin-bottom: 18px; font-size: var(--step--1); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { color: var(--on-navy-muted); }
.breadcrumb li + li::before { content: "›"; margin: 0 10px; color: var(--on-navy-muted); }
.breadcrumb a { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); font-weight: 600; }

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.photo-row--two { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.photo-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
@media (max-width: 699px) {
  .photo-row, .photo-row--two { grid-template-columns: 1fr 1fr; }
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.service-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.service-links a:hover { background: var(--navy); color: var(--white); }
.service__more { margin-top: 18px; font-weight: 700; }

/* ---------- Reach list (services by height) ---------- */

.reach-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--navy);
}
.reach-row {
  display: grid;
  grid-template-columns: 170px 40px minmax(0, 1fr);
  gap: 8px 24px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.reach-row__height {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.reach-row__height span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-style: normal;
  font-weight: 600;
  color: var(--ink-muted);
}
.reach-row > .icon { width: 36px; height: 36px; color: var(--navy); margin-top: 2px; }
.reach-row__body h3 { margin-bottom: .25em; }
.reach-row__body p { color: var(--ink-muted); max-width: 60ch; }
.reach-list__more { margin-top: 28px; font-size: var(--step-1); }
.reach-list__more a:last-child { margin-left: 8px; font-weight: 600; }

@media (max-width: 699px) {
  .reach-row { grid-template-columns: 40px minmax(0, 1fr); }
  .reach-row__height { grid-column: 1 / -1; font-size: 1.75rem; }
  .reach-row__height span { display: inline; margin-right: 6px; }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.step { position: relative; }
.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  font-style: italic;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 80px;
  right: calc(-1 * clamp(24px, 4vw, 48px) + 16px);
  border-top: 2px dashed var(--field-border);
}
.step p { color: var(--ink-muted); }

@media (max-width: 799px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding-left: 84px; min-height: 64px; }
  .step__num { position: absolute; left: 0; top: 0; }
  .step:not(:last-child)::after { top: 72px; bottom: -20px; left: 31px; right: auto; border-top: 0; border-left: 2px dashed var(--field-border); }
}

/* ---------- Split (photo + text) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__body > p { color: var(--ink-muted); font-size: var(--step-1); }
.split__body h2 { margin-bottom: .4em; }

.photo-frame { margin: 0; position: relative; }
.photo-frame img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 14px 14px 0 var(--red);
}
.photo-frame figcaption { margin-top: 26px; font-size: var(--step--1); color: var(--ink-muted); }

@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 440px; }
}

/* ---------- Spec table ---------- */

.spec-table {
  width: 100%;
  margin: 24px 0 28px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.spec-table th, .spec-table td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table thead th {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
}
.spec-table tbody th { font-weight: 600; color: var(--ink-muted); width: 38%; }
.spec-table td { font-weight: 600; color: var(--navy); }

/* ---------- Jobs strip + gallery ---------- */

.job-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.job-tile { margin: 0; }
.job-tile__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.job-tile { min-width: 0; }
.job-tile--link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}
.job-tile--link:hover { background: var(--navy-2); color: var(--white); }
.job-tile__link-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
}
.job-tile__link-text { color: var(--on-navy-muted); }

@media (max-width: 1023px) {
  .job-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 559px) {
  .job-strip { grid-template-columns: 1fr; }
  .job-tile--link { aspect-ratio: auto; min-height: 160px; }
}

/* Projects: one masonry gallery that keeps each photo's own shape. */
/* Four columns on desktop (about 285px each), close to the job photos' real width,
   so they aren't stretched and blurred. */
.gallery {
  columns: 4 160px;
  column-gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery__item { break-inside: avoid; margin-bottom: 20px; }
.gallery__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: none;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery__img {
  width: 100%;
  height: auto;
  transition: transform .3s var(--ease-out);
}
.gallery__open:hover .gallery__img { transform: scale(1.03); }

.gallery-empty {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 24px;
  border: 2px dashed var(--field-border);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.gallery-empty .icon { width: 32px; height: 32px; color: var(--navy); }
.gallery-empty h2 { font-size: 1.6rem; margin-bottom: .3em; }

/* The enlarged view shrinks to fit the photo and never enlarges it past its real size. */
.lightbox {
  width: fit-content;
  min-width: 220px;
  max-width: min(1000px, 100vw - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--navy-deep);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(9, 21, 53, .88); }
.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 140px);
  margin: 0 auto;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 20px;
}
.lightbox__caption { margin: 0 auto 0 0; font-weight: 600; }
.lightbox__bar--plain { justify-content: flex-end; }
.lightbox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .12); }
.lightbox__btn .icon { width: 22px; height: 22px; }

/* ---------- Reviews ---------- */

.reviews-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}
.reviews-cta h2 { margin-bottom: .3em; }
.reviews-cta p { max-width: 52ch; color: var(--on-navy-muted); font-size: var(--step-1); }
.reviews-cta .icon { color: #FFC83D; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin-top: 32px;
}
.review {
  margin: 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--navy-2);
}
.review__stars { display: flex; gap: 2px; color: #FFC83D; margin-bottom: 14px; }
.review__stars .icon { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0 0 16px; font-size: var(--step-1); }
.review figcaption { font-weight: 700; }
.review figcaption span { display: block; font-weight: 500; color: var(--on-navy-muted); }
.reviews-more { margin-top: 24px; }
.section--navy a:not(.btn) { color: var(--white); }

/* ---------- Service areas ---------- */

.area-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.area-col { padding: 28px; background: var(--white); }
.area-col h3 { margin-bottom: .6em; }
.area-col ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; }
.area-col li { padding: 3px 0; break-inside: avoid; }

@media (max-width: 899px) {
  .area-cols { grid-template-columns: 1fr; }
}

.area-extra {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 24px;
  font-size: var(--step-1);
}
.area-extra .icon { width: 22px; height: 22px; margin-top: 4px; color: var(--red); }
.area-extra strong { color: var(--navy); }
.area-region__text { max-width: 62ch; font-size: var(--step-1); color: var(--ink-muted); }

.area-region + .area-region { margin-top: clamp(48px, 6vw, 80px); }
.area-region > h2 { padding-bottom: .35em; border-bottom: 2px solid var(--navy); }
.area-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 28px 32px;
}
.area-group h3 { font-size: 1.3rem; margin-bottom: .4em; }
.area-group ul { margin: 0; padding: 0; list-style: none; }
.area-group li { padding: 3px 0; color: var(--ink-muted); }

/* ---------- FAQ ---------- */

.faq-list { border-top: 2px solid var(--navy); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 4px;
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary .icon { flex: none; width: 24px; height: 24px; color: var(--red); transition: transform .2s var(--ease-out); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq__answer a { font-weight: 600; }
.faq__answer { padding: 0 4px 22px; color: var(--ink-muted); max-width: 70ch; }

.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(48px, 7vw, 88px);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { max-width: 48ch; color: var(--on-navy-muted); font-size: var(--step-1); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Inner page hero ---------- */

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(44px, 6vw, 80px);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 4.2rem); margin-bottom: .3em; }
.page-hero p { max-width: 60ch; color: var(--on-navy-muted); font-size: var(--step-1); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Services page ---------- */

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.service + .service { margin-top: clamp(56px, 8vw, 96px); }
.service:nth-child(even) .service__media { order: 2; }
.service__media { margin: 0; }
.service__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
/* Upright job photos: shown taller and narrower so phone shots aren't blown up. */
.service__media--portrait { width: 100%; max-width: 300px; justify-self: center; }
.service__media--portrait img { aspect-ratio: 3 / 4; }
.service__height {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  color: var(--red);
}
.service p { color: var(--ink-muted); font-size: var(--step-1); }
.service ul { margin: 16px 0 0; padding: 0; list-style: none; }
.service li { display: flex; gap: 10px; padding: 5px 0; }
.service li .icon { color: var(--red); margin-top: 3px; }

@media (max-width: 799px) {
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__media { order: 0; }
}

.options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.option { padding: 26px 22px; background: var(--white); }
.option h3 { margin-bottom: .2em; }
.option p { color: var(--ink-muted); }
@media (max-width: 899px) { .options { grid-template-columns: 1fr 1fr; } }
@media (max-width: 499px) { .options { grid-template-columns: 1fr; } }

.included {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.included li { display: flex; gap: 14px; }
.included .icon { width: 28px; height: 28px; color: var(--red); margin-top: 2px; }
.included strong { display: block; color: var(--navy); font-size: var(--step-1); }
.included span { color: var(--ink-muted); }

/* ---------- Trucks page ---------- */

.checker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.checker__art {
  border-radius: var(--radius-lg);
  background: var(--navy);
  overflow: hidden;
  padding-top: 12px;
}
.checker__field label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--navy);
}
.checker__row { display: flex; align-items: center; gap: 16px; }
.checker__row input[type="range"] { flex: 1; accent-color: var(--red); height: 44px; cursor: pointer; }
.checker__row output {
  min-width: 4.5ch;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.checker__result {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 6px solid var(--success);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: var(--step-1);
}
.checker__result[data-state="over"] { border-left-color: var(--red); }
.checker__result strong { color: var(--navy); }

@media (max-width: 899px) {
  .checker { grid-template-columns: 1fr; }
  .checker__art { max-width: 520px; }
}

.truck-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
}
.truck-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--navy);
  border-radius: var(--radius);
  background: var(--white);
}
.truck-card h3 { font-size: 1.9rem; margin-bottom: .2em; }
.truck-card > p { color: var(--ink-muted); }
.truck-card .spec-table { margin-bottom: 0; }
.truck-card .spec-table tbody th { width: 50%; }

/* Spec blocks: the Altec (text + official table + spec sheet pages) and the Versalift van. */
.spec-block {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--navy);
  border-radius: var(--radius);
  background: var(--white);
}
.spec-block + .spec-block { margin-top: 24px; }
.spec-block h3 { font-size: 1.9rem; margin-bottom: .4em; }
.spec-block p { color: var(--ink-muted); }
.spec-block .spec-table { margin-bottom: 8px; }
.spec-block .spec-table tbody th { width: 50%; }
.spec-block--simple { align-items: center; }
.spec-block--simple .spec-table { margin: 0; }
.spec-note { margin: 0 0 20px; font-size: var(--step--1); }
.spec-sheets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.spec-sheet {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  cursor: zoom-in;
}
.spec-sheet img { width: 100%; transition: transform .3s var(--ease-out); }
.spec-sheet:hover img { transform: scale(1.03); }
.spec-sheets p { margin-top: 8px; font-size: var(--step--1); font-weight: 600; color: var(--navy); }
@media (max-width: 899px) {
  .spec-block { grid-template-columns: 1fr; }
}

.note {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border-left: 6px solid var(--blue);
}
.note .icon { width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.note p { margin: 0; }
.note--spaced { margin-top: 56px; }
/* About: the Al-lectric logo with the electrician animation standing below it. */
.about-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 32px);
  margin: 0;
  padding: clamp(32px, 4vw, 48px) 24px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: 14px 14px 0 var(--red);
  overflow: hidden;
}
.about-brand__logo { width: min(100%, 300px); height: auto; }
/* The electrician animation is a small looping video (57 KB, down from a 1.3 MB GIF), cropped
   to the figure with a 24px navy border. The outer few pixels feather into the panel so the
   video's edge can't be seen. */
.about-brand__gif { width: min(100%, 195px); }
.about-brand__gif video {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
}
.about-emergency { margin: 8px 0 28px; }
.about-emergency p { color: var(--ink); font-size: var(--step-0); }
.field--spaced { margin-bottom: 20px; }

/* ---------- About ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.values h3 { margin-bottom: .3em; }
.values p { color: var(--ink-muted); }
.values .icon { width: 34px; height: 34px; color: var(--red); margin-bottom: 14px; }
@media (max-width: 799px) { .values { grid-template-columns: 1fr; } }

/* ---------- Booking form ---------- */

.book {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 959px) {
  .book { grid-template-columns: 1fr; }
}

.form fieldset {
  margin: 0 0 36px;
  padding: 0;
  border: 0;
}
.form legend {
  width: 100%;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: var(--navy);
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
}
.form__full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form__grid { grid-template-columns: 1fr; } }

.field > label, .field .field__label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--navy);
}
.field__req { color: var(--red); }
.field__hint { margin: -2px 0 8px; font-size: var(--step--1); color: var(--ink-muted); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="time"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1F4D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--red); border-width: 2px; }
.field__error {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 8px 0 0;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--red-dark);
}
.field__error .icon { width: 18px; height: 18px; margin-top: 2px; }
.field__error[hidden] { display: none; }

/* Job address suggestions: a dropdown right under the address box */
.field--suggest { position: relative; }
.suggest {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  margin-top: 4px;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(14, 31, 77, .18);
}
.suggest[hidden] { display: none; }
.suggest__list { margin: 0; padding: 4px 0; list-style: none; }
.suggest__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 8px 14px;
  line-height: 1.3;
  cursor: pointer;
}
.suggest__item:hover { background: var(--paper); }
.suggest__item[aria-selected="true"] { background: var(--paper); box-shadow: inset 4px 0 0 var(--blue); }
.suggest__main { font-weight: 700; color: var(--navy); }
.suggest__sub { font-size: var(--step--1); color: var(--ink-muted); }
.suggest__credit {
  margin: 0;
  padding: 6px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-muted);
  text-align: right;
}

.choices { display: grid; gap: 10px; }
.choices--inline { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.choice strong { display: block; color: var(--navy); }
.choice span span { font-size: var(--step--1); color: var(--ink-muted); }
.choice:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--paper); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

.form__deposit { margin-bottom: 24px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__submit .btn { min-width: 240px; }
.form__submit p { margin: 0; font-size: var(--step--1); color: var(--ink-muted); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.spinner {
  width: 18px; height: 18px;
  border: 3px solid rgba(255, 255, 255, .4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.btn:not(.is-loading) .spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-alert {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border-left: 6px solid var(--red);
  background: #FDECEE;
}
.form-alert h2 { font-size: 1.5rem; color: var(--red-dark); margin-bottom: .3em; }
.form-alert ul { margin: 8px 0 0; padding-left: 20px; }
.form-alert a { color: var(--red-dark); font-weight: 600; }

.form-success {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border-top: 6px solid var(--success);
  background: var(--paper);
}
.form-success[hidden] { display: none; }
.form-success h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
@media (max-width: 559px) { .form-success { grid-template-columns: 1fr; } }

/* The small bucket-truck GIF from the old site, cropped to the truck inside a white tile. */
.truck-anim {
  position: relative;
  width: 150px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #FAFAFB;
  box-shadow: 0 0 0 1px var(--line);
}
.truck-anim img {
  position: absolute;
  left: -45.24%;                 /* show the 210 x 210 area around the truck (x 95, y 58) */
  top: -27.62%;
  width: 190.48%;
  max-width: none;
  height: auto;
}
.page-hero__split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.page-hero__split .truck-anim { width: 190px; box-shadow: none; }

.book-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}
.book-aside h2 { color: var(--white); font-size: 1.9rem; }
.book-aside h3 { color: var(--white); font-size: 1.25rem; margin: 1.4em 0 .4em; }
.book-aside p, .book-aside li { color: var(--on-navy-muted); }
.book-aside ol { margin: 0; padding-left: 22px; }
.book-aside li + li { margin-top: 8px; }
.book-aside .btn { width: 100%; margin-top: 20px; }
@media (max-width: 959px) { .book-aside { position: static; } }

/* ---------- Prose (privacy) ---------- */

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 64px 0;
  background: var(--navy-deep);
  color: var(--on-navy-muted);
  font-size: var(--step--1);
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
  gap: 40px;
}
.site-footer__brand p { margin: 18px 0; max-width: 34ch; }
.site-footer__title {
  margin-bottom: 14px;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 700;
  color: var(--white);
}
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { padding: 4px 0; }
.footer-list--icons li, .footer-list--icons a { display: flex; gap: 10px; align-items: flex-start; }
.footer-list--icons .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--blue-soft); }
.footer-social { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.footer-social .icon { width: 20px; height: 20px; }
.site-footer__small { margin-top: 12px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.site-footer__bottom p { margin: 0; }

@media (max-width: 959px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 559px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile action bar ---------- */

.action-bar { display: none; }
@media (max-width: 767px) {
  .action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-actionbar);
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--navy-deep);
    box-shadow: 0 -6px 20px rgba(9, 21, 53, .25);
  }
  .action-bar .btn { min-height: 50px; padding-inline: 12px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- 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;
  }
}
