/* ============================================================
   Being Ernest — styles.css

   How this file is organised:
     1. Design tokens  (colours, fonts, radii, shadows)
     2. Base typography & resets
     3. Layout helpers  (.wrap, .eyebrow, .lead, .btn, .pill)
     4. Navigation
     5. Hero
     6. Marquee strip
     7. Section base
     8. Mission strip
     9. Partners (logo wall)
    10. City strip
    11. Why-now / problem cards + stats
    12. Approach (4 pillars)
    13. Scope (6 items grid)
    14. How we work (3 tiers)
    15. Founders
    16. CTA section
    17. Footer
    18. Reveal-on-scroll animation

   TIP: to change brand colours, edit :root in section 1 — every
   element on the page uses these CSS variables.
============================================================ */


/* ====================== 1. Design tokens ====================== */
:root {
  --teal:  #04cfc8;
  --green: #03fb95;
  --lime:  #eeff41;

  --ink:   #000000;
  --ink-1: #0a0a0a;
  --ink-2: #111111;
  --ink-3: #1a1a1a;
  --paper: #ffffff;

  --muted:       rgba(255, 255, 255, 0.62);
  --rule:        rgba(255, 255, 255, 0.10);
  --rule-strong: rgba(255, 255, 255, 0.18);
  --grad: linear-gradient(120deg, var(--teal) 0%, var(--green) 60%, var(--lime) 100%);

  --display: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body:    "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.4);
  --shadow-2: 0 1px 2px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.5);
}


/* ====================== 2. Base typography & resets ====================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--paper);
  background: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--lime); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.05;
  margin: 0; color: var(--paper);
}
h1 { font-size: clamp(44px, 7vw, 96px); font-weight: 900; }
h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; }
h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: 0; }
p  { margin: 0 0 1em; }


/* ====================== 3. Layout helpers ====================== */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--paper); opacity: .72;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: var(--paper); display: inline-block; opacity: .6;
}

.lead {
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5;
  color: var(--paper); opacity: .82; max-width: 62ch;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { background: var(--lime); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--rule-strong); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule-strong); border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.04);
  color: var(--paper);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.pill.green .dot { background: var(--green); }
.pill.lime  .dot { background: var(--lime); }


/* ====================== 4. Navigation ====================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.6);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--rule); background: rgba(0,0,0,.78); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.logo img { height: 40px; width: auto; display: block; }
footer .logo img { height: 36px; }
@media (max-width: 540px) { .logo img { height: 34px; } }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 600; font-size: 14px; color: var(--paper); opacity: .72;
  transition: opacity .15s ease;
}
.nav-links a:hover { opacity: 1; }
.nav .cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink);
  padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  transition: transform .15s ease, background .15s ease;
}
.nav .cta:hover { transform: translateY(-1px); background: var(--lime); }
.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  padding: 6px; color: var(--paper);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--rule); padding: 8px 0;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 28px; font-size: 16px; opacity: 1; }
  .nav-links .cta { margin: 12px 28px 16px; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}


/* ====================== 5. Hero ====================== */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 140px) 0 clamp(60px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: 760px; height: 760px; max-width: 95vw;
  background: radial-gradient(closest-side, rgba(4,207,200,.40), rgba(3,251,149,.10) 55%, transparent 75%);
  filter: blur(10px); z-index: -1;
}
.hero::after {
  content: ""; position: absolute; left: -10%; bottom: -25%;
  width: 600px; height: 600px; max-width: 85vw;
  background: radial-gradient(closest-side, rgba(238,255,65,.32), transparent 70%);
  filter: blur(20px); z-index: -1;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .ital {
  font-family: var(--display);
  font-style: italic; font-weight: 500;
  font-size: .82em; letter-spacing: -0.02em;
  display: inline-block; color: var(--paper);
  margin-right: .12em; opacity: .9;
}
.hero .meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* Hero photo card (group shot) */
.hero-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--rule);
}
.hero-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.hero-card .badge {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.45); color: var(--paper);
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
}
.hero-card .badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(3,251,149,.25);
}
.hero-card .caption {
  position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2;
  color: var(--paper); font-family: var(--display);
  font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hero-card .caption .who {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.hero-card .caption .where {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime);
}


/* ====================== 6. Marquee strip ====================== */
.marquee {
  border-block: 1px solid var(--rule);
  background: var(--ink-1);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 56px; padding: 18px 0;
  animation: scroll 32s linear infinite;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper); opacity: .8;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .sep {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); display: inline-block;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ====================== 7. Section base ====================== */
section {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--ink);
}
.section-head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end;
  margin-bottom: 56px;
}
.section-head .lead { margin: 0; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}


/* ====================== 8. Mission strip ====================== */
.mission {
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.mission::before {
  content: ""; position: absolute; inset: auto -10% -60% auto;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(4,207,200,.55), transparent 70%);
  filter: blur(6px);
}
.mission .quote-mark {
  font-family: var(--display); font-weight: 900; font-style: italic;
  color: var(--lime);
  font-size: clamp(120px, 18vw, 220px); line-height: .5;
  display: block; margin-bottom: -.1em;
}
.mission .statement {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3.8vw, 52px); line-height: 1.15; letter-spacing: -0.02em;
  max-width: 24ch; position: relative;
  color: var(--paper);
}
.mission .signature {
  margin-top: 36px; display: inline-flex; align-items: center; gap: 14px;
  color: var(--paper); opacity: .75;
  font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.mission .signature::before {
  content: ""; width: 28px; height: 1px;
  background: var(--lime); display: inline-block;
}
.mission .signature-author {
  align-items: flex-start; flex-direction: column; gap: 2px; opacity: 1;
  text-transform: none; letter-spacing: 0;
}
.mission .signature-author::before { display: none; }
.mission .signature-author .author-name {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--paper); letter-spacing: -0.01em; line-height: 1.1;
}
.mission .signature-author .author-role {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--lime); font-weight: 700;
}


/* ====================== 9. Partners (logo wall) ====================== */
.partners-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 880px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .partners-grid { grid-template-columns: 1fr; } }
.partner {
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  min-height: 140px;
  display: grid; place-items: center;
  padding: 28px 32px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.partner:hover {
  background: var(--ink-3); border-color: var(--rule-strong);
  transform: translateY(-3px);
}
.partner img {
  max-height: 72px; max-width: 100%;
  width: auto; height: auto;
  object-fit: contain;
  opacity: .92;
  transition: opacity .2s ease;
}
.partner:hover img { opacity: 1; }


/* ====================== 10. City strip ====================== */
.cities {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-top: 32px;
}
.city {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04);
  color: var(--paper);
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--rule-strong);
}
.city .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.city:nth-child(1) .dot { background: var(--teal); }
.city:nth-child(2) .dot { background: var(--green); }
.city:nth-child(3) .dot { background: var(--lime); }
.city:nth-child(4) .dot { background: var(--paper); }


/* ====================== 11. Why-now / problem ====================== */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 880px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--ink-2);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--rule);
  position: relative;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.problem-card:hover {
  transform: translateY(-4px); border-color: var(--rule-strong);
  background: var(--ink-3);
}
.problem-card .num {
  font-family: var(--display); font-weight: 900;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.problem-card:nth-child(2) .num { color: var(--green); }
.problem-card:nth-child(3) .num { color: var(--lime); }
.problem-card h3 { margin: 12px 0 14px; }
.problem-card ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.problem-card li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; color: var(--paper); opacity: .85;
}
.problem-card li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); margin-top: 9px; flex: 0 0 6px;
}
.problem-card:nth-child(2) li::before { background: var(--green); }
.problem-card:nth-child(3) li::before { background: var(--lime); }

.stat-strip {
  margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 720px) { .stat-strip { grid-template-columns: 1fr; } }
.stat {
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 28px; background: var(--ink-1);
}
.stat .num {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(40px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.03em;
}
.stat .num .unit { font-weight: 700; opacity: .65; font-size: .55em; margin-left: 4px; }
.stat .label { margin-top: 8px; font-size: 14px; color: var(--muted); }
.stat:nth-child(1) .num { color: var(--teal); }
.stat:nth-child(2) .num { color: var(--green); }
.stat:nth-child(3) .num { color: var(--lime); }


/* ====================== 12. Approach (4 pillars) ====================== */
.approach-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 980px) { .approach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .approach-grid { grid-template-columns: 1fr; } }
.pillar {
  border-radius: var(--radius);
  padding: 32px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  transition: transform .25s ease, border-color .25s ease;
  position: relative;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--rule-strong); }
.pillar .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-grid; place-items: center;
  margin-bottom: 18px;
  background: var(--teal); color: var(--ink);
}
.pillar:nth-child(2) .icon { background: var(--green); }
.pillar:nth-child(3) .icon { background: var(--lime); }
.pillar:nth-child(4) .icon { background: var(--paper); color: var(--ink); }
.pillar h3 { margin: 0 0 8px; }
.pillar p  { font-size: 15px; color: var(--paper); opacity: .78; margin: 0; }


/* ====================== 13. Scope (6 items grid) ====================== */
.scope-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-1);
}
@media (max-width: 980px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-item {
  padding: 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background .2s ease;
}
.scope-item:hover { background: var(--ink-3); }
.scope-item .num {
  font-family: var(--display); font-weight: 900;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal);
}
.scope-item:nth-child(2) .num { color: var(--green); }
.scope-item:nth-child(3) .num { color: var(--lime); }
.scope-item:nth-child(4) .num { color: var(--green); }
.scope-item:nth-child(5) .num { color: var(--lime); }
.scope-item:nth-child(6) .num { color: var(--teal); }
.scope-item h3 { margin: 14px 0 10px; }
.scope-item p  { color: var(--paper); opacity: .72; font-size: 15px; margin: 0; }


/* ====================== 14. How we work (3 tiers) ====================== */
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr; } }

/* Base tier (dark) */
.tier {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--rule);
  background: var(--ink-2);
  color: var(--paper);
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.tier:hover { transform: translateY(-4px); border-color: var(--rule-strong); }
.tier h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); color: inherit; }
.tier .duration { font-size: 13px; color: var(--muted); font-weight: 600; }
.tier .ribbon {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(4,207,200,.14); color: var(--teal); width: fit-content;
  border: 1px solid rgba(4,207,200,.3);
}
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tier ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; color: inherit;
}
.tier ul li::before {
  content: "✓"; color: var(--teal); font-weight: 900; flex: 0 0 auto;
}
.tier .price-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  background: var(--paper); color: var(--ink);
  width: fit-content;
  transition: background .15s ease;
}
.tier .price-cta:hover { background: var(--lime); }

/* Tier 2 — green accent (still on dark) */
.tier-2 .ribbon { background: rgba(3,251,149,.14); color: var(--green); border-color: rgba(3,251,149,.3); }
.tier-2 ul li::before { color: var(--green); }

/* Tier 3 — inverted (white card, must override base text colors) */
.tier-3 { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tier-3 .ribbon { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.tier-3 .duration { color: rgba(0,0,0,.65); }
.tier-3 ul li::before { color: var(--ink); }
.tier-3 .price-cta { background: var(--ink); color: var(--lime); }
.tier-3 .price-cta:hover { background: var(--lime); color: var(--ink); }


/* ====================== 15. Founders ====================== */
.founders-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
@media (max-width: 980px) { .founders-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .founders-grid { grid-template-columns: repeat(2, 1fr); } }
.founder {
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 22px; background: var(--ink-2);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, border-color .25s ease;
}
.founder:hover { transform: translateY(-4px); border-color: var(--rule-strong); }
.founder .portrait {
  aspect-ratio: 1; border-radius: 14px;
  background: var(--ink-3);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.founder .portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
  display: block; transition: transform .6s ease;
  position: relative; z-index: 1;
}
.founder:hover .portrait img { transform: scale(1.04); }

/* Brand-color background per founder — transparent PNG sits on top */
.founder:nth-child(1) .portrait { background: var(--teal); }
.founder:nth-child(2) .portrait { background: var(--green); }
.founder:nth-child(3) .portrait { background: var(--lime); }
.founder:nth-child(4) .portrait { background: var(--paper); }
.founder:nth-child(5) .portrait {
  background: linear-gradient(135deg, var(--teal) 0%, var(--green) 60%, var(--lime) 100%);
}

.founder .name { font-weight: 800; font-size: 16px; letter-spacing: -.01em; color: var(--paper); }
.founder .role { font-size: 13px; color: var(--muted); }
.founder .bio  { font-size: 13px; color: var(--paper); opacity: .78; line-height: 1.45; }


/* ====================== 16. CTA section ====================== */
.cta-section {
  background: var(--ink-1);
  border-radius: var(--radius-lg);
  padding: clamp(56px, 9vw, 120px);
  position: relative; overflow: hidden;
  border: 1px solid var(--rule);
  text-align: center;
}
.cta-section::before {
  content: ""; position: absolute; inset: -40% auto auto -10%;
  width: 600px; height: 600px; max-width: 80vw;
  background: radial-gradient(closest-side, rgba(4,207,200,.4), transparent 70%);
  filter: blur(10px);
}
.cta-section::after {
  content: ""; position: absolute; inset: auto -10% -40% auto;
  width: 600px; height: 600px; max-width: 80vw;
  background: radial-gradient(closest-side, rgba(238,255,65,.28), transparent 70%);
  filter: blur(20px);
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 18px; }
.cta-inner .lead { margin: 0 auto; }
.cta-inner .actions {
  display: inline-flex; gap: 14px; flex-wrap: wrap;
  margin-top: 36px; justify-content: center;
}
.cta-inner .btn-primary { background: var(--lime); color: var(--ink); }
.cta-inner .btn-primary:hover { background: var(--paper); }


/* ====================== 17. Footer ====================== */
footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
  background: var(--ink);
}
.foot-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.foot-links { display: flex; gap: 22px; }
.foot-links a:hover { color: var(--paper); }


/* ====================== 18. Reveal-on-scroll animation ====================== */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
