:root {
  --overlay-dark: #2c2a26;
  --overlay-tint: #506153;
  --overlay-tint-rgb: 80, 97, 83;
  --text-cream: #f5f2ea;
  --text-gold: #c8a97a;
  --text-muted: rgba(245, 242, 234, 0.82);
  --input-bg: #ece7db;
  --input-text: #3a3630;
  --button-bg: #bcb09a;
  --button-text: #2c2a26;
  --accent-gold: #b7ae95;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-cream);
  background: var(--overlay-dark);
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.coming-soon {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
}

.coming-soon__bg {
  position: absolute;
  inset: 0;
  background: url("assets/caption.jpg") right center / cover no-repeat;
  z-index: 0;
}

.coming-soon__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(100%, 520px);
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(
    90deg,
    rgba(var(--overlay-tint-rgb), 0.98) 0%,
    rgba(var(--overlay-tint-rgb), 0.96) 72%,
    rgba(var(--overlay-tint-rgb), 0.72) 88%,
    rgba(var(--overlay-tint-rgb), 0) 100%
  );
}

.coming-soon__content {
  width: 100%;
  max-width: 340px;
}

.coming-soon__header {
  margin-bottom: 0.25rem;
}

.coming-soon__opening {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(2.15rem, 6.5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-gold);
}

.coming-soon__location {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6.5vw, 2.9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--text-cream);
}

.coming-soon__subtitle {
  margin: 0.75rem 0 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.coming-soon__divider {
  width: 100%;
  max-width: 200px;
  height: 1px;
  margin: 1.25rem 0 1.1rem;
  border: none;
  background: #fff;
  opacity: 0.65;
}

.coming-soon__title {
  margin: 0 0 0.5rem;
  line-height: 0;
}

.coming-soon__logo {
  display: block;
  width: clamp(12rem, 55vw, 20rem);
  height: auto;
}

.coming-soon__tagline {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.coming-soon__social {
  display: flex;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.coming-soon__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  color: var(--text-muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.coming-soon__social a:hover {
  color: var(--text-cream);
}

.coming-soon__social svg {
  width: 1.05rem;
  height: 1.05rem;
}

.coming-soon__cta-text {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-cream);
}

.coming-soon__form-label {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
}

.waitlist-form {
  display: grid;
  gap: 0.65rem;
}

.waitlist-field {
  position: relative;
  display: block;
}

.waitlist-field__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--input-text);
  opacity: 0.55;
  pointer-events: none;
}

.waitlist-field__icon svg {
  width: 100%;
  height: 100%;
}

.waitlist-field input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--input-text);
  background: var(--input-bg);
  border: none;
  border-radius: 999px;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.waitlist-field input::placeholder {
  color: rgba(58, 54, 48, 0.55);
}

.waitlist-field input:focus {
  box-shadow: 0 0 0 2px rgba(183, 174, 149, 0.55);
}

.waitlist-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.15rem;
  cursor: pointer;
}

.waitlist-consent input {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.waitlist-consent input:disabled {
  cursor: not-allowed;
}

.waitlist-consent:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.55;
}

.waitlist-consent:has(input:disabled) span {
  color: rgba(245, 242, 234, 0.55);
}

.waitlist-consent span {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-muted);
}

.waitlist-submit {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--button-text);
  background: var(--button-bg);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.waitlist-submit:hover {
  background: #c9bea8;
}

.waitlist-submit:active {
  transform: scale(0.98);
}

.waitlist-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.waitlist-submit:disabled:hover {
  background: var(--button-bg);
}

.waitlist-status {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: center;
}

.waitlist-status.is-success {
  color: #a8d4b0;
}

.waitlist-status.is-error {
  color: #e8a8a8;
}

@media (min-width: 768px) {
  .coming-soon__overlay {
    width: min(44%, 520px);
    padding-left: clamp(3.5rem, 7vw, 6rem);
  }
}

@media (max-width: 767px) {
  .coming-soon__bg {
    background-position: 70% center;
  }

  .coming-soon__overlay {
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(var(--overlay-tint-rgb), 0.88) 0%,
      rgba(var(--overlay-tint-rgb), 0.82) 70%,
      rgba(var(--overlay-tint-rgb), 0.72) 100%
    );
    justify-content: center;
  }

  .coming-soon__content {
    max-width: 380px;
    margin-inline: auto;
  }
}

.bg-music-player {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.music-toggle {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--text-cream);
  background: rgba(var(--overlay-tint-rgb), 0.72);
  border: 1px solid rgba(245, 242, 234, 0.18);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.music-toggle:hover {
  background: rgba(var(--overlay-tint-rgb), 0.92);
  color: var(--text-gold);
}

.music-toggle:active {
  transform: scale(0.96);
}

.music-toggle__icon {
  width: 1.2rem;
  height: 1.2rem;
}

.music-toggle__icon--off {
  display: none;
}

.music-toggle.is-muted .music-toggle__icon--on {
  display: none;
}

.music-toggle.is-muted .music-toggle__icon--off {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .waitlist-submit,
  .music-toggle {
    transition: none;
  }
}
