/* ---------------------------------------------------
   Hairhobby — Coming Soon
   Palette: deep magenta stage, hot pink accent, warm gold trim
--------------------------------------------------- */

:root{
  --black:      #0f0a0d;
  --black-deep: #050304;
  --magenta-deep: #4a0d2c;
  --magenta:     #8f1250;
  --pink-hot:    #E91E8C;
  --pink-soft:   #ff5fa8;
  --gold:        #D4A537;
  --gold-light:  #F1CD6B;
  --blush:       #FFE3EE;
  --text:        #FDEFF6;
  --text-dim:    #d9b3c8;

  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;

  --wrap: 720px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--magenta-deep) 0%, transparent 70%),
    linear-gradient(180deg, var(--black) 0%, var(--black-deep) 55%, #08040a 100%);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

/* film-grain / texture overlay so the dark field doesn't look flat */
.grain{
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow{
  position: fixed; border-radius: 50%; filter: blur(90px); z-index: 0; pointer-events:none;
}
.glow--one{
  width: 480px; height: 480px; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(233,30,140,.35), transparent 70%);
  animation: drift 16s ease-in-out infinite;
}
.glow--two{
  width: 420px; height: 420px; bottom: -160px; right: -140px;
  background: radial-gradient(circle, rgba(212,165,55,.22), transparent 70%);
  animation: drift 20s ease-in-out infinite reverse;
}
@keyframes drift{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(30px,-20px); }
}

/* floating sparkle particles */
.sparkles{ position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.sparkle{
  position: absolute;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 6px 1px rgba(241,205,107,.8);
  animation: rise linear infinite;
  opacity: 0;
}
@keyframes rise{
  0%{ transform: translateY(0) scale(0.6); opacity: 0; }
  10%{ opacity: .9; }
  90%{ opacity: .5; }
  100%{ transform: translateY(-110vh) scale(1); opacity: 0; }
}

/* ---------- layout shell ---------- */
.topbar{
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 64px) 0;
}
.wordmark{ display:flex; align-items:center; gap:10px; }
.mark{ width: 30px; height: 30px; }
.wordmark__text{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .01em;
}
.wordmark__text em{
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, var(--gold-light), var(--pink-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-dim);
}
.eyebrow--top{ display:none; }
@media (min-width: 640px){ .eyebrow--top{ display:inline; } }

.hero{
  position: relative; z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 72px) 24px 20px;
  text-align: center;
}

.eyebrow--center{ margin: 0 0 6px; }

.headline{
  margin: 0 0 clamp(28px, 5vw, 44px);
  line-height: .86;
}
.headline__coming{
  display:block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 13vw, 6.6rem);
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 0%, var(--blush) 55%, var(--pink-soft) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(233,30,140,.35);
}
.headline__soon{
  display:block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  margin-top: .05em;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 45%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 200% 50%; }
}

/* ---------- the drape / signature element ---------- */
.stage{
  position: relative;
  width: min(280px, 60vw);
  aspect-ratio: 1 / 1.05;
  margin: 0 auto clamp(28px, 5vw, 40px);
}
.stage__spot{
  position: absolute; inset: -20%;
  background: radial-gradient(circle, rgba(233,30,140,.28), transparent 65%);
  filter: blur(20px);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ opacity: .7; transform: scale(1); }
  50%{ opacity: 1; transform: scale(1.08); }
}

.drape{
  position: relative;
  width: 100%; height: 100%;
  cursor: pointer;
  outline: none;
}
.drape__reveal{
  position: absolute; inset: 8%;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .5s ease, transform .5s ease;
}
.drape__cloth{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.55));
  transition: transform .6s cubic-bezier(.22,.9,.3,1.3);
  transform-origin: top center;
  animation: sway 6s ease-in-out infinite;
}
@keyframes sway{
  0%,100%{ transform: rotate(0deg) translateY(0); }
  50%{ transform: rotate(.6deg) translateY(-3px); }
}
.cloth-sheen{
  animation: sheen 3.5s ease-in-out infinite;
}
@keyframes sheen{
  0%,100%{ opacity: .35; }
  50%{ opacity: .9; }
}
.drape__hint{
  position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

/* peeled/peek state on hover, focus, or .is-peeking */
.drape:hover .drape__cloth,
.drape:focus-visible .drape__cloth,
.drape.is-peeking .drape__cloth{
  transform: translateY(-14%) rotate(-2deg) scale(1.02);
  animation-play-state: paused;
}
.drape:hover .drape__reveal,
.drape:focus-visible .drape__reveal,
.drape.is-peeking .drape__reveal{
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce){
  .glow, .sparkle, .headline__soon, .drape__cloth, .cloth-sheen, .stage__spot{
    animation: none !important;
  }
}

/* ---------- tagline / features ---------- */
.tagline{
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--text-dim);
  margin: 0 0 clamp(32px, 6vw, 48px);
  font-weight: 500;
}
.tagline strong{ color: var(--text); font-weight: 700; }
.gold-text{
  color: var(--gold-light);
  font-weight: 700;
}

.features{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 clamp(36px, 6vw, 52px);
  text-align: left;
}
@media (max-width: 600px){
  .features{ grid-template-columns: 1fr; }
}
.feature{
  background: linear-gradient(160deg, rgba(233,30,140,.10), rgba(255,255,255,.02));
  border: 1px solid rgba(241,205,107,.16);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex; align-items: center; gap: 14px;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.feature:hover{
  transform: translateY(-4px);
  border-color: rgba(241,205,107,.5);
  background: linear-gradient(160deg, rgba(233,30,140,.18), rgba(255,255,255,.03));
}
.feature__icon{
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-hot), var(--magenta));
  color: var(--blush);
  transition: transform .35s ease;
}
.feature:hover .feature__icon{ transform: rotate(-8deg) scale(1.08); }
.feature__icon svg{ width: 22px; height: 22px; }
.feature h3{
  margin: 0;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.35;
}
.feature h3 span{
  display: block;
  font-weight: 500;
  color: var(--gold-light);
}

/* ---------- waitlist form ---------- */
.waitlist{ max-width: 440px; margin: 0 auto; }
.waitlist__label{
  display: block;
  font-size: .78rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.waitlist__row{
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(241,205,107,.25);
  border-radius: 999px;
  padding: 6px;
}
.waitlist__row input{
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .92rem;
  padding: 10px 14px;
}
.waitlist__row input::placeholder{ color: rgba(253,239,246,.4); }
.waitlist__row button{
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: #2a1607;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .84rem;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.waitlist__row button:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(241,205,107,.35);
}
.waitlist__row button:active{ transform: translateY(0); }
.waitlist__row button svg{ transition: transform .25s ease; }
.waitlist__row button:hover svg{ transform: translateX(3px); }

.waitlist__status{
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: .82rem;
  color: var(--gold-light);
}

/* ---------- footer ---------- */
.footer{
  position: relative; z-index: 2;
  text-align: center;
  padding: clamp(40px, 8vw, 60px) 24px 40px;
}
.footer__tagline{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin: 0 0 8px;
  color: var(--blush);
}
.footer__meta{
  font-size: .74rem;
  letter-spacing: .08em;
  color: rgba(217,179,200,.6);
  margin: 0;
}

/* ---------- scroll-in reveals ---------- */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
