/* Daella — launch landing page */

:root {
  --ivory: #F7F4ED;
  --cream: #EFE9DB;
  --ink: #1E1C19;
  --ink-soft: #4A463F;
  --green: #33402F;
  --green-deep: #27301F;
  --sage: #8A937E;
  --line: rgba(30, 28, 25, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(247, 244, 237, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.wordmark img { display: block; height: 62px; width: auto; }

/* ---------- buttons & forms ---------- */

.btn {
  display: inline-block;
  background: var(--green); color: var(--ivory);
  border: none; border-radius: 999px;
  padding: 0.95rem 2.1rem;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-small { padding: 0.65rem 1.4rem; font-size: 0.85rem; }
.btn-light { background: var(--ivory); color: var(--green); }
.btn-light:hover { background: #fff; }

.waitlist-form {
  position: relative;
  display: flex; gap: 0.6rem;
  max-width: 480px; margin: 1.8rem auto 0;
}
.waitlist-form input[type="email"] {
  flex: 1; min-width: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.95rem 1.4rem;
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  outline: none; transition: border-color 0.25s ease;
}
.waitlist-form input[type="email"]::placeholder { color: #9a958a; }
.waitlist-form input[type="email"]:focus { border-color: var(--green); }
.cta .waitlist-form input[type="email"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(247, 244, 237, 0.35);
  color: var(--ivory);
}
.cta .waitlist-form input[type="email"]::placeholder { color: rgba(247, 244, 237, 0.6); }
.cta .waitlist-form input[type="email"]:focus { border-color: var(--ivory); }

.form-note {
  position: absolute; left: 0; right: 0; top: calc(100% + 0.6rem);
  font-size: 0.85rem; color: var(--ink-soft);
  min-height: 1.4em;
}
.cta .form-note { color: rgba(247, 244, 237, 0.85); }
.form-note.error { color: #A4442E; }
.cta .form-note.error { color: #F0B9A6; }

.micro {
  margin-top: 2.6rem;
  font-size: 0.82rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.cta .micro { color: rgba(247, 244, 237, 0.7); }

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

.hero {
  padding: 9.5rem 0 4rem;
  text-align: center;
}

.eyebrow {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1.6rem;
}

.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.7rem, 6.4vw, 4.8rem);
  line-height: 1.08; letter-spacing: 0.01em;
  margin-bottom: 1.4rem;
}

.lede {
  font-size: 1.12rem; color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.hero-figure {
  margin-top: 3.5rem;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(30, 28, 25, 0.25);
}
.hero-figure img {
  width: 100%; height: clamp(280px, 44vw, 520px);
  object-fit: cover;
}

/* ---------- statement ---------- */

.statement {
  padding: 6rem 0; text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.statement p {
  color: var(--ink-soft); letter-spacing: 0.06em; font-size: 1.05rem;
}

/* ---------- story ---------- */

.story { padding: 6.5rem 0; text-align: center; }
.story .section-head { margin-bottom: 2.5rem; }
.story-body { max-width: 44rem; margin: 0 auto; }
.story-body p {
  color: var(--ink-soft); font-size: 1.08rem;
  line-height: 1.85; margin-bottom: 1.4rem;
}
.story-body .pull {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.4; margin: 2.4rem 0;
}
.story-body .sign {
  margin-top: 2.2rem; margin-bottom: 0;
  font-size: 0.85rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sage); line-height: 2;
}

/* ---------- sections ---------- */

.ritual, .ingredients { padding: 6.5rem 0; }
.ingredients { background: var(--cream); }

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: 0.06em; margin-bottom: 0.9rem;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; letter-spacing: 0.04em; }
.section-head .sub {
  margin-top: 0.9rem; font-size: 0.85rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage);
}

/* ---------- ritual cards ---------- */

.cards {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.card img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: 16px; margin-bottom: 1.4rem;
  box-shadow: 0 18px 40px -24px rgba(30, 28, 25, 0.3);
}
.card .step {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 0.5rem;
}
.card h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.card .descriptor {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 0.8rem;
}
.card p:last-child { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- ingredients ---------- */

.ing-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .ing-grid { grid-template-columns: repeat(2, 1fr); }
}

.ing {
  border: 1px solid var(--line); border-radius: 16px;
  padding: 2.2rem; background: rgba(247, 244, 237, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ing:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(30, 28, 25, 0.35);
}
.ing img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 10px; margin-bottom: 1.4rem;
}
.ing h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.45rem;
  letter-spacing: 0.04em; margin-bottom: 0.7rem;
}
.ing p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- final CTA ---------- */

.cta {
  background: var(--green); color: var(--ivory);
  padding: 7rem 0; text-align: center;
}
.cta h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 1rem;
}
.cta p { color: rgba(247, 244, 237, 0.82); font-size: 1.08rem; }

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

.site-footer { padding: 3.5rem 0; text-align: center; }
.footer-inner .wordmark { font-size: 1.1rem; display: inline-block; }
.footer-inner .wordmark img { display: block; height: 62px; width: auto; }
.site-footer p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.6rem; }
.site-footer .copy { font-size: 0.8rem; color: #9a958a; margin-top: 1.4rem; }

/* ---------- reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(26px); }
.reveal.visible {
  opacity: 1; transform: none;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- small screens ---------- */

@media (max-width: 560px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
  .hero { padding-top: 8rem; }
  .header-inner .btn-small { padding: 0.55rem 1.1rem; font-size: 0.78rem; }
}
