/* ── Variables ── */
:root {
  --bg: #020202;
  --surface: #0a0a0a;
  --line: #1f1f1f;
  --line-strong: #333;
  --text: #f5f5f5;
  --muted: #acacac;
  --radius-lg: 24px;
  --radius-md: 16px;
}

/* ── Reset ── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  padding: 0 18px;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }

/* ── Top gradient ── */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 260px;
  background: linear-gradient(to bottom, #000 0%, #090909 52%, rgba(9, 9, 9, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ── */
.site-header, main, .site-footer {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

/* ── Shared ── */
.eyebrow {
  margin: 0;
  color: #d4d4d4;
  letter-spacing: 0.12em;
  font-size: 11px;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(34px, 5.3vw, 68px);
  line-height: 0.96;
  max-width: 16ch;
}

h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 0.98;
}


/* ═══════════════════════════════
   HEADER
   ═══════════════════════════════ */

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px #fff;
}

.site-header__summary {
  margin: 0;
  color: #b6b6b6;
  font-size: 13px;
}

.main-nav {
  margin-left: auto;
  display: inline-flex;
  gap: 24px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.15s;
}

.main-nav a:hover { color: var(--text); }

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #555;
}

/* Burger — mobile only */
.burger {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  position: relative;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.25s, opacity 0.25s;
}

.burger span:first-child { top: 14px; }
.burger span:last-child  { top: 21px; }

.burger.is-open span:first-child {
  top: 17px;
  transform: translateX(-50%) rotate(45deg);
}

.burger.is-open span:last-child {
  top: 17px;
  transform: translateX(-50%) rotate(-45deg);
}


/* ═══════════════════════════════
   HERO
   ═══════════════════════════════ */

.hero { margin-top: 0; }

.hero__panorama-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #050505;
  overflow: hidden;
  position: relative;
  height: clamp(340px, 48vw, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__panorama-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(2, 2, 2, 0.7) 0%, rgba(2, 2, 2, 0.2) 35%, rgba(2, 2, 2, 0.65) 100%);
  pointer-events: none;
}

.hero__panorama-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(2, 2, 2, 0.72) 0%, rgba(2, 2, 2, 0.2) 26%, rgba(2, 2, 2, 0.2) 74%, rgba(2, 2, 2, 0.72) 100%);
  pointer-events: none;
}

.hero__panorama {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.hero__content {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(860px, calc(100% - 28px));
  text-align: center;
  display: grid;
  justify-items: center;
  z-index: 2;
}

.hero h1,
.hero__lead {
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.68);
}

.hero__lead {
  margin: 14px 0 0;
  color: #c0c0c0;
  max-width: 620px;
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.55;
}

.hero__actions {
  margin-top: 22px;
}

/* Hero CTA button — outlined style like header-cta */
.hero-cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #555;
}

.hero__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #888;
}


/* ═══════════════════════════════
   MANIFESTO
   ═══════════════════════════════ */

.manifesto { margin-top: 72px; }

.manifesto__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(230px, 300px);
  gap: 36px;
  align-items: center;
}

.manifesto__copy {
  max-width: 64ch;
  text-align: left;
}

.manifesto__copy p {
  margin: 0;
  color: #c7c7c7;
  font-size: clamp(18px, 1.62vw, 26px);
  line-height: 1.38;
}

.manifesto__copy p + p {
  margin-top: 18px;
}

.manifesto-phone {
  display: flex;
  justify-content: flex-end;
}

.manifesto-phone__shell {
  width: clamp(230px, 20vw, 290px);
  aspect-ratio: 430 / 932;
  border-radius: 50px;
  padding: 10px;
  border: 1.5px solid #8d8d8d;
  background: linear-gradient(170deg, #202020 0%, #121212 58%, #080808 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 26px 64px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.manifesto-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #060606;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.manifesto-phone__island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.manifesto-phone__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════
   WAITLIST FORM
   ═══════════════════════════════ */

.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  width: 100%;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1 1 200px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.85);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  backdrop-filter: blur(8px);
  transition: border-color 0.15s;
  min-width: 0;
}

.waitlist-input::placeholder { color: #777; }
.waitlist-input:focus { border-color: #666; }

.waitlist-btn {
  height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.waitlist-btn:hover { opacity: 0.88; }

.waitlist-form--large .waitlist-input { height: 50px; font-size: 15px; }
.waitlist-form--large .waitlist-btn   { height: 50px; padding: 0 28px; font-size: 15px; }

.waitlist-success {
  display: none;
  width: 100%;
  font-size: 14px;
  color: #a8e6a3;
  font-weight: 600;
  padding: 10px 0;
  margin: 0;
}

.waitlist-form.is-success .waitlist-input,
.waitlist-form.is-success .waitlist-btn { display: none; }
.waitlist-form.is-success .waitlist-success { display: block; }


/* ═══════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════ */

.how { margin-top: 72px; }

.how-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.how-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0c0c0c, #070707);
  padding: 24px 20px;
}

.how-card__step {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  font-family: "Syne", "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #666;
  margin-top: 4px;
  min-width: 26px;
}

.how-card h3 {
  grid-column: 2;
  font-size: 24px;
  line-height: 1.05;
}

.how-card p {
  grid-column: 2;
  margin: 8px 0 0;
  color: #b9b9b9;
  line-height: 1.5;
  font-size: 15px;
}

.how--with-video .experience__layout {
  align-items: start;
}

.how--with-video .how__head {
  margin-bottom: 18px;
}

.how--with-video .how__head h2 {
  margin-top: 0;
}

.how--with-video .how__main {
  display: block;
}

.how--with-video .how-grid {
  margin-top: 0;
}

.how--with-video .experience-video-card {
  aspect-ratio: 416 / 640;
}

.how--with-video .experience-video-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}


/* ═══════════════════════════════
   ANTITHESIS
   ═══════════════════════════════ */

.antithesis { margin-top: 72px; }

.antithesis-table {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #0c0c0c, #070707);
}

.antithesis-table__header,
.antithesis-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.antithesis-table__header {
  border-bottom: 1px solid var(--line);
}

.antithesis-table__header .antithesis-table__col {
  padding: 16px 20px;
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.antithesis-table__row {
  border-bottom: 1px solid var(--line);
}

.antithesis-table__row:last-child {
  border-bottom: none;
}

.antithesis-table__col {
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.45;
}

.antithesis-table__col--muted {
  color: #777;
  border-right: 1px solid var(--line);
}

.antithesis-table__col--bright {
  color: var(--text);
}

/* Mobile stacked version — hidden on desktop */
.antithesis-stacked { display: none; }

.antithesis-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #0c0c0c, #070707);
  padding: 18px;
}

.antithesis-block + .antithesis-block { margin-top: 12px; }

.antithesis-block__label {
  margin: 0 0 12px;
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #777;
}

.antithesis-block--bright .antithesis-block__label {
  color: var(--text);
}

.antithesis-block__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.antithesis-block__list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: #999;
  line-height: 1.4;
}

.antithesis-block--bright .antithesis-block__list li {
  color: #ddd;
}

.antithesis-block__list li:last-child { border-bottom: none; }


/* ═══════════════════════════════
   EXPERIENCE (VALUE PROPS)
   ═══════════════════════════════ */

.experience { margin-top: 72px; }

.experience__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

.value-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.value-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0c0c0c, #070707);
  border-radius: var(--radius-md);
  padding: 16px;
}

.value-card h3 { font-size: 20px; }

.value-card p {
  margin: 9px 0 0;
  color: #b9b9b9;
  line-height: 1.5;
  font-size: 14px;
}

.experience-video-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #060606;
}

.experience-video-card__video {
  width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
  background: #060606;
}


/* ═══════════════════════════════
   STORIES
   ═══════════════════════════════ */

.stories { margin-top: 72px; }

.stories-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.story-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #0b0b0b, #070707);
  overflow: hidden;
}

.story-card__media {
  position: relative;
  width: 100%;
  height: 260px;
  border-bottom: 1px solid var(--line);
}

.story-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-play {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 8, 8, 0.8);
  color: #fff;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  transition: background 0.15s;
}

.story-play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
  margin-left: 2px;
}

.story-play.is-playing::before {
  width: 10px;
  height: 10px;
  border: 0;
  margin-left: 0;
  background: linear-gradient(to right, #fff 0 35%, transparent 35% 65%, #fff 65% 100%);
}

.story-play:hover { background: rgba(20, 20, 20, 0.95); }

.story-card__content { padding: 14px; }

.story-card h3 { font-size: 24px; line-height: 1.05; }

.story-card__meta {
  margin: 6px 0 0;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.02em;
}

.story-card__text {
  margin: 8px 0 0;
  color: #b8b8b8;
  line-height: 1.5;
  font-size: 14px;
}

.story-card audio { display: none; }

.stories__more {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #999;
}

.stories__more a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stories__more a:hover { color: #fff; }


/* ═══════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════ */

.testimonials { margin-top: 72px; }

.testimonials-marquee {
  margin-top: 20px;
}

.testimonials-track {
  width: 100%;
  display: block;
}

.testimonials-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quote-card {
  position: relative;
  width: auto;
  border: 1px solid #3a3a3a;
  border-radius: 14px;
  padding: 16px;
  background:
    radial-gradient(circle at 16% 8%, rgba(83, 98, 122, 0.18), rgba(10, 10, 10, 0) 43%),
    linear-gradient(135deg, #191919 0%, #141414 36%, #0d0d0d 100%);
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.quote-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #2a2a2a;
  color: #999;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.quote-card__name {
  margin: 0;
  font-family: "Syne", "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #f2f2f2;
}

.quote-card__text {
  margin: 12px 0 0;
  color: #c9c9c9;
  font-size: 13px;
  line-height: 1.45;
}

@keyframes testimonials-loop {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 6px)); }
}


/* ═══════════════════════════════
   FINAL CTA
   ═══════════════════════════════ */

.final-cta {
  margin-top: 80px;
  padding: 56px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0c0c0c 0%, #070707 100%);
}

.final-cta h2 { margin-top: 0; max-width: 18ch; }

.final-cta__sub {
  margin: 12px 0 0;
  color: #b0b0b0;
  font-size: 16px;
  max-width: 480px;
  line-height: 1.5;
}

.final-cta .waitlist-form { margin-top: 24px; }

.final-cta__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #777;
}


/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */

.site-footer {
  margin-top: 48px;
  padding-bottom: 24px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.footer__tagline {
  margin: 6px 0 0;
  color: #888;
  font-size: 13px;
  max-width: 280px;
}

.footer__links {
  display: flex;
  gap: 56px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__col a {
  color: #bbb;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #666;
  font-size: 12px;
}

.footer__bottom p { margin: 0; }


/* ═══════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), opacity 700ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════
   TABLET (<=1100px)
   ═══════════════════════════════ */

@media (max-width: 900px) {
  .manifesto__layout {
    grid-template-columns: 1fr;
  }

  .manifesto__copy {
    max-width: 60ch;
    margin: 0 auto;
  }

  .manifesto-phone {
    justify-content: center;
  }

  .experience__layout {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .how-grid,
  .stories-grid,
  .testimonials-group {
    grid-template-columns: 1fr;
  }

  .story-card__media { height: 320px; }
}


/* ═══════════════════════════════
   MOBILE (<=640px)
   ═══════════════════════════════ */

@media (max-width: 640px) {
  body { padding: 0 12px; }

  .site-header { height: 64px; }
  .site-header__summary { display: none; }

  /* Mobile nav */
  .main-nav {
    display: none;
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 100;
    background: rgba(2, 2, 2, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 28px;
  }

  .main-nav.is-open { display: flex; }

  .main-nav a {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
  }

  .header-cta { display: none; }
  .burger { display: block; }

  /* Hero */
  .hero__panorama-wrap {
    height: clamp(360px, 100vw, 480px);
  }

  .hero__content {
    top: 44%;
    width: min(780px, calc(100% - 18px));
  }

  h1 {
    font-size: clamp(30px, 8.6vw, 46px);
    max-width: 14ch;
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.45;
  }

  .manifesto-phone__shell {
    width: min(280px, 76vw);
  }

  /* Antithesis — switch to stacked */
  .antithesis-table { display: none; }
  .antithesis-stacked { display: block; margin-top: 28px; }

  /* Stories */
  .story-card__media { height: 240px; }

  /* Final CTA */
  .final-cta { padding: 40px 16px; }

  .waitlist-form { flex-direction: column; }

  /* Footer */
  .footer__top {
    flex-direction: column;
    gap: 28px;
  }

  .footer__links { gap: 40px; }

  .footer__bottom {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}


/* ═══════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════ */

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

  .testimonials-track {
    animation: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
