/* Casa Branko — Coming Soon homepage
   Palette: cream #FBF5EB · navy #182a4e · red #ec1c3d · gold #f4b813 */

:root {
  --cream: #FBF5EB;
  --navy: #182a4e;
  --red: #ec1c3d;
  --gold: #f4b813;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
::placeholder { color: #9aa2b1; opacity: 1; }

@keyframes swayA { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(2.2deg); } }
@keyframes swayB { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-2.4deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.stage {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  font-family: 'Poppins', sans-serif;
}

/* Corner leaves */
.leaf {
  position: absolute;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.leaf--tl { top: 0; left: 0;  width: clamp(170px, 27vw, 360px); transform-origin: top left;     animation: swayA 7s   ease-in-out infinite; }
.leaf--tr { top: 0; right: 0; width: clamp(170px, 27vw, 360px); transform-origin: top right;    animation: swayB 8s   ease-in-out infinite; }
.leaf--bl { bottom: 0; left: 0;  width: clamp(180px, 29vw, 380px); transform-origin: bottom left;  animation: swayB 7.6s ease-in-out infinite; }
.leaf--br { bottom: 0; right: 0; width: clamp(185px, 30vw, 400px); transform-origin: bottom right; animation: swayA 8.4s ease-in-out infinite; }

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: min(620px, 88%);
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 10px 22px rgba(24, 42, 78, 0.14));
  animation: floaty 6s ease-in-out infinite;
}

/* Wordmark fallback shown only if the logo image is missing */
.logo-fallback {
  margin-bottom: 8px;
  font-family: 'Anton', sans-serif;
  line-height: 0.9;
  animation: floaty 6s ease-in-out infinite;
}
.logo-fallback[hidden] { display: none; }
.logo-fallback__casa,
.logo-fallback__branko {
  display: block;
  font-size: clamp(54px, 13vw, 150px);
  letter-spacing: 0.01em;
}
.logo-fallback__casa { color: var(--navy); }
.logo-fallback__branko { color: var(--red); }

/* COMING SOON headline */
.headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 6px;
}
.headline h1 {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  color: var(--navy);
  font-size: clamp(38px, 7.6vw, 92px);
  line-height: 0.92;
  letter-spacing: 0.02em;
}
.dash {
  display: block;
  width: clamp(28px, 5vw, 52px);
  height: 9px;
  border-radius: 6px;
  background: var(--red);
}
.dash--left  { transform: rotate(-3deg); }
.dash--right { transform: rotate(3deg); }

/* Gold divider with heart */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}
.divider__bar {
  display: block;
  width: clamp(48px, 10vw, 110px);
  height: 5px;
  border-radius: 4px;
  background: var(--gold);
}
.divider__heart { color: var(--red); font-size: 22px; line-height: 1; }

/* Taglines */
.tagline {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 4px;
}
.tagline:first-of-type { margin: 30px 0 2px; }
.brand { color: var(--red); }

/* Signup form (pill) */
.signup {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 540px;
  margin: 26px auto 0;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 14px 30px rgba(24, 42, 78, 0.12);
  gap: 12px;
}
.signup__icon { flex: none; }
.signup__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--navy);
  padding: 10px 0;
}
.signup__btn {
  flex: none;
  border: none;
  cursor: pointer;
  background: var(--red);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(13px, 1.6vw, 16px);
  padding: 14px 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.signup__btn:hover { transform: translateY(-1px); }
.signup__btn:active { transform: translateY(0); }
.signup__btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.signup__chevron { font-size: 1.15em; line-height: 0; }

.signup__error {
  min-height: 18px;
  margin: 10px 0 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--red);
  font-weight: 500;
}

/* Success state */
.success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px auto 0;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 16px 28px;
  box-shadow: 0 14px 30px rgba(24, 42, 78, 0.12);
  max-width: 540px;
}
.success[hidden] { display: none; }
.success__heart { color: var(--red); font-size: 22px; line-height: 1; }
.success__msg {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(14px, 1.7vw, 17px);
  text-align: left;
}

/* Footer */
.footer-note {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(20px, 2.6vw, 28px);
  margin: 34px 0 0;
}
.footer-heart { color: var(--gold); font-size: 20px; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  .leaf, .logo { animation: none; }
}
