/* ============================================================
   Envirocept design system — v3 rebuild
   Palette: deep forest green / warm gold / soft sage paper
   Type: Outfit (display) + Inter (text), self-hosted variable
   ============================================================ */

@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/outfit-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
/* Archivo — Omnibus-Type's revival of late-19th-century American grotesques.
   Gorillas Sans, which Hez asked for, is bespoke and not licensable; this is
   the closest obtainable face to the same brief (American Gothic robustness,
   European Grotesk clarity). Self-hosted like the others, so font-src 'self'
   in the CSP still covers it. */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-var.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --primary-hue: 145;
  --primary: hsl(145, 42%, 16%);
  --primary-light: hsl(145, 38%, 26%);
  --primary-soft: hsl(145, 32%, 94%);
  --accent: hsl(38, 85%, 44%);
  --accent-dark: hsl(38, 85%, 34%);
  --accent-soft: hsl(38, 85%, 94%);
  --accent-glow: hsla(38, 85%, 55%, 0.25);

  --bg: #f4f9f6;
  --paper: #fcfdfc;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-dark: hsl(150, 35%, 10%);
  --surface-dark-2: hsl(152, 30%, 16%);

  --text: #14231b;
  --text-muted: #47584f;
  --text-dim: #6b7a72;
  --text-on-dark: #eef5f0;
  --text-on-dark-muted: #b4c5ba;

  --border: hsla(150, 25%, 30%, 0.16);
  --border-strong: hsla(150, 25%, 30%, 0.3);

  /* The EPC scale as a gradient — red (G) through amber (D) to green (A).
     Every identity gradient on the site draws from these three. The -bright
     variant is for dark panels, the -bar variant for horizontal strips. */
  --grad-epc: linear-gradient(120deg, hsl(4, 70%, 46%), hsl(35, 88%, 44%) 50%, hsl(145, 50%, 30%));
  --grad-epc-bright: linear-gradient(120deg, hsl(4, 85%, 64%), hsl(35, 95%, 58%) 50%, hsl(145, 55%, 58%));
  --grad-epc-bar: linear-gradient(90deg, hsl(4, 70%, 50%), hsl(35, 88%, 48%) 50%, hsl(145, 50%, 34%));

  /* Space between the sticky header and a page's first line. One value so
     every hero starts at the same height; tightened 2026-08-25. */
  --hero-pad-top: 2.25rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-round: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 40, 27, 0.06), 0 2px 8px rgba(16, 40, 27, 0.05);
  --shadow-md: 0 2px 6px rgba(16, 40, 27, 0.07), 0 10px 28px rgba(16, 40, 27, 0.09);
  --shadow-lg: 0 4px 12px rgba(16, 40, 27, 0.08), 0 24px 56px rgba(16, 40, 27, 0.14);

  --font-display-alt: 'Archivo', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 0.9, 0.35, 1);
  --band-a: #008055; --band-b: #2eae4f; --band-c: #8eb23b; --band-d: #e5b712;
  --band-e: #e78c24; --band-f: #df5024; --band-g: #d71d24;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 85% -100px, hsla(145, 45%, 60%, 0.14), transparent 60%),
    radial-gradient(900px 420px at -10% 30%, hsla(38, 85%, 60%, 0.10), transparent 55%),
    var(--bg);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { display: inline-block; vertical-align: middle; max-width: 100%; }
a { color: var(--primary-light); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text); line-height: 1.15; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; }
::selection { background: hsla(145, 50%, 40%, 0.25); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--primary); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 2.5rem); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: 0.7rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-shield { width: 42px; height: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.18rem; letter-spacing: 0.02em; color: #3f6b4d; }
.brand-tag { font-size: 0.6rem; letter-spacing: 0.15em; font-weight: 700; color: #4f7a5f; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 0.4rem; list-style: none; padding: 0; }
.main-nav a {
  display: block; padding: 0.5rem 0.9rem; border-radius: var(--radius-round);
  text-decoration: none; color: var(--text-muted); font-weight: 550; font-size: 0.95rem;
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover { color: var(--text); background: hsla(145, 30%, 50%, 0.1); }
.main-nav a[aria-current='page'] { color: var(--primary); background: var(--primary-soft); font-weight: 650; }
.header-cta { display: flex; gap: 0.6rem; }
.nav-toggle { display: none; }

.mobile-nav { border-top: 1px solid var(--border); background: var(--paper); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0.75rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.15rem; }
.mobile-nav a { display: block; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-weight: 550; }
.mobile-nav a:hover { background: var(--primary-soft); }
.mobile-nav a.mobile-book { background: var(--accent); color: #fff; text-align: center; margin-top: 0.5rem; }

@media (max-width: 920px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 10px;
    background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-round);
  font-weight: 650; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.88rem; }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn-accent { background: linear-gradient(140deg, var(--accent) 0%, var(--accent-dark) 100%); color: #fff; box-shadow: 0 6px 18px var(--accent-glow); }
.btn-accent:hover { box-shadow: 0 10px 26px var(--accent-glow); }
/* Book & Pay Online — one class, one green, every surface. */
.btn-book { background: linear-gradient(140deg, hsl(145, 45%, 34%) 0%, hsl(145, 50%, 22%) 100%); color: #fff; box-shadow: 0 6px 18px hsla(145, 50%, 28%, 0.35); }
.btn-book:hover { box-shadow: 0 10px 26px hsla(145, 50%, 28%, 0.45); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary); }
.btn-outline-light { border-color: hsla(145, 40%, 85%, 0.5); color: var(--text-on-dark); background: transparent; }
.btn-outline-light:hover { background: hsla(145, 40%, 85%, 0.12); }
.btn-ghost { color: var(--text); background: hsla(150, 25%, 45%, 0.09); }
.btn-ghost:hover { background: hsla(150, 25%, 45%, 0.16); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.85rem; border-radius: var(--radius-round);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge-primary { background: var(--primary-soft); color: var(--primary); border: 1px solid hsla(145, 40%, 40%, 0.25); }
.badge-accent { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid hsla(38, 80%, 50%, 0.3); }
.badge-dark { background: hsla(150, 30%, 20%, 0.85); color: var(--text-on-dark); }

/* ---------- cards & sections ---------- */
.section { padding: 4.5rem 0; }
.section.tight { padding: 3rem 0; }
.section-eyebrow { margin-bottom: 0.9rem; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 0.9rem; }
.section-sub { color: var(--text-muted); max-width: 720px; font-size: 1.05rem; }
.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }

.card {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.card.pad { padding: 1.75rem; }
.card-hover { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.story-callout {
  border-left: 4px solid var(--accent); background: var(--accent-soft);
  border-radius: var(--radius-sm); padding: 1.4rem 1.6rem;
}
.story-callout.green { border-left-color: var(--primary-light); background: var(--primary-soft); }
.story-callout h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.story-callout p { font-size: 0.95rem; color: var(--text-muted); }
.story-callout strong { color: var(--text); }

/* ---------- hero ---------- */
.hero { padding: var(--hero-pad-top) 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: stretch; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  margin: 0;
}
.hero h1 .grad {
  background: var(--grad-epc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 1.13rem; color: var(--text-muted); max-width: 620px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.trust-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; max-width: 640px; }
@media (max-width: 640px) {
  :root { --hero-pad-top: 1.5rem; } .trust-chips { grid-template-columns: 1fr; } }
.trust-chip { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.85rem 1rem; }
.trust-chip .icon { color: var(--primary-light); flex-shrink: 0; margin-top: 2px; }
.trust-chip b { display: block; font-size: 0.92rem; line-height: 1.3; }
.trust-chip span { font-size: 0.8rem; color: var(--text-dim); line-height: 1.35; }

/* ---------- interactive house map ---------- */
.house-widget { padding: 1.6rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.house-widget h2 { font-size: 1.12rem; text-align: center; margin-bottom: 0.2rem; }
.house-widget .hint { text-align: center; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 1.1rem; }
.house-scene {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: linear-gradient(160deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  border: 1px solid hsla(150, 30%, 60%, 0.18);
}
.house-scene svg.house-art { display: block; width: 100%; height: auto; }
.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: hsla(38, 90%, 55%, 0.16);
  border: 1.5px solid hsla(38, 90%, 60%, 0.8);
  color: #ffd98a; font-weight: 700; font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease), background 0.2s;
  animation: pulse 2.6s infinite;
}
.hotspot:hover { transform: translate(-50%, -50%) scale(1.15); background: hsla(38, 90%, 55%, 0.3); }
.hotspot[aria-pressed='true'] { background: var(--accent); color: #fff; animation: none; box-shadow: 0 0 0 6px var(--accent-glow); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 hsla(38, 90%, 60%, 0.45); }
  55% { box-shadow: 0 0 0 12px hsla(38, 90%, 60%, 0); }
}
.hotspot-detail { margin-top: 1.2rem; background: var(--accent-soft); border: 1px solid hsla(38, 80%, 55%, 0.35); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; }
.hotspot-detail .hd-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.hotspot-detail h3 { font-size: 1rem; }
.hotspot-detail .impact { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; color: var(--accent-dark); background: #fff; border-radius: var(--radius-round); padding: 0.25rem 0.7rem; border: 1px solid hsla(38, 80%, 55%, 0.4); }
.hotspot-detail p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.hotspot-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.85rem; }
.hotspot-stats span { color: var(--text-dim); display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hotspot-stats b { color: var(--text); }

/* ---------- EPC band explorer ---------- */
.band-picker { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.band-btn {
  width: 52px; height: 52px; border-radius: 14px; border: 2px solid transparent;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0.55; transition: opacity 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.band-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.band-btn[aria-pressed='true'] { opacity: 1; transform: translateY(-3px) scale(1.06); box-shadow: var(--shadow-md); border-color: #fff; }
.band-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
@media (max-width: 720px) { .band-panel { grid-template-columns: 1fr; } }
.band-stat { padding: 1.1rem 1.25rem; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); }
.band-stat span { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.25rem; }
.band-stat b { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 800; }
.band-features { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1rem; }
.band-upgrades { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.band-upgrades li { list-style: none; font-size: 0.8rem; font-weight: 600; background: var(--primary-soft); color: var(--primary); border: 1px solid hsla(145, 40%, 40%, 0.2); padding: 0.35rem 0.8rem; border-radius: var(--radius-round); }

/* ---------- ROI calculator ---------- */
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-controls label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); margin: 1.1rem 0 0.5rem; }
.roi-band-row { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.roi-result { text-align: center; padding: 2rem 1.5rem; }
.roi-result .headline { font-family: var(--font-heading); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; color: var(--primary); line-height: 1; }
.roi-result .headline small { font-size: 1.1rem; color: var(--text-dim); font-weight: 600; }
.roi-substats { display: flex; justify-content: center; gap: 2.5rem; margin-top: 1.4rem; flex-wrap: wrap; }
.roi-substats div { text-align: center; }
.roi-substats span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); }
.roi-substats b { font-size: 1.25rem; font-family: var(--font-heading); }
.roi-actions { display: flex; justify-content: center; gap: 0.8rem; margin-top: 1.6rem; flex-wrap: wrap; }

/* ---------- distribution chart ---------- */
.dist-chart { display: flex; flex-direction: column; gap: 0.65rem; }
.dist-row { display: grid; grid-template-columns: 34px 1fr 64px; align-items: center; gap: 0.9rem; }
.dist-row .band-tag { width: 34px; height: 34px; border-radius: 10px; color: #fff; font-weight: 800; font-family: var(--font-heading); display: inline-flex; align-items: center; justify-content: center; }
.dist-track { height: 14px; border-radius: var(--radius-round); background: hsla(150, 25%, 45%, 0.12); overflow: hidden; }
.dist-fill { height: 100%; border-radius: inherit; width: 0; transition: width 1.1s var(--ease); }
.dist-pct { font-size: 0.88rem; font-weight: 650; color: var(--text-muted); text-align: right; }

/* ---------- steps / journey ---------- */
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 860px) { .journey-grid { grid-template-columns: 1fr; } }
.journey-step { position: relative; padding: 2rem 1.6rem 1.6rem; }
.journey-step .step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), var(--primary-light));
  color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  box-shadow: 0 6px 14px hsla(145, 40%, 25%, 0.25);
}
.journey-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.journey-step p { font-size: 0.93rem; color: var(--text-muted); }

/* ---------- segments ---------- */
.segment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; }
.segment-card { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; text-decoration: none; }
.segment-card .icon-tile {
  width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft);
  color: var(--primary-light); display: inline-flex; align-items: center; justify-content: center;
}
.segment-card h3 { font-size: 1.08rem; }
.segment-card p { font-size: 0.92rem; color: var(--text-muted); flex-grow: 1; }
.segment-card .learn { font-size: 0.9rem; font-weight: 650; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 0.35rem; }

/* ---------- accreditation strip ---------- */
.accreditation-strip { background: var(--surface); border-block: 1px solid var(--border); padding: 2.2rem 0; }
.accreditation-inner { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; text-align: center; }
.accreditation-inner .acc-item { display: flex; align-items: center; gap: 1rem; }
.accreditation-inner img { height: 44px; width: auto; }
.accreditation-inner .acc-meta { text-align: left; }
.accreditation-inner .acc-meta b { display: block; font-size: 0.92rem; }
.accreditation-inner .acc-meta span { font-size: 0.8rem; color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 650; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { transform: rotate(90deg); transition: transform 0.25s var(--ease); color: var(--text-dim); flex-shrink: 0; }
.faq-item[open] .faq-chevron { transform: rotate(-90deg); color: var(--accent-dark); }
.faq-answer { padding: 0 1.4rem 1.2rem; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  margin-top: 2rem;
  background:
    radial-gradient(700px 300px at 90% 0%, hsla(38, 80%, 50%, 0.18), transparent 60%),
    linear-gradient(150deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  color: var(--text-on-dark); padding: 4rem 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--text-on-dark); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.cta-band p { color: var(--text-on-dark-muted); max-width: 560px; }
.cta-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 650; color: var(--text-muted); }
.form-control {
  width: 100%; padding: 0.8rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--border-strong); background: var(--surface);
  font: inherit; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-section-title {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim);
  border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; margin: 2rem 0 1.2rem; font-weight: 750;
}
.form-note { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.82rem; color: var(--text-dim); margin: 1.2rem 0; }
.form-note .icon { flex-shrink: 0; margin-top: 1px; }
.form-error {
  display: flex; gap: 0.7rem; align-items: flex-start; margin: 1.2rem 0;
  border: 1px solid #e5484d; background: rgba(229, 72, 77, 0.07);
  padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: 0.92rem;
}
.form-error .icon { color: #e5484d; flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.success-panel { text-align: center; padding: 3rem 1.5rem; }
.success-panel .success-ring {
  width: 74px; height: 74px; margin: 0 auto 1.4rem; border-radius: 50%;
  background: var(--primary-soft); border: 2px solid hsla(145, 40%, 45%, 0.4);
  color: var(--primary-light); display: flex; align-items: center; justify-content: center;
  animation: pop 0.5s var(--ease);
}
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ---------- estimator ---------- */
.est-progress { height: 6px; background: hsla(150, 25%, 45%, 0.14); border-radius: var(--radius-round); overflow: hidden; margin-bottom: 1.6rem; }
.est-progress-fill { height: 100%; background: var(--grad-epc-bar); width: 20%; transition: width 0.4s var(--ease); border-radius: inherit; }
.est-step-label { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.est-dots { display: flex; gap: 0.35rem; }
.est-dots i { width: 22px; height: 6px; border-radius: var(--radius-round); background: hsla(150, 25%, 45%, 0.18); transition: background 0.2s; }
.est-dots i.on { background: var(--accent); }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 640px) { .option-grid { grid-template-columns: 1fr; } }
.option-list { display: flex; flex-direction: column; gap: 0.7rem; }
.option-btn {
  display: flex; justify-content: space-between; align-items: center; gap: 0.9rem; text-align: left;
  padding: 1rem 1.2rem; border-radius: var(--radius-md); cursor: pointer;
  border: 1.5px solid var(--border); background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.option-btn:hover { transform: translateY(-1px); border-color: var(--border-strong); }
.option-btn b { display: block; font-size: 0.98rem; }
.option-btn span { display: block; font-size: 0.82rem; color: var(--text-dim); }
.option-btn .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-strong); flex-shrink: 0; transition: all 0.15s; }
.option-btn[aria-pressed='true'] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.option-btn[aria-pressed='true'] .radio { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }
.est-nav { display: flex; justify-content: space-between; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }

/* EPC scale: potential marker rides above the bar, current below */
.epc-scale-wrap { position: relative; padding: 2.35rem 0; margin: 0.4rem 0 1.2rem; }
.epc-scale { display: flex; height: 44px; border-radius: 12px; overflow: hidden; }
.epc-scale i { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-family: var(--font-heading); font-style: normal; }
.epc-marker {
  position: absolute; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; font-size: 0.72rem; font-weight: 700;
  transition: left 0.7s var(--ease); white-space: nowrap;
}
.epc-marker span { background: currentColor; border-radius: 6px; padding: 0.1rem 0.45rem; }
.epc-marker span b { color: #fff; font-weight: 800; }
.epc-marker.below { top: calc(2.35rem + 44px + 5px); }
.epc-marker.below::before { content: ''; border: 6px solid transparent; border-bottom-color: currentColor; margin-bottom: -1px; }
.epc-marker.above { top: 0; }
.epc-marker.above::after { content: ''; border: 6px solid transparent; border-top-color: currentColor; margin-top: -1px; }
.result-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.4rem 0; }
@media (max-width: 640px) { .result-stat-grid { grid-template-columns: 1fr; } }
.rec-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.9rem; }
.rec-item { display: flex; gap: 0.8rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.93rem; }
.rec-item .rec-num { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 0.8rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid hsla(145, 40%, 40%, 0.25); }

/* ---------- service pages ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.service-card { display: flex; flex-direction: column; padding: 1.7rem; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-epc-bar); }
.service-card .sc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.8rem; margin-bottom: 1rem; }
.service-card .icon-tile { width: 48px; height: 48px; border-radius: 13px; background: var(--primary-soft); color: var(--primary-light); display: inline-flex; align-items: center; justify-content: center; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.service-card > p { font-size: 0.93rem; color: var(--text-muted); flex-grow: 1; }
.sc-meta { display: flex; justify-content: space-between; background: var(--primary-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.7rem 1rem; margin: 1.1rem 0; }
.sc-meta div span { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); }
.sc-meta div b { font-size: 1rem; }
.sc-meta div:last-child { text-align: right; }
.includes-title { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.6rem; }
.includes-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; }
.includes-list li { display: flex; gap: 0.55rem; font-size: 0.88rem; color: var(--text-muted); }
.includes-list .icon { color: var(--primary-light); flex-shrink: 0; margin-top: 3px; }
.stat-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.2rem; }
.stat-duo > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; }
.stat-duo span { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); }
.stat-duo b { font-family: var(--font-heading); font-size: 1.3rem; }

/* page hero (inner pages) */
.page-hero { padding: var(--hero-pad-top) 0 2.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 1rem auto 1rem; max-width: 800px; }
.page-hero .section-sub { margin-inline: auto; }
.breadcrumb { display: flex; justify-content: center; gap: 0.5rem; list-style: none; padding: 0; font-size: 0.82rem; color: var(--text-dim); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.5; }

/* ---------- blog ---------- */
.blog-tools { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-muted);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: var(--radius-round); padding: 0.45rem 1rem; cursor: pointer; transition: all 0.15s;
}
.chip:hover { border-color: var(--primary-light); color: var(--primary); }
.chip[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: #fff; }
.blog-search { position: relative; min-width: 240px; }
.blog-search .icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--text-dim); }
.blog-search input { padding-left: 2.6rem; }
.featured-card { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 0; overflow: hidden; margin-bottom: 2rem; text-decoration: none; }
@media (max-width: 780px) { .featured-card { grid-template-columns: 1fr; } }
.featured-card .fc-body { padding: 2rem; }
.featured-card .fc-visual { background: linear-gradient(150deg, var(--surface-dark), var(--surface-dark-2)); display: flex; align-items: center; justify-content: center; color: hsla(145, 45%, 65%, 0.8); min-height: 220px; }
.featured-card h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin: 0.6rem 0; }
.featured-card p { color: var(--text-muted); }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.article-card { display: flex; flex-direction: column; padding: 1.5rem; text-decoration: none; }
.article-card .ac-meta { display: flex; gap: 0.7rem; align-items: center; font-size: 0.75rem; color: var(--text-dim); margin-bottom: 0.7rem; flex-wrap: wrap; }
.article-card .cat-tag { font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); }
.article-card h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 0.5rem; }
.article-card p { font-size: 0.9rem; color: var(--text-muted); flex-grow: 1; }
.article-card .read-more { margin-top: 0.9rem; font-size: 0.88rem; font-weight: 650; color: var(--primary-light); display: inline-flex; gap: 0.35rem; align-items: center; }

/* article page */
.article-head { padding: 3.5rem 0 2rem; text-align: center; }
.article-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 840px; margin: 1rem auto; }
.article-head .standfirst { font-size: 1.12rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }
.article-meta { display: flex; justify-content: center; gap: 1.2rem; font-size: 0.85rem; color: var(--text-dim); margin-top: 1.2rem; flex-wrap: wrap; }
.article-body { max-width: 740px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.article-body p { margin-bottom: 1.3rem; }
.article-body h2, .article-body h3 { margin: 2.2rem 0 0.9rem; }
.article-body ul, .article-body ol { margin: 0 0 1.3rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote { border-left: 4px solid var(--accent); background: var(--accent-soft); margin: 1.6rem 0; padding: 1rem 1.4rem; border-radius: var(--radius-sm); font-style: italic; }
.article-source { max-width: 740px; margin: 2.5rem auto 0; font-size: 0.88rem; color: var(--text-dim); border-top: 1px solid var(--border); padding-top: 1.2rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }

/* ---------- recruitment ---------- */
.jobs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1.6rem 0; }
.jobs-stats > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.1rem 1.3rem; text-align: center; }
.jobs-stats b { display: block; font-family: var(--font-heading); font-size: 1.7rem; color: var(--primary); }
.jobs-stats span { font-size: 0.8rem; color: var(--text-dim); }
.city-picker { position: relative; max-width: 460px; margin: 0 auto 2rem; }
.city-picker .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-dim); }
.city-picker input { padding-left: 2.8rem; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; }
.city-card { display: flex; justify-content: space-between; align-items: center; padding: 0.95rem 1.15rem; text-decoration: none; }
.city-card b { font-size: 0.98rem; color: var(--text); }
.city-card span { display: block; font-size: 0.76rem; color: var(--text-dim); }
.city-card .icon { color: var(--accent-dark); }
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.role-card { padding: 1.7rem; display: flex; flex-direction: column; gap: 0.9rem; }
.role-card h3 { font-size: 1.15rem; }
.role-tags { display: flex; gap: 0.6rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-muted); }
.role-tags span { display: inline-flex; align-items: center; gap: 0.35rem; background: var(--primary-soft); border-radius: var(--radius-round); padding: 0.3rem 0.75rem; font-weight: 600; }
.job-detail-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: start; }
@media (max-width: 920px) { .job-detail-grid { grid-template-columns: 1fr; } }
.job-list h3 { font-size: 1rem; margin: 1.6rem 0 0.7rem; display: flex; align-items: center; gap: 0.5rem; }
.job-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.job-list li { display: flex; gap: 0.55rem; font-size: 0.92rem; color: var(--text-muted); }
.job-list .icon { color: var(--primary-light); flex-shrink: 0; margin-top: 3px; }

/* ---------- legal ---------- */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 1.25rem; margin: 2.2rem 0 0.7rem; }
.legal-body p, .legal-body li { color: var(--text-muted); font-size: 0.97rem; }
.legal-body ul { padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; }
.legal-updated { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 2rem; }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.divider-label { display: flex; align-items: center; gap: 1rem; color: var(--text-dim); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 2rem 0; }
.divider-label::before, .divider-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Reveal animations only apply once JS tags <html class="js"> — content is never hidden without JS. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; } .reveal-d4 { transition-delay: 0.32s; }

@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; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: 4rem;
  background: linear-gradient(to top, hsla(145, 40%, 12%, 0.06), transparent 40%), var(--paper);
  border-top: 1px solid var(--border); padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.8fr 0.8fr 1fr 1fr; gap: 2.2rem; margin-bottom: 3rem; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h3 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.footer-col h3:not(:first-child) { margin-top: 1.6rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.93rem; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-about p { font-size: 0.9rem; color: var(--text-muted); margin: 1rem 0; }
.footer-badges { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; margin: 0.6rem 0; }
.footer-badges img { height: 36px; width: auto; }
.footer-creds { font-size: 0.8rem; color: var(--text-dim); }
.footer-contact li, .footer-hours li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.93rem; color: var(--text-muted); }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer-contact .icon, .footer-hours .icon { color: var(--primary-light); }
.footer-hours li span { font-weight: 650; color: var(--text); }
.footer-accreditation-line { font-size: 0.92rem; font-weight: 650; color: var(--primary); margin-bottom: 0.8rem; }
.footer-accreditation-list li { font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 1.6rem; font-size: 0.85rem; color: var(--text-dim);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-dim); text-decoration: none; }
.footer-legal a:hover { color: var(--accent-dark); }

/* ---------- registration gate (suggestions) ---------- */
.locked-box {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-md);
  background: hsla(150, 25%, 55%, 0.06); padding: 1.1rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.locked-box p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }
.locked-box p b { color: var(--text); }

.reg-overlay {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 25, 16, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 1.25rem;
}
.reg-modal {
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: min(480px, 100%); padding: 2rem; position: relative;
  animation: pop 0.35s var(--ease);
}
.reg-modal h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.reg-modal > p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 1.4rem; }
.reg-close {
  position: absolute; top: 0.9rem; right: 0.9rem; width: 36px; height: 36px;
  border: 1px solid var(--border); background: var(--surface); border-radius: 50%;
  cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--text-muted);
}
.reg-close:hover { color: var(--text); border-color: var(--border-strong); }

/* ---------- Credit price table (software pricing page) ----------
   The only tabular data on the site, so it gets one small component rather
   than a general table reset that would ripple through the blog. */
.credit-table { width: 100%; border-collapse: collapse; margin-top: 0.4rem; }
.credit-table th {
  text-align: left; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600; padding: 0.6rem 0.2rem;
  border-bottom: 2px solid var(--border-strong);
}
.credit-table td {
  padding: 0.65rem 0.2rem; border-bottom: 1px solid var(--border); color: var(--text);
  font-variant-numeric: tabular-nums;
}
.credit-table tr:last-child td { border-bottom: none; }

/* ============================================================
   Paid-search landing page (/book-epc/)
   Denser and more commercial than the marketing site: the form is
   the hero, and everything else answers an objection.
   ============================================================ */
.lp-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.lp-header-contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.lp-header-hint { font-size: 0.72rem; color: var(--text-dim); }
.lp-phone { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 750; font-size: 1.05rem; color: var(--primary); text-decoration: none; }
.lp-phone:hover { color: var(--accent-dark); }
@media (max-width: 560px) { .lp-header-hint { display: none; } .lp-phone { font-size: 0.95rem; } }

.lp-hero { padding: var(--hero-pad-top) 0 3rem; }
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 468px;
  grid-template-areas: "copy form" "explain form";
  /* Row 1 hugs the copy; row 2 absorbs the slack. Without this the form —
     which spans both rows — stretches row 1 whenever it is taller than the
     explainer, leaving a gap under the headline that grew with how short
     the explainer was. */
  grid-template-rows: min-content 1fr;
  gap: 0 3rem;
  align-items: start;
}
.lp-hero-copy { grid-area: copy; }
.lp-hero-grid > .lp-form-card { grid-area: form; }
.lp-hero-explainer { grid-area: explain; }
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "form" "explain"; gap: 2rem 0; }
}
.lp-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.015em; margin: 1rem 0 1rem; }
.lp-hero h1 .grad {
  background: var(--grad-epc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.4rem; max-width: 56ch; }
.lp-ticks { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; }
.lp-ticks li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.97rem; color: var(--text); }
.lp-ticks .icon { color: var(--primary-light); flex-shrink: 0; margin-top: 3px; }
.lp-hero-cta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.lp-call { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 650; color: var(--text-muted); text-decoration: none; }
.lp-call:hover { color: var(--primary); }

.lp-trust { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.lp-trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; color: var(--text-dim); line-height: 1.3; }
.lp-trust-item strong { color: var(--text); font-size: 0.85rem; }
.lp-trust-item .icon { color: var(--primary-light); flex-shrink: 0; }
.lp-trust-item img { flex-shrink: 0; }

.lp-form-card { padding: 1.7rem; box-shadow: var(--shadow-lg); position: sticky; top: 84px; }
@media (max-width: 980px) { .lp-form-card { position: static; } }
.lp-form-head { padding-bottom: 1.1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.lp-form-head h2 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.lp-form-head p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.lp-fieldset { border: none; padding: 0; margin: 0 0 1.3rem; }
.lp-fieldset legend {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); padding: 0; margin-bottom: 0.7rem;
}
.lp-price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--primary-soft); border: 1px solid hsla(145, 40%, 40%, 0.22);
  border-radius: var(--radius-md); padding: 0.9rem 1.2rem; margin-bottom: 1rem;
}
.lp-price-label { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.lp-price { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.lp-price-note { font-size: 0.8rem; color: var(--text-muted); }
.lp-consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; margin-bottom: 1.1rem; }
.lp-consent input { margin-top: 3px; flex-shrink: 0; width: 17px; height: 17px; accent-color: var(--accent); }
.lp-submit { width: 100%; }
.lp-secure { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-dim); margin: 0.8rem 0 0; }
.lp-secure .icon { color: var(--primary-light); }

/* ---------- area pages: regulation list + area cross-links ---------- */
.rule-list { display: flex; flex-direction: column; gap: 0.9rem; }
.rule-item {
  display: grid; grid-template-columns: 92px 1fr; gap: 0 1.1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.1rem 1.2rem;
}
@media (max-width: 600px) { .rule-item { grid-template-columns: 1fr; gap: 0.6rem; } }
.rule-tag {
  display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary); background: var(--primary-soft);
  border-radius: var(--radius-round); padding: 0.24rem 0.6rem; text-align: center;
  justify-self: start; margin-top: 2px;
}
.rule-item h3 { font-size: 1rem; margin: 0 0 0.35rem; }
.rule-item p { font-size: 0.92rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

.area-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.8rem; }
.area-link {
  display: flex; flex-direction: column; gap: 0.15rem; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.8rem 1rem;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.area-link:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.area-link strong { color: var(--text); font-size: 0.95rem; }
.area-link span { color: var(--text-dim); font-size: 0.8rem; }
@media (prefers-reduced-motion: reduce) { .area-link:hover { transform: none; } }

/* ---------- booking form: what-to-include ladder ---------- */
.lp-packs { display: flex; flex-direction: column; gap: 0.55rem; }
.lp-pack { display: block; cursor: pointer; }
.lp-pack input { position: absolute; opacity: 0; width: 0; height: 0; }
.lp-pack-body {
  display: flex; flex-direction: column; gap: 0.28rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem; transition: border-color 0.15s, background 0.15s;
}
.lp-pack:hover .lp-pack-body { border-color: var(--border-strong); }
.lp-pack input:checked + .lp-pack-body {
  border-color: var(--primary-light); background: var(--primary-soft);
}
.lp-pack input:focus-visible + .lp-pack-body {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.lp-pack-head { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.lp-pack-head strong { font-size: 0.94rem; color: var(--text); }
.lp-pack-price {
  margin-left: auto; font-family: var(--font-heading); font-weight: 800;
  font-size: 1.08rem; color: var(--primary); font-variant-numeric: tabular-nums;
}
.lp-pack-badge {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: var(--accent); border-radius: var(--radius-round);
  padding: 0.14rem 0.45rem;
}
.lp-pack-blurb { font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }
.lp-pack-saving { font-size: 0.78rem; font-weight: 650; color: var(--primary-light); }
@media (prefers-reduced-motion: reduce) { .lp-pack-body { transition: none; } }

/* Visible to screen readers only — for labels whose text is already carried
   visually by a nearby control. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- landing page: conversion details ---------- */
.lp-optional {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); background: var(--primary-soft); border-radius: var(--radius-round);
  padding: 0.12rem 0.5rem; margin-left: 0.45rem; vertical-align: 1px;
}
.lp-fieldset-note { font-size: 0.82rem; color: var(--text-dim); margin: -0.35rem 0 0.75rem; line-height: 1.45; }
.lp-field-note { font-size: 0.8rem; color: var(--primary-light); font-weight: 600; margin: 0.4rem 0 0; }

.lp-details > summary {
  cursor: pointer; font-size: 0.85rem; font-weight: 650; color: var(--primary-light);
  list-style: none; padding: 0.2rem 0; display: inline-flex; align-items: center; gap: 0.4rem;
}
.lp-details > summary::-webkit-details-marker { display: none; }
.lp-details > summary::before { content: "+"; font-weight: 800; font-size: 1rem; line-height: 1; }
.lp-details[open] > summary::before { content: "\2212"; }
.lp-details > summary:hover { color: var(--primary); }
.lp-details > *:not(summary) { margin-top: 0.55rem; }

.lp-consent-lead { display: block; color: var(--text); font-weight: 650; margin-bottom: 0.25rem; }

.lp-assure {
  list-style: none; margin: 0.85rem 0 0; padding: 0.85rem 0 0; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.1rem;
}
.lp-assure li {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.3;
}
.lp-assure .icon { color: var(--primary-light); flex-shrink: 0; }

/* Sticky mobile action bar. Desktop keeps the form pinned beside the copy, so
   it is only needed on the narrow layout where the form scrolls away. */
.lp-stickybar { display: none; }
@media (max-width: 980px) {
  .lp-stickybar {
    display: flex; gap: 0.6rem; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom));
    background: var(--surface-glass); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-strong);
  }
  .lp-stickybar[hidden] { display: none; }
  .lp-stickybar-call {
    display: inline-flex; flex-direction: column; align-items: center; gap: 0.1rem;
    text-decoration: none; color: var(--primary); font-weight: 700; font-size: 0.68rem;
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    padding: 0.45rem 0.75rem; flex-shrink: 0; background: var(--surface);
  }
  .lp-stickybar-book { flex: 1; justify-content: center; }
  /* Keep the footer clear of the bar. */
  body:has(.lp-stickybar:not([hidden])) { padding-bottom: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-stickybar { transition: none; }
}

.lp-band { background: var(--surface); border-block: 1px solid var(--border); }
.section-title.center { text-align: center; }

.lp-pricing { text-align: center; }
.lp-pricing .section-sub { margin: 0 auto 2rem; }
.lp-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; text-align: left; }
@media (max-width: 720px) { .lp-price-grid { grid-template-columns: 1fr; } }
.lp-price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.lp-price-card.featured { border-color: var(--accent); box-shadow: 0 8px 26px var(--accent-glow); }
.lp-price-card h3 { font-size: 1rem; }
.lp-price-big { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.lp-price-card > p { font-size: 0.85rem; color: var(--text-dim); margin: 0; }
.lp-price-card .includes-list { margin: 0.7rem 0 1.1rem; }
.lp-price-card .btn { margin-top: auto; }
.lp-fineprint { font-size: 0.87rem; color: var(--text-dim); margin-top: 1.4rem; }

.lp-final { text-align: center; margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid var(--border); }
.lp-final h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.lp-final p { color: var(--text-muted); margin-bottom: 1.4rem; }

.lp-footer { border-top: 1px solid var(--border); background: var(--paper); padding: 2rem 0; margin-top: 2rem; }
.lp-footer-badges { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.lp-footer-badges span { font-size: 0.8rem; color: var(--text-dim); }
.lp-footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.83rem; color: var(--text-dim); }
.lp-footer-legal a { color: var(--text-dim); text-decoration: none; }
.lp-footer-legal a:hover { color: var(--accent-dark); }

/* ---------- consent bar ---------- */
.consent-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  background: var(--surface); border-top: 1px solid var(--border-strong);
  box-shadow: 0 -6px 24px rgba(16, 40, 27, 0.12); padding: 1rem 0;
}
.consent-inner {
  width: min(1180px, 100% - 2.5rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap;
}
.consent-inner p { font-size: 0.87rem; color: var(--text-muted); margin: 0; max-width: 68ch; }
.consent-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }

/* Ad traffic is mostly mobile, and the header is not the product — keep it to
   one compact line so the offer and the form start above the fold. */
@media (max-width: 560px) {
  .lp-header-inner { padding: 0.5rem 0; gap: 0.6rem; }
  .lp-header .brand-shield { width: 30px; }
  .lp-header .brand-name { font-size: 0.95rem; }
  .lp-header .brand-tag { display: none; }
  .lp-phone { white-space: nowrap; font-size: 0.98rem; }
  .lp-hero { padding-bottom: 2rem; }
  .lp-hero .badge { font-size: 0.62rem; }
}

/* ---- /pay/ : PayPal-hosted payment links ------------------------------ */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; margin: 2rem 0 0; }
.pay-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pay-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-epc-bar); }
.pay-card h3 { margin: 0 0 0.35rem; font-size: 1.0625rem; }
.pay-price { margin: 0; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.pay-blurb { margin: 0.25rem 0 1.25rem; font-size: 0.875rem; color: var(--text-muted); }
.pay-callus { margin: 0; font-size: 0.875rem; color: var(--text-muted); }
.pp-form { display: inline-grid; justify-items: center; align-content: start; gap: 0.5rem; }
.pp-form img { max-width: 100%; height: auto; }
.pp-powered { font-size: 0.75rem; color: var(--text-dim); }
.pp-powered img { height: 0.875rem; vertical-align: middle; }
.pay-note { display: flex; align-items: flex-start; gap: 0.5rem; justify-content: center; margin: 1.25rem auto 0; max-width: 46ch; font-size: 0.875rem; color: var(--text-muted); text-align: left; }
.pay-note svg { flex: none; width: 1.125rem; height: 1.125rem; margin-top: 0.1rem; color: var(--primary-light); }
.pay-help { margin-top: 2rem; font-weight: 600; }

/* ---- /partners/ : Join Us ---------------------------------------------- */
/* Same visual language as the homepage: gradient card top-bars, soft-tinted
   icon rings, badge eyebrows, one dark gradient panel per page. */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.25rem; }
.partner-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 22.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(158deg, hsl(var(--tile-h, 145) 55% 97%), hsl(var(--tile-h, 145) 45% 92%));
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pc-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.55rem; }
@media (max-width: 680px) { .partner-card { min-height: 16rem; } }
.partner-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-epc-bar); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px hsl(var(--tile-h, 145) 40% 25% / 0.18); border-color: hsl(var(--tile-h, 145) 42% 70%); }
.partner-card:hover::before { transform: scaleX(1); }
.partner-card h2 { margin: 0; font-size: 1.2rem; }
.partner-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.partner-card-go { color: hsl(var(--tile-h, 145) 60% 28%); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.partner-assessor { margin-top: 2.5rem; }

.partner-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.partner-cta-hero { margin-top: 1.6rem; justify-content: center; }
.partner-cta-mid { margin-top: 2rem; justify-content: center; }

/* Stats: the page's dark gradient moment, numbers in gradient ink. */
.partner-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  background: linear-gradient(150deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 14px 40px hsla(150, 35%, 10%, 0.25);
}
.partner-stat { padding: 1.6rem 1.5rem; background: hsla(0, 0%, 100%, 0.03); }
.partner-stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.3rem;
  line-height: 1.1;
  background: var(--grad-epc-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.partner-stat > span:last-child { font-size: 0.85rem; color: hsla(150, 20%, 85%, 0.75); }

/* The compliance clock. Bigger than a widget deserves, because it is the
   page's argument. The track carries top padding so the active halo never
   clips against the scroll container, and each node wears its own stop on
   the EPC scale — red at today's floor, green at 2030. */
.ptl { margin-top: 2rem; }
.ptl-track { display: flex; align-items: flex-start; overflow-x: auto; padding: 1rem 0 0.75rem; position: relative; }
.ptl-node { flex: 1 0 9rem; background: none; border: none; cursor: pointer; padding: 0; text-align: center; position: relative; font: inherit; color: inherit; }
.ptl-node::before, .ptl-node::after { content: ''; position: absolute; top: calc(0.85rem - 2px); height: 4px; width: 50%; background: linear-gradient(90deg, hsla(4, 70%, 50%, 0.35), hsla(35, 88%, 48%, 0.35) 50%, hsla(145, 50%, 34%, 0.35)); }
.ptl-node::before { left: 0; }
.ptl-node::after { right: 0; }
.ptl-node:first-child::before, .ptl-node:last-child::after { content: none; }
.ptl-dot {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 4px solid var(--ptl-c, hsl(145, 35%, 55%));
  background: var(--surface);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
/* one stop of the EPC scale per node */
.ptl-node:nth-child(1) { --ptl-c: hsl(4, 70%, 48%); }
.ptl-node:nth-child(2) { --ptl-c: hsl(20, 80%, 46%); }
.ptl-node:nth-child(3) { --ptl-c: hsl(35, 88%, 44%); }
.ptl-node:nth-child(4) { --ptl-c: hsl(62, 55%, 38%); }
.ptl-node:nth-child(5) { --ptl-c: hsl(105, 45%, 36%); }
.ptl-node:nth-child(6) { --ptl-c: hsl(145, 50%, 32%); }
.ptl-node:hover .ptl-dot, .ptl-node:focus-visible .ptl-dot { transform: scale(1.2); }
.ptl-node.is-past .ptl-dot { background: var(--ptl-c); opacity: 0.55; }
.ptl-node.is-active .ptl-dot {
  background: var(--ptl-c);
  transform: scale(1.3);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--ptl-c) 22%, transparent);
}
.ptl-label { display: block; margin-top: 0.7rem; font-size: 0.95rem; font-weight: 650; color: var(--text-dim); white-space: nowrap; transition: color 0.2s var(--ease); }
.ptl-node.is-active .ptl-label { color: var(--ptl-c); }
.ptl-panel {
  margin-top: 1.5rem;
  padding: 1.9rem 2.1rem;
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, var(--accent-soft), var(--surface) 45%);
  min-height: 10rem;
}
.ptl-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.ptl-chip {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-round);
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ptl-nav { display: flex; gap: 0.5rem; }
.ptl-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.ptl-arrow:hover { background: var(--primary-soft); transform: scale(1.08); }
.ptl-arrow:first-child svg { transform: rotate(180deg); }
.ptl-panel h3 { margin: 0 0 0.6rem; font-size: 1.35rem; }
.ptl-panel p { margin: 0; color: var(--text-muted); font-size: 1.02rem; max-width: 62ch; }
.ptl-panel-in { animation: ptlIn 0.3s var(--ease); }
@keyframes ptlIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.partner-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; }
.partner-point {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.partner-point::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, hsl(4, 70%, 50%), hsl(35, 88%, 48%) 50%, hsl(145, 50%, 34%)); }
.partner-point h3 { margin: 0 0 0.5rem; font-size: 1.05rem; display: flex; align-items: baseline; gap: 0.45rem; }
.partner-point h3 svg { flex: none; color: var(--accent-dark); transform: translateY(2px); }
.partner-point p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.partner-point.tailored { background: var(--primary-soft); border-color: hsla(145, 40%, 40%, 0.25); }
.partner-point.tailored::before { background: var(--primary-light); }

.partner-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.partner-step { padding: 1.75rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.partner-step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 6px 18px var(--accent-glow);
}
.partner-step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.partner-step p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.partner-form-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.partner-form-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-epc-bar); }
.partner-form-card > p { color: var(--text-muted); }
.partner-form-card .btn { margin-top: 1.25rem; }
.partner-form-done h3 { display: flex; align-items: center; gap: 0.5rem; color: var(--primary-light); }
.label-optional { color: var(--text-dim); font-weight: 400; font-size: 0.85em; }
.callback-card { box-shadow: 0 18px 50px hsla(145, 40%, 15%, 0.10); border-color: hsla(145, 40%, 40%, 0.3); }
.callback-card h2 { display: flex; align-items: center; gap: 0.5rem; }
.callback-card h2 svg { color: var(--accent-dark); }

/* Gradient headline ink + trust chips for page heroes (Join Us). */
.page-hero h1 .grad {
  background: var(--grad-epc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.partner-chips { margin: 2rem auto 0; }
.page-hero .trust-chips { text-align: left; }

/* EPC-scale accents for every listing card, so the theme runs site-wide. */
.article-card { position: relative; overflow: hidden; }
.article-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-epc-bar); opacity: 0; transition: opacity 0.2s var(--ease); }
.article-card:hover::before { opacity: 1; }
.city-card { position: relative; overflow: hidden; }
.city-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, hsl(4, 70%, 50%), hsl(35, 88%, 48%) 50%, hsl(145, 50%, 34%)); opacity: 0; transition: opacity 0.2s var(--ease); }
.city-card:hover::before { opacity: 1; }
.role-card { position: relative; overflow: hidden; }
.role-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-epc-bar); }
/* The ink itself, valid wherever a headline carries it. */
h1 .grad, h2 .grad {
  background: var(--grad-epc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- /book/<service>/ : product option rows ---------------------------- */
.svc-options { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 0.9rem; }
.svc-option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.svc-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.svc-option input { accent-color: var(--accent-dark); width: 1.1rem; height: 1.1rem; flex: none; }
.svc-option-body { flex: 1; }
.svc-option-body b { display: block; font-size: 0.98rem; }
.svc-option-body span { font-size: 0.85rem; color: var(--text-muted); }
.svc-option-price { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--primary); }

/* Optional extras on the checkout — collapsed by default so the form reads
   as six fields and a button. */
.lp-extras { margin: 1.1rem 0 0.4rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.lp-extras > summary {
  display: inline-flex; align-items: center; gap: 0.45rem;
  cursor: pointer; font-size: 0.92rem; font-weight: 650;
  color: var(--primary-light); list-style: none;
}
.lp-extras > summary::-webkit-details-marker { display: none; }
.lp-extras > summary::after { content: '+'; font-size: 1.1rem; line-height: 1; opacity: 0.7; }
.lp-extras[open] > summary::after { content: '–'; }
.lp-extras > summary:hover { color: var(--accent-dark); }
.lp-extras .form-grid { margin-top: 0.9rem; }

/* ---- Checkout explainers: what you're buying, before you pay ------------ */
.svc-explainer {
  margin-top: 2.5rem;
  padding: 2rem 1.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.svc-explainer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-epc-bar); }
.svc-explainer h2 { font-size: 1.3rem; margin: 0 0 0.7rem; }
@media (max-width: 560px) { .svc-explainer { padding: 1.5rem 1.25rem; } }
.svc-explainer h3 { font-size: 1rem; margin: 1.6rem 0 0.7rem; display: flex; align-items: center; gap: 0.45rem; }
.svc-explainer h3 svg { color: var(--accent-dark); flex: none; }
.svc-what { color: var(--text-muted); margin: 0; max-width: 62ch; }
.svc-steps { list-style: none; padding: 0; margin: 0; position: relative; }
.svc-steps::before { content: ''; position: absolute; left: 5px; top: 0.45rem; bottom: 0.45rem; width: 2px; background: linear-gradient(180deg, hsl(4, 70%, 55%), hsl(35, 88%, 50%) 50%, hsl(145, 50%, 38%)); border-radius: 2px; }
.svc-steps li { position: relative; display: flex; flex-direction: column; gap: 0.15rem; padding: 0 0 1.1rem 1.75rem; }
.svc-steps li:last-child { padding-bottom: 0; }
.svc-steps li::before {
  content: ''; position: absolute; left: 0; top: 0.4rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--primary-light);
}
.svc-steps b { font-size: 0.95rem; }
.svc-steps span { font-size: 0.92rem; color: var(--text-muted); max-width: 60ch; }
.svc-after-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
@media (max-width: 720px) { .svc-after-grid { grid-template-columns: 1fr; } }
.svc-after-grid > div { padding: 1.15rem 1.25rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--border); }
.svc-after-grid h3 { margin-top: 0; }
.svc-after-grid p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }
.svc-explainer-foot { margin: 1.6rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--border); font-size: 0.92rem; font-weight: 600; }
.lp-hero-explainer { margin-top: 2rem; }
@media (max-width: 980px) { .lp-hero-explainer { margin-top: 0; } }

/* ---- /services/ : services as disclosure rows -------------------------- */
.service-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  /* start, not stretch: an expanded tile grows on its own rather than
     dragging its whole row taller. */
  align-items: start;
}
@media (max-width: 1000px) { .service-rows { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .service-rows { grid-template-columns: 1fr; } }
.service-row {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.service-row[open] { border-color: hsla(145, 40%, 40%, 0.35); box-shadow: 0 10px 30px hsla(145, 40%, 15%, 0.08); }
.service-row > summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.35rem 1.35rem 1.25rem;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.service-row > summary::-webkit-details-marker { display: none; }
.service-row > summary::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad-epc); opacity: 0; transition: opacity 0.2s var(--ease); }
.service-row[open] > summary::before, .service-row > summary:hover::before { opacity: 1; }
.service-row > summary:hover { background: var(--paper); }
.sr-main { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; }
.sr-title { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.sr-title h3 { margin: 0; font-size: 1.05rem; }
.sr-title { padding-right: 1.75rem; }
.sr-facts { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; }
.sr-facts b { font-family: var(--font-heading); font-size: 1.15rem; color: var(--primary); }
.sr-facts > span { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; color: var(--text-dim); }
.sr-chevron { position: absolute; top: 1.4rem; right: 1.35rem; flex: none; color: var(--text-dim); transform: rotate(90deg); transition: transform 0.25s var(--ease), color 0.2s; }
.service-row[open] .sr-chevron { transform: rotate(-90deg); color: var(--accent-dark); }
.service-row-body { padding: 0 1.35rem 1.5rem; border-top: 1px solid var(--border); margin-top: 0; }
.service-row-body > p:first-child { margin: 1.1rem 0 0; color: var(--text-muted); max-width: 62ch; }
.service-row-body .includes-title { margin: 1.3rem 0 0.6rem; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); }
.service-row-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.4rem; }
@media (max-width: 640px) {
  .service-row > summary { padding: 1.15rem 1rem; }
  .service-row-body { padding: 0 1rem 1.25rem; }
}



/* Service cards: uniform height, nothing hidden. The header is a link to the
   service page and carries the watermark; the body below it holds the
   inclusions and the two actions. Equal heights mean the grid never breaks. */
.service-rows { align-items: stretch; }
.service-row {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.service-row:hover { transform: translateY(-4px); box-shadow: 0 16px 38px hsl(var(--tile-h, 145) 40% 25% / 0.16); border-color: hsl(var(--tile-h, 145) 42% 70%); }
.service-row-link {
  position: relative;
  display: block;
  padding: 1.5rem 1.4rem 1.3rem;
  min-height: 13rem;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(158deg, hsl(var(--tile-h, 145) 55% 97%), hsl(var(--tile-h, 145) 45% 92%));
  border-bottom: 1px solid var(--border);
}
.sr-mark { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sr-mark .icon {
  position: absolute; right: -14%; top: -10%; width: 88%; height: auto;
  color: hsl(var(--tile-h, 145) 52% 30%); opacity: 0.17; stroke-width: 1.1;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.service-row:hover .sr-mark .icon { transform: scale(1.05) rotate(-2deg); opacity: 0.24; }
.sr-mark::after {
  content: ''; position: absolute; inset: 30% 0 0 0;
  background: linear-gradient(to bottom, transparent, hsl(var(--tile-h, 145) 50% 95% / 0.9) 55%, hsl(var(--tile-h, 145) 47% 93%));
}
.sr-head { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.7rem; min-height: 10rem; }
.sr-title { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.sr-title h3 { margin: 0; font-size: 1.06rem; }
.sr-facts { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; }
.sr-facts b { font-family: var(--font-heading); font-size: 1.2rem; color: hsl(var(--tile-h, 145) 60% 26%); }
.sr-facts > span { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; color: var(--text-dim); }

.service-row-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.service-row-body .includes-title { margin: 0 0 0.7rem; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); }
.service-row-body .includes-list { flex: 1; }
.service-row-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-top: 1.4rem; }
.service-row-more { color: hsl(var(--tile-h, 145) 60% 28%); font-weight: 650; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.3rem; }
@media (max-width: 640px) { .service-row-link { padding: 1.25rem 1.1rem; min-height: 11rem; } .service-row-body { padding: 1.1rem; } }

/* ---- Homepage: interactive national insights --------------------------- */
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; }
.insight-card {
  padding: 2rem 1.6rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(158deg, hsl(var(--tile-h, 145) 55% 97%), hsl(var(--tile-h, 145) 45% 93%));
  text-align: center;
}
.insight-dial { position: relative; width: 8.5rem; height: 8.5rem; margin: 0 auto 1.1rem; }
.insight-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.insight-dial circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.dial-track { stroke: hsl(var(--tile-h, 145) 40% 86%); }
.dial-fill {
  stroke: hsl(var(--tile-h, 145) 58% 38%);
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 0.2s linear;
}
.dial-value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.dial-value b {
  font-family: var(--font-display-alt);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: hsl(var(--tile-h, 145) 60% 26%);
}
.insight-lead { margin: 0 0 0.9rem; font-size: 0.88rem; font-weight: 650; color: hsl(var(--tile-h, 145) 55% 30%); }
.insight-card h3 { font-size: 1.05rem; margin: 0 0 0.45rem; }
.insight-desc { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* ---- Homepage: journey stepper ----------------------------------------- */
.stepper { margin-top: 2rem; }
.stepper-rail { display: flex; align-items: flex-start; position: relative; gap: 0; }
.stepper-rail::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 1.7rem; height: 4px;
  background: var(--border); border-radius: 2px;
}
.stepper-progress {
  position: absolute; left: 8%; top: 1.7rem; height: 4px; width: 0;
  background: var(--grad-epc-bar); border-radius: 2px;
  transition: width 0.4s var(--ease); max-width: 84%;
}
.stepper-node { flex: 1; background: none; border: none; cursor: pointer; font: inherit; color: inherit; padding: 0; text-align: center; position: relative; z-index: 1; }
.stepper-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--border); color: var(--text-dim);
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.stepper-node:hover .stepper-dot { transform: scale(1.06); border-color: var(--primary-light); color: var(--primary); }
.stepper-node.is-done .stepper-dot { background: var(--primary-soft); border-color: var(--primary-light); color: var(--primary); }
.stepper-node.is-active .stepper-dot {
  background: linear-gradient(140deg, var(--primary-light), var(--primary));
  border-color: var(--primary); color: #fff; transform: scale(1.12);
  box-shadow: 0 8px 22px hsla(145, 45%, 20%, 0.28);
}
.stepper-caption { display: block; margin-top: 0.7rem; padding: 0 0.4rem; }
.stepper-caption b { display: block; font-size: 0.92rem; }
.stepper-caption span { font-size: 0.8rem; color: var(--text-dim); }
.stepper-node.is-active .stepper-caption b { color: var(--primary); }
.stepper-panel {
  margin-top: 1.75rem; padding: 1.8rem 2rem;
  border: 1px solid var(--border); border-left: 5px solid var(--primary-light);
  border-radius: var(--radius-md); background: var(--surface);
}
.stepper-panel h3 { margin: 0 0 0.6rem; font-size: 1.25rem; }
.stepper-panel p { margin: 0 0 1.2rem; color: var(--text-muted); max-width: 62ch; }
.stepper-panel.is-in { animation: ptlIn 0.3s var(--ease); }
@media (max-width: 720px) {
  .stepper-rail { flex-direction: column; gap: 1rem; align-items: stretch; }
  .stepper-rail::before, .stepper-progress { display: none; }
  .stepper-node { display: flex; align-items: center; gap: 0.9rem; text-align: left; }
  .stepper-caption { margin-top: 0; }
}

/* ---- Homepage: audience cards, watermarked like services and partners --- */
.segment-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 17rem; padding: 1.4rem;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: linear-gradient(158deg, hsl(var(--tile-h, 145) 55% 97%), hsl(var(--tile-h, 145) 45% 92%));
  text-decoration: none; color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.segment-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px hsl(var(--tile-h, 145) 40% 25% / 0.18); border-color: hsl(var(--tile-h, 145) 42% 70%); }
.segment-card:hover .sr-mark .icon { transform: scale(1.05) rotate(-2deg); opacity: 0.24; }
.seg-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.45rem; }
.segment-card h3 { margin: 0; font-size: 1.02rem; }
.segment-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.segment-card .learn { color: hsl(var(--tile-h, 145) 60% 28%); font-weight: 650; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.2rem; }

/* Accreditations sit in the hero column now, under the buttons — they fill the
   space the tall widget column creates and are seen before any scrolling. */
.hero-accreditations {
  /* Flex, not a grid: the three credentials are different widths, and fixed
     tracks stranded the third one alone on a second row. */
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.hero-accreditations .acc-item { display: flex; align-items: center; gap: 0.85rem; }
.hero-accreditations img { height: 38px; width: auto; }
.hero-accreditations svg { color: var(--primary-light); flex: none; }
.hero-accreditations .acc-meta b { display: block; font-size: 0.9rem; line-height: 1.25; }
.hero-accreditations .acc-meta span { font-size: 0.78rem; color: var(--text-dim); }

/* Hero columns finish level: the copy column stretches to the widget's height
   and pushes the accreditations to its foot, so both columns share a baseline
   rather than the left one stopping 130px short. */
/* The copy column is stretched to the height of the house widget beside it,
   and holds far less than that: headline, buttons, accreditations. The
   accreditations used to take the slack with margin-top:auto, which starved
   space-between and pooled the whole surplus into one gap under the buttons.
   Letting space-between share it out instead keeps the accreditations level
   with the foot of the widget while the column reads as evenly set. */
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem; }
.house-widget { align-self: start; }

/* One heading scale for the homepage, in the display face. Large enough to
   carry a section, small enough that the H1 still leads. */
.hero h2,
.section-title,
.section-head h2 {
  font-family: var(--font-display-alt);
  font-size: clamp(1.9rem, 3.1vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.house-widget h2 { font-size: 1.05rem; letter-spacing: 0; font-family: var(--font-heading); font-weight: 700; }

/* ---- Knowledge Hub newswire ---------------------------------------------
   A conventional news ticker: one strip, always moving right to left. The
   track holds the run of stories twice; the animation slides it by exactly
   one run's width, so the copy arrives where the original was and the loop
   has no visible seam. Width is measured in JS and handed over as
   --ticker-shift, because it depends on the text the feed actually returned. */
.newswire {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  position: relative;
}
.newswire::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-epc-bar); }
.newswire-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.75rem 1rem;
}
.newswire-head h2 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.3rem; font-size: 1.25rem; font-family: var(--font-heading); letter-spacing: 0; }
.newswire-head h2 svg { color: var(--accent-dark); }
.newswire-head p { margin: 0; font-size: 0.9rem; color: var(--text-muted); max-width: 62ch; }
.newswire-controls { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.newswire-status { flex: none; font-size: 0.78rem; color: var(--text-dim); white-space: nowrap; }
.newswire-pause {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius-round); padding: 0.28rem 0.85rem;
  font: inherit; font-size: 0.76rem; font-weight: 650; color: var(--text-muted);
  cursor: pointer; transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.newswire-pause:hover { background: var(--paper); color: var(--primary); }

.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--paper);
  padding: 0.9rem 0;
  /* Stories fade out at both ends instead of being chopped off by the edge,
     which is what makes the strip read as continuous rather than clipped. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  width: max-content;
  padding-left: 0.85rem;
  will-change: transform;
}
.ticker-track.is-running {
  animation: tickerRun var(--ticker-duration, 60s) linear infinite;
}
.ticker-track.is-paused { animation-play-state: paused; }
.ticker:hover .ticker-track.is-running { animation-play-state: paused; }
@keyframes tickerRun {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(var(--ticker-shift, -100%), 0, 0); }
}

.ticker-item {
  display: flex; align-items: center; gap: 0.75rem;
  flex: none; width: 21rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-decoration: none; color: inherit;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}
.ticker-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.tk-thumb {
  flex: none; width: 54px; height: 54px;
  border-radius: 10px; overflow: hidden;
  background: var(--primary-soft);
  display: grid; place-items: center;
}
.tk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Not every publisher gives us a usable picture; those stories get a source
   mark rather than an empty hole, so every card is the same shape. */
.tk-mark {
  font-family: var(--font-heading); font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.04em; color: var(--primary-light);
}
.tk-body { min-width: 0; display: flex; flex-direction: column; gap: 0.18rem; }
.tk-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.68rem; color: var(--text-dim); }
.tk-source {
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 16ch;
}
.tk-date { flex: none; }
.tk-date::before { content: '·'; margin-right: 0.5rem; }
.tk-title {
  font-weight: 650; font-size: 0.87rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 560px) {
  .newswire-head { flex-direction: column; padding: 1.25rem 1.15rem 0.9rem; }
  .ticker-item { width: 17rem; }
}
/* A ticker that will not stop is a WCAG 2.2.2 failure, so motion off means
   stopped — the Pause button then reads "Play" and can start it deliberately. */
@media (prefers-reduced-motion: reduce) { .ticker-track.is-running { animation: none; } }

/* ---- card fields (PayPal Expanded Checkout) -----------------------------
   Each of the four card inputs is a PayPal-hosted iframe, so we style the box
   around it and hand the iframe a matching type spec; the iframe sizes itself
   to its content, which is why the wrapper sets a height rather than padding
   the child. */
.pay-method { margin: 1.4rem 0 1.1rem; }
.pay-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.pay-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.7rem 0.8rem; border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--surface); color: var(--text-muted);
  font: inherit; font-size: 0.9rem; font-weight: 650; cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}
.pay-tab:hover { border-color: var(--primary-light); color: var(--primary); }
.pay-tab.is-on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.pay-tab svg { flex: none; }

.card-fields { display: flex; flex-direction: column; gap: 0.85rem; }
.cf-row { display: flex; flex-direction: column; gap: 0.35rem; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.cf-label { font-size: 0.85rem; font-weight: 650; color: var(--text-muted); }
.cf-input {
  height: 46px; padding: 0 0.85rem;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface);
  display: flex; align-items: center;
}
.cf-input > iframe { width: 100%; border: 0; display: block; }
.cf-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
@media (max-width: 420px) { .cf-grid { grid-template-columns: 1fr; } }

/* ---- Google reviews ------------------------------------------------------
   Summary panel beside the quotes: the score has to carry at a glance, and
   the reviews themselves have to look like quotations rather than marketing
   copy, which is what the blockquote indent and the muted attribution do. */
.reviews-grid { display: grid; grid-template-columns: 17rem 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

.reviews-summary { text-align: center; position: sticky; top: 5.5rem; }
@media (max-width: 860px) { .reviews-summary { position: static; } }
.rv-score { display: block; font-family: var(--font-display-alt), var(--font-heading); font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.rv-stars { display: inline-flex; gap: 0.15rem; margin: 0.5rem 0 0.35rem; }
.rv-star { fill: var(--accent); }
.rv-star.is-empty { fill: var(--border-strong); }
.rv-count { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 1.1rem; }
.reviews-summary .btn { width: 100%; }
.rv-note { font-size: 0.76rem; color: var(--text-dim); line-height: 1.45; margin: 0.9rem 0 0; }

.reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
.review-card { margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.review-card .rv-stars { margin: 0; }
.review-card blockquote {
  margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--text);
  border-left: 3px solid var(--border); padding-left: 0.9rem;
}
.review-card figcaption { display: flex; align-items: center; gap: 0.65rem; margin-top: auto; }
.rv-avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
}
.rv-who b { display: block; font-size: 0.88rem; line-height: 1.2; }
.rv-who span { font-size: 0.76rem; color: var(--text-dim); }
