/* ============================================================
   GALMAVECA — Global Stylesheet
   ------------------------------------------------------------
   Sections:
     1. Custom properties (variables)
     2. Reset & base
     3. Typography (Inter only — weight + tracking discipline)
     4. Layout utilities (container, section)
     5. Buttons
     6. Header (logo + hamburger)
     7. Menu overlay
     8. Footer
    8b. Final CTA — particle flame (shared by every page)
     9. Utilities (visually-hidden, fade-in, etc.)
    10. Responsive — tablet (>=768px)
    11. Responsive — desktop (>=1024px)
    12. Process route — "How We Work" (.gv-*)
    13. Page hero — inner pages
    14. Page placeholders — unfinished pages
    15. Page hero — dark variant

   Required <link> tags in <head>:
     <link rel="preconnect" href="https://fonts.googleapis.com">
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
   ============================================================ */


/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* --- Brand colors --- */
  --color-primary: #0f2b46;     /* Navy */
  --color-secondary: #2b2e34;   /* Carbon gray */
  --color-accent: #d97a1b;      /* Orange — CTAs/accents only, never body text */
  --color-accent-light: #ffc48a;/* Warm tint for focus rings and link hovers on navy */
  --color-blue-mid: #2a5f8f;    /* Mid blue used in the CTA gradient */
  --color-white: #ffffff;

  /* --- Auxiliary grays --- */
  --color-bg-soft: #f5f6f8;
  --color-border: #e5e7eb;
  --color-text-muted: #5a5e66;

  /* --- Semantic tokens ---
     Components reference these, never the raw brand colors, so a surface
     or text tier can be retuned in one place. */

  /* Surfaces, from furthest back to most prominent */
  --color-bg: var(--color-white);           /* page */
  --color-bg-soft-surface: var(--color-bg-soft);  /* alternating sections */
  --color-surface: var(--color-white);      /* cards */
  --color-emphasis: var(--color-primary);   /* navy blocks: CTA banner, featured card, overlay */
  --color-on-emphasis: var(--color-white);
  --color-primary-deep: #0a1f33;            /* deeper than brand navy */
  --color-footer-bg: var(--color-primary-deep);

  /* Accent stripe on top of the friction cards */
  --color-card-stripe: var(--color-primary);

  /* Text */
  --color-text: var(--color-secondary);
  --color-heading: var(--color-primary);
  --color-link: var(--color-primary);
  --color-link-hover: var(--color-accent);

  /* Accent tints — icon chips */
  --color-accent-tint: #fef3e7;
  --color-accent-tint-strong: #fde4cc;

  /* Header glass */
  --color-header-bg: rgba(255, 255, 255, 0.7);
  --color-header-bg-scrolled: rgba(255, 255, 255, 0.9);

  /* RGB triplets for the rgba() washes, scrims and shadows */
  --scrim-rgb: 15, 43, 70;
  --shadow-rgb: 15, 43, 70;

  /* --- Typography --- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Weight tokens */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Fluid type scale */
  --text-xs: 0.75rem;       /* 12px */
  --text-sm: 0.875rem;      /* 14px */
  --text-base: 1rem;        /* 16px */
  --text-lg: 1.125rem;      /* 18px */
  --text-xl: 1.25rem;       /* 20px */
  --text-2xl: 1.5rem;       /* 24px */
  --text-3xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem);
  --text-4xl: clamp(2.125rem, 1.6rem + 2.4vw, 3rem);
  --text-5xl: clamp(2.5rem, 1.8rem + 3.4vw, 3.75rem);
  --text-6xl: clamp(2.75rem, 2rem + 4.8vw, 4.75rem);

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  --tracking-tighter: -0.03em;
  --tracking-tight: -0.02em;
  --tracking-snug: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.08em;

  /* --- Spacing scale --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Layout --- */
  --container-max: 1200px;
  --container-narrow: 880px;
  --header-height: 64px;
  --header-height-desktop: 80px;
  --header-height-scrolled: 56px;
  --header-height-scrolled-desktop: 64px;

  /* --- Visual — organic roundness, inherited from droplet logo --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(var(--shadow-rgb), 0.06);
  --shadow-md: 0 4px 16px rgba(var(--shadow-rgb), 0.08);
  --shadow-lg: 0 12px 40px rgba(var(--shadow-rgb), 0.12);

  /* --- Motion --- */
  --transition-fast: 150ms ease;
  --transition-base: 240ms ease;
  --transition-slow: 400ms ease;

  /* z-index scale */
  --z-header: 50;
  --z-overlay: 1000;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus-visible {
  color: var(--color-link-hover);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ============================================================
   3. TYPOGRAPHY — Inter only, hierarchy via weight + tracking
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--color-heading);
  line-height: var(--leading-tight);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tighter);
  line-height: 1.05;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
}

h3 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  line-height: var(--leading-snug);
}

h4 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  line-height: var(--leading-snug);
}

h5 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
}

h6 {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

p {
  margin: 0;
  max-width: 70ch;
}

p + p {
  margin-top: var(--space-4);
}

strong {
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}

/* Eyebrow — small uppercase tag above section titles */
.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

/* Lead paragraph */
.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 65ch;
}


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-16);
}

.section--lg {
  padding-block: var(--space-20);
}

.section--dark {
  background-color: var(--color-emphasis);
  color: var(--color-on-emphasis);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--color-white);
}

.section--dark a {
  color: var(--color-white);
}

.section--dark a:hover,
.section--dark a:focus-visible {
  color: var(--color-accent);
}

.section--soft {
  background-color: var(--color-bg-soft-surface);
}

.section-header {
  margin-bottom: var(--space-12);
  max-width: 720px;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 2.25rem;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: #b86413;
  border-color: #b86413;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: #0a1f33;
  border-color: var(--color-accent);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-heading);
  border-color: currentColor;
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--color-heading);
  color: var(--color-bg);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  background-color: var(--color-white);
  /* Paints its own white background, so the label stays navy in both themes */
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--lg {
  padding: 1.125rem 2.25rem;
  font-size: var(--text-lg);
}


/* ============================================================
   6. HEADER — logo left, hamburger right (always)
   Glassmorphism: translucent + backdrop blur for floating feel
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--color-header-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 43, 70, 0.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: height var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.site-header.is-scrolled {
  height: var(--header-height-scrolled);
  background-color: var(--color-header-bg-scrolled);
  box-shadow: 0 1px 12px rgba(var(--shadow-rgb), 0.08);
  border-bottom-color: rgba(15, 43, 70, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-6);
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.site-header__logo:hover {
  transform: translateY(-1px);
}

.site-header__logo img {
  height: 32px;
  width: auto;
  transition: height var(--transition-base);
}

.site-header.is-scrolled .site-header__logo img {
  height: 28px;
}

/* Right-hand cluster — language switch + hamburger */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

/* Language switch — circular flags. The inactive one is muted but keeps its
   hue: full grayscale turns the Spanish flag into an unreadable gray disc,
   since its red/yellow/red bands collapse to near-identical grays. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.lang-switch__btn {
  display: inline-flex;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  line-height: 0;
  cursor: pointer;
  opacity: 0.55;
  filter: saturate(0.45);
  transition: opacity var(--transition-fast), filter var(--transition-fast),
              transform var(--transition-fast);
}

.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
  opacity: 1;
  filter: saturate(1);
  transform: translateY(-1px);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.lang-switch__btn.is-active {
  opacity: 1;
  filter: saturate(1);
  transform: none;
  cursor: default;
}

.lang-switch__flag {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--color-surface);
  box-shadow: 0 0 0 1px rgba(var(--shadow-rgb), 0.18);
  transition: box-shadow var(--transition-fast);
}

.lang-switch__btn.is-active .lang-switch__flag {
  box-shadow: 0 0 0 2px var(--color-accent);
}

.lang-switch__flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Hamburger menu button — always visible (desktop + mobile) */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-heading);
  transition: color var(--transition-fast);
}

.menu-toggle:hover {
  color: var(--color-accent);
}

.menu-toggle__label {
  display: none;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.menu-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 26px;
  height: 18px;
}

.menu-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
}

.menu-toggle__icon span:nth-child(2) {
  width: 70%;
  margin-left: auto;
  transition: width var(--transition-fast);
}

.menu-toggle:hover .menu-toggle__icon span:nth-child(2) {
  width: 100%;
}


/* ============================================================
   7. MENU OVERLAY — fullscreen navy panel
   ============================================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background-color: var(--color-emphasis);
  color: var(--color-on-emphasis);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 350ms ease, visibility 0s linear 350ms;
  overflow-y: auto;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 350ms ease, visibility 0s linear 0s;
}

/* Subtle decorative gradient inside overlay */
.menu-overlay::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 122, 27, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.menu-overlay__inner {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 var(--space-5) var(--space-10);
}

.menu-overlay__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--header-height);
  flex-shrink: 0;
}

.menu-overlay__close {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  background: transparent;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.menu-overlay__close:hover,
.menu-overlay__close:focus-visible {
  color: var(--color-accent);
}

.menu-overlay__close-label {
  display: none;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.menu-overlay__close-icon {
  width: 26px;
  height: 26px;
}

.menu-overlay__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--space-10);
}

.menu-overlay__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.menu-overlay__link {
  display: inline-block;
  position: relative;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  color: var(--color-white);
  padding-block: var(--space-2);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease, color var(--transition-fast), padding-left var(--transition-base);
}

.menu-overlay.is-open .menu-overlay__link {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger entrance — links animate in sequence */
.menu-overlay.is-open .menu-overlay__list li:nth-child(1) .menu-overlay__link { transition-delay: 120ms; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(2) .menu-overlay__link { transition-delay: 170ms; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(3) .menu-overlay__link { transition-delay: 220ms; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(4) .menu-overlay__link { transition-delay: 270ms; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(5) .menu-overlay__link { transition-delay: 320ms; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(6) .menu-overlay__link { transition-delay: 370ms; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(7) .menu-overlay__link { transition-delay: 420ms; }

.menu-overlay__link:hover,
.menu-overlay__link:focus-visible {
  color: var(--color-accent);
  padding-left: var(--space-4);
}

.menu-overlay__link[aria-current="page"] {
  color: var(--color-accent);
}

.menu-overlay__link[aria-current="page"]::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 50%;
  width: 20px;
  height: 2px;
  background-color: var(--color-accent);
  transform: translateY(-50%);
}

.menu-overlay__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease 480ms, transform 500ms ease 480ms;
}

.menu-overlay.is-open .menu-overlay__contact {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay__contact-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.menu-overlay__contact-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(255, 255, 255, 0.55);
  font-weight: var(--weight-semibold);
}

.menu-overlay__contact a {
  font-size: var(--text-lg);
  color: var(--color-white);
  font-weight: var(--weight-medium);
}

.menu-overlay__contact a:hover,
.menu-overlay__contact a:focus-visible {
  color: var(--color-accent);
}


/* ============================================================
   8. FOOTER
   ============================================================ */
.site-footer {
  /* Deeper than the brand navy so it reads as a base under the CTA rather
     than competing with it */
  background-color: var(--color-footer-bg);
  color: var(--color-white);
  padding-block: var(--space-16) var(--space-8);
  margin-top: auto;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__col-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Links and plain-text items alike — otherwise a bare <span> such as
   "Houston, Texas, USA" inherits the footer's larger, brighter base type */
.site-footer__list li,
.site-footer__list li > span,
.site-footer__list a {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__list a {
  display: inline-block;
}

/* Nudge right on hover — inline-block above makes the transform apply */
.site-footer__list a:hover,
.site-footer__list a:focus-visible {
  transform: translateX(3px);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__list a:hover {
    transform: none;
  }
}


/* ============================================================
   8b. FINAL CTA — particle flame.
   Ported from the standalone demo. The demo's generic .btn classes were
   renamed to .cta-flame__btn* so they cannot collide with the site's own
   buttons in section 5. Colour literals were swapped for the brand tokens.
   Lives here rather than in home.css because capabilities.html uses this
   section too and only loads styles.css.
   ============================================================ */
.cta-flame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* padding-inline matches .container so the copy lines up with every
     other section on the page */
  padding: var(--space-24) var(--space-5);
  background:
    radial-gradient(ellipse 45% 60% at 78% 50%, rgba(217, 122, 27, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 60% 70% at 15% 20%, rgba(42, 95, 143, 0.35) 0%, transparent 70%),
    linear-gradient(160deg, var(--color-primary-deep) 0%, var(--color-primary) 55%, var(--color-primary-deep) 100%);
}

/* Accent rule marking the change of section into the footer */
.cta-flame::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.cta-flame__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-8);
}

.cta-flame__copy {
  max-width: 560px;
}

.cta-flame__title {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  font-weight: var(--weight-extrabold);
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
  color: var(--color-white);
}

.cta-flame__text {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.cta-flame__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: var(--space-8);
}

/* Section-scoped buttons — deliberately NOT the site's .btn classes */
.cta-flame__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  text-decoration: none;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease,
              box-shadow 200ms ease;
}

.cta-flame__btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 10px 36px rgba(217, 122, 27, 0.4);
}

.cta-flame__btn--primary:hover,
.cta-flame__btn--primary:focus-visible {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.cta-flame__btn--ghost {
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.06);
}

.cta-flame__btn--ghost:hover,
.cta-flame__btn--ghost:focus-visible {
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  transform: translateY(-2px);
}

.cta-flame__btn:focus-visible,
.cta-flame__contact a:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 3px;
}

.cta-flame__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.cta-flame__contact a {
  color: var(--color-white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.cta-flame__contact a:hover {
  color: var(--color-accent-light);
}

/* Canvas — a faint layer behind the copy on mobile, its own column on desktop */
.cta-flame__canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
}

.cta-flame__canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .cta-flame {
    padding-inline: var(--space-8);
  }
}

@media (min-width: 1024px) {
  .cta-flame {
    padding-block: 7rem;
  }

  .cta-flame__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-12);
  }

  .cta-flame__canvas-wrap {
    position: relative;
    inset: auto;
    opacity: 1;
    height: 500px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-flame__btn:hover {
    transform: none;
  }
}


/* ============================================================
   9. UTILITIES
   ============================================================ */
.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;
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.no-wrap { white-space: nowrap; }

/* Lock body scroll while overlay is open */
body.no-scroll {
  overflow: hidden;
}

/* Fade-in on scroll (Intersection Observer adds .is-visible) */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .menu-overlay__link,
  .menu-overlay__contact {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}


/* ============================================================
   10. RESPONSIVE — TABLET (>=768px)
   ============================================================ */
@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }

  .site-header__actions {
    gap: var(--space-6);
  }

  .section {
    padding-block: var(--space-20);
  }

  .section--lg {
    padding-block: var(--space-24);
  }

  .menu-toggle__label,
  .menu-overlay__close-label {
    display: inline;
  }

  .menu-overlay__inner {
    padding: 0 var(--space-10) var(--space-12);
  }

  .menu-overlay__contact {
    flex-direction: row;
    gap: var(--space-12);
    align-items: flex-start;
  }

  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ============================================================
   11. RESPONSIVE — DESKTOP (>=1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .site-header {
    height: var(--header-height-desktop);
  }

  .site-header.is-scrolled {
    height: var(--header-height-scrolled-desktop);
  }

  .site-header__logo img {
    height: 36px;
  }

  .site-header.is-scrolled .site-header__logo img {
    height: 30px;
  }

  .menu-overlay__top {
    height: var(--header-height-desktop);
  }

  .menu-overlay__inner {
    padding: 0 var(--space-16) var(--space-16);
  }

  .menu-overlay__list {
    gap: var(--space-2);
  }

  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-12);
  }
}


/* ============================================================
   12. PROCESS ROUTE — "How We Work" (home)
   Five stops on a curved route; the markers, the detail panel
   copy and the mobile track are injected by
   assets/js/process-route.js. Lives here rather than in
   home.css so any page can carry the section.
   ============================================================ */
.gv-process{padding:6rem 1.5rem;background:#f5f6f8;overflow:hidden}
.gv-process__inner{max-width:1200px;margin:0 auto}
.gv-process__eyebrow{color:#d97a1b;font-size:.8125rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.gv-process__title{margin-top:.75rem;font-size:clamp(2rem,calc(1.5rem + 2.2vw),3rem);font-weight:800;color:#0f2b46;letter-spacing:-.025em;line-height:1.1}
.gv-process__lead{margin-top:1rem;max-width:620px;font-size:1.0625rem;line-height:1.6;color:#6b7280}
.gv-route{position:relative;margin-top:4rem;height:400px}
.gv-route__svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.gv-route__base{fill:none;stroke:#d8dee7;stroke-width:3;stroke-linecap:round}
.gv-route__progress{fill:none;stroke:#d97a1b;stroke-width:3;stroke-linecap:round;stroke-dasharray:var(--len);stroke-dashoffset:var(--len);transition:stroke-dashoffset 2.6s cubic-bezier(.4,0,.2,1)}
.gv-route.gv-is-live .gv-route__progress{stroke-dashoffset:0}
.gv-stop{position:absolute;transform:translate(-50%,-50%);z-index:2}
.gv-stop__btn{position:relative;width:74px;height:74px;border-radius:50%;border:2px solid #e4e8ee;background:#fff;display:grid;place-items:center;cursor:pointer;color:#0f2b46;box-shadow:0 6px 18px rgba(15,43,70,.08);transition:transform .3s cubic-bezier(.34,1.3,.64,1),border-color .3s,background .3s,color .3s,box-shadow .3s;opacity:0;transform:scale(.4)}
.gv-route.gv-is-live .gv-stop__btn{opacity:1;transform:scale(1)}
.gv-stop__btn:hover{transform:scale(1.08)}
.gv-stop.gv-is-active .gv-stop__btn{background:#d97a1b;border-color:#d97a1b;color:#fff;box-shadow:0 10px 28px rgba(217,122,27,.4)}
.gv-stop__btn svg{width:30px;height:30px;stroke-dasharray:120;stroke-dashoffset:120;transition:stroke-dashoffset 1s ease .2s}
.gv-route.gv-is-live .gv-stop__btn svg{stroke-dashoffset:0}
.gv-stop__num{position:absolute;top:-6px;right:-6px;width:26px;height:26px;border-radius:50%;background:#0f2b46;color:#fff;font-size:.75rem;font-weight:700;display:grid;place-items:center}
.gv-stop.gv-is-active .gv-stop__num{background:#0a1f33}
.gv-stop__ring{position:absolute;inset:-8px;border-radius:50%;border:2px solid #d97a1b;opacity:0}
.gv-stop.gv-is-active .gv-stop__ring{animation:gvRing 2.2s ease-out infinite}
@keyframes gvRing{0%{transform:scale(.85);opacity:.6}70%{transform:scale(1.35);opacity:0}100%{opacity:0}}
.gv-stop__label{position:absolute;left:50%;transform:translateX(-50%);width:190px;text-align:center;font-size:.9375rem;font-weight:700;color:#0f2b46;line-height:1.25;pointer-events:none}
.gv-stop--up .gv-stop__label{bottom:88px}
.gv-stop--down .gv-stop__label{top:88px}
.gv-detail{margin-top:1rem;background:#fff;border:1px solid #e4e8ee;border-radius:16px;padding:2.25rem 2.5rem;display:grid;grid-template-columns:auto 1fr;gap:1.75rem;align-items:start;box-shadow:0 10px 30px rgba(15,43,70,.06)}
.gv-detail__badge{width:58px;height:58px;border-radius:14px;background:rgba(217,122,27,.12);display:grid;place-items:center;color:#d97a1b}
.gv-detail__badge svg{width:28px;height:28px}
.gv-detail__step{font-size:.75rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#d97a1b}
.gv-detail__title{margin-top:.35rem;font-size:1.5rem;font-weight:700;color:#0f2b46;letter-spacing:-.02em}
.gv-detail__text{margin-top:.75rem;max-width:760px;line-height:1.65;color:#6b7280}
.gv-detail__body{animation:gvSwap .45s ease}
@keyframes gvSwap{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.gv-detail__nav{margin-top:1.5rem;display:flex;gap:.5rem}
.gv-detail__nav button{width:40px;height:40px;border-radius:50%;border:1px solid #e4e8ee;background:#fff;color:#0f2b46;cursor:pointer;display:grid;place-items:center;transition:background .2s,color .2s,border-color .2s}
.gv-detail__nav button:hover{background:#d97a1b;border-color:#d97a1b;color:#fff}
.gv-detail__nav button:disabled{opacity:.35;cursor:default;background:#fff;color:#0f2b46;border-color:#e4e8ee}
.gv-track{display:none}
@media (max-width:900px){
.gv-route{display:none}
.gv-track{display:block;position:relative;margin-top:3rem;padding-left:64px}
.gv-track::before{content:'';position:absolute;left:29px;top:8px;bottom:8px;width:2px;background:#d8dee7}
.gv-track__fill{position:absolute;left:29px;top:8px;width:2px;background:#d97a1b;height:0;transition:height 2.4s ease}
.gv-track.gv-is-live .gv-track__fill{height:calc(100% - 16px)}
.gv-tstop{position:relative;padding-bottom:2.5rem;opacity:0;transform:translateY(16px);transition:.5s}
.gv-track.gv-is-live .gv-tstop{opacity:1;transform:none}
.gv-tstop__icon{position:absolute;left:-64px;top:0;width:60px;height:60px;border-radius:50%;background:#fff;border:2px solid #d97a1b;display:grid;place-items:center;color:#d97a1b}
.gv-tstop__icon svg{width:26px;height:26px}
.gv-tstop__title{font-size:1.125rem;font-weight:700;color:#0f2b46}
.gv-tstop__text{margin-top:.5rem;line-height:1.6;color:#6b7280;font-size:.9375rem}
.gv-detail{display:none}
}
@media (prefers-reduced-motion:reduce){
.gv-route__progress,.gv-stop__btn,.gv-stop__btn svg,.gv-track__fill,.gv-tstop{transition:none!important;animation:none!important}
.gv-stop.gv-is-active .gv-stop__ring{animation:none}
}


/* ============================================================
   13. PAGE HERO — short light band, shared by the inner pages
   ============================================================ */
.page-hero {
  position: relative;
  padding-block: var(--space-16) var(--space-12);
  background:
    radial-gradient(ellipse 60% 70% at 88% 10%, rgba(217, 122, 27, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 80% 90% at 0% 0%, rgba(15, 43, 70, 0.10) 0%, transparent 65%),
    var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.page-hero__inner {
  max-width: 820px;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-5);
}

.page-hero__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.08;
  color: var(--color-heading);
  margin: 0;
}

.page-hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 620px;
  margin: var(--space-6) 0 0;
}

@media (min-width: 1024px) {
  .page-hero {
    padding-block: var(--space-20) var(--space-16);
  }
}


/* ============================================================
   14. PAGE PLACEHOLDERS — scaffolding for pages not written yet
   Deliberately loud: these blocks are meant to be deleted as the
   real content lands (industries.html, case-studies.html).
   ============================================================ */
.page-placeholder-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-placeholder {
  padding: var(--space-10) var(--space-8);
  background-color: var(--color-bg-soft-surface);
  border: 2px dashed #c2cad6;
  border-radius: var(--radius-lg);
  text-align: center;
}

.page-placeholder__tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-accent);
  border-radius: var(--radius-pill);
}

.page-placeholder__note {
  max-width: 60ch;
  margin: var(--space-4) auto 0;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}


/* ============================================================
   15. PAGE HERO — DARK VARIANT
   Same band as .page-hero, inverted for the pages that open on
   navy (gallery). Colours only; the layout is inherited.
   ============================================================ */
.page-hero--dark {
  background:
    radial-gradient(ellipse 60% 70% at 88% 10%, rgba(217, 122, 27, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 80% 90% at 0% 0%, rgba(42, 95, 143, 0.30) 0%, transparent 65%),
    var(--color-primary);
  border-bottom: none;
}

.page-hero--dark .page-hero__title {
  color: var(--color-white);
}

.page-hero--dark .page-hero__subtitle {
  color: rgba(255, 255, 255, 0.82);
}
