/* =========================================
   LIVE IN VAIRAGYA — Coming Soon
   ========================================= */
@font-face {
  font-family: Branch;
  src: url(Branch.ttf);
}
:root {
  --maroon: #6b1422;
  --maroon-deep: #4a0e18;
  --gold: #c2a25c;
  --gold-soft: #b8934a;
  --text: #333333;
  --text-soft: #4a4a4a;
  --cream: #f7f3ed;
  --white: #ffffff;
  --max-content:49rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* ----- Full-screen stage ----- */

.coming-soon {
  position: relative;
  width: 100%;
  
}

.coming-soon__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--cream);
  /* Prefer the crisp design asset first; webp as optional upgrade if desired */
  background-image: url("../images/background.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  animation: bg-settle 1.4s var(--ease) both;
  height:100vh;
  overflow:hidden;
}

@supports (background-image: image-set(url("../images/background.webp") type("image/webp"))) {
  .coming-soon__bg {
    background-image: image-set(
      url("../images/background.webp") type("image/webp"),
      url("../images/background.png") type("image/png")
    );
  }
}

.coming-soon__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: center;
  padding: clamp(1.5rem, 2vw, 1.25rem) clamp(1.5rem, 6vw, 5.5rem);
  max-width: min(65%, 64rem);
  text-align: left;
}

/* ----- Brand / Logo ----- */

.coming-soon__brand {
  margin-bottom: clamp(1.75rem, 4vh, 3rem);
  animation: rise 0.9s var(--ease) 0.1s both;
}

.coming-soon__logo {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  /* white logo plate blends into cream parchment */
  mix-blend-mode: multiply;
}

/* ----- Content ----- */

.coming-soon__content {
  max-width: var(--max-content);
}

.coming-soon__eyebrow {
  
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight:600;
  
  letter-spacing: 0.02em;
  color: var(--text-soft);
  margin-bottom: 0.45rem;
  animation: rise 0.9s var(--ease) 0.2s both;
}

.coming-soon__title {
  font-family: "Branch", serif;
  font-size:40px;
  font-weight:300;
  line-height: 1.05;
  color:#541A1A;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
  animation: rise 0.9s var(--ease) 0.32s both;
}

.coming-soon__subtitle {
  font-family: "Branch", serif;
  font-size:36px;
  font-weight:600;
  color:#9F7300;
  letter-spacing: 0.01em;
  margin-bottom:10px;
  animation: rise 0.9s var(--ease) 0.42s both;
}

/* Decorative divider */
.coming-soon__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 10rem);
  margin-bottom:6px;
  color: var(--gold);
  animation: rise 0.9s var(--ease) 0.5s both;
}

.coming-soon__divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.85;
}

.coming-soon__divider svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.9;
}

.coming-soon__text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.75;
  color:#000;
  
  margin-bottom: 1.35rem;
  animation: rise 0.9s var(--ease) 0.58s both;
}

.coming-soon__note {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
  animation: rise 0.9s var(--ease) 0.66s both;
}

/* CTA */
.coming-soon__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.55rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #7a1a2a 0%, var(--maroon) 45%, var(--maroon-deep) 100%);
  color: var(--white);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(74, 14, 24, 0.22);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s var(--ease);
  animation: rise 0.9s var(--ease) 0.74s both;
}

.coming-soon__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(74, 14, 24, 0.3);
  filter: brightness(1.05);
}

.coming-soon__btn:active {
  transform: translateY(0);
}

.coming-soon__btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ----- Notify popup ----- */

body.popup-open {
  overflow: hidden;
}

.notify-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease);
}

.notify-popup[hidden] {
  display: none;
}

.notify-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.notify-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 20, 24, 0.55);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.notify-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 12px;
  background: var(--cream);
  box-shadow: 0 24px 60px rgba(40, 20, 24, 0.28);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s var(--ease);
}

.notify-popup.is-open .notify-popup__dialog {
  transform: translateY(0) scale(1);
}

.notify-popup__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-soft);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.notify-popup__close:hover {
  color: var(--maroon);
  background: rgba(107, 20, 34, 0.08);
}

.notify-popup__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 0.4rem;
}

.notify-popup__text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 1.35rem;
}

#notifyForm {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.custom-input,
.form-control.custom-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(107, 20, 34, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-input::placeholder,
.form-control.custom-input::placeholder {
  color: #8a8680;
}

.custom-input:focus,
.form-control.custom-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 162, 92, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #7a1a2a 0%, var(--maroon) 45%, var(--maroon-deep) 100%);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(74, 14, 24, 0.22);
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(74, 14, 24, 0.28);
}

.submit-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

/* ----- Motions ----- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bg-settle {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ----- Responsive ----- */

@media (max-width: 1100px) {
  .coming-soon__inner {
    max-width: min(58%, 38rem);
  }
}

@media (max-width: 860px) {
  .coming-soon__bg {
    background-position: 70% center;
  }

  .coming-soon__inner {
    max-width: 100%;
    padding-top: clamp(1.25rem, 1vh, 2rem);
    padding-bottom: 2rem;
   /* background: linear-gradient(
      180deg,
      rgba(247, 243, 237, 0.88) 0%,
      rgba(247, 243, 237, 0.72) 70%,
      rgba(247, 243, 237, 0.4) 100%
    );*/
  }

  .coming-soon__logo {
    mix-blend-mode: multiply;
  }

  .coming-soon__content {
    max-width: 26rem;
	text-align: center;
	padding-top: 400px;
  }
  .coming-soon__divider{margin: 0 auto 6px;}
}

@media (max-width: 560px) {
  .coming-soon__bg {
    /*background-position: 78% center;*/
	background:url(../images/mobile-bg.webp) center 0 no-repeat;
	height: auto;
  }
  

  .coming-soon__logo {
    width: 140px;
	margin: 0 auto;
  }

  .coming-soon__btn {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }
  .coming-soon__subtitle{font-size: 26px;}
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
