/* ==========================================================================
   Gondal Tech · gondaltech.ca
   One shared stylesheet. No frameworks, no build step.

   Palette   : Ink Navy #0F1420 · Circuit Lime #97BD1F · Leaf Green #7FBE2C
               Sky Blue #63BCE1 · Deep Lime #66821A · Deep Sky #2E80B0
               Neutrals #F4F7FA / #1a2433 / #5a6a80
   Ratio     : 60 white/off-white · 30 navy structure · 10 lime-led accent
   Type      : Segoe UI stack · extrabold headings · uppercase kickers
   Radii     : cards 14px · buttons 10px · inputs 8px · images 12px · pills 999px
   Contrast  : all text tokens pass WCAG 2.2 AA on their assigned surfaces
   ========================================================================== */

:root {
  /* brand — Gen-2 identity (Aug 2026): Deep Midnight structure, leaf-green action,
     light 60-30-10 base. Small-text tokens are AA-verified derivatives where the
     spec hexes measure under 4.5:1 (this site must itself pass WCAG 2.2 AA). */
  --ink: #0B131A;            /* Deep Midnight Blue — dark canvas */
  --ink-2: #16222F;          /* dark structural layer (cards on dark, thead) */
  --navy: #111A24;           /* primary text on light */
  --slate: #5C6B73;          /* secondary text on light — 5.5:1 */
  --cloud: #F4F7F9;          /* dominant light base */
  --layer: #E9EEF2;          /* structural light layer ("felt, not seen") */
  --white: #ffffff;
  --lime: #76B82A;           /* Fresh Leaf Green — accents + CTAs on dark (7.7:1 w/ ink text) */
  --leaf: #86C82F;           /* on-dark hover tint */
  --lime-cta: #5E8F1A;       /* CTA fill on light (4.9:1 with ink text) */
  --lime-cta-hover: #6A9A23;
  --sky: #5DADE2;            /* links on dark — 6.9:1 on ink */
  --deep-lime: #5E8F1A;      /* large/bold green accent text on white */
  --lime-text: #5F7A18;      /* small green text on white — 4.9:1 */
  --deep-sky: #1769AA;       /* focus ring + large blue accent — 5.8:1 on white */
  --sky-text: #1769AA;       /* link text on white — 5.8:1 */

  /* controls & data rules (forms and tables keep visible boundaries; the
     No-Line rule scopes to cards and sectioning) */
  --line: #E4EAEF;
  --line-strong: #C9D6DF;
  --line-ondark: rgba(255, 255, 255, 0.14);
  --ondark-muted: #8CA1B1;   /* muted text on ink — 7:1 */

  /* radii */
  --r-card: 14px;
  --r-btn: 10px;
  --r-input: 8px;
  --r-img: 12px;

  /* type */
  --font: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI",
          system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* shadow — tinted to midnight, never black. With the No-Line rule these
     ARE the card boundaries, so they carry slightly more presence. */
  --shadow-1: 0 1px 3px rgba(11, 19, 26, 0.07), 0 6px 18px -6px rgba(11, 19, 26, 0.11);
  --shadow-2: 0 12px 32px -12px rgba(11, 19, 26, 0.16), 0 2px 8px -2px rgba(11, 19, 26, 0.08);
  --shadow-3: 0 24px 60px -24px rgba(11, 19, 26, 0.30);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --maxw: 1160px;
}

/* ---------- reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

a, button, input, select, textarea, summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.35rem); line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
h4 { font-size: 1.06rem; letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

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

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.45em; }

strong { font-weight: 700; color: var(--ink); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--lime); color: var(--ink); }

/* keyboard focus — visible everywhere, on light and dark */
:focus-visible {
  outline: 3px solid var(--deep-sky);
  outline-offset: 2px;
  border-radius: 4px;
}
.band-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: var(--sky); }

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

/* ---------- layout primitives ---------- */

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

.band { padding: 5.5rem 0; }
.band-tight { padding: 3.5rem 0; }
.band-cloud { background: var(--cloud); }
.band-dark { background: var(--ink); color: var(--ondark-muted); }
.band-dark h2, .band-dark h3, .band-dark h4 { color: var(--white); }
.band-dark p { color: var(--ondark-muted); }
.band-dark a:not(.btn) { color: var(--sky); }
.band-dark strong { color: var(--white); }
.band-hairline { border-top: 0; /* No-Line rule: band alternation carries the boundary */ }

@media (max-width: 720px) {
  .band { padding: 3.5rem 0; }
  .band-tight { padding: 2.5rem 0; }
}

.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.grid-split-wide { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3.5rem; align-items: start; }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-split, .grid-split-wide { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- kicker + section headers ---------- */

.kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-text);
  margin-bottom: 0.9rem;
}
.band-dark .kicker, .hero .kicker { color: var(--lime); }

.section-head { max-width: 760px; margin-bottom: 2.75rem; }
.section-head p { color: var(--slate); font-size: 1.1rem; }
.band-dark .section-head p { color: var(--ondark-muted); }

.lede { font-size: 1.16rem; color: var(--slate); }

/* ---------- visually hidden (screen-reader only) ---------- */

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

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.8rem 1.4rem;
  border-radius: 0 0 var(--r-btn) 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  color: var(--white);
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(11, 19, 26, 0.06), 0 8px 24px -20px rgba(11, 19, 26, 0.18);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}
.brand img { width: 34px; height: auto; }
.brand-name {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}
.brand-name span { color: var(--sky-text); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.55rem 0.78rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.site-nav a:hover { background: var(--cloud); color: var(--ink); }
.site-nav a[aria-current="page"],
.site-nav a[aria-current="true"] {
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--lime);
  border-radius: 8px 8px 0 0;
}

.lang-toggle {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  background: var(--layer);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.lang-toggle:hover { background: #DCE5EC; color: var(--ink); }

.nav-cta { flex-shrink: 0; }

/* mobile nav */
.nav-toggle {
  display: none;
  background: var(--layer);
  border: 0;
  border-radius: var(--r-btn);
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    padding: 0.75rem 24px 1.25rem;
  }
  .site-nav.open {
    display: block;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 0.85rem 0.5rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--lime); padding-left: 0.9rem; }
  .nav-row .nav-cta { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.45rem;
  border-radius: var(--r-btn);
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

/* Leaf Green CTA with midnight text: 7.7:1, passes AA on every surface */
.btn-primary { background: var(--lime); color: var(--ink); border-color: transparent; }
.btn-primary:hover { background: var(--leaf); color: var(--ink); box-shadow: var(--shadow-2); transform: translateY(-1px); }

.btn-ghost { background: var(--layer); color: var(--ink); border-color: transparent; }
.btn-ghost:hover { color: var(--ink); background: #DCE5EC; transform: translateY(-1px); }

.band-dark .btn-ghost, .hero .btn-ghost, .cta-band .btn-ghost { color: var(--white); background: rgba(255, 255, 255, 0.10); }
.band-dark .btn-ghost:hover, .hero .btn-ghost:hover, .cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
/* on tinted bands the layer-tone fill vanishes; use white + shadow instead */
.band-cloud .btn-ghost { background: var(--white); box-shadow: var(--shadow-1); }
.band-cloud .btn-ghost:hover { background: var(--white); box-shadow: var(--shadow-2); }

.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.88rem; }

/* ---------- hero ---------- */

.hero {
  background: var(--ink);
  color: var(--ondark-muted);
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}
/* (right-edge accent removed: flush against the scrollbar it read as a rendering
   glitch; the CTA band keeps the left-edge accent where no scrollbar sits) */
.hero h1 { color: var(--white); max-width: 21ch; font-size: clamp(2.05rem, 3.9vw, 3.05rem); }
.hero h1 .accent { color: var(--lime); }
.hero .lede { color: var(--ondark-muted); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-panel { position: relative; }
.hero-panel img {
  border-radius: var(--r-img);
  box-shadow: var(--shadow-3);
}
.hero-panel figcaption {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--ondark-muted);
}

@media (max-width: 960px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero::after { width: 6px; }
}

/* ---------- compliance strip ---------- */

.compliance-strip {
  background: var(--layer);
}
.compliance-strip ul {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2.2rem;
  align-items: center;
}
.compliance-strip li {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.compliance-strip .tick { color: var(--lime-text); flex-shrink: 0; }

/* ---------- cards ---------- */

/* No-Line rule: cards are defined by tonal layering and shadow, never 1px borders */
.card {
  background: var(--white);
  border: 0;
  border-radius: var(--r-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
a.card { display: block; text-decoration: none; color: inherit; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card:hover, a.card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.card p { color: var(--slate); font-size: 0.99rem; }

/* nested dark cards inherit the dark structural layer */
.band-dark .card, .band-dark a.card {
  background: var(--ink-2);
  box-shadow: none;
}
.band-dark .card h3 { color: var(--white); }
.band-dark .card p { color: var(--ondark-muted); }
.band-dark .card:hover, .band-dark a.card:hover { background: #1B2938; transform: translateY(-3px); }

/* leaf-green arrow links (Gen-2 "Explore Services" pattern) */
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--lime-text);
  text-decoration: none;
}
.card .card-link::after {
  content: "\2192";
  transition: transform 0.25s var(--ease);
}
.card:hover .card-link { color: var(--deep-lime); }
.card:hover .card-link::after { transform: translateX(3px); }
.band-dark .card .card-link { color: var(--leaf); }

/* route-by-method cards — the 4px leaf bar is a brand accent, not a boundary */
.route-card { border-top: 4px solid var(--lime); border-radius: 0 0 var(--r-card) var(--r-card); }
.route-card .threshold {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: block;
  margin: 0.35rem 0 0.5rem;
}
.route-card .method { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-text); }

/* offer cards with price band */
.price-band {
  display: inline-block;
  background: var(--layer);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.fits {
  font-size: 0.86rem;
  color: var(--slate);
  padding-top: 0.8rem;
  margin-top: 1.1rem;
}
.fits strong { font-weight: 700; color: var(--navy); }

/* ---------- stats ---------- */

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } }

.stat .stat-num {
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.band-dark .stat .stat-num { color: var(--white); }
.stat .stat-label { color: var(--slate); font-size: 0.95rem; }
.band-dark .stat .stat-label { color: var(--ondark-muted); }

/* ---------- tables (procurement ladder, tiers, vehicles) ---------- */

.table-wrap { overflow-x: auto; border-radius: var(--r-card); box-shadow: var(--shadow-1); }
table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.97rem; background: var(--white); }
caption {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: 1.02rem;
}
th, td { text-align: left; padding: 0.95rem 1.25rem; vertical-align: top; }
tbody th[scope="row"] { width: 25%; }
thead th {
  background: var(--ink-2);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
tbody tr:nth-child(even) { background: var(--cloud); }
tbody tr:hover { background: var(--layer); }
tbody th { font-weight: 700; color: var(--ink); }
td .num, .num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); white-space: nowrap; }

.table-note { font-size: 0.88rem; color: var(--slate); margin-top: 0.9rem; }

/* shown only when the table actually scrolls (narrow viewports) */
.table-hint { display: none; }
@media (max-width: 760px) {
  .table-hint { display: block; font-size: 0.85rem; color: var(--slate); margin: 0.6rem 0 0; }
}

/* status chips for vehicles table */
.chip {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.chip-live { background: #eaf3d4; color: #3f5310; }
.chip-progress { background: #e2f0f8; color: #1d5a7e; }
.chip-planned { background: var(--layer); color: var(--slate); }

/* ---------- quote / testimonial ---------- */

.quote {
  border-left: 4px solid var(--lime);
  padding: 0.4rem 0 0.4rem 1.6rem;
  margin: 0;
}
.quote p {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 32ch;
}
.band-dark .quote p { color: var(--white); }
.quote footer { margin-top: 1rem; font-size: 0.95rem; color: var(--slate); }
.band-dark .quote footer { color: var(--ondark-muted); }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; }
.band-dark .quote cite { color: var(--white); }

/* ---------- media figures ---------- */

.figure { margin: 0; }
.figure img {
  border-radius: var(--r-img);
  box-shadow: var(--shadow-2);
}
.figure figcaption { margin-top: 0.8rem; font-size: 0.88rem; color: var(--slate); }

/* ---------- steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps { gap: 0.6rem; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.4rem;
  margin: 0;
  border-radius: var(--r-input);
  background: var(--cloud);
}
.band-cloud .steps li, .band-dark .steps li { background: var(--white); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.2rem;
  top: 1.15rem;
  width: 2.7rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--deep-lime);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.steps h3 { margin-bottom: 0.3rem; font-size: 1.12rem; }
.steps p { color: var(--slate); font-size: 0.98rem; max-width: 62ch; }
.steps .step-meta { font-size: 0.85rem; font-weight: 700; color: var(--sky-text); }

/* ---------- checklists ---------- */

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: 0.7em; }
.checklist .tick, .checklist li > svg { position: absolute; left: 0; top: 0.28em; color: var(--lime-text); }
.band-dark .checklist .tick { color: var(--lime); }

/* ---------- FAQ ---------- */

.faq details {
  background: var(--cloud);
  border-radius: var(--r-input);
  margin-bottom: 0.6rem;
  padding: 0 1.2rem;
}
.faq details[open] { background: var(--layer); }
.band-cloud .faq details { background: var(--white); }
.band-cloud .faq details[open] { background: var(--white); }
.faq summary {
  cursor: pointer;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--lime-text);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.3rem; color: var(--slate); max-width: 70ch; }

/* ---------- forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.94rem; color: var(--ink); }
.form-field .hint { font-size: 0.85rem; color: var(--slate); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  background: var(--white);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--deep-sky);
  outline-offset: 1px;
  border-color: var(--deep-sky);
}
textarea { min-height: 140px; resize: vertical; }

/* ---------- badge row / trust ---------- */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--ink-2);
  color: var(--white);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge .tick { color: var(--lime); }
.badge-light { border: 0; background: var(--layer); color: var(--navy); }
.badge-light .tick { color: var(--lime-text); }

/* ---------- page hero (interior pages) ---------- */

.page-head { padding: 4rem 0 3rem; background: var(--cloud); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { max-width: 62ch; }
.page-head .crumbs {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 1.4rem;
}
.page-head .crumbs a { color: var(--sky-text); text-decoration: none; }
.page-head .crumbs a:hover { text-decoration: underline; }
.page-head .crumbs span[aria-hidden] { margin: 0 0.45rem; color: var(--line-strong); }

/* ---------- demo panel (AI answer bot placeholder) ---------- */

.demo-panel {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.demo-panel .demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--ink-2);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
}
.demo-panel .demo-bar .chip { background: rgba(255,255,255,0.12); color: var(--sky); }
.demo-panel .demo-body { padding: 1.5rem; display: grid; gap: 1rem; }
.demo-msg { display: grid; gap: 0.3rem; max-width: 56ch; }
.demo-msg .who { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.demo-msg .bubble {
  border-radius: var(--r-input);
  padding: 0.8rem 1rem;
  font-size: 0.97rem;
  background: var(--layer);
}
.demo-msg.bot .bubble { background: var(--cloud); border-left: 3px solid var(--lime); }
.demo-msg .src { font-size: 0.82rem; color: var(--sky-text); }
.demo-note { padding: 0.9rem 1.5rem; font-size: 0.88rem; color: var(--slate); background: var(--cloud); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--ondark-muted);
  padding: 4rem 0 2.5rem;
  font-size: 0.95rem;
}
.site-footer a { color: var(--ondark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-ondark);
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { margin: 0 0 1rem; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-name span { color: var(--sky); }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }

.site-footer h2 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-ondark);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  padding-top: 1.75rem;
  font-size: 0.88rem;
}
.footer-legal .spacer { flex: 1; }

.footer-crosslink {
  padding: 1.5rem 0 0;
  font-size: 0.92rem;
}
.footer-crosslink strong { color: var(--white); }

/* ---------- CTA band ---------- */

.cta-band { background: var(--ink); position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 10px;
  background: linear-gradient(180deg, var(--lime), var(--leaf));
}
.cta-band { color: var(--ondark-muted); }
.cta-band h2, .cta-band h3 { color: var(--white); }
.cta-band p { color: var(--ondark-muted); }
.cta-band a:not(.btn) { color: var(--sky); }
.cta-band :focus-visible { outline-color: var(--sky); }
.cta-band .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { margin: 0; }

/* ---------- work / evidence ---------- */

.work-card .sector {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-text);
  display: block;
  margin-bottom: 0.5rem;
}
.work-card img {
  border-radius: var(--r-input);
  margin-bottom: 1.1rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  width: 100%;
  box-shadow: var(--shadow-1);
}
/* honest tonal placeholder for anonymized case studies with no publishable image */
.card-placeholder {
  border-radius: var(--r-input);
  margin-bottom: 1.1rem;
  aspect-ratio: 16 / 10;
  background: var(--layer);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-placeholder img { width: 72px; height: auto; opacity: 0.45; }
.attribution { font-size: 0.86rem; color: var(--slate); font-style: normal; }
.attribution-logo { width: 104px; height: auto; margin-bottom: 0.5rem; }

.profile-box {
  background: var(--layer);
  border-radius: var(--r-card);
  padding: 1.5rem 1.75rem;
}
.profile-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem; }
.profile-box dt { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.profile-box dd { margin: 0; color: var(--slate); font-size: 0.95rem; }

/* ---------- definition rows (compliance pages) ---------- */

.fact-rows { display: grid; gap: 0.6rem; }
.fact-rows > div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--r-input);
  background: var(--cloud);
}
.band-cloud .fact-rows > div { background: var(--white); }
@media (max-width: 720px) { .fact-rows > div { grid-template-columns: 1fr; gap: 0.4rem; } }
.fact-rows dt, .fact-rows .fact-label { font-weight: 700; color: var(--ink); }
.fact-rows dd { margin: 0; color: var(--slate); }
.fact-rows dd p { color: var(--slate); }

/* ---------- utility ---------- */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1.5rem; }
.muted { color: var(--slate); }
.small { font-size: 0.9rem; }
.nowrap { white-space: nowrap; }
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

.updated-stamp {
  display: inline-block;
  font-size: 0.84rem;
  color: var(--slate);
  background: var(--layer);
  border-radius: 999px;
  padding: 0.32rem 0.9rem;
}

/* ---------- print (capability statement) ---------- */

@media print {
  .site-header, .site-footer, .cta-band, .skip-link, .nav-toggle { display: none !important; }
  .band { padding: 1.5rem 0; }
  body { font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
}
