/* My Vegas Love Story — landing page styles (plain CSS, no build step) */

:root {
  /* Locked MVLS palette (sampled from the neon-heart logo) */
  --bg: #0a0a0a;
  --ink: #f3ece2;
  --ink-soft: #b3a89a;
  --accent: #ed9b3e;
  --glow: #ffd27a;
  --deep: #bb540e;
  --ink-rgb: 243, 236, 226;
  --accent-rgb: 237, 155, 62;
  --font-display: "Playfair Display", Georgia, serif;
  --font-hand: "Caveat", cursive;
  --font-body: "Mulish", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); min-height: 100%; }
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, svg, video { display: block; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.font-display { font-family: var(--font-display); }
.font-hand { font-family: var(--font-hand); }

/* film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- background film + scrim ---------- */
.bg-video {
  position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 38%;
}
.bg-scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(6,6,6,0.94) 0%, rgba(6,6,6,0.78) 32%, rgba(6,6,6,0.46) 60%, rgba(6,6,6,0.6) 100%),
    linear-gradient(0deg, rgba(6,6,6,0.78) 0%, rgba(6,6,6,0.18) 36%, rgba(6,6,6,0.42) 100%);
}
.hero-copy { text-shadow: 0 1px 14px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.6); }

/* ---------- page frame ---------- */
.page {
  position: relative; z-index: 10; margin: 0 auto; width: 100%; max-width: 1280px;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  padding: clamp(1.8rem,5vh,3rem) clamp(1.4rem,4.4vw,3.4rem);
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar .logo { height: clamp(20px,2.6vw,30px); width: auto; }
.phone-link {
  display: flex; align-items: center; gap: 0.5rem; min-height: 28px; padding: 0.375rem 0;
  font-size: clamp(0.74rem,1.4vw,0.9rem); color: rgba(var(--ink-rgb),0.95);
  font-variant-numeric: tabular-nums; transition: color .15s ease;
}
.phone-link:hover { color: var(--glow); }
.phone-link svg { color: var(--accent); }

.hero {
  flex: 1; display: grid; grid-template-columns: 1fr; align-items: center;
  gap: clamp(1.2rem,3vw,3.2rem); padding: clamp(1rem,3vh,2rem) 0;
}
.hero-left { display: flex; flex-direction: column; }
.kicker { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.42em; }
.kicker-top { font-size: clamp(0.56rem,1.3vw,0.66rem); color: rgba(var(--accent-rgb),0.85); }
.headline {
  font-family: var(--font-display); font-weight: 600; line-height: 0.98; letter-spacing: -0.012em;
  margin-top: clamp(0.7rem,1.8vh,1.3rem); font-size: clamp(2.3rem,9vw,5rem); color: var(--ink);
}
.headline span { display: block; }
.headline em {
  font-style: italic; color: var(--accent); padding-right: 0.04em;
  text-shadow: 0 0 16px rgba(237,155,62,0.5), 0 0 38px rgba(237,155,62,0.28);
}
.lede {
  margin-top: clamp(0.8rem,1.8vh,1.4rem); max-width: 32rem; line-height: 1.625;
  font-size: clamp(0.95rem,1.5vw,1.06rem); color: rgba(var(--ink-rgb),0.82);
}
.btn-gold {
  background: linear-gradient(to bottom, var(--glow), var(--accent));
  color: #2a1505; font-weight: 600; transition: filter .15s ease, transform .1s ease;
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-gold:active { transform: scale(0.98); }
.cta-mobile {
  margin-top: 1.75rem; width: 100%; border-radius: 9999px; padding: 1rem 2rem; font-size: 1rem;
  box-shadow: 0 12px 38px -10px rgba(237,155,62,0.65);
}
.kicker-bottom {
  margin-top: clamp(0.9rem,2.4vh,1.8rem); font-size: clamp(0.54rem,1.1vw,0.64rem);
  color: rgba(var(--ink-rgb),0.6);
}
.form-card { display: none; width: 100%; border-radius: 1rem; padding: clamp(1rem,2vw,1.75rem); }

.site-footer {
  margin-top: clamp(0.8rem,2vh,1.4rem); display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.25rem 1.25rem;
  font-size: clamp(0.62rem,1.1vw,0.74rem); color: rgba(var(--ink-rgb),0.65);
}
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem clamp(0.9rem,2vw,1.6rem); }
.site-footer a, .site-footer > span { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 28px; min-width: 28px; transition: color .15s ease; }
.site-footer a:hover { color: var(--ink); }
.site-footer a.ig:hover { color: var(--glow); }
.long { display: none; }

@media (min-width: 640px) {
  .long { display: inline; }
  .short { display: none; }
}
@media (min-width: 768px) {
  .hero { grid-template-columns: 1fr 0.92fr; }
  .cta-mobile { display: none; }
  .form-card { display: block; }
}

/* ---------- glass card ---------- */
.glass {
  background: linear-gradient(180deg, rgba(16,12,9,0.9) 0%, rgba(9,7,5,0.95) 100%);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(237,155,62,0.24);
  box-shadow: 0 30px 80px -28px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ---------- form ---------- */
.form-title { font-family: var(--font-display); font-size: clamp(1.25rem,2.1vw,1.6rem); line-height: 1.25; color: var(--ink); }
.form-sub { margin-top: 0.375rem; font-size: clamp(0.8rem,1.2vw,0.85rem); line-height: 1.375; color: rgba(var(--ink-rgb),0.65); }
.inquiry { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; position: relative; }
.hp { position: absolute; left: -9999px; top: 0; opacity: 0; }
.field {
  display: block; width: 100%; border-radius: 0.7rem;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.32);
  padding: clamp(0.5rem,1.4vw,0.62rem) clamp(0.62rem,1.6vw,0.8rem);
  color: var(--ink); font-size: clamp(0.8rem,1.3vw,0.95rem);
  transition: border-color .18s ease, background .18s ease;
}
textarea.field { resize: none; }
/* iPhone Safari zooms into any field under 16px — keep phone fields at 16px so typing stays smooth */
@media (max-width: 767px) { .field { font-size: 16px; padding: 0.7rem 0.85rem; } }
.field::placeholder { color: rgba(var(--ink-rgb),0.5); }
.field:focus { border-color: rgba(237,155,62,0.6); background: rgba(0,0,0,0.42); outline: none; }
.form-note { font-size: clamp(0.66rem,1.1vw,0.72rem); line-height: 1.375; color: rgba(var(--ink-rgb),0.55); }
.form-error { font-size: 0.8rem; color: var(--glow); }
.submit {
  margin-top: 0.25rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.75rem; padding: 0.875rem 1.25rem; font-size: 1rem;
  box-shadow: 0 10px 30px -12px rgba(237,155,62,0.7);
}
.submit:disabled { opacity: 0.7; cursor: default; }
.spinner { width: 1rem; height: 1rem; border-radius: 9999px; border: 2px solid rgba(42,21,5,0.3); border-top-color: #2a1505; animation: spin .9s linear infinite; }

.sent { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(1rem,4vh,2.5rem) 0; }
.sent img { height: 1.75rem; width: auto; opacity: 0.9; }
.sent .font-hand { margin-top: 1.25rem; font-size: clamp(1.2rem,2.2vw,1.6rem); color: var(--glow); }
.sent .msg { margin-top: 0.5rem; max-width: 18rem; font-size: clamp(0.85rem,1.4vw,0.92rem); line-height: 1.625; color: rgba(var(--ink-rgb),0.7); }
.sent-close {
  margin-top: 1.5rem; border-radius: 9999px; border: 1px solid rgba(var(--accent-rgb),0.5);
  background: rgba(var(--accent-rgb),0.08); padding: 0.75rem 2.25rem; font-size: 0.875rem; font-weight: 500;
}

:where(a, button, input, textarea):focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; border-radius: 6px; }

/* ---------- date picker ---------- */
.dp { position: relative; }
.dp-btn { display: flex; align-items: center; justify-content: space-between; text-align: left; }
.dp-btn .dp-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(var(--ink-rgb),0.5); }
.dp-btn .dp-label.has { color: var(--ink); }
.dp-btn svg { flex-shrink: 0; color: rgba(var(--accent-rgb),0.8); }
.dp-pop {
  position: absolute; right: 0; z-index: 30; margin-top: 0.5rem; width: min(18rem, calc(100vw - 2rem));
  border-radius: 0.75rem; padding: 0.75rem;
  background: linear-gradient(180deg, rgba(20,15,11,0.98) 0%, rgba(12,9,7,0.99) 100%);
  border: 1px solid rgba(237,155,62,0.26);
  box-shadow: 0 26px 64px -20px rgba(0,0,0,0.88), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.dp-head { display: flex; align-items: center; justify-content: space-between; padding: 0 0.25rem 0.5rem; }
.dp-month { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); }
.dp-nav {
  width: 1.9rem; height: 1.9rem; border-radius: 0.5rem; color: var(--ink); font-size: 1.25rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.dp-nav:hover:not(:disabled) { background: rgba(255,255,255,0.08); }
.dp-nav:disabled { opacity: 0.3; cursor: default; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.125rem; padding: 0 0.25rem; }
.dp-dow { padding: 0.25rem 0; text-align: center; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(var(--ink-rgb),0.4); }
.dp-day { width: 100%; height: 2rem; border-radius: 0.375rem; font-size: 0.8rem; color: rgba(var(--ink-rgb),0.85); transition: background .15s ease; }
.dp-day:hover:not(:disabled) { background: rgba(255,255,255,0.08); }
.dp-day:disabled { color: rgba(var(--ink-rgb),0.2); cursor: default; }
.dp-day.in-range { background: rgba(var(--accent-rgb),0.18); }
.dp-day.edge, .dp-day.edge:hover { background: var(--accent); color: #2a1505; font-weight: 600; }
.dp-foot { margin-top: 0.5rem; display: flex; align-items: center; justify-content: space-between; padding: 0 0.25rem; }
.dp-clear { font-size: 0.72rem; color: rgba(var(--ink-rgb),0.5); }
.dp-clear:hover { color: var(--ink); }
.dp-done { border-radius: 0.375rem; background: rgba(var(--accent-rgb),0.15); padding: 0.25rem 0.75rem; font-size: 0.72rem; font-weight: 500; color: var(--accent); }
.dp-done:hover { background: rgba(var(--accent-rgb),0.25); }

/* ---------- mobile sheet ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .25s ease both;
}
.sheet {
  position: relative; width: 100%; max-height: 92vh; max-height: 92dvh; overflow-y: auto;
  border-radius: 1.5rem 1.5rem 0 0; padding: 1.5rem 1.5rem 2rem;
  animation: sheetUp .38s cubic-bezier(0.22,1,0.36,1) both;
}
.sheet-close {
  position: absolute; right: 1rem; top: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1); color: rgba(var(--ink-rgb),0.6);
  display: flex; align-items: center; justify-content: center; transition: color .15s ease;
}
.sheet-close:hover { color: var(--ink); }
.sheet-handle { margin: 0 auto 1rem; height: 0.25rem; width: 2.5rem; border-radius: 9999px; background: rgba(255,255,255,0.15); }

/* ---------- motion ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.rise-1 { animation: riseIn .7s cubic-bezier(0.22,1,0.36,1) .05s both; }
.rise-2 { animation: riseIn .7s cubic-bezier(0.22,1,0.36,1) .16s both; }
.rise-3 { animation: riseIn .7s cubic-bezier(0.22,1,0.36,1) .28s both; }
.rise-4 { animation: riseIn .7s cubic-bezier(0.22,1,0.36,1) .4s both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(22px) scale(0.99); } to { opacity: 1; transform: none; } }
.card-in { animation: cardIn .8s cubic-bezier(0.22,1,0.36,1) .3s both; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .rise-1, .rise-2, .rise-3, .rise-4, .card-in, .spinner, .overlay, .sheet { animation: none !important; }
}

/* ---------- legal pages ---------- */
.legal-page {
  position: relative; z-index: 10; margin: 0 auto; width: 100%; max-width: 760px;
  padding: clamp(2.4rem,7vh,4.5rem) clamp(1.4rem,5vw,2.4rem);
}
.legal-back { display: inline-flex; align-items: center; min-height: 28px; font-size: 0.62rem; color: rgba(var(--accent-rgb),0.9); transition: color .15s ease; }
.legal-back:hover { color: var(--glow); }
.legal-page h1 { font-family: var(--font-display); margin-top: 1.5rem; font-size: clamp(1.9rem,5vw,2.8rem); line-height: 1.25; color: var(--ink); font-weight: 400; }
.legal-updated { margin-top: 0.5rem; font-size: 0.8rem; color: rgba(var(--ink-rgb),0.6); }
.legal { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.75rem; font-size: 0.96rem; line-height: 1.625; color: rgba(var(--ink-rgb),0.78); }
.legal h2 { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); font-weight: 400; }
.legal .sec-body { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.legal ul { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.375rem; }
.legal strong { color: var(--ink); }
.legal a { display: inline-block; padding-block: 3px; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-footer { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.74rem; color: rgba(var(--ink-rgb),0.65); }
.legal-footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.25rem; }
.legal-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; }
.legal-footer a, .legal-footer .row > span { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 28px; transition: color .15s ease; }
.legal-footer a:hover { color: var(--glow); }
