/* ============================================
   ReImagine Intimacy — Styles
   Sacred Threshold Aesthetic
   ============================================ */

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

:root {
  --ivory: #FAF7F2;
  --ivory-dk: #F0EBE3;
  --charcoal: #1A1A1A;
  --teal-deep: #0F2B2B;
  --teal-mid: #1B4A4A;
  --teal-lt: #2A6060;
  --gold: #C9A84C;
  --gold-lt: #E8C97A;
  --plum: #3D1530;
}

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

body {
  background-color: var(--ivory);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ---- Noise Overlay ---- */
.noise-overlay {
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: multiply;
}

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

/* ---- Pill Labels ---- */
.pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s ease,
              background-color 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease;
}

.btn:hover { transform: scale(1.03); }
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover {
  background-color: var(--gold-lt);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.32);
}

.btn-outline-ivory {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(250, 247, 242, 0.35);
}
.btn-outline-ivory:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid rgba(26, 26, 26, 0.25);
}
.btn-outline-dark:hover {
  border-color: var(--teal-mid);
  color: var(--teal-mid);
}

/* ---- GSAP Initial States ---- */
.reveal       { opacity: 0; transform: translateY(32px); }
.reveal-left  { opacity: 0; transform: translateX(-32px); }
.reveal-right { opacity: 0; transform: translateX(32px); }

/* ---- Navbar ---- */
#navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 3rem);
  max-width: 1200px;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.4s ease, backdrop-filter 0.4s ease,
              border-color 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(15, 43, 43, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(201, 168, 76, 0.18);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.22);
}

#navbar .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
}

#navbar nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#navbar nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.7);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

#navbar nav a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

#navbar nav a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-cta { padding: 0.625rem 1.25rem; font-size: 0.7rem; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ivory);
  padding: 0.375rem;
  border-radius: 4px;
  transition: color 0.2s ease;
}
.mobile-menu-btn:hover { color: var(--gold); }

/* ---- Hero ---- */
#hero {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse at 28% 45%, rgba(27,74,74,0.82) 0%, rgba(15,43,43,0.90) 42%, rgba(6,14,14,0.96) 100%),
    url('hero-circle.png') center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 0 6% 9%;
  position: relative;
  overflow: hidden;
}

.hero-content { max-width: 780px; position: relative; z-index: 2; }

.hero-pill { color: var(--gold); border-color: var(--gold); margin-bottom: 2.5rem; }

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.8rem, 8.5vw, 7.5rem);
  font-weight: 300;
  line-height: 0.92;
  color: var(--ivory);
  margin-bottom: 1.75rem;
  display: block;
}

.hero-headline span { display: block; }

.hero-headline em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-lt);
  display: block;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 400;
  color: rgba(250, 247, 242, 0.82);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2.75rem;
  letter-spacing: 0.01em;
}

.hero-supporting {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 400;
  color: rgba(250, 247, 242, 0.5);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2.75rem;
  letter-spacing: 0.01em;
}

/* Peacock SVG decoration */
.peacock-decor {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 52%;
  max-width: 660px;
  height: 100%;
  max-height: 90vh;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

/* ---- Who She Is ---- */
#wound { background: var(--ivory); }

/* ---- Philosophy / Laws ---- */
#philosophy { background: var(--teal-deep); }

.law-item {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 1.4rem 0;
  display: flex;
  gap: 2rem;
  align-items: baseline;
}

.law-item:last-child { border-bottom: 1px solid rgba(250, 247, 242, 0.1); }

.law-number {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
  opacity: 0.65;
  flex-shrink: 0;
  min-width: 2rem;
}

.law-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--ivory);
}

/* ---- Offer Cards ---- */
.offer-card {
  border-radius: 2rem;
  padding: 2.5rem;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s ease;
}

.offer-card:hover { transform: translateY(-5px); }

.offer-card.light {
  background: var(--ivory-dk);
  border: 1px solid rgba(26, 26, 26, 0.07);
}
.offer-card.light:hover { box-shadow: 0 18px 55px rgba(15, 43, 43, 0.1); }

.offer-card.dark {
  background: var(--teal-deep);
  border: 1px solid rgba(201, 168, 76, 0.22);
  color: var(--ivory);
}
.offer-card.dark:hover { box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28); }

/* ---- Circle / Process Section ---- */
#circle { background: var(--teal-mid); }

.step-card {
  background: rgba(250, 247, 242, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 2rem;
  padding: 2.5rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  background: rgba(250, 247, 242, 0.08);
  border-color: rgba(201, 168, 76, 0.3);
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
}

.stats-strip {
  background: rgba(250, 247, 242, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 2rem;
  padding: 2.5rem;
}

/* ---- Photo Placeholder ---- */
.photo-placeholder {
  background: linear-gradient(145deg, var(--teal-mid) 0%, var(--plum) 100%);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

.photo-placeholder::after {
  content: 'PHOTO PLACEHOLDER';
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(250, 247, 242, 0.25);
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Founder's Note ---- */
#founders-note { background: var(--plum); }

/* ---- Newsletter Form ---- */
.newsletter-form input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.18);
  padding: 0.875rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s ease;
  letter-spacing: 0.02em;
}

.newsletter-form input:focus { border-color: var(--teal-mid); }
.newsletter-form input::placeholder { color: rgba(26, 26, 26, 0.32); }

.newsletter-form button { width: 100%; margin-top: 0.5rem; }

/* ---- Discovery CTA ---- */
#discovery { background: var(--teal-deep); }

/* ---- Footer ---- */
footer {
  background: var(--teal-deep);
  border-radius: 4rem 4rem 0 0;
  padding: 5.5rem 6% 3rem;
}

footer a {
  color: rgba(250, 247, 242, 0.55);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

footer a:hover {
  color: var(--gold-lt);
  transform: translateX(3px);
}

footer a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.55);
  animation: pulse-dot 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(76, 175, 80, 0.55); }
  50% { box-shadow: 0 0 12px rgba(76, 175, 80, 0.85); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  #navbar nav { gap: 1.4rem; }
}

@media (max-width: 768px) {
  #navbar nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    background: rgba(15, 43, 43, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 1.5rem;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid rgba(201, 168, 76, 0.15);
  }

  #navbar nav.open { display: flex; }
  #navbar nav a { font-size: 0.85rem; }

  .mobile-menu-btn { display: block; }
  .nav-cta { display: none; }

  .peacock-decor {
    right: -15%;
    width: 80%;
    opacity: 0.05;
  }

  .law-item { gap: 1.2rem; }

  /* Hero mobile */
  #hero { padding: 0 6% 12%; }
  .hero-content { max-width: 100%; }
  .hero-sub, .hero-supporting { max-width: 100%; }
  .hero-pill-top { top: 6rem !important; }

  /* Pull quote mobile */
  .pull-quote-text { font-size: clamp(1.7rem, 7vw, 2.4rem) !important; }

  /* Offer cards mobile */
  .offer-card { padding: 2rem; }

  /* Step cards mobile */
  .step-card { padding: 2rem; }

  /* Stats strip mobile */
  .stats-strip { padding: 2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }

  .btn:hover { transform: none; }
  .offer-card:hover { transform: none; }
}
