/* ==========================================================================
   SIURU Consultancy Services — single-page site
   --------------------------------------------------------------------------
   Contents
     1. Design tokens (from the official SIURU design system)
     2. Base & reset
     3. Utilities (container, eyebrow, headings, pattern, reveal)
     4. Components (buttons, cards, pillars, form fields)
     5. Sections (header, hero, story, services, why, contact, footer)
     6. Responsive & motion preferences
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS — values from the SIURU Logo Guidelines / design system.
   Customize the brand here; everything downstream inherits.
   -------------------------------------------------------------------------- */
:root {
  /* Brand core (official) */
  --navy-900: #131B3D;
  --navy-800: #1A2552;
  --navy-700: #233267;   /* primary navy */
  --navy-300: #89AAD9;   /* official secondary tint */
  --navy-100: #E0E6F4;
  --navy-50:  #F2F5FB;

  --green-600: #179A6F;
  --green-500: #1CB081;  /* growth accent */
  --green-100: #E3F4EC;

  --cyan-700: #136C88;
  --cyan-600: #1888AB;
  --cyan-500: #1DA1CA;   /* energy accent */
  --cyan-300: #7FCDE8;
  --cyan-200: #ACE0F3;   /* official secondary tint */

  --neutral-800: #272D38;
  --neutral-600: #565E6E;
  --neutral-500: #767E8E;
  --neutral-300: #C3C8D1;
  --neutral-200: #E1E4EA;
  --neutral-50:  #F7F8FA;
  --white:       #FFFFFF;

  /* Semantic aliases */
  --text-strong: var(--navy-900);
  --text-body:   var(--neutral-800);
  --text-muted:  var(--neutral-600);
  --text-subtle: var(--neutral-500);
  --text-on-brand-muted: rgba(255, 255, 255, 0.72);
  --text-link:   var(--cyan-700);
  --border-subtle:  var(--neutral-200);
  --border-default: var(--neutral-300);
  --focus-ring: rgba(29, 161, 202, 0.55);

  /* Signature gradient — the three rising arrows */
  --gradient-rise: linear-gradient(120deg, var(--navy-700) 0%, var(--green-500) 55%, var(--cyan-500) 100%);

  /* Type — Articulat CF is the official display face; Hanken Grotesk substitutes
     until licensed files are self-hosted. Arimo is the official body face. */
  --font-display: 'Articulat CF', 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Arimo', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --text-display: clamp(2.75rem, 5.2vw, 4.5rem);
  --text-h1: clamp(2rem, 3.4vw, 2.5rem);
  --text-h2: clamp(1.65rem, 2.8vw, 2rem);
  --text-h3: 1.5rem;
  --text-h4: 1.25rem;
  --text-lg: 1.125rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-relaxed: 1.65;
  --tracking-tight: -0.02em;
  --tracking-wider: 0.12em;
  --tracking-caps: 0.16em;

  /* Spacing — 8px grid with a 4px half-step */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;

  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --container-lg: 1120px;
  --container-xl: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-pad: clamp(56px, 8vw, 96px);
  --header-h: 64px;

  /* Shadows — cool, navy-tinted, soft */
  --shadow-sm: 0 1px 3px rgba(19, 28, 64, 0.08), 0 1px 2px rgba(19, 28, 64, 0.06);
  --shadow-md: 0 6px 16px rgba(19, 28, 64, 0.10), 0 2px 6px rgba(19, 28, 64, 0.06);
  --shadow-lg: 0 16px 36px rgba(19, 28, 64, 0.12), 0 6px 14px rgba(19, 28, 64, 0.07);
  --shadow-xl: 0 28px 60px rgba(19, 28, 64, 0.16), 0 10px 24px rgba(19, 28, 64, 0.08);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  /* Motion — restrained and professional */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
}

/* Articulat CF resolves only to a locally installed / self-hosted copy;
   otherwise the stack falls through to Hanken Grotesk. */
@font-face {
  font-family: 'Articulat CF';
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
  src: local('Articulat CF Medium'), local('ArticulatCF-Medium');
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
  background: var(--white);
}

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

h1, h2, h3, p, ul { margin: 0; }

a { color: var(--text-link); }

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-md);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 100;
  padding: var(--space-3) var(--space-5);
  background: var(--navy-700);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--dur-base) var(--ease-standard);
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. UTILITIES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--lg { max-width: var(--container-lg); }

/* Eyebrow / overline — the one ALL-CAPS element, echoing the brand lockup */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.eyebrow--navy  { color: var(--navy-700); }
.eyebrow--green { color: var(--green-600); }
.eyebrow--cyan  { color: var(--cyan-300); }

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h2);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
  text-wrap: balance;
}

/* Gradient headline accent */
.text-gradient {
  background: linear-gradient(100deg, var(--green-500), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Signature "rise" divider */
.rise-rule {
  width: 96px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--gradient-rise);
}

/* Official brand pattern — the logo mark tiled at low opacity on navy bands */
.siuru-pattern { position: relative; }
.siuru-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/siuru-icon-white.png');
  background-size: 220px;
  opacity: 0.035;
  pointer-events: none;
}
.siuru-pattern > * { position: relative; }

/* Scroll-reveal: elements start hidden only once JS confirms it will run */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-slow) var(--ease-standard),
    transform 480ms var(--ease-standard);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   4. COMPONENTS
   -------------------------------------------------------------------------- */

/* ---- Buttons ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 0;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard),
    filter var(--dur-base) var(--ease-standard);
}
.button:hover  { transform: translateY(-1px); filter: brightness(1.07); }
.button:active { transform: scale(0.99); filter: brightness(0.98); }

.button--sm { height: 36px; padding-inline: var(--space-4); font-size: var(--text-sm); }
.button--lg { height: 52px; padding-inline: var(--space-6); font-size: var(--text-base); }
.button--block { width: 100%; }

.button--primary {
  background: var(--navy-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.button--rise {
  background: var(--gradient-rise);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(32, 48, 104, 0.30);
}
.button--rise:hover { box-shadow: 0 18px 38px rgba(32, 48, 104, 0.36); }

/* ---- Service cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-5);
}

.card {
  --card-accent: var(--navy-700);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition:
    transform var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}
.card::before {
  /* Coloured top accent bar — categorises the card */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card--navy  { --card-accent: var(--navy-700); }
.card--green { --card-accent: var(--green-500); }
.card--cyan  { --card-accent: var(--cyan-500); }

.card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.card__number {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--text-h4);
  color: var(--card-accent);
}
.card__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-subtle);
  text-align: right;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h3);
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}
.card__body {
  font-size: var(--text-base);
  color: var(--text-muted);
  text-wrap: pretty;
}
.card__list {
  list-style: none;
  padding: var(--space-3) 0 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.card__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-body);
}
.card__list li::before {
  content: '';
  width: 7px; height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--card-accent);
}

/* ---- Why-SIURU pillars ---- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  transition:
    background var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard);
}
.pillar:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-3px);
}
.pillar__bar {
  width: 36px; height: 4px;
  border-radius: var(--radius-pill);
}
.pillar__bar--navy  { background: var(--navy-300); }
.pillar__bar--green { background: var(--green-500); }
.pillar__bar--cyan  { background: var(--cyan-500); }
.pillar__bar--rise  { background: var(--gradient-rise); }
.pillar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h4);
  color: var(--white);
}
.pillar__body {
  font-size: var(--text-sm);
  color: var(--text-on-brand-muted);
}

/* ---- Form fields ---- */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-strong);
}
.field__input {
  height: 44px;
  padding-inline: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition:
    border-color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}
.field__input--textarea {
  height: auto;
  padding-block: var(--space-3);
  resize: vertical;
  min-height: 120px;
}
.field__input::placeholder { color: var(--text-subtle); }
.field__input:focus-visible {
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-focus);
}

/* --------------------------------------------------------------------------
   5. SECTIONS
   -------------------------------------------------------------------------- */

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition:
    background var(--dur-slow) var(--ease-standard),
    box-shadow var(--dur-slow) var(--ease-standard);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: var(--header-h);
}
.site-header__brand { display: flex; flex-shrink: 0; }
.site-header__logo { width: 170px; height: auto; }
.site-header__logo--dark { display: none; }

/* Over the navy hero: transparent, white logo & links */
.site-nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--text-on-brand-muted);
  padding: var(--space-2) 0;
  transition: color var(--dur-base) var(--ease-standard);
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--white); }

/* Over the navy hero the primary nav CTA would vanish — ghost it instead */
.site-header:not(.is-scrolled):not(.is-open) .site-nav__menu .button--primary {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* Once scrolled: translucent white glass, navy logo & links */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 -1px 0 var(--border-subtle);
}
.site-header.is-scrolled .site-header__logo--light { display: none; }
.site-header.is-scrolled .site-header__logo--dark  { display: block; }
.site-header.is-scrolled .site-nav__link { color: var(--text-muted); }
.site-header.is-scrolled .site-nav__link:hover,
.site-header.is-scrolled .site-nav__link.is-active { color: var(--navy-700); }

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

/* Mobile toggle (hidden on desktop) */
.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.site-nav__toggle-bar {
  display: block;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--white);
  transition:
    transform var(--dur-base) var(--ease-standard),
    background var(--dur-base) var(--ease-standard);
}
.site-header.is-scrolled .site-nav__toggle-bar,
.site-header.is-open .site-nav__toggle-bar { background: var(--navy-700); }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 70%, #1B3A5E 100%);
  overflow: hidden;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  padding-block:
    calc(var(--header-h) + clamp(64px, 10vw, 128px))
    clamp(72px, 9vw, 120px);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.hero__glow--cyan {
  top: -120px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(29, 161, 202, 0.22) 0%, transparent 70%);
}
.hero__glow--green {
  bottom: -160px; left: -100px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(28, 176, 129, 0.16) 0%, transparent 70%);
}
.hero__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--white);
  max-width: 15ch;
  text-wrap: balance;
}
.hero__lede {
  font-size: var(--text-lg);
  color: var(--text-on-brand-muted);
  max-width: 58ch;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-2);
}
.hero__secondary-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--white);
  text-decoration: none;
  padding: var(--space-3) var(--space-2);
  transition: color var(--dur-base) var(--ease-standard);
}
.hero__secondary-link:hover { color: var(--cyan-300); }

/* Staggered entrance for hero children */
.js .hero .reveal:nth-child(1) { transition-delay: 0ms; }
.js .hero .reveal:nth-child(2) { transition-delay: 70ms; }
.js .hero .reveal:nth-child(3) { transition-delay: 140ms; }
.js .hero .reveal:nth-child(4) { transition-delay: 210ms; }
.js .hero .reveal:nth-child(5) { transition-delay: 280ms; }

/* ---- Sections share scroll offset below the fixed header ---- */
.story, .services, .why, .contact { scroll-margin-top: var(--header-h); }

/* ---- Our story ---- */
.story { background: var(--navy-50); }
.story__inner {
  display: grid;
  grid-template-columns: 1.15fr minmax(300px, 380px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: var(--section-pad);
}
.story__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.story__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.story__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.story__body {
  font-size: var(--text-lg);
  color: var(--text-body);
  text-wrap: pretty;
}

/* Founder card — the section's visual anchor, balancing the story text */
.founder {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition:
    transform var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}
.founder::before {
  /* Signature rise-gradient accent, matching the service cards */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-rise);
  z-index: 1;
}
.founder:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.founder__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.founder__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1, 0.25rem);
  padding: var(--space-5);
}
.founder__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h4);
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}
.founder__role {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.founder__linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-link);
  text-decoration: none;
}
.founder__linkedin:hover { text-decoration: underline; }
.founder__linkedin-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- Services ---- */
.services { background: var(--white); }
.services__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding-block: var(--section-pad);
}
.services__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ---- Why SIURU ---- */
.why { background: var(--navy-700); }
.why.siuru-pattern::before { background-size: 200px; opacity: 0.03; }
.why__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding-block: var(--section-pad);
}
.why__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 60ch;
}
.why__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h1);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--white);
}
.why__heading-accent { color: var(--green-500); }
.why__lede {
  font-size: var(--text-lg);
  color: var(--text-on-brand-muted);
  text-wrap: pretty;
}

/* ---- Contact ---- */
.contact {
  background: var(--neutral-50);
  position: relative;
  overflow: hidden;
}
.contact__glow {
  position: absolute;
  top: -140px; left: 50%;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(172, 224, 243, 0.5) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.contact__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-block: var(--section-pad);
  position: relative;
}
.contact__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact__lede {
  color: var(--text-muted);
  text-wrap: pretty;
}
.contact__channels {
  list-style: none;
  padding: 0;
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact__channel {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-standard);
}
.contact__channel:hover { color: var(--text-link); text-decoration: underline; }
.contact__channel--primary { color: var(--text-link); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.contact-form__status {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--green-600);
  background: var(--green-100);
  border: 1px solid var(--green-500);
  border-radius: var(--radius-md);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-900);
  color: var(--white);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-block: var(--space-8) var(--space-5);
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 44ch;
}
.site-footer__tagline {
  font-size: var(--text-sm);
  color: var(--text-on-brand-muted);
}
.site-footer__contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}
.site-footer__contact a {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-on-brand-muted);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-standard);
}
.site-footer__contact a:first-child { color: var(--white); }
.site-footer__contact a:hover { color: var(--cyan-300); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--text-xs);
  color: var(--text-on-brand-muted);
}
.site-footer__motto {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE & MOTION PREFERENCES
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .story__inner { grid-template-columns: 1fr; }
  .founder {
    max-width: 400px;
    width: 100%;
  }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-nav__toggle { display: flex; }

  .site-nav__menu {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    padding: var(--space-4) var(--gutter) var(--space-5);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-subtle);

    /* closed state */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity var(--dur-base) var(--ease-standard),
      transform var(--dur-base) var(--ease-standard),
      visibility 0s var(--dur-base);
  }
  .site-header.is-open .site-nav__menu {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition:
      opacity var(--dur-base) var(--ease-standard),
      transform var(--dur-base) var(--ease-standard);
  }
  /* Menu panel is always white — force navy links regardless of scroll state */
  .site-nav__menu .site-nav__link {
    color: var(--text-body);
    font-size: var(--text-base);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .site-nav__menu .site-nav__link:hover,
  .site-nav__menu .site-nav__link.is-active { color: var(--navy-700); }
  .site-nav__menu .button { margin-top: var(--space-3); }

  /* Solid header while the menu is open so the panel reads as one surface */
  .site-header.is-open { background: var(--white); }
  .site-header.is-open .site-header__logo--light { display: none; }
  .site-header.is-open .site-header__logo--dark  { display: block; }

  .contact-form__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
