:root {
  --color-bg: #fdf7f3;
  --color-bg-alt: #f8ece9;
  --color-accent: #ecacb6;
  --color-accent-deep: #d98a97;
  --color-text: #34282a;
  --color-text-soft: #6b5957;
  --color-white: #ffffff;
  --font-kr: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-latin: 'Inter', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-wordmark: 'Bodoni Moda', 'Pretendard Variable', serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  max-width: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-kr);
  font-weight: 300;
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

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

.eyebrow {
  font-family: var(--font-latin);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--color-accent-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-kr); font-weight: 600; line-height: 1.32; letter-spacing: -0.01em; }

.body-text {
  color: var(--color-text-soft);
  line-height: 1.85;
  font-weight: 350;
  font-size: 1.02rem;
  letter-spacing: 0.002em;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 400vh; /* scroll distance that drives the scrub */
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #111;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18,12,12,0.6) 0%, rgba(18,12,12,0.32) 38%, rgba(18,12,12,0) 66%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding-left: clamp(1.75rem, 8vw, 6rem);
  padding-right: clamp(1.5rem, 6vw, 4rem);
  max-width: 640px;
  color: var(--color-white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  pointer-events: none;
}

.brand-wordmark {
  font-family: var(--font-wordmark);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.28;
  margin-bottom: 0.9rem;
}

.hero-tagline {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  opacity: 1;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-family: var(--font-latin);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  opacity: 0.85;
}

.hero-scroll-cue span {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), transparent);
  animation: scrollcue 1.8s infinite ease-in-out;
}

@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.hero-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: var(--color-white);
  font-family: var(--font-latin);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  z-index: 10;
  transition: opacity 0.6s var(--ease);
}
.hero-loading.hidden { opacity: 0; pointer-events: none; }

/* ---------- GENERIC SECTION ---------- */
.section {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 6vw, 6rem);
}

.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- STORY / DETAIL ---------- */
.section-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.section-inner.reverse { grid-template-columns: 0.9fr 1.1fr; }
.section-inner.reverse .section-media { order: 2; }
.section-inner.reverse .section-copy { order: 1; }

.section-media img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.story { background: var(--color-bg); }
.detail { background: var(--color-bg-alt); }

/* ---------- FACTS ---------- */
.facts { background: var(--color-bg); }
.facts-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.fact-card {
  background: var(--color-white);
  border: 1px solid rgba(217, 138, 151, 0.15);
  border-radius: 8px;
  padding: 2.5rem 1.75rem;
}
.fact-number {
  display: block;
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--color-accent-deep);
  margin-bottom: 1rem;
}
.fact-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.75rem;
}
.fact-card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 350;
}

/* ---------- PRICE ---------- */
.price {
  background: var(--color-accent);
  text-align: center;
  color: var(--color-white);
}
.price-inner { max-width: 700px; margin: 0 auto; }
.price .eyebrow { color: rgba(255,255,255,0.85); }
.price-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 2rem;
}
.price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-latin);
  margin-bottom: 1rem;
}
.price-volume { font-size: 1.4rem; font-weight: 500; }
.price-divider { opacity: 0.6; }
.price-amount { font-size: 1.8rem; font-weight: 600; }
.price-note {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 350;
}

/* ---------- LIFESTYLE + CTA ---------- */
.lifestyle {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.lifestyle-media {
  position: absolute;
  inset: 0;
}
.lifestyle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lifestyle-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(28,18,18,0.62) 0%, rgba(28,18,18,0.32) 40%, rgba(28,18,18,0) 68%);
}
.lifestyle-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0;
  padding: 6rem 2rem 6rem clamp(3rem, 13vw, 8.5rem);
  text-align: left;
  color: var(--color-white);
}
.lifestyle-inner .eyebrow { color: var(--color-accent); }
.lifestyle-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.25rem;
}
.lifestyle-inner .body-text {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0;
}
.waitlist-form input {
  flex: 1;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-kr);
  font-size: 0.92rem;
  outline: none;
}
.waitlist-form button {
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--color-accent-deep);
  color: var(--color-white);
  font-family: var(--font-kr);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.3s var(--ease);
  white-space: nowrap;
}
.waitlist-form button:hover { background: #c17683; }

.waitlist-message {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-accent);
  min-height: 1.2em;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 3rem 1.5rem;
}
.footer-brand {
  font-family: var(--font-wordmark);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}
.footer-copy {
  font-family: var(--font-latin);
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 800px) {
  .section-inner, .section-inner.reverse {
    grid-template-columns: 1fr;
  }
  .section-inner.reverse .section-media,
  .section-inner.reverse .section-copy { order: initial; }
  .facts-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
}

@media (max-width: 700px), (max-height: 700px) {
  .hero-overlay {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 100%;
  }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(18,12,12,0.55) 0%, rgba(18,12,12,0.4) 45%, rgba(18,12,12,0.6) 100%);
  }
  .brand-wordmark { font-size: 1.3rem; margin-bottom: 1rem; }
  .hero-title { font-size: clamp(1.6rem, 8vw, 2.2rem); margin-bottom: 0.6rem; }
  .hero-tagline { font-size: 0.95rem; }

  .lifestyle-inner {
    max-width: 100%;
    padding: 3.5rem 1.5rem;
  }
  .lifestyle-scrim {
    background: linear-gradient(180deg, rgba(20,14,14,0.45) 0%, rgba(20,14,14,0.6) 55%, rgba(20,14,14,0.78) 100%);
  }
  .waitlist-form { max-width: 100%; }
  .waitlist-form input, .waitlist-form button { width: 100%; }
}
