/* ==========================================================================
   STAT Delivery Service — Design A
   One stylesheet, shared by the static reference build and the WP theme.
   Section 1-10 = the design.  Section 11 = core block output mapping.
   ========================================================================== */

:root {
  /* Neutrals */
  --ink:          #241f1b;
  --ink-2:        #3d3630;
  --body:         #57504a;
  --muted:        #6f6659;

  /* Brand */
  --navy:      #0B3D91;
  --navy-d:    #072d6e;
  --navy-l:    #0f4aad;

  /* Lines + surfaces */
  --line:         #e5ded6;
  --line-2:       #d8cfc4;
  --cream:        #faf8f5;
  --cream-line:   #eee7df;
  --img-bg:       #e8e1d9;

  /* On dark */
  --on-ink:       #b6aa9e;
  --on-ink-dim:   #9a8e81;
  --on-ink-sub:   #d5cbc2;
  --eyebrow-lt:   #d9c6b6;
  --topbar-text:  #a89c90;

  /* Status */
  --ok-bg:        #f0f6f0;
  --ok-line:      #2f6b3c;
  --ok-text:      #1f4a29;
  --err-bg:       #e5edfb;

  /* Layout */
  --wrap:         1180px;
  --gutter:       32px;

  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, -apple-system, "Segoe UI", sans-serif;

  /* Icon glyphs, inlined so no raw SVG lives in editable content */
  --ico-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.2' fill='none' stroke='%230b3d91' stroke-width='1.7'/%3E%3Cpath d='M12 7.2V12l3.4 2.2' fill='none' stroke='%23241f1b' stroke-width='1.7'/%3E%3C/svg%3E");
  --ico-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 24 24'%3E%3Crect x='3.2' y='5.4' width='17.6' height='15.4' fill='none' stroke='%23241f1b' stroke-width='1.7'/%3E%3Cpath d='M3.2 10.4h17.6' stroke='%23241f1b' stroke-width='1.7'/%3E%3Cpath d='M7.6 3.2v4.2M16.4 3.2v4.2' stroke='%230b3d91' stroke-width='1.7'/%3E%3Crect x='7.4' y='13.6' width='4.2' height='4.2' fill='%230b3d91'/%3E%3C/svg%3E");
  --ico-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.5c4.2-5.1 6.3-8.5 6.3-11.2A6.3 6.3 0 0 0 5.7 10.3c0 2.7 2.1 6.1 6.3 11.2z' fill='none' stroke='%23241f1b' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%230b3d91'/%3E%3C/svg%3E");
  --ico-phone-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 20 20'%3E%3Cpath d='M4 3h3.2l1.4 3.6-2 1.4a10 10 0 0 0 5 5l1.4-2 3.6 1.4V16a1 1 0 0 1-1.1 1A13.5 13.5 0 0 1 3 4.1 1 1 0 0 1 4 3z' fill='%23ffffff'/%3E%3C/svg%3E");
  --ico-phone-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 20 20'%3E%3Cpath d='M4 3h3.2l1.4 3.6-2 1.4a10 10 0 0 0 5 5l1.4-2 3.6 1.4V16a1 1 0 0 1-1.1 1A13.5 13.5 0 0 1 3 4.1 1 1 0 0 1 4 3z' fill='%23072d6e'/%3E%3C/svg%3E");
  --ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1.2 8.8 8.8 1.2M4 1.2h4.8V6' stroke='currentColor' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  --ico-fb-dim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.5h2.6l.4-3h-3V8.6c0-.9.3-1.5 1.6-1.5h1.5V4.4A21 21 0 0 0 14.5 4c-2.3 0-3.8 1.4-3.8 3.9v2.6H8.1v3h2.6V21z' fill='%23b6aa9e'/%3E%3C/svg%3E");
  --ico-fb-lt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.5h2.6l.4-3h-3V8.6c0-.9.3-1.5 1.6-1.5h1.5V4.4A21 21 0 0 0 14.5 4c-2.3 0-3.8 1.4-3.8 3.9v2.6H8.1v3h2.6V21z' fill='%23ffffff'/%3E%3C/svg%3E");
  --ico-li-dim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 9h3v11h-3zM6 4a1.8 1.8 0 1 0 0 3.6A1.8 1.8 0 0 0 6 4zM10 9h2.9v1.5c.6-1 1.7-1.8 3.4-1.8 2.5 0 3.7 1.6 3.7 4.5V20h-3v-6c0-1.5-.5-2.4-1.8-2.4-1.1 0-1.9.8-2.2 1.6V20h-3z' fill='%23b6aa9e'/%3E%3C/svg%3E");
  --ico-li-lt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 9h3v11h-3zM6 4a1.8 1.8 0 1 0 0 3.6A1.8 1.8 0 0 0 6 4zM10 9h2.9v1.5c.6-1 1.7-1.8 3.4-1.8 2.5 0 3.7 1.6 3.7 4.5V20h-3v-6c0-1.5-.5-2.4-1.8-2.4-1.1 0-1.9.8-2.2 1.6V20h-3z' fill='%23ffffff'/%3E%3C/svg%3E");
  --ico-x-dim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h4.6l4.6 6.2L17.6 3H21l-6.9 8.1L21.4 21h-4.6l-4.9-6.6L6 21H2.6l7.2-8.5z' fill='%23b6aa9e'/%3E%3C/svg%3E");
  --ico-x-lt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h4.6l4.6 6.2L17.6 3H21l-6.9 8.1L21.4 21h-4.6l-4.9-6.6L6 21H2.6l7.2-8.5z' fill='%23ffffff'/%3E%3C/svg%3E");
  --ico-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%232f6b3c' stroke-width='1.7'/%3E%3Cpath d='M5.8 10.3l2.6 2.6 5.2-5.6' stroke='%232f6b3c' stroke-width='1.9' fill='none'/%3E%3C/svg%3E");
  --ico-err: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%230b3d91' stroke-width='1.7'/%3E%3Cpath d='M10 5.4v6M10 13.6v.9' stroke='%230b3d91' stroke-width='1.9'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   1. Reset + base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  background: #fff;
  color: var(--ink);
}

img, svg { display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-d); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   WordPress block gap — off.

   WP gives every child of a flow, constrained or site-root container
   `margin-block-start: var(--wp--style--block-gap, 24px)`. This design sets
   all of its own spacing with explicit padding, so that gap only ever shows
   up as damage: a white band between the header rule and the hero, a seam
   above the footer, and — worst — a 24px top margin on every grid item
   except the first, which offsets cards 2 and 3 downward and leaves card 1
   looking taller than its neighbours.

   This must stay HIGH IN THE FILE. It is a one-class selector, so it ties
   with the design's own margin rules and loses to them on source order.
   Move it below them and it silently flattens every deliberate margin
   in the stylesheet.
   -------------------------------------------------------------------------- */
.wp-site-blocks > *,
.is-layout-flow > *,
.is-layout-constrained > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */

.topbar { background: var(--ink); color: var(--topbar-text); }
.topbar__inner {
  min-height: 40px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; padding-top: 6px; padding-bottom: 6px;
}

.masthead { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.masthead__inner {
  padding-top: 12px; padding-bottom: 12px; min-height: 90px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px;
}

.brand { display: flex; align-items: center; gap: 16px; flex: none; }
.brand img { height: 56px; width: auto; }

.nav-primary {
  margin-left: auto; display: flex; flex-wrap: wrap;
  align-items: center; gap: 6px 22px;
}
.nav-primary a {
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  white-space: nowrap; padding: 8px 0;
  border-bottom: 2px solid transparent; color: var(--ink-2);
}
.nav-primary a:hover { color: var(--navy); }
.nav-primary a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--navy); }

.is-external { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.is-external::after {
  content: ""; width: 10px; height: 10px; flex: none;
  background: var(--ico-arrow) center / contain no-repeat;
}

.header-cta {
  display: flex; align-items: center; gap: 18px;
  padding-left: 26px; border-left: 1px solid var(--line);
  margin-left: auto; flex: none;
}
.header-cta__phone { display: flex; flex-direction: column; gap: 3px; }
.header-cta__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}
.header-cta__num { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.header-cta__num:hover { color: var(--navy); }

.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 700; border: none; border-radius: 0; cursor: pointer;
  font-size: 16.5px; padding: 20px 30px; text-decoration: none;
}
/* Modifiers are scoped to .btn on purpose. The same modifier classes sit on
   Gutenberg's .wp-block-button WRAPPER, and a bare `.btn--white` would paint
   padding and borders on the wrapper as well as the link inside it — the
   button then renders at double the padding. Section 13 styles the WP side. */
.btn.btn--sm { font-size: 14px; letter-spacing: 0.02em; padding: 15px 22px; }
.btn.btn--solid { background: var(--navy); color: #fff; }
.btn.btn--solid:hover { background: var(--navy-l); color: #fff; }
.btn.btn--sm.btn--solid:hover { background: var(--navy-d); color: #fff; }
.btn.btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.btn.btn--white { background: #fff; color: var(--navy-d); padding: 19px 28px; }
.btn.btn--white:hover { background: var(--ink); color: #fff; }
.btn.btn--ghost-strong { color: #fff; border: 1.5px solid rgba(255,255,255,0.55); padding: 19px 28px; }
.btn.btn--ghost-strong:hover { border-color: #fff; background: rgba(255,255,255,0.12); color: #fff; }

/* Phone glyph — CSS so no raw SVG lives in editable content */
.btn.btn--call::before {
  content: ""; width: 17px; height: 17px; flex: none;
  background: var(--ico-phone-white) center / contain no-repeat;
}
.btn.btn--white.btn--call::before { background-image: var(--ico-phone-navy); }
.btn.btn--white.btn--call:hover::before { background-image: var(--ico-phone-white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   4. Typography helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 18px;
}
.eyebrow--light {
  display: flex; align-items: center; gap: 13px;
  color: var(--eyebrow-lt); margin-bottom: 22px;
}
.eyebrow--light::before {
  content: ""; width: 30px; height: 2px; background: var(--navy); display: block; flex: none;
}

.h2 {
  font-size: 41px; line-height: 1.1; letter-spacing: -0.026em;
  font-weight: 700; margin: 0 0 22px; text-wrap: balance;
}
.lede {
  font-size: 17.5px; line-height: 1.68; color: var(--body);
  margin: 0; text-wrap: pretty;
}
.lede--gap { margin-bottom: 34px; }
.lede--narrow { max-width: 510px; }

/* --------------------------------------------------------------------------
   5. Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(26,22,19,0.95) 0%, rgba(26,22,19,0.88) 48%, rgba(26,22,19,0.45) 100%),
    url("../img/hero-van.jpg") 62% 50% / cover no-repeat,
    var(--ink);
}
.hero__inner { position: relative; padding-top: 128px; padding-bottom: 116px; }
.hero__copy { max-width: 660px; }
.hero h1 {
  font-size: 62px; line-height: 1.03; letter-spacing: -0.03em;
  font-weight: 700; color: #fff; margin: 0 0 42px; text-wrap: balance;
}

/* --------------------------------------------------------------------------
   6. Page banner (interior)
   -------------------------------------------------------------------------- */

.banner { background: var(--ink); padding: 82px 0 74px; }
.banner h1 {
  font-size: 54px; line-height: 1.05; letter-spacing: -0.028em;
  font-weight: 700; color: #fff; margin: 0;
}

/* --------------------------------------------------------------------------
   7. Split sections + lists
   -------------------------------------------------------------------------- */

.section { padding: 104px 0; }
.section--tight { padding: 96px 0 88px; }

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 76px; align-items: center;
}
.split__media {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--img-bg); margin: 0;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split__media { order: 2; }

.checklist {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.checklist li {
  background: #fff; padding: 19px 4px; display: flex;
  align-items: center; gap: 16px; font-size: 16.5px; font-weight: 600;
}
.checklist li::before {
  content: ""; width: 8px; height: 8px; background: var(--navy);
  transform: rotate(45deg); display: block; flex: none;
}

/* --------------------------------------------------------------------------
   8. Feature cards (3-up)
   -------------------------------------------------------------------------- */

.band-cream {
  padding: 100px 0; background: var(--cream);
  border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line);
}
.section-head { max-width: 740px; margin: 0 auto 62px; text-align: center; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--navy); padding: 38px 32px 40px;
}
.card::before {
  content: ""; display: block; width: 34px; height: 34px;
  margin-bottom: 24px; background: center / contain no-repeat;
}
.card--clock::before    { background-image: var(--ico-clock); }
.card--calendar::before { background-image: var(--ico-calendar); }
.card--pin::before      { background-image: var(--ico-pin); }
.card h3 {
  font-size: 20px; line-height: 1.25; font-weight: 700;
  margin: 0 0 12px; letter-spacing: -0.012em;
}
.card p { font-size: 16px; line-height: 1.65; color: var(--body); margin: 0; }

/* --------------------------------------------------------------------------
   9. Services grid — numbering is a CSS counter, not editable content
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px;
  counter-reset: svc;
}
.service {
  border: 1px solid var(--line); padding: 40px 38px 44px;
  display: flex; flex-direction: column; gap: 17px; background: #fff;
  counter-increment: svc;
}
.service:hover { border-color: #c9bfb3; }
.service::before {
  content: counter(svc, decimal-leading-zero);
  font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  color: var(--navy); letter-spacing: 0.06em;
}
.service h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.018em; font-weight: 700; margin: 0; }
.service p { font-size: 16.5px; line-height: 1.68; color: var(--body); margin: 0; text-wrap: pretty; }

/* About body */
.prose { display: flex; flex-direction: column; gap: 24px; }
.prose p { font-size: 17.5px; line-height: 1.7; color: var(--body); margin: 0; text-wrap: pretty; }
.prose p.prose__lead { font-size: 20px; line-height: 1.62; color: var(--ink); font-weight: 500; }

/* --------------------------------------------------------------------------
   10. Contact
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 72px; align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 34px; }
.detail { display: flex; flex-direction: column; gap: 8px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.detail:last-child { padding-bottom: 0; border-bottom: none; }
.detail__label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin: 0;
}
.detail__value { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 0; }
.detail__value--roomy { line-height: 1.75; }
.detail__phone {
  font-size: 34px; font-weight: 700; letter-spacing: -0.026em;
  color: var(--ink); line-height: 1.15; margin: 0;
}
.detail__phone a { color: inherit; }
.detail__phone a:hover { color: var(--navy); }

.form-panel { border: 1px solid var(--line); padding: 44px 46px 48px; background: #fff; }
.form-panel h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.form-panel__note { font-size: 16px; line-height: 1.6; color: var(--body); margin: 0 0 32px; }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-2);
}
.field input, .field select, .field textarea {
  font-size: 16.5px; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--ink); padding: 14px 15px; border: 1px solid var(--line-2);
  background: #fff; border-radius: 0;
}
.field textarea { resize: vertical; }
.field--hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.turnstile-slot { margin: 0; }

.alert { display: flex; align-items: flex-start; gap: 13px; padding: 16px 18px; }
.alert::before {
  content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px;
  background: center / contain no-repeat;
}
.alert p { font-size: 15.5px; line-height: 1.55; margin: 0; }
.alert--ok { background: var(--ok-bg); border-left: 3px solid var(--ok-line); color: var(--ok-text); }
.alert--ok::before { background-image: var(--ico-ok); }
.alert--err { background: var(--err-bg); border-left: 3px solid var(--navy); color: var(--navy-d); }
.alert--err::before { background-image: var(--ico-err); }
.alert strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */

.cta-band { background: var(--navy); }
.cta-band__inner {
  padding-top: 66px; padding-bottom: 66px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 40px;
}
.cta-band__copy { max-width: 620px; }
.cta-band h2 {
  font-size: 33px; line-height: 1.14; letter-spacing: -0.024em;
  font-weight: 700; color: #fff; margin: 0 0 12px; text-wrap: balance;
}
.cta-band p { font-size: 17.5px; line-height: 1.6; color: #ccdbf4; margin: 0; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: var(--on-ink); }
.site-footer__cols {
  padding-top: 74px;
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 56px;
}
.footer-logo { display: inline-flex; background: #fff; padding: 14px 16px; margin-bottom: 20px; }
.footer-logo img { height: 44px; width: auto; }
.site-footer p { font-size: 15.5px; line-height: 1.7; margin: 0 0 14px; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer h2 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #fff; margin: 0 0 18px;
}
.site-footer strong { color: #fff; font-weight: 700; }

.footer-contact {
  list-style: none; margin: 0 0 26px; padding: 0;
  display: grid; gap: 11px; font-size: 15.5px; line-height: 1.55;
}
.footer-contact a { color: var(--on-ink); }
.footer-contact a:hover { color: #fff; }
.footer-contact__num { color: #fff !important; font-weight: 700; font-size: 18px; }
.footer-contact__num:hover { color: #91b1e6 !important; }

.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
}
.social a::before {
  content: ""; width: 16px; height: 16px;
  background: center / contain no-repeat;
}
.social .s-fb::before { background-image: var(--ico-fb-dim); }
.social .s-li::before { background-image: var(--ico-li-dim); }
.social .s-x::before  { background-image: var(--ico-x-dim); width: 14px; height: 14px; }
.social a:hover { border-color: #fff; }
.social .s-fb:hover::before { background-image: var(--ico-fb-lt); }
.social .s-li:hover::before { background-image: var(--ico-li-lt); }
.social .s-x:hover::before  { background-image: var(--ico-x-lt); }

.site-footer__bar {
  margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.14);
  padding: 26px 0 34px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 20px;
}
.nav-footer { display: flex; flex-wrap: wrap; gap: 24px; }
.nav-footer a { font-size: 14.5px; color: var(--on-ink); }
.nav-footer a:hover { color: #fff; }
.copyright { font-size: 13.5px; color: var(--on-ink-dim); }

/* Sticky mobile call bar */
.call-bar { display: none; }

/* ==========================================================================
   13. Core block output mapping
   Lets the same rules style hand-written markup and Gutenberg output.
   ========================================================================== */

/* No blanket margin reset on .wp-block-group: it would win on source order
   over .wrap (margin-inline: auto) and .section-head (62px bottom) and
   silently flatten the layout. Core's own rules are :where()-wrapped at zero
   specificity, so every class rule above already beats them. */
.wp-block-heading { margin-top: 0; }
figure.wp-block-image { margin: 0; }
.wp-block-image img { max-width: 100%; height: auto; }

/* Core buttons → design buttons.  className lands on .wp-block-button. */
/* align-items is declared on purpose: core's .is-layout-flex sets it to
   `center`, which leaves buttons of unequal height (the ghost variants carry
   a 1.5px border) sitting at different sizes in the same row. */
.btn-row.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
/* display:flex on the wrapper, otherwise the inline-flex link sits in a line
   box and the button ends up 2px taller than the hand-written markup. */
.btn-row .wp-block-button { margin: 0; display: flex; }
.btn-row .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 16.5px; padding: 20px 30px;
  border: none; border-radius: 0; text-decoration: none;
}
.btn-row .btn--solid .wp-block-button__link { background: var(--navy); color: #fff; }
.btn-row .btn--solid .wp-block-button__link:hover { background: var(--navy-l); color: #fff; }
.btn-row .btn--ghost .wp-block-button__link {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-row .btn--ghost .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-row .btn--white .wp-block-button__link { background: #fff; color: var(--navy-d); padding: 19px 28px; }
.btn-row .btn--white .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.btn-row .btn--ghost-strong .wp-block-button__link {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); padding: 19px 28px;
}
.btn-row .btn--ghost-strong .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.btn-row .btn--call .wp-block-button__link::before {
  content: ""; width: 17px; height: 17px; flex: none;
  background: var(--ico-phone-white) center / contain no-repeat;
}
.btn-row .btn--white.btn--call .wp-block-button__link::before { background-image: var(--ico-phone-navy); }
.btn-row .btn--white.btn--call .wp-block-button__link:hover::before { background-image: var(--ico-phone-white); }

/* Core list inside the checklist pattern */
ul.checklist.wp-block-list { padding-left: 0; }

/* ==========================================================================
   14. Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  :root { --gutter: 26px; }
  .hero h1 { font-size: 52px; }
  .hero__inner { padding-top: 104px; padding-bottom: 94px; }
  .banner h1 { font-size: 46px; }
  .h2 { font-size: 36px; }
  .split { gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 52px; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 44px; }
  .site-footer__cols > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .cards-3 { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 76px 0; }
  .section--tight { padding: 70px 0 64px; }
  .band-cream { padding: 76px 0; }
  .section-head { margin-bottom: 44px; }
}

@media (max-width: 768px) {
  :root { --gutter: 18px; }

  .topbar__inner { justify-content: center; font-size: 10.5px; letter-spacing: 0.13em; }
  .topbar__inner span:last-child { display: none; }

  /* Longhands, not the `padding` shorthand: this element is also .wrap,
     which supplies the horizontal gutter. A shorthand here wins on source
     order and zeroes it, putting the logo and hamburger flush against the
     screen edges. Same reason the desktop rule above uses longhands. */
  .masthead__inner { min-height: 0; padding-top: 14px; padding-bottom: 14px; gap: 0; justify-content: space-between; flex-wrap: nowrap; }
  .brand img { height: 40px; }
  .header-cta { display: none; }

  .nav-toggle {
    display: flex; width: 46px; height: 46px; border: 1px solid var(--line-2);
    background: #fff; flex-direction: column; align-items: center;
    justify-content: center; gap: 5px; cursor: pointer; flex: none; padding: 0;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }

  .nav-primary {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); margin: 0;
  }
  .nav-primary.is-open { display: flex; }
  .nav-primary a {
    padding: 17px var(--gutter); font-size: 16.5px; color: var(--ink);
    border-bottom: 1px solid var(--line); border-top: none;
  }
  .nav-primary a:last-child { border-bottom: none; }
  .nav-primary a[aria-current="page"] { border-bottom-color: var(--line); color: var(--navy); }

  .hero {
    background:
      linear-gradient(180deg, rgba(26,22,19,0.72) 0%, rgba(26,22,19,0.94) 100%),
      url("../img/hero-van.jpg") 64% 50% / cover no-repeat,
      var(--ink);
  }
  .hero__inner { padding-top: 44px; padding-bottom: 40px; }
  .hero h1 { font-size: 36px; line-height: 1.06; letter-spacing: -0.028em; margin-bottom: 26px; }

  .btn, .btn-row .wp-block-button, .btn-row .wp-block-button__link {
    width: 100%; justify-content: center; padding: 18px 24px; font-size: 16px;
  }
  .btn-row .wp-block-button { padding: 0; }
  .btn-row { gap: 12px; }

  .banner { padding: 48px 0 44px; }
  .banner h1 { font-size: 34px; }

  .h2 { font-size: 28px; margin-bottom: 18px; }
  .lede { font-size: 16.5px; }
  .section, .band-cream { padding: 56px 0; }
  .section--tight { padding: 52px 0 48px; }
  .section-head { margin-bottom: 32px; text-align: left; }

  .service { padding: 30px 26px 34px; }
  .service h2 { font-size: 21px; }
  .card { padding: 30px 26px 32px; }

  .prose p.prose__lead { font-size: 18px; }
  .prose p { font-size: 16.5px; }

  .form-panel { padding: 28px 22px 32px; }
  .form__row { grid-template-columns: 1fr; }
  .detail__phone { font-size: 29px; }

  .cta-band__inner { padding-top: 44px; padding-bottom: 44px; gap: 26px; }
  .cta-band h2 { font-size: 26px; }
  .cta-band p { font-size: 16.5px; }
  .cta-band .btn-row { width: 100%; }

  .site-footer__cols { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .site-footer__cols > :first-child { grid-column: auto; }
  .site-footer__bar { margin-top: 36px; padding: 22px 0 28px; }
  .nav-footer { display: grid; gap: 12px; }
  .social a { width: 44px; height: 44px; }

  .call-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: var(--navy); border-top: 1px solid var(--navy-d);
  }
  .call-bar a {
    display: flex; align-items: center; justify-content: center; gap: 11px;
    padding: 18px; min-height: 60px; color: #fff;
    font-size: 17.5px; font-weight: 700; letter-spacing: 0.01em;
  }
  .call-bar a::before {
    content: ""; width: 19px; height: 19px; flex: none;
    background: var(--ico-phone-white) center / contain no-repeat;
  }
  body { padding-bottom: 61px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media print {
  .topbar, .nav-toggle, .call-bar, .cta-band { display: none; }
}
