/* =====================================================================
   AvalonQuad Engineering & Infrastructure Pvt. Ltd. — Main stylesheet
   ---------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout helpers
   5.  Buttons & links
   6.  Header & navigation
   7.  Hero
   8.  Sections & section headers
   9.  Division cards
   10. Capability grid
   11. Project cards & filters
   12. Split / service rows
   13. Process / journey steps
   14. Values, stats, brand structure
   15. Future solutions
   16. CTA band
   17. Forms & contact
   18. Footer
   19. Utilities, media fallback, reveal animation
   20. Responsive
   ===================================================================== */

/* 1. DESIGN TOKENS ---------------------------------------------------- */
:root {
  --ink: #0d0f11;
  --charcoal: #15181b;
  --graphite: #1d2125;
  --steel: #2b3036;
  --slate: #4f575f;
  --muted: #646c75;
  --line: #e2e3df;
  --line-dark: rgba(255, 255, 255, 0.12);
  --paper: #ffffff;
  --mist: #f4f4f1;

  /* Brand / Infrastructure accent — AvalonQuad logo red (#E91D26) */
  --red: #e91d26;        /* fills, buttons (white text), large headings */
  --red-deep: #c4141d;   /* red text on white/light backgrounds */
  --red-bright: #ff5a60; /* small red text on dark backgrounds */
  /* AQ Energy accent (green) */
  --green: #45c485;
  --green-deep: #1b7549;

  /* Active accent — switched per page / component */
  --accent: var(--red);
  --accent-deep: var(--red-deep);
  --accent-text: var(--red-bright); /* accent-coloured small text on dark */
  --on-accent: #fff;
  --focus: var(--ink);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 144px);
  --header-h: 80px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* AQ Energy page theme — swaps the accent to green */
.theme-energy {
  --accent: var(--green);
  --accent-deep: var(--green-deep);
  --accent-text: var(--green);
  --on-accent: var(--ink);
}
.accent-energy { --accent: var(--green); --accent-deep: var(--green-deep); --accent-text: var(--green); --on-accent: var(--ink); }
.accent-infra { --accent: var(--red); --accent-deep: var(--red-deep); --accent-text: var(--red-bright); --on-accent: #fff; }

/* Dark contexts use the accent colour for focus rings */
.site-header, .hero, .page-hero, .section--dark, .cta-band, .site-footer,
.nav-panel, .division-card, .statement {
  --focus: var(--accent);
}

/* 2. RESET & BASE ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* 3. TYPOGRAPHY ------------------------------------------------------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.display-xl {
  font-size: clamp(2.6rem, 7.2vw, 7rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.display-lg {
  font-size: clamp(2.3rem, 5.2vw, 5rem);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
.h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  line-height: 1;
}
.h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}
.lead {
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  line-height: 1.6;
  color: var(--slate);
}
.section--dark .lead, .hero .lead, .page-hero .lead, .cta-band .lead { color: rgba(255, 255, 255, 0.78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--accent);
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: rgba(255, 255, 255, 0.7); }

.text-accent { color: var(--accent); }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--slate); }
.section--dark .prose p { color: rgba(255, 255, 255, 0.74); }

.placeholder-note {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px dashed #c3c5c0;
  padding: 6px 10px;
}
.section--dark .placeholder-note { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.25); }

/* 4. LAYOUT HELPERS --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.stack > * + * { margin-top: 24px; }

/* 5. BUTTONS & LINKS -------------------------------------------------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(5px); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-bd: var(--accent); }
.btn--accent:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.45); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-bd: var(--accent); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
}
.link-arrow .arrow { transition: transform .3s var(--ease); }

/* 6. HEADER & NAVIGATION --------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(13, 15, 17, 0.94);
  border-bottom-color: var(--line-dark);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  --header-h: 68px;
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
/* Logo mark: images/logo-mark-light.png (white + red, for dark backgrounds).
   For light backgrounds use images/logo-mark.png (black + red). */
.brand-mark { height: 46px; width: auto; flex: none; }
.site-header.is-scrolled .brand-mark { height: 38px; }
.site-footer .brand-mark { height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-sub {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.7; margin-top: 5px;
}

.primary-nav .nav-list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  transition: color .25s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.primary-nav a[data-nav="energy"]::after { background: var(--green); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle-lines { position: relative; width: 24px; height: 14px; }
.nav-toggle-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.nav-toggle-lines span:nth-child(1) { top: 0; }
.nav-toggle-lines span:nth-child(2) { top: 6px; }
.nav-toggle-lines span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.nav-panel-meta { display: none; }

/* 7. HERO ------------------------------------------------------------- */
.hero, .page-hero {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,15,17,.82) 0%, rgba(13,15,17,.45) 55%, rgba(13,15,17,.2) 100%),
    linear-gradient(180deg, rgba(13,15,17,.55) 0%, rgba(13,15,17,0) 30%, rgba(13,15,17,.7) 100%);
}
.hero-content {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 620px; margin-top: 32px; }
.hero .btn-row { margin-top: 40px; }

.hero-strip {
  border-top: 1px solid var(--line-dark);
  background: rgba(13, 15, 17, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-strip ol { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-strip li {
  padding: 26px clamp(16px, 2.4vw, 32px) 26px 0;
  display: flex; gap: 16px; align-items: baseline;
}
.hero-strip li + li { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line-dark); }
.hero-strip .num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--red-bright); }
.hero-strip li.is-energy .num { color: var(--green); }
.hero-strip strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.02em; text-transform: uppercase; }
.hero-strip span.sub { display: block; font-size: 0.875rem; color: rgba(255,255,255,.66); margin-top: 4px; }

.page-hero { min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; }
.page-hero .container { padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 640px; margin-top: 28px; }
.page-hero--compact { min-height: 58vh; min-height: 58svh; }

.breadcrumb { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 28px; color: rgba(255,255,255,.6); }
.breadcrumb ol { display: flex; gap: 10px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Division lock-up used on AQ Energy page & cards */
.division-lockup { display: inline-flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.division-lockup .lockup-name {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text);
}
.division-lockup .lockup-parent {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  padding-left: 14px; border-left: 2px solid var(--accent);
}

/* 8. SECTIONS --------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--charcoal); color: #fff; }
.section--ink { background: var(--ink); color: #fff; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section + .section--mist, .section--mist + .section:not(.section--dark):not(.section--mist) { border-top: 0; }

.section-head { margin-bottom: clamp(44px, 6vw, 80px); align-items: end; }
.section-head .head-title { grid-column: 1 / span 7; }
.section-head .head-aside { grid-column: 8 / span 5; }
.section-head .head-aside .lead { margin-bottom: 0; }
.section-head--center { text-align: center; max-width: 820px; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

.intro-grid .intro-title { grid-column: 1 / span 6; }
.intro-grid .intro-body { grid-column: 7 / span 6; padding-top: 8px; }
.intro-grid .link-arrow { margin-top: 36px; }

/* 9. DIVISION CARDS --------------------------------------------------- */
.division-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.division-card {
  position: relative;
  min-height: clamp(560px, 62vw, 720px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--graphite);
  overflow: hidden; isolation: isolate;
  border-top: 4px solid var(--accent);
}
.division-card .card-media { position: absolute; inset: 0; z-index: -2; }
.division-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.division-card:hover .card-media img { transform: scale(1.04); }
.division-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,15,17,.25) 0%, rgba(13,15,17,.55) 40%, rgba(13,15,17,.94) 100%);
}
.division-card .card-body { padding: clamp(28px, 3.5vw, 48px); }
.division-card .division-tag {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 18px; display: block;
}
.division-card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; }
.division-card .tagline { margin-top: 14px; color: rgba(255,255,255,.8); font-size: 1.0625rem; }
.division-card .service-list { margin: 28px 0 36px; border-top: 1px solid var(--line-dark); }
.division-card .service-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 0.95rem; color: rgba(255,255,255,.88);
}
.division-card .service-list li::after { content: ""; width: 6px; height: 6px; background: var(--accent); }
.division-badge {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 12px; border: 1px solid rgba(255,255,255,.35); color: #fff;
  background: rgba(13,15,17,.4);
}

/* 10. CAPABILITY GRID ------------------------------------------------- */
.capability-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.capability {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background-color .35s var(--ease);
}
.capability::before {
  content: ""; position: absolute; left: -1px; top: -1px; height: 3px; width: 0;
  background: var(--accent); transition: width .45s var(--ease);
}
.capability:hover::before { width: calc(100% + 2px); }
.capability .icon { width: 36px; height: 36px; color: var(--ink); margin-bottom: 40px; }
.capability .cap-num { position: absolute; top: clamp(28px, 3vw, 40px); right: clamp(28px, 3vw, 40px); font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.capability h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.005em; line-height: 1.25; margin-bottom: 10px; }
.capability p { font-size: 0.9375rem; color: var(--slate); line-height: 1.55; }
.capability-grid--5 { grid-template-columns: repeat(5, 1fr); }
.capability-grid--3 { grid-template-columns: repeat(3, 1fr); }

.icon { stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }

/* 11. PROJECTS -------------------------------------------------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.filter-btn {
  min-height: 44px; padding: 0 20px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate); border-radius: var(--radius);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn[data-filter="energy"][aria-pressed="true"] { background: var(--green-deep); border-color: var(--green-deep); }
.filter-status { margin: -24px 0 32px; font-size: 0.875rem; color: var(--muted); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.project-card { display: flex; flex-direction: column; background: var(--paper); }
.section--mist .project-card { background: var(--paper); }
.project-card[hidden] { display: none; }
.project-card .card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite); }
.project-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-card:hover .card-media img { transform: scale(1.05); }
.project-card .card-cat {
  position: absolute; left: 0; top: 0;
  padding: 8px 12px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--red); color: #fff;
}
.project-card.is-energy .card-cat { background: var(--green); }
.project-card .card-flag {
  position: absolute; right: 12px; bottom: 12px;
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(13,15,17,.78); color: #fff; padding: 6px 10px;
}
.project-card .card-body { padding: 24px 26px 30px; flex: 1; display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 0; }
.project-card .card-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.8125rem; color: var(--muted); margin-bottom: 12px; }
.project-card .card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-card .card-meta svg { width: 14px; height: 14px; }
.project-card h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 12px; }
.project-card p { font-size: 0.9375rem; color: var(--slate); line-height: 1.55; }

/* Gallery variant (Infrastructure page) */
.project-grid--gallery { grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; }
.project-grid--gallery .project-card { grid-column: span 2; position: relative; }
.project-grid--gallery .project-card:nth-child(1),
.project-grid--gallery .project-card:nth-child(4) { grid-column: span 4; }
.project-grid--gallery .project-card .card-media { aspect-ratio: auto; height: clamp(300px, 34vw, 460px); }
.project-grid--gallery .project-card .card-body {
  position: absolute; inset: auto 0 0 0; border: 0; color: #fff;
  background: linear-gradient(180deg, rgba(13,15,17,0) 0%, rgba(13,15,17,.9) 70%);
  padding-top: 80px;
}
.project-grid--gallery .project-card .card-meta { color: rgba(255,255,255,.72); }
.project-grid--gallery .project-card p { color: rgba(255,255,255,.8); display: none; }
.project-grid--gallery .project-card .card-flag { top: 12px; bottom: auto; }

.projects-footer { margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.projects-footer p { color: var(--muted); font-size: 0.9375rem; max-width: 560px; }

/* 12. SPLIT / SERVICE ROWS ------------------------------------------- */
.split { align-items: center; }
.split .split-media { grid-column: 1 / span 6; }
.split .split-body { grid-column: 8 / span 5; }
.split--reverse .split-media { grid-column: 7 / span 6; order: 2; }
.split--reverse .split-body { grid-column: 1 / span 5; order: 1; }
.split-media .media { aspect-ratio: 5 / 4; }

.media { position: relative; overflow: hidden; background: var(--graphite); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5 !important; }

.service-row + .service-row { margin-top: clamp(80px, 10vw, 140px); }
.service-num {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--accent-deep);
  display: block; margin-bottom: 18px;
}
.section--dark .service-num { color: var(--accent-text); }
.service-row h2, .service-row h3 { margin-bottom: 24px; }
.scope-list { margin-top: 32px; border-top: 1px solid var(--line); }
.section--dark .scope-list { border-top-color: var(--line-dark); }
.scope-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 0.975rem;
}
.section--dark .scope-list li { border-bottom-color: var(--line-dark); color: rgba(255,255,255,.86); }
.scope-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; background: var(--accent); }

/* Statement band */
.statement { background: var(--ink); color: #fff; padding-block: clamp(64px, 8vw, 112px); border-top: 4px solid var(--accent); }
.statement p {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -0.015em;
  max-width: 26ch;
}
.statement p .text-accent { color: var(--accent); }
.statement-grid { align-items: end; }
.statement-grid .statement-text { grid-column: 1 / span 8; }
.statement-grid .statement-aside { grid-column: 9 / span 4; color: rgba(255,255,255,.7); font-size: 1rem; }

/* 13. PROCESS / JOURNEY ---------------------------------------------- */
.journey { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; counter-reset: step; }
.journey::before {
  content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line-dark);
}
.journey-step { position: relative; padding-right: 20px; }
.journey-step .step-dot {
  position: relative; z-index: 1;
  width: 47px; height: 47px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  background: var(--charcoal); color: var(--accent);
  border: 1px solid var(--accent);
  margin-bottom: 28px;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.journey-step:hover .step-dot { background: var(--accent); color: var(--ink); }
.journey-step h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; text-transform: uppercase; }
.journey-step p { font-size: 0.9rem; color: rgba(255,255,255,.66); line-height: 1.55; }

.process {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}
.process--4 { grid-template-columns: repeat(4, 1fr); }
.process-step { padding: 32px 28px 8px 0; position: relative; }
.process-step + .process-step { padding-left: 28px; border-left: 1px solid var(--line); }
.process-step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 3px; background: var(--accent);
}
.process-step + .process-step::before { left: 28px; }
.process-step .step-num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); display: block; margin-bottom: 20px; }
.process-step h3 { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0; margin-bottom: 10px; }
.process-step p { font-size: 0.9375rem; color: var(--slate); line-height: 1.55; }
.section--dark .process { border-top-color: var(--line-dark); }
.section--dark .process-step + .process-step { border-left-color: var(--line-dark); }
.section--dark .process-step p { color: rgba(255,255,255,.68); }
.section--dark .process-step .step-num { color: rgba(255,255,255,.5); }

/* 14. VALUES, STATS, BRAND STRUCTURE --------------------------------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.value { background: var(--charcoal); padding: clamp(32px, 3.4vw, 48px); transition: background-color .35s var(--ease); }
.value:hover { background: var(--graphite); }
.value .icon { width: 32px; height: 32px; color: var(--accent); margin-bottom: 36px; }
.value h3 { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 12px; }
.value p { color: rgba(255,255,255,.68); font-size: 0.95rem; line-height: 1.6; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.stat dd { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.1; order: -1; }
.stat { display: flex; flex-direction: column; }
.stat dd.is-placeholder { color: var(--muted); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.4rem); }

/* Brand architecture diagram */
.brand-tree { max-width: 980px; margin-inline: auto; }
.tree-parent {
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  padding: 28px 32px; text-align: center; position: relative;
}
.tree-parent .tree-role, .tree-node .tree-role {
  display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: .7; margin-bottom: 8px;
}
.tree-parent strong { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -0.01em; }
.tree-connector { position: relative; height: 56px; }
.tree-connector::before { content: ""; position: absolute; left: 50%; top: 0; height: 28px; border-left: 1px solid var(--ink); }
.tree-connector::after { content: ""; position: absolute; left: 25%; right: 25%; top: 28px; height: 28px; border: 1px solid var(--ink); border-bottom: 0; }
.tree-children { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tree-node { border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 28px 30px; background: var(--paper); }
.tree-node strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.tree-node p { font-size: 0.95rem; color: var(--slate); }
.tree-node .tree-role { color: var(--accent-deep); opacity: 1; }

/* Relationship band on AQ Energy page */
.backed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); margin-top: 48px; }
.backed-item { border-top: 2px solid var(--accent); padding-top: 24px; }
.backed-item h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; }
.backed-item p { color: var(--slate); font-size: 0.95rem; }

/* 15. FUTURE SOLUTIONS ------------------------------------------------ */
.future-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.future-card {
  border: 1px dashed rgba(255,255,255,.28);
  padding: 32px 28px;
  display: flex; flex-direction: column; min-height: 260px;
  transition: border-color .3s var(--ease);
}
.future-card:hover { border-color: var(--accent); }
.future-card .icon { width: 30px; height: 30px; color: rgba(255,255,255,.75); margin-bottom: 28px; }
.future-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; }
.future-card p { font-size: 0.9rem; color: rgba(255,255,255,.64); line-height: 1.55; flex: 1; }
.future-tag {
  align-self: flex-start; margin-top: 24px;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.8);
}
.future-disclaimer { margin-top: 32px; font-size: 0.875rem; color: rgba(255,255,255,.55); max-width: 720px; }

/* 16. CTA BAND -------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--ink); color: #fff;
  padding-block: clamp(96px, 12vw, 176px);
  overflow: hidden; isolation: isolate;
}
.cta-band::before {
  /* subtle engineering grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.cta-band::after {
  content: ""; position: absolute; left: var(--gutter); top: 0; width: 120px; height: 4px; background: var(--accent);
}
.cta-band h2 { max-width: 12ch; }
.cta-band .lead { max-width: 560px; margin-top: 28px; }
.cta-band .btn-row { margin-top: 44px; }
.cta-grid { align-items: end; }
.cta-grid .cta-title { grid-column: 1 / span 8; }
.cta-grid .cta-side { grid-column: 9 / span 4; }

/* 17. FORMS & CONTACT ------------------------------------------------- */
.contact-grid .contact-form-wrap { grid-column: 1 / span 7; }
.contact-grid .contact-aside { grid-column: 9 / span 4; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 10px; color: var(--ink);
}
.field label .req { color: var(--red-deep); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #c9cbc6;
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d0f11' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(233, 29, 38, .28);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { font-size: 0.8125rem; color: #b3261e; margin-top: 8px; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { font-size: 0.8125rem; color: var(--muted); margin-top: 8px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.form-footer small { color: var(--muted); font-size: 0.8125rem; }
.form-status {
  margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--red); background: var(--mist);
  font-size: 0.95rem;
}
.form-status:empty { display: none; }
.form-status.is-success { border-left-color: var(--green-deep); }
.form-status.is-error { border-left-color: #b3261e; }

.contact-aside { border-top: 4px solid var(--ink); padding-top: 32px; }
.contact-aside h3 { font-size: 1.25rem; font-weight: 800; text-transform: uppercase; margin-bottom: 28px; }
.contact-list { display: grid; gap: 24px; }
.contact-list dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-list dd { font-size: 1.0625rem; font-weight: 500; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-divisions { margin-top: 40px; display: grid; gap: 12px; }
.contact-divisions .div-pill {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  font-size: 0.9rem; font-weight: 600;
}
.contact-divisions .div-pill span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }

/* 18. FOOTER ---------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(72px, 8vw, 112px); font-size: 0.95rem; }
.footer-top { padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand .brand { color: #fff; }
.footer-legal-name { margin-top: 24px; color: #fff; font-weight: 600; }
.footer-sectors { margin-top: 10px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.footer-col { grid-column: span 2; }
.footer-col--wide { grid-column: span 3; }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 22px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.82); transition: color .2s; }
.footer-col a:hover { color: var(--red-bright); }
.footer-division { display: block; }
.footer-division + .footer-division { margin-top: 18px; }
.footer-division strong { display: block; color: #fff; font-weight: 600; }
.footer-division small { font-size: 0.8125rem; color: rgba(255,255,255,.55); }
.footer-division.is-energy strong { color: var(--green); }
.footer-division.is-infra strong { color: var(--red-bright); }
.social-list { display: flex; gap: 10px; margin-top: 28px; }
.social-list a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: rgba(255,255,255,.8);
  transition: border-color .25s, color .25s, background-color .25s;
}
.social-list a:hover { border-color: var(--red); color: #fff; background: var(--red); }
.social-list svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 28px; font-size: 0.8125rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.7); }

/* 19. UTILITIES, MEDIA FALLBACK, REVEAL ------------------------------ */
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }
.text-center { text-align: center; }

/* Shown when an image fails to load (e.g. offline or before real photos are added) */
.media-fallback {
  background-color: var(--graphite);
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.media-fallback > img { visibility: hidden; }

.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.hero-content > * { animation: heroIn 1s var(--ease) both; }
.hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero-content > *:nth-child(3) { animation-delay: .24s; }
.hero-content > *:nth-child(4) { animation-delay: .36s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .division-card:hover .card-media img, .project-card:hover .card-media img { transform: none; }
}

/* 20. RESPONSIVE ------------------------------------------------------ */
@media (max-width: 1180px) {
  .capability-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .future-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(4, 1fr); row-gap: 48px; }
  .journey::before { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
  .primary-nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--ink);
    padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .primary-nav.nav-panel.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
  .primary-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line-dark); }
  .primary-nav .nav-list li { border-bottom: 1px solid var(--line-dark); }
  .primary-nav a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0;
    font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 800; letter-spacing: -0.01em;
    color: #fff;
  }
  .primary-nav a::after { position: static; width: 10px; height: 10px; transform: none; opacity: 0; }
  .primary-nav a[aria-current="page"]::after { opacity: 1; }
  .nav-panel-meta { display: block; margin-top: 40px; color: rgba(255,255,255,.6); font-size: 0.9rem; }
  .nav-panel-meta strong { display: block; color: #fff; font-weight: 600; margin-bottom: 6px; }
  .site-header.nav-is-open { background: var(--ink); }

  .grid-12 > * { grid-column: 1 / -1 !important; }
  .split--reverse .split-media { order: 0; }
  .split .split-body, .split--reverse .split-body { order: 1; }
  .section-head .head-aside { margin-top: -8px; }
  .intro-grid .intro-body { padding-top: 0; }

  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid--gallery { grid-template-columns: repeat(2, 1fr); }
  .project-grid--gallery .project-card, .project-grid--gallery .project-card:nth-child(n) { grid-column: span 1; }
  .project-grid--gallery .project-card:nth-child(1) { grid-column: 1 / -1; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process, .process--4 { grid-template-columns: repeat(2, 1fr); }
  .process-step, .process-step + .process-step { padding: 28px 24px 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .process-step + .process-step::before { left: 0; }
  .process-step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .process-step:nth-child(even)::before { left: 24px; }
  .section--dark .process-step { border-bottom-color: var(--line-dark); }
  .section--dark .process-step:nth-child(even) { border-left-color: var(--line-dark); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 24px; }
  .backed-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-top.grid-12 > .footer-col { grid-column: span 6 !important; }
  .contact-aside { margin-top: 24px; }
  .hero-strip ol { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .division-grid { grid-template-columns: 1fr; }
  .division-card { min-height: 540px; }
  .project-grid, .project-grid--gallery { grid-template-columns: 1fr; }
  .project-grid--gallery .project-card .card-media { height: 320px; }
  .capability-grid, .capability-grid--5, .capability-grid--3 { grid-template-columns: 1fr; }
  .capability .icon { margin-bottom: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .future-grid { grid-template-columns: 1fr; }
  .future-card { min-height: 0; }
  .journey { grid-template-columns: 1fr; row-gap: 0; }
  .journey-step { display: grid; grid-template-columns: 47px 1fr; column-gap: 20px; padding: 0 0 32px; }
  .journey-step::before { content: ""; position: absolute; left: 23px; top: 47px; bottom: 0; width: 1px; background: var(--line-dark); }
  .journey-step:last-child::before { display: none; }
  .journey-step .step-dot { grid-row: span 2; margin-bottom: 0; }
  .journey-step h3 { padding-top: 12px; }
  .process, .process--4 { grid-template-columns: 1fr; }
  .process-step:nth-child(n) { padding: 28px 0; border-left: 0; }
  .process-step:nth-child(n)::before { left: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tree-connector::after { left: 25%; right: 25%; }
  .tree-children { grid-template-columns: 1fr; gap: 16px; }
  .tree-connector { height: 32px; }
  .tree-connector::before { height: 32px; }
  .tree-connector::after { display: none; }
  .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-top.grid-12 > .footer-col { grid-column: 1 / -1 !important; }
  .hero-strip ol { grid-template-columns: 1fr; }
  .hero-strip li { padding: 14px 0; }
  .hero-strip li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero-strip li:not(:first-child) span.sub { display: none; }
  .hero .btn-row .btn, .cta-band .btn-row .btn { width: 100%; }
  .page-hero { min-height: 70svh; }
  .division-badge { display: none; } /* division tag above the heading carries the same label on small screens */
  .division-card .btn { width: 100%; justify-content: space-between; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
  .statement-grid .statement-aside { margin-top: 8px; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
