/* ==========================================================================
   Lyftbridge — static site stylesheet
   Layer 1: design tokens   Layer 2: base elements   Layer 3: components
   Layer 4: page layout     Layer 5: responsive
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/* ── Layer 1: tokens ───────────────────────────────────────────────────── */
:root {
  /* Fonts */
  --lb-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Core brand */
  --lb-ink: #191919;
  --lb-navy: #000000;
  --lb-blue: #296cac;
  --lb-lime: #cfff69;
  --lb-coral: #ff6b4a;

  /* Casassima blues */
  --lb-blue-dark: #14729b;
  --lb-river: #5d86ad;
  --lb-sky: #93b1d4;

  /* Surfaces */
  --lb-paper: #f7fbff;
  --lb-cream: #ffffff;
  --lb-lavender: #dce8f4;

  /* Lines & text opacity */
  --lb-line: rgba(25, 25, 25, 0.16);
  --lb-muted: rgba(25, 25, 25, 0.68);

  /* Layout */
  --lb-max: 1220px;
  --lb-gutter: clamp(18px, 4vw, 64px);
  --lb-section-pad: clamp(56px, 8vw, 112px);
  --lb-grid-gap: 18px;

  /* Radius */
  --lb-radius: 8px;
  --lb-radius-pill: 999px;

  /* Elevation */
  --lb-shadow-hairline: 0 1px 0 rgba(34, 31, 71, 0.05);
  --lb-shadow-card: 0 10px 32px rgba(34, 31, 71, 0.08);
  --lb-shadow-card-hover: 0 18px 44px rgba(25, 25, 25, 0.14);
  --lb-shadow-media: 0 28px 70px rgba(34, 31, 71, 0.18);

  /* Motion */
  --lb-ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --lb-dur-fast: 160ms;
  --lb-dur: 180ms;
  --lb-dur-slow: 620ms;

  /* Signature textures */
  --lb-texture-diagonal: repeating-linear-gradient(135deg, rgba(34, 31, 71, 0.08) 0 2px, transparent 2px 38px);
  --lb-texture-diagonal-light: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 38px);
}

/* ── Layer 2: base ─────────────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; }

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

body {
  margin: 0;
  color: var(--lb-ink);
  background:
    linear-gradient(135deg, rgba(34, 31, 71, 0.035) 0 1px, transparent 1px 22px),
    var(--lb-paper);
  font-family: var(--lb-font-sans);
  font-size: 17px;
  font-weight: 680;
  line-height: 1.35;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  color: var(--lb-ink);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0.004em;
  text-wrap: balance;
}
h1 { font-size: clamp(42px, 7vw, 92px); line-height: 1.0; }
h2 { font-size: clamp(38px, 5.5vw, 76px); line-height: 1.0; }
h3 { font-size: clamp(22px, 2.6vw, 36px); }
h4 { font-size: clamp(20px, 2vw, 28px); }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--lb-blue); text-decoration: none; }
a:hover { color: var(--lb-blue-dark); }

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

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

:focus-visible { outline: 3px solid var(--lb-lime); outline-offset: 3px; }

.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;
}

/* ── Layer 3: components ───────────────────────────────────────────────── */

/* Buttons — fully-rounded pills; primary carries a lime circle chevron */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: fit-content; min-height: 54px; padding: 0 24px;
  border: 2px solid var(--lb-ink); border-radius: var(--lb-radius-pill);
  background: var(--lb-ink); color: #fff;
  font-family: var(--lb-font-sans); font-size: 17px; font-weight: 900; line-height: 1;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color var(--lb-dur-fast) ease, border-color var(--lb-dur-fast) ease,
              color var(--lb-dur-fast) ease, transform var(--lb-dur) ease;
}
.btn:hover {
  background: var(--lb-blue); border-color: var(--lb-blue); color: #fff;
  transform: translateY(-2px);
}
.btn__chevron {
  display: inline-grid; place-items: center; width: 25px; height: 25px;
  border-radius: 50%; background: var(--lb-lime); color: var(--lb-ink);
  font-size: 14px; font-weight: 900; flex: 0 0 auto;
}
.btn--secondary { background: var(--lb-cream); border-color: var(--lb-ink); color: var(--lb-ink); }
.btn--outline {
  min-height: 44px; padding: 0 18px;
  background: transparent; border-color: var(--lb-blue); color: var(--lb-blue); font-size: 15px;
}
.btn--outline:hover { background: var(--lb-blue); color: #fff; border-color: var(--lb-blue); }
.btn--block { width: 100%; margin-top: 4px; }

/* Text link — blue label, coral underline */
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--lb-blue); font-weight: 900;
  text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 5px; text-decoration-color: var(--lb-coral);
}

/* Eyebrow */
.eyebrow {
  margin: 0 0 18px; color: var(--lb-blue);
  font-size: 14px; font-weight: 900; line-height: 1.1; text-transform: uppercase;
}
.eyebrow--invert { color: var(--lb-lime); }

/* Feature card */
.feature-card {
  display: flex; flex-direction: column; min-width: 0; padding: 18px;
  border: 1px solid var(--lb-line); border-radius: var(--lb-radius);
  background: var(--lb-cream); color: var(--lb-ink);
  box-shadow: var(--lb-shadow-hairline); text-decoration: none;
  transition: box-shadow var(--lb-dur) ease, transform var(--lb-dur) ease, border-color var(--lb-dur) ease;
}
.feature-card img {
  width: 100%; aspect-ratio: 4 / 2.65; object-fit: cover;
  border-radius: var(--lb-radius); border: 1px solid rgba(34, 31, 71, 0.12);
}
.feature-card h3 { margin: 20px 0 12px; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.02; }
.feature-card p { margin: 0; color: var(--lb-muted); font-size: 17px; font-weight: 700; }
a.feature-card:hover {
  box-shadow: var(--lb-shadow-card-hover); transform: translateY(-4px);
  border-color: rgba(41, 108, 172, 0.35); color: var(--lb-ink);
}

/* Category tag */
.tag {
  display: inline-block; color: var(--lb-blue);
  font-size: 13px; font-weight: 900; letter-spacing: 0.02em; text-transform: uppercase;
}
.tag--coral { color: var(--lb-coral); }
.feature-card .tag { margin-top: 20px; }

/* Stat rows — proof figures, never a chart */
.stat-list { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--lb-line); }
.stat-row {
  display: grid; grid-template-columns: minmax(116px, 0.36fr) 1fr; gap: 18px;
  align-items: center; padding: 22px 0; border-bottom: 1px solid var(--lb-line);
}
.stat-row dt {
  color: var(--lb-blue); font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 0.95;
}
.stat-row dd { margin: 0; color: var(--lb-muted); font-size: 17px; font-weight: 760; }

/* Capability grid — edge-to-edge numbered cells divided by hairlines */
.capability-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--lb-line);
}
.capability-cell {
  min-height: 320px; padding: clamp(24px, 3vw, 38px);
  background: var(--lb-paper); color: var(--lb-ink);
}
.capability-cell .num { color: var(--lb-blue); font-size: 14px; font-weight: 900; }
.capability-cell h3 { margin: 42px 0 12px; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.02; }
.capability-cell p { margin: 0; color: var(--lb-muted); font-size: 17px; font-weight: 700; }

/* Step badge — lime ring with a coral dot */
.step-badge {
  display: inline-grid; place-items: center; position: relative;
  width: 56px; height: 56px; border: 2px solid var(--lb-lime); border-radius: 50%;
  color: var(--lb-lime); font-weight: 900; font-size: 18px;
}
.step-badge::after {
  content: ""; position: absolute; right: -4px; top: 7px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--lb-coral);
}

/* Form field */
.field { display: grid; gap: 8px; font-size: 13px; font-weight: 900; text-transform: uppercase; color: var(--lb-ink); }
.field input, .field select {
  min-height: 56px; width: 100%; border: 2px solid var(--lb-ink); border-radius: var(--lb-radius);
  background: #fff; padding: 0 14px; color: var(--lb-ink);
  font-family: var(--lb-font-sans); font-size: 17px; font-weight: 700;
}
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--lb-lime); outline-offset: 2px; }

/* Cut-corner media — the brand's signature shape */
.cut-media {
  width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover;
  border-radius: 0 72px 0 0; display: block;
}

/* Band tones */
.band--cream { background: var(--lb-cream); }
.band--tint { background: var(--lb-lavender); }
.band--blue { background: var(--lb-blue); background-image: var(--lb-texture-diagonal-light); }
.band--blue h2, .band--blue h1 { color: #fff; }
.band--blue > .inner > p { color: rgba(255, 255, 255, 0.86); }
.band--navy {
  background:
    radial-gradient(circle at 78% 14%, rgba(207, 255, 105, 0.14), transparent 24%),
    var(--lb-navy);
  color: #fff; min-height: 70vh;
}
.band--navy h1 { color: #fff; }

/* CTA panel — blue rounded block inside a paper band */
.cta-panel {
  background: var(--lb-blue); background-image: var(--lb-texture-diagonal-light);
  color: #fff; border-radius: var(--lb-radius); padding: clamp(40px, 6vw, 72px);
}
.cta-panel h2 { margin: 0 0 30px; color: #fff; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.0; max-width: 18ch; }

/* ── Layer 4: page layout ──────────────────────────────────────────────── */

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--lb-line);
  background: rgba(255, 253, 248, 0.92); backdrop-filter: blur(14px);
  box-shadow: 0 14px 42px rgba(25, 25, 25, 0.06);
}
.scroll-progress { height: 4px; background: var(--lb-lime); transform-origin: left; transform: scaleX(0); }
.top-banner {
  display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 42px;
  padding: 9px 18px; background: var(--lb-blue); color: #fff;
  font-size: 14px; font-weight: 700; text-align: center;
}
.top-banner:hover { color: #fff; }
.nav-shell {
  display: flex; align-items: center; gap: 30px; width: min(100%, var(--lb-max));
  max-width: 100%; min-height: 78px; margin: 0 auto; padding: 0 var(--lb-gutter);
  position: relative;
}
.brand-image img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; align-self: stretch; gap: 4px; flex: 1; }
/* Items span the full header height so there is no dead gap between the
   trigger and the panel for the pointer to fall through. */
.nav-item { position: static; display: flex; align-items: center; align-self: stretch; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  border-radius: var(--lb-radius-pill); background: transparent; color: var(--lb-ink);
  padding: 0 15px; font-size: 15px; font-weight: 800;
}
.nav-item > a::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav-item:hover > a, .nav-item.is-current > a { background: var(--lb-lavender); }
.nav-item.is-current > a {
  color: var(--lb-blue);
  box-shadow: inset 0 0 0 2px rgba(41, 108, 172, 0.16), inset 0 -3px 0 var(--lb-lime);
}
/* Anchored to the nav column, not the individual item: keeps the original
   960px panel but left-justifies it so it never overflows the viewport edge. */
.mega-menu {
  position: absolute; left: var(--lb-gutter);
  top: 100%; display: grid;
  grid-template-columns: minmax(220px, 300px) repeat(3, minmax(170px, 1fr)); gap: 14px;
  width: min(960px, calc(100% - 2 * var(--lb-gutter))); padding: 20px;
  border: 1px solid var(--lb-line); border-radius: var(--lb-radius);
  background: var(--lb-cream); box-shadow: 0 22px 54px rgba(25, 25, 25, 0.16);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity var(--lb-dur-fast) ease, transform var(--lb-dur-fast) ease; z-index: 30;
}
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.mega-menu h2 { margin: 7px 0 0; font-size: 28px; line-height: 1.06; }
.mega-menu a {
  display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 18px;
  border-radius: var(--lb-radius); background: var(--lb-paper);
  color: var(--lb-muted); font-size: 14px; font-weight: 600;
}
.mega-menu a strong { color: var(--lb-ink); font-size: 18px; }
.mega-menu a:hover {
  background: var(--lb-lavender); color: var(--lb-ink);
  transform: translateY(-2px); transition: var(--lb-dur) ease;
}
.nav-cta-wrap { margin-left: auto; }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

/* Sections */
.section-band { padding: var(--lb-section-pad) var(--lb-gutter); position: relative; }
.inner { width: min(100%, var(--lb-max)); margin: 0 auto; }

/* Home hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch; gap: clamp(32px, 5vw, 64px);
  min-height: calc(100vh - 121px);
  padding: clamp(40px, 6vw, 74px) var(--lb-gutter) clamp(36px, 6vw, 70px);
  background:
    radial-gradient(circle at 74% 18%, rgba(207, 255, 105, 0.42), transparent 22%),
    radial-gradient(circle at 92% 66%, rgba(255, 107, 74, 0.12), transparent 19%),
    linear-gradient(120deg, var(--lb-paper) 0 62%, var(--lb-lavender) 62% 100%);
  overflow: hidden;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  max-width: 650px; padding-right: clamp(0px, 3vw, 40px);
}
.hero h1 { margin: 0; font-size: clamp(42px, 7vw, 88px); line-height: 1.0; }
.hero h1 span { display: block; color: var(--lb-blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 34px; }
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 460px; min-width: 0;
}
.hero-visual img {
  width: 100%; max-width: 520px; height: auto; aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid rgba(34, 31, 71, 0.16); border-radius: 0 92px 0 0;
  box-shadow: var(--lb-shadow-media);
}

/* Client rail */
.logo-strip {
  display: grid; grid-template-columns: minmax(210px, 320px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px); align-items: center; padding: 30px var(--lb-gutter);
  border-block: 1px solid var(--lb-line); background: var(--lb-cream); overflow: hidden;
}
.logo-strip > p {
  margin: 0; max-width: 22ch; color: var(--lb-navy);
  font-size: 14px; font-weight: 800; text-transform: uppercase; line-height: 1.1;
}
.logos {
  display: flex; overflow: hidden; min-width: 0; max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track {
  display: flex; flex: 0 0 auto; gap: 18px; align-items: center;
  min-width: max-content; animation: logoRail 48s linear infinite;
}
.logos:hover .logo-track { animation-play-state: paused; }
.logo-track span {
  display: grid; place-items: center; height: 74px; padding: 12px 22px;
  border: 1px solid rgba(24, 24, 24, 0.1); border-radius: var(--lb-radius);
  background: #fff; box-shadow: 0 16px 36px rgba(20, 114, 155, 0.08);
  color: var(--lb-ink); font-size: 17px; font-weight: 900; letter-spacing: 0.004em;
  white-space: nowrap; text-align: center;
}
@keyframes logoRail {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 18px)); }
}

/* Inner-page hero — one template for every inner page: fixed band height,
   vertically centered content, single text column so no-media pages
   (Solutions/Resources/About) match the has-media page (Why) in weight and
   position instead of stretching a lone paragraph into a stray side panel. */
/* Fixed top offset, not vertical centering: pins the eyebrow to the same
   spot on every inner page regardless of how tall the heading or the
   media column happens to be. */
.page-hero-band {
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: clamp(64px, 12vh, 140px);
  min-height: clamp(460px, 62vh, 640px);
  background:
    repeating-linear-gradient(135deg, rgba(77, 99, 255, 0.08) 0 2px, transparent 2px 32px),
    linear-gradient(90deg, transparent 0 68%, var(--lb-lavender) 68% 100%),
    var(--lb-paper);
}
.page-hero { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 760px; }
.page-hero h1, .band--navy h1 { margin: 0; max-width: 980px; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; }
.page-hero > p { margin: 0; color: var(--lb-muted); font-size: clamp(18px, 2vw, 22px); font-weight: 750; max-width: 52ch; }
.page-hero.has-media {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: clamp(28px, 5vw, 64px); align-items: start; max-width: none;
}
.page-hero.has-media h1 { max-width: 17ch; font-size: clamp(34px, 4.6vw, 60px); }
.page-hero.has-media h1 + p { max-width: 36ch; margin-top: 22px; color: var(--lb-muted); font-size: 20px; font-weight: 750; }
.page-hero-media {
  position: relative; width: 520px; max-width: 100%; aspect-ratio: 4/3; justify-self: end;
  border: 1px solid rgba(34, 31, 71, 0.16); border-radius: 0 92px 0 0; overflow: hidden;
  background: var(--lb-cream); box-shadow: var(--lb-shadow-media);
}
.page-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-media h1 + p { margin-top: 22px; }
.platform-band {
  background: var(--lb-blue); background-image: var(--lb-texture-diagonal-light);
  color: #fff; min-height: calc(100vh - 121px); display: flex; align-items: center;
}

/* Generic grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lb-grid-gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--lb-grid-gap); }
.split {
  display: grid; grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 82px); align-items: start;
}
.split--center { align-items: center; }
.section-heading {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.42fr);
  gap: clamp(24px, 5vw, 72px); align-items: end; margin: 0 auto 44px;
}
.section-heading h2 { margin: 0; font-size: clamp(40px, 6vw, 80px); line-height: 1.0; }
.section-heading > p { margin: 0; color: var(--lb-muted); font-size: 18px; font-weight: 750; }

/* Section copy helpers */
.lead { margin-top: 20px; color: var(--lb-muted); font-size: 18px; font-weight: 680; max-width: 48ch; }
.h2--tight { margin: 0; font-size: clamp(38px, 5.5vw, 72px); line-height: 1.0; }
.h2--mid { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; }

/* Process grid */
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.38); background: rgba(255, 255, 255, 0.38);
}
.process-grid article { min-height: 330px; padding: clamp(24px, 4vw, 42px); background: var(--lb-blue); color: #fff; }
.process-grid h3 { margin: 24px 0 12px; color: #fff; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.04; }
.process-grid p { margin: 0; color: rgba(255, 255, 255, 0.86); font-size: 18px; font-weight: 650; }

/* Programme cards */
.programme-card {
  display: flex; flex-direction: column; border: 1px solid rgba(34, 31, 71, 0.16);
  border-radius: var(--lb-radius); background: var(--lb-cream); overflow: hidden;
  box-shadow: var(--lb-shadow-card);
}
.programme-card img { width: 100%; aspect-ratio: 1/0.72; object-fit: cover; border-bottom: 1px solid rgba(34, 31, 71, 0.12); }
.programme-card > div { padding: 20px; }
.programme-card h3 { margin: 12px 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.06; }
.programme-card p { margin: 0; color: var(--lb-muted); font-size: 16px; }

/* Story block */
.story {
  display: grid; grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 6vw, 76px); align-items: center;
}
.story-media {
  position: relative; overflow: hidden; border: 1px solid rgba(34, 31, 71, 0.14);
  border-radius: 0 78px 0 0; background: var(--lb-lavender);
  box-shadow: 0 24px 60px rgba(34, 31, 71, 0.14);
}
.story-media img { width: 100%; aspect-ratio: 1.2/1; object-fit: cover; display: block; }
.story h2 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; }
.story p { margin: 22px 0 0; color: var(--lb-muted); font-size: 20px; font-weight: 680; }
.story .btn { margin-top: 30px; }
.play-button {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center;
  width: 86px; height: 86px; border: 0; border-radius: 50%;
  background: var(--lb-lime); color: var(--lb-ink);
  transform: translate(-50%, -50%); cursor: pointer; font-size: 26px;
}
.play-button::after {
  content: ""; position: absolute; inset: -7px;
  border: 2px solid var(--lb-coral); border-radius: 50%; opacity: 0.72;
}

/* Contact form */
.contact-form {
  display: grid; gap: 16px; padding: clamp(20px, 4vw, 34px);
  border-radius: var(--lb-radius); background: var(--lb-cream); color: var(--lb-ink);
}
.form-status { margin: 0; color: var(--lb-blue); font-size: 15px; font-weight: 900; }

/* Newsletter row */
.subscribe-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.subscribe-row h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); max-width: 20ch; }

/* Footer */
.site-footer { padding: 56px var(--lb-gutter) 28px; background: var(--lb-cream); }
.footer-brand {
  display: flex; justify-content: space-between; gap: 20px; align-items: start;
  width: min(100%, var(--lb-max)); margin: 0 auto; padding-bottom: 36px;
  border-bottom: 1px solid var(--lb-line);
}
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { max-width: 330px; margin: 8px 0 0; color: var(--lb-muted); font-weight: 700; }
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  width: min(100%, var(--lb-max)); margin: 0 auto; padding: 34px 0;
}
.footer-grid div { display: grid; gap: 10px; align-content: start; }
.footer-grid h3 { margin: 0 0 8px; color: var(--lb-blue); font-size: 15px; text-transform: uppercase; }
.footer-grid a { display: block; padding: 5px 0; color: var(--lb-muted); font-weight: 750; }
.footer-grid a:hover { color: var(--lb-blue); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  width: min(100%, var(--lb-max)); margin: 0 auto; padding-top: 22px;
  border-top: 1px solid var(--lb-line); color: var(--lb-muted); font-size: 14px; font-weight: 700;
}
.footer-bottom p { margin: 0; }

/* ── Layer 5: responsive ───────────────────────────────────────────────── */

/* Mobile nav — source breakpoint */
@media (max-width: 1050px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-shell { justify-content: space-between; }
  .menu-toggle {
    display: inline-grid; grid-template-columns: 22px auto; gap: 4px 10px; align-items: center;
    min-height: 44px; border: 0; border-radius: var(--lb-radius-pill);
    background: var(--lb-ink); color: #fff; padding: 0 16px;
    cursor: pointer; font: inherit; margin-left: auto;
  }
  .menu-toggle > span { display: block; width: 22px; height: 2px; background: currentColor; }
  .menu-toggle em { grid-row: 1 / span 3; grid-column: 2; align-self: center; font-style: normal; font-weight: 900; }
  .mobile-menu {
    display: none; grid-template-columns: 1fr; gap: 1px;
    padding: 0 var(--lb-gutter) 18px; background: var(--lb-cream);
  }
  .mobile-menu.open { display: grid; }
  .mobile-menu a {
    display: flex; align-items: center; min-height: 54px; padding: 16px 0;
    border-bottom: 1px solid var(--lb-line); color: var(--lb-ink);
    font-size: 20px; font-weight: 900;
  }
  .mobile-menu a.is-current { color: var(--lb-blue); }
}

@media (max-width: 1024px) {
  .hero, .split, .story, .section-heading, .grid-3, .grid-4,
  .process-grid, .footer-grid, .footer-brand, .footer-bottom { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero { max-width: none; }
  .page-hero.has-media { grid-template-columns: 1fr; }
  .page-hero.has-media h1 { max-width: none; font-size: clamp(34px, 5.6vw, 60px); }
  .page-hero.has-media h1 + p { max-width: 60ch; }
  .page-hero-media { justify-self: start; }
  .hero-copy { max-width: none; padding-right: 0; }
  .hero-visual { min-height: 0; }
  .page-hero-band { min-height: 0; padding-top: 32px; padding-bottom: 8px; }
}

@media (max-width: 640px) {
  .capability-grid { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: 1fr; }
  .capability-cell { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .logo-track { animation: none; }
}
