/* ==========================================================================
   SenerSol — redesign stylesheet
   Direction A. Mobile-first, no framework.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink + surfaces */
  --ink:        #0B0F14;
  --ink-2:      #343D4A;
  --muted:      #5A6472;
  --muted-2:    #8A93A1;
  --bg:         #F6F7F8;
  --bg-2:       #E9EBEF;
  --bg-3:       #F1F3F6;
  --surface:    #FFFFFF;
  --dark:       #0A0D11;
  --dark-2:     #12171E;
  --dark-3:     #151A21;

  /* Accents */
  --accent:     #E8701A;
  --accent-ink: #B4530E;
  --blue:       #1E63C4;
  --blue-soft:  #BBD6FF;
  --green:      #17A673;
  --green-deep: #146A4C;
  --green-soft: #E7F6EF;

  /* Lines */
  --line:         rgba(11, 15, 20, 0.12);
  --line-strong:  rgba(11, 15, 20, 0.2);
  --line-dark:    rgba(255, 255, 255, 0.14);
  --line-dark-2:  rgba(255, 255, 255, 0.22);

  /* On-dark text */
  --on-dark:     rgba(255, 255, 255, 0.78);
  --on-dark-dim: rgba(255, 255, 255, 0.58);

  /* Brand gradient — used structurally, never as a wash */
  --grad: linear-gradient(135deg, #22C7E8 0%, #C94BB6 52%, #F58220 100%);
  --grad-x: linear-gradient(90deg, #22C7E8 0%, #C94BB6 52%, #F58220 100%);
  --grad-x-ink: linear-gradient(90deg, #0FA5C6 0%, #B5329F 52%, #DE6A0C 100%);

  /* Type */
  --font-display: "Archivo", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Metrics */
  --gutter: 1.5rem;
  --maxw: 90rem;          /* 1440px */
  --radius: 1.375rem;     /* 22px */
  --radius-sm: 0.875rem;  /* 14px */
  --header-h: 5.25rem;
}

@media (min-width: 48em) {
  :root { --gutter: 2.5rem; }
}
@media (min-width: 75em) {
  :root { --gutter: 3.5rem; }
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { display: block; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.is-dark :focus-visible,
.site-header :focus-visible { outline-color: #FFB877; }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 1.625rem;
  height: 2px;
  background: var(--grad-x-ink);
  flex-shrink: 0;
}
.is-dark .eyebrow { color: rgba(255, 255, 255, 0.78); }
.is-dark .eyebrow::before { background: var(--grad-x); }

/* Headings */
.h-xl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 7.6vw, 5.75rem);
  line-height: 1;
  letter-spacing: -0.042em;
}
.h-lg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.875rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
}
.h-md {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.h-sm {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 46ch;
}
.is-dark .lede { color: var(--on-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9375rem 0.75rem 0.9375rem 1.625rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  min-height: 2.75rem;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn__pip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}
.btn__pip svg { width: 0.875rem; height: 0.875rem; }

.btn--ink    { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--light  { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1f1f1; }

.btn--ghost {
  padding: 0.9375rem 1.625rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 500;
}
.btn--ghost:hover { border-color: var(--ink); }
/* On photography a bordered button needs its own ground to stay legible */
.is-dark .btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(10, 13, 17, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.is-dark .btn--ghost:hover { border-color: #fff; background: rgba(10, 13, 17, 0.62); }

/* Text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  min-height: 2.75rem;
}
.arrow-link svg { width: 1rem; height: 1rem; transition: transform 0.18s ease; }
.arrow-link:hover svg { transform: translateX(3px); }
.is-dark .arrow-link { color: #fff; }

/* Section rhythm */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
/* Two light sections running together get a rule rather than a colour change */
.section.is-light + .section.is-light { padding-top: 0; }
.section.is-light + .section.is-light > .shell { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.section.is-dark { background: var(--dark); color: #fff; }
.section.is-light { background: var(--bg); color: var(--ink); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section__head-text { flex: 1 1 32rem; min-width: 0; }
.section__head .eyebrow { margin-bottom: 1.125rem; }
.section__head h2 { margin-bottom: 1.125rem; }

/* --------------------------------------------------------------------------
   Motion system — one idea: uncovering.
   Daylight is energy you cannot see until something captures it, so every
   piece of motion on this page is a cover coming off: lines rise out from
   behind a mask, photographs are wiped upward into view. Nothing floats,
   nothing fades up in a card grid, nothing moves on hover that did not
   need to. Content is fully visible without JS and without motion.
   -------------------------------------------------------------------------- */
:root {
  --ease-uncover: cubic-bezier(0.16, 1, 0.3, 1); /* expo out — fast then settles */
  --ease-soft: cubic-bezier(0.25, 1, 0.5, 1);
}

/* 1 — Masked line reveal. The mask is the bedspread; the line is underneath. */
.reveal-line {
  display: block;
  overflow: hidden;
  padding: 0.08em 0 0.14em;
  margin: -0.08em 0 -0.14em;
}
.js .reveal-line > span {
  display: block;
  transform: translateY(108%);
  transition: transform 1.05s var(--ease-uncover);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}
.js .is-ready .reveal-line > span,
.js .is-in .reveal-line > span { transform: none; }
.reveal-line:nth-of-type(2) > span { --d: 110ms; }
.reveal-line:nth-of-type(3) > span { --d: 220ms; }

/* 2 — Photographs are not animated. They load and they are there. The only
   thing standing in for one is its blur placeholder while the file is in
   flight, and that is swapped out without a transition. */

/* 3 — Everything else gets light, not movement. No slide, no stagger grid. */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 0.85s var(--ease-soft);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; }


/* --------------------------------------------------------------------------
   Images

   Every photograph ships as an AVIF/WebP ladder with a JPEG fallback, and
   each container carries a 24px blurred placeholder inlined as a data URI.
   The blur costs no request and paints with the HTML, so a photograph is
   never an empty rectangle while the real file is in flight — and the
   uncover wipe only runs once the full image has decoded.
   -------------------------------------------------------------------------- */
picture { display: block; width: 100%; height: 100%; }
.app-shot picture { height: auto; }

.hero__media,
[data-uncover] {
  background-image: var(--lqip);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.app-shot {
  background-size: contain;
  background-origin: content-box;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.125rem;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease,
              box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.is-stuck {
  background: rgba(10, 13, 17, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  padding-block: 0.75rem;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: 0.12em;
  color: #fff;
  white-space: nowrap;
}
.wordmark__o {
  background-image: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; align-items: center; gap: 0.5rem; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem;
  border-radius: 999px;
  background: rgba(12, 16, 22, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__link {
  display: block;
  padding: 0.625rem 1.125rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: background-color 0.16s ease;
}
.nav__link:hover { background: rgba(255, 255, 255, 0.14); }

.nav__cta { padding: 0.8125rem 0.625rem 0.8125rem 1.375rem; font-size: 0.875rem; }
.nav__cta .btn__pip { width: 1.75rem; height: 1.75rem; }
.nav__cta .btn__pip svg { width: 0.8125rem; height: 0.8125rem; }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 16, 22, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__toggle svg { width: 1.25rem; height: 1.25rem; stroke: #fff; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 68.75em) {
  .nav { display: none; }
  .nav__toggle { display: flex; }

  .nav.is-open {
    display: flex;
    position: fixed;
    inset: calc(var(--header-h) - 0.5rem) var(--gutter) auto var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.875rem;
    border-radius: var(--radius);
    background: rgba(10, 13, 17, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: calc(100svh - var(--header-h) - 2rem);
    overflow-y: auto;
  }
  .nav.is-open .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0;
    background: none;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav.is-open .nav__link { padding: 0.875rem 1rem; font-size: 1rem; }
  .nav.is-open .nav__cta { justify-content: center; }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 44rem;
  display: flex;
  flex-direction: column;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
@media (min-width: 64em) { .hero { min-height: 100svh; } }

.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 12, 18, 0.88) 0%,
    rgba(8, 12, 18, 0.64) 20%,
    rgba(8, 12, 18, 0.2)  42%,
    rgba(8, 12, 18, 0.1)  60%,
    rgba(8, 12, 18, 0.5)  82%,
    rgba(8, 12, 18, 0.9)  100%);
}
@media (min-width: 64em) {
  /* Two scrims: a horizontal one that beds the text column, and a lighter
     vertical one. Keeps the collectors bright instead of flattening the shot. */
  .hero__scrim {
    background:
      linear-gradient(100deg,
        rgba(8, 12, 18, 0.80) 0%,
        rgba(8, 12, 18, 0.50) 34%,
        rgba(8, 12, 18, 0)    64%),
      linear-gradient(180deg,
        rgba(8, 12, 18, 0.84) 0%,
        rgba(8, 12, 18, 0.52) 20%,
        rgba(8, 12, 18, 0.12) 42%,
        rgba(8, 12, 18, 0.08) 60%,
        rgba(8, 12, 18, 0.52) 84%,
        rgba(8, 12, 18, 0.92) 100%);
  }
}

.hero__body {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.25rem));
  padding-bottom: 2rem;
}
.hero__copy { max-width: 56rem; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.92); margin-bottom: 1.125rem; }
.hero .eyebrow::before { background: var(--grad-x); }
.hero h1 { margin-bottom: 1.375rem; text-wrap: balance; }

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.125rem);
}
.hero__sub {
  flex: 0 1 32.5rem;
  min-width: 0;
  font-size: clamp(1rem, 1.2vw, 1.09375rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Photo annotations — only where the crop is predictable */
.hero__note { display: none; }
@media (min-width: 64em) {
  .hero__note {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
    pointer-events: none;
  }
  .hero__note--thermal { left: 57.5%; top: 25.5%; }
  .hero__note--pv      { left: 5%;    top: 76%; }

  .hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5625rem;
    padding: 0.5625rem 1rem;
    border-radius: 999px;
    font-size: 0.78125rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }
  .hero__pill::before {
    content: "";
    width: 0.5625rem;
    height: 0.5625rem;
    border-radius: 2px;
    flex-shrink: 0;
  }
  .hero__note--thermal .hero__pill { background: #fff; color: var(--ink); }
  .hero__note--thermal .hero__pill::before { background: var(--accent); }
  .hero__note--pv .hero__pill {
    background: rgba(11, 15, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hero__note--pv .hero__pill::before { background: #9AA3B0; }

  .hero__leader {
    width: 1px;
    height: 5.5rem;
    margin-left: 1.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.35));
  }
}

/* Stat strip */
.hero__stats {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 12, 18, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 40em) { .hero__stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .hero__stats-grid { grid-template-columns: repeat(3, 1fr) auto; } }

.stat { padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.stat:first-child { border-top: 0; }
@media (min-width: 40em) {
  .stat { padding: 1.5rem 1.75rem; border-left: 1px solid rgba(255, 255, 255, 0.18); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }
}
@media (min-width: 64em) {
  .stat { border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.18); }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .stat:last-child { padding-right: 0; display: flex; align-items: center; }
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.1875rem;
}
.stat__label { font-size: 0.8125rem; line-height: 1.45; color: rgba(255, 255, 255, 0.84); }
.stat__credit-label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.125rem;
}

/* --------------------------------------------------------------------------
   5b. The page-load sequence — the one orchestrated moment on the site
   -------------------------------------------------------------------------- */
.js .hero__media img {
  transform: scale(1.08);
  transition: transform 1.9s var(--ease-uncover);
}
.js .hero.is-ready .hero__media img { transform: none; }

.hero h1 .reveal-line:nth-of-type(1) > span { --d: 200ms; }
.hero h1 .reveal-line:nth-of-type(2) > span { --d: 320ms; }

.js .hero .eyebrow,
.js .hero__sub,
.js .hero__actions,
.js .hero__stats {
  opacity: 0;
  transition: opacity 0.9s var(--ease-soft);
  transition-delay: var(--d, 0ms);
}
.js .hero.is-ready .eyebrow     { opacity: 1; --d: 120ms; }
.js .hero.is-ready .hero__sub   { opacity: 1; --d: 620ms; }
.js .hero.is-ready .hero__actions { opacity: 1; --d: 740ms; }
.js .hero.is-ready .hero__stats { opacity: 1; --d: 880ms; }

/* The annotations arrive last, the way a label is placed on a finished thing:
   the leader line draws down, then the pill appears at the end of it. */
@media (min-width: 64em) {
  .js .hero__pill {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--ease-uncover);
    transition-delay: var(--d, 0ms);
  }
  .js .hero__leader {
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.65s var(--ease-uncover);
    transition-delay: var(--d, 0ms);
  }
  .js .hero.is-ready .hero__pill { opacity: 1; transform: none; }
  .js .hero.is-ready .hero__leader { transform: none; }
  .js .hero.is-ready .hero__note--thermal .hero__pill   { --d: 1120ms; }
  .js .hero.is-ready .hero__note--thermal .hero__leader { --d: 1320ms; }
  .js .hero.is-ready .hero__note--pv .hero__pill        { --d: 1480ms; }
}

/* --------------------------------------------------------------------------
   6. Route map — thermal vs PV

   The argument in this section is about DISTANCE: one route reaches hot water
   in a single conversion, the other takes three. A bulleted list cannot show
   that, so the routes are drawn as tracks whose real length differs. The
   direct track stops roughly half way; the space it never travels is where
   the payoff sits. On scroll both tracks draw at the SAME speed, so the
   short one arrives while the long one is still going — the detour is felt
   rather than read.
   -------------------------------------------------------------------------- */
.routemap {
  /* Sized so the detour exactly fills the measure at full width. The direct
     route then lands at 56% of it — a ratio the eye reads without counting. */
  --stop-w: clamp(5.5rem, 10.9vw, 10rem);
  --leg: clamp(1.75rem, 9vw, 8.25rem);
  --leg-v: 2.25rem;
  --dot: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 4.4vw, 3.25rem);
}

.routemap__route { padding-top: 1.75rem; border-top: 1px solid var(--line); }
.routemap__route--direct { border-top-color: var(--ink); }

.routemap__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
}
.routemap__count { font-size: 0.9375rem; color: var(--muted); }
.routemap__count strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}
.routemap__route--detour .routemap__head h3 { color: var(--muted); }

.routemap__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* ---- the track ---------------------------------------------------------- */
.routemap__track {
  display: flex;
  gap: var(--leg);
  flex-shrink: 0;
}

.routemap__stop {
  position: relative;
  width: var(--stop-w);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* The leg runs from just after this dot to just before the next one —
   not from the end of the label box, which would leave the line floating. */
.routemap__stop::after {
  content: "";
  position: absolute;
  left: calc(var(--dot) + 0.625rem);
  top: calc(var(--dot) / 2 - 1px);
  width: calc(var(--stop-w) + var(--leg) - var(--dot) - 1.25rem);
  height: 2px;
  background: var(--line-strong);
  transform-origin: left center;
}
.routemap__stop:last-child::after { display: none; }
.routemap__route--direct .routemap__stop::after { background: var(--blue); }

.routemap__dot {
  width: var(--dot);
  height: var(--dot);
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  flex-shrink: 0;
}
.routemap__route--direct .routemap__dot { border-color: var(--blue); background: var(--blue); }
.routemap__stop--end .routemap__dot { border-radius: 4px; }
.routemap__route--direct .routemap__stop--end .routemap__dot { background: var(--ink); border-color: var(--ink); }

.routemap__name {
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.routemap__route--detour .routemap__name { color: var(--ink-2); font-weight: 500; }

/* ---- the payoff, sitting in the distance the short route never travels --- */
.routemap__payoff {
  flex: 1 1 15rem;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  padding-left: clamp(1.25rem, 2.6vw, 2.25rem);
  border-left: 1px solid var(--line);
}
.routemap__figure {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 5.4vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.routemap__figure-note {
  flex: 1 1 13rem;
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.routemap__note {
  max-width: 58ch;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- drawing the routes ------------------------------------------------- */
.js .routemap__dot {
  transform: scale(0);
  transition: transform 0.5s var(--ease-uncover);
  transition-delay: var(--d, 0ms);
}
.js .routemap__stop::after {
  transform: scaleX(0);
  transition: transform 0.46s linear;
  transition-delay: calc(var(--d, 0ms) + 60ms);
}
.js .routemap__name {
  opacity: 0;
  transition: opacity 0.45s var(--ease-soft);
  transition-delay: calc(var(--d, 0ms) + 80ms);
}
.js .is-in .routemap__dot { transform: none; }
.js .is-in .routemap__stop::after { transform: scaleX(1); }
.js .is-in .routemap__name { opacity: 1; }

/* Both tracks run at the same pace, so the short one simply finishes first */
.routemap__stop:nth-child(1) { --d: 0ms; }
.routemap__stop:nth-child(2) { --d: 480ms; }
.routemap__stop:nth-child(3) { --d: 960ms; }
.routemap__stop:nth-child(4) { --d: 1440ms; }
.routemap__stop:nth-child(5) { --d: 1920ms; }

.js .routemap__payoff {
  opacity: 0;
  transition: opacity 0.7s var(--ease-soft);
  transition-delay: 1180ms; /* lands just after the direct route arrives */
}
.js .is-in .routemap__payoff { opacity: 1; }

/* ---- stacked: the track turns to run down the page ---------------------- */
@media (max-width: 61.99em) {
  .routemap__track { flex-direction: column; gap: var(--leg-v); }
  .routemap__stop { width: auto; flex-direction: row; align-items: center; gap: 0.875rem; }
  .routemap__stop::after {
    left: calc(var(--dot) / 2 - 1px);
    top: 100%;
    width: 2px;
    height: var(--leg-v);
    transform-origin: center top;
  }
  .js .routemap__stop::after { transform: scaleY(0); }
  .js .is-in .routemap__stop::after { transform: scaleY(1); }
  .routemap__payoff {
    flex-basis: 100%;
    padding-left: 0;
    padding-top: 1.5rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.section__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.625rem;
  border-top: 1px solid var(--line);
}
.is-dark .section__foot { border-top-color: var(--line-dark); }
.section__foot p {
  flex: 1 1 36rem;
  min-width: 0;
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--muted);
}
.is-dark .section__foot p { color: rgba(255, 255, 255, 0.74); }

/* --------------------------------------------------------------------------
   7. Sectors
   -------------------------------------------------------------------------- */
.sectors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.375rem;
}
@media (min-width: 48em) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68em) { .sectors { grid-template-columns: repeat(3, 1fr); } }

.sector {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  transition: background-color 0.22s ease, border-color 0.22s ease;
}
.sector:hover { border-color: rgba(255, 255, 255, 0.34); background: #161C25; }
.sector__media { aspect-ratio: 16 / 10; overflow: hidden; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; }
.sector__body { flex: 1 1 auto; padding: 1.5rem 1.5rem 1.375rem; display: flex; flex-direction: column; }
.sector h3 { margin-bottom: 0.625rem; color: #fff; }
.sector p { font-size: 0.9375rem; line-height: 1.55; color: rgba(255, 255, 255, 0.74); margin-bottom: 1.375rem; }
.sector .arrow-link { margin-top: auto; }
.sector__link::after { content: ""; position: absolute; inset: 0; }

/* --------------------------------------------------------------------------
   8. Products
   -------------------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 60em) { .products { grid-template-columns: repeat(2, 1fr); } }

.product {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.product__media { aspect-ratio: 16 / 9; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__body { flex: 1 1 auto; padding: 1.75rem 1.75rem 1.5rem; display: flex; flex-direction: column; }
.product__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 0.625rem; }
.product h3 { font-size: 1.6875rem; letter-spacing: -0.025em; color: #fff; }
.product p { font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, 0.76); margin-bottom: 1.5rem; }
.product .arrow-link { margin-top: auto; }
.product .arrow-link .btn__pip { width: 1.75rem; height: 1.75rem; }
.product .arrow-link .btn__pip svg { width: 0.8125rem; height: 0.8125rem; }

.tag {
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--neutral { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.86); }
.tag--blue    { background: rgba(30, 99, 196, 0.26); border: 1px solid rgba(120, 175, 255, 0.5); color: var(--blue-soft); }
.tag--green   { background: rgba(23, 166, 115, 0.22); border: 1px solid rgba(90, 220, 170, 0.5); color: #8CEBC6; }
.tag--grey    { background: var(--bg-2); border: 1px solid var(--line); color: #3C4450; }

.spec { display: flex; flex-direction: column; margin-bottom: 1.5rem; }
.spec__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.8125rem 0;
  border-top: 1px solid var(--line-dark);
}
.spec__row:last-child { border-bottom: 1px solid var(--line-dark); }
.spec dt { font-size: 0.875rem; color: rgba(255, 255, 255, 0.68); }
.spec dd { font-size: 0.90625rem; font-weight: 500; text-align: right; color: #fff; }

/* --------------------------------------------------------------------------
   9. Projects
   -------------------------------------------------------------------------- */
.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.375rem;
}
@media (min-width: 48em) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68em) { .projects { grid-template-columns: repeat(3, 1fr); } }

.project {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.project:hover { border-color: rgba(11, 15, 20, 0.3); box-shadow: 0 12px 32px rgba(11, 15, 20, 0.1); }
.project__media { aspect-ratio: 16 / 10; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__body { flex: 1 1 auto; padding: 1.5rem 1.5rem 1.375rem; display: flex; flex-direction: column; }
.project__meta {
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.project h3 { font-size: 1.375rem; margin-bottom: 0.625rem; }
.project p { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); margin-bottom: 1.375rem; }
.project__foot {
  margin-top: auto;
  padding-top: 1.125rem;
  border-top: 1px solid var(--line);
}
.project__link::after { content: ""; position: absolute; inset: 0; }

.feature-band {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.75rem, 3.4vw, 2.125rem) clamp(1.5rem, 3vw, 2.375rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.feature-band__text { flex: 1 1 35rem; min-width: 0; }
.feature-band__kicker {
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0.625rem;
}
.feature-band__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.feature-band__aside { flex: 1 1 18.75rem; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.feature-band__aside p { font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.feature-band .arrow-link { color: #fff; }
.feature-band .arrow-link .btn__pip { width: 1.75rem; height: 1.75rem; }
.feature-band .arrow-link .btn__pip svg { width: 0.8125rem; height: 0.8125rem; }

/* --------------------------------------------------------------------------
   10. App
   -------------------------------------------------------------------------- */
.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 64em) { .app-grid { grid-template-columns: 1.3fr 1fr; } }

.app-shot {
  padding: clamp(1.25rem, 2.6vw, 1.625rem);
  border-radius: var(--radius);
  /* background-color, not the shorthand: the shorthand would reset the
     --lqip background-image set by the image rules above. */
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-shot img { width: 100%; height: auto; }

.feature-list { display: flex; flex-direction: column; }
.feature {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.feature:last-child { border-bottom: 0; }
.feature__num {
  flex-shrink: 0;
  width: 2.125rem; height: 2.125rem;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8125rem; font-weight: 600; color: #fff;
}
.feature__body { min-width: 0; }
.feature__title {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
}
.feature__text { display: block; font-size: 0.9375rem; line-height: 1.55; color: rgba(255, 255, 255, 0.74); }

/* --------------------------------------------------------------------------
   11. Audits
   -------------------------------------------------------------------------- */
.audit-what {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 2.625rem);
}
@media (min-width: 40em) { .audit-what { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68em) { .audit-what { grid-template-columns: repeat(4, 1fr); } }

.audit-what__item { padding: 1.375rem 0; border-top: 1px solid var(--line); }
.audit-what__item:first-child { border-top: 0; }
@media (min-width: 40em) {
  .audit-what__item { padding: 1.375rem 1.75rem; border-left: 1px solid var(--line); }
  .audit-what__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .audit-what__item:nth-child(-n+2) { border-top: 0; }
}
@media (min-width: 68em) {
  .audit-what__item { border-top: 0; border-left: 1px solid var(--line); }
  .audit-what__item:first-child { border-left: 0; padding-left: 0; }
  .audit-what__item:last-child { padding-right: 0; }
}
.audit-what__num {
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.3125rem;
}
.audit-what__text { font-size: 0.96875rem; font-weight: 500; line-height: 1.45; }

.jurisdictions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 64em) { .jurisdictions { grid-template-columns: 1.15fr 1fr; } }

.juris {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.125rem) clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
}
.juris--roi { background: var(--ink); color: #fff; }
.juris--ni  { background: var(--surface); border: 1px solid var(--line); }
.juris__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 1.375rem; }
.juris h3 { font-size: 1.5625rem; letter-spacing: -0.02em; }
.juris--roi h3 { color: #fff; }

.voucher { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; margin-bottom: 1.625rem; }
.voucher__amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 5.6vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.voucher__text { flex: 1 1 13.75rem; min-width: 0; padding-top: 0.375rem; font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }

.label-xs {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 0.75rem;
}
.juris--ni .label-xs { color: var(--muted); }

.ticks { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.625rem; }
.ticks li { display: flex; gap: 0.6875rem; align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.ticks svg { flex-shrink: 0; margin-top: 2px; width: 1.0625rem; height: 1.0625rem; stroke: #5ADCAA; }

.juris__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.875rem; align-items: center; }
.ext-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.90625rem; font-weight: 500; min-height: 2.75rem; }
.juris--roi .ext-link { color: rgba(255, 255, 255, 0.88); }
.juris--roi .ext-link:hover { color: #fff; }
.ext-link svg { width: 0.875rem; height: 0.875rem; }

.juris--ni p { font-size: 1.03125rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 1.375rem; }
.fee-box { padding: 1.125rem 1.25rem; border-radius: var(--radius-sm); background: var(--bg-3); margin-bottom: 1.625rem; }
.fee-box__amount { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------------------
   12. Contact
   -------------------------------------------------------------------------- */
.contact { background: var(--dark); color: #fff; padding-block: clamp(3.5rem, 7vw, 5.75rem); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 68em) { .contact__grid { grid-template-columns: 1fr 1.25fr; } }

.contact__intro { display: flex; flex-direction: column; gap: 2.5rem; }
.contact__kicker {
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 1.625rem;
}
.contact__statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.9vw, 3.375rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.contact__intro .lede { color: rgba(255, 255, 255, 0.74); max-width: 26rem; }

.contact-details { display: flex; flex-direction: column; }
.contact-details > * {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 2.75rem;
}
.contact-details > *:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); align-items: flex-start; }
.contact-details svg { flex-shrink: 0; width: 1.125rem; height: 1.125rem; stroke: rgba(255, 255, 255, 0.6); }
.contact-details a { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; color: #fff; word-break: break-word; }
.contact-details address { font-style: normal; font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.contact__legal { font-size: 0.84375rem; line-height: 1.55; color: rgba(255, 255, 255, 0.5); }

/* Panel */
.panel {
  position: relative;
  border-radius: 1.5rem;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad);
}
.panel__inner { padding: clamp(1.5rem, 3.2vw, 2.375rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem) clamp(1.75rem, 3.2vw, 2.75rem); }

.panel__legend {
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.mode-picker { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 1.875rem; }
.mode {
  padding: 0.8125rem 1.125rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  min-height: 2.75rem;
  background: var(--bg-3);
  color: var(--ink-2);
  border: 1px solid rgba(11, 15, 20, 0.14);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.mode:hover { border-color: rgba(11, 15, 20, 0.34); }
.mode[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.panel__lede {
  margin-bottom: 1.75rem;
  padding-bottom: 1.625rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.form { display: flex; flex-direction: column; gap: 1.125rem; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 1.125rem; }
@media (min-width: 30em) { .form__row { grid-template-columns: repeat(2, 1fr); } }

.field { display: flex; flex-direction: column; gap: 0.4375rem; min-width: 0; }
.field label { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 0.8125rem 0.9375rem;
  border-radius: 0.6875rem;
  border: 1px solid var(--line-strong);
  background: #FBFBFC;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input:hover, .field textarea:hover { border-color: rgba(11, 15, 20, 0.34); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 15, 20, 0.1);
}
.field input::placeholder, .field textarea::placeholder { color: #9AA3B0; }
.field.has-error input, .field.has-error textarea { border-color: #C0392B; }
.field__error { font-size: 0.8125rem; color: #A5281B; min-height: 0; }

.region-picker { display: flex; flex-wrap: wrap; gap: 0.5625rem; margin-bottom: 0.5rem; }
.region {
  padding: 0.625rem 1rem;
  border-radius: 999px;
  font-size: 0.84375rem;
  font-weight: 500;
  min-height: 2.75rem;
  background: #FBFBFC;
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.region[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.eligibility {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.8125rem 0.9375rem;
  border-radius: 0.6875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  background: var(--bg-3);
  color: #3C4450;
}
.eligibility svg { flex-shrink: 0; margin-top: 1px; width: 1.0625rem; height: 1.0625rem; }
.eligibility.is-eligible { background: var(--green-soft); color: var(--green-deep); }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
}
.form__reassurance { flex: 1 1 13.75rem; min-width: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }

.form__success {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1.125rem 1.25rem;
  border-radius: 0.6875rem;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.form__success svg { flex-shrink: 0; margin-top: 2px; width: 1.25rem; height: 1.25rem; }
[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   13. Footer

   Quiet by design. The enquiry section above does the asking; this one only
   has to help someone find a page, confirm the company is real, and leave.
   -------------------------------------------------------------------------- */
.site-footer { background: var(--dark); color: #fff; }
.site-footer__spectrum { height: 3px; background: var(--grad-x); }

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-block: clamp(3rem, 5.5vw, 4.5rem) 0;
}
@media (min-width: 62em) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(3rem, 6vw, 6rem); }
}

/* ---- identity ----------------------------------------------------------- */
.site-footer__id { display: flex; flex-direction: column; align-items: flex-start; }
.wordmark--lg { font-size: clamp(1.75rem, 3vw, 2.375rem); letter-spacing: 0.1em; }

.site-footer__line {
  max-width: 38ch;
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.site-footer__line a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.site-footer__line a:hover { border-bottom-color: #fff; }

.site-footer__coverage {
  max-width: 38ch;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.56);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.9375rem;
}
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: rgba(255, 255, 255, 0.78);
}
.site-footer__social a:hover { color: #fff; }

/* ---- navigation --------------------------------------------------------- */
/* One column on a phone: at two, the third group is orphaned beside an empty
   cell and the longer labels wrap mid-phrase. */
.footer-nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem 2rem; }
@media (min-width: 30em) { .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 48em) { .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Sentence case, not a tracked-out all-caps label: these are headings for a
   set of links, and they should read as words rather than as chrome. */
.footer-nav h2 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.5rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.125rem; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  /* the underline grows out from the left, the same gesture as the rest
     of the page's motion */
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 calc(100% - 0.55rem);
  background-repeat: no-repeat;
  transition: background-size 0.32s var(--ease-uncover), color 0.2s ease;
}
.footer-nav a:hover { color: #fff; background-size: 100% 1px; }

/* ---- registered details and legal --------------------------------------- */
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.5rem 2.25rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.84375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer__registered { max-width: 46ch; }
.site-footer__registered a { color: rgba(255, 255, 255, 0.72); }
.site-footer__registered a:hover { color: #fff; }

.site-footer__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
@media (min-width: 48em) { .site-footer__meta { align-items: flex-end; } }
.site-footer__meta nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__meta a { color: rgba(255, 255, 255, 0.72); min-height: 2.75rem; display: inline-flex; align-items: center; }
.site-footer__meta a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   14. Motion + print
   -------------------------------------------------------------------------- */
/* Touch targets: anything thumb-operated clears 44px on small screens.
   Inline links inside running prose are exempt (WCAG 2.5.8). */
@media (max-width: 60em) {
  .footer-nav ul { gap: 0.125rem; }
  .wordmark { min-height: 2.75rem; display: inline-flex; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* Reduced motion gets the finished state, not a faster version of the trip */
  .js [data-reveal] { opacity: 1; }
  .js .reveal-line > span { transform: none; }
  .js .hero__media img { transform: none; }
  .js .hero .eyebrow,
  .js .hero__sub,
  .js .hero__actions,
  .js .hero__stats,
  .js .hero__pill { opacity: 1; transform: none; }
  .js .hero__leader { transform: none; }
  .js .routemap__dot,
  .js .routemap__stop::after { transform: none; }
  .js .routemap__name,
  .js .routemap__payoff { opacity: 1; }
  .btn:hover, .sector:hover, .project:hover { transform: none; }
}

@media print {
  .site-header, .hero__media, .hero__scrim, .hero__note, .panel::before { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .contact, .site-footer, .hero { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; }
}
