@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@200;300;400;600&display=swap');

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

body {
  background: #000;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Flour Particles ── */

.flour-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.flour {
  position: absolute;
  border-radius: 50%;
  animation: flourFall linear forwards;
  opacity: 0;
}

@keyframes flourFall {
  0%   { opacity: 0; transform: translateY(-20px) scale(0.3) rotate(0deg); }
  10%  { opacity: 1; }
  60%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(60px) scale(1.2) rotate(360deg); }
}

/* ── Divider ── */

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffffff80, transparent);
}

.divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.6;
}

/* ── Stage ── */

.stage {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  max-width: 720px;
  padding: 0 30px;
}

/* ── Logo ── */

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeDown 1.2s ease 0.2s forwards;
}

.logo-img {
  width: clamp(200px, 35vw, 320px);
  height: auto;
}

/* ── Animations ── */

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Tagline ── */

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: #ffffff80;
  letter-spacing: 6px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeDown 1s ease 0.8s forwards;
}

/* ── Reveal Track ── */

.reveal-track {
  position: relative;
  width: 100%;
  height: 110px;
  overflow: visible;
  margin-bottom: 36px;
}

.flour-dust {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 50% at 50% 100%, rgba(255,255,255,0.04) 0%, transparent 70%);
  z-index: 1;
}

.reveal-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
}

.coming-soon-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 5rem);
  color: #fff;
  letter-spacing: 10px;
  text-transform: uppercase;
  line-height: 1;
  clip-path: inset(0 100% 0 0);
  animation: revealText 3.8s cubic-bezier(0.4, 0, 0.2, 1) 2.2s forwards;
}

@keyframes revealText {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* ── Rolling Pin ── */

.rolling-pin-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -170px;
  z-index: 5;
  animation: rollAcross 3.8s cubic-bezier(0.4, 0, 0.2, 1) 2s forwards;
}

@keyframes rollAcross {
  from { left: -170px; }
  to   { left: calc(100% + 30px); }
}

.rolling-pin-svg {
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.2));
  animation: pinRotate 3.8s linear 2s forwards;
}

@keyframes pinRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(1080deg); }
}

.flour-trail {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  width: 0%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  z-index: 3;
  animation: trailGrow 3.8s cubic-bezier(0.4, 0, 0.2, 1) 2s forwards;
}

@keyframes trailGrow {
  from { width: 0%; opacity: 1; }
  to   { width: 100%; opacity: 0; }
}

/* ── Flow Splash Particles ── */

.flow-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: flowBurst ease-out forwards;
  opacity: 0;
}

@keyframes flowBurst {
  0%   { opacity: 0.9; transform: scale(0.2) translate(0, 0); }
  60%  { opacity: 0.5; }
  100% { opacity: 0; transform: scale(1.6) translate(var(--tx), var(--ty)); }
}

/* ── Subtitle ── */

.subtitle {
  margin-top: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 3px;
  opacity: 0;
  animation: fadeIn 1s ease 7.4s forwards;
}

/* ── Corner Accents ── */

.corner {
  position: fixed;
  width: 36px;
  height: 36px;
  opacity: 0.15;
  z-index: 2;
}

.corner-tl { top: 22px; left: 22px; border-top: 1px solid #fff; border-left: 1px solid #fff; }
.corner-tr { top: 22px; right: 22px; border-top: 1px solid #fff; border-right: 1px solid #fff; }
.corner-bl { bottom: 22px; left: 22px; border-bottom: 1px solid #fff; border-left: 1px solid #fff; }
.corner-br { bottom: 22px; right: 22px; border-bottom: 1px solid #fff; border-right: 1px solid #fff; }

/* ── Background Splashes ── */

.splash {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: splashPulse 6s ease-in-out infinite alternate;
}

@keyframes splashPulse {
  from { transform: scale(1); opacity: 0.4; }
  to   { transform: scale(1.1); opacity: 0.7; }
}

.s1 { width: 260px; height: 260px; top: -80px; left: -80px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%); animation-delay: 0s; }
.s2 { width: 160px; height: 160px; top: 0; right: 40px; background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%); animation-delay: 1s; }
.s3 { width: 300px; height: 300px; bottom: -100px; right: -80px; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); animation-delay: 1.5s; }
.s4 { width: 140px; height: 140px; bottom: 30px; left: 10px; background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%); animation-delay: 0.5s; }

/* ── Footer ── */

.footer {
  position: fixed;
  bottom: 22px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 2px;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1s ease 7.8s forwards;
}
