/* ============================================================
   EVERWARD — everward.ai
   AI automation, guarded for life.
   Palette: midnight navy / deep ink / warm gold / bone white
   Type: Fraunces (display) · Inter (body)
   Spacing system: 8px base
   ============================================================ */

:root {
  /* Palette */
  --navy: #0A1128;
  --ink: #060B1C;
  --gold: #D4AF6A;
  --bone: #F4F1EA;
  --bone-60: rgba(244, 241, 234, 0.6);
  --bone-40: rgba(244, 241, 234, 0.4);
  --gold-40: rgba(212, 175, 106, 0.4);
  --gold-20: rgba(212, 175, 106, 0.2);
  --gold-08: rgba(212, 175, 106, 0.08);
  --hairline: rgba(212, 175, 106, 0.28);

  /* Type */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Fluid scale */
  --fs-hero: clamp(3rem, 9vw, 8.5rem);
  --fs-h2: clamp(2.125rem, 5vw, 4.5rem);
  --fs-h3: clamp(1.375rem, 2.2vw, 1.875rem);
  --fs-quote: clamp(1.625rem, 3.4vw, 3rem);
  --fs-body: clamp(1rem, 1.1vw, 1.125rem);
  --fs-label: 0.6875rem;

  /* Spacing — 8px system */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s6: 48px; --s8: 64px; --s12: 96px; --s16: 128px; --s20: 160px;

  --container: 1280px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(var(--s3), 4vw, var(--s6));
}

/* ---------- Typographic atoms ---------- */
.label {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-40);
}

.section__eyebrow { color: var(--gold); margin-bottom: var(--s3); }

.section__title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: var(--fs-h2);
  font-weight: 340;
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 20ch;
  margin-bottom: var(--s4);
  text-wrap: balance;
}

.section__lede {
  max-width: 56ch;
  color: var(--bone-60);
  margin-bottom: var(--s8);
}

.section { padding-block: clamp(var(--s12), 12vw, var(--s20)); position: relative; }

/* Split-text masking */
.split-line { display: block; overflow: hidden; }
.split-inner { display: block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  will-change: transform;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn--gold:hover { background: var(--bone); border-color: var(--bone); }

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--hairline);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--xl { padding: 20px 44px; font-size: 0.9375rem; }
.btn--sm { padding: 10px 20px; font-size: 0.75rem; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 0 0 0);
}

.preloader__inner { text-align: center; }

.preloader__wordmark {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  letter-spacing: 0.05em;
  color: var(--bone);
}

.preloader__counter {
  margin-top: var(--s3);
  font-family: var(--sans);
  font-size: var(--fs-label);
  letter-spacing: 0.3em;
  color: var(--gold);
}
.preloader__counter span::after { content: ""; }

/* ---------- Custom cursor ---------- */
.cursor { pointer-events: none; }

.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 190;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-100px, -100px);
  will-change: transform;
}

.cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.cursor__ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold-40);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.cursor__ring.is-active {
  width: 64px;
  height: 64px;
  border-color: var(--gold);
}

@media (pointer: coarse) {
  .cursor { display: none; }
}
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

/* ---------- Grain + vignette ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 150;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(3) infinite;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2%, 1%); }
  66% { transform: translate(1%, -2%); }
  100% { transform: translate(0, 0); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 149;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, rgba(6, 11, 28, 0.55) 100%),
    radial-gradient(ellipse 80% 60% at 50% 50%, var(--gold-08) 0%, transparent 70%);
  mix-blend-mode: normal;
  opacity: 0.9;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s3) clamp(var(--s3), 4vw, var(--s6));
  transition: background-color 0.5s var(--ease-out), backdrop-filter 0.5s var(--ease-out), padding 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(6, 11, 28, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--gold-20);
  padding-block: var(--s2);
}

.nav__wordmark {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 1.0625rem;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.nav__glyph { color: var(--gold); font-style: italic; font-weight: 500; }

.nav__links { display: flex; gap: var(--s4); }

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-60);
  position: relative;
  padding-block: 4px;
  transition: color 0.3s var(--ease-out);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav__link:hover { color: var(--bone); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  align-items: center;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--bone);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav__burger.is-open span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--s8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}

.nav-overlay__link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 340;
  color: var(--bone);
  transition: color 0.3s;
}
.nav-overlay__link:hover { color: var(--gold); }
.nav-overlay__cta { margin-top: var(--s4); }
.nav-overlay__foot {
  position: absolute;
  bottom: var(--s6);
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-40);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero__fallback {
  position: absolute;
  inset: 0;
  display: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(212, 175, 106, 0.22) 0%, rgba(212, 175, 106, 0.07) 22%, transparent 46%),
    radial-gradient(circle at 50% 48%, rgba(20, 32, 68, 0.9) 0%, var(--navy) 60%);
}
.hero.is-fallback .hero__fallback { display: block; }
.hero.is-fallback .hero__canvas { display: none; }

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--s12);
  padding-bottom: var(--s12);
}

.hero__eyebrow { color: var(--gold); margin-bottom: var(--s4); }

.hero__title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: var(--fs-hero);
  font-weight: 320;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 12ch;
  text-wrap: balance;
  margin-bottom: var(--s4);
  text-shadow: 0 2px 60px rgba(6, 11, 28, 0.8);
}

.hero__sub {
  max-width: 52ch;
  color: var(--bone-60);
  margin-bottom: var(--s6);
}

.hero__actions { display: flex; gap: var(--s2); flex-wrap: wrap; justify-content: center; }

.hero__scrollcue {
  position: absolute;
  bottom: var(--s4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
}

.hero__scrollline {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollcue 2.4s var(--ease-out) infinite;
  transform-origin: top;
}

@keyframes scrollcue {
  0% { transform: scaleY(0); }
  40% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Stats ---------- */
.stats {
  border-block: 1px solid var(--gold-20);
  background: rgba(10, 17, 40, 0.5);
  padding-block: var(--s6);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}

.stat { text-align: center; }

.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 340;
  color: var(--gold);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat__num em {
  font-style: normal;
  font-size: 0.45em;
  letter-spacing: 0.05em;
}

.stat__label { display: block; margin-top: var(--s1); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: var(--s4);
  border-bottom: 1px solid var(--gold-20);
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  animation: marquee 36s linear infinite;
  will-change: transform;
}

.marquee__group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__group span {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 340;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone-40);
  padding-inline: var(--s4);
}

.marquee__group i { color: var(--gold); font-style: normal; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .hero__scrollline { animation: none; }
  .grain { animation: none; }
}

/* ---------- Cards (glassmorphism) ---------- */
.card {
  position: relative;
  background: rgba(10, 17, 40, 0.55);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: var(--s6) var(--s4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  will-change: transform;
}

.card--tilt { transition: border-color 0.4s var(--ease-out); }
.card--tilt:hover { border-color: var(--gold-40); }

.card__index {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: var(--s3);
}

.card__title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 380;
  line-height: 1.2;
  margin-bottom: var(--s2);
}

.card__body { color: var(--bone-60); font-size: 0.9375rem; }

/* ---------- Problem ---------- */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}

.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 320;
  font-size: var(--fs-quote);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--bone);
  max-width: 26ch;
  margin: clamp(var(--s8), 10vw, var(--s16)) auto 0;
  text-align: center;
  position: relative;
  padding-top: var(--s6);
}

.pullquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 1px;
  background: var(--gold);
}

/* ---------- What we do (index teaser) ---------- */
.wedo { border-top: 1px solid var(--gold-20); }

.wedo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--s8);
  border-top: 1px solid var(--gold-20);
}

.wedo__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s1) var(--s4);
  align-items: baseline;
  padding-block: var(--s4);
  border-bottom: 1px solid var(--gold-20);
}

.wedo__name {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 380;
  line-height: 1.2;
}

.wedo__price {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}

.wedo__desc {
  grid-column: 1 / -1;
  color: var(--bone-60);
  font-size: 0.9375rem;
  max-width: 44ch;
}

.wedo__more {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s1);
  margin-top: var(--s6);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}

.wedo__more:hover { border-color: var(--gold); }

/* ---------- Method ---------- */
.method { background: linear-gradient(180deg, var(--ink) 0%, var(--navy) 50%, var(--ink) 100%); }

.method__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  align-items: stretch;
}

.card--tier { display: flex; flex-direction: column; gap: var(--s2); }

.card--tier-featured {
  border-color: var(--gold-40);
  background: linear-gradient(160deg, rgba(212, 175, 106, 0.07) 0%, rgba(10, 17, 40, 0.6) 45%);
}

.tier__index { color: var(--gold); }

.tier__name {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  font-weight: 360;
  line-height: 1.1;
}

.tier__price {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.tier__list {
  margin-top: auto;
  padding-top: var(--s3);
  border-top: 1px solid var(--gold-20);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.tier__list li {
  font-size: 0.875rem;
  color: var(--bone-60);
  padding-left: var(--s3);
  position: relative;
}

.tier__list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--gold);
}

.method__retainer {
  margin-top: var(--s3);
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: var(--s6);
}

/* ---------- Proof ---------- */
.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}

.card--proof { padding: var(--s4); }

.proof__icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-bottom: var(--s3);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card--proof .card__title { font-size: 1.25rem; }

/* ---------- Process ---------- */
.process { padding-bottom: 0; overflow: hidden; }
.process__head { margin-bottom: var(--s8); }

.process__pin { position: relative; }

.process__track {
  display: flex;
  gap: var(--s3);
  padding-inline: clamp(var(--s3), 4vw, var(--s6));
  padding-bottom: clamp(var(--s12), 12vw, var(--s20));
  width: max-content;
}

.step {
  width: min(420px, 78vw);
  flex-shrink: 0;
  border-top: 1px solid var(--gold-20);
  padding-top: var(--s4);
}

.step__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s3);
}

.step__title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 380;
  margin-bottom: var(--s2);
}

.step__body { color: var(--bone-60); font-size: 0.9375rem; max-width: 40ch; }

/* ---------- Founder ---------- */
.founder { background: var(--navy); border-block: 1px solid var(--gold-20); }

.founder__inner { max-width: 760px; }

.founder__letter {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.55;
}

.founder__line { margin-bottom: var(--s4); color: var(--bone); }
.founder__line em { color: var(--gold); }

.founder__sig { margin-top: var(--s8); }

.founder__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: var(--s1);
}

.founder__role { margin-bottom: var(--s2); }

.founder__mail {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--bone-60);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.founder__mail:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Warrant / lead magnet ---------- */
.warrant__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s8);
  align-items: center;
  padding: clamp(var(--s6), 6vw, var(--s12));
}

.warrant__title {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  font-weight: 350;
  line-height: 1.1;
  margin-bottom: var(--s3);
}

.warrant__copy .section__lede { margin-bottom: var(--s4); }

.warrant__points { display: flex; flex-direction: column; gap: var(--s1); }
.warrant__points li::before { content: "— "; color: var(--gold); }

.warrant__form label { display: block; margin-bottom: var(--s2); color: var(--gold); }

.warrant__row { display: flex; gap: var(--s2); flex-wrap: wrap; }

.warrant__form input,
.footer__form input {
  flex: 1 1 200px;
  background: rgba(6, 11, 28, 0.6);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  color: var(--bone);
  padding: 14px 24px;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.3s;
}

.warrant__form input:focus,
.footer__form input:focus { border-color: var(--gold); }

.warrant__form input::placeholder,
.footer__form input::placeholder { color: var(--bone-40); }

.form__note { margin-top: var(--s2); }

.form__thanks {
  margin-top: var(--s3);
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
}

/* ---------- Final CTA ---------- */
.final {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 60%, rgba(212, 175, 106, 0.09) 0%, transparent 70%),
    var(--ink);
}

.final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final__title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 320;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
  text-wrap: balance;
  margin-bottom: var(--s4);
}

.final__sub {
  max-width: 48ch;
  color: var(--bone-60);
  margin-bottom: var(--s6);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--gold-20);
  background: var(--navy);
  padding-top: clamp(var(--s8), 8vw, var(--s12));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
  gap: var(--s6);
  padding-bottom: clamp(var(--s8), 8vw, var(--s12));
}

.footer__wordmark {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  margin-bottom: var(--s2);
}

.footer__tag { color: var(--bone-40); font-size: 0.875rem; }

.footer__head { color: var(--gold); margin-bottom: var(--s3); }

.footer__col { display: flex; flex-direction: column; gap: var(--s2); align-items: flex-start; }

.footer__col a {
  font-size: 0.9375rem;
  color: var(--bone-60);
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--gold); }

.footer__newscopy { font-size: 0.875rem; color: var(--bone-60); }

.footer__form {
  display: flex;
  gap: var(--s1);
  flex-wrap: wrap;
  width: 100%;
}
.footer__form input { padding: 10px 20px; font-size: 0.875rem; }

.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
  border-top: 1px solid var(--gold-20);
  padding-block: var(--s3);
  font-size: 0.8125rem;
  color: var(--bone-40);
}

.footer__base a { border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.footer__base a:hover { color: var(--gold); border-color: var(--gold); }

.footer__guarded { color: var(--gold-40); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .method__grid, .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .method__retainer { grid-template-columns: 1fr; gap: var(--s3); justify-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .problem__grid, .method__grid, .proof__grid, .wedo__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s3); }
  .warrant__inner { grid-template-columns: 1fr; gap: var(--s6); }
  .footer__grid { grid-template-columns: 1fr; }

  /* Process falls back to vertical steps on mobile */
  .process__track {
    flex-direction: column;
    width: 100%;
    gap: var(--s6);
  }
  .step { width: 100%; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
