:root {
  --header-height: 88px;
  --orange: #f37021;
  --orange-soft: #fff2e8;
  --black: #111111;
  --text: #4b4f58;
  --muted: #8e9197;
  --border: #e6e2dc;
  --bg: #f5f4f1;
  --white: #ffffff;
  font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
}
img, video { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.app { min-height: 100vh; }
.app.is-loading { overflow: hidden; }
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.96);
  transition: opacity .35s ease, visibility .35s ease;
}
.app.is-ready .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.16);
  border-top-color: var(--orange);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatProduct {
  0%, 100% { transform: translate(-50%, -50%) scale(1.08); }
  50% { transform: translate(-50%, calc(-50% - 10px)) scale(1.11); }
}

.brand-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr minmax(0, 320px);
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  background: rgba(0,0,0,.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.brand-logo {
  width: min(210px, 100%);
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  justify-self: start;
  display: flex;
  align-items: center;
}
.brand-logo img {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}
.brand-event-name {
  margin: 0;
  text-align: center;
  color: rgba(255,255,255,.72);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.brand-right {
  justify-self: end;
  width: min(290px, 100%);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.brand-partner-logo {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
  object-position: right center;
}

.page-sections { padding-top: 0; }
.page-section { scroll-margin-top: calc(var(--header-height) + 16px); }
.page-section { padding: clamp(.9rem, 2vw, 1.4rem); }
.hero-section { padding: 0; }
.section-shell {
  width: min(1360px, 100%);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 48px rgba(17,17,17,.05);
  overflow: hidden;
}
.eyebrow, .form-heading span,
.rsvp-form label span, fieldset legend {
  text-transform: uppercase;
  letter-spacing: .14em;
}
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--orange);
  font-size: .8rem;
  font-weight: 800;
}

.hero-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #08090c;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.56) 0%, rgba(0,0,0,.58) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 50%, rgba(0,0,0,.38) 100%);
}
.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(243,112,33,.1);
}
.hero-overlay::before {
  width: 540px;
  height: 540px;
  right: -80px;
  top: 18%;
}
.hero-overlay::after {
  width: 380px;
  height: 380px;
  left: -120px;
  bottom: 10%;
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: calc(var(--header-height) + 2.5rem) clamp(2rem, 5vw, 4rem) 3rem;
}
.hero-copy {
  width: min(1140px, 100%);
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.05rem;
}
.hero-overline,
.hero-subline {
  margin: 0;
  color: rgba(255,255,255,.95);
  font-weight: 400;
  line-height: 1.48;
}
.hero-overline {
  max-width: 1120px;
  font-size: clamp(1.35rem, 2.7vw, 2.2rem);
}
.hero-copy h1 {
  margin: 0;
  color: var(--orange);
  font-size: clamp(3.3rem, 8vw, 7rem);
  line-height: .96;
  letter-spacing: -.05em;
  font-weight: 900;
}
.hero-subline {
  max-width: 1000px;
  font-size: clamp(1.22rem, 2.6vw, 2rem);
}

.details-shell,
.rsvp-section {
  padding-bottom: 7.25rem;
}
.rsvp-shell {
  padding: clamp(1.6rem, 4vw, 3.25rem);
}
.details-shell--simple {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(500px, 72vh, 720px);
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 55%, rgba(255,244,236,.92) 100%);
}
.event-bg-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.event-bg-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(243,112,33,.10), rgba(243,112,33,0) 34%),
    linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.82) 24%, rgba(255,255,255,.70) 50%, rgba(255,255,255,.82) 76%, rgba(255,255,255,.93) 100%);
  z-index: 2;
}
.event-bg-art img {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  width: min(54vw, 700px);
  opacity: .50;
  transform: translate(-50%, -50%) scale(1.08);
  transform-origin: center center;
  filter: drop-shadow(0 34px 46px rgba(0,0,0,.10));
  animation: floatProduct 11s ease-in-out infinite;
  z-index: 1;
}
.event-summary {
  position: relative;
  z-index: 3;
  width: min(960px, 100%);
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem);
}
.event-summary-small {
  margin: 0;
  color: var(--black);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  line-height: 1.4;
}
.event-summary h3 {
  margin: 1rem 0 1.1rem;
  color: #585858;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.event-summary-line {
  margin: 1rem 0 0;
  color: var(--black);
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.45;
}
.event-summary-line--time {
  margin-top: 1.2rem;
}
.location-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-top: 2rem;
  padding: .95rem 1.55rem;
  border-radius: 999px;
  border: 2px solid rgba(17,17,17,.8);
  background: rgba(255,255,255,.72);
  color: var(--orange);
  text-decoration: none;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.location-link:hover {
  transform: translateY(-2px);
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.location-link-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.rsvp-shell {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  padding: 0;
}
.rsvp-copy {
  padding: calc(var(--header-height) + 2rem) clamp(2rem, 5vw, 4rem) 3rem;
  background: var(--orange);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rsvp-copy .eyebrow { color: rgba(255,255,255,.78); }
.rsvp-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.rsvp-copy p:not(.eyebrow) {
  margin: 1rem 0 0;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,.95);
}
.rsvp-form {
  padding: calc(var(--header-height) + 2rem) clamp(2rem, 5vw, 4rem) 3rem;
  background: var(--white);
}
.form-heading {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.45rem;
}
.form-heading strong {
  color: var(--black);
  font-size: clamp(1.5rem, 2vw, 2rem);
}
.rsvp-form label {
  display: grid;
  gap: .55rem;
  margin-bottom: 1rem;
}
.rsvp-form input[type="text"],
.rsvp-form input[type="tel"] {
  width: 100%;
  height: 56px;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fcfcfb;
  color: var(--black);
  outline: none;
}
.rsvp-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(243,112,33,.10);
}
fieldset {
  margin: 1.55rem 0 0;
  padding: 0;
  border: 0;
}
fieldset legend,
.form-heading span,
.rsvp-form label span {
  color: rgba(75,79,88,.7);
  font-size: .74rem;
  font-weight: 800;
}
fieldset legend {
  margin-bottom: .9rem;
}
.attendance-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: .85rem;
  align-items: center;
  justify-content: start;
}
.attend-button,
.submit-button {
  min-height: 48px;
  padding: 0 1.05rem;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.attend-button {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--white);
}
.attend-button:hover,
.attend-button.is-selected {
  background: var(--white);
  color: var(--orange);
}
.attend-button.is-selected {
  box-shadow: 0 0 0 3px rgba(243,112,33,.14) inset;
}
.submit-button {
  margin-top: 1.9rem;
  min-width: 156px;
  min-height: 50px;
  border: 1px solid transparent;
  background: var(--orange);
  color: var(--white);
}
.submit-button:hover,
.attend-button:hover,
.location-link:hover {
  transform: translateY(-2px);
}
.submit-button:hover {
  background: #df6319;
}
.submit-button:disabled { opacity: .6; }
.form-trap {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}
.form-status {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  font-weight: 700;
}
.form-status.is-success {
  color: #1e6d39;
  background: #e7f6ec;
}
.form-status.is-error {
  color: #992c1d;
  background: #fff0ed;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: .8rem;
  z-index: 90;
  transform: translateX(-50%);
  display: flex;
  gap: .2rem;
  padding: .25rem;
  border-radius: 999px;
  background: rgba(17,17,17,.88);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.bottom-nav button {
  min-height: 38px;
  padding: 0 .78rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.64);
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: .42rem;
}
.bottom-nav button span {
  color: rgba(255,255,255,.35);
  font-size: .56rem;
}
.bottom-nav button.is-active {
  background: var(--orange);
  color: var(--white);
}
.bottom-nav button.is-active span { color: rgba(255,255,255,.82); }

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(.985);
  filter: blur(8px);
  transition: opacity .8s ease, transform .8s ease, filter .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

@media (max-width: 1180px) {
  .brand-bar {
    grid-template-columns: 1fr auto;
    row-gap: .2rem;
  }
  .brand-event-name { display: none; }
  .brand-right { width: min(240px, 100%); }
  .rsvp-shell { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-height: 74px; }
  .brand-bar {
    padding: 0 .9rem;
    grid-template-columns: minmax(0, 128px) minmax(0, 144px);
    justify-content: space-between;
    gap: .7rem;
  }
  .brand-logo { width: 126px; height: 40px; }
  .brand-logo img { max-height: 40px; }
  .brand-right { width: 144px; height: 40px; }
  .brand-partner-logo { max-height: 38px; }
  .page-section { padding: .7rem; }
  .section-shell { border-radius: 22px; }
  .hero-shell {
    min-height: 100svh;
    border-radius: 0;
  }
  .hero-inner {
    min-height: 100svh;
    padding: calc(var(--header-height) + 2rem) 1.2rem 2.25rem;
    gap: 1rem;
  }
  .hero-copy {
    gap: 1.25rem;
    width: min(100%, 420px);
  }
  .hero-overline {
    font-size: clamp(1.24rem, 6.4vw, 1.68rem);
    line-height: 1.62;
  }
  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
    line-height: 1.02;
  }
  .hero-subline {
    font-size: clamp(1.18rem, 5.9vw, 1.48rem);
    line-height: 1.68;
  }
  .details-shell,
  .rsvp-copy,
  .rsvp-form { padding: 1.25rem; }
  .details-shell--simple {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .event-bg-art img {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    width: min(88vw, 460px);
    opacity: .90;
    transform: translate(-50%, -50%) scale(1.03);
  }
  .event-summary {
    padding: 1rem .55rem;
  }
  .event-summary h3 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }
  .event-summary-line,
  .event-summary-small {
    font-size: clamp(1.1rem, 5.5vw, 1.5rem);
  }
  .attendance-options {
    grid-template-columns: 1fr;
    gap: .7rem;
  }
  .attend-button {
    width: 100%;
    min-height: 46px;
    font-size: .9rem;
  }
  .submit-button {
    width: auto;
    min-width: 145px;
    min-height: 48px;
  }
  .location-link { width: 100%; }
  .rsvp-section { padding-bottom: 6rem; }
  .rsvp-copy h3 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }
  .bottom-nav {
    width: auto;
    max-width: calc(100% - 1rem);
    justify-content: center;
    bottom: .45rem;
  }
  .bottom-nav button {
    min-height: 36px;
    padding: 0 .68rem;
    font-size: .69rem;
  }
  .bottom-nav button span { display: none; }
}

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