/* Home inn Holiday Homes — coming soon */
:root {
  --purple: #530152;
  --purple-deep: #2a012a;
  --ink: #3a1238;
  --muted: #5a3a58;
  --card: rgba(255, 248, 252, 0.94);
  --white: #fffaf8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: Outfit, "Segoe UI", "Avenir Next", Calibri, sans-serif;
  color: var(--ink);
  background: #140814;
}

.skyline,
.veil {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.skyline {
  background: #0e6a86 url("/assets/dubai-marina.webp") no-repeat center 42%;
  background-size: cover;
}

.veil {
  background:
    radial-gradient(ellipse at 50% 42%, rgba(16, 4, 22, 0.08), rgba(16, 4, 22, 0.42) 70%),
    linear-gradient(180deg, rgba(16, 4, 22, 0.22) 0%, rgba(16, 4, 22, 0.4) 48%, rgba(16, 4, 22, 0.7) 100%);
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem 1.5rem;
}

.card {
  width: min(38rem, 100%);
  padding: 2.6rem 2rem 2.4rem;
  text-align: center;
  background: var(--card);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 80px rgba(10, 2, 14, 0.35);
  animation: rise 0.9s ease both;
}

.brand {
  margin: 0 0 1.35rem;
  font-size: 0;
}

.logo {
  display: block;
  width: min(280px, 72vw);
  height: auto;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
}

.headline {
  margin: 0;
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--purple-deep);
}

.rule {
  width: 4.5rem;
  height: 3px;
  margin: 1.15rem auto;
  border-radius: 99px;
  background: linear-gradient(90deg, #f06292 0%, #ff8a3d 38%, #c06bff 72%, #4dc4ff 100%);
}

.lead {
  margin: 0 auto;
  max-width: 28ch;
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--muted);
}

footer {
  position: relative;
  z-index: 1;
  padding: 0.9rem 1.25rem max(1.25rem, env(safe-area-inset-bottom));
  text-align: center;
  color: rgba(255, 250, 248, 0.86);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

footer p {
  margin: 0.15rem 0;
}

footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.credit {
  opacity: 0.82;
  font-weight: 300;
}

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

@media (max-width: 600px) {
  main {
    padding: 2.4rem 1rem 1.25rem;
  }

  .card {
    padding: 2rem 1.25rem 1.85rem;
    border-radius: 22px;
  }

  .logo {
    width: min(220px, 78vw);
  }

  .lead {
    font-size: 1rem;
  }
}

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

.contact {
  margin: 1.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
}

.contact a {
  color: var(--purple);
  text-decoration: none;
}

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Remove this rule, or drop the is-hidden class in index.html, once inbound mail works. */
.contact.is-hidden {
  display: none;
}
