:root{
  --navy: #14213d;
  --navy-soft: #1f3a5f;
  --gold: #c9974f;
  --gold-deep: #b8873c;
  --gold-light: #e0b878;
  --ivory-1: #fbf9f7;
  --ivory-2: #f4efe9;
  --ivory-3: #e9e0d6;
  --text-gray: #7c7873;
  --text-body: #33363d;
}

*{
  box-sizing: border-box;
}

html, body{
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--ivory-1);
  font-family: 'Poppins', sans-serif;
}

.hero{
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 38%),
    radial-gradient(circle at 82% 12%, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 42%),
    linear-gradient(150deg, #faf8f5 0%, #f5f0ea 35%, #efe7dd 68%, #e7dccd 100%);
}

/* subtle atmospheric fine lines */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% 42%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* ===== Decorative ribbons ===== */
.ribbon{
  position: absolute;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.ribbon-left{
  left: -6vw;
  bottom: -6vh;
  width: 34vw;
  min-width: 380px;
  max-width: 620px;
  height: auto;
  opacity: 0.97;
  animation: driftLeft 22s ease-in-out infinite;
}

.ribbon-right{
  right: -6vw;
  top: 8vh;
  width: 30vw;
  min-width: 340px;
  max-width: 560px;
  height: auto;
  opacity: 0.97;
  animation: driftRight 24s ease-in-out infinite;
}

@keyframes driftLeft{
  0%, 100%{ transform: translate(0,0) rotate(0deg); }
  50%{ transform: translate(0.4vw, -0.6vh) rotate(0.4deg); }
}
@keyframes driftRight{
  0%, 100%{ transform: translate(0,0) rotate(0deg); }
  50%{ transform: translate(-0.4vw, 0.5vh) rotate(-0.4deg); }
}

/* ===== Topbar ===== */
.topbar{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 48px 0 48px;
}

.logo{
  height: 58px;
  width: auto;
  display: block;
}

.btn-stay-connected{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.35);
  border: 1.3px solid var(--gold);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 40px;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn-stay-connected:hover{
  background: rgba(255,255,255,0.65);
  transform: translateY(-1px);
}
.btn-stay-connected i{
  color: var(--gold-deep);
  font-size: 0.9rem;
}

/* ===== Main content ===== */
.main-content{
  position: absolute;
  top: 23.5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  width: 100%;
  max-width: 720px;
  padding: 0 20px;
}

.eyebrow{
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  color: var(--gold-deep);
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

.diamond-divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px auto;
  width: 140px;
}
.diamond-divider .line{
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.diamond-divider .line:last-child{
  background: linear-gradient(90deg, var(--gold), transparent);
}
.diamond-divider .diamond{
  width: 8px;
  height: 8px;
  border: 1.3px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.headline{
  font-family: 'DM Serif Display', serif;
  font-size: 4.6rem;
  line-height: 1.12;
  margin: 18px 0 22px 0;
  letter-spacing: -0.01em;
}
.headline .navy{ color: var(--navy); }
.headline .gold{
  color: var(--gold-deep);
  font-style: italic;
}

.subtext{
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0 auto 34px auto;
  max-width: 560px;
  font-weight: 300;
}

.btn-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 230px;
  height: 56px;
  padding: 0 30px;
  background: linear-gradient(135deg, #d9ac66 0%, #c9974f 45%, #b8873c 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 40px;
  box-shadow: 0 10px 24px rgba(184, 135, 60, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(184, 135, 60, 0.4);
}
.btn-cta i{
  font-size: 0.95rem;
}

.cta-subtext{
  margin: 16px 0 0 0;
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 300;
}

/* ===== Footer ===== */
.footer-area{
  position: absolute;
  bottom: 2.6vh;
  left: 0;
  right: 0;
  z-index: 5;
  text-align: center;
  width: 100%;
}

.follow-label{
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 14px 0;
  letter-spacing: 0.01em;
}

.social-icons{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-bottom: 14px;
}
.social-icons a{
  color: var(--navy);
  font-size: 1.15rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.social-icons a:hover{
  color: var(--gold-deep);
  transform: translateY(-2px);
}

.copyright{
  font-size: 0.78rem;
  color: var(--text-gray);
  margin: 0;
  font-weight: 300;
}

/* ===== Fade-in animation ===== */
.fade-up{
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s ease forwards;
}
.topbar .logo-wrap.fade-up{ animation-delay: 0.05s; }
.topbar .btn-stay-connected.fade-up{ animation-delay: 0.1s; }
.eyebrow.fade-up{ animation-delay: 0.15s; }
.diamond-divider.fade-up{ animation-delay: 0.25s; }
.headline.fade-up{ animation-delay: 0.35s; }
.subtext.fade-up{ animation-delay: 0.5s; }
.btn-cta.fade-up{ animation-delay: 0.62s; }
.cta-subtext.fade-up{ animation-delay: 0.72s; }
.footer-area.fade-up{ animation-delay: 0.85s; }

@keyframes fadeUp{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce){
  .fade-up{ animation: none; opacity: 1; transform: none; }
  .ribbon-left, .ribbon-right{ animation: none; }
}

/* ===== Modal ===== */
.modal-content{
  border-radius: 20px;
  border: none;
  background: var(--ivory-1);
  padding: 10px;
}
.modal-body{
  padding: 36px 32px;
  position: relative;
  text-align: center;
}
.modal-title-text{
  font-family: 'DM Serif Display', serif;
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.modal-subtext{
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 26px;
  font-weight: 300;
}
.email-input{
  width: 100%;
  padding: 14px 18px;
  border-radius: 40px;
  border: 1.3px solid var(--ivory-3);
  margin-bottom: 16px;
  font-size: 0.95rem;
  background: #fff;
}
.email-input:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,79,0.15);
}
.btn-close{
  position: absolute;
  top: 18px;
  right: 18px;
}
.success-icon{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9ac66 0%, #b8873c 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 18px auto;
}

/* ===== Responsive scaling ===== */
@media (max-width: 1600px){
  .headline{ font-size: 4.2rem; }
}

@media (max-width: 1366px){
  .headline{ font-size: 3.7rem; }
  .main-content{ top: 22vh; }
}

@media (max-width: 1024px){
  .headline{ font-size: 3rem; }
  .subtext{ font-size: 0.95rem; }
  .main-content{ top: 20vh; max-width: 90%; }
  .ribbon-left{ width: 48vw; opacity: 0.5; }
  .ribbon-right{ width: 44vw; opacity: 0.5; }
}

@media (max-width: 767px){
  html, body{ overflow: auto; }
  .hero{ height: 100svh; min-height: 100svh; padding-bottom: 16px; }
  .topbar{ padding: 22px 20px 0 20px; }
  .logo{ height: 40px; }
  .btn-stay-connected{ font-size: 0.78rem; padding: 8px 16px; }
  .main-content{ top: 15vh; }
  .eyebrow{ font-size: 0.65rem; letter-spacing: 0.22em; }
  .headline{ font-size: 2.1rem; }
  .subtext{ font-size: 0.85rem; margin-bottom: 22px; }
  .subtext br{ display: none; }
  .btn-cta{ min-width: 190px; height: 48px; font-size: 0.9rem; }
  .diamond-divider{ margin: 10px auto; }
  .footer-area{ bottom: 1.6vh; }
  .social-icons{ gap: 18px; }
  .ribbon-left{ width: 68vw; bottom: -8vh; opacity: 0.4; }
  .ribbon-right{ width: 60vw; top: auto; bottom: -10vh; opacity: 0.35; }
}
