/* Founder Forward — landing page
   Design: deep-teal ground, chartreuse + mint accents, highlight chips.
   Display + body: Plus Jakarta Sans. Soft radial glows kept tonal (no green tint).
   The dark theme is scoped to `body.landing` so the shared privacy page (which uses
   this same stylesheet) stays on a readable light base. */

:root {
  /* landing palette */
  --teal:      #0a3a46;   /* page ground */
  --teal-deep: #062a33;   /* deepest, behind everything */
  --teal-800:  #0f4a58;   /* raised panels */
  --lime:      #c8fb00;   /* primary signal — chips, CTA */
  --lime-ink:  #0a3a46;   /* dark ink that sits on lime */
  --mint:      #08e0ad;   /* secondary chip */
  --mint-ink:  #06333d;
  --white:     #ffffff;
  --soft:      rgba(255,255,255,.74);
  --faint:     rgba(255,255,255,.52);
  --line-lite: rgba(255,255,255,.14);

  /* neutral tokens used by the shared privacy page */
  --ink: #0e0e12;
  --ink-soft: #6a6a76;
  --line: #e6e6ea;
  --radius: 16px;
  --maxw: 880px;

  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: #ffffff; }

/* ---- base (privacy page + fallback) : light, readable ---- */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #ffffff;
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 30px 22px 40px;
  flex: 1 0 auto;
}

/* =====================================================================
   LANDING THEME — everything below is scoped to body.landing
   ===================================================================== */
html:has(body.landing) { background: var(--teal-deep); }

body.landing {
  position: relative;
  isolation: isolate;
  color: var(--white);
  /* soft radial glows — tonal teal, no green tint */
  background:
    radial-gradient(880px 480px at 50% -180px, rgba(4,26,32,.55), transparent 64%),
    radial-gradient(760px 520px at 86% 8%,    rgba(6,42,51,.50), transparent 70%),
    radial-gradient(680px 520px at 4% 60%,     rgba(4,26,32,.45), transparent 72%),
    var(--teal);
}

/* faint dissolving grid behind the hero */
body.landing::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 36px 36px;
  -webkit-mask: radial-gradient(72% 55% at 32% 4%, #000, transparent 74%);
  mask: radial-gradient(72% 55% at 32% 4%, #000, transparent 74%);
}

/* ---- brand lockup: real logo, tinted white for the dark bg ---- */
body.landing .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 46px;
}
body.landing .brand-logo { height: 32px; width: auto; filter: brightness(0) invert(1); }

/* ---- step visibility ---- */
body.landing .step { display: none; animation: fade .35s ease both; }
body.landing .step.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- hero ---- */
body.landing .hero { text-align: center; margin-bottom: 34px; padding-top: 12px; }
body.landing .hero.compact { margin-bottom: 24px; }
body.landing .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--lime);
  margin: 0 0 14px;
}
body.landing h1 {
  font-family: var(--font-display);
  font-weight: 800;
  /* vw-driven with a low floor so each line scales to fit the phone width instead of
     hitting a fixed size and wrapping. white-space:nowrap keeps each line to one line. */
  font-size: clamp(22px, 6.6vw, 64px);
  line-height: 1.42;
  letter-spacing: -.03em;
  margin: 0 auto 30px;
  color: var(--white);
  white-space: nowrap;
}
body.landing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  color: var(--white);
}

/* highlight chips */
body.landing .chip {
  display: inline-block;
  padding: .02em .28em .18em;
  border-radius: 14px;
  line-height: 1;
  color: var(--lime-ink);
  box-shadow: 0 14px 26px -8px rgba(0,0,0,.45), 0 6px 12px -4px rgba(0,0,0,.35);
}
body.landing .chip.lime { background: var(--lime); }
body.landing .chip.mint { background: var(--mint); color: var(--mint-ink); }

body.landing .sub {
  font-size: clamp(18px, 2.4vw, 21px);
  line-height: 1.5;
  color: var(--soft);
  margin: 0 auto;
  max-width: 600px;
  font-weight: 500;
}
body.landing .sub strong { color: var(--white); font-weight: 700; }

/* ---- embed cards: the Tally form and Cal.com booking are cross-origin iframes we
   can't restyle, so we frame them. Native white form on a rounded white card that
   floats on the dark teal — reads as intentional and needs no Tally/Cal theming. ---- */
body.landing .tally-embed,
body.landing #cal-embed {
  margin: 26px auto 48px;
  max-width: 640px;
  width: 100%;
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 40px 90px -46px rgba(0,0,0,.75), 0 10px 30px -20px rgba(0,0,0,.5);
  overflow: hidden;
}
body.landing .tally-embed iframe { width: 100%; border: 0; display: block; }
body.landing #cal-embed { min-height: 640px; }

/* ---- VSL player: portrait (9:16) talking-head, phone-sized and centered.
   Framed to match the embed cards; sits between the hero and the form. ---- */
body.landing .vsl {
  margin: 0 auto 30px;
  width: 100%;
  max-width: min(340px, 78vw);
}
body.landing .vsl-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-800), var(--teal-deep));
  border: 1px solid var(--line-lite);
  box-shadow: 0 40px 90px -46px rgba(0,0,0,.75), 0 10px 30px -20px rgba(0,0,0,.5);
}
body.landing .vsl-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0; display: block;
}

/* ---- buttons ---- */
body.landing .btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  border-radius: 13px;
  transition: transform .12s ease, filter .15s ease, background .15s ease, opacity .15s ease;
}
body.landing .btn:active { transform: translateY(1px); }
body.landing .btn[disabled] { opacity: .5; cursor: not-allowed; }

body.landing .cta-black {
  background: var(--lime);
  color: var(--lime-ink);
  padding: 15px 26px;
  box-shadow: 0 18px 40px -20px rgba(200,251,0,.55);
}
body.landing .cta-black:hover { transform: translateY(-2px); filter: brightness(1.05); }
body.landing .cta-black:active { transform: translateY(0); }

body.landing .btn.ghost {
  background: transparent;
  color: var(--soft);
  font-weight: 500;
  padding: 15px 20px;
  border: 1.5px solid var(--line-lite);
}
body.landing .btn.ghost:hover { color: var(--white); border-color: rgba(255,255,255,.3); }

body.landing .error {
  color: var(--lime);
  font-size: 14px;
  margin: 14px 0 0;
  font-weight: 600;
}

/* newsletter opt-in (off-ramp) */
body.landing .optin { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* honeypot — hidden from real users */
body.landing .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
body.landing #turnstile-mount:not(:empty) { margin-top: 16px; }

/* ---- footer ---- */
body.landing .foot {
  flex-shrink: 0;
  text-align: center;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: .02em;
  padding: 34px 20px 46px;
}
body.landing .foot .dot { margin: 0 8px; opacity: .5; }
body.landing .foot a { color: var(--faint); text-decoration: underline; }
body.landing .foot a:hover { color: var(--white); }

/* =====================================================================
   ABOUT PAGE — scoped to body.about (which also carries .landing)
   Long-form headline, so override the hero h1's nowrap/clamp tuned for /start.
   ===================================================================== */
body.about h1 {
  white-space: normal;
  text-wrap: balance;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.12;
  max-width: 20ch;
}

/* top bar: logo left, header button right (shared by /start and /about) */
body.landing .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 46px;
}
body.landing .topbar .brand { margin-bottom: 0; }
body.landing .nav-cta {
  display: inline-block;
  text-decoration: none;
  padding: 11px 20px;
  font-size: 15px;
  border-radius: 11px;
}

body.about .about-intro {
  max-width: 100%;
  margin: 0 auto 8px;
  text-align: center;
}
body.about .about-intro p {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--soft);
  margin: 0 0 18px;
  font-weight: 500;
}
body.about .about-intro p strong { color: var(--white); font-weight: 700; }

/* ---- selected work ---- */
body.about .work { margin: 64px 0 8px; }
body.about .work-head { text-align: center; margin-bottom: 28px; }
body.about .work-head .label {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--lime);
  margin: 0 0 10px;
}
body.about .work-head .note { font-size: 15px; color: var(--faint); margin: 0; }

/* Bento: one big hero video on top, a pair beneath. Every tile stays 16:9
   (width drives height) so nothing letterboxes. */
/* The board is a vertical stack of rows: a full-width hero, a 3-across row,
   then a bento block (tall square beside a stacked pair, heights matched). */
body.about .work-grid { display: flex; flex-direction: column; gap: 16px; }

body.about .work-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
/* square column is a touch wider so its 1:1 height matches the stacked pair beside it */
body.about .work-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}
body.about .work-bento .stack { display: flex; flex-direction: column; gap: 16px; }
/* the square fills its cell (height driven by the stack) instead of forcing 16:9 */
body.about .work-tile.fill { aspect-ratio: auto; }

@media (max-width: 620px) {
  body.about .work-grid { gap: 14px; }
  body.about .work-row { grid-template-columns: 1fr; gap: 14px; }
  body.about .work-bento { grid-template-columns: 1fr; gap: 14px; }
  body.about .work-tile.fill { aspect-ratio: 1 / 1; } /* give it height again when stacked */
}
body.about .work-tile.square { aspect-ratio: 1 / 1; }
body.about .work-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(200,251,0,.10), transparent 60%),
    linear-gradient(160deg, var(--teal-800), var(--teal-deep));
  border: 1px solid var(--line-lite);
  display: flex; align-items: flex-end;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.7);
  transition: transform .18s ease, box-shadow .18s ease;
}
body.about .work-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 46px 88px -44px rgba(0,0,0,.82);
}
body.about .work-tile img,
body.about .work-tile video,
body.about .work-tile iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0; object-fit: cover;
}
body.about .work-tile .ph {
  position: relative; z-index: 1;
  margin: 0; padding: 14px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--faint);
}

/* ---- portfolio request CTA ---- */
body.about .portfolio-cta {
  margin: 40px auto 8px;
  max-width: 620px;
  text-align: center;
  background: linear-gradient(160deg, var(--teal-800), rgba(15,74,88,.55));
  border: 1px solid var(--line-lite);
  border-radius: 22px;
  padding: 34px 28px 36px;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.7);
}
body.about .portfolio-cta h2 { font-size: clamp(22px, 4vw, 28px); margin: 0 0 12px; }
body.about .portfolio-cta p { color: var(--soft); font-size: 16px; line-height: 1.55; margin: 0 auto 22px; max-width: 44ch; font-weight: 500; }

/* closing CTA: no card, just a clean centered prompt with even spacing */
body.about .end-cta {
  text-align: center;
  max-width: 620px;
  margin: 56px auto 8px;
}
body.about .end-cta h2 { font-size: clamp(22px, 4vw, 28px); margin: 0 0 10px; }
body.about .end-cta p {
  color: var(--soft);
  font-size: 16px;
  margin: 0 0 20px;
  font-weight: 500;
}
body.about .end-cta .btn { display: inline-block; }

/* ---- entrance motion ---- */
body.landing .brand,
body.landing .hero > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
body.landing .hero h1 { animation-delay: .06s; }
body.landing .hero .sub { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
