/* First Link – site styles
   ----------------------------------------------------------------
   Tokens first; components follow in page order. No build step. */

:root {
  --brand: #008db0;
  --brand-strong: #00728f;
  --brand-soft: #e6f4f8;
  --ink: #17242b;
  --ink-2: #44555e;
  --ink-3: #6b7b83;
  --slate: #2c3940;
  --bg: #ffffff;
  --bg-alt: #f4f7f8;
  --surface: #ffffff;
  --line: #dfe6e9;
  --ok: #1f8a4c;
  --ok-soft: #e5f4ea;
  --warn: #b26a00;
  --warn-soft: #fdf1dc;
  --green: #3c8d2f;

  --hero-1: #0f1d24;
  --hero-2: #12323d;
  --on-hero: #eef5f7;
  --on-hero-2: #b7c9cf;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgb(16 32 40 / 6%), 0 1px 1px rgb(16 32 40 / 4%);
  --shadow: 0 10px 30px -12px rgb(16 32 40 / 18%), 0 2px 6px rgb(16 32 40 / 5%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 72px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #2bb3d4;
    --brand-strong: #5cc8e2;
    --brand-soft: #10303a;
    --ink: #e8eef1;
    --ink-2: #b3c1c7;
    --ink-3: #8a9aa1;
    --bg: #0f171c;
    --bg-alt: #131e24;
    --surface: #18252c;
    --line: #26363e;
    --ok: #4cc27c;
    --ok-soft: #12301f;
    --warn: #f0a83a;
    --warn-soft: #33260f;
    --green: #74c45f;
    --hero-1: #0a1216;
    --hero-2: #0f2a33;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 30%);
    --shadow: 0 12px 30px -12px rgb(0 0 0 / 60%);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */

*, *::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;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 6vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-strong); }

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

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

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

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--brand); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.75em 1.35em;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.98rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -8px var(--brand); }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: #0f1d24; }
.btn-light:hover { background: var(--brand-soft); color: #0f1d24; }
.btn-outline-light { border-color: rgb(255 255 255 / 35%); color: var(--on-hero); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgb(255 255 255 / 6%); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: var(--header-h);
}
.brand img { width: 117px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 0.5rem 0.8rem; border-radius: var(--radius-sm);
  color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.97rem;
  transition: color .15s, background-color .15s;
}
.site-nav ul a:hover { color: var(--ink); background: var(--bg-alt); }
.site-nav ul a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav-call { padding: 0.6em 1.1em; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; padding: 0;
  color: var(--ink);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  margin-inline: auto; position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .site-nav.is-open { display: flex; animation: drop .2s ease-out; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 0.8rem 0.75rem; font-size: 1.05rem; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--on-hero);
  background:
    radial-gradient(900px 500px at 85% 10%, rgb(0 141 176 / 38%), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgb(0 141 176 / 18%), transparent 60%),
    linear-gradient(160deg, var(--hero-1), var(--hero-2));
  padding-block: clamp(4rem, 10vw, 7.5rem) clamp(4rem, 9vw, 6.5rem);
}
.hero-art {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  opacity: 0.55; pointer-events: none;
}
.hero-art .links { stroke: rgb(120 210 235 / 30%); stroke-width: 1; fill: none; }
.hero-art .nodes circle { fill: #6fd3ee; }
.hero-art .pulse { animation: pulse 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-art .pulse:nth-child(2n) { animation-delay: 1.2s; }
.hero-art .pulse:nth-child(3n) { animation-delay: 2.4s; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.hero-inner { max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.hero .eyebrow {
  color: #8fdcf0; padding: 0.35rem 0.8rem; border-radius: 999px;
  background: rgb(0 141 176 / 18%); border: 1px solid rgb(143 220 240 / 25%);
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: #6fd3ee; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--on-hero-2); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem;
  margin-top: clamp(3rem, 7vw, 4.5rem); padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  max-width: 900px;
}
.hero-facts strong { display: block; font-size: clamp(1.45rem, 5vw, 1.9rem); font-weight: 750; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
.hero-facts span { color: var(--on-hero-2); font-size: 0.92rem; }

/* ---------- Inner page hero ---------- */

.page-hero {
  color: var(--on-hero);
  background:
    radial-gradient(700px 300px at 90% 0%, rgb(0 141 176 / 35%), transparent 65%),
    linear-gradient(160deg, var(--hero-1), var(--hero-2));
  padding-block: clamp(3rem, 7vw, 4.75rem);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.4em; }
.page-hero .eyebrow { color: #8fdcf0; }
.page-hero p { color: var(--on-hero-2); font-size: 1.15rem; max-width: 680px; margin: 0; }

.page-hero.has-image {
  position: relative; isolation: isolate;
  background: var(--hero-1);
  padding-block: clamp(4rem, 10vw, 7rem);
}
.page-hero.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(10 18 22 / 88%) 0%, rgb(10 18 22 / 55%) 55%, rgb(10 18 22 / 10%) 100%),
    var(--hero-image, none) center 40% / cover no-repeat;
}
.hero-green::before {
  background: linear-gradient(90deg, rgb(10 18 22 / 88%) 0%, rgb(10 18 22 / 55%) 55%, rgb(10 18 22 / 10%) 100%),
    url("../img/green-tree.jpg") center 40% / cover no-repeat;
}
.card-icon-green { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-2); margin-bottom: 0; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover, .card.lift:hover {
  transform: translateY(-3px); box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.1rem;
  border-radius: 12px; background: var(--brand-soft); color: var(--brand);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-more {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem;
  font-weight: 600; font-size: 0.95rem; color: var(--brand);
}
.card-more .icon { width: 1em; height: 1em; transition: transform .2s; }
a.card:hover .card-more .icon { transform: translateX(3px); }

.ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.55em;
  width: 0.8rem; height: 0.45rem;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- Split layout ---------- */

.split {
  display: grid; gap: clamp(2rem, 6vw, 4.5rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.split-media {
  border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; background: var(--bg-alt);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Feature list (why us) ---------- */

.features { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .card-icon { margin: 0; width: 42px; height: 42px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.feature p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }

/* ---------- Client logos ---------- */

.logo-wall {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
}
.logo-tile {
  display: grid; place-items: center; gap: 0.4rem;
  min-height: 112px; padding: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center;
}
.logo-tile img {
  max-height: 46px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.75; transition: filter .25s, opacity .25s;
}
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile figcaption { font-size: 0.78rem; color: #5b6b73; line-height: 1.3; }

/* ---------- Callout / CTA ---------- */

.cta {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  color: var(--on-hero);
  background:
    radial-gradient(500px 260px at 100% 0%, rgb(0 141 176 / 45%), transparent 70%),
    linear-gradient(150deg, var(--hero-1), var(--hero-2));
}
.cta h2 { color: #fff; margin-bottom: 0.3rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta p { color: var(--on-hero-2); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.green-band {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + 6px);
  background: color-mix(in srgb, var(--green) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 25%, var(--line));
}
.green-band .eyebrow { color: var(--green); }
.green-band .card-icon { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.green-band p { color: var(--ink-2); }
.green-band img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* ---------- Contact ---------- */

.status {
  display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  background: var(--ok-soft); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent);
}
.status.is-issue { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.status-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent);
  animation: ring 2.4s infinite;
}
.status.is-issue .status-dot { background: var(--warn); }
@keyframes ring { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.status strong { font-weight: 650; }

.contact-card { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-card .label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.contact-card .value { font-size: clamp(1.05rem, 4.4vw, 1.3rem); font-weight: 650; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a.value:hover { color: var(--brand); }
.contact-card address { font-style: normal; }
.contact-card .hint { color: var(--ink-2); font-size: 0.95rem; margin: 0.35rem 0 0; }

/* ---------- Accounts ---------- */

.pay-option { display: flex; flex-direction: column; }
.pay-option .ticks { margin-top: 0.75rem; }
.note {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  background: var(--brand-soft); color: var(--ink);
}
.note .icon { color: var(--brand); margin-top: 0.2rem; }
.note p { margin: 0; }

.address {
  font-style: normal; margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--bg-alt); border: 1px dashed var(--line); font-weight: 600; line-height: 1.5;
}

/* ---------- Prose (policy pages) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose ol { padding-left: 1.4rem; }
.prose ol ol { list-style: lower-roman; margin-top: 0.5rem; }
.prose ol ol ol { list-style: lower-alpha; }
.prose li { margin-bottom: 0.5rem; color: var(--ink-2); }
.prose li::marker { color: var(--brand); font-weight: 600; }
.prose ol.alpha { list-style: lower-alpha; }
.prose .meta { color: var(--ink-3); font-size: 0.95rem; }

.legal-layout { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
.legal-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; } .legal-aside { position: static; } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--hero-1); color: var(--on-hero-2);
  padding-top: clamp(3rem, 7vw, 4.5rem); font-size: 0.97rem;
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); } }
.footer-brand img { width: 117px; margin-bottom: 1rem; }
.footer-brand p { max-width: 300px; }
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--on-hero-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .icon { color: #6fd3ee; margin-top: 0.2rem; width: 1.05em; height: 1.05em; }
.footer-legal {
  margin-top: 3rem; padding-block: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.85rem; color: #8aa0a8;
}
.footer-legal p { margin: 0; }

/* ---------- Motion ---------- */

/* Only hide for the reveal when JS is running, so content never stays invisible. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-2); }

/* ---------- Page-specific ---------- */

.hero-facts dd { margin: 0; }
.card-accent { background: var(--brand-soft); border-color: transparent; }
.card-accent .card-icon { background: var(--surface); }

.service-jump { border-bottom: 1px solid var(--line); background: var(--bg); }
.service-jump ul {
  display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0.9rem 0;
  overflow-x: auto; scrollbar-width: none;
}
.service-jump ul::-webkit-scrollbar { display: none; }
.service-jump a {
  display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap;
  padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.93rem;
  transition: color .15s, border-color .15s, background-color .15s;
}
.service-jump a:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.service-jump .icon { width: 1.05em; height: 1.05em; }

.service-row {
  display: grid; gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.service-row .card h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.service-row .ticks li { font-size: 1.08rem; color: var(--ink); margin-bottom: 0.7rem; }

.story { max-width: 780px; margin-inline: auto; }
.story p { color: var(--ink-2); font-size: 1.08rem; }

/* Timeline: single column with a rail on the left; alternates either side of a centre rail from 860px. */
.timeline { --rail: 11px; list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 980px; }
.timeline::before {
  content: ""; position: absolute; left: var(--rail); top: 0.5rem; bottom: 0.5rem; width: 2px;
  background: linear-gradient(color-mix(in srgb, var(--brand) 25%, transparent), var(--brand));
}
.timeline li {
  position: relative; margin: 0 0 1.25rem 2.75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm);
}
.timeline li:last-child { margin-bottom: 0; border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.timeline li::before {
  content: ""; position: absolute; top: 1.45rem; left: calc(-2.75rem + var(--rail) - 8px);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--brand); box-sizing: border-box;
}
.timeline li:last-child::before { background: var(--brand); }
.timeline-year {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 0.2rem 0.6rem; border-radius: 999px;
}
.timeline h3 { margin: 0.6rem 0 0.3rem; }
.timeline p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }

@media (min-width: 860px) {
  .timeline::before { left: calc(50% - 1px); }
  .timeline li { width: calc(50% - 2.5rem); margin: 0 0 -1.5rem; }
  .timeline li:nth-child(even) { margin-left: auto; }
  .timeline li:last-child { margin-bottom: 0; }
  .timeline li:nth-child(odd)::before { left: auto; right: calc(-2.5rem - 9px); }
  .timeline li:nth-child(even)::before { left: calc(-2.5rem - 9px); }
}

.h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
.legal-aside h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.legal-aside hr { border: 0; border-top: 1px solid var(--line); margin: 1.25rem 0; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.toc-doc { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 600; text-decoration: none; }

/* ---------- Phones & touch ---------- */

@media (max-width: 599px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .card { padding: 1.4rem; }
  .logo-tile { min-height: 96px; padding: 0.75rem; }
  .logo-tile img { max-height: 38px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* Touch screens: no hover state to reveal logo colour, and no sticky hover lift. */
@media (hover: none) {
  .logo-tile img { filter: none; opacity: 1; }
  a.card:hover, .card.lift:hover, .btn:hover { transform: none; }
}
