:root {
  color-scheme: dark;
  --black: #050505;
  --white: #f7f7f5;
  --muted: rgba(255, 255, 255, .58);
  --line: rgba(255, 255, 255, .16);
  --glass: rgba(9, 9, 10, .56);
  --glass-strong: rgba(6, 6, 7, .78);
  --radius: 30px;
  --wide: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --mono: "Courier New", ui-monospace, monospace;
  --body: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; background: var(--black); }
body { margin: 0; min-width: 320px; color: var(--white); background: var(--black); font-family: var(--body); overflow-x: hidden; }
button, input { font: inherit; }
a { color: inherit; }

.site-background,
.site-noise { position: fixed; inset: 0; pointer-events: none; }
.site-background {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.58)),
    url("../assets/event-bg.svg") center / cover no-repeat;
  filter: grayscale(1) contrast(1.14) saturate(.55);
  transform: scale(1.03);
}
.site-background::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,.12), transparent 24%),
    radial-gradient(circle at 14% 40%, rgba(255,255,255,.06), transparent 20%),
    linear-gradient(90deg, rgba(0,0,0,.7), transparent 20% 80%, rgba(0,0,0,.7));
  animation: atmosphere 8s ease-in-out infinite alternate;
}
.site-noise {
  z-index: 1; opacity: .18; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.snap-page { position: relative; z-index: 2; }
.screen { position: relative; min-height: 100svh; scroll-snap-align: start; }
.hero { display: grid; grid-template-rows: auto 1fr auto; align-items: center; padding: 26px clamp(20px, 4vw, 70px) 22px; overflow: hidden; }
.hero__header { display: flex; justify-content: center; position: relative; z-index: 3; }
.hero__logo { width: clamp(220px, 24vw, 360px); height: auto; filter: drop-shadow(0 18px 35px rgba(0,0,0,.62)); }

.glass-panel {
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.015)), var(--glass);
  border: 1px solid var(--line);
  box-shadow: 0 32px 100px rgba(0,0,0,.62), inset 0 1px rgba(255,255,255,.1);
  backdrop-filter: blur(24px) saturate(.55);
  -webkit-backdrop-filter: blur(24px) saturate(.55);
}
.hero__content { width: min(1160px, 100%); justify-self: center; text-align: center; padding: clamp(30px, 4.8vw, 64px) clamp(16px, 4vw, 58px); border-radius: var(--radius); }
.micro-label { margin: 0 0 14px; color: var(--muted); font: 700 10px/1 var(--mono); letter-spacing: .48em; text-transform: uppercase; }
.save-date { margin: 0; font-family: var(--wide); font-size: clamp(38px, 6vw, 84px); font-stretch: condensed; font-weight: 300; line-height: .95; letter-spacing: .25em; text-indent: .25em; text-transform: uppercase; text-shadow: 0 10px 30px rgba(0,0,0,.55); }
.divider { display: block; width: min(320px, 48%); height: 1px; margin: clamp(20px, 3vw, 34px) auto clamp(28px, 4vw, 48px); background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); }

.countdown { display: grid; grid-template-columns: 1.25fr auto repeat(3, 1fr auto); align-items: start; gap: clamp(7px, 1.4vw, 20px); }
.time-unit { min-width: 0; }
.flip-card { position: relative; display: grid; place-items: center; height: clamp(102px, 12vw, 164px); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 17px; background: linear-gradient(180deg, rgba(255,255,255,.07) 0 49.5%, rgba(255,255,255,.02) 50%), rgba(3,3,4,.78); box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.08); }
.flip-card::before { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: rgba(0,0,0,.95); box-shadow: 0 -1px rgba(255,255,255,.06); }
.flip-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 10%, rgba(255,255,255,.05) 50%, transparent 78%); }
.flip-card span { position: relative; z-index: 2; font-family: var(--wide); font-size: clamp(48px, 7.2vw, 98px); font-weight: 200; letter-spacing: .02em; font-variant-numeric: tabular-nums; text-shadow: 0 8px 24px #000; }
.flip-card i { position: absolute; top: 50%; left: -5px; right: -5px; height: 12px; border-left: 9px solid #020202; border-right: 9px solid #020202; transform: translateY(-50%); }
.flip-card.is-ticking { animation: cardTick .28s ease-out; }
.time-unit small { display: block; margin-top: 13px; color: var(--muted); font: 700 clamp(8px, .8vw, 11px)/1 var(--mono); letter-spacing: .3em; text-indent: .3em; }
.countdown__colon { align-self: center; padding-bottom: 27px; color: rgba(255,255,255,.58); font: 200 clamp(28px, 3.5vw, 52px)/1 var(--wide); }

.more-button { justify-self: center; display: grid; justify-items: center; gap: 6px; border: 0; color: rgba(255,255,255,.58); background: transparent; cursor: pointer; font: 600 9px/1.3 var(--mono); letter-spacing: .22em; text-transform: uppercase; transition: color .25s; }
.more-button:hover { color: #fff; }
.more-button__arrow { display: block; color: rgba(255,255,255,.72); font: 200 43px/1 var(--wide); transform: rotate(90deg); animation: arrowPulse 1.55s ease-in-out infinite; }

.falling-elements { position: fixed; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.falling-paper { position: absolute; top: -12vh; width: var(--w); height: var(--h); left: var(--x); opacity: var(--o); border: 1px solid rgba(255,255,255,.18); background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.025)); box-shadow: 0 8px 24px rgba(0,0,0,.45); backdrop-filter: blur(4px); animation: paperFall var(--d) linear var(--delay) infinite; }
.falling-paper::before { content: attr(data-mark); position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.28); font: 700 8px var(--mono); }

.details { display: flex; justify-content: center; align-items: flex-start; padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px) 34px; }
.details::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,2,2,.45), rgba(2,2,2,.74)); }
.details__content { position: relative; z-index: 2; width: min(1260px, 100%); }
.event-card { border-radius: var(--radius); padding: clamp(32px, 5vw, 70px) clamp(24px, 6vw, 88px); }
.event-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; max-width: 980px; margin: 0 auto clamp(34px, 4vw, 50px); padding: 17px 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: rgba(255,255,255,.98); background: rgba(255,255,255,.055); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 14px 36px rgba(0,0,0,.22); font: 700 clamp(13px, 1.45vw, 18px)/1.35 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.85); }
.event-meta i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.72); box-shadow: 0 0 12px rgba(255,255,255,.38); }
.event-copy { max-width: 940px; margin: 0 auto; text-align: center; }
.event-copy p { max-width: 880px; margin: 0 auto 24px; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.45vw, 19px); line-height: 1.75; }
.event-copy .event-lead { max-width: 980px; color: #fff; font-family: var(--wide); font-size: clamp(23px, 2.65vw, 36px); font-weight: 300; line-height: 1.24; letter-spacing: .012em; text-transform: uppercase; }
.event-copy strong { color: #fff; font-weight: 700; }
.event-copy .coming-soon { margin-top: 30px; color: #fff; font: 700 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.ticket-message { max-width: 900px; margin: clamp(36px, 5vw, 58px) auto 32px; padding: 22px 24px; text-align: center; border-block: 1px solid var(--line); color: #fff; font: 700 clamp(13px, 1.6vw, 18px)/1.55 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.signup-form { max-width: 900px; margin: 0 auto; }
.form-honeypot { position: absolute; left: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { color: rgba(255,255,255,.58); font: 700 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.field input { width: 100%; height: 56px; padding: 0 18px; border: 1px solid rgba(255,255,255,.17); border-radius: 9px; outline: none; color: #fff; background: rgba(0,0,0,.38); box-shadow: inset 0 1px rgba(255,255,255,.04); transition: border-color .2s, background .2s; }
.field input::placeholder { color: rgba(255,255,255,.32); }
.field input:focus { border-color: rgba(255,255,255,.58); background: rgba(0,0,0,.55); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 22px 0; color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.55; cursor: pointer; }
.consent input { position: absolute; opacity: 0; }
.consent__box { width: 19px; height: 19px; margin-top: 1px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.4); }
.consent input:checked + .consent__box { background: #f4f4f2; box-shadow: inset 0 0 0 4px #111; }
.consent input:focus-visible + .consent__box { outline: 2px solid #fff; outline-offset: 3px; }
.consent a { color: #fff; text-underline-offset: 3px; }
.submit-button { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid #fff; border-radius: 9px; color: #080808; background: #fff; cursor: pointer; font: 700 12px var(--mono); letter-spacing: .19em; text-transform: uppercase; transition: transform .2s, background .2s; }
.submit-button:hover { transform: translateY(-2px); background: #dcdcdc; }
.submit-button:disabled { opacity: .55; cursor: wait; transform: none; }
.submit-button i { font-style: normal; font-size: 20px; }
.form-status { min-height: 24px; margin: 18px 0 0; text-align: center; font-size: 13px; line-height: 1.5; }
.form-status.is-success { color: #fff; }
.form-status.is-error { color: #ffb4b4; }
.signup-form.is-complete .form-grid, .signup-form.is-complete .consent, .signup-form.is-complete .submit-button { display: none; }
.signup-form.is-complete .form-status { padding: 24px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); font: 700 14px/1.65 var(--mono); letter-spacing: .04em; }

.event-footer { display: grid; justify-items: center; gap: 12px; margin-top: 34px; text-align: center; }
.event-footer img { width: min(340px, 74vw); height: auto; opacity: .78; mix-blend-mode: screen; }
.event-footer p { margin: 0; color: rgba(255,255,255,.32); font: 700 9px var(--mono); letter-spacing: .32em; }

.privacy-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 18px; }
.privacy-wrap { position: relative; z-index: 2; width: min(780px, 100%); padding: clamp(28px, 5vw, 60px); border-radius: var(--radius); }
.privacy-logo { width: 160px; display: block; margin: 22px auto 36px; }
.privacy-wrap h1 { font: 300 clamp(32px, 5vw, 52px)/1 var(--wide); letter-spacing: .07em; text-transform: uppercase; }
.privacy-wrap h2 { margin-top: 30px; font: 700 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.privacy-wrap p { color: rgba(255,255,255,.72); line-height: 1.75; }
.back-link { color: rgba(255,255,255,.6); font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.privacy-note { padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; }

@keyframes atmosphere { to { opacity: .72; transform: scale(1.03); } }
@keyframes cardTick { 50% { transform: perspective(600px) rotateX(-3deg) scale(.99); filter: brightness(1.16); } }
@keyframes arrowPulse { 0%,100% { opacity: .28; transform: rotate(90deg) translateX(0); } 50% { opacity: 1; transform: rotate(90deg) translateX(8px); } }
@keyframes paperFall { to { transform: translate3d(var(--drift), 125vh, 0) rotate(calc(var(--rot) + 720deg)); } }

@media (max-width: 760px) {
  html { scroll-snap-type: none; }
  .hero { min-height: 100svh; padding: 16px 14px 18px; }
  .hero__logo { width: clamp(210px, 64vw, 290px); }
  .hero__content { padding: 28px 12px 30px; border-radius: 22px; }
  .save-date { font-size: clamp(34px, 11vw, 53px); letter-spacing: .16em; text-indent: .16em; }
  .micro-label { letter-spacing: .3em; }
  .divider { margin-bottom: 27px; }
  .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .countdown__colon { display: none; }
  .flip-card { height: clamp(76px, 23vw, 104px); border-radius: 10px; }
  .flip-card span { font-size: clamp(32px, 12vw, 52px); }
  .time-unit small { margin-top: 9px; font-size: 7px; letter-spacing: .16em; text-indent: .16em; }
  .more-button { letter-spacing: .13em; }
  .details { padding: 38px 12px 24px; }
  .event-card { padding: 28px 16px; border-radius: 22px; }
  .event-meta { gap: 10px; padding: 15px 12px; font-size: 13px; line-height: 1.45; }
  .event-meta i { display: none; }
  .event-meta span { width: 100%; text-align: center; }
  .event-copy .event-lead { font-size: 22px; line-height: 1.3; }
  .event-copy p { font-size: 15px; line-height: 1.65; }
  .ticket-message { font-size: 11px; padding-inline: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .event-footer img { width: min(300px, 84vw); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .falling-elements { display: none; }
}
