/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

/* ── VARIABLES ── */
:root {
  --navy:   #0D1B2A;
  --teal:   #59C0D2;
  --orange: #FF9500;
  --cream:  #F2EDE6;
  --green:  #5DD27A;
  --red:    #CF4350;
}

html { scroll-behavior:smooth; scrollbar-gutter: stable; overflow-y: scroll; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}

/* Hide custom cursor and restore default on touch devices */
@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
}

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 200;
}

/* ── AMBIENT GRADIENT ── */
.bg-grad {
  position: fixed; inset: -50%;
  background: conic-gradient(
    from 200deg at 70% 60%,
    rgba(62,207,207,0.08) 0deg, transparent 60deg,
    rgba(232,146,58,0.06) 160deg, transparent 220deg,
    rgba(62,207,207,0.06) 360deg
  );
  animation: slowSpin 40s linear infinite;
  pointer-events: none;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  padding: 20px 40px;
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(to bottom, rgba(13,27,42,0.97) 60%, transparent);
  opacity: 0; animation: fadeIn 0.8s ease forwards 0.2s;
}
.nav-logo { width: 34px; height: 34px; object-fit: contain; }
.nav-name  { font-size: 0.92rem; font-weight: 400; letter-spacing: 0.05em; }
.nav-name .dot { color: var(--teal); }
.nav-name .dom { color: rgba(242,237,230,0.4); font-weight: 300; }

/* ── MAIN ── */
main {
  position: relative; z-index: 10;
  min-height: 100vh; width: 100%;
  padding: 120px 32px 100px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}

/* ── HEADLINE ── */
.headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 14vw, 11.5rem);
  font-weight: 300; line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.l1 {
  display: block;
  opacity: 0; transform: translateY(32px);
  animation: riseUp 1s cubic-bezier(0.16,1,0.3,1) forwards 0.5s;
}
.l2 {
  display: block; font-style: italic;
  opacity: 0; transform: translateY(32px);
  animation: riseUp 1s cubic-bezier(0.16,1,0.3,1) forwards 0.75s;
}
.l3 {
  display: block; font-size: 0.42em;
  font-style: normal; font-weight: 300;
  letter-spacing: 0.04em; color: var(--orange);
  margin-top: 18px;
  opacity: 0; transform: translateY(24px);
  animation: riseUp 1s cubic-bezier(0.16,1,0.3,1) forwards 1s;
}

/* ── STICKER STRIP ── */
.strip-wrap {
  width: 100vw; overflow: visible; position: relative;
  padding: 80px 0 18px; margin-left: -32px;
  cursor: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  z-index: 50;
}
.strip-wrap.paused .strip-track { animation-play-state: paused; }
.strip-track {
  display: flex; gap: 20px;
  width: max-content;
  animation: scrollTrack 34s linear infinite;
  padding: 0 10px;
  overflow: visible;
}
@keyframes scrollTrack {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.si {
  position: relative; display: flex;
  flex-direction: column; align-items: center;
  flex-shrink: 0; cursor: none;
}
.si-img {
  width: 88px; height: 88px;
  display: flex; align-items: center; justify-content: center;
}
.si-img img {
  width: 88px; height: 88px; object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.45));
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.si:hover .si-img img { transform: scale(1.2) rotate(-5deg); }

/* Tooltip pill — sits ABOVE the image, appears on hover */
.si-pill {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.94);
  background: rgba(13,27,42,0.96);
  border: 1px solid rgba(62,207,207,0.3);
  border-radius: 12px; padding: 9px 14px;
  display: flex; flex-direction: column; gap: 3px;
  min-width: 150px; white-space: nowrap;
  pointer-events: none; opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 999;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}
.si:hover .si-pill {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px) scale(1);
}
.si-pill b    { font-size: 0.76rem; font-weight: 500; color: var(--cream); }
.si-pill span { font-size: 0.66rem; font-weight: 300; color: var(--teal); }

.strip-hint {
  position: absolute; bottom: 4px; right: 16px;
  font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(242,237,230,0.15); pointer-events: none; transition: color 0.3s;
}
.strip-wrap.paused .strip-hint { color: rgba(62,207,207,0.4); }
.strip-wrap.paused .strip-hint::after { content: ' · paused'; }

/* ── DIVIDER ── */
.divider {
  width: min(480px, 85vw); height: 1px;
  background: linear-gradient(to right, transparent, rgba(242,237,230,0.12), transparent);
  margin: 48px auto;
  opacity: 0; animation: fadeIn 1s ease forwards 1.1s;
}

/* ── BODY COPY ── */
.body-copy {
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  font-weight: 300; line-height: 1.9;
  color: rgba(242,237,230,0.5);
  max-width: 400px; margin-bottom: 52px;
  opacity: 0; animation: fadeIn 1s ease forwards 1.2s;
}
.body-copy strong { color: rgba(242,237,230,0.85); font-weight: 400; }

/* ── CTA LABEL ── */
.cta-label {
  font-size: 0.80rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px;
  opacity: 0; animation: fadeIn 0.8s ease forwards 1.4s;
}

/* ── RESERVE FLOW ── */
.reserve-wrap {
  width: min(440px, 88vw);
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; animation: fadeIn 0.8s ease forwards 1.6s;
}

/* Pill shell */
.h-pill {
  display: flex; align-items: center; width: 100%;
  background: rgba(242,237,230,0.95); border-radius: 999px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.32); overflow: hidden;
  transition: box-shadow 0.3s;
}
.h-pill:focus-within {
  box-shadow: 0 8px 36px rgba(0,0,0,0.32), 0 0 0 2px rgba(62,207,207,0.4);
}

/* @ logo */
.h-at {
  width: 22px; height: 22px; object-fit: contain;
  margin-left: 18px; flex-shrink: 0;
  filter: brightness(0) saturate(0) opacity(0.28);
  transition: filter 0.2s ease;
}
.h-pill.typing .h-at { filter: brightness(0) invert(0.4) sepia(1) saturate(3) hue-rotate(155deg) opacity(0.8); }

/* Inputs */
.h-input {
  flex: 1; background: transparent; border: none;
  padding: 16px 8px; outline: none; min-width: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 400; color: #1a1a1a;
}
.h-input::placeholder { color: rgba(0,0,0,0.25); font-weight: 300; }
.h-email { padding-left: 20px; }

/* Availability badge */
.h-avail {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.63rem; font-weight: 500; letter-spacing: 0.05em;
  padding: 0 8px 0 4px; flex-shrink: 0; white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width 0.35s ease, opacity 0.25s ease;
}
.h-avail.show { max-width: 110px; opacity: 1; }
.h-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.h-avail.ok { color: var(--green); }
.h-avail.no { color: var(--red); }

/* Buttons */
.h-btn {
  background: var(--orange); color: var(--cream); border: none;
  padding: 12px 22px; margin: 5px; flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  white-space: nowrap; border-radius: 999px; cursor: none;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
}
.h-btn:hover:not(:disabled) { background: #d4822e; transform: scale(1.02); }
.h-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.h-btn.teal { background: var(--teal); color: var(--navy); }
.h-btn.teal:hover { background: #4ddede; }

/* Sub-text */
.h-sub {
  margin-top: 12px; min-height: 1.3em;
  font-size: 0.82rem; font-weight: 400;
  line-height: 1.6; text-align: center;
  color: rgba(242,237,230,0.55);
  transition: color 0.25s;
}
.h-sub.good { color: var(--green); }
.h-sub.bad  { color: var(--red); }
.h-sub.info { color: var(--teal); }
.h-sub.info strong { color: var(--teal); font-weight: 500; }

/* Step 2 */
.step2 { width: 100%; display: none; flex-direction: column; align-items: center; }
.step2.show { display: flex; animation: fadeUp 0.45s cubic-bezier(0.16,1,0.3,1) forwards; }
.step2 .h-pill { margin-top: 12px; }

/* Confirmed badge */
.h-confirmed {
  display: none; align-items: center; gap: 12px;
  padding: 15px 28px;
  border: 1px solid rgba(62,207,207,0.3); border-radius: 999px;
  background: rgba(62,207,207,0.07);
  max-width: 100%;
  box-sizing: border-box;
}
.h-confirmed.show { display: flex; animation: fadeUp 0.45s cubic-bezier(0.16,1,0.3,1) forwards; }
.h-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.h-confirmed span { font-size: 0.78rem; font-weight: 300; color: var(--teal); letter-spacing: 0.03em; }
.h-confirmed strong { color: var(--teal); font-weight: 500; }

/* ── STORE BUTTONS ── */
.store-buttons {
  display: flex; gap: 14px; margin-top: 32px;
  flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeIn 0.8s ease forwards 1.9s;
}
.store-btn {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid rgba(242,237,230,0.18); border-radius: 999px;
  padding: 11px 22px; color: var(--cream); text-decoration: none;
  font-size: 0.82rem; font-weight: 400; cursor: none;
  transition: border-color 0.2s, background 0.2s;
}
.store-btn:hover { border-color: rgba(242,237,230,0.4); background: rgba(242,237,230,0.05); }

/* ── BETA NOTE ── */
.beta-note {
  margin-top: 32px; font-size: 0.75rem; font-weight: 300;
  line-height: 1.9; color: rgba(242,237,230,0.25); max-width: 360px;
  opacity: 0; animation: fadeIn 0.8s ease forwards 2.1s;
}

/* ── FOOTER ── */
.site-footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(6,12,18,0.97); padding: 16px 40px;
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  z-index: 50; border-top: 1px solid rgba(242,237,230,0.05);
  opacity: 0; animation: fadeIn 1s ease forwards 2.4s;
}
.site-footer a {
  font-size: 0.7rem; font-weight: 300; letter-spacing: 0.07em;
  color: rgba(242,237,230,0.28); text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover { color: rgba(242,237,230,0.65); }

/* ── KEYFRAMES ── */
@keyframes riseUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SHAKE ANIMATION ── */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
.h-pill.shake { animation: shake 0.45s ease; }

/* ── MOBILE PEEK (tap to reveal event details) ── */
@media (hover: none) {
  .si.peek-active .si-pill {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px) scale(1);
  }
  .si.peek-active .si-img img {
    transform: scale(1.2) rotate(-5deg);
  }
}

/* ── IMAGE PROTECTION — disable save / long-press ── */
.si-img img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.si-img { position: relative; }
.si-img::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .nav   { padding: 16px 20px; }
  .headline { font-size: clamp(3.8rem, 18vw, 6rem); margin-bottom: 36px; }
  main   { padding: 100px 24px 100px; }
  .site-footer { gap: 16px; padding: 14px 20px; }
}
