/* ============================================================
   Look But Don't Touch — styles
   ============================================================ */

:root {
  --neon: #d4ff00;
  --bg: #0a0a0a;
  --ink: #f4f4ee;
  --muted: #8a8a82;
  --dim: #7a7a72;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #f2f2ec;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- Keyframes ---- */
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderOut  { to { opacity: 0; visibility: hidden; } }
@keyframes slowzoom   { from { transform: scale(1.04); } to { transform: scale(1.13); } }
@keyframes cueBob     { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
@keyframes riseIn     { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Loading screen ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  animation: loaderOut 0.5s ease 1.7s forwards;
}
.loader__spin {
  width: 32px;
  height: 32px;
  border: 3px solid var(--neon);
  border-top-color: transparent;
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}
.loader__label {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  letter-spacing: 0.55em;
  font-size: 11px;
  color: var(--neon);
  padding-left: 0.55em;
}

/* ---- Scroll container ---- */
.scroller {
  position: relative;
  background: var(--bg);
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.hero__photo {
  position: absolute;
  inset: 0;
  background: var(--bg);
  background-size: cover;
  animation: slowzoom 26s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  display: block;
  cursor: crosshair;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, 0);
  z-index: 5;
  cursor: pointer;
  color: rgba(212, 255, 0, 0.72);
  font-size: 20px;
  line-height: 1;
  animation: cueBob 1.8s ease-in-out infinite;
  padding: 8px 16px;
  -webkit-tap-highlight-color: transparent;
}

/* ---- Content ---- */
.content {
  position: relative;
  z-index: 2;
  background: var(--bg);
}

/* ---- Countdown ---- */
.countdown {
  padding: 84px 24px 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: 760px;
  margin: 0 auto;
}
.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(212, 255, 0, 0.7);
  margin-bottom: 30px;
}
.eyebrow--tight { margin-bottom: 8px; }
.host-line {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 30px;
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.count { text-align: center; }
.count__num {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(34px, 12vw, 60px);
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count__num--neon { color: var(--neon); }
.count__label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--dim);
  margin-top: 12px;
}

/* ---- Section titles ---- */
.display-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 11vw, 76px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0 0 48px;
}
.display-title--tight { margin-bottom: 14px; }

/* ---- The Weekend timeline ---- */
.weekend {
  padding: 60px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}
.timeline { display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 24px 1fr; gap: 18px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--neon);
  margin-top: 5px;
  box-shadow: 0 0 14px rgba(212, 255, 0, 0.5);
  flex: none;
}
.tl-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  margin: 6px 0;
}
.tl-body { padding-bottom: 40px; }
.tl-body--last { padding-bottom: 0; }
.tl-time {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--neon);
}
.tl-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  margin-top: 9px;
}
.tl-place {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
}
.tl-place a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 255, 0, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tl-place a:hover { color: var(--neon); border-bottom-color: var(--neon); }
.tl-desc {
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #a4a49c;
  margin: 12px 0 0;
  max-width: 46ch;
}
.tl-onme {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--neon);
  margin: 10px 0 0;
}

/* ---- RSVP ---- */
.rsvp {
  padding: 40px 24px 90px;
  max-width: 560px;
  margin: 0 auto;
}
.rsvp-note {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin: 0 0 34px;
}
.form { display: flex; flex-direction: column; gap: 30px; }
.field-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--dim);
  display: block;
  margin-bottom: 12px;
}
.text-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  padding: 12px 2px;
  outline: none;
  transition: border-color 0.2s ease;
}
.text-input:focus { border-bottom-color: var(--neon); }

.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.option.selected {
  border-color: var(--neon);
  background: rgba(212, 255, 0, 0.08);
}
.option__label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #e8e8e2;
  transition: color 0.2s ease;
}
.option.selected .option__label { color: var(--neon); }
.option__sub {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--dim);
  transition: color 0.2s ease;
}
.option.selected .option__sub { color: rgba(212, 255, 0, 0.6); }

.counts { display: flex; gap: 10px; }
.count-btn {
  flex: 1;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #e8e8e2;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.count-btn.selected {
  border-color: var(--neon);
  background: var(--neon);
  color: #000;
}

.submit-btn {
  margin-top: 8px;
  width: 100%;
  background: var(--neon);
  color: #000;
  border: none;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.18em;
  padding: 19px;
  border-radius: 3px;
  cursor: pointer;
  text-transform: uppercase;
}

/* ---- Honeypot (visually hidden, kept in DOM to catch bots) ---- */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---- RSVP error ---- */
.rsvp-error {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #ff5a5a;
  margin: 0;
}

/* ---- Confirmation ---- */
.confirm { padding: 30px 0 10px; animation: riseIn 0.6s ease both; }
.confirm__head {
  font-family: 'Anton', sans-serif;
  font-size: clamp(44px, 13vw, 80px);
  line-height: 0.92;
  color: var(--neon);
  text-transform: uppercase;
}
.confirm__body {
  font-family: 'Archivo', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #a4a49c;
  margin: 24px 0 0;
  max-width: 36ch;
}
.cal-btn {
  display: inline-block;
  margin-top: 26px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon);
  text-decoration: none;
  border: 1px solid var(--neon);
  border-radius: 3px;
  padding: 13px 22px;
  transition: background 0.2s ease, color 0.2s ease;
}
.cal-btn:hover { background: var(--neon); color: #000; }

/* ---- Footer ---- */
.footer {
  padding: 46px 24px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.footer__text {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.42em;
  color: #55554f;
}

/* ---- Utility ---- */
.hidden { display: none !important; }

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