:root {
  --cream: #fdf8f4;
  --blush: #f8e4de;
  --petal: #fbd9cf;
  --rose: #d19a94;
  --rose-deep: #b06f68;
  --candy: #e8b4bc;
  --ink: #4a3536;
  --ink-soft: #8a6c6c;
  --gold: #d9a86c;
  --serif: "Fraunces", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Quicksand", sans-serif;
  --r-lg: 26px;
  --r-md: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: .005em; }
h1 { font-size: clamp(3.4rem, 10vw, 6.8rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font-size: 1.55rem; }

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--rose-deep);
  font-size: 1.28em;
  line-height: 1;
  display: inline-block;
  transform: translateY(.06em);
}
h1 .script { color: #fff; text-shadow: 0 4px 30px rgba(176,111,104,.55); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--rose-deep);
  margin-bottom: 1.1rem;
}

/* buttons with shimmer */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
}
.btn::after {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.2s ease-in-out infinite;
}
@keyframes shimmer { 0%,55% { left: -80%; } 90%,100% { left: 140%; } }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 34px rgba(176,111,104,.35); }
.btn-light { background: #fff; color: var(--rose-deep); }
.btn-dark { background: linear-gradient(120deg, var(--rose-deep), var(--rose)); color: #fff; }
.btn-dark:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }

/* header */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem clamp(1.2rem, 5vw, 4rem);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.site-head.scrolled { background: rgba(253,248,244,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(74,53,54,.08); padding-top: .8rem; padding-bottom: .8rem; }
.wordmark { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .4em; font-weight: 600; }
.wordmark.small { font-size: 1.15rem; }
.head-cta {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: rgba(255,255,255,.75); border: 1px solid var(--candy);
  padding: .5rem 1.2rem; border-radius: 999px;
}
.site-head:not(.scrolled) .wordmark { color: #fff; text-shadow: 0 2px 18px rgba(74,53,54,.5); }
.site-head:not(.scrolled) .head-cta { color: var(--rose-deep); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 25%; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(56,30,30,.66) 0%, rgba(56,30,30,.36) 45%, rgba(56,30,30,.05) 75%); }
.hero-copy { position: relative; z-index: 2; color: #fffdfb; padding: 8.5rem clamp(1.4rem, 7vw, 7rem) 6rem; max-width: 800px; }
.hero-sub { margin: 1.5rem 0 .4rem; font-size: 1.05rem; max-width: 31rem; color: rgba(255,253,251,.95); }
.launch-label { margin-top: 2.2rem; text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; font-weight: 600; color: var(--petal); }

.countdown { display: flex; align-items: center; justify-content: flex-start; gap: .8rem; margin: 1.2rem 0 2.4rem; flex-wrap: wrap; }
.cd-unit {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 74px; padding: .7rem .5rem .55rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--r-md); backdrop-filter: blur(8px);
}
.cd-num { font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.05; }
.cd-lab { font-size: .58rem; text-transform: uppercase; letter-spacing: .22em; opacity: .85; font-weight: 600; }
.cd-sep { color: var(--candy); font-size: .8rem; }

.scroll-hint { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 3; width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 999px; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(14px); opacity: .2; } }

/* floating hearts & sparkles */
.floaties { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.floaty { position: absolute; opacity: .5; animation: drift linear infinite; }
.floaty path { fill: var(--candy); }
.f1 { left: 6%; width: 22px; animation-duration: 16s; animation-delay: 0s; }
.f2 { left: 28%; width: 14px; animation-duration: 21s; animation-delay: 4s; }
.f3 { left: 55%; width: 18px; animation-duration: 18s; animation-delay: 8s; }
.f4 { left: 76%; width: 12px; animation-duration: 24s; animation-delay: 2s; }
.f5 { left: 91%; width: 20px; animation-duration: 19s; animation-delay: 11s; }
@keyframes drift {
  0% { transform: translateY(105vh) rotate(0deg) scale(.8); opacity: 0; }
  12% { opacity: .55; }
  88% { opacity: .4; }
  100% { transform: translateY(-10vh) rotate(28deg) scale(1.1); opacity: 0; }
}
.spark { position: fixed; z-index: 60; pointer-events: none; width: 10px; height: 10px; animation: pop .8s ease-out forwards; }
.spark path { fill: var(--gold); }
@keyframes pop {
  0% { transform: scale(0) rotate(0deg); opacity: 1; }
  60% { transform: scale(1) rotate(80deg); opacity: .9; }
  100% { transform: scale(.2) rotate(140deg) translateY(14px); opacity: 0; }
}

/* marquee */
.marquee { background: linear-gradient(120deg, var(--rose-deep), var(--rose)); color: #fff6f2; overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
section { padding: clamp(4.5rem, 10vw, 8rem) clamp(1.2rem, 6vw, 5rem); }
.collection, .lookbook, .waitlist { text-align: center; }
.collection h2, .lookbook h2, .waitlist h2 { max-width: 780px; margin: 0 auto 3.2rem; }

/* collection */
.pieces { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(1.5rem, 4vw, 3.4rem); max-width: 1020px; margin: 0 auto; }
.piece { text-align: center; }
.piece-media { overflow: hidden; background: var(--blush); aspect-ratio: 3 / 4.1; border-radius: var(--r-lg); box-shadow: 0 18px 45px rgba(176,111,104,.16); }
.piece-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 1.4s cubic-bezier(.19,1,.22,1); }
.piece:hover .piece-media img { transform: scale(1.05); }
.piece figcaption { padding-top: 1.5rem; }
.piece p { color: var(--ink-soft); margin-top: .5rem; max-width: 32rem; margin-inline: auto; }

/* fabric */
.fabric { background: linear-gradient(160deg, var(--blush), var(--petal)); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; border-radius: 0; }
.fabric-media { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-lg); box-shadow: 0 18px 45px rgba(176,111,104,.2); }
.fabric-media img { width: 100%; height: 100%; object-fit: cover; }
.fabric-copy p { color: var(--ink-soft); max-width: 32rem; }
.fabric-note { margin-top: 1.6rem; font-family: var(--script); font-size: 2rem; color: var(--rose-deep) !important; line-height: 1.3; }
@media (max-width: 820px) { .fabric { grid-template-columns: 1fr; } }

/* lookbook */
.look-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; max-width: 1160px; margin: 0 auto; }
.look { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--blush); border-radius: var(--r-md); }
.look-tall { grid-row: span 2; aspect-ratio: auto; }
.look img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.19,1,.22,1); }
.look:hover img { transform: scale(1.06); }
.look figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem; font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(56,30,30,.6)); opacity: 0; transition: opacity .5s ease; }
.look:hover figcaption { opacity: 1; }
@media (max-width: 900px) { .look-grid { grid-template-columns: repeat(2, 1fr); } .look-tall { grid-row: auto; aspect-ratio: 3/4; } }

/* waitlist */
.waitlist { background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%); }
.waitlist-inner { max-width: 540px; margin: 0 auto; }
.gift { font-size: 2.6rem; margin-bottom: .6rem; animation: sway 3.5s ease-in-out infinite; display: inline-block; }
@keyframes sway { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.waitlist p { color: var(--ink-soft); margin-bottom: 2.2rem; }
#signup-form { display: grid; gap: 1.1rem; text-align: left; }
.field span { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .45rem; }
.field input {
  width: 100%; padding: .95rem 1.25rem; font-family: var(--sans); font-size: 1rem; font-weight: 500;
  color: var(--ink); background: rgba(255,255,255,.9); border: 1.5px solid rgba(232,180,188,.8);
  border-radius: 999px; transition: border-color .3s ease, box-shadow .3s ease;
}
.field input::placeholder { color: #c3a5a5; }
.field input:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 0 0 4px rgba(209,154,148,.2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#signup-form .btn { justify-self: center; margin-top: .4rem; }
.form-msg { min-height: 1.4rem; margin: 0 !important; font-size: .92rem; text-align: center; }
.form-msg.ok { color: var(--rose-deep); font-family: var(--script); font-size: 1.7rem; }
.form-msg.err { color: #b34545; }
.privacy { font-size: .78rem; margin-top: 1.4rem !important; }

/* footer */
.site-foot { text-align: center; padding: 3.4rem 1.5rem 6.5rem; background: var(--ink); color: #d8bcbb; }
.site-foot .wordmark { color: var(--petal); display: inline-block; margin-bottom: .8rem; }
.site-foot p { font-size: .8rem; letter-spacing: .1em; }
.site-foot .copy { margin-top: .4rem; opacity: .6; }

/* mobile sticky countdown bar */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55;
  display: none; align-items: center; justify-content: space-between; gap: .8rem;
  background: rgba(253,248,244,.94); backdrop-filter: blur(14px);
  border: 1px solid rgba(232,180,188,.9); border-radius: 999px;
  padding: .55rem .6rem .55rem 1.3rem; box-shadow: 0 12px 34px rgba(74,53,54,.25);
  transform: translateY(140%); transition: transform .5s cubic-bezier(.19,1,.22,1);
}
.mobile-bar.show { transform: none; }
.mb-count { font-size: .8rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.mb-count span { color: var(--rose-deep); font-family: var(--serif); font-size: 1rem; font-weight: 600; }
.mb-sep { opacity: .5; }
.mb-cta {
  text-decoration: none; font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  color: #fff; background: linear-gradient(120deg, var(--rose-deep), var(--rose));
  padding: .6rem 1.15rem; border-radius: 999px; white-space: nowrap;
}
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  .hero-copy { padding-top: 7rem; }
  .cd-unit { min-width: 62px; }
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s cubic-bezier(.19,1,.22,1); }
.reveal.in { opacity: 1; transform: none; }
.hero-copy .reveal:nth-child(2) { transition-delay: .15s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .3s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .45s; }
.hero-copy .reveal:nth-child(5) { transition-delay: .55s; }
.hero-copy .reveal:nth-child(6) { transition-delay: .7s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .floaties, .scroll-hint { display: none; }
}
