@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/CormorantGaramond-VariableFont_wght.ttf") format("truetype-variations"),
       url("assets/fonts/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-app: #060704;
  --bg-deep: #050605;
  --bg-shadow: #0a0c09;
  --bg-mid: #0a0b08;

  --cream: #dbd1b8;
  --muted-cream: #b3a88f;
  --warm-stroke: #8f7a4d;
  --label: #8a857a;
  --moss: #8cc763;
  --accent-green: #385221;

  --cta-bg: var(--cream);
  --cta-bg-hover: #e6dec6;
  --cta-text: #1b160f;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  color: var(--muted-cream);
  background-color: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-app);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: none;
}

.hero-bg-1 { background-image: url("assets/bg-1.png"); opacity: 1; }
.hero-bg-2 { background-image: url("assets/bg-2.png"); opacity: 0; }

.hero-section.is-night .hero-bg-1 { background-image: url("assets/bg-1-night.png"); }
.hero-section.is-night .hero-bg-2 { background-image: url("assets/bg-2-night.png"); }

.hero-section.is-active .hero-bg-1 { opacity: 0; }
.hero-section.is-active .hero-bg-2 { opacity: 1; }

.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 90%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0) 22%, rgba(5, 5, 5, 0) 72%, rgba(5, 5, 5, 0.65) 100%);
}

.spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle at 50% 30%, rgba(143, 122, 77, 0.10) 0%, rgba(0, 0, 0, 0) 45%);
}

.seam {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.92) 88%,
    #000000 100%
  );
}

.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(20px, 2.5vw, 36px) clamp(28px, 4vw, 64px);
}

.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 1.6vw, 26px);
  color: var(--cream);
  letter-spacing: 0.01em;
}

.nav-social,
.nav-social:visited,
.nav-social:hover,
.nav-social:focus,
.nav-social:active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--cream);
  letter-spacing: 0.02em;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.hero {
  position: absolute;
  top: 54vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1;
  color: var(--cream);
  letter-spacing: 0.005em;
  text-shadow:
    0 0 18px rgba(143, 122, 77, 0.18),
    0 0 60px rgba(143, 122, 77, 0.08);
  margin: 0 0 14px;
}

.subtitle {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 1.1vw, 18px);
  color: var(--cream);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
  margin-bottom: clamp(18px, 2.2vw, 28px);
  max-width: 540px;
}

.waitlist {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(10, 9, 6, 0.55);
  border: 1px solid rgba(143, 122, 77, 0.18);
  border-radius: 999px;
  padding: 6px;
  width: min(480px, 92vw);
  height: 56px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(219, 209, 184, 0.02);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.waitlist:focus-within {
  border-color: rgba(143, 122, 77, 0.32);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 0 3px rgba(143, 122, 77, 0.08);
}

.waitlist input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  padding: 0 18px;
  letter-spacing: 0.01em;
  height: 100%;
}

.waitlist input::placeholder {
  color: var(--label);
  font-weight: 300;
}

.waitlist input:-webkit-autofill,
.waitlist input:-webkit-autofill:hover,
.waitlist input:-webkit-autofill:focus,
.waitlist input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--cream);
  caret-color: var(--cream);
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 9999s ease-in-out 0s;
  background-clip: text;
}

.waitlist button {
  background: var(--cta-bg);
  color: var(--cta-text);
  border: 0;
  border-radius: 999px;
  padding: 0 26px;
  height: 100%;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.waitlist button:hover { background: var(--cta-bg-hover); }
.waitlist button:active { transform: scale(0.98); }
.waitlist button:disabled { opacity: 0.6; cursor: default; }

.caption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 300;
  color: var(--label);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.caption.success { color: var(--moss); }
.caption.error { color: #c97a6e; }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(143, 122, 77, 0.28);
  background: rgba(6, 7, 4, 0.4);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
  animation: bob 2.6s ease-in-out infinite;
}

.scroll-hint:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.05);
}

.scroll-hint svg { width: 18px; height: 18px; }

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(4px); }
}

.why {
  position: relative;
  background-color: #000000;
  color: var(--muted-cream);
  padding: clamp(80px, 12vh, 140px) clamp(28px, 6vw, 96px) 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.why-inner {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

.why-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-stroke);
  margin-bottom: 18px;
}

.why-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
  color: var(--cream);
  letter-spacing: 0.005em;
  margin-bottom: clamp(48px, 7vh, 80px);
  max-width: 820px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
}

.why-block h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--cream);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(143, 122, 77, 0.22);
}

.why-block p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-cream);
  margin-bottom: 14px;
  max-width: 460px;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 460px;
}

.why-list li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-cream);
  padding-left: 18px;
  position: relative;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm-stroke);
  box-shadow: 0 0 8px rgba(143, 122, 77, 0.4);
}

.why-list-key {
  display: inline;
  color: var(--cream);
  font-weight: 500;
  margin-right: 6px;
}

.contract {
  position: relative;
  background: #000000;
  padding: clamp(72px, 10vh, 120px) clamp(24px, 6vw, 96px) clamp(48px, 7vh, 80px);
  overflow: hidden;
}

.contract-inner {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contract-top {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.contract-copy {
  text-align: left;
}

.contract-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--warm-stroke);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.contract-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 1.02;
  color: var(--cream);
  letter-spacing: 0.005em;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  text-shadow: 0 0 40px rgba(143, 122, 77, 0.08);
}

.contract-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--muted-cream);
  max-width: 460px;
}

.contract-letter {
  position: relative;
}

.contract-letter img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

/* Entrance reveals */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal-group.is-in > * {
  opacity: 1;
  transform: none;
}

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

.promise-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 6vh, 72px);
}

.promise-features li {
  position: relative;
  text-align: center;
  padding: 6px clamp(16px, 2vw, 28px);
}

.promise-features li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(143, 122, 77, 0), rgba(143, 122, 77, 0.22), rgba(143, 122, 77, 0));
}

.promise-feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 6vw, 62px);
  height: clamp(52px, 6vw, 62px);
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--warm-stroke);
  box-shadow: inset 0 0 0 1px rgba(143, 122, 77, 0.32);
  background: radial-gradient(circle, rgba(143, 122, 77, 0.08), rgba(143, 122, 77, 0) 70%);
}

.promise-feat-icon svg { width: clamp(24px, 2.6vw, 28px); height: clamp(24px, 2.6vw, 28px); }

.promise-features h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.2;
  color: #c8b488;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.promise-features p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.55;
  color: var(--muted-cream);
  max-width: 200px;
  margin: 0 auto;
}

.promise-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(44px, 6vh, 76px);
}

.promise-footer::before,
.promise-footer::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(143, 122, 77, 0), rgba(143, 122, 77, 0.28), rgba(143, 122, 77, 0));
}

.promise-footer-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--warm-stroke);
}

.promise-footer-crest svg { width: 18px; height: 18px; }

.promise-footer-line {
  font-family: var(--sans);
  font-size: clamp(11px, 1.05vw, 13px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-stroke);
  white-space: nowrap;
}

.privacy {
  position: relative;
  background-color: #000000;
  color: var(--muted-cream);
  padding: 20px clamp(28px, 6vw, 96px) 40px;
  display: flex;
  flex-direction: column;
}

.footer {
  text-align: center;
  padding-top: clamp(28px, 6vh, 56px);
  font-size: 12px;
  font-weight: 300;
  color: var(--label);
  letter-spacing: 0.02em;
}

.footer p + p { margin-top: 6px; }

.footer a {
  color: var(--muted-cream);
  text-decoration: none;
}

.footer a:hover {
  color: var(--cream);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.x-icon {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--cream);
}

@media (max-height: 760px) {
  .hero { top: 52vh; }
}

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-block p, .why-list { max-width: none; }
  .contract-top {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 44px);
  }
  .contract-copy { text-align: center; }
  .contract-letter { max-width: 540px; margin: 0 auto; }
  .promise-features { grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 40px) 0; }
  .promise-features li:nth-child(3)::before { display: none; }
}

@media (max-width: 620px) {
  .promise-footer-line { white-space: normal; text-align: center; }
}

@media (max-width: 560px) {
  .top-nav { padding: 18px 22px; }
  .hero { top: 52vh; }
  .scroll-hint { bottom: 20px; }
  .why { padding-top: 64px; }
  .contract { padding-top: 64px; }
  .promise-features { grid-template-columns: 1fr; gap: 36px; }
  .promise-features li + li::before { display: none; }
}
