/* ==========================================================
   Design tokens
   Colours: brief/DESIGN.md "Flyer classic".
   Layout, spacing and shapes: matched to luxury-gardens.co.uk.
   Type: bolder headings to suit a trade business.
   ========================================================== */
:root {
  /* Colours */
  --black: #111111;          /* header, hero, footer, headings, links on white */
  --white: #ffffff;          /* page background */
  --grey: #f4f4f2;           /* cards, alternate sections */
  --text: #444444;           /* body text on light */
  --text-on-dark: #c9c9c9;   /* secondary text on black */
  --orange: #e2692a;         /* button fills + decoration only, always #111 text */
  --brown: #4a2414;          /* hover on orange buttons only */
  --overlay: rgba(10, 10, 10, .62);  /* dark overlay on the hero photo */
  --toggle-bg: rgba(17, 17, 17, .6); /* floating mobile menu button */

  /* Type */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;           /* headings, semibold */
  --font-body: "Wix Madefor Text", "Helvetica Neue", Arial, sans-serif;  /* nav + body */

  /* Spacing scale */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --s5-5: 80px; /* section padding from Recent work down */
  --s6: 96px;

  /* Shape */
  --radius: 5px;
  --pill: 20px;

  --max-width: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.4;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--orange); color: var(--black);
  padding: var(--s1) var(--s2); border-radius: var(--radius);
}
.skip-link:focus { top: var(--s1); }

[hidden] { display: none !important; }
/* Netlify honeypot field (quote form): hidden from everyone, including screen readers */
.hidden { display: none !important; }

/* smooth scroll to sections, unless the visitor prefers reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* anchor jumps land below the fixed/sticky header */
section[id] { scroll-margin-top: var(--header-h); }

/* ==========================================================
   Buttons (pills)
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s4);
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}

.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--brown); color: var(--white); }

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

.btn-soft { gap: 12px; background: var(--grey); color: var(--black); }
.btn-soft:hover { background: var(--black); color: var(--white); }
.btn-arrow { flex: none; }

/* ==========================================================
   Header
   Mobile: no bar. Logo over the hero, floating menu button.
   Desktop: slim sticky bar, links spread evenly, one pill.
   ========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}
/* turns solid after 80px of scroll (js/main.js) */
.site-header.is-solid { background: var(--black); }
.site-header.is-solid .header-inner { padding-top: 0; }   /* centre logo in the 72px bar */
.site-header.is-solid .nav-toggle { top: 11px; }          /* centre menu button in the bar */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  min-height: var(--header-h);
  padding: var(--s2) var(--gutter) 0;
}

.logo { display: block; }
.logo img { width: auto; height: 44px; }

.nav-toggle {
  position: fixed;
  top: 27px;
  right: 25px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--toggle-bg);
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--white);
  transition: transform .2s, background-color .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }

.nav-toggle[aria-expanded="true"] { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

/* Mobile: full-screen panel, links right-aligned */
.site-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 65;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: var(--s5);
  padding: var(--s6) 42px;
  background: var(--black);
}
.site-nav.is-open { display: flex; }

.nav-links { list-style: none; margin: 0; padding: 0; text-align: right; }
.nav-links a {
  display: block;
  padding: var(--s1) 0;
  color: var(--white);
  font-size: 17px;
  text-decoration: none;
}
.nav-links .nav-phone { display: none; } /* desktop only: mobile calls via the hero button and the quote section */
.nav-links a:hover { color: var(--text-on-dark); text-decoration: underline; text-underline-offset: 4px; }
/* current section while scrolling (js/main.js): subtle orange underline */
.nav-links a.is-active {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}


/* ==========================================================
   Hero (full-width photo under a dark overlay)
   ========================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  background-color: var(--black);
  color: var(--white);
  padding: 120px 0 var(--s5); /* top clears the logo */
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%; /* mobile crop: keep the cab and logo in frame */
}
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }

.hero-inner { position: relative; z-index: 1; }

.hero-title {
  max-width: 720px;
  color: var(--white);
  font-size: 38px;
  font-weight: 700; /* the dominant element */
  text-transform: uppercase; /* as on the brochure */
}

/* small orange eyebrow above the headline */
.hero-eyebrow {
  margin: 0 0 var(--s2);
  color: var(--orange); /* client's choice; below AA over the photo (~1.7:1 worst), see DESIGN.md */
  font-size: 13px;      /* DESIGN.md exception: hero eyebrow */
  font-weight: 400;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-sub {
  margin: var(--s3) 0 0;
  max-width: 32ch; /* lead line */
  color: var(--text-on-dark); /* muted */
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-wrap: pretty; /* avoid a one-word last line */
}

/* the hero photo and the trust points fill exactly one screen (with the header on desktop).
   svh = the visible height with the browser toolbars showing */
.first-screen { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.first-screen .hero { flex: 1 0 auto; }
@media (min-width: 1024px) {
  /* desktop header is a 72px bar above the hero, so the hero + trust fill the rest */
  .first-screen { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
  .first-screen .hero { min-height: 0; padding: var(--s5) 0; } /* drops the fixed height; grows to fill, and still fits short laptop screens */
}
/* 600px+: exactly one screen, not at least: the photo stretches and the trust bar sits on the bottom edge.
   Tablet: the header floats over the photo, so that's 100svh; desktop: 100svh minus the 72px bar (above). */
@media (min-width: 600px) {
  .first-screen { height: 100vh; height: 100svh; }
  .first-screen .hero { flex: 1 1 auto; min-height: 0; }
  .first-screen .trust { flex: none; }
}
@media (min-width: 1024px) {
  .first-screen { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); }
}

/* phones: tightened to keep both buttons and the trust points above the fold */
@media (max-width: 599.98px) {
  .hero { min-height: 0; padding: 100px 0 var(--s4); }
  .hero-actions { margin-top: var(--s3); gap: 12px; }
}

/* 600px+ : same order as phones (orange eyebrow above the headline), slightly larger type */
@media (min-width: 600px) {
  .hero-title { font-weight: 600; }
  .hero-eyebrow { margin-bottom: var(--s3); font-size: 14px; }
  .hero-sub { margin-top: var(--s4); color: var(--white); font-size: 19px; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-top: var(--s4);
}

/* ==========================================================
   Trust bar (four separate points, each with a thin orange tick;
   bordered 2x2 cells on mobile, one row with thin rules on desktop)
   ========================================================== */
.trust { background: var(--grey); }

.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 12px var(--gutter);
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--text-on-dark);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px; /* DESIGN.md exception: trust labels may be 14px */
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}
.tick { flex: none; color: var(--orange); }
/* swipe rows: no visible scrollbar (the peeking next card shows there's more) */
.svc-list,
.work-list { scrollbar-width: none; }
.svc-list::-webkit-scrollbar,
.work-list::-webkit-scrollbar { display: none; }

/* short phones: tighter hero spacing so the hero + four trust points still fit one screen */
@media (max-width: 599.98px) and (max-height: 760px) {
  .hero { padding: 84px 0 20px; }
  .hero-eyebrow { margin-bottom: 8px; }
  .hero-sub { margin-top: 16px; }
  .hero-actions { margin-top: 16px; }
}

/* ==========================================================
   Services (header row + five numbered link cards; 01 featured in black.
   Swipe row on mobile; desktop grid: 01 (2 cols) + 02, then 03 / 04 / 05)
   ========================================================== */
.services { padding: var(--s5) 0; }

/* small orange section eyebrow (client's choice: orange on white is ~3.3:1, below AA, see DESIGN.md) */
.section-eyebrow {
  margin: 0 0 var(--s1);
  color: var(--orange);
  font-size: 14px;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.svc-head { margin-bottom: var(--s4); }
.svc-head h2 { max-width: 18em; font-size: 26px; }
/* bigger, bolder eyebrow with a short orange line before it: every section from Services down */
.section-eyebrow--line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .14em;
}
.section-eyebrow--line::before { content: ""; flex: none; width: 28px; height: 3px; background: var(--orange); }
@media (min-width: 600px) {
  .section-eyebrow--line { font-size: 20px; }
}
.svc-intro { margin: var(--s1) 0 0; color: var(--text); }
.svc-call { margin: var(--s2) 0 0; color: var(--text); }
.svc-call a { color: var(--black); font-weight: 600; white-space: nowrap; }

.svc-list {
  display: flex;
  gap: var(--s2);
  margin: 0;
  padding: 0 var(--gutter) var(--s2);
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;            /* swipe rows move sideways only, no vertical wobble */
  overscroll-behavior-x: contain; /* no bounce into the page or browser back-swipe */
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
}
.svc-list > li { display: flex; flex: 0 0 78%; scroll-snap-align: start; } /* next card peeks in */

.svc-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--s3);
  background: var(--grey);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  position: relative;
  overflow: hidden; /* clips the orange hover line to the rounded corners */
  transition: border-color .25s;
}
/* orange 2px line along the bottom; grows from the left on hover (see Motion) */
.svc-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; }
.svc-num { color: var(--orange); font-size: 14px; letter-spacing: .1em; } /* client's choice; ~3.0:1 on grey */
.svc-icon { flex: none; color: var(--black); }

/* titles sit a fixed distance under the number row, so they line up across a row */
.svc-title {
  margin-top: var(--s3);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.25;
  text-transform: uppercase;
}
.svc-copy { display: block; margin-top: var(--s1); font-size: 16px; line-height: 1.45; }
.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  margin-top: auto; /* pinned to the bottom */
  padding-top: var(--s3);
  color: var(--black);
  font-weight: 600;
}

/* featured card: black, white text, orange number (5.6:1 on black) */
.svc-card--featured { background: var(--black); color: var(--text-on-dark); }
.svc-card--featured .svc-icon,
.svc-card--featured .svc-title,
.svc-card--featured .svc-cta { color: var(--white); }

/* hover (real mouse only): border turns black (white on the black card) and the orange line shows */
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover { border-color: var(--black); }
  .svc-card--featured:hover { border-color: var(--white); }
  .svc-card:hover::after { transform: scaleX(1); }
}
/* pressed (phones and mouse) */
.svc-card:active { border-color: var(--black); }
.svc-card--featured:active { border-color: var(--white); }

/* ==========================================================
   Services strip (thin orange band under the hero; drifts right to left, see Motion)
   ========================================================== */
.strip { overflow: hidden; background: var(--orange); color: var(--black); }
.strip-track { display: flex; width: max-content; }
.strip-list {
  display: flex;
  flex: none;
  align-items: center;
  height: 36px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.strip-list span { white-space: nowrap; }
.strip-dot { margin: 0 14px; opacity: .45; }
@media (min-width: 600px) { .strip-list { font-size: 14px; } }

/* reduced motion: one static, centred copy (wraps onto two lines on phones) */
@media (prefers-reduced-motion: reduce) {
  .strip-track { width: auto; justify-content: center; padding: 8px var(--gutter); }
  .strip-list:not(:first-child),
  .strip-dot:last-child { display: none; }
  .strip-list { flex: 0 1 auto; flex-wrap: wrap; justify-content: center; height: auto; min-height: 20px; }
}

/* ==========================================================
   Sound familiar? (problems accordion + black call panel; DESIGN.md 4c)
   White; one column on phones (panel under the list), 60/40 from 1024px
   with the panel aligned to the bottom of the list.
   ========================================================== */
.fam { position: relative; padding: var(--s5-5) 0; background: var(--white); }
.fam-grid { display: grid; gap: var(--s4); }
.fam-title { margin-bottom: var(--s3); }
.fam-list { margin: 0; padding: 0; list-style: none; }
.fam-item + .fam-item { border-top: 3px solid var(--black); } /* rule between items */
.fam-q { margin: 0; font: inherit; }

/* each problem line is a full-width button */
.fam-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: none;
  color: var(--black);
  font-family: var(--font-head);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: left;
  cursor: pointer;
}
.fam-stop { color: var(--orange); }

/* plus / minus: two bars; the vertical one folds away when open */
.fam-pm { position: relative; flex: none; width: 20px; height: 20px; }
.fam-pm::before,
.fam-pm::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2.5px;
  margin-top: -1.25px;
  background: var(--black);
}
.fam-pm::after { transform: rotate(90deg); }
.js .fam-item.is-open .fam-pm::after,
html:not(.js) .fam-pm::after { transform: rotate(90deg) scaleX(0); } /* minus when open */

/* panel: open by default (no JS); with JS, closed unless js/main.js marks the item .is-open */
.fam-panel { display: grid; grid-template-rows: 1fr; }
.fam-panel-inner { min-height: 0; overflow: hidden; }
.fam-panel p { max-width: 60ch; margin: 0; padding: 2px 0 22px; color: var(--text); font-size: 16px; line-height: 1.5; }
.js .fam-item:not(.is-open) .fam-panel { grid-template-rows: 0fr; visibility: hidden; }

/* black call panel */
.fam-call {
  align-self: end;
  padding: 32px 28px;
  border-radius: 28px; /* echoes the quote card and the mobile hero card */
  background: var(--black);
  color: var(--text-on-dark);
}
.fam-call-year {
  margin: 0;
  color: var(--orange); /* about 5.6:1 on black */
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.fam-call-text { margin: var(--s2) 0 0; font-size: 15px; line-height: 1.5; }
.fam-call-btn { display: flex; width: 100%; margin-top: var(--s3); }

/* orange circle that follows the mouse (created by js/main.js; real mouse only) */
.fam-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40; /* under the sticky header */
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px; /* centred on the pointer */
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}
.fam-cursor.is-on { opacity: 1; }
.fam-cursor.is-on.is-big { opacity: .25; }
.fam-cursor.is-on.is-off { opacity: 0; } /* over the call panel */

@media (min-width: 1024px) {
  .fam { padding: var(--s6) 0; }
  .fam-grid { grid-template-columns: 3fr 2fr; gap: var(--s5); align-items: end; }
  .fam-pm { width: 14px; height: 14px; }
  .fam-pm::before,
  .fam-pm::after { height: 2px; margin-top: -1px; background: var(--text); }
  .fam-call { padding: 40px 36px; }
  .fam-call-btn { min-height: 40px; }
}

/* ==========================================================
   Makes we service (manufacturer logos: slow scroll; static row with reduced motion)
   ========================================================== */
.makes { padding: var(--s4) 0; }

.makes-label {
  margin-bottom: var(--s3);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px; /* small muted label, like the trust points */
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.makes-marquee { overflow: hidden; }
.makes-track { display: flex; width: max-content; }
.makes-list {
  display: flex;
  align-items: center;
  flex: none;
  gap: var(--s4);
  margin: 0;
  padding: 0 var(--s4) 0 0; /* same as the gap, so copies join seamlessly */
  list-style: none;
}
/* every logo the same height, in its own colours */
.makes-list img {
  display: block;
  width: auto;
  height: 32px;
}
.makes-list img.on-white { mix-blend-mode: multiply; } /* white backgrounds disappear on the page */

/* reduced motion: one static, wrapped, centred row */
@media (prefers-reduced-motion: reduce) {
  .makes-track { width: auto; padding: 0 var(--gutter); }
  .makes-list:not(:first-child) { display: none; }
  .makes-list { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; gap: var(--s3) var(--s4); padding: 0; }
}

/* ==========================================================
   Recent work (swipe row on mobile, one row of 5 on desktop)
   ========================================================== */
.work { padding: var(--s5-5) 0; }

.work h2 { font-size: 30px; }
.work-intro { margin: var(--s2) 0 0; max-width: 34em; }

.work-list {
  display: flex;
  gap: var(--s2);
  margin: var(--s4) 0 0;
  padding: 0 var(--gutter) var(--s2);
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;            /* swipe rows move sideways only, no vertical wobble */
  overscroll-behavior-x: contain; /* no bounce into the page or browser back-swipe */
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
}
.work-list li { flex: 0 0 72%; scroll-snap-align: start; }

/* Photo in a 3:4 (portrait) frame, shown in full; the caption sits on it as an orange corner tag (bottom-left) */
.work-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3 / 4;
}
.work-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* per-photo framing, set on the <figure> only where the bottom tag would cover the subject:
     --scale zooms in, --shift-y moves the photo up (keep --shift-y no more than (scale - 1) / 2, so no edge shows) */
  transform: translateY(var(--shift-y, 0%)) scale(var(--scale, 1));
}
.work-item figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 85%;
  padding: 6px 10px;
  background: var(--orange);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 0 6px 0 0;  /* top-right corner only */
}
/* Tag in the top-left corner instead, when the subject is at the bottom of the photo */

/* ==========================================================
   Why customers stay (heading left, points right on desktop)
   ========================================================== */
.why { padding: var(--s5-5) 0; background: var(--black); } /* black band */

.why h2 { color: var(--white); font-size: 30px; }

.why-list { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.why-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--s2);
  align-items: baseline;
  padding: 32px 0;
  border-top: .5px solid #333; /* hairline on black */
}
.why-list li:last-child { border-bottom: .5px solid #333; }

/* big orange numerals: 40px orange on black passes AA */
.why-num {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}
.why-list p { margin: 0; color: var(--text-on-dark); font-size: 19px; line-height: 1.5; }
.why-list strong { color: var(--white); font-weight: 600; }

/* ==========================================================
   Testimonials (grey cards; stacked on mobile, 3 in a row on desktop)
   ========================================================== */
.testimonials { padding: var(--s5-5) 0; }

.testimonials h2 { font-size: 30px; }

.quote-list {
  display: grid;
  gap: var(--s2);
  list-style: none;
  margin: var(--s4) 0 0;
  padding: 0;
}

.quote {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 32px 24px;
  background: var(--grey);
  border-radius: var(--radius);
}
.quote blockquote { margin: 0; }
.quote p { margin: 0; color: var(--text); }
/* lead review: white with a thin border, larger quote text */
.quote--lead { padding: 40px 28px; border: 1px solid #e3e3df; background: var(--white); }
.quote--lead p {
  color: var(--black);
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.quote figcaption {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding-top: var(--s3);
  color: var(--black);
  font-weight: 600;
}
/* small orange accent dot */
.quote figcaption::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px; /* centre on the first line of the name */
  border-radius: 50%;
  background: var(--orange);
}

/* ==========================================================
   Quote: heading, then one white card split into a black panel (phone, reply,
   out of hours, areas) and the form. Stacked on phones; 380px panel + form on desktop.
   ========================================================== */
.quote-section { padding: var(--s5-5) 0; background: var(--grey); }

.quote-head { max-width: 760px; margin-bottom: 40px; }
.quote-head h2 { font-size: 30px; }

.quote-card { overflow: hidden; background: var(--white); border-radius: 28px; }

.quote-panel { padding: 28px 22px; background: var(--black); color: var(--text-on-dark); font-size: 16px; }
.quote-panel p { margin: 0; }
.quote-panel p + p { margin-top: 12px; }
.quote-panel-label {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.quote-phone {
  display: inline-block;
  margin: 10px 0 18px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}
.quote-phone:hover,
.quote-phone:focus-visible { text-decoration: underline; }
.quote-rule { margin: 20px 0; border: 0; border-top: .5px solid #333; }

/* Areas covered: the region line "Kent & Sussex" only (no town pills; DESIGN.md 9).
   Same markup in the quote panel and the footer (dark overrides in each). */
.areas-region {
  margin-top: 6px;
  color: var(--black);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Areas covered, dark version in the quote panel */
.quote-panel .areas-region { margin-top: 6px; color: var(--white); font-size: 22px; font-weight: 700; }

/* address: under the card on phones and tablet, in the panel on desktop */
.quote-address { color: var(--text); font-size: 16px; }
.quote-panel .quote-address { color: var(--text-on-dark); }
.quote-desktop { display: none; }
.quote-address--below { margin: 16px 0 0; }

.quote-form-wrap { padding: 28px 20px; }

/* two columns at every width: Name | Phone, Email | Postcode, then full-width rows */
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; }
.quote-form .field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
@media (min-width: 600px) {
  .quote-form { column-gap: 16px; }
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
}
.field .optional { color: var(--text); font-weight: 400; }

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--text); /* #444 on white keeps the field edge above 3:1 */
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 17px; /* 16px+ stops iOS zooming on focus */
}
.field textarea { resize: vertical; }
.field select {
  appearance: none;
  padding-right: 40px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23111111' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.quote-submit { width: 100%; }
.quote-privacy { margin: var(--s2) 0 0; color: var(--text); font-size: 16px; }
.quote-error { margin: var(--s2) 0 0; color: var(--black); font-weight: 600; }

.quote-success {
  padding: var(--s4) var(--s3);
  background: var(--grey);
  border-radius: var(--radius);
}
.quote-success h3 { font-size: 24px; }
.quote-success p { margin: var(--s1) 0 0; }

/* ==========================================================
   Legal pages (privacy.html): solid header from the top, narrow text column
   ========================================================== */
.page-legal .site-header { background: var(--black); }
.page-legal .header-inner { padding-top: 0; }   /* logo centred in the 72px bar */
.page-legal .nav-toggle { top: 11px; }

.legal { padding: calc(var(--header-h) + var(--s4)) 0 var(--s5); }
.legal-inner { max-width: 720px; }
.legal h1 { font-size: 32px; }
.legal-updated { margin: var(--s1) 0 var(--s4); color: var(--text); font-size: 16px; }
.legal h2 { margin-top: var(--s4); font-size: 22px; }
.legal p { margin: var(--s2) 0 0; }
.legal ul { margin: var(--s2) 0 0; padding-left: 1.2em; }
.legal li { margin-top: 6px; }

/* ==========================================================
   Footer (black; stacked on mobile, 4 columns on desktop)
   ========================================================== */
.site-footer {
  position: relative;
  overflow: hidden; /* cuts off the bottom of the wordmark */
  padding: var(--s4) 0 var(--s3);
  background: var(--black);
  color: var(--text-on-dark);
}
.site-footer > .container { position: relative; z-index: 1; } /* footer text above the wordmark */
/* very large faint "R&R", centred, partly cut off by the bottom edge */
.footer-mark {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 30%);
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(120px, 30vw, 240px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  opacity: .05;
  pointer-events: none;
  user-select: none;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }

.footer-grid { display: grid; gap: var(--s3); }

.footer-brand img { width: auto; height: 44px; }
.footer-brand p { margin-top: var(--s2); }

/* phones: fit in about one screen. Areas and section links are already on the page above */
.footer-areas,
.footer-nav { display: none; }
.footer-contact .footer-list { display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s3); }

.footer-label {
  margin-bottom: var(--s2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-list { list-style: none; margin: 0 0 var(--s2); padding: 0; }
.footer-list a { display: inline-block; padding: 10px 0; overflow-wrap: anywhere; } /* 44px+ tap targets */

/* footer version of the areas block (black background) */
.site-footer .areas-region { margin-top: 0; color: var(--white); font-size: 18px; }

.footer-legal {
  display: grid;
  gap: var(--s1);
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--text);
  font-size: 14px; /* DESIGN.md exception: legal small print may be 14px */
}
.footer-sep { display: none; margin: 0 6px; }
.footer-privacy { display: block; margin-top: var(--s1); } /* own line on mobile */

/* ==========================================================
   Motion (DESIGN.md "Motion"). All off under prefers-reduced-motion.
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Our work: the photo (not the tag) zooms slightly on hover, real pointers only */
  .work-item img { transition: transform .5s ease; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .work-item:hover img { transform: translateY(var(--shift-y, 0%)) scale(calc(var(--scale, 1) * 1.04)); } /* multiplies the photo's own scale */

  /* call buttons: the phone icon wiggles once */
  a[href^="tel:"]:hover .btn-ico { animation: phone-wiggle .5s ease-in-out; }
  @keyframes phone-wiggle {
    0%, 100% { transform: rotate(0); }
    35% { transform: rotate(-12deg); }
    70% { transform: rotate(10deg); }
  }
}
/* service cards lift 3px on hover (desktop grid only: the swipe rows below 1024px would clip it) */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .svc-card:hover { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: no-preference) {
  /* hero fades in on load */
  .hero-inner > * { animation: fade-up .6s ease-out both; }
  .hero-inner > :nth-child(2) { animation-delay: .1s; }
  .hero-inner > :nth-child(3) { animation-delay: .2s; }
  .hero-inner > :nth-child(4) { animation-delay: .3s; }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }

  /* scroll fade-in; js/main.js adds .is-visible and the stagger delay */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .5s ease-out, transform .5s ease-out;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  /* inside the sideways swipe rows (below 1024px), fade only: a vertical slide would push cards past the row edge and make it wobble */
  @media (max-width: 1023.98px) {
    .js .svc-list > [data-reveal],
    .js .work-list > [data-reveal] { transform: none; }
  }

  /* Sound familiar? accordion: panels open smoothly; plus turns to minus; circle cursor fades */
  .fam-panel { transition: grid-template-rows .3s ease-out, visibility 0s linear 0s; }
  .js .fam-item:not(.is-open) .fam-panel { transition: grid-template-rows .3s ease-out, visibility 0s linear .3s; }
  .fam-pm::after { transition: transform .3s ease-out; }
  .fam-cursor { transition: opacity .2s ease-out; }

  /* service cards: orange line grows along the bottom; gentle press */
  .svc-card { transition: border-color .25s, transform .25s ease-out; }
  .svc-card::after { transition: transform .25s ease-out; }
  .svc-card:active { transform: scale(.985); transition-duration: .1s; }

  /* services strip: one loop (one copy) every 60s, pauses on hover */
  .strip-track { animation: strip-scroll 60s linear infinite; }
  .strip:hover .strip-track { animation-play-state: paused; }
  @keyframes strip-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* hero-fx trial: the van photo slowly zooms in and out */
  @media (min-width: 600px) {
    .hero-fx .hero-media img { animation: hero-zoom 26s ease-in-out infinite alternate; }
  }
  @keyframes hero-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
  }

  /* button hover: arrow nudges right */
  .btn-arrow { transition: transform .4s ease-out; }
  .btn:hover .btn-arrow { transform: translateX(4px); }
  .svc-card:hover .btn-arrow { transform: translateX(4px); }

  /* makes we service: slow continuous scroll, one list copy per loop; pauses on hover */
  .makes-track { animation: makes-scroll 50s linear infinite; }
  .makes-marquee:hover .makes-track { animation-play-state: paused; }
  @keyframes makes-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% / 3)); }
  }

  /* header turning solid */
  .site-header { transition: background-color .4s ease-out; }
  .header-inner { transition: padding-top .4s ease-out; }
  .nav-toggle { transition: top .4s ease-out, background-color .4s ease-out; }
}

/* ==========================================================
   Tablet and up
   ========================================================== */
@media (min-width: 600px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); } /* one row of four boxes (desktop restyles it below) */
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-title { font-size: 52px; }
}

/* ==========================================================
   Desktop
   ========================================================== */
@media (min-width: 1024px) {

  .container { padding: 0 var(--s4); }

  .site-header { position: sticky; background: var(--black); }
  .header-inner { padding: 0 72px; gap: var(--s5); }

  .nav-toggle { display: none; }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 144px; /* reference: last link to pill */
    position: static;
    padding: 0;
    background: none;
  }

  .nav-links { display: flex; flex: 1; justify-content: space-between; }
  .nav-links { align-items: center; }
  .nav-links a { font-size: 15px; }
  /* Contact is the header button on desktop */
  .nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 140px;
    padding: 0 var(--s3);
    border-radius: var(--pill);
    background: var(--orange);
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s, color .2s;
  }
  .nav-links .nav-cta:hover { background: var(--brown); color: var(--white); text-decoration: none; }
  .nav-links .nav-phone { display: list-item; }
  .nav-links .nav-phone a { font-weight: 600; white-space: nowrap; }
  .nav-links .nav-cta.is-active { outline: 2px solid var(--white); outline-offset: 2px; text-decoration: none; }

  .hero { min-height: clamp(600px, 76vh, 760px); padding: var(--s6) 0; }
  .hero-media img { object-position: 50% 50%; }
  .hero-title { font-size: 70px; }
  .hero-eyebrow { font-size: 15px; }
  .hero-sub { font-size: 21px; }
  .hero-actions .btn { min-height: 40px; }

  .trust-list { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 0; padding: 22px 72px; }
  .trust-list li { white-space: nowrap; }
  .trust-list li { justify-content: center; padding: 2px var(--s2); border: 0; border-radius: 0; letter-spacing: .12em; }
  .trust-list li + li { border-left: 1px solid var(--text-on-dark); } /* thin vertical rules */

  .services { padding: var(--s6) 0; }
  .svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
  .svc-head h2 { font-size: 32px; }
  .svc-call { margin: 0; text-align: right; }
  .svc-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--s4);
    overflow: visible;
  }
  .svc-list > li:first-child { grid-column: span 2; } /* featured: 01 (2 cols) + 02, then 03 / 04 / 05 */
  .svc-card { padding: var(--s4) 36px; }

  .makes { padding: 56px 0; }
  .makes-list img { height: 40px; }


  .work { padding: var(--s6) 0; }
  .work h2 { max-width: 16em; font-size: 44px; }
  .work-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: var(--max-width);
    margin: var(--s4) auto 0;
    padding: 0 var(--s4);
    overflow: visible;
  }

  .why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 92px; align-items: start; }
  .why h2 { max-width: 16em; font-size: 44px; }
  .why-list { margin: 0; }
  .why { padding: var(--s6) 0; }
  .why-list li { grid-template-columns: 72px 1fr; padding: 32px 0; }
  .why-list p { font-size: 20px; }

  .testimonials { padding: var(--s6) 0; }
  .testimonials h2 { max-width: 16em; font-size: 44px; }
  .quote-list { grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }


  .quote-section { padding: var(--s6) 0; }
  .quote-head h2 { max-width: 16em; font-size: 44px; }
  .quote-card { display: grid; grid-template-columns: 380px 1fr; }
  .quote-panel { padding: 44px 40px; }
  .quote-form-wrap { padding: 44px 48px; }
  .quote-desktop { display: block; }
  .quote-address--below { display: none; }
  .quote-submit { min-height: 48px; }

  .legal { padding: var(--s6) 0; } /* desktop header is in the page flow */
  .legal h1 { font-size: 40px; }

  .site-footer { padding: var(--s6) 0 var(--s4); }
  .footer-grid { grid-template-columns: 1.2fr 1.3fr 1.3fr 1fr; gap: var(--s5); }
  .footer-brand img { height: 56px; }
  .footer-brand p { margin-top: var(--s3); }
  .footer-areas,
  .footer-nav { display: block; }
  .footer-contact .footer-list { display: block; }
  .footer-legal { margin-top: var(--s5); font-size: 16px; }
  .footer-list a { padding: 6px 0; }
  .footer-sep { display: inline; }
  .footer-privacy { display: inline; margin-top: 0; }
}

/* ==========================================================
   Phones only (<600px): two-state "story" hero (references/mobile-hero/README.md).
   State 1 (on load): the card, with the van in the oval. State 2: the poster with reviews.
   Geometry is laid out at 390px and scaled by --k (= screen width / 390) in js/main.js.
   Tablet and desktop never see any of this.
   ========================================================== */
.mh-stage,
.mh-trust { display: none; }

/* phone icon in the call buttons (all sizes; wiggles once on hover, see Motion) */
.btn-ico { display: block; flex: none; margin-right: 9px; }

@media (max-width: 599.98px) {
  .first-screen { display: block; min-height: 0; }
  .trust { display: none; } /* the points live in the hero card on phones */

  .hero {
    display: block;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: var(--black);
    color: var(--black);
  }
  .hero-media { display: none; }

  /* ---- stage: photo windows, headline, crescents, bottom panel ---- */
  .mh-stage { display: block; position: absolute; inset: 0; }
  .js .hero:not(.mh-ready) .mh-stage { visibility: hidden; } /* until main.js has positioned the photo */
  .mh-win { position: absolute; top: 0; left: 0; right: 0; height: 100%; overflow: hidden; background: #e9edf0; }
  .mh-fg { background: none; pointer-events: none; }
  .mh-world { position: absolute; top: 0; left: 0; width: 780px; height: 1690px; transform-origin: 0 0; }
  .mh-world img { position: absolute; display: block; max-width: none; }
  .mh-a,
  .mh-cut { top: 0; left: 0; width: 780px; height: 1690px; }
  .mh-b { /* the real, wider van photo: only shown inside the oval */
    top: 613px;
    left: -124px;
    width: 995.5px;
    height: 555.67px;
    opacity: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 8%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 8%);
    mask-composite: intersect;
  }

  .mh-headline {
    position: absolute;
    top: 0;
    left: 18px;
    margin: 0;
    color: var(--black);
    font-family: var(--font-head);
    font-weight: 800;
    font-stretch: 75%; /* as the reference build and state-2-poster.png (the README text says 62%) */
    letter-spacing: -.015em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
  }
  .mh-ln { display: block; font-size: 100px; line-height: .9; transform-origin: 0 80%; }
  .mh-o { color: var(--orange); }
  .mh-o i { display: inline-block; width: 0; height: 0; } /* baseline marker for setHead() */

  .mh-cres { position: absolute; top: 0; left: 0; opacity: 0; pointer-events: none; fill: var(--orange); }

  .mh-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 18px 6px 14px;
    background: var(--white);
    border-radius: 28px 28px 0 0;
    overflow: hidden;
  }
  .mh-btn { margin: 0 20px; }

  /* ---- reviews ---- */
  .mh-reviews { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e8e8e8; overflow: hidden; }
  .mh-track { display: flex; transition: transform .6s ease-out; }
  .mh-slide { flex: 0 0 100%; padding: 0 20px; }
  .mh-stars { display: flex; gap: 3px; margin-bottom: 8px; }
  .mh-stars svg { width: 18px; height: 18px; fill: var(--orange); }
  .mh-quote { margin: 0; }
  .mh-quote p {
    min-height: 54px;
    margin: 0;
    color: var(--black);
    font-family: var(--font-head);
    font-size: calc(22px * min(1, var(--k, 1)));
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.22;
  }
  .mh-name { margin: 6px 0 0; color: #777; font-size: 13.5px; }
  .mh-nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 0 12px; }
  .mh-dots { display: flex; gap: 2px; }
  .mh-dot { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
  .mh-dot svg { width: 22px; height: 22px; transform: rotate(-90deg); }
  .mh-dot .c { fill: #d6d6d6; transition: fill .3s; }
  .mh-dot .r { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 56.55; stroke-dashoffset: 56.55; opacity: 0; }
  .mh-dot.is-on .c { fill: var(--orange); }
  .mh-dot.is-on .r { opacity: 1; animation: mh-ring var(--mh-dur, 4.5s) linear forwards; }
  .mh-dot.is-full .r { animation: none; stroke-dashoffset: 0; }
  .mh-dot.is-paused .r { animation-play-state: paused; }
  @keyframes mh-ring { to { stroke-dashoffset: 0; } }
  .mh-arrows { display: flex; gap: 8px; }
  .mh-arrows button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: var(--white);
    color: var(--black);
    cursor: pointer;
  }

  /* ---- the card: the page's hero content (H1), white, under the oval, edge to edge down to the bottom of the screen.
     js/main.js sets its top (after measuring its natural height). Side padding = the old 12px margin + 20px. ---- */
  .hero-inner {
    position: absolute;
    z-index: 2;
    top: calc(96px + 210 * 100vw / 390); /* oval top 96 + 2 x RY + 22, before JS */
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 24px 32px 22px;
    background: var(--white);
    border-radius: 28px 28px 0 0;
    color: var(--black);
  }
  .hero-eyebrow {
    margin: 0;
    color: var(--orange);
    font-size: calc(11.5px * min(1, var(--k, 1))); /* DESIGN.md exception: one line at any phone width */
    font-weight: 600;
    letter-spacing: .075em;
    white-space: nowrap;
  }
  .hero-title {
    margin: 12px 0;
    color: var(--black);
    font-size: 38px;
    font-weight: 700;
    line-height: .98;
  }
  .hero-sub { max-width: none; margin: 0; color: var(--text); font-size: 17px; line-height: 1.45; }
  .hero-actions { display: grid; gap: 10px; margin-top: 18px; }
  .hero-actions .btn,
  .mh-btn { gap: 9px; height: 54px; min-height: 54px; border-radius: 27px; font-size: 16px; }
  .hero-actions .btn-ico,
  .mh-btn .btn-ico { margin-right: 0; } /* these buttons space the icon with gap: 9px */
  .hero-actions .btn-outline { border-color: var(--black); background: var(--black); color: var(--white); }

  .mh-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
  }
  .mh-trust li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    color: var(--text);
    font-size: calc(10.5px * min(1, var(--k, 1))); /* DESIGN.md exception: one line per point */
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .mh-trust .tick { flex: none; color: var(--orange); }

  /* ---- compact styles: screens under 740px high (class set by js/main.js) ---- */
  .mh-compact .hero-inner { padding: 18px 30px 16px; }
  .mh-compact .hero-title { margin: 8px 0; font-size: 30px; }
  .mh-compact .hero-sub { font-size: 15px; line-height: 1.4; }
  .mh-compact .hero-actions { gap: 8px; margin-top: 12px; }
  .mh-compact .hero-actions .btn { height: 46px; min-height: 46px; }
  .mh-compact .mh-trust { margin-top: 10px; }
  .mh-compact .mh-trust li { padding: 6px 8px; }
  .mh-compact .mh-panel { padding: 14px 6px 10px; }
  .mh-compact .mh-btn { height: 50px; min-height: 50px; }
  .mh-compact .mh-reviews { margin-top: 12px; padding-top: 10px; }
  .mh-compact .mh-quote p { min-height: 44px; font-size: 18px; }
  .mh-compact .mh-stars { margin-bottom: 6px; }
  .mh-compact .mh-stars svg { width: 15px; height: 15px; }
  .mh-compact .mh-nav { padding-top: 4px; }

  /* no JavaScript (or main.js failed, see the failsafe in <head>): the card on its own, no photo story */
  html:not(.js) .hero { height: auto; }
  html:not(.js) .mh-stage { display: none; }
  html:not(.js) .hero-inner { position: relative; top: auto; bottom: auto; margin: 96px 0 0; }

  /* the generic hero load fade doesn't apply: the card is animated by js/main.js */
  .hero-inner > * { animation: none !important; }


  /* headline word pop on arrival at the poster */
  .mh-ln { transition: opacity .22s ease-out, transform .32s cubic-bezier(.2, 1.4, .4, 1); }
  .mh-ln.is-pre { opacity: 0; transform: scale(.94); }
}
