@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&family=Inter:wght@400;500;600;700&display=swap");

/* ==========================================================================
   ZAMBA — Rooted Transparency
   Editorial, field-ready design system.
   Signature device: the Chain Thread — a hairline of green→amber with node
   rings that stitches sections together, plus a fine grain on dark surfaces.
   ========================================================================== */

:root {
  /* ---- palette ---------------------------------------------------------- */
  --primary: #1F7A4D;
  --primary-dark: #0F3D2E;
  --navy: #102A43;
  --navy-deep: #0B1F33;
  --accent: #F2A33A;
  --accent-hover: #D98A24;

  --bg: #F7F5EF;
  --bg-warm: #EFEBE1;
  --surface: #FFFFFF;

  --text: #111827;
  --text-muted: #5B6472;
  --text-on-dark: #D7DEE9;
  --text-on-dark-strong: #FFFFFF;

  --border: #E5E7EB;
  --border-strong: #D9D5CB;
  --border-dark: rgba(255, 255, 255, 0.10);

  --focus: #2563EB;

  --primary-tint: rgba(31, 122, 77, 0.08);
  --accent-tint: rgba(242, 163, 58, 0.14);

  /* ---- 8pt spacing scale ------------------------------------------------ */
  --space-1: 0.5rem;    /*  8 */
  --space-2: 1rem;      /* 16 */
  --space-3: 1.5rem;    /* 24 */
  --space-4: 2rem;      /* 32 */
  --space-5: 2.5rem;    /* 40 */
  --space-6: 3rem;      /* 48 */
  --space-7: 4rem;      /* 64 */
  --space-8: 5rem;      /* 80 */
  --space-9: 6rem;      /* 96 */
  --space-10: 7rem;     /* 112 */

  /* ---- type ------------------------------------------------------------- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.0625rem;
  --step-2: 1.125rem;
  --step-3: 1.25rem;
  --step-4: 1.5rem;
  --step-display: clamp(2.5rem, 8vw, 3.5rem);
  --step-h2: clamp(1.75rem, 5vw, 2.25rem);

  /* ---- radii ------------------------------------------------------------ */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-phone: 34px;
  --r-pill: 999px;

  /* ---- elevation (directional, layered — never a generic blur) ---------- */
  --el-1: 0 1px 1px rgba(17, 24, 39, 0.05), 0 2px 6px -1px rgba(17, 24, 39, 0.05);
  --el-2: 0 2px 4px rgba(17, 24, 39, 0.05), 0 12px 26px -12px rgba(17, 24, 39, 0.20);
  --el-3: 0 4px 10px rgba(17, 24, 39, 0.05), 0 30px 50px -24px rgba(15, 61, 46, 0.34);
  --el-4: 0 2px 6px rgba(11, 31, 51, 0.24), 0 48px 72px -40px rgba(11, 31, 51, 0.60);
  --el-lip: inset 0 1px 0 rgba(255, 255, 255, 0.55);

  /* ---- layout ----------------------------------------------------------- */
  --container: 1240px;
  --gutter: 16px;
  --header-h: 56px;
  --section-y: 56px;

  /* ---- signature: the chain thread -------------------------------------- */
  --thread-x: linear-gradient(
    90deg,
    rgba(31, 122, 77, 0) 0%,
    #1F7A4D 14%,
    #1F7A4D 46%,
    #F2A33A 86%,
    rgba(242, 163, 58, 0) 100%
  );
  --thread-y: linear-gradient(
    180deg,
    rgba(31, 122, 77, 0) 0%,
    #1F7A4D 12%,
    #1F7A4D 50%,
    #F2A33A 88%,
    rgba(242, 163, 58, 0) 100%
  );

  /* ---- grain ------------------------------------------------------------ */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");

  --ease-out: cubic-bezier(0.22, 0.72, 0.24, 1);
  --ease-soft: cubic-bezier(0.4, 0.14, 0.3, 1);
}

/* ---- breakpoints -------------------------------------------------------- */
@media (min-width: 768px) {
  :root {
    --gutter: 20px;
    --header-h: 64px;
    --section-y: 80px;
    --step-display: clamp(3rem, 6.4vw, 4.25rem);
    --step-h2: clamp(2rem, 3.4vw, 2.75rem);
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 24px;
    --header-h: 72px;
    --section-y: 112px;
    --step-display: clamp(3rem, 5.6vw, 5rem);
    --step-h2: clamp(2rem, 4vw, 3.5rem);
  }
}

/* ==========================================================================
   RESET
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-1);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
}

img {
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover { color: var(--primary-dark); }

button {
  font: inherit;
  color: inherit;
}

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

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

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  box-shadow: var(--el-3);
  transform: translateY(-160%);
  transition: transform 0.24s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
  color: #fff;
}

/* Signature reveal ---------------------------------------------------------
   JS adds .is-visible; CSS-view-timeline drives the rest where supported.  */
.reveal,
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background-color: var(--navy);
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  isolation: isolate;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--thread-x);
  opacity: 0.55;
  pointer-events: none;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex: 0 0 auto;
  order: 1;
  height: var(--header-h);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  text-decoration: none;
}

.brand:hover { color: #fff; }

.brand img {
  display: block;
  height: 26px;
  width: auto;
}

@media (min-width: 768px) {
  .brand img { height: 30px; }
}

.primary-nav {
  order: 3;
  flex-basis: 100%;
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 0.95rem 0;
  color: rgba(215, 222, 233, 0.84);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 1.5px;
  background: var(--accent);
  transition: right 0.3s var(--ease-out);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: #fff;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  right: 0;
}

.nav-actions {
  order: 4;
  flex-basis: 100%;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
  padding-bottom: var(--space-4);
}

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 0.5rem;
  color: var(--text-on-dark);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.nav-login:hover { color: var(--accent); }

/* Mobile toggle */
.nav-toggle {
  order: 2;
  margin-left: auto;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1),
.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2),
.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3),
.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Drawer open state (mobile / tablet) */
.site-header.nav-open {
  box-shadow: var(--el-4);
}

.site-header.nav-open .primary-nav,
.site-header.nav-open .nav-actions {
  display: flex;
}

@media (max-width: 1023px) {
  .site-header.nav-open .primary-nav {
    display: block;
    border-top: 1px solid var(--border-dark);
    padding-top: var(--space-1);
  }

  .nav-list li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-header.nav-open .nav-actions {
    border-top: 1px solid var(--border-dark);
    padding-top: var(--space-3);
  }

  .site-header.nav-open .nav-actions .btn {
    width: 100%;
  }
}

/* Desktop nav */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .header-inner {
    flex-wrap: nowrap;
    gap: var(--space-5);
    padding-right: 4px;
  }

  .primary-nav {
    order: 2;
    display: block;
    flex-basis: auto;
    margin-inline: auto;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
  }

  .nav-list a {
    padding: 0.5rem 0;
  }

  .nav-actions {
    order: 3;
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: 0;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 14px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out),
              color 0.2s var(--ease-out),
              transform 0.2s var(--ease-out),
              box-shadow 0.2s var(--ease-out);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: var(--el-1), var(--el-lip);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--el-2);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: rgba(31, 122, 77, 0.07);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--space-7));
  padding-bottom: var(--space-8);
  background-color: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.045;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: calc(var(--header-h) + 12px);
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--thread-x);
  opacity: 0.4;
  pointer-events: none;
}

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

.hero-copy {
  max-width: 34rem;
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: var(--space-3);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.overline::before {
  content: "";
  flex: 0 0 auto;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--step-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--text);
  text-wrap: balance;
  max-width: 15ch;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

.lead {
  margin-top: var(--space-3);
  max-width: 46ch;
  color: var(--text-muted);
  font-size: var(--step-2);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.25rem;
  color: var(--primary-dark);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.link-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.28s var(--ease-out);
}

.link-arrow:hover .link-arrow-icon,
.link-arrow:focus-visible .link-arrow-icon {
  transform: translateX(5px);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.hero-note::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.14);
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -16px;
  bottom: -22px;
  left: 22px;
  border: 1px solid var(--accent);
  border-radius: var(--r-xl);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 767px) {
  .hero-visual::before {
    right: -8px;
    bottom: -10px;
    left: 10px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(var(--header-h) + var(--space-8));
    padding-bottom: var(--space-9);
  }

  .hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-8);
  }
}

/* ==========================================================================
   IMAGE FRAMES
   ========================================================================== */

.frame {
  position: relative;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--el-3);
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
}

.frame-browser {
  border-radius: var(--r-lg);
}

.frame-browser::before {
  content: "";
  display: block;
  height: 40px;
  background-color: #FCFBF8;
  background-image:
    radial-gradient(circle at 22px 20px, #D8D3C8 4px, transparent 4.6px),
    radial-gradient(circle at 40px 20px, #D8D3C8 4px, transparent 4.6px),
    radial-gradient(circle at 58px 20px, #D8D3C8 4px, transparent 4.6px);
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
}

.frame-browser::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 82px;
  right: 18px;
  height: 14px;
  border-radius: var(--r-pill);
  background: #EFEDE7;
  pointer-events: none;
}

.frame-phone {
  position: relative;
  display: block;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  padding: 10px;
  border-radius: var(--r-phone);
  background: linear-gradient(158deg, #1B2A3A 0%, #102A43 55%, #0B1F33 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--el-3), 0 0 0 1px rgba(11, 31, 51, 0.08);
}

.frame-phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 20px;
  border-radius: 0 0 12px 12px;
  background: #0B1F33;
  z-index: 2;
}

.frame-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--r-phone) - 12px);
}

/* ==========================================================================
   PROOF STRIP + CHAIN THREAD
   ========================================================================== */

.chain-thread {
  position: relative;
  height: 1px;
  width: 100%;
  background: var(--thread-x);
  background-image:
    var(--thread-x),
    radial-gradient(circle at 25% 50%, var(--primary) 3px, transparent 3.5px),
    radial-gradient(circle at 50% 50%, var(--primary) 3px, transparent 3.5px),
    radial-gradient(circle at 75% 50%, var(--accent) 3px, transparent 3.5px);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 100% 1px, 100% 100%, 100% 100%, 100% 100%;
  pointer-events: none;
}

.proof-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-block: var(--space-5);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.proof-item {
  position: relative;
  padding: var(--space-3) 0 var(--space-3) var(--space-4);
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.proof-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--space-3) + 0.45em);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: var(--bg);
  box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.09);
}

.proof-item + .proof-item {
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .proof-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    padding-block: var(--space-6);
  }

  .proof-item {
    padding-left: var(--space-4);
  }

  .proof-item + .proof-item {
    border-top: 0;
  }
}

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-platform { background-color: var(--surface); }
.section-outcomes { background-color: var(--bg-warm); }
.section-product  { background-color: var(--bg); }
.section-reassure { background-color: var(--surface); }
.section-field    { background-color: var(--navy-deep); }
.section-cta      { background-color: var(--primary-dark); }

/* ==========================================================================
   SPLIT / PLATFORM
   ========================================================================== */

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

.split-editorial {
  gap: var(--space-7);
}

.split-media {
  position: relative;
}

.split-media .frame {
  box-shadow: var(--el-3);
}

.split-copy {
  max-width: 40rem;
}

.split-copy h2 {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-lead {
  margin-top: var(--space-2);
  max-width: 52ch;
  color: var(--text-muted);
  font-size: var(--step-2);
  line-height: 1.65;
  text-wrap: pretty;
}

.module-list {
  list-style: none;
  margin-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.module {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-1) var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s var(--ease-out);
}

.module:hover {
  border-bottom-color: var(--primary);
}

.module-index {
  grid-row: 1 / span 2;
  padding-top: 0.15em;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.module-title {
  font-family: var(--font-body);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}

.module p {
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.65;
  max-width: 46ch;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .split-editorial {
    grid-template-columns: 6.4fr 5.6fr;
    gap: var(--space-9);
  }
}

/* ==========================================================================
   OUTCOMES / CHALLENGES
   ========================================================================== */

.section-head {
  max-width: 46rem;
  margin-bottom: var(--space-7);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

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

.outcome-list {
  list-style: none;
  border-top: 1px solid var(--border-strong);
}

.outcome {
  display: grid;
  gap: 0.35rem;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--border-strong);
}

.outcome-before {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-decoration: line-through;
  text-decoration-color: rgba(91, 100, 114, 0.45);
  text-decoration-thickness: 1px;
}

.outcome-after {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.outcome-after::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.13);
}

.outcome-media {
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: var(--space-2);
}

.outcome-media::before {
  content: "";
  position: absolute;
  inset: 12% 8% auto 8%;
  height: 1px;
  background: var(--thread-x);
  opacity: 0.5;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .outcomes-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-8);
    align-items: center;
  }

  .outcome-media {
    padding-block: 0;
  }
}

/* ==========================================================================
   DARK / FIELD SECTION
   ========================================================================== */

.section-dark {
  position: relative;
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: var(--text-on-dark);
}

.section-head-dark {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}

.section-head-dark h2 {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-head-dark p {
  margin-top: var(--space-2);
  max-width: 54ch;
  color: var(--text-on-dark);
  font-size: var(--step-2);
  line-height: 1.65;
}

.overline-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: var(--space-3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.overline-accent::before {
  content: "";
  flex: 0 0 auto;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

/* ---- Bento --------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-4);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--el-1);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--el-2);
}

.card-dark {
  background-color: var(--navy);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  box-shadow: none;
  overflow: hidden;
}

.card-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.card-dark:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 163, 58, 0.35);
  box-shadow: 0 24px 44px -26px rgba(0, 0, 0, 0.65);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background-color: var(--accent-tint);
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
  flex: 0 0 auto;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.card h3,
.card .card-title {
  font-family: var(--font-body);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.card p {
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.65;
  max-width: 46ch;
}

.card-dark p {
  color: var(--text-on-dark);
}

.card-media {
  position: relative;
  width: 100%;
  margin-top: auto;
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 0.6s var(--ease-out);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 51, 0.02) 0%, rgba(11, 31, 51, 0.42) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.card:hover .card-media img {
  transform: scale(1.035);
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .card-wide {
    grid-column: span 2;
  }

  .card {
    padding: var(--space-5);
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .card-wide {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .card-wide .card-media img {
    aspect-ratio: 16 / 11;
  }
}

/* ==========================================================================
   PRODUCT SHOWCASE
   ========================================================================== */

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

.showcase-row + .showcase-row {
  border-top: 1px solid var(--border);
}

.showcase-media {
  position: relative;
}

.showcase-media::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: 68px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
  pointer-events: none;
}

.showcase-copy {
  max-width: 32rem;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.showcase-copy p {
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: var(--step-2);
  line-height: 1.65;
  max-width: 48ch;
}

.tick-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-top: var(--space-4);
}

.tick-list li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.6;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background-color: rgba(31, 122, 77, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%231F7A4D' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 72% 72%;
}

.tick-list li strong {
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 1024px) {
  .showcase-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    padding-block: var(--space-8);
  }

  .showcase-row-reverse .showcase-media {
    order: 2;
  }

  .showcase-row-reverse .showcase-copy {
    order: 1;
  }

  .showcase-media .frame {
    margin-inline: calc(var(--gutter) * -1) 0;
  }

  .showcase-row-reverse .showcase-media .frame {
    margin-inline: 0 calc(var(--gutter) * -1);
  }
}

/* ==========================================================================
   REASSURANCE
   ========================================================================== */

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

.reassure-copy {
  max-width: 34rem;
}

.reassure-copy h2 {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.reassure-copy p {
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: var(--step-2);
  line-height: 1.65;
}

.reassure-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.reassure-item {
  position: relative;
  padding-top: var(--space-3);
  border-top: 2px solid var(--accent);
}

.reassure-item h3 {
  font-family: var(--font-body);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--text);
}

.reassure-item p {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.65;
  max-width: 38ch;
}

@media (min-width: 768px) {
  .reassure-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) var(--space-4);
  }
}

@media (min-width: 1024px) {
  .reassure-inner {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-8);
  }

  .reassure-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   CTA
   ========================================================================== */

.section-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
  padding-block: var(--space-2);
}

.cta-copy h2 {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: #fff;
  text-wrap: balance;
  max-width: 18ch;
}

.cta-copy p {
  margin-top: var(--space-2);
  max-width: 46ch;
  color: rgba(215, 222, 233, 0.9);
  font-size: var(--step-2);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.section-cta .btn-primary {
  background-color: var(--accent);
  color: var(--navy-deep);
  box-shadow: var(--el-1);
}

.section-cta .btn-primary:hover,
.section-cta .btn-primary:focus-visible {
  background-color: var(--accent-hover);
  color: var(--navy-deep);
}

.section-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.section-cta .btn-secondary:hover,
.section-cta .btn-secondary:focus-visible {
  background-color: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

@media (min-width: 1024px) {
  .cta-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-8);
  }

  .cta-actions {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  background-color: var(--navy-deep);
  color: var(--text-on-dark);
  padding-top: var(--space-8);
  padding-bottom: var(--space-4);
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--thread-x);
  opacity: 0.55;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
}

.footer-brand {
  max-width: 24rem;
}

.footer-brand .brand {
  height: auto;
  color: #fff;
  font-size: 1.35rem;
}

.footer-brand p {
  margin-top: var(--space-2);
  color: rgba(215, 222, 233, 0.72);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 34ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-heading {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-col a {
  color: rgba(215, 222, 233, 0.82);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-base {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-dark);
  color: rgba(215, 222, 233, 0.6);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.footer-base p { margin: 0; }

.footer-base a {
  color: rgba(215, 222, 233, 0.78);
}

.footer-base a:hover {
  color: var(--accent);
}

@media (min-width: 640px) {
  .footer-base {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: span 3;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding-top: var(--space-9);
  }

  .footer-inner {
    grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
    gap: var(--space-5);
    padding-bottom: var(--space-8);
  }

  .footer-brand {
    grid-column: span 1;
    padding-right: var(--space-4);
  }
}

/* ==========================================================================
   MOTION — scroll reveal with view timelines where supported
   ========================================================================== */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
    .card,
    .module,
    .outcome,
    .reassure-item,
    .proof-item {
      animation: zamba-rise linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 30%;
    }

    .showcase-media,
    .split-media {
      animation: zamba-settle linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 34%;
    }
  }
}

@keyframes zamba-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zamba-settle {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes zamba-thread-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero::before,
.site-footer::before {
  transform-origin: left center;
  animation: zamba-thread-draw 1.4s var(--ease-out) both;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
  .site-header,
  .nav-toggle,
  .section-cta,
  .hero-visual::before {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding-block: 24px;
  }
}