:root {
  --ink: #f6f1e8;
  --muted: rgba(246, 241, 232, 0.72);
  --gold: #f0d7a2;
  --red: #9b1b1b;
  --night: #100c09;
  --serif: "Fraunces", Georgia, serif;
  --script: "Great Vibes", cursive;
  --caps: "Cinzel", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 8rem;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.45;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: #fff;
  color: #111;
  padding: 0.4rem 0.7rem;
}
.skip:focus { top: 0.6rem; }

.nav {
  position: fixed;
  z-index: 8;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 2.2rem;
  background: linear-gradient(180deg, rgba(16, 12, 9, 0.72), transparent);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
.nav__brand img {
  height: 4.5rem;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}
.nav__cta {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #9b1b1b;
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
}
.nav__cta:hover { filter: brightness(1.08); }
.nav__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}
.nav__cta--line {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(240, 215, 162, 0.75);
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  max-width: 16rem;
}
.nav__cta--line:hover { background: rgba(240, 215, 162, 0.12); filter: none; }
.nav__mark {
  font-family: var(--caps);
  letter-spacing: 0.22em;
}

.hero {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #1a120c;
}
.hero__sky {
  position: relative;
  inset: auto;
}
.hero__sky img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  animation: heroIn 1.6s var(--ease) both;
}
.hero__brand {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 5.6rem;
  transform: translateX(-50%);
  width: min(94vw, 74rem);
  text-align: center;
  pointer-events: none;
  animation: brandIn 1.4s var(--ease) 0.35s both;
}
.hero__brand img {
  width: auto;
  height: 4.6rem;
  margin: 0 auto 0.35rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}
.hero__retiro,
.hero__dates {
  margin: 0;
  color: #fff;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.hero__retiro { font-size: 0.72rem; }
.hero__brand .hero__mark {
  display: block;
  width: min(98%, 78rem);
  height: auto;
  margin: 0.15rem auto 0.55rem;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}
.hero__dates {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 3.4vw, 2.65rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 10px 28px rgba(0, 0, 0, 0.72);
}
.hero__fade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(16, 12, 9, 0.2) 30%, rgba(16, 12, 9, 0.88));
}
.count {
  position: fixed;
  z-index: 12;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem 1rem;
  padding: 0.7rem 1.15rem 0.8rem;
  border-top: 1px solid rgba(240, 215, 162, 0.35);
  background: rgba(16, 12, 9, 0.94);
  backdrop-filter: blur(10px);
  text-align: center;
}
.count__mid {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.85rem 1.15rem;
}
.count__brand,
.count__place {
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
}
.count__brand {
  justify-self: start;
  display: flex;
  align-items: center;
}
.count__brand img {
  width: auto;
  height: 2.7rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.count__place {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.28rem;
  text-align: right;
}
.count__ig {
  display: inline-flex;
  color: #fff;
  line-height: 0;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.count__ig svg { width: 1.45rem; height: 1.45rem; }
.count__ig:hover { color: var(--gold); transform: translateY(-1px); }
.count__word {
  margin: 0 0.15rem 1.45rem 0;
  font-family: var(--caps);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--gold);
}
.count__row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem 0.7rem;
  margin: 0;
}
.count__row p { margin: 0; }
.count__row strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  line-height: 0.85;
  letter-spacing: -0.04em;
  min-width: 1.4ch;
}
.count__row span {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.count__bar {
  display: block;
  margin-top: 0.05rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 0.85;
  color: rgba(240, 215, 162, 0.9);
}
.count.is-live .count__word,
.count.is-live .count__bar,
.count.is-live [data-count-extra] { display: none; }
.count.is-live .count__row strong { font-size: 1.8rem; letter-spacing: 0; }
.hero__down {
  position: absolute;
  left: 50%;
  bottom: 7.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transform: translateX(-50%);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff8ee;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.75);
  animation: bob 1.35s ease-in-out infinite;
}
.hero__chev {
  width: 1.85rem;
  height: 1.85rem;
  animation: chev 1.35s ease-in-out infinite;
}

.verse, .beat, .house {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 88svh;
  overflow: hidden;
  text-align: center;
}
.verse__bg, .beat__bg, .house__bg {
  position: absolute;
  inset: -18% 0;
  z-index: 0;
  will-change: transform;
}
.verse__veil, .beat__veil, .house__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 12, 9, 0.25), rgba(16, 12, 9, 0.55));
}
.verse__script, .beat h2, .house__cap, .beat--copy {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 2rem 1.25rem;
}
.verse__script {
  font-family: var(--script);
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 1.05;
  color: #fff8ee;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
.beat h2, .house__cap {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  letter-spacing: -0.03em;
  font-style: italic;
}
.beat__long {
  max-width: 16em;
  font-size: clamp(1.85rem, 4.6vw, 3.35rem) !important;
  line-height: 1.18;
}
.house {
  display: block;
  min-height: 0;
  background: #100c09;
}
.house__photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}
.house .house__veil {
  background: linear-gradient(180deg, transparent 58%, rgba(16, 12, 9, 0.88));
}
.house .house__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7.6rem;
  max-width: 12em;
  margin: 0 auto;
  padding: 0 1.25rem;
  font-size: clamp(2.7rem, 6.6vw, 5.1rem);
  line-height: 1.02;
  color: #fffaf3;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 16px 42px rgba(0, 0, 0, 0.78);
}
.house .house__cap::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin: 0.75rem auto 0;
  background: #f0d7a2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.beat--copy {
  min-height: 70svh;
  background:
    radial-gradient(circle at 20% 20%, rgba(155, 27, 27, 0.28), transparent 42%),
    #140e0b;
}
.beat__kicker {
  margin: 0 0 0.8rem;
  font-family: var(--caps);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
}
.beat__line {
  margin: 0;
  max-width: 18em;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.3;
}

.when {
  position: relative;
  padding: 6.5rem 1.25rem 5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 215, 162, 0.12), transparent 46%),
    #100c09;
}
.when__kicker, .when__note {
  font-family: var(--caps);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.when__kicker { margin: 0; font-size: clamp(1.7rem, 4.2vw, 2.75rem); letter-spacing: 0.16em; }
.when__city {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--gold);
}
.when__band {
  width: min(46rem, 100%);
  margin: 0 auto;
}
.when__days {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 2rem auto 0;
  padding: 0;
}
.when__days li {
  padding: 1.3rem 0.6rem 1.15rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(240, 215, 162, 0.22);
  background: rgba(255, 255, 255, 0.03);
}
.when__days span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
}
.when__days strong, .when__days em {
  display: block;
  font-style: normal;
}
.when__days strong {
  margin-top: 0.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.when__days em {
  margin-top: 0.25rem;
  color: var(--muted);
  font-weight: 300;
}
.when__note {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 1.15rem 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 4.2vw, 2.35rem);
  letter-spacing: 0;
  text-indent: 0;
  line-height: 1;
  text-transform: uppercase;
}
.when__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.when__pay {
  display: inline-flex;
  max-width: min(22rem, 100%);
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.35;
}
.when__pay:hover { background: rgba(240, 215, 162, 0.12); }
.when__cta {
  display: inline-flex;
  margin-top: 0;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
}
.when__cta:hover { filter: brightness(1.08); }
button.when__cta { appearance: none; border: 0; cursor: pointer; font: inherit; }

.from {
  position: relative;
  padding: 5.5rem 1.25rem 6.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(155, 27, 27, 0.22), transparent 46%),
    #100c09;
}
.from__kicker {
  margin: 0;
  font-family: var(--caps);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.75rem;
}
.from__verse {
  max-width: 16em;
  margin: 0.8rem auto 0;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.8rem, 4.4vw, 3.1rem);
  line-height: 1.25;
}
.from__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 62rem;
  margin: 2.4rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.from__pillars li {
  padding: 1.15rem 1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(240, 215, 162, 0.22);
  background: rgba(255, 255, 255, 0.03);
}
.from__pillars strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  font-style: italic;
}
.from__pillars span,
.from__place p {
  color: var(--muted);
}
.from__pillars span {
  display: block;
  margin-top: 0.4rem;
  line-height: 1.45;
}
.from__line {
  margin: 2.2rem 0 0;
  font-family: var(--script);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff8ee;
}
.from__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 68rem;
  margin: 2.6rem auto 0;
}
.from__photos figure { margin: 0; }
.from__photos img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 1.05rem;
}
.from__photos figcaption {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.from__place { margin-top: 3.2rem; }
.from__place .from__city {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.1;
  color: var(--gold);
}
.from__frame {
  display: block;
  width: min(52rem, 100%);
  height: 22rem;
  margin: 1.35rem auto 0;
  border: 0;
  border-radius: 1.05rem;
}

.foot { display: none; }
.stage {
  animation: stageIn 1.15s var(--ease) both;
  animation-play-state: paused;
}
.stage.is-in { animation-play-state: running; }
.house__photo {
  opacity: 0;
  transition: opacity 1.25s var(--ease);
}
.house.is-in .house__photo { opacity: 1; }
.verse::after,
.beat::after,
.house::after,
.when::after,
.from::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  height: 4.2rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 12, 9, 0.72), transparent);
}
.when::after { height: 3rem; }
.sheet {
  width: min(36rem, calc(100% - 1.5rem));
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(240, 215, 162, 0.28);
  border-radius: 1.15rem;
  background: #16110e;
  color: var(--ink);
}
.sheet::backdrop { background: rgba(8, 6, 4, 0.72); }
.sheet__form { display: flex; flex-direction: column; gap: 0.85rem; padding: 1.25rem 1.2rem 1.15rem; }
.sheet__kicker {
  margin: 0;
  font-family: var(--caps);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.sheet h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
}
.sheet label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet input {
  border: 1px solid rgba(246, 241, 232, 0.2);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.7rem 0.75rem;
}
.sheet__msg { min-height: 1.2rem; margin: 0; color: var(--gold); }
.sheet__note strong { color: var(--gold); font-weight: 600; }
.sheet__kicker-done { display: none; }
.sheet__thanks {
  display: none;
  margin: 0.15rem 0 0.35rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
  color: var(--ink);
}
.sheet__thanks strong { color: var(--gold); font-weight: 500; }
.sheet__form.is-done .sheet__kicker-form,
.sheet__form.is-done h2,
.sheet__form.is-done label,
.sheet__form.is-done .sheet__hint,
.sheet__form.is-done .sheet__note,
.sheet__form.is-done .sheet__msg,
.sheet__form.is-done .sheet__send { display: none; }
.sheet__form.is-done .sheet__kicker-done,
.sheet__form.is-done .sheet__thanks,
.sheet__form.is-done .sheet__again { display: block; }
.sheet__form.is-done .sheet__actions { justify-content: center; flex-wrap: wrap; }
.sheet__hint {
  margin: -0.35rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.sheet__note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.sheet__msg.is-err { color: #fca5a5; }
.sheet__actions { display: flex; gap: 0.5rem; }
.sheet__send, .sheet__close, .sheet__again {
  appearance: none;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  cursor: pointer;
}
.sheet__send, .sheet__again { background: #9b1b1b; color: #fff; }
.sheet__again { display: none; }
.sheet__close { background: transparent; color: var(--ink); border: 1px solid rgba(246, 241, 232, 0.25); }

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  animation: rise 1.35s var(--ease) forwards;
  animation-delay: var(--d, 0s);
  animation-play-state: paused;
}
.reveal.is-in { animation-play-state: running; }

@keyframes stageIn {
  from { opacity: 0; transform: translateY(2.4rem); }
  to { opacity: 1; transform: none; }
}
@keyframes heroIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes brandIn {
  from { opacity: 0; transform: translateX(-50%) translateY(1.1rem); }
  to { opacity: 1; transform: translateX(-50%); }
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.08) translate3d(0, -1.5%, 0); }
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}
@keyframes chev {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(9px); opacity: 1; }
}

@media (max-width: 720px) {
  .nav { align-items: flex-start; padding: 0.65rem 0.75rem 1.4rem; }
  .count__brand img { height: 2rem; }
  .count__ig svg { width: 1.25rem; height: 1.25rem; }
  .nav__actions {
    width: auto;
    margin-left: auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
  }
  .nav__mark { display: none; }
  .nav__cta { font-size: 0.58rem; letter-spacing: 0.04em; padding: 0.45rem 0.6rem; }
  .hero__brand { top: 6.35rem; width: calc(100% - 0.8rem); }
  .hero__brand img { height: 2.2rem; }
  .hero__dates { font-size: clamp(0.95rem, 4.2vw, 1.35rem); letter-spacing: 0.08em; }
  .count {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.6rem;
    padding: 0.55rem 0.75rem 0.65rem;
  }
  .count__mid { grid-column: 1 / -1; gap: 0.45rem 0.6rem; }
  .count__word { font-size: 0.72rem; letter-spacing: 0.12em; margin-bottom: 0.95rem; }
  .count__row { gap: 0.25rem 0.35rem; }
  .count__row strong { font-size: 1.35rem; }
  .count__row span { font-size: 0.55rem; letter-spacing: 0.08em; }
  .count__bar { font-size: 1.15rem; }
  .count__brand, .count__place { font-size: 0.72rem; }
  .when__days { gap: 0.45rem; }
  .when__note { font-size: 1.15rem; }
  .from__pillars, .from__photos { grid-template-columns: 1fr; }
  .from__photos img { height: 22rem; }
  .from__frame { height: 16rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__sky img, .hero__brand, .hero__down, .reveal, .stage { animation: none; }
  .reveal, .stage, .house__photo { opacity: 1; transform: none; }
  [data-parallax] { transform: none !important; }
}
