/* ==========================================================================
   activate — Landing page styles
   v2 — pulls hero / 3-pillar / stat-row / generous whitespace patterns from
        Halden Miller (https://halden-miller.webflow.io) and translates them
        into the activate brand system from the deck.

   Brand palette:
     ink #110b0f · olive #23762e · sage #6e9874 · stone #c3beaa · cream #f7f7f1
   ========================================================================== */

:root {
  --ink:        #110b0f;
  --ink-2:      #1a1714;
  --olive:      #23762e;
  --olive-deep: #1a5d24;
  --sage:       #6e9874;
  --stone:      #c3beaa;
  --cream:      #f7f7f1;
  --cream-2:    #efede3;
  --cream-3:    #e6e3d8;
  --stone-line: #dad7c8;
  --muted:      #4a4640;
  --muted-2:    #6a655c;
  --error:      #b54a3a;

  --head: 'Inter Tight', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --pad-x: clamp(20px, 5vw, 72px);
  --section-y: clamp(96px, 12vw, 180px);

  --radius:    6px;
  --radius-lg: 14px;

  --top-bar-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--olive); color: var(--cream); }

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---------- INTRO OVERLAY ---------- */

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.intro-overlay.intro-hide {
  opacity: 0;
  pointer-events: none;
}
.intro-mark {
  color: var(--cream);
  display: block;
  height: clamp(80px, 10vw, 140px);
  width: auto;
}
.intro-mark .intro-dot {
  transform-origin: 163.5px 118.5px; /* centre of the 31×31 square */
  animation: intro-dot-pulse 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes intro-dot-pulse {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 1;   }
}
/* Lock scroll while intro is up */
body.intro-active { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none; }
  body.intro-active { overflow: visible; }
}

/* ---------- SCROLL REVEAL ---------- */
/* Only hides content once JS has flagged it can animate.
   Without JS, .reveal / .reveal-stagger elements render normally. */

.js-anim .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 950ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.js-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-anim .reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}
.js-anim .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.js-anim .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 110ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 220ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 330ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 440ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 550ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 660ms; }
.js-anim .reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 770ms; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal,
  .js-anim .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- TYPOGRAPHY ---------- */

.display {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(40px, min(7.4vw, 11vh), 100px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-align: center;
}
.display em {
  font-style: italic;
  color: var(--olive);
  font-weight: 500;
}

.h-2 {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h-2 em {
  font-style: italic;
  color: var(--olive);
  font-weight: 500;
}
.logo-inline {
  display: inline-block;
  color: var(--ink);
  vertical-align: baseline;
}
.logo-inline svg {
  display: inline-block;
  height: 0.78em;
  width: auto;
  vertical-align: -0.02em;
}

.h-2-light {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.h-2-light em {
  font-style: italic;
  color: var(--sage);
  font-weight: 500;
}

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 28px;
}
.eyebrow-light { color: var(--sage); }

.section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .h-2 { max-width: 980px; }
.section-head-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-head-center .h-2 { max-width: 880px; }

.section-lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 720px;
  margin-top: 28px;
}
.section-head-center .section-lede { text-align: center; }

/* ---------- TOP NAV ---------- */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--pad-x);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 320ms ease, backdrop-filter 320ms ease;
}
.top-bar.scrolled {
  background: rgba(247, 247, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  justify-self: start;
}
.wordmark img {
  display: block;
  height: 20px;
  width: auto;
  max-width: 140px;
}
.nav-links {
  display: flex;
  gap: 32px;
  justify-self: center;
  list-style: none;
}
.nav-links a {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 180ms ease;
}
.nav-links a:hover { color: var(--olive); }
.top-cta {
  justify-self: end;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  background: var(--ink);
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  transition: background 180ms ease, transform 180ms ease;
}
.top-cta:hover { background: var(--olive); }
.top-cta:active { transform: translateY(1px); }

/* ---------- HERO (centered) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Pull the hero up under the sticky top-bar so the gradient mesh
     extends behind the nav. The top-bar is transparent at scroll=0. */
  margin-top: calc(-1 * var(--top-bar-h, 76px));
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: calc(var(--top-bar-h, 76px) + clamp(48px, 6vw, 100px))
           var(--pad-x)
           clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* Breathing gradient mesh — two soft blobs drifting independently */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}
.hero::before {
  width: 60vw; height: 60vw;
  top: -15%; left: -15%;
  background: var(--olive);
  opacity: 0.12;
  animation: hero-mesh-1 28s ease-in-out infinite alternate;
}
.hero::after {
  width: 55vw; height: 55vw;
  bottom: -20%; right: -12%;
  background: var(--sage);
  opacity: 0.18;
  animation: hero-mesh-2 34s ease-in-out infinite alternate;
}
@keyframes hero-mesh-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(22%, 18%) scale(1.18); }
}
@keyframes hero-mesh-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-18%, -14%) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}
/* Soft cream gradient at hero's bottom — seamlessly blends into the
   approach section and hides any blob edges clipped by overflow:hidden */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  pointer-events: none;
  z-index: 1;
  /* Decorative — never participate in the hero stagger reveal */
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.hero-eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: clamp(28px, 3vw, 44px);
}
.hero .display { max-width: 960px; margin-left: auto; margin-right: auto; }
.hero-lede {
  margin-top: clamp(28px, 3vw, 44px);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 760px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(36px, 4vw, 56px);
}

/* CTA buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--head);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border: 1.5px solid var(--ink);
}
.btn-primary:hover { background: var(--olive); border-color: var(--olive); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn:active { transform: translateY(1px); }

/* Brand mark below CTAs */
.hero-mark {
  margin-top: clamp(56px, 7vw, 96px);
  width: 56px;
}
.tri-mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
}
.tri-mark span {
  display: block;
  aspect-ratio: 1;
  background: var(--olive);
}
/* 3-squares-as-triangle */
.tri-mark span:nth-child(1) { grid-column: 2 / 3; }
.tri-mark span:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; }
.tri-mark span:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 3; }

.tagline {
  margin-top: clamp(48px, 6vw, 80px);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
}
.tagline li {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--olive);
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border: 1px solid var(--sage);
  border-radius: 999px;
  background: rgba(110, 152, 116, 0.08);
}

/* ---------- APPROACH (sub-hero) ---------- */

.approach {
  background: var(--cream);
  padding: var(--section-y) 0;
}
.approach-body {
  max-width: 760px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  text-align: center;
}
.approach-body p {
  font-family: var(--body);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink);
}
.approach-kicker {
  margin-top: clamp(28px, 3vw, 40px);
  font-family: var(--head);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.approach-kicker em {
  font-style: italic;
  color: var(--olive);
  font-weight: 500;
}

/* ---------- EIGHT POWERS (dark) ---------- */

.powers {
  background: var(--ink);
  padding: var(--section-y) 0;
}
.powers .eyebrow { color: var(--sage); }
.powers .h-2 { color: var(--cream); }
.powers .h-2 em { color: var(--sage); }
.powers .section-lede { color: var(--stone); }
.powers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
@media (min-width: 600px) {
  .powers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .powers-grid { grid-template-columns: repeat(4, 1fr); }
}
.power-card {
  background: var(--ink-2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
}
.power-num {
  font-family: var(--head);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--sage);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.power-title {
  font-family: var(--head);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 10px;
}
.power-body {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--stone);
}

/* ---------- 3 PILLARS ---------- */

.pillars {
  background: var(--cream);
  padding: var(--section-y) 0;
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.pillar-card {
  background: var(--cream-2);
  padding: clamp(32px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pillar-mark {
  width: 36px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.pillar-num {
  font-family: var(--head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--sage);
  margin-bottom: 14px;
}
.pillar-title {
  font-family: var(--head);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
}
.pillar-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- STATS / PROOF ---------- */

.stats {
  background: var(--cream);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--stone-line);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
.stat-card {
  background: var(--cream-2);
  border-left: 4px solid var(--olive);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: clamp(32px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}
.stat-card-feature {
  background: var(--ink);
  color: var(--cream);
  border-left-color: var(--sage);
}
.stat-card-feature .stat-num em { color: var(--sage); }
.stat-card-feature .stat-label { color: var(--cream); }
.stat-card-feature .stat-source { color: var(--sage); }

.stat-num {
  font-family: var(--head);
  font-size: clamp(72px, 8.6vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: var(--olive);
  margin-bottom: 28px;
}
.stat-num em {
  font-style: normal;
  font-weight: 500;
}
.stat-label {
  font-family: var(--body);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 320px;
}
.stat-source {
  margin-top: 22px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.stats-kicker {
  margin-top: clamp(48px, 5vw, 72px);
  font-family: var(--head);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--muted);
  max-width: 900px;
  font-weight: 500;
}

/* ---------- ABOUT / FOUNDERS ---------- */

.about {
  background: var(--cream);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--stone-line);
}
.founders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .founders { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.founder {
  background: var(--cream-2);
  padding: clamp(32px, 3vw, 44px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}
.founder-linkedin {
  position: absolute;
  top: clamp(28px, 3vw, 40px);
  right: clamp(28px, 3vw, 40px);
  color: var(--sage);
  line-height: 0;
  transition: color 200ms ease, transform 200ms ease;
}
.founder-linkedin:hover { color: var(--olive); transform: translateY(-1px); }
.founder-linkedin svg { display: block; width: 22px; height: 22px; }
.founder-num {
  font-family: var(--head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--sage);
  margin-bottom: 22px;
}
.founder-name {
  font-family: var(--head);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
}
.founder-role {
  font-family: var(--head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 6px;
  margin-bottom: 26px;
}
.founder-bio {
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- CTA / FORM ---------- */

.cta {
  background: var(--ink);
  color: var(--cream);
  padding: var(--section-y) 0;
}
.cta .h-2-light { margin-bottom: 24px; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
@media (min-width: 960px) {
  .cta-grid { grid-template-columns: 1fr 1.05fr; }
}
.cta-lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--stone);
  line-height: 1.55;
  max-width: 460px;
}

.register-form {
  background: var(--ink-2);
  padding: clamp(32px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 18px;
}
.row { display: grid; gap: 18px; }
.row.two-col { grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .row.two-col { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.label {
  font-family: var(--head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}
.optional {
  color: #6a655c;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.field input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #3a352e;
  padding: 10px 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--cream);
  transition: border-color 180ms ease;
}
.field input:focus {
  outline: none;
  border-color: var(--sage);
}
.field input:user-invalid { border-color: var(--error); }

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--stone);
}
.checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--olive);
}

.submit-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 26px;
  background: var(--olive);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  font-family: var(--head);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
  width: fit-content;
}
.submit-btn:hover { background: var(--olive-deep); }
.submit-btn:active { transform: translateY(1px); }
.submit-btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.submit-arrow { display: inline-block; transition: transform 180ms ease; }
.submit-btn:hover .submit-arrow { transform: translateX(3px); }

.form-status {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
}
.form-status.success {
  color: var(--sage);
  padding: 14px 18px;
  background: rgba(110, 152, 116, 0.10);
  border-radius: var(--radius);
}
.form-status.error {
  color: #e89a8c;
  padding: 14px 18px;
  background: rgba(181, 74, 58, 0.15);
  border-radius: var(--radius);
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--cream);
  padding: 40px 0;
  border-top: 1px solid var(--stone-line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.wordmark-footer img { height: 18px; max-width: 130px; }
.footer-meta {
  font-size: 13px;
  color: var(--sage);
  letter-spacing: 0.01em;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 760px) {
  .nav-links { display: none; }
  .top-bar { grid-template-columns: 1fr auto; }
  .hero-mark { width: 44px; }
  .stat-card { min-height: 240px; }
}
@media (max-width: 480px) {
  .top-cta { padding: 9px 14px; font-size: 13px; }
}
