/* =============================================================================
   BORN WOUNDED — landing page
   HealedSpace design language. Warm peach, Cormorant, milk-glass.
   ========================================================================== */

:root {
  --bg-peach:    #F5DBC9;
  --bg-warm:     #F5EFE6;
  --bg-cream:    #FAF7F2;
  --cream:       #FFFCF6;
  --text:        #2C2825;
  --text-soft:   #6B6560;
  --text-faint:  #9A9590;
  --warm:        #C4866C;
  --warm-deep:   #9C6A52;
  --orange:      #E8622A;
  --orange-deep: #C94E1A;
  --border:      #E6E0D8;
  --border-soft: #EFEAE0;

  --serif:    'Cormorant Garamond', Georgia, serif;
  --display:  'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:     'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --pad:       clamp(20px, 5vw, 56px);
  --ease:      cubic-bezier(0.25, 1, 0.5, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--sans);
  background: var(--bg-peach);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse at 60% 0%, rgba(244, 215, 190, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 70%, rgba(245, 239, 230, 0.55) 0%, transparent 50%),
    linear-gradient(175deg, var(--bg-peach) 0%, var(--bg-cream) 100%);
  min-height: 100vh;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 235, 217, 0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(184, 106, 76, 0.13);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 2px 12px rgba(140,70,40,0.07);
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.header-logo-mark {
  width: 30px; height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(140,70,40,0.18));
}

.header-wordmark {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

.header-wordmark strong { font-weight: 600; }

/* ---------- HERO ---------- */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px var(--pad) 112px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  overflow: hidden;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 32px var(--pad) 32px;
    gap: 36px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    margin: 0 auto;
  }

  .hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-hook {
    margin-left: auto;
    margin-right: auto;
  }

  .signup-card {
    width: 100%;
  }
}

.hero-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: artIn 1.4s var(--ease-expo) 0.1s forwards;
  perspective: 1400px;
  min-width: 0;
}

.hero-cover img {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
  transform: rotateY(-3deg) rotateX(1deg);
  filter:
    drop-shadow(0 50px 100px rgba(140,70,40,0.32))
    drop-shadow(0 20px 40px rgba(140,70,40,0.2))
    drop-shadow(0 6px 12px rgba(140,70,40,0.16));
  transition: transform 600ms var(--ease-expo);
}

.hero-cover:hover img {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

@media (max-width: 860px) {
  .hero-cover {
    margin: -16px 0 -8px;
    overflow: visible;
  }
  .hero-cover img {
    max-width: none;
    width: 108vw;
    margin-left: -4vw;
    transform: none;
  }
  .hero-cover:hover img { transform: scale(1.02); }
}

@keyframes artIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 520px;
  min-width: 0;
}

.hero-badge {
  margin: 0;
  opacity: 0;
  animation: settleIn 1s var(--ease-expo) 0.5s forwards;
}

.hero-badge span {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 6px 12px;
  border: 1px solid rgba(232, 98, 42, 0.3);
  border-radius: 999px;
  background: rgba(232, 98, 42, 0.06);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 7.2vw, 78px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.028em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
  opacity: 0;
  animation: settleIn 1s var(--ease-expo) 0.65s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--warm-deep);
}

.hero-subtitle {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--warm-deep);
  margin-top: 18px;
  text-wrap: balance;
}

.hero-divider {
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--warm) 50%, transparent);
  margin: 4px 0 0;
  opacity: 0;
  animation: settleIn 1s var(--ease-expo) 0.7s forwards;
}

.hero-hook {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0;
  max-width: 480px;
  text-wrap: balance;
  opacity: 0;
  animation: settleIn 1s var(--ease-expo) 0.8s forwards;
}


@keyframes settleIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- SIGNUP CARD ---------- */
.signup-card {
  background: rgba(255, 252, 246, 0.62);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 248, 235, 0.8);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 2px 8px rgba(140,80,50,0.05),
    0 16px 40px rgba(140,80,50,0.1),
    0 40px 72px rgba(140,80,50,0.07);
  padding: 24px 22px;
  opacity: 0;
  animation: settleIn 1s var(--ease-expo) 0.9s forwards;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signup-form input[type="email"],
.signup-form input[type="text"] {
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 252, 246, 0.85);
  color: var(--text);
  outline: none;
  width: 100%;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.signup-form input[type="email"]:focus,
.signup-form input[type="text"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,98,42,0.14);
}

.signup-form input::placeholder { color: var(--text-faint); }

.signup-form button {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  min-height: 52px;
  transition: background 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
  box-shadow: 0 4px 16px rgba(232,98,42,0.36), 0 1px 3px rgba(232,98,42,0.2);
}

.signup-form button:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(232,98,42,0.42), 0 2px 6px rgba(232,98,42,0.24);
}

.signup-form button:active { transform: translateY(0); }

.signup-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.signup-fineprint {
  font-size: 12px;
  color: var(--text-faint);
  margin: 8px 0 0;
  line-height: 1.55;
  text-align: center;
}

.hero-promise {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
  opacity: 0;
  animation: settleIn 1s var(--ease-expo) 1.1s forwards;
}

/* ---------- STATUS ---------- */
.status-message {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  padding: 14px 18px;
  border-radius: 12px;
  margin-top: 10px;
  display: none;
}

.status-message.success {
  background: rgba(212,228,216,0.45);
  color: #2D5240;
  border: 1px solid rgba(156,192,168,0.45);
  display: block;
}

.status-message.error {
  background: rgba(232,98,42,0.08);
  color: var(--orange-deep);
  border: 1px solid rgba(232,98,42,0.22);
  display: block;
}

/* ---------- REVEAL SECTION ---------- */
.reveal-section {
  padding: 40px var(--pad) 96px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(245, 219, 201, 0.4) 0%, transparent 60%),
    transparent;
}

.reveal-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.reveal-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--warm-deep);
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.reveal-title {
  font-family: var(--serif);
  font-size: clamp(42px, 6.4vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.028em;
  color: var(--text);
  margin: 0 0 40px;
  max-width: 720px;
  text-wrap: balance;
}

.reveal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 56px;
}

.reveal-card {
  background: rgba(255, 252, 246, 0.55);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(230, 224, 216, 0.65);
  border-radius: 16px;
  padding: 26px 24px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 1px 2px rgba(140,80,50,0.03),
    0 8px 24px rgba(140,80,50,0.04);
  transition: background 280ms var(--ease), border-color 280ms var(--ease), transform 280ms var(--ease), box-shadow 280ms var(--ease);
}

.reveal-card:hover {
  background: rgba(255, 252, 246, 0.85);
  border-color: rgba(196, 134, 108, 0.4);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 2px 4px rgba(140,80,50,0.05),
    0 16px 36px rgba(140,80,50,0.08);
}

.reveal-card--tease {
  background: rgba(232, 98, 42, 0.06);
  border-color: rgba(232, 98, 42, 0.18);
}

.reveal-card--tease:hover {
  background: rgba(232, 98, 42, 0.1);
  border-color: rgba(232, 98, 42, 0.3);
}

.reveal-num {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.reveal-card p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.005em;
}

.reveal-card--tease p {
  color: var(--text-soft);
  font-style: italic;
}

.reveal-cta {
  border-top: 1px solid var(--border-soft);
  padding-top: 40px;
  margin-top: 8px;
}

.reveal-cta-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.4;
  color: var(--warm-deep);
  margin: 0;
  max-width: 620px;
  text-wrap: balance;
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 20px var(--pad) 24px;
  position: relative;
}

.site-footer::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 auto 18px;
  background: linear-gradient(to right, transparent, rgba(196, 134, 108, 0.35) 50%, transparent);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}

.footer-logo-mark {
  width: 18px; height: 18px;
  object-fit: contain;
  opacity: 0.7;
  margin-right: -2px;
}

.footer-wordmark {
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-soft);
}

.footer-wordmark strong { font-weight: 600; }

.footer-sep {
  color: var(--text-faint);
  opacity: 0.55;
}

.footer-meta {
  color: var(--text-faint);
}
