/* ─────────────────────────────────────────
   RAWNERA — Scalp Care as Ritual
   ───────────────────────────────────────── */

:root {
  --bg: #F7F0E8;
  --bg-alt: #EDE4D8;
  --fg: #1C1814;
  --fg-muted: #6B5E52;
  --accent: #B5622A;
  --accent-warm: #D4915E;
  --cream: #FAF6F1;
  --border: rgba(28,24,20,0.12);
  --border-strong: rgba(28,24,20,0.22);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 8vw;
  background: var(--bg);
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 520px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-headline {
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--fg);
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-image-block {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 560px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(145deg, #E8D9C8 0%, #D4BFA0 50%, #C49A72 100%);
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: 60%;
  height: 60%;
  top: 10%;
  right: 5%;
  background: radial-gradient(circle, #D4915E 0%, transparent 70%);
  opacity: 0.7;
}

.orb-2 {
  width: 40%;
  height: 40%;
  bottom: 15%;
  left: 10%;
  background: radial-gradient(circle, #C4783A 0%, transparent 70%);
  opacity: 0.5;
}

.hero-texture-overlay {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.03) 2px,
      rgba(255,255,255,0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.02) 2px,
      rgba(255,255,255,0.02) 4px
    );
}

.hero-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-label-line {
  display: block;
  width: 2rem;
  height: 1px;
  background: rgba(255,255,255,0.7);
}

.hero-label-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.hero-bottom-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 2.5rem 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 3rem 0 0;
}

.hero-stat:first-child { padding-left: 0; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.hero-divider-v {
  width: 1px;
  height: 2.5rem;
  background: var(--border-strong);
  margin: 0 3rem;
}

/* ── Philosophy ── */
.philosophy {
  padding: 9rem 8vw;
  background: var(--cream);
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1100px;
}

.philosophy-heading {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--fg);
}

.philosophy-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.philosophy-right p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

.philosophy-right strong {
  color: var(--fg);
  font-weight: 400;
}

/* ── Ritual ── */
.ritual {
  padding: 9rem 8vw;
  background: var(--bg);
}

.ritual-header {
  max-width: 600px;
  margin-bottom: 5rem;
}

.ritual-heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 1rem;
}

.ritual-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.ritual-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.ritual-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 2rem;
}

.ritual-step:first-child { padding-left: 0; }
.ritual-step:last-child { padding-right: 0; }

.ritual-step-connector {
  color: var(--fg-muted);
  padding-top: 2rem;
  flex-shrink: 0;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.step-visual {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}

.step-circle--cleanse {
  background: linear-gradient(135deg, #E8D9C8, #D4BFA0);
}

.step-circle--treat {
  background: linear-gradient(135deg, #C49A72, #B5622A);
}

.step-circle--protect {
  background: linear-gradient(135deg, #D4BFA0, #E8D9C8);
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── Manifesto ── */
.manifesto {
  padding: 9rem 8vw;
  background: var(--fg);
  color: var(--cream);
}

.manifesto-inner {
  max-width: 900px;
}

.manifesto-quote {
  margin-bottom: 3rem;
  padding-left: 0;
  border-left: none;
}

.manifesto-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--cream);
}

.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(250,246,241,0.15);
}

.manifesto-body p {
  font-size: 1rem;
  color: rgba(250,246,241,0.65);
  line-height: 1.8;
}

/* ── Closing ── */
.closing {
  padding: 10rem 8vw;
  background: var(--bg-alt);
  text-align: center;
}

.closing-inner {
  max-width: 600px;
  margin: 0 auto;
}

.closing-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--fg);
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.closing-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.03em;
}

/* ── Waitlist Form ── */
.waitlist-form {
  margin-top: 2.5rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.form-row input[type="email"] {
  flex: 1;
  padding: 0.9rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.form-row input[type="email"]::placeholder {
  color: var(--fg-muted);
  opacity: 0.6;
}

.form-row input[type="email"]:focus {
  border-color: var(--accent);
}

#submit-btn {
  padding: 0.9rem 1.75rem;
  background: var(--fg);
  color: var(--cream);
  border: 1px solid var(--fg);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  position: relative;
  min-width: 140px;
  justify-content: center;
}

#submit-btn:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
}

#submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading {
  display: none;
}

#submit-btn.loading .btn-text { display: none; }
#submit-btn.loading .btn-loading { display: block; }

.form-note {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.form-success {
  display: none;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #3a7a4a;
  font-weight: 400;
}

.form-success.visible { display: block; }

.form-error {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #c0392b;
}

.form-error.visible { display: block; }

/* ── Step Benefits ── */
.step-product {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.step-benefits {
  margin-top: 1rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.step-benefits li {
  font-size: 0.82rem;
  color: var(--fg-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.step-benefits li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border-strong);
}

/* ── Footer ── */
.site-footer {
  padding: 3rem 8vw;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-style: italic;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 6rem 0 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-block {
    max-height: 380px;
  }

  .hero-bottom-bar {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .hero-stat {
    padding: 0 1.5rem 0 0;
  }

  .hero-divider-v {
    margin: 0 1.5rem;
  }

  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .philosophy {
    padding: 6rem 6vw;
  }

  .ritual {
    padding: 6rem 6vw;
  }

  .ritual-steps {
    flex-direction: column;
    gap: 2rem;
  }

  .ritual-step-connector {
    display: none;
  }

  .ritual-step {
    padding: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
  }

  .ritual-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .manifesto {
    padding: 6rem 6vw;
  }

  .closing {
    padding: 6rem 6vw;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .form-row input[type="email"] {
    width: 100%;
  }

  #submit-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0 5vw;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .hero-stat {
    padding: 0 1.5rem 0 0;
  }
}