/* ============================================================
   CouriersDepot — Fuel, Energy & Site Efficiency hub
   Structural vocabulary inherited from the HRIB London reference page
   (.wrap / .section / .section-head / .cards-3 / .steps / .note-aside /
   .bullet-panel / .introducer-band / .final-cta / .footer-grid).

   The one deliberate departure is the palette: deep petrol base,
   one considered green accent, amber reserved for fuel and cost figures.
   Typography stays Inter so the section reads as part of CouriersDepot.

   Contrast policy: --accent / --amber / --cyan are for large text, chips,
   rules and icons only. Small text and solid buttons use the -dark and
   -text variants, all of which clear WCAG AA 4.5:1 on white.
   ============================================================ */

:root {
  --ink:         #0C2430;   /* deep petrol — body text, darkest surfaces */
  --petrol:      #123A44;   /* primary dark surface */
  --petrol-mid:  #1B4E59;   /* raised dark surface */
  --slate:       #4A6672;   /* secondary text */
  --slate-light: #6E8A96;   /* tertiary text — light backgrounds only */
  --panel:       #F1F6F5;   /* tinted section background */
  --panel-line:  #DCE7E6;   /* borders on panels */
  --white:       #FFFFFF;

  --accent:      #0F9B6C;   /* primary — considered green */
  --accent-dark: #0B7A54;   /* hover, small text on white, solid buttons */
  --accent-tint: #E8F6F0;
  --accent-on-dark: #52D3A2;/* accent text on petrol surfaces */

  --amber:       #E9A93C;   /* energy/fuel highlight — figures, callouts */
  --amber-dark:  #B87A1C;   /* large amber figures, borders */
  --amber-text:  #8A5A0F;   /* small amber text on white (AA) */
  --amber-tint:  #FDF4E3;
  --amber-on-dark: #F0BC63;

  --cyan:        #2C93B8;   /* AI Edge identity chip */
  --cyan-dark:   #1F7592;   /* cyan text on white */

  --on-dark:      #CFE2E0;  /* body text on petrol */
  --on-dark-mute: #9DB7B8;  /* muted text on petrol */

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(12,36,48,.06), 0 2px 6px rgba(12,36,48,.05);
  --shadow-md: 0 8px 24px rgba(12,36,48,.10);
  --shadow-lg: 0 24px 60px rgba(12,36,48,.16);

  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { width: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
p { margin: 0 0 1rem; }
img { max-width: 100%; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 2px; border-radius: 4px; }
.section--petrol :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.nav-links.open :focus-visible { outline-color: var(--accent-on-dark); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--white); color: var(--ink); padding: 10px 16px;
  border: 2px solid var(--accent-dark); border-radius: 0 0 var(--radius-sm) 0;
  font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Sections & rhythm ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--panel { background: var(--panel); }
.section--petrol {
  background: var(--petrol);
  color: var(--on-dark);
}
.section--petrol h2, .section--petrol h3, .section--petrol h4 { color: #fff; }
.section--petrol a { color: #fff; }

.label {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}
.section--petrol .label, .hero .label { color: var(--accent-on-dark); }

.section-head { max-width: 780px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-head .lede { font-size: 18px; color: var(--slate); }
.section--petrol .section-head .lede { color: var(--on-dark); }
.lead-text { font-size: 18px; color: var(--slate); }
.mt-0 { margin-top: 0; }
.body-link { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.section--petrol .body-link, .hero .body-link { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: var(--white);
  border-bottom: 1px solid var(--panel-line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px; padding-top: 8px; padding-bottom: 8px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img.lockup { display: block; height: 52px; width: auto; }
.nav-links {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 22px; list-style: none; margin: 0; padding: 0; flex: 1 1 auto;
}
.nav-links > li { display: flex; align-items: center; }
.nav-links a {
  color: var(--ink); font-size: 14.5px; font-weight: 600; white-space: nowrap;
}
.nav-links a:hover { color: var(--accent-dark); text-decoration: none; }
/* the Enquire button is an <a> inside .nav-links, so it needs the colour back */
.nav-links a.btn--accent, .nav-links a.btn--accent:hover { color: #fff; }
.nav-links a[aria-current="page"] {
  color: var(--accent-dark);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.nav-links .nav-sep {
  border-left: 1px solid var(--panel-line);
  padding-left: 22px;
}
.nav-links .nav-back a {
  color: var(--slate); font-weight: 600; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links .nav-back a:hover { color: var(--ink); }
.nav-brand-panel { display: none; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--panel-line);
  border-radius: var(--radius-sm); cursor: pointer; padding: 9px 10px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 4px 0; border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--accent {
  background: var(--accent-dark); color: #fff;
  box-shadow: 0 6px 18px rgba(11,122,84,.26);
}
.btn--accent:hover { background: #096544; color: #fff; }
.btn--outline {
  background: #fff; color: var(--ink); border-color: var(--panel-line);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { border-color: var(--slate); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav .btn { padding: 10px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--on-dark);
  background: var(--petrol);
  padding: clamp(52px, 7vw, 92px) 0 clamp(58px, 8vw, 104px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(12,36,48,.95) 0%, rgba(18,58,68,.90) 48%, rgba(18,58,68,.62) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 52px; align-items: center;
}
.hero h1 { color: #fff; font-size: clamp(31px, 4.8vw, 50px); line-height: 1.08; margin-bottom: 18px; }
.hero .sub { font-size: 18px; color: var(--on-dark); max-width: 580px; margin-bottom: 20px; }
.hero .proof {
  font-size: 14.5px; color: var(--on-dark-mute); max-width: 580px;
  border-left: 3px solid var(--accent); padding-left: 16px; margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero--partner { padding-bottom: clamp(50px, 7vw, 88px); }

/* Partner page hero identity strip */
.hero--chip-amber { border-top: 4px solid var(--amber); }
.hero--chip-green { border-top: 4px solid var(--accent); }
.hero--chip-cyan  { border-top: 4px solid var(--cyan); }

/* ---------- Identity chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
  background: var(--white); border: 1px solid var(--panel-line); color: var(--slate);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--slate); }
.chip--amber { color: var(--amber-text); border-color: #F0DDB4; background: var(--amber-tint); }
.chip--amber::before { background: var(--amber); }
.chip--green { color: var(--accent-dark); border-color: #BFE6D6; background: var(--accent-tint); }
.chip--green::before { background: var(--accent); }
.chip--cyan { color: var(--cyan-dark); border-color: #BEDDE9; background: #E7F3F8; }
.chip--cyan::before { background: var(--cyan); }
.hero .chip { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.28); color: #fff; }
.hero .chip--amber::before { background: var(--amber); }
.hero .chip--green::before { background: var(--accent-on-dark); }
.hero .chip--cyan::before  { background: #6EC6E4; }

/* ---------- Diagnostic / summary card ---------- */
.diag-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 24px 26px 20px; color: var(--ink);
}
.diag-card .card-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-bottom: 1px solid var(--panel-line); padding-bottom: 14px; margin-bottom: 14px;
}
.diag-card .card-title { font-weight: 700; color: var(--ink); font-size: 15px; }
.card-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate); background: var(--panel); padding: 5px 10px; border-radius: 20px;
  white-space: nowrap;
}
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px; padding: 11px 0;
  font-size: 15px; color: var(--ink); border-bottom: 1px dashed var(--panel-line);
}
.checklist li:last-child { border-bottom: 0; }
.check-icon {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-tint); display: grid; place-items: center;
}
.check-icon svg { width: 13px; height: 13px; stroke: var(--accent-dark); fill: none; stroke-width: 3; }
.checklist .lever-time {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--slate); margin-top: 2px;
}

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.card {
  background: #fff; border: 1px solid var(--panel-line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--petrol);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--slate); margin: 0; font-size: 15px; }
.card .num {
  font-size: 13px; font-weight: 800; color: var(--accent-dark);
  letter-spacing: .08em; display: block; margin-bottom: 6px;
}

/* Partner cards — the identity accent appears only as a top border + chip */
.partner-card { display: flex; flex-direction: column; border-top: 4px solid var(--panel-line); }
.partner-card--amber { border-top-color: var(--amber); }
.partner-card--green { border-top-color: var(--accent); }
.partner-card--cyan  { border-top-color: var(--cyan); }
.partner-card h3 { font-size: 20px; margin-bottom: 4px; }
.partner-card .who { font-size: 13.5px; color: var(--slate); font-weight: 600; margin: 0 0 12px; }
.partner-card p { margin-bottom: 14px; }
.partner-card ul { list-style: none; margin: 0 0 18px; padding: 0; }
.partner-card li {
  position: relative; padding-left: 18px; font-size: 14.5px; color: var(--slate); margin-bottom: 7px;
}
.partner-card li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}
.partner-card--amber li::before { background: var(--amber-dark); }
.partner-card--cyan li::before { background: var(--cyan); }
.partner-card .card-foot { margin-top: auto; padding-top: 4px; }
.partner-card .card-foot .btn { width: 100%; }

/* ---------- The staircase (three levers) ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px;
  align-items: stretch;
}
.step {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--panel-line); border-radius: var(--radius);
  padding: 28px 26px 26px; box-shadow: var(--shadow-sm);
}
.step .step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--petrol); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--slate); font-size: 15px; margin: 0 0 14px; }
.step .step-partner {
  display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 8px;
}
.step .step-time {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--amber-text); background: var(--amber-tint);
  border: 1px solid #F0DDB4; border-radius: 999px; padding: 4px 11px;
}
.step .step-link { margin-top: auto; font-weight: 700; font-size: 14.5px; color: var(--accent-dark); }
.step .step-link:hover { text-decoration: underline; }

/* the staircase rise — each step sits a little higher than the last */
.steps--stair .step:nth-child(1) { margin-top: 42px; }
.steps--stair .step:nth-child(2) { margin-top: 21px; }
.steps--stair .step:nth-child(3) { margin-top: 0; border-top: 3px solid var(--accent); }
.steps--stair .step:nth-child(1) { border-top: 3px solid var(--amber); }
.steps--stair .step:nth-child(2) { border-top: 3px solid var(--accent); }
.steps--stair .step:nth-child(3) { border-top-color: var(--cyan); }
.steps--stair .step::after {
  content: ""; position: absolute; right: -22px; top: 60px; width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--panel-line), rgba(220,231,230,0));
}
.steps--stair .step:last-child::after { display: none; }
.stair-axis {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--panel-line);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate);
}
.stair-axis span:last-child { text-align: right; }

/* ---------- Rationale two-column ---------- */
.rationale { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.rationale-list { list-style: none; margin: 24px 0 0; padding: 0; }
.rationale-list li { padding: 18px 0; border-bottom: 1px solid var(--panel-line); }
.rationale-list li:first-child { padding-top: 0; }
.rationale-list strong { color: var(--ink); display: block; margin-bottom: 4px; font-size: 16px; }
.rationale-list span { color: var(--slate); font-size: 15px; }
.section--petrol .rationale-list li { border-bottom-color: rgba(255,255,255,.14); }
.section--petrol .rationale-list strong { color: #fff; }
.section--petrol .rationale-list span { color: var(--on-dark); }

/* ---------- Bullet panels ---------- */
.bullet-panel {
  background: #fff; border: 1px solid var(--panel-line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px 30px;
}
.bullet-panel h3 { font-size: 18px; }
.bullet-panel ul { list-style: none; margin: 0; padding: 0; }
.bullet-panel li {
  display: flex; gap: 14px; align-items: flex-start; padding: 13px 0;
  border-bottom: 1px solid var(--panel-line); color: var(--ink); font-size: 15.5px;
}
.bullet-panel li:last-child { border-bottom: 0; }
.dot {
  flex: 0 0 auto; margin-top: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.dot--amber { background: var(--amber-dark); }
.dot--cyan { background: var(--cyan); }

/* ---------- Notes / caveats ---------- */
.note-aside {
  background: var(--amber-tint); border: 1px solid #F0DDB4;
  border-left: 4px solid var(--amber-dark); border-radius: var(--radius-sm);
  padding: 18px 22px; margin-top: 26px; font-size: 14.5px; color: #5C4212;
}
.note-aside strong { color: var(--amber-text); }
.note-aside p:last-child { margin-bottom: 0; }
.note-aside--accent {
  background: var(--accent-tint); border-color: #BFE6D6; border-left-color: var(--accent-dark);
  color: #123F30;
}
.note-aside--accent strong { color: var(--accent-dark); }

/* Source line under factual blocks */
.src {
  display: block; margin-top: 10px; font-size: 13px; color: var(--slate); line-height: 1.6;
}
.src a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.section--petrol .src, .hero .src { color: var(--on-dark-mute); }
.section--petrol .src a, .hero .src a { color: #fff; }
/* source lines inside a white card sit on white, not on the dark section */
.hero .diag-card .src, .section--petrol .diag-card .src,
.hero .enquiry-card .src, .section--petrol .enquiry-card .src { color: var(--slate); }
.hero .diag-card .src a, .section--petrol .diag-card .src a,
.hero .enquiry-card .src a, .section--petrol .enquiry-card .src a { color: var(--accent-dark); }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.stat-card {
  background: #fff; border: 1px solid var(--panel-line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px 22px;
}
.stat-card .big { font-size: 32px; font-weight: 800; color: var(--amber-dark); line-height: 1.05; }
.stat-card .big--petrol { color: var(--petrol); }
.stat-card .lbl { color: var(--slate); font-size: 14px; margin-top: 6px; }
.section--petrol .stat-card { background: var(--petrol-mid); border-color: rgba(255,255,255,.14); }
.section--petrol .stat-card .big { color: var(--amber-on-dark); }
.section--petrol .stat-card .lbl { color: var(--on-dark); }

/* steps and figures placed on a petrol section */
.section--petrol .stat-card .big--petrol { color: #fff; }
.section--petrol .step { background: var(--petrol-mid); border-color: rgba(255,255,255,.14); box-shadow: none; }
.section--petrol .step p { color: var(--on-dark); }
.section--petrol .step .step-num { background: var(--accent-on-dark); color: var(--petrol); }
.section--petrol .step .step-partner { color: var(--on-dark-mute); }
.section--petrol .step .step-link { color: var(--accent-on-dark); }

/* ---------- Introducer band ---------- */
.introducer-band {
  background: linear-gradient(135deg, rgba(241,246,245,.98), rgba(255,255,255,.98));
  border-top: 1px solid var(--panel-line); border-bottom: 1px solid var(--panel-line);
  padding: clamp(26px, 4vw, 46px) 0;
}
.introducer-notice {
  display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 1.55fr);
  gap: clamp(22px, 4vw, 46px); align-items: start;
  background: var(--white); border: 1px solid var(--panel-line);
  border-left: 5px solid var(--accent); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-sm);
}
.notice-kicker {
  display: inline-block; margin-bottom: 10px; color: var(--accent-dark);
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.introducer-notice h2 { margin: 0; color: var(--ink); font-size: clamp(21px, 3vw, 29px); }
.notice-copy p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.65; }
.notice-copy p + p { margin-top: 12px; }

/* ---------- Figures ---------- */
.figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--panel); }
.figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.figure figcaption {
  padding: 12px 16px; font-size: 13px; color: var(--slate); background: var(--white);
  border-top: 1px solid var(--panel-line);
}
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.media-split--flip .media-split-copy { order: 2; }

/* ---------- Enquiry / forms ---------- */
.enquiry-card {
  background: #fff; border: 1px solid var(--panel-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px 32px 28px; max-width: 780px;
  margin: 38px auto 0; color: var(--ink); text-align: left;
}
.enquiry-card .card-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--panel-line); padding-bottom: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.enquiry-card h3 { font-size: 22px; margin: 0; }
.enquiry-card .intro-copy { color: var(--slate); font-size: 15.5px; }
.jf-embed { margin-top: 6px; }
.jf-embed iframe { width: 100%; border: 0; display: block; min-height: 780px; }

.cd-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 18px; }
.cd-form .fld { display: flex; flex-direction: column; gap: 6px; }
.cd-form .fld--full { grid-column: 1 / -1; }
.cd-form label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--slate);
}
.cd-form input, .cd-form select, .cd-form textarea {
  font-family: var(--font); font-size: 15.5px; color: var(--ink);
  border: 1px solid var(--panel-line); border-radius: var(--radius-sm);
  padding: 11px 13px; background: var(--white); width: 100%; min-height: 46px;
}
.cd-form textarea { min-height: 96px; resize: vertical; }
.cd-form input:focus, .cd-form select:focus, .cd-form textarea:focus {
  border-color: var(--accent-dark); outline: 2px solid rgba(15,155,108,.25); outline-offset: 0;
}
.cd-form .hp { position: absolute; left: -9999px; }
.cd-form .consent {
  grid-column: 1 / -1; display: flex; gap: 11px; align-items: flex-start;
  font-size: 13.5px; color: var(--slate); line-height: 1.55;
  /* the consent line is a sentence, not a field label — undo .cd-form label */
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.cd-form .consent input { width: 18px; min-height: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; }
.cd-form .form-actions {
  grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.form-disclaimer {
  margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--panel-line);
  border-left: 4px solid var(--accent-dark); border-radius: var(--radius-sm);
  background: var(--panel); color: var(--ink); font-size: 13.5px; line-height: 1.55;
}
.build-note {
  background: var(--amber-tint); border: 1px solid #F0DDB4; border-radius: var(--radius);
  padding: 16px 20px; margin-top: 20px; font-size: 13.5px; color: #5C4212;
}
.build-note strong { color: var(--amber-text); }
.build-note code {
  background: #F6E7C6; padding: 1px 6px; border-radius: 4px; font-size: 12.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.build-note p:last-child { margin-bottom: 0; }

/* ---------- Final CTA & compliance ---------- */
.final-cta { text-align: center; max-width: 740px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(27px, 4vw, 40px); }
.final-cta .sub { font-size: 18px; color: var(--on-dark); margin-bottom: 28px; }
.final-cta .micro { font-size: 13.5px; color: var(--on-dark-mute); margin-top: 22px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.compliance-note {
  max-width: 900px; margin: 28px auto 0; font-size: 13px; color: var(--on-dark-mute);
  text-align: center; line-height: 1.6;
}
.section:not(.section--petrol) .compliance-note { color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-mute); padding: 50px 0 34px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; line-height: 1.45; }
.site-footer a { color: #C3D6D5; }
.site-footer a:hover { color: #fff; }
.logo-plaque { display: inline-block; background: var(--white); border-radius: var(--radius); padding: 10px; line-height: 0; }
.logo-plaque img { display: block; height: 72px; width: auto; }
.footer-blurb { color: var(--on-dark-mute); max-width: 340px; margin-top: 16px; }
.footer-disclaimer {
  color: var(--on-dark-mute); font-size: 13px; line-height: 1.6; max-width: 1000px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 18px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--on-dark-mute); font-size: 13px;
}

/* ---------- Reveal on scroll ---------- */
/* only hide reveal content when JS is actually running, so a failed or blocked
   site.js can never leave a section invisible */
.cd-js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.cd-js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cd-js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .steps--stair .step { margin-top: 0 !important; }
  .steps--stair .step::after { display: none; }
}
@media (max-width: 940px) {
  .cards-3, .steps { grid-template-columns: 1fr 1fr; }
  .rationale, .cards-2, .introducer-notice, .media-split, .stat-row { grid-template-columns: 1fr; gap: 28px; }
  .media-split--flip .media-split-copy { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

/* Nav collapses early: seven items plus the lockup need the full 1140px. */
@media (max-width: 1080px) {
  .site-header .nav { position: relative; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 6px 24px 18px;
    border-bottom: 1px solid var(--panel-line); box-shadow: var(--shadow-md);
  }
  .nav-links.open li { width: 100%; padding: 11px 0; border-bottom: 1px solid var(--panel-line); }
  .nav-links.open li:last-child { border-bottom: 0; }
  .nav-links.open .nav-sep { border-left: 0; padding-left: 0; }
  .nav-links.open .btn { margin-top: 12px; width: 100%; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .cards-3, .steps, .cd-form, .stat-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .sub { font-size: 16.5px; }
  .section { padding: 52px 0; }
  .enquiry-card { padding: 24px 20px; }
  .brand img.lockup { height: 44px; }
  .stair-axis { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stair-axis span:last-child { text-align: left; }
  .bullet-panel { padding: 24px 22px; }
}

/* New logo (Oct 2026) */
.logo-plaque img { height: 96px; }
.footer-strap { margin: 12px 0 0; font-weight: 700; color: #fff; font-size: .95rem; }
@media (max-width: 1100px){ .brand img.lockup { height: 44px; } }
@media (max-width: 480px){ .brand img.lockup { height: 40px; } }
