/* ==========================================================================
   HOVA GENEVA — Shared Stylesheet (styles.css)
   Integrated Building Technology & Engineering · Abuja, Nigeria
   --------------------------------------------------------------------------
   ONE stylesheet, shared by all 4 pages: index, services, careers, contact.
   Vanilla CSS. No build step. Mobile-first. Accessible.

   HOW TO EDIT (for non-developers)
   --------------------------------------------------------------------------
   • COLORS:  jump to ":root" below. Change a single hex value (e.g. --navy)
              and it updates everywhere on the site.
   • FONTS:   the @import line at the very top loads the Google Fonts.
              Headings use "Space Grotesk", body uses "Inter".
   • SPACING: the --space-* scale controls all gaps/padding. Bigger number =
              more whitespace.
   • TEXT/COPY itself lives in the .html files, NOT here.

   SECTION INDEX
   --------------------------------------------------------------------------
   1.  Font import
   2.  Design tokens (:root custom properties — COLORS, TYPE, SPACING)
   3.  Reset & base
   4.  Typography helpers
   5.  Layout primitives (.container, .section, grids)
   6.  Buttons
   7.  Header / navigation (sticky, transparent → solid)
   8.  Hero
   9.  Trust strip
   10. Section heading / eyebrow
   11. Service cards
   12. "Why us" / feature blocks
   13. About teaser
   14. Stats band
   15. Services-page detail rows
   16. Careers — culture + role cards
   17. Contact — info, form, map
   18. CTA band
   19. Footer
   20. Wave divider (the letterhead motif)
   21. Reveal-on-scroll + micro-motion
   22. Accessibility & focus states
   23. Responsive breakpoints
   ========================================================================== */


/* ==========================================================================
   1. FONT IMPORT
   Premium pairing: Space Grotesk (confident grotesk headings) + Inter (clean,
   legible body). Loaded straight from Google Fonts — no local files needed.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');


/* ==========================================================================
   2. DESIGN TOKENS  ——  EDIT BRAND COLOURS & SCALE HERE
   ========================================================================== */
:root {

  /* ---- BRAND COLOURS (change these to re-skin the whole site) ---- */
  --navy:          #16275A;   /* primary — deep corporate blue            */
  --navy-700:      #1E3470;   /* lighter navy for hovers/gradients        */
  --navy-900:      #0E1B40;   /* darkest navy for footer/overlays         */
  --green:         #8DC63F;   /* lime accent — energy, "go", safety       */
  --green-600:     #79B22E;   /* darker green for hover / text-on-light   */
  --green-100:     #EEF7E0;   /* faint green tint for soft backgrounds    */

  /* Light-blue wave gradient (the letterhead motif) */
  --wave-from:     #2E6FB5;
  --wave-to:       #6FB7E8;

  /* Neutrals */
  --white:         #FFFFFF;
  --mist:          #F6F8FB;   /* page neutral / alternating section bg     */
  --cloud:         #EDF1F7;   /* card borders / subtle dividers            */
  --ink:           #16203A;   /* near-black body text (navy-tinted)        */
  --slate:         #5A6577;   /* muted secondary text                      */
  --slate-300:     #9AA4B6;   /* faint captions / placeholders             */

  /* ---- SEMANTIC COLOUR ROLES (used throughout — usually leave as-is) ---- */
  --bg:            var(--white);
  --bg-alt:        var(--mist);
  --text:          var(--ink);
  --text-muted:    var(--slate);
  --heading:       var(--navy);
  --accent:        var(--green);
  --border:        var(--cloud);

  /* ---- GRADIENTS ---- */
  --grad-wave:     linear-gradient(120deg, var(--wave-from) 0%, var(--wave-to) 100%);
  --grad-navy:     linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  --grad-hero:     linear-gradient(150deg, var(--navy-900) 0%, var(--navy) 45%, #1B3A6B 100%);

  /* ---- TYPOGRAPHY ---- */
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid type scale (clamp = scales smoothly between mobile & desktop) */
  --fs-display: clamp(2.6rem, 6.2vw, 5rem);     /* hero headline           */
  --fs-h1:      clamp(2.1rem, 4.6vw, 3.4rem);   /* page H1                  */
  --fs-h2:      clamp(1.7rem, 3.4vw, 2.6rem);   /* section heading         */
  --fs-h3:      clamp(1.25rem, 1.8vw, 1.5rem);  /* card heading            */
  --fs-lead:    clamp(1.05rem, 1.6vw, 1.3rem);  /* intro paragraph         */
  --fs-body:    1.0625rem;                      /* base body (17px)        */
  --fs-sm:      0.9375rem;                       /* small / captions        */
  --fs-eyebrow: 0.8125rem;                       /* eyebrow labels          */

  --lh-tight:   1.08;
  --lh-snug:    1.3;
  --lh-body:    1.7;

  /* ---- SPACING SCALE (8px-based) ---- */
  --space-1:  0.5rem;
  --space-2:  0.75rem;
  --space-3:  1rem;
  --space-4:  1.5rem;
  --space-5:  2rem;
  --space-6:  3rem;
  --space-7:  4rem;
  --space-8:  6rem;
  --space-9:  8rem;

  --section-y: clamp(4rem, 9vw, 8rem);  /* vertical padding for sections   */

  /* ---- RADII, SHADOWS, RHYTHM ---- */
  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(16, 39, 90, 0.06),
                0 2px 6px rgba(16, 39, 90, 0.05);
  --shadow:     0 10px 30px -12px rgba(16, 39, 90, 0.18),
                0 4px 10px -6px rgba(16, 39, 90, 0.10);
  --shadow-lg:  0 30px 60px -22px rgba(16, 39, 90, 0.28);
  --shadow-green: 0 12px 28px -10px rgba(141, 198, 63, 0.5);

  --container: 1200px;       /* max content width                          */
  --container-narrow: 820px; /* for prose-heavy blocks                      */

  /* Motion */
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:    0.18s;
  --t:         0.32s;
  --t-slow:    0.6s;

  --header-h:  76px;
}


/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

:target { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

::selection { background: var(--green); color: var(--navy); }


/* ==========================================================================
   4. TYPOGRAPHY HELPERS
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: var(--lh-snug);
  font-weight: 600;
  letter-spacing: -0.02em;
}

p { max-width: 68ch; }

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

.display     { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: -0.035em; font-weight: 600; }
.h1          { font-size: var(--fs-h1); }
.h2          { font-size: var(--fs-h2); }
.lead        { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted); max-width: 60ch; }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--green-600); }
.balance     { text-wrap: balance; }
.nowrap      { white-space: nowrap; }


/* ==========================================================================
   5. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

/* Vertical section rhythm */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt   { background: var(--bg-alt); }
.section--navy  { background: var(--grad-navy); color: rgba(255,255,255,0.86); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }

/* Simple responsive grid utility */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.stack > * + * { margin-top: var(--space-3); }
.stack-lg > * + * { margin-top: var(--space-5); }

.center { text-align: center; margin-inline: auto; }
.center .lead, .center p { margin-inline: auto; }


/* ==========================================================================
   6. BUTTONS
   .btn               base
   .btn--primary      navy (default CTA)
   .btn--accent       lime green (high-emphasis CTA)
   .btn--ghost        outline on light
   .btn--ghost-light  outline on dark backgrounds
   .btn--link         text + arrow link
   ========================================================================== */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease),
              background-color var(--t) var(--ease),
              color var(--t) var(--ease);
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform var(--t) var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--navy); --btn-fg: var(--white); }
.btn--primary:hover { --btn-bg: var(--navy-700); }

.btn--accent {
  --btn-bg: var(--green); --btn-fg: var(--navy);
  box-shadow: var(--shadow-green);
}
.btn--accent:hover { --btn-bg: var(--green-600); box-shadow: 0 16px 34px -10px rgba(141,198,63,0.6); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: var(--cloud);
}
.btn--ghost:hover { --btn-bg: var(--navy); --btn-fg: var(--white); border-color: var(--navy); }

.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: var(--white);
  border-color: rgba(255,255,255,0.32);
}
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* Text arrow link */
.btn--link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-head); font-weight: 600;
  color: var(--navy); background: none; border: 0; padding: 0;
  border-radius: 0;
}
.btn--link svg { width: 1.05em; height: 1.05em; transition: transform var(--t) var(--ease); }
.btn--link:hover { color: var(--green-600); }
.btn--link:hover svg { transform: translateX(4px); }


/* ==========================================================================
   7. HEADER / NAVIGATION
   Sticky. Starts transparent over the hero, turns solid white once you add
   the .is-solid class with JS (or it stays solid on inner pages via
   .site-header--solid on the element).
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              backdrop-filter var(--t) var(--ease);
}
.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* Solid state: applied by JS on scroll, OR statically via the modifier class
   on inner pages that have no dark hero behind the header. */
.site-header.is-solid,
.site-header--solid {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 rgba(16,39,90,0.07), var(--shadow-sm);
}

/* ---- Logo (works against dark hero AND solid header) ---- */
.logo { display: inline-flex; align-items: center; gap: 0.65rem; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);                 /* white over dark hero by default */
  transition: color var(--t) var(--ease);
}
.logo__text span { color: var(--green); }  /* "Geneva" tinted */
/* When header is solid, switch wordmark to navy */
.site-header.is-solid .logo__text,
.site-header--solid .logo__text { color: var(--navy); }

/* The logo mark uses currentColor for the roof outline so it adapts.
   Set the colour via the wrapper. */
.logo__mark { color: var(--white); }
.site-header.is-solid .logo__mark,
.site-header--solid .logo__mark { color: var(--navy); }

/* ---- Primary nav ---- */
.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav__list { display: flex; align-items: center; gap: var(--space-5); }
.nav__link {
  position: relative;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.88);       /* over dark hero */
  padding: 0.35rem 0;
  transition: color var(--t) var(--ease);
}
.site-header.is-solid .nav__link,
.site-header--solid .nav__link { color: var(--slate); }

/* Animated underline */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav__link:hover { color: var(--white); }
.site-header.is-solid .nav__link:hover,
.site-header--solid .nav__link:hover { color: var(--navy); }
.nav__link:hover::after { transform: scaleX(1); }

/* Current page */
.nav__link[aria-current="page"] { color: var(--white); }
.site-header.is-solid .nav__link[aria-current="page"],
.site-header--solid .nav__link[aria-current="page"] { color: var(--navy); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Phone CTA button in header */
.nav__cta { margin-left: var(--space-2); }

/* ---- Mobile nav toggle (hamburger) ---- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--white);
}
.site-header.is-solid .nav-toggle,
.site-header--solid .nav-toggle { color: var(--navy); }
.nav-toggle__bar {
  display: block; width: 24px; height: 2px;
  background: currentColor; border-radius: 2px;
  position: relative;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: ""; position: absolute; left: 0;
  width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--t) var(--ease);
}
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after  { top: 7px; }
/* Open state → X */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { transform: translateY(-7px) rotate(-45deg); }


/* ==========================================================================
   8. HERO
   Dark navy gradient canvas with a faint engineering grid + wave at the base.
   ========================================================================== */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: rgba(255,255,255,0.9);
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem));
  padding-bottom: clamp(5rem, 11vw, 9rem);
  overflow: hidden;
  isolation: isolate;
}
/* Faint blueprint grid texture */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 70%);
  z-index: -1;
}
/* Soft green glow accent, top-right */
.hero::after {
  content: "";
  position: absolute;
  top: -18%; right: -10%;
  width: 50vw; height: 50vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(141,198,63,0.20) 0%, transparent 62%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-4);
}
.hero__eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--green); border-radius: 2px;
}
.hero__title {
  color: var(--white);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 16ch;
}
.hero__title em {
  font-style: normal;
  background: var(--grad-wave);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: var(--space-4);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 52ch;
}
.hero__actions {
  margin-top: var(--space-6);
  display: flex; flex-wrap: wrap; gap: var(--space-3);
}
/* Small reassurance line under buttons (e.g. "Commercial & residential · Nationwide") */
.hero__meta {
  margin-top: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.66);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex: none;
}

/* Optional hero visual panel (right column) — a CSS "control panel" card so
   nothing depends on an external image. */
.hero__panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero__panel-row {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero__panel-row:last-child { border-bottom: 0; }
.hero__panel-icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(141,198,63,0.16);
  color: var(--green);
}
.hero__panel-icon svg { width: 22px; height: 22px; }
.hero__panel-label { font-family: var(--font-head); font-weight: 600; color: var(--white); font-size: 0.98rem; }
.hero__panel-status { margin-left: auto; font-size: 0.8rem; color: var(--green); display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__panel-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(141,198,63,0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(141,198,63,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(141,198,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(141,198,63,0); }
}

/* Page hero (inner pages: services/careers/contact) — shorter, lighter */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  color: rgba(255,255,255,0.86);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 100% at 80% 0%, #000, transparent 70%);
  mask-image: radial-gradient(120% 100% at 80% 0%, #000, transparent 70%);
  z-index: -1;
}
.page-hero__title { color: var(--white); font-size: var(--fs-h1); max-width: 20ch; }
.page-hero__lead { margin-top: var(--space-3); color: rgba(255,255,255,0.74); font-size: var(--fs-lead); max-width: 56ch; }

/* Breadcrumb on inner heroes */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  font-size: var(--fs-sm); color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-4);
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: rgba(255,255,255,0.35); }


/* ==========================================================================
   9. TRUST STRIP
   A quiet band of credibility signals just under the hero.
   ========================================================================== */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust__inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: var(--space-4) var(--space-7);
  padding-block: var(--space-5);
}
.trust__label {
  width: 100%; text-align: center;
  font-family: var(--font-head);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: var(--space-1);
}
.trust__item {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-head); font-weight: 600;
  color: var(--navy); font-size: 1.02rem;
}
.trust__item svg { width: 22px; height: 22px; color: var(--green-600); flex: none; }


/* ==========================================================================
   10. SECTION HEADING (eyebrow + title + intro)
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-head);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green); border-radius: 2px; }
.section--navy .eyebrow { color: var(--green); }

.section-head { max-width: 60ch; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; }
.section-head__title { font-size: var(--fs-h2); }
.section-head__intro { margin-top: var(--space-3); font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.55; }
.section--navy .section-head__intro { color: rgba(255,255,255,0.78); }


/* ==========================================================================
   11. SERVICE CARDS  (the 5 service areas)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
/* Top accent line that grows on hover */
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-wave);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--navy);
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--navy); color: var(--green); }

.service-card__title { font-size: var(--fs-h3); }
.service-card__text { color: var(--text-muted); font-size: var(--fs-body); }

/* Optional feature list inside a card */
.service-card__list { margin-top: auto; padding-top: var(--space-2); display: grid; gap: 0.5rem; }
.service-card__list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: var(--fs-sm); color: var(--text-muted);
}
.service-card__list li::before {
  content: ""; flex: none; margin-top: 0.5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.service-card__link { margin-top: var(--space-2); }

/* Numbered index chip (e.g. 01–05) */
.service-card__num {
  position: absolute; top: var(--space-4); right: var(--space-5);
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.9rem; color: var(--slate-300);
  letter-spacing: 0.05em;
}


/* ==========================================================================
   12. "WHY US" / FEATURE BLOCKS
   ========================================================================== */
.feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.feature__icon {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--green-600);
  box-shadow: var(--shadow-sm);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__title { font-size: 1.15rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.feature__text { color: var(--text-muted); font-size: var(--fs-body); }
.section--navy .feature__icon { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: var(--green); }
.section--navy .feature__title { color: var(--white); }
.section--navy .feature__text { color: rgba(255,255,255,0.74); }


/* ==========================================================================
   13. ABOUT TEASER  (split: copy + stacked credibility card)
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 320px;
  background: var(--grad-wave);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.about__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(14,27,64,0.15), rgba(14,27,64,0.55)),
    radial-gradient(120% 100% at 0% 0%, rgba(255,255,255,0.22), transparent 55%);
}
/* Optional real image: add an <img> inside .about__media and it fills the panel */
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

/* Floating credential card over the media */
.about__badge {
  position: absolute;
  right: var(--space-4); bottom: var(--space-4);
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: var(--space-3);
  max-width: 78%;
}
.about__badge-num { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--navy); line-height: 1; }
.about__badge-text { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.4; }


/* ==========================================================================
   14. STATS BAND
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
}
.stat__num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--navy);
}
.section--navy .stat__num { color: var(--white); }
.stat__num span { color: var(--green); }
.stat__label { margin-top: 0.5rem; font-size: var(--fs-sm); color: var(--text-muted); }
.section--navy .stat__label { color: rgba(255,255,255,0.7); }


/* ==========================================================================
   15. SERVICES PAGE — DETAIL ROWS
   Alternating two-column rows describing each service in depth.
   ========================================================================== */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--border);
}
.svc-detail:last-child { border-bottom: 0; }

.svc-detail__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.svc-detail__icon {
  width: 56px; height: 56px; flex: none;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--navy); color: var(--green);
}
.svc-detail__icon svg { width: 28px; height: 28px; }
.svc-detail__kicker { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-600); }
.svc-detail__title { font-size: var(--fs-h2); }
.svc-detail__text { color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.55; }

/* Two sub-columns: "what's included" + "outcomes" */
.svc-detail__cols {
  display: grid; grid-template-columns: 1fr; gap: var(--space-4);
  margin-top: var(--space-4);
}
.svc-block__label {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy);
  margin-bottom: var(--space-2);
  display: flex; align-items: center; gap: 0.5rem;
}
.svc-block__label::before { content:""; width: 18px; height: 2px; background: var(--green); border-radius: 2px; }
.svc-list { display: grid; gap: 0.65rem; }
.svc-list li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: var(--fs-body); color: var(--text-muted);
}
.svc-list li svg { width: 20px; height: 20px; flex: none; color: var(--green-600); margin-top: 2px; }


/* ==========================================================================
   16. CAREERS — CULTURE + ROLE CARDS
   ========================================================================== */
.values-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.value-card {
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card__icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--green-100); color: var(--navy);
  margin-bottom: var(--space-3);
}
.value-card__icon svg { width: 24px; height: 24px; }
.value-card__title { font-size: 1.1rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.value-card__text { color: var(--text-muted); font-size: var(--fs-sm); }

/* Role / job listing card */
.roles { display: grid; gap: var(--space-3); }
.role-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              transform var(--t) var(--ease);
}
.role-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.role-card__title { font-size: 1.3rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.role-card__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem var(--space-3);
  margin-top: var(--space-2);
  font-size: var(--fs-sm); color: var(--text-muted);
}
.role-card__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.role-card__meta svg { width: 16px; height: 16px; color: var(--green-600); }
.role-card__desc { margin-top: var(--space-2); color: var(--text-muted); font-size: var(--fs-body); max-width: 60ch; }
.role-card__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-3); }
.tag {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem; font-weight: 500;
  font-family: var(--font-head);
  color: var(--navy); background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.role-card__cta { justify-self: start; }

/* Department / type chip */
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--green-600); background: var(--green-100);
  border-radius: var(--radius-pill);
}

/* "How to apply" callout */
.apply-callout {
  background: var(--grad-navy);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.apply-callout h2 { color: var(--white); }
.apply-callout a.email-link { color: var(--green); font-weight: 600; }
.apply-callout a.email-link:hover { text-decoration: underline; }


/* ==========================================================================
   17. CONTACT — INFO CARDS + FORM + MAP
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

/* Info cards (address / phone / email / hours) */
.contact-info { display: grid; gap: var(--space-3); }
.info-card {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.info-card__icon {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center; border-radius: 12px;
  background: var(--green-100); color: var(--navy);
}
.info-card__icon svg { width: 24px; height: 24px; }
.info-card__label { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.15rem; }
.info-card__value { color: var(--text-muted); font-size: var(--fs-body); }
.info-card__value a:hover { color: var(--green-600); }

/* Contact form */
.contact-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: var(--space-4); }
.field label {
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.9rem; color: var(--navy);
}
.field label .req { color: var(--green-600); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--mist);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: var(--fs-body);
  transition: border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background-color var(--t) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--slate-300); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(46,111,181,0.14);
}
.form-note { font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--space-2); }

/* Map embed wrapper (responsive iframe) */
.map-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--mist);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


/* ==========================================================================
   18. CTA BAND  (closing call-to-action)
   ========================================================================== */
.cta {
  position: relative;
  background: var(--grad-navy);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 85% 15%, rgba(141,198,63,0.22), transparent 60%),
    radial-gradient(50% 80% at 10% 90%, rgba(111,183,232,0.20), transparent 60%);
  z-index: -1;
}
.cta__title { color: var(--white); font-size: var(--fs-h2); max-width: 22ch; margin-inline: auto; }
.cta__text { margin: var(--space-3) auto 0; color: rgba(255,255,255,0.78); font-size: var(--fs-lead); max-width: 50ch; }
.cta__actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }


/* ==========================================================================
   19. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.66);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
}
.footer-brand { max-width: 34ch; }
.footer-brand .logo__text { color: var(--white); }
.footer-brand .logo__mark { color: var(--white); }
.footer-brand p { margin-top: var(--space-3); color: rgba(255,255,255,0.6); font-size: var(--fs-sm); line-height: 1.65; }

.footer-col__title {
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); margin-bottom: var(--space-3);
}
.footer-links { display: grid; gap: 0.7rem; }
.footer-links a { color: rgba(255,255,255,0.66); font-size: var(--fs-sm); transition: color var(--t) var(--ease); display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-links a:hover { color: var(--green); }

.footer-contact { display: grid; gap: 0.8rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: var(--fs-sm); }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 2px; }
.footer-contact a:hover { color: var(--green); }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-block: var(--space-4);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--green); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.footer-social a:hover { background: var(--green); color: var(--navy); border-color: var(--green); }
.footer-social svg { width: 18px; height: 18px; }


/* ==========================================================================
   20. WAVE DIVIDER  (the letterhead motif)
   Drop a <div class="wave-divider"> between sections, OR put an inline <svg>
   inside it. Two ready-made CSS variants below. Use SPARINGLY.
   ========================================================================== */
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  color: var(--mist); /* set to match the NEXT section's background */
}
.wave-divider svg { width: 100%; height: clamp(40px, 7vw, 90px); display: block; }
.wave-divider--flip svg { transform: scaleX(-1); }
.wave-divider--up svg { transform: scaleY(-1); }
.wave-divider--up.wave-divider--flip svg { transform: scale(-1, -1); }

/* Gradient wave (echoes the light-blue letterhead band) — apply this class to
   the <path> fill via currentColor, or use the .wave-fill-grad helper below. */
.wave-fill-grad { fill: url(#hgWaveGrad); }
.wave-fill-navy { fill: var(--navy); }
.wave-fill-mist { fill: var(--mist); }
.wave-fill-white { fill: var(--white); }

/* A thin standalone accent wave you can place under a heading */
.wave-accent {
  width: 120px; height: 12px;
  margin-top: var(--space-3);
  background:
    radial-gradient(circle at 10px 6px, transparent 6px, var(--green) 6px 7px, transparent 7px) repeat-x;
  background-size: 20px 12px;
  -webkit-mask-image: linear-gradient(90deg, #000, #000 70%, transparent);
  mask-image: linear-gradient(90deg, #000, #000 70%, transparent);
  opacity: 0.9;
}


/* ==========================================================================
   21. REVEAL-ON-SCROLL + MICRO-MOTION
   Add class="reveal" to any element. The tiny JS toggles "is-visible" when it
   scrolls into view. Optional data-delay handled via inline style or the
   .reveal--d1..d4 helpers. Gracefully degrades (visible) if JS is off.
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger helpers */
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal--d4 { transition-delay: 0.32s; }
.reveal--d5 { transition-delay: 0.40s; }

/* No-JS fallback: if <html> has no .js class, show everything */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* SAFETY NET: never leave content hidden. If the IntersectionObserver misses an
   element (fast scroll, or already in view at load), this CSS-only fallback
   reveals it within 1.4s. .is-visible (observer) still drives the nicer fade. */
@keyframes hg-reveal-fallback { to { opacity: 1; transform: none; } }
.js .reveal { animation: hg-reveal-fallback 0.6s ease 1.4s forwards; }
.js .reveal.is-visible { animation: none; }


/* ==========================================================================
   22. ACCESSIBILITY & FOCUS
   ========================================================================== */
/* Visible, branded focus ring for keyboard users only */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Buttons get a softer ring that respects their pill shape */
.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.site-header .nav__link:focus-visible { outline-offset: 4px; }

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600;
  transition: top var(--t) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   23. RESPONSIVE BREAKPOINTS  (mobile-first — these ADD desktop layout)
   --------------------------------------------------------------------------
   sm  ≥ 600px   ·  md ≥ 768px  ·  lg ≥ 992px  ·  xl ≥ 1200px
   ========================================================================== */

/* ---- ≥ 600px : two-up grids start ---- */
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-detail__cols { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

/* ---- ≥ 768px : richer layouts ---- */
@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }

  /* Role card becomes a 2-column row: content + CTA */
  .role-card { grid-template-columns: 1fr auto; }
  .role-card__cta { justify-self: end; }

  /* About split */
  .about { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-7); }
}

/* ---- ≥ 992px : full desktop ---- */
@media (min-width: 992px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  /* Hero becomes 2-column with the control-panel visual */
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-8); }

  /* Services detail row: sticky heading + content */
  .svc-detail { grid-template-columns: 0.95fr 1.05fr; gap: var(--space-7); }
  .svc-detail__aside { position: sticky; top: calc(var(--header-h) + 2rem); }

  /* Contact: form beside info */
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-7); }

  /* Footer columns */
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--space-7); }
}

/* ---- ≥ 1200px : breathing room ---- */
@media (min-width: 1200px) {
  :root { --header-h: 84px; }
}


/* ==========================================================================
   24. MOBILE NAVIGATION PANEL
   Below the lg breakpoint the nav collapses into a slide-down panel toggled
   by .nav-toggle. JS flips aria-expanded on the button + .is-open on .nav.
   ========================================================================== */
@media (max-width: 991px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) clamp(1.25rem, 5vw, 2.5rem) var(--space-6);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);

    /* hidden by default */
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t) var(--ease),
                transform var(--t) var(--ease),
                visibility var(--t) var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__link {
    color: var(--navy) !important;
    font-size: 1.1rem; font-family: var(--font-head); font-weight: 500;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--green-600) !important; }

  .nav__cta { margin: var(--space-4) 0 0; }
  .nav__cta .btn { width: 100%; }

  /* Lock body scroll when menu open (JS adds .nav-open to <body>) */
  body.nav-open { overflow: hidden; }
}

/* On small screens the inner-hero breadcrumb wraps cleanly; the hero control
   panel is hidden below lg to keep the hero focused (it reappears ≥992px). */
@media (max-width: 991px) {
  .hero__panel { display: none; }
}


/* ==========================================================================
   25. SMALL UTILITIES (handy, optional)
   ========================================================================== */
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.hidden { display: none; }
.full { width: 100%; }

/* End of styles.css */
