/* Haulwell Removals — first-party removals / man-and-van template (S115).
   All imagery is authored CSS. No media, fonts, icons, embeds, CDNs, analytics or tracking.

   Voice: SOLID AND REASSURING. Deep indigo and warm coral on a soft paper, an all-sans display
   voice (heavy, tight caps headings) and tighter 14px radii — set against greenfold's oat/green
   serif, copperline's warm-white teal pills, voltway's dark amber caps and vowbarn's hairline
   serif. A removals firm sells trust and heavy lifting, so the type is blunt and the blocks are
   square-shouldered.

   This template carries a MILEAGE + FUEL-COST estimator (see estimator.js): a client-side tool
   that turns a move distance, a van size and a fuel price into an honest fuel-cost RANGE, and
   recommends a van by property size. No API, no key, no cost, no network — and framed as an
   estimate of FUEL ONLY throughout, never a quote for the move. */

:root {
  /* Theming for the shared accessibility panel (library/shared/a11y/). */
  --a11y-ink: var(--ink);
  --a11y-surface: var(--card);
  --a11y-line: var(--line);
  --a11y-radius: var(--radius);
  --a11y-sans: var(--sans);

  --indigo: #232a52;
  --indigo-mid: #2f3a7a;
  --indigo-soft: #e7e9f5;
  --blue-line: #c9cee8;
  --coral: #ba533b;
  --coral-deep: #d1512f;
  --paper: #f6f4ee;
  --card: #fffdf8;
  --line: #e3ddce;
  --ink: #1e2130;
  --muted: #5a5f70;
  --radius: 14px;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Theming for the shared scripted assistant (assistant.js reads these; safe fallbacks if absent). */
  --assistant-accent: #ba533b;
  --assistant-accent-ink: #fff;
  --assistant-panel: #fffdf8;
  --assistant-ink: #1e2130;
  --assistant-muted: #5a5f70;
  --assistant-soft: #e7e9f5;
  --assistant-line: #e3ddce;

  /* text-safe accents (S116): same hue and saturation, darkened only in lightness
     until they meet WCAG AA on white. The bright originals stay for fills and art. */
  --coral-text: #dc3914;
  --coral-deep-text: #b94729;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
a { color: inherit; }
ul, ol { list-style: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 12;
  background: var(--indigo); color: #fff; padding: 0.55rem 1.1rem;
  border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 700;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* ---------- Header + navigation ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.35rem; background: var(--paper);
  border-bottom: 1px solid var(--line); position: relative;
}
.wordmark {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em;
  text-decoration: none; color: var(--indigo); white-space: nowrap; text-transform: uppercase;
}
.wordmark span[aria-hidden] { color: var(--coral-text); }
.nav-disclosure summary {
  list-style: none; cursor: pointer; user-select: none;
  font-weight: 700; padding: 0.55rem 1.1rem;
  border: 2px solid var(--indigo); border-radius: 8px; color: var(--indigo);
}
.nav-disclosure summary::-webkit-details-marker { display: none; }
.nav-disclosure[open] summary { background: var(--indigo); color: #fff; }
.nav-disclosure nav {
  position: absolute; right: 1.35rem; left: 1.35rem; top: calc(100% + 0.5rem); z-index: 9;
  display: flex; flex-direction: column; gap: 0.2rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.9rem; box-shadow: 0 18px 38px rgba(35, 42, 82, 0.18);
}
.nav-disclosure nav a:not(.button) { text-decoration: none; font-weight: 700; padding: 0.6rem 0.8rem; border-radius: 8px; color: var(--indigo); }
.nav-disclosure nav a:not(.button):hover { background: var(--indigo-soft); }

/* Desktop inline nav is OPTED INTO by main.js (matchMedia adds .nav-inline and sets [open]).
   A closed <details> does not render its children, so pure CSS cannot inline this menu at desktop
   widths — without JavaScript the summary button stays visible and usable instead. */
.nav-disclosure.nav-inline summary { display: none; }
.nav-disclosure.nav-inline nav {
  position: static; flex-direction: row; align-items: center; gap: 0.4rem;
  background: none; border: 0; padding: 0; box-shadow: none;
}
.nav-disclosure.nav-inline nav a { padding: 0.45rem 0.8rem; }

.header-call { display: none; }
@media (max-width: 799px) {
  .site-header { gap: 0.6rem; }
  .header-call { display: inline-block; margin-left: auto; }
}
@media (max-width: 479px) {
  .site-header { padding: 0.8rem 0.9rem; gap: 0.45rem; }
  .wordmark { font-size: 1.2rem; }
  .header-call { font-size: 0.9rem; }
  .nav-disclosure summary { padding: 0.42rem 0.85rem; font-size: 0.9rem; }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 800; font-size: 1rem; letter-spacing: 0.01em;
  background: var(--coral); color: #fff;
  border: 2px solid var(--coral); border-radius: 9px;
  padding: 0.8rem 1.75rem; cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.button:hover { background: var(--coral-deep); border-color: var(--coral-deep-text); transform: translateY(-1px); }
.button-small { padding: 0.5rem 1.05rem; font-size: 0.94rem; }
.button-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.button-outline:hover { background: var(--indigo); color: #fff; }
.button-light { background: #fff; color: var(--indigo); border-color: #fff; }
.button-light:hover { background: var(--indigo-soft); border-color: var(--indigo-soft); }
.call-link { font-weight: 800; color: var(--coral-deep-text); text-decoration: none; white-space: nowrap; }
.call-link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); padding: 3rem 1.35rem 2.5rem; }
.hero-inner {
  max-width: 70rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
  min-width: 0;
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--indigo); background: var(--indigo-soft);
  border-radius: 6px; padding: 0.35rem 0.85rem; margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.8rem); max-width: 15ch; text-transform: none; }
.hero h1 em { font-style: normal; color: var(--coral-text); }
.hero-sub { margin-top: 1.1rem; font-size: 1.12rem; max-width: 44ch; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.7rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; margin-top: 1.5rem; }
.hero-badges li { font-size: 0.93rem; font-weight: 700; color: var(--indigo); padding-left: 1.35rem; position: relative; }
.hero-badges li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 0.7rem; height: 0.7rem; border-radius: 3px; background: var(--coral); transform: rotate(45deg);
}
.hero-visual { min-width: 0; overflow: hidden; }
.hero-plate { height: clamp(250px, 38vw, 380px); border-radius: var(--radius); border: 1px solid var(--line); display: block; width: 100%; object-fit: cover;}
.proof-kicker { color: #ffb59f; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- hw-daysheet: the hero's compact 3-stop teaser of the move-day journey ---------- */
.hw-daysheet {
  background: var(--indigo); color: #fff; border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.05rem 1.2rem 1.2rem; margin-top: -0.3rem;
}
.hw-daysheet-kicker { color: #ffb59f; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hw-daysheet-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 0.75rem; counter-reset: hwday; }
.hw-daysheet-steps li { counter-increment: hwday; position: relative; padding-left: 1.7rem; font-size: 0.84rem; line-height: 1.35; }
.hw-daysheet-steps li::before {
  content: counter(hwday); position: absolute; left: 0; top: 0.05rem; width: 1.2rem; height: 1.2rem;
  display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: #fff; font-size: 0.72rem; font-weight: 800;
}
.hw-daysheet-steps strong, .hw-daysheet-steps span { display: block; }
.hw-daysheet-steps span { color: #dbe0f2; margin-top: 0.15rem; }
.hw-daysheet-link { display: inline-block; margin-top: 0.9rem; font-size: 0.85rem; font-weight: 800; color: #ffb59f; text-decoration: none; }
.hw-daysheet-link:hover { text-decoration: underline; }

/* ---------- Notice strip (coverage / this-month) ---------- */
.notice { background: var(--indigo); color: #fff; padding: 1.15rem 1.35rem; }
.notice p { max-width: 70rem; margin: 0 auto; text-align: center; font-size: 0.98rem; }
.notice strong { color: #ffb59f; }

/* ---------- Section frame + filter strip ---------- */
.section { max-width: 70rem; margin: 0 auto; padding: 3rem 1.35rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-intro { margin-top: 0.6rem; max-width: 52ch; color: var(--muted); }
.filter-count { color: var(--indigo); font-weight: 800; }

.strip { background: var(--indigo-soft); padding: 1.4rem 1.35rem; border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); }
.filter-form {
  max-width: 70rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 0.85rem; align-items: end;
}
@media (min-width: 700px) { .filter-form { grid-template-columns: 1fr 1fr auto; } }
.filter-form .field label { color: var(--indigo); font-size: 0.9rem; font-weight: 800; }
.filter-form select {
  width: 100%; margin-top: 0.35rem; padding: 0.7rem 0.8rem;
  font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--blue-line); border-radius: 9px;
}

/* ---------- Cards ---------- */
.item-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1.9rem; }
@media (min-width: 620px) { .item-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .item-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(35, 42, 82, 0.16); }
.card-body { padding: 1.2rem 1.35rem 1.45rem; }
.card-head { display: flex; justify-content: space-between; gap: 0.75rem; align-items: baseline; }
.card-title { font-size: 1.25rem; }
.card-where { font-size: 0.86rem; font-weight: 800; color: var(--coral-deep-text); white-space: nowrap; }
.card-meta { margin-top: 0.45rem; color: var(--muted); font-size: 0.96rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.card-tags li {
  font-size: 0.78rem; font-weight: 700; color: var(--indigo);
  background: var(--indigo-soft); border-radius: 6px; padding: 0.22rem 0.7rem;
}
.card-art { height: 210px; display: block; width: 100%; object-fit: cover;}
.filter-empty { margin-top: 1.9rem; padding: 1.5rem; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- CSS artwork (all imagery is authored gradients) ----------
   Construction rules, all learned by LOOKING at renders (see the library's art-rule list):
   1. `background-repeat: no-repeat` on the shared selector — a fractional layer tiles otherwise.
      (The bubble-wrap texture deliberately overrides this to repeat one bubble.)
   2. Parts of an object must TOUCH, or they read as unrelated marks.
   3. Round things are DISCRETE radial-gradients, sized in PIXELS (a % circle in a wide box is an
      ellipse — a wheel that is not round is not a wheel).
   4. An apex needs two HALF-WIDTH gradients; `to top left` draws the LEFT slope, `to top right`
      the right. */

.art-van, .art-boxes, .art-sofa, .art-house, .art-crates, .art-wrap {
  background-repeat: no-repeat;
  background-color: #eef0f8;
}

/* Box van (Luton): light box body, coral cab, two black wheels on a road. Built as solid
   rectangles + discrete wheel circles so it reads as a van, not a smear. */
/* Stacked removals boxes: three tan cartons, each with a darker lid seam, on a floor. */
/* Sofa: blue back cushion, seat base, two arms and two seat cushions — the wide low block of
   furniture that says "we move this". */
/* House: apex roof (two half-width slopes), body, door and a window — for "house removals". */
/* Storage crates: a 2x3 stack of blue crates with gaps between them, on shelving. */
/* Bubble wrap: one bubble tiled into a grid (the shared no-repeat is overridden here on purpose). */
/* ---------- The mileage + fuel estimator — this template's signature tool ---------- */
.estimator {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; margin-top: 1.9rem;
}
.estimator h2, .estimator h3 { font-size: 1.35rem; }
.estimator > p { color: var(--muted); margin-top: 0.5rem; max-width: 58ch; }
.est-controls { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 680px) { .est-controls { grid-template-columns: repeat(2, 1fr); } }
.est-controls .field label { display: block; font-weight: 700; font-size: 0.95rem; }
.est-controls input, .est-controls select {
  width: 100%; margin-top: 0.35rem; padding: 0.72rem 0.8rem;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 9px;
}
.est-recommend { margin-top: 1.1rem; font-size: 0.95rem; font-weight: 700; color: var(--indigo); }
.est-recommend span { color: var(--coral-deep-text); }
.est-out { margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.est-list { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 620px) { .est-list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.est-list li { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.est-list .what { color: var(--ink); }
.est-list .leader { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-0.25em); min-width: 1.5rem; }
.est-list .qty { font-weight: 800; color: var(--indigo); white-space: nowrap; }
.est-total {
  margin-top: 1.25rem; padding: 1rem 1.2rem; background: var(--indigo-soft);
  border-radius: 10px; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  align-items: baseline; justify-content: space-between;
}
.est-total .label { font-weight: 800; color: var(--indigo); }
.est-total .value { font-size: 1.6rem; font-weight: 800; color: var(--indigo); }
.est-caveat { margin-top: 1rem; font-size: 0.93rem; color: var(--muted); max-width: 62ch; }

/* ---------- Move-plan inventory ---------- */
.inventory {
  background: var(--indigo-soft); border: 1px solid var(--blue-line); border-radius: var(--radius);
  padding: 1.75rem; margin-top: 1.4rem;
}
.inventory .section-head { align-items: end; }
.inventory .eyebrow { margin-bottom: 0.45rem; }
.inventory-count { color: var(--indigo); font-size: 0.9rem; font-weight: 800; }
.inventory-form { margin-top: 1.4rem; display: grid; gap: 1.25rem; }
.inventory-fieldset { border: 0; min-width: 0; }
.inventory-fieldset legend { color: var(--indigo); font-weight: 800; font-size: 0.95rem; margin-bottom: 0.65rem; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem; }
.choice, .check { cursor: pointer; }
.choice input, .check input { position: absolute; opacity: 0; }
.choice span, .check span {
  display: block; height: 100%; background: var(--card); border: 1px solid var(--blue-line); border-radius: 10px;
  padding: 0.75rem 0.8rem; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.choice strong, .choice small { display: block; }
.choice small { color: var(--muted); font-size: 0.82rem; margin-top: 0.2rem; }
.choice input:checked + span, .check input:checked + span { border-color: var(--coral); box-shadow: inset 0 0 0 1px var(--coral); background: #fffaf5; }
.choice input:focus-visible + span, .check input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.quantity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.quantity-grid label { font-size: 0.9rem; font-weight: 700; }
.quantity-grid input { width: 100%; margin-top: 0.35rem; padding: 0.68rem 0.7rem; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--blue-line); border-radius: 9px; }
.flag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem; }
.check span { font-size: 0.9rem; font-weight: 700; }
.inventory-output { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; }
.inventory-output p:last-child { margin-top: 0.2rem; }
.inventory-output [data-inventory-summary] { color: var(--ink); font-size: 0.94rem; }
.inventory-output .proof-kicker { color: var(--coral-deep-text); }

/* ==========================================================================================
   Removals-native vocabulary (S291 rebuild) — the homepage no longer stacks generic 3-up card
   grids into a proof grid into a dark closing band. Every section below is namespaced .hw-* and
   built around a removals-specific structure: the five-stage move-day journey (Survey → Pack →
   Load → Transit → Unload), which the signature move-plan tool then mirrors live. Generic chrome
   (.hero, .notice, .button, .site-header, .card/.item-grid for the moves.html gallery) stays
   shared library vocabulary; only the per-template CONTENT sections are namespaced here.
   ========================================================================================== */

.hw-kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--coral-deep-text); margin-bottom: 0.6rem;
}
.hw-kicker--light { color: #ffb59f; }

/* ---------- hw-journey: the move-day journey, a numbered rail (the structural spine) ---------- */
.hw-journey { background: var(--indigo-soft); border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); padding: 3.4rem 1.35rem; }
.hw-journey-inner { max-width: 70rem; margin: 0 auto; }
.hw-journey-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--indigo); }
.hw-journey-note { margin-top: 0.7rem; max-width: 58ch; color: var(--muted); }
.hw-journey-rail { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2.2rem; counter-reset: none; }
@media (min-width: 760px) { .hw-journey-rail { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.hw-stop { position: relative; padding-top: 0.4rem; }
@media (min-width: 760px) {
  .hw-stop { padding-top: 1.6rem; border-top: 3px solid var(--blue-line); }
  .hw-stop:first-child { border-top-color: var(--coral); }
}
.hw-stop-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 8px; margin-bottom: 0.7rem;
  background: var(--indigo); color: #fff; font-weight: 800; font-size: 0.9rem;
}
.hw-stop h3 { font-size: 1.1rem; color: var(--indigo); }
.hw-stop p { margin-top: 0.4rem; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* ---------- hw-planner: the SIGNATURE tool — live day sheet + crew/van/hours/cost band ---------- */
.hw-planner { max-width: 70rem; margin: 0 auto; padding: 3.6rem 1.35rem; }
.hw-planner-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--indigo); }
.hw-planner-note { margin-top: 0.7rem; max-width: 62ch; color: var(--muted); }
.hw-planner-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin-top: 2rem; }
@media (min-width: 860px) { .hw-planner-grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.hw-planner-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: grid; gap: 1.15rem; align-content: start;
}
.hw-planner-check { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.hw-planner-check input { width: 1.2rem; height: 1.2rem; accent-color: var(--coral); }
.hw-planner-output {
  background: var(--indigo-soft); border: 1px solid var(--blue-line); border-radius: var(--radius);
  padding: 1.6rem; display: grid; gap: 1.4rem;
}
.hw-planner-day-label { font-weight: 800; color: var(--indigo); font-size: 0.95rem; }
.hw-day-list { margin-top: 0.65rem; display: grid; gap: 0; }
.hw-day-list li { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--blue-line); }
.hw-day-what { color: var(--ink); font-size: 0.94rem; }
.hw-day-leader { flex: 1; border-bottom: 2px dotted var(--blue-line); transform: translateY(-0.25em); min-width: 1rem; }
.hw-day-qty { font-weight: 800; color: var(--indigo); white-space: nowrap; font-size: 0.92rem; }
.hw-planner-total {
  margin-top: 1rem; padding: 0.85rem 1.05rem; background: var(--card);
  border-radius: 10px; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem;
  align-items: baseline; justify-content: space-between;
}
.hw-planner-total .label { font-weight: 800; color: var(--indigo); font-size: 0.9rem; }
.hw-planner-total .value { font-size: 1.2rem; font-weight: 800; color: var(--indigo); }
.hw-planner-result { border-top: 1px solid var(--blue-line); padding-top: 1.4rem; }
.hw-planner-recommend { font-size: 0.98rem; font-weight: 700; color: var(--indigo); }
.hw-planner-recommend span { color: var(--coral-deep-text); }
.hw-planner-cost-label { margin-top: 1rem; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.hw-planner-cost { font-size: 2rem; font-weight: 800; color: var(--indigo); line-height: 1.1; }
.hw-planner-caveat { margin-top: 0.7rem; font-size: 0.9rem; color: var(--muted); max-width: 42ch; }
.hw-planner-result .button { margin-top: 1.2rem; }

/* ---------- hw-fleet: recent moves as a draggable tape, not a repeated card grid ---------- */
.hw-fleet { max-width: 70rem; margin: 0 auto; padding: 0.5rem 1.35rem 3.6rem; }
.hw-fleet-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hw-fleet-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--indigo); margin-top: 0.2rem; }
.hw-fleet-hint { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.hw-fleet-track {
  display: flex; gap: 1.3rem; margin-top: 1.7rem; padding-bottom: 0.6rem;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.hw-job {
  flex: 0 0 min(20rem, 82vw); scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.hw-job--feature { flex-basis: min(28rem, 88vw); }
.hw-job-media { position: relative; }
.hw-job-media img { display: block; width: 100%; height: 200px; object-fit: cover; }
.hw-job--feature .hw-job-media img { height: 240px; }
.hw-job-badge, .hw-job-stage {
  position: absolute; left: 0.85rem; top: 0.85rem; font-size: 0.72rem; font-weight: 800;
  padding: 0.3rem 0.65rem; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.04em;
}
.hw-job-badge { background: var(--coral); color: #fff; }
.hw-job-stage { background: var(--indigo); color: #fff; }
.hw-job-body { padding: 1.15rem 1.3rem 1.4rem; }
.hw-job-where { font-size: 0.82rem; font-weight: 800; color: var(--coral-deep-text); text-transform: uppercase; letter-spacing: 0.03em; }
.hw-job-title { font-size: 1.2rem; margin-top: 0.3rem; }
.hw-job-line { margin-top: 0.5rem; color: var(--muted); font-size: 0.93rem; }
.hw-job-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.hw-job-tags li { font-size: 0.76rem; font-weight: 700; color: var(--indigo); background: var(--indigo-soft); border-radius: 6px; padding: 0.22rem 0.65rem; }
.hw-fleet-more { margin-top: 1.2rem; }

/* ---------- hw-spec: what's included, as a spec-sheet ledger — not a feature-card grid ---------- */
.hw-spec { background: var(--indigo-soft); border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); padding: 3.6rem 1.35rem; }
.hw-spec-inner { max-width: 70rem; margin: 0 auto; display: grid; gap: 2rem; }
@media (min-width: 860px) { .hw-spec-inner { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.hw-spec-lead h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--indigo); }
.hw-spec-note { margin-top: 0.75rem; max-width: 42ch; color: var(--muted); }
.hw-spec-ledger { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .hw-spec-ledger { grid-template-columns: 1fr 1fr; column-gap: 1.6rem; } }
.hw-spec-ledger > div { border-top: 1px solid var(--blue-line); padding-top: 0.75rem; }
.hw-spec-ledger dt { font-weight: 800; color: var(--indigo); font-size: 0.98rem; }
.hw-spec-ledger dd { margin-top: 0.3rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- hw-cinema: full-bleed cinematic band — a real image, not a stock icon strip ---------- */
.hw-cinema { position: relative; min-height: clamp(320px, 52vw, 520px); overflow: hidden; }
.hw-cinema-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hw-cinema-overlay {
  position: relative; z-index: 1; height: 100%; min-height: clamp(320px, 52vw, 520px);
  display: flex; flex-direction: column; justify-content: center; gap: 0.9rem;
  padding: 2.6rem 1.4rem; max-width: 70rem; margin: 0 auto; color: #fff;
  background: linear-gradient(100deg, rgba(20, 23, 46, 0.92) 0%, rgba(20, 23, 46, 0.72) 48%, rgba(20, 23, 46, 0.28) 100%);
}
.hw-cinema-overlay h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.9rem); max-width: 16ch; }
.hw-cinema-line { max-width: 48ch; color: #dbe0f2; }
.hw-cinema-marks { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.6rem; }
.hw-cinema-marks li { font-size: 0.92rem; color: #fff; }
.hw-cinema-marks li span { display: inline-block; min-width: 4rem; font-weight: 800; color: #ffb59f; }

/* ---------- hw-notes: reviews restyled — one featured, two smaller. Replaces .proof. ---------- */
.hw-notes { max-width: 70rem; margin: 0 auto; padding: 3.8rem 1.35rem; overflow-x: clip; }
.hw-notes-inner { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .hw-notes-inner { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; } }
.hw-notes-lead { grid-column: 1 / -1; }
.hw-notes-lead h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); color: var(--indigo); margin-top: 0.3rem; }
.hw-notes-note { margin-top: 0.6rem; color: var(--muted); max-width: 52ch; }
.hw-trustmarks { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; margin-top: 1.3rem; }
.hw-trustmarks li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; font-weight: 700; color: var(--indigo); }
.hw-tm-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--coral); flex: none; }
.hw-note {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem; display: grid; gap: 0.6rem; align-content: start;
  box-shadow: 0 6px 20px rgba(30, 33, 48, 0.06);
}
.hw-note--featured { grid-column: 1 / -1; background: var(--indigo-soft); border-color: var(--blue-line); }
@media (min-width: 760px) { .hw-note--featured { grid-column: 1 / span 3; padding: 1.9rem 1.9rem 2rem; } .hw-note--featured blockquote { font-size: 1.12rem; } }
.hw-note-stamp { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--coral-deep-text); }
.hw-note blockquote { margin: 0; font-size: 0.98rem; line-height: 1.55; color: var(--ink); }
.hw-note figcaption { font-size: 0.85rem; font-weight: 700; color: var(--indigo); }

/* ---------- hw-faq: on-page accordion (short list); full set lives on faq.html ---------- */
.hw-faq { background: var(--indigo-soft); border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); padding: 3.6rem 1.35rem; overflow-x: clip; }
.hw-faq-inner { max-width: 56rem; margin: 0 auto; }
.hw-faq-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hw-faq-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--indigo); flex-basis: 100%; }
.hw-faq-list { margin-top: 1.6rem; display: grid; gap: 0.75rem; }
.hw-faq-item {
  background: var(--card); border: 1px solid var(--blue-line); border-radius: 10px;
  padding: 0.2rem 1.1rem;
}
.hw-faq-item summary {
  list-style: none; cursor: pointer; padding: 0.95rem 1.9rem 0.95rem 0; position: relative;
  font-weight: 800; color: var(--indigo); font-size: 1rem;
}
.hw-faq-item summary::-webkit-details-marker { display: none; }
.hw-faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 0.85rem; font-size: 1.3rem; font-weight: 800;
  color: var(--coral); transition: transform 0.18s ease;
}
.hw-faq-item[open] summary::after { transform: rotate(45deg); }
.hw-faq-item p { padding-bottom: 1.1rem; color: var(--muted); font-size: 0.95rem; max-width: 60ch; }

/* ---------- hw-book: the closing conversion block — replaces the generic dark .band ---------- */
.hw-book { position: relative; background: var(--indigo); color: #fff; padding: 3.6rem 1.35rem; overflow: hidden; }
.hw-book-mark {
  position: absolute; right: -1rem; bottom: -2.4rem; font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; color: rgba(255, 255, 255, 0.06);
  pointer-events: none; line-height: 1; white-space: nowrap;
}
.hw-book-inner { position: relative; z-index: 1; max-width: 70rem; margin: 0 auto; display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .hw-book-inner { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.hw-book-copy h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin-top: 0.3rem; }
.hw-book-copy p { margin-top: 0.7rem; max-width: 42ch; color: #dbe0f2; }
.hw-book-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
@media (min-width: 760px) { .hw-book-actions { align-items: flex-end; } }
.hw-book-call { color: #ffb59f; font-weight: 800; }
.hw-book-hours { font-size: 0.86rem; color: #b7bde0; }

/* ---------- Interior pages ---------- */
.page { max-width: 70rem; margin: 0 auto; padding: 1.5rem 1.35rem 3rem; }
.breadcrumb a { font-weight: 700; text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--coral-deep-text); }
.page-hero { padding: 1.5rem 0 0.5rem; }
.page-hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.2rem); }
.page-hero p { margin-top: 0.9rem; max-width: 54ch; color: var(--muted); }

/* ---------- Forms (preview-safe) ---------- */
.form-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1.9rem; }
@media (min-width: 860px) { .form-layout { grid-template-columns: 1.4fr 1fr; } }
.book-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; display: grid; grid-template-columns: 1fr; gap: 1rem; align-self: start;
}
@media (min-width: 620px) { .book-form { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: 0.95rem; }
.label-optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; margin-top: 0.35rem; padding: 0.72rem 0.8rem;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 9px;
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible, .quantity-grid input:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.book-form .button { justify-self: start; }
.form-status { grid-column: 1 / -1; font-weight: 700; color: var(--indigo); min-height: 1.4em; }

.panel { background: var(--indigo-soft); border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 1.75rem; align-self: start; }
.panel h2 { font-size: 1.35rem; }
.steps { counter-reset: step; margin-top: 1.2rem; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.25rem 3rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.05rem;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--coral); border-radius: 7px;
}
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.note { margin-top: 1.5rem; color: var(--muted); font-size: 0.95rem; max-width: 60ch; }

/* ---------- Footer ---------- */
footer {
  background: var(--indigo); color: #b7bde0;
  padding: 2.6rem 1.35rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem;
}
.wordmark-footer { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; color: #fff; margin-bottom: 0.5rem; }
footer .call-link { color: #ff9880; }
.footer-truth { max-width: 34ch; font-size: 0.88rem; color: #8e95c4; align-self: end; }
/* Build credit — carried by every template in this library, matching the deployed demos. */
.footer-powered { margin-top: 0.9rem; font-size: 0.85rem; color: #8e95c4; }
.footer-powered a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-powered a:hover { color: #ff9880; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .button:hover, .card:hover { transform: none; }
}

/* --- Touch targets ------------------------------------------------ S116
   A standalone control needs 44x44 CSS px (Apple HIG; WCAG 2.5.5 AAA, and 2.5.8 AA
   sets a 24px floor). The S116 polish pass measured the header phone link at 23px
   and the Menu button at 35px on a 390px viewport, on every template in the library.
   On a trades site the phone number IS the conversion — it was rendering at half the
   required size at exactly the width most visitors arrive on.

   Layout only, no colour, so this block is copy-paste identical across every palette
   in the library. Inline links inside prose are deliberately NOT touched: both WCAG
   target-size rules exempt them, and padding them out would wreck the body copy. */
@media (max-width: 799px) {
  .header-call,
  .nav-disclosure summary,
  .nav-disclosure nav .call-link,
  .button,
  .button-small,
  button[type="submit"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 799px) {
  .hero-inner > *, .hero-visual, .hero-actions, .hero-actions .button { min-width: 0; max-width: 100%; }
  .hero-actions .button { flex: 1 1 13rem; }
  .hero-sub { overflow-wrap: anywhere; }
  .hw-daysheet-steps { grid-template-columns: 1fr; gap: 0.65rem; }
  .hw-daysheet-steps li { min-height: 1.5rem; }
  .hw-journey-rail { grid-template-columns: 1fr 1fr; }
  .hw-job, .hw-job--feature { flex-basis: min(19rem, 78vw); }
  .choice-grid, .quantity-grid, .flag-grid { grid-template-columns: 1fr 1fr; }
  .inventory-output { align-items: stretch; flex-direction: column; }
  .inventory-output .button { width: 100%; }
}

@media (max-width: 479px) {
  .hero { padding-top: 2rem; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .hero-badges { gap: 0.55rem 0.9rem; }
  .hero-badges li { font-size: 0.88rem; }
  .inventory, .estimator { padding: 1.2rem; }
  .choice-grid, .quantity-grid, .flag-grid { grid-template-columns: 1fr; }
}

/* --- Accessibility: the two modes only this palette can define ------ S186
   Everything else the panel does is name-independent and lives in the shared
   library/shared/a11y/a11y.css. These two have to name THIS template's own variables,
   because the 20 templates do not share a vocabulary. check-library-a11y.mjs fails the
   build if a package mounts the panel without both.
   ⚠ --line is a LIGHT value whose ROLE is a boundary, so it goes to INK. */
html[data-a11y-contrast="high"] {
  --indigo: #000;
  --indigo-mid: #000;
  --coral: #000;
  --coral-deep: #000;
  --ink: #000;
  --muted: #000;
  --line: #000;
  --blue-line: #000;
  --indigo-soft: #fff;
  --paper: #fff;
  --card: #fff;
  --assistant-accent: #000;
  --assistant-panel: #fff;
  --assistant-ink: #000;
  --assistant-muted: #000;
  --assistant-soft: #fff;
  --assistant-line: #000;
}
html[data-a11y-contrast="high"] footer,
html[data-a11y-contrast="high"] .footer-truth,
html[data-a11y-contrast="high"] .footer-powered,
html[data-a11y-contrast="high"] footer .call-link { color: #fff; }

/* Colour-blind friendly — Okabe-Ito (#0072B2 blue, #E69F00 orange).
   ⚠ Indigo and coral already sit near the universal pair's two ends, so this is the smallest
   move in the library — and saying so is more honest than manufacturing a bigger diff.

   ⛔⭐⭐ S191 — "THE SMALLEST MOVE" WAS AN UNDERSTATEMENT OF THE PROBLEM, NOT A DESCRIPTION OF IT.
   `scripts/prove-colour-modes.mjs` measured 48 colours this mode never reached, 22 of them
   accents. Two causes, and the second is the one worth carrying to the other templates:

   1. ⭐ THE `-text` TOKENS WERE NOT IN THE BLOCK. `--coral` moved and `--coral-text` did not, so
      the coral SURFACES went blue while the coral TYPE stayed coral — the em in the headline, the
      "Recent moves →" link, every `.card-where` price. A two-token accent needs both lines; this
      is the same shape as the `--assistant-accent` gap in 15 of 22 configs.
      ✓ Both replacements MEASURE BETTER than what they replace on `--paper`: `#dc3914` 4.12:1 →
      `#0072b2` 4.71:1, and `#b94729` 4.78:1 → `#005a8d` 6.71:1.
   2. ⬜ THE FOOTER AND NOTICE LITERALS, exactly like the high-contrast list nine lines above —
      which names four of these five selectors already. ⚠ That list is the proof this was an
      oversight and not a decision: the same author saw the same mechanism for the other mode.
      On the neutral `--indigo` this mode paints: `#b7bde0` 8.07:1 → `#b0bcc6` 7.71:1,
      `#8e95c4` 5.14:1 → `#98a6b3` 5.99:1, and the two salmon accents → `#e69f00` at 6.62:1. */
html[data-a11y-colour="safe"] {
  --indigo: #23282a;
  --indigo-mid: #3a4245;
  --indigo-soft: #e8f1f7;
  --coral: #0072b2;
  --coral-deep: #005a8d;
  --coral-text: #0072b2;
  --coral-deep-text: #005a8d;
  --assistant-accent: #0072b2;
  --assistant-soft: #e8f1f7;
}
html[data-a11y-colour="safe"] footer { color: #b0bcc6; }
html[data-a11y-colour="safe"] .footer-truth,
html[data-a11y-colour="safe"] .footer-powered { color: #98a6b3; }
html[data-a11y-colour="safe"] footer .call-link,
html[data-a11y-colour="safe"] .footer-powered a:hover,
html[data-a11y-colour="safe"] .notice strong { color: #e69f00; }

/* ---------- Motion (S286/S291) — below-fold work eases in on scroll (transform/opacity only,
   0 CLS). Extended in the S291 rebuild to cover every hw- section — richer scroll motion is
   explicitly allowed on demos (a11y-exempt), so each rail/tape/note list gets its own staggered
   reveal rather than reusing one generic fade. ---------- */
@keyframes hw-enter {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .item-grid > .card, .hw-stop, .hw-job, .hw-note, .hw-spec-ledger > div, .hw-faq-item {
      animation: hw-enter linear both; animation-timeline: view(); animation-range: entry 4% cover 30%;
    }
    .item-grid > .card:nth-child(2), .hw-stop:nth-child(2), .hw-note:nth-child(2), .hw-spec-ledger > div:nth-child(2), .hw-faq-item:nth-child(2) { animation-range: entry 9% cover 33%; }
    .item-grid > .card:nth-child(3), .hw-stop:nth-child(3), .hw-note:nth-child(3), .hw-spec-ledger > div:nth-child(3), .hw-faq-item:nth-child(3) { animation-range: entry 14% cover 36%; }
    .hw-stop:nth-child(4), .hw-spec-ledger > div:nth-child(4), .hw-faq-item:nth-child(4) { animation-range: entry 19% cover 39%; }
    .hw-stop:nth-child(5), .hw-faq-item:nth-child(5) { animation-range: entry 24% cover 42%; }
    .hw-faq-item:nth-child(6) { animation-range: entry 29% cover 45%; }
    /* The fleet tape scrolls its own axis, so its cards fade in together rather than staggering
       against the page scroll — a per-card stagger would read as broken on a horizontal track. */
    .hw-job { animation-range: entry 2% cover 22%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .item-grid > .card, .hw-stop, .hw-job, .hw-note, .hw-spec-ledger > div, .hw-faq-item {
    animation: none !important; animation-timeline: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* S301 settled-state parity — view-timeline animations can leave a direct full-document
   capture with later cards at opacity zero because they have not entered the viewport yet.
   Keep Haulwell's load/hero motion, but make route content deterministic and readable at rest. */
@media (prefers-reduced-motion: no-preference) {
  .item-grid > .card, .hw-stop, .hw-job, .hw-note, .hw-spec-ledger > div, .hw-faq-item {
    animation: none !important;
    animation-timeline: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ---------- S286 heavier — card image ZOOM on hover (premium gallery feel; hover/focus only, no idle, no CLS) ---------- */
.card, .hw-job-media { overflow: hidden; }
.card-art, .hw-job-media img { transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .card-art, .card:focus-within .card-art,
.hw-job:hover .hw-job-media img, .hw-job:focus-within .hw-job-media img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .card-art, .hw-job-media img { transition: none; }
  .card:hover .card-art, .card:focus-within .card-art,
  .hw-job:hover .hw-job-media img, .hw-job:focus-within .hw-job-media img { transform: none; }
}

/* ---------- Hero signature motion (S287) — the van "pulls up" + the day-sheet steps slide in.
   These sit ABOVE THE FOLD, so they are ONE-SHOT LOAD animations (not scroll-linked): each
   element animates once on first paint and then RESTS static, in place. Every 100% keyframe
   equals the final static layout, so there is 0 CLS and no idle loop (S121). The plate slides
   in from behind the left edge (`.hero-visual` clips it with overflow:hidden), reading as a van
   pulling up to the kerb; the three day-sheet steps then slide in left-to-right, staggered. */
@media (prefers-reduced-motion: no-preference) {
  .hero-plate { animation: hw-van-in 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .hw-daysheet-steps li { animation: hw-step-in 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
  .hw-daysheet-steps li:nth-child(1) { animation-delay: 0.36s; }
  .hw-daysheet-steps li:nth-child(2) { animation-delay: 0.5s; }
  .hw-daysheet-steps li:nth-child(3) { animation-delay: 0.64s; }
}
@keyframes hw-van-in {
  from { transform: translateX(-20%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes hw-step-in {
  from { transform: translateX(-16px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-plate, .hw-daysheet-steps li {
    animation: none !important; animation-timeline: none !important;
    opacity: 1 !important; transform: none !important;
  }
}

/* ---------- hw-cinema parallax (S291) — the full-bleed image drifts and scales gently as the
   band scrolls through the viewport, scroll-linked via animation-timeline: view(). Guarded the
   same way as every other scroll animation on this template: no support, no reduced-motion
   preference -> the image sits at its static, in-range resting frame with 0 CLS. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hw-cinema-img { animation: hw-cinema-pan linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes hw-cinema-pan {
  from { transform: scale(1.06) translateY(-2.5%); }
  to   { transform: scale(1.14) translateY(2.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .hw-cinema-img { animation: none !important; animation-timeline: none !important; transform: none !important; }
}

/* ---------- Signature: BOX-STACK (removals) ----------
   The five journey stops already ease in via hw-enter (opacity/scale/blur, above). Layered on
   top, an inner wrapper per stop drops and settles like a crate being lowered onto the stack —
   deeper stops (further down the day) fall from further up, so the row reads as being stacked
   left-to-right as it scrolls in. Uses the standalone CSS `translate` property (not `transform`,
   which hw-enter already owns) so both animations run at once with zero conflict; scroll-linked
   via animation-timeline: view() like every other reveal on this template, 0 CLS, one-shot. */
.hw-crate { --hw-depth: 42px; }
.hw-stop:nth-child(1) .hw-crate { --hw-depth: 22px; }
.hw-stop:nth-child(2) .hw-crate { --hw-depth: 36px; }
.hw-stop:nth-child(3) .hw-crate { --hw-depth: 50px; }
.hw-stop:nth-child(4) .hw-crate { --hw-depth: 64px; }
.hw-stop:nth-child(5) .hw-crate { --hw-depth: 78px; }
@keyframes hw-crate-drop {
  0%   { translate: 0 calc(var(--hw-depth) * -1); }
  60%  { translate: 0 6px; }
  100% { translate: 0 0; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hw-crate {
      animation: hw-crate-drop 0.7s cubic-bezier(0.3, 0.1, 0.2, 1) both;
      animation-timeline: view();
      animation-range: entry 4% cover 26%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hw-crate { animation: none !important; animation-timeline: none !important; translate: none !important; }
}

/* S301 parity closeout — Plaza's opening is a dark, full-bleed removals statement with a
   yellow reassurance band. Keep Haulwell's original local copy and day-sheet, but restore that
   geometry and colour grammar instead of leaving a generic paper split hero. */
.site-header { background:#171506; color:#fff; border-bottom-color:rgba(242,200,75,.45); }
.site-header .wordmark, .site-header .nav-disclosure summary, .site-header .nav-disclosure nav a { color:#fff; }
.site-header .wordmark span { color:#f2c84b; }
.haulwell-utility { background:#f2c84b; color:#171506; border-bottom:0; }
.haulwell-utility__label, .haulwell-utility a { color:#171506; }
.haulwell-utility a { text-decoration-color:#171506; }
.hero { padding:0; background:#171506; color:#fff; }
.hero-inner { position:relative; max-width:none; min-height:clamp(38rem,55vw,48rem); display:block; }
.hero-visual { position:absolute; inset:0; min-height:0; }
.hero-plate { width:100%; height:100%; min-height:0; border:0; border-radius:0; object-fit:cover; filter:brightness(.42) saturate(.72) contrast(1.05); }
.hero-visual::before { content:""; position:absolute; inset:0; z-index:1; background:rgba(242,200,75,.2); clip-path:polygon(78% 0,100% 0,100% 100%,19% 100%); pointer-events:none; }
.hero-visual::after { content:""; position:absolute; inset:0; z-index:2; background:linear-gradient(90deg,rgba(23,21,6,.92) 0%,rgba(23,21,6,.64) 44%,rgba(23,21,6,.18) 82%),linear-gradient(0deg,rgba(23,21,6,.72),transparent 42%); pointer-events:none; }
.hero-copy { position:relative; z-index:5; width:min(70rem,100%); min-height:inherit; margin:0 auto; padding:clamp(4rem,9vw,8rem) 1.35rem 13rem; display:flex; flex-direction:column; justify-content:center; }
.eyebrow { color:#171506; background:#f2c84b; border-radius:0; }
.hero h1 { max-width:12ch; color:#fff; font-size:clamp(2.8rem,6.8vw,5.2rem); letter-spacing:-.035em; }
.hero h1 em { color:#f2c84b; }
.hero-sub { color:#f6f0db; max-width:48ch; }
.hero-badges li { color:#fff; }
.hero-actions .button { background:#f2c84b; border-color:#f2c84b; color:#171506; }
.hero-actions .button:hover { background:#fff; border-color:#fff; }
.hero-actions .button.button-outline { background:transparent; border-color:#fff; color:#fff; }
.hero-actions .button.button-outline:hover { background:#fff; color:#171506; }
.hw-daysheet { position:absolute; z-index:3; left:0; right:0; bottom:0; margin:0; border-radius:0; border-top:3px solid #f2c84b; background:rgba(23,21,6,.92); }
.hw-daysheet-kicker, .hw-daysheet-link { color:#f2c84b; }
.notice { background:#f2c84b; color:#171506; }
.notice strong { color:#171506; }
@media (max-width:899px) {
  .hero-inner { min-height:43rem; }
  .hero-copy { padding:3.8rem 1rem 14rem; }
  .hero h1 { font-size:clamp(2.7rem,12vw,4.2rem); }
  .hero-sub { color:#fff; }
  .hero-badges { gap:.45rem .9rem; }
  .hero-badges li { font-size:.82rem; }
  .hw-daysheet { padding:.9rem 1rem 1rem; }
  .hw-daysheet-steps { gap:.5rem; }
  .hw-daysheet-steps li { padding-left:1.45rem; font-size:.73rem; }
}

/* S301 parity pass — a quiet removals utility band gives the opening the same service-first
   hierarchy as the reference without inventing reviews, accreditations or live availability. */
.haulwell-utility { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:.45rem 1.4rem; min-height:2.35rem; padding:.48rem 1.35rem; background:var(--indigo); color:#e7e9f5; border-bottom:3px solid var(--coral); font-size:.72rem; }
.haulwell-utility__label { color:#fff; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.haulwell-utility a { color:#ffb59f; font-weight:800; text-decoration:underline; text-underline-offset:.18em; }
@media (max-width:620px) { .haulwell-utility { justify-content:flex-start; gap:.2rem .7rem; padding:.58rem .9rem; font-size:.64rem; } .haulwell-utility > span:nth-child(2) { flex-basis:100%; } }
/* S301 parity repair — promote the practical reassurance band to Plaza's lower-hero role. */
.haulwell-reassurance { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:#f2c84b; color:#171506; border-top:3px solid #f2c84b; }
.haulwell-reassurance article { min-height:8.5rem; display:flex; align-items:center; gap:.8rem; padding:1rem clamp(.8rem,1.6vw,1.4rem); background:#f2c84b; }
.hw-reassurance-icon { display:grid; place-items:center; flex:0 0 auto; width:3.2rem; height:3.2rem; }
.hw-reassurance-icon svg { width:3.2rem; height:3.2rem; fill:none; stroke:#171506; stroke-linecap:round; stroke-linejoin:round; stroke-width:2.4; }
.haulwell-reassurance strong { display:block; color:#171506; font-size:1rem; line-height:1.1; text-transform:uppercase; }
.haulwell-reassurance p { margin-top:.35rem; color:rgba(23,21,6,.78); font-size:.72rem; line-height:1.35; }
@media (max-width:780px) { .haulwell-reassurance { grid-template-columns:repeat(2,1fr); } .haulwell-reassurance article { min-height:6.8rem; gap:.55rem; padding:.7rem .75rem; } .hw-reassurance-icon,.hw-reassurance-icon svg { width:2.35rem; height:2.35rem; } .haulwell-reassurance strong { font-size:.72rem; } .haulwell-reassurance p { font-size:.61rem; } }

/* S301 opening-parity closeout — the yellow reassurance layer must touch the moving hero
   so its practical promise is visible before the first scroll. */
.haulwell-reassurance { position:relative; z-index:4; margin-top:0; margin-inline:0; box-shadow:0 .85rem 1.6rem rgba(23,21,6,.28); }
@media (max-width:780px) { .haulwell-reassurance { margin-top:0; margin-inline:0; } }

/* Keep the competitor's yellow proof ribbon inside the opening viewport instead of letting
   the long copy/padding push it below the fold. */
@media (min-width:900px) {
  .hero-inner { min-height:clamp(31rem,50vw,38rem); }
  .hero-copy { align-items:center; padding-top:3rem; padding-bottom:5rem; text-align:center; }
  .hero h1 { max-width:34ch; font-size:clamp(2.8rem,5vw,4.5rem); }
  .hero-sub { max-width:52ch; }
  .hero-actions { justify-content:center; }
  .hero-badges { justify-content:center; }
  /* Plaza's opening reads as one clean photo plus the yellow reassurance ribbon;
     keep the detailed day sheet available below the fold rather than stacking two
     competing dark panels over the same image in the first viewport. */
  .hero .hw-daysheet { display:none; }
}
