:root {
  --ink: #152316;
  --ink-soft: rgba(21, 35, 22, 0.6);
  --ink-faint: rgba(21, 35, 22, 0.4);
  --paper: #FBF2E4;
  --sand-line: rgba(151, 109, 42, 0.2);
  --gold: #C9A24B;
  --gold-soft: color-mix(in oklab, var(--gold) 16%, transparent);
  --glass: rgba(255, 255, 255, 0.6);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #FEFAF2 0%, #F7E9D2 46%, #F1DFC0 100%);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--paper); }
input::placeholder { color: rgba(21, 35, 22, 0.36); }

h1, h2, h3, p { margin: 0; }

/* -------------------------------------------------- animations */

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatA { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -30px) scale(1.06); } }
@keyframes floatB { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 26px) scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rippleAnim { from { transform: scale(0); opacity: 0.45; } to { transform: scale(2.6); opacity: 0; } }
@keyframes checkPop { 0% { transform: scale(0.4) rotate(-10deg); opacity: 0; } 60% { transform: scale(1.08) rotate(2deg); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--d1, .reveal--d2, .reveal--d3 { transition: none; opacity: 1; transform: none; }
  .blob, .countdown__shimmer { animation: none !important; }
}

/* -------------------------------------------------- nav */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 2.4vw, 26px) clamp(20px, 5vw, 56px);
  background: color-mix(in oklab, var(--paper) 66%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sand-line);
}

.nav__logo { height: clamp(20px, 2.6vw, 26px); width: auto; display: block; }

.btn-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 20px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--gold) 55%, white), var(--gold));
  border-radius: 100px;
  box-shadow: 0 8px 18px -8px color-mix(in oklab, var(--gold) 60%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -8px color-mix(in oklab, var(--gold) 70%, transparent); }

/* -------------------------------------------------- shared bits */

.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.molecule { position: absolute; pointer-events: none; color: var(--gold); }

.gradient-text {
  background: linear-gradient(100deg, var(--ink) 20%, var(--gold) 55%, var(--ink) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  position: relative;
  overflow: hidden;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(135deg, color-mix(in oklab, var(--gold) 40%, white), var(--gold));
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn--primary {
  font-size: 14.5px;
  padding: 16px 34px;
  border-radius: 100px;
  box-shadow: 0 16px 32px -14px color-mix(in oklab, var(--gold) 70%, transparent);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px color-mix(in oklab, var(--gold) 80%, transparent); }

.link-underline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 16px 8px;
  border-bottom: 1px solid var(--sand-line);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-underline:hover { color: var(--ink); border-color: var(--ink); }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(21, 35, 22, 0.25);
  pointer-events: none;
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
}

.spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(21, 35, 22, 0.3);
  border-top-color: var(--ink);
  display: inline-block;
  animation: spin 0.7s linear infinite;
  margin-right: 10px;
}

.form-error { font-size: 13px; color: #A23B2E; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; }

/* -------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(140px, 18vw, 200px) clamp(20px, 6vw, 56px) clamp(80px, 10vw, 120px);
  overflow: hidden;
}

.blob { position: absolute; pointer-events: none; filter: blur(4px); }

.blob--a {
  top: 2%; left: -12%;
  width: clamp(340px, 42vw, 600px);
  height: clamp(300px, 36vw, 520px);
  border-radius: 44% 56% 62% 38% / 52% 44% 56% 48%;
  background: radial-gradient(120% 130% at 30% 25%, rgba(255, 255, 255, 0.95), color-mix(in oklab, var(--gold) 34%, transparent) 44%, transparent 74%);
  animation: floatA 16s ease-in-out infinite;
  box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.6);
}

.blob--b {
  bottom: -6%; right: -12%;
  width: clamp(360px, 44vw, 640px);
  height: clamp(320px, 38vw, 560px);
  border-radius: 58% 42% 40% 60% / 46% 54% 46% 54%;
  background: radial-gradient(110% 120% at 70% 70%, rgba(255, 255, 255, 0.7), color-mix(in oklab, var(--gold) 22%, transparent) 40%, transparent 76%);
  animation: floatB 18s ease-in-out infinite;
}

.molecule--hero { top: 14%; right: 6%; width: clamp(90px, 11vw, 150px); height: auto; opacity: 0.55; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 100px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 16px -10px rgba(151, 109, 42, 0.4);
  margin-bottom: 28px;
}

.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.badge__label { font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-soft); text-transform: uppercase; }

.hero__title {
  font-size: clamp(38px, 6.4vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 22px;
  max-width: 16ch;
}

.hero__sub {
  font-size: clamp(15.5px, 1.5vw, 18.5px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 40px;
  font-weight: 400;
}

.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* -------------------------------------------------- waitlist */

.waitlist { padding: clamp(60px, 8vw, 100px) clamp(20px, 6vw, 56px) clamp(100px, 12vw, 150px); display: flex; justify-content: center; }

.waitlist__card {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.45));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 52px);
  box-shadow: 0 40px 90px -40px rgba(151, 109, 42, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.waitlist__card::before {
  content: '';
  position: absolute;
  top: -60%; left: -30%;
  width: 70%; height: 220%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.55), transparent 60%);
  transform: rotate(18deg);
  pointer-events: none;
}

.waitlist__success { text-align: center; padding: clamp(20px, 3vw, 32px) 0; position: relative; }

.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--gold) 50%, white), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: checkPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: 0 14px 30px -12px color-mix(in oklab, var(--gold) 70%, transparent);
}

.waitlist__success h3 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 10px; }
.waitlist__success p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

.waitlist__heading { font-size: clamp(23px, 2.6vw, 29px); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.waitlist__lede { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 28px; }

form { display: flex; flex-direction: column; gap: 14px; }

.field {
  width: 100%;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid var(--sand-line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

.waitlist__card .form-error { padding: 2px 2px 0; }

.btn--submit {
  margin-top: 6px;
  width: 100%;
  font-size: 15px;
  padding: 17px 24px;
  border-radius: 14px;
  gap: 10px;
  box-shadow: 0 18px 34px -16px color-mix(in oklab, var(--gold) 75%, transparent);
}
.btn--submit:hover { transform: translateY(-2px); }
.btn--submit:disabled, .btn--submit-pill:disabled { cursor: default; opacity: 0.85; }

.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--sand-line);
}

.perk { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.perk svg { flex: none; }

/* -------------------------------------------------- benefits */

.benefits { padding: clamp(20px, 4vw, 40px) clamp(20px, 6vw, 56px) clamp(90px, 10vw, 130px); max-width: 1180px; margin: 0 auto; }

.benefits__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.benefit-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.35));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: clamp(28px, 3.4vw, 38px) clamp(24px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 40px -30px rgba(151, 109, 42, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.9s ease;
}
.benefit-card:hover { box-shadow: 0 26px 50px -26px rgba(151, 109, 42, 0.42); transform: translateY(-3px); }

.benefit-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--gold) 25%, white), color-mix(in oklab, var(--gold) 12%, white));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.benefit-card h3 { font-size: 17.5px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.benefit-card p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* -------------------------------------------------- philosophy */

.philosophy {
  padding: clamp(90px, 10vw, 130px) clamp(20px, 6vw, 56px);
  background: linear-gradient(180deg, rgba(241, 225, 198, 0.6), rgba(241, 225, 198, 0.9));
}

.philosophy__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.philosophy__copy { position: relative; }

.molecule--philosophy { top: -34px; left: -8px; width: 88px; height: auto; opacity: 0.5; }

.philosophy__heading { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 20px; }
.philosophy__body { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 32px; max-width: 46ch; }

.pillars { display: flex; flex-direction: column; gap: 22px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; }

.pillar__icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.6);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.pillar__title { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.pillar__desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

.philosophy__image {
  /* Poster asset is square (1:1) — match its true ratio so nothing crops. */
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 70px -30px rgba(151, 109, 42, 0.4);
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.philosophy__image img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* -------------------------------------------------- countdown */

.countdown {
  padding: clamp(90px, 10vw, 130px) clamp(20px, 6vw, 56px);
  background: linear-gradient(165deg, #152316 0%, #0D160E 100%);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 7s linear infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.countdown__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: min(560px, 70vw);
  height: min(340px, 42vw);
  transform: translate(-50%, -56%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--gold) 26%, transparent), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.molecule--countdown { bottom: 8%; left: 4%; width: clamp(100px, 14vw, 170px); height: auto; opacity: 0.55; }

.countdown__content { max-width: 600px; margin: 0 auto; position: relative; }
.countdown__content h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; }
.countdown__sub { font-size: 14.5px; color: rgba(251, 242, 228, 0.6); margin: 0 0 48px; }

.countdown__units { display: flex; justify-content: center; gap: clamp(14px, 3vw, 28px); flex-wrap: wrap; }
.countdown__unit { width: clamp(72px, 16vw, 96px); }

.countdown__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #FFFFFF, var(--gold) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.countdown__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 242, 228, 0.5);
  margin-top: 6px;
}

/* -------------------------------------------------- second CTA */

.cta2 { padding: clamp(90px, 10vw, 130px) clamp(20px, 6vw, 56px); display: flex; justify-content: center; position: relative; overflow: hidden; }

.blob--c {
  top: -10%; right: 8%;
  width: clamp(220px, 30vw, 380px);
  height: clamp(180px, 24vw, 300px);
  border-radius: 52% 48% 46% 54% / 48% 52% 48% 52%;
  background: radial-gradient(110% 120% at 60% 40%, rgba(255, 255, 255, 0.8), color-mix(in oklab, var(--gold) 24%, transparent) 46%, transparent 74%);
}

.cta2__content { width: 100%; max-width: 640px; text-align: center; position: relative; }
.cta2__content h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.cta2__content > p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 32px; max-width: 44ch; margin-left: auto; margin-right: auto; }

.cta2__success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 18px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
}

.cta2__form { flex-direction: row; gap: 10px; flex-wrap: wrap; }

.field--pill { border-radius: 100px; }
.field--grow1 { flex: 1 1 140px; }
.field--grow2 { flex: 2 1 200px; }

.btn--submit-pill {
  flex: 1 1 140px;
  font-size: 14.5px;
  padding: 15px 22px;
  border-radius: 100px;
}
.btn--submit-pill:hover { transform: translateY(-2px); }

.cta2__content .form-error { margin-top: 10px; }

/* -------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--sand-line);
  padding: clamp(40px, 5vw, 56px) clamp(20px, 6vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer__logo { height: 18px; width: auto; opacity: 0.85; }

.footer__links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; }
.footer__links a { color: var(--ink-soft); text-decoration: none; transition: color 0.2s ease; }
.footer__links a:hover { color: var(--ink); }

.footer__copy { font-size: 12.5px; color: var(--ink-faint); width: 100%; text-align: center; margin-top: 8px; }

/* -------------------------------------------------- responsive */

@media (max-width: 720px) {
  .philosophy__grid { grid-template-columns: 1fr; }
  .cta2__form { flex-direction: column; }
  .field--grow1, .field--grow2 { flex: 1 1 auto; }
}
