:root {
  color-scheme: light;
  --ink: #152125;
  --muted: #5f6a6e;
  --paper: #fff8ed;
  --cloud: #fffdf7;
  --sky-top: #77c7e8;
  --sky-bottom: #e8f6f2;
  --navy: #17335b;
  --teal: #177e7b;
  --coral: #d65f50;
  --gold: #f1b75c;
  --leaf: #2f6848;
  --line: rgba(21, 33, 37, 0.15);
  --night: #050816;
  --night-blue: #111b3d;
  --ring-red: #e83f46;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  transition: background-color 700ms ease, color 700ms ease;
}

body.after-dark {
  background:
    radial-gradient(circle at 85% 8%, rgba(232, 63, 70, 0.22), transparent 24rem),
    radial-gradient(circle at 12% 34%, rgba(72, 117, 255, 0.18), transparent 22rem),
    var(--night);
  color: rgba(255, 255, 255, 0.9);
}

a,
button {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.invite-shell {
  min-height: 100vh;
  overflow: hidden;
}

.sky-scene {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  background: var(--sky-bottom);
  isolation: isolate;
}

.sky-scene::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 77% 18%, rgba(255, 244, 190, 0.82), rgba(255, 244, 190, 0) 18rem),
    linear-gradient(180deg, rgba(119, 199, 232, 0.96), rgba(232, 246, 242, 0.9) 68%, rgba(255, 248, 237, 0.82));
  content: "";
  transition: opacity 1200ms ease;
  z-index: 1;
}

.after-dark .sky-scene::before {
  opacity: 0;
}

.sky-scene::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(255, 248, 237, 0), var(--paper));
  content: "";
  pointer-events: none;
  transition: background 700ms ease, opacity 700ms ease;
  z-index: 2;
}

.after-dark .sky-scene::after {
  background: linear-gradient(180deg, rgba(5, 8, 22, 0), var(--night));
}

.is-rsvped .sky-scene::before {
  opacity: 0;
}

.sky-map {
  position: absolute;
  inset: -8vh -8vw;
  z-index: 0;
  opacity: 0.42;
  transform: scale(1.16);
  transform-origin: center;
  transition: opacity 1200ms ease, transform 1500ms cubic-bezier(0.19, 1, 0.22, 1), filter 1200ms ease;
  filter: saturate(0.9) contrast(0.92);
  pointer-events: none;
}

.sky-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.is-rsvped .sky-map {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1) contrast(1);
  pointer-events: auto;
}

.after-dark .sky-map {
  opacity: 0;
  pointer-events: none;
}

.sun {
  position: absolute;
  top: 11vh;
  right: 12vw;
  width: clamp(92px, 13vw, 172px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe39d;
  box-shadow: 0 0 80px rgba(255, 220, 126, 0.72);
  transition: opacity 900ms ease, transform 1200ms ease;
  z-index: 2;
}

.is-rsvped .sun {
  opacity: 0;
  transform: translateY(-18vh) scale(0.74);
}

.cloud {
  position: absolute;
  width: clamp(280px, 35vw, 560px);
  height: clamp(96px, 12vw, 176px);
  border-radius: 999px;
  background: var(--cloud);
  box-shadow: 0 22px 60px rgba(48, 96, 126, 0.14);
  opacity: 0.95;
  transition: transform 1200ms cubic-bezier(0.19, 1, 0.22, 1), opacity 900ms ease;
  z-index: 4;
}

.cloud::before,
.cloud::after {
  position: absolute;
  bottom: 28%;
  border-radius: 50%;
  background: var(--cloud);
  content: "";
}

.cloud::before {
  left: 14%;
  width: 36%;
  aspect-ratio: 1;
}

.cloud::after {
  right: 13%;
  width: 42%;
  aspect-ratio: 1;
}

.cloud--one {
  top: 10vh;
  left: -8vw;
}

.cloud--two {
  top: 26vh;
  right: -14vw;
  transform: scale(0.88);
}

.cloud--three {
  bottom: 10vh;
  left: 18vw;
  transform: scale(1.18);
}

.cloud--four {
  bottom: 24vh;
  right: 18vw;
  transform: scale(0.72);
  opacity: 0.72;
}

.is-rsvped .cloud--one {
  transform: translate(-24vw, -10vh) scale(1.28);
  opacity: 0.86;
}

.is-rsvped .cloud--two {
  transform: translate(26vw, -8vh) scale(1.18);
  opacity: 0.82;
}

.is-rsvped .cloud--three {
  transform: translate(-22vw, 18vh) scale(1.42);
  opacity: 0.88;
}

.is-rsvped .cloud--four {
  transform: translate(24vw, 16vh) scale(1.08);
  opacity: 0.78;
}

.after-dark .cloud {
  opacity: 0;
}

.sky-copy {
  position: relative;
  z-index: 5;
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 80px 120px;
  color: var(--navy);
  transition: opacity 800ms ease, transform 1000ms cubic-bezier(0.19, 1, 0.22, 1);
}

.is-rsvped .sky-copy {
  opacity: 0;
  transform: translateY(-6vh) scale(0.98);
  pointer-events: none;
}

.after-party-scene {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.46), rgba(5, 8, 22, 0.74)),
    url("/images/after-dark-arena.png") center / cover no-repeat;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms ease 780ms;
}

.after-dark .after-party-scene {
  opacity: 1;
  pointer-events: auto;
}

.stars {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, white 0 1px, transparent 2px),
    radial-gradient(circle at 28% 34%, white 0 1px, transparent 2px),
    radial-gradient(circle at 42% 14%, white 0 1px, transparent 2px),
    radial-gradient(circle at 68% 22%, white 0 1px, transparent 2px),
    radial-gradient(circle at 82% 38%, white 0 1px, transparent 2px),
    radial-gradient(circle at 90% 12%, white 0 1px, transparent 2px),
    radial-gradient(circle at 18% 58%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 66%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px);
  opacity: 0.75;
}

.octagon {
  display: none;
}

.octagon::before,
.octagon::after {
  content: none;
}

.octagon::before {
  top: 33%;
}

.octagon::after {
  bottom: 33%;
}

.after-party-copy {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin-top: -12vh;
  text-align: center;
}

.after-party-copy .eyebrow {
  margin-bottom: 18px;
  color: var(--ring-red);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.72);
}

.after-party-copy h2 {
  max-width: 14ch;
  margin-bottom: 18px;
  margin-inline: auto;
  color: white;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.58);
}

.fight-card {
  margin-bottom: 8px;
  color: var(--ring-red);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
}

.matchup {
  display: grid;
  gap: 0.08em;
  max-width: min(520px, 100%);
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.35rem, 3.2vw, 2.5rem);
  font-weight: 900;
  line-height: 0.96;
  text-align: center;
  text-transform: uppercase;
}

.fighter-word {
  display: block;
}

.fighter-word--vs {
  color: var(--ring-red);
  font-size: 0.76em;
}

.after-party-details {
  max-width: 34rem;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 750;
  line-height: 1.35;
}

.after-dark-transition::before,
.after-dark-transition::after {
  position: fixed;
  top: 50%;
  z-index: 99;
  width: max(118vw, 1120px);
  max-width: none;
  aspect-ratio: 2 / 1;
  background: url("/images/after-dark-single-glove.png") center / contain no-repeat;
  content: "";
  filter: drop-shadow(0 34px 54px rgba(0, 0, 0, 0.56));
  pointer-events: none;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: opacity, transform;
}

.after-dark-transition::before {
  left: 50%;
  transform: translate3d(-142%, -50%, 0);
  animation: glove-left-punch 1800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.after-dark-transition::after {
  right: 50%;
  transform: translate3d(142%, -50%, 0) scaleX(-1);
  animation: glove-right-punch 1800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.after-dark-transition .invite-shell::before {
  position: fixed;
  inset: 0;
  z-index: 97;
  background:
    radial-gradient(circle at 50% 50%, rgba(232, 63, 70, 0.16), rgba(5, 8, 22, 0.92) 42%),
    rgba(5, 8, 22, 0.9);
  content: "";
  pointer-events: none;
  animation: after-dark-curtain 1800ms ease forwards;
}

.after-dark-transition .invite-shell::after {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.38), rgba(232, 63, 70, 0.16) 18%, rgba(5, 8, 22, 0) 42%);
  content: "";
  pointer-events: none;
  animation: impact-flash 1800ms ease forwards;
}

@keyframes glove-left-punch {
  0% {
    opacity: 0;
    transform: translate3d(-142%, -50%, 0) rotate(-2deg);
  }

  18% {
    opacity: 1;
  }

  48% {
    opacity: 1;
    transform: translate3d(-65%, -50%, 0) rotate(0deg);
  }

  60% {
    opacity: 1;
    transform: translate3d(-65%, -50%, 0) rotate(0deg) scale(1.04);
  }

  100% {
    opacity: 0;
    transform: translate3d(-148%, -56%, 0) rotate(-8deg);
  }
}

@keyframes glove-right-punch {
  0% {
    opacity: 0;
    transform: translate3d(142%, -50%, 0) scaleX(-1) rotate(-2deg);
  }

  18% {
    opacity: 1;
  }

  48% {
    opacity: 1;
    transform: translate3d(65%, -50%, 0) scaleX(-1) rotate(0deg);
  }

  60% {
    opacity: 1;
    transform: translate3d(65%, -50%, 0) scaleX(-1) rotate(0deg) scale(1.04);
  }

  100% {
    opacity: 0;
    transform: translate3d(148%, -56%, 0) scaleX(-1) rotate(-8deg);
  }
}

@keyframes after-dark-curtain {
  0% {
    opacity: 0;
  }

  38% {
    opacity: 0;
  }

  54% {
    opacity: 1;
  }

  78% {
    opacity: 0.94;
  }

  100% {
    opacity: 0;
  }
}

@keyframes impact-flash {
  0% {
    opacity: 0;
  }

  48% {
    opacity: 0;
  }

  56% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: clamp(4.25rem, 14vw, 9rem);
  line-height: 0.88;
}

h2 {
  max-width: 11ch;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.95;
}

.lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(23, 51, 91, 0.86);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
}

.actions,
.map-actions,
.response-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--coral);
  color: white;
}

.button--secondary {
  border-color: rgba(23, 51, 91, 0.35);
  background: rgba(255, 255, 255, 0.42);
  color: var(--navy);
}

.button--outline {
  border-color: rgba(23, 51, 91, 0.25);
  background: white;
  color: var(--navy);
}

.button--disabled {
  cursor: default;
  opacity: 0.68;
}

.button--disabled:hover {
  transform: none;
}

.map-copy {
  position: absolute;
  right: clamp(14px, 5vw, 72px);
  top: clamp(24px, 8vh, 82px);
  bottom: auto;
  z-index: 6;
  width: min(520px, calc(100% - 28px));
  border: 1px solid rgba(23, 51, 91, 0.16);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 24px 70px rgba(23, 51, 91, 0.18);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 850ms ease 650ms, transform 850ms ease 650ms;
  pointer-events: none;
}

.after-dark .map-copy {
  opacity: 0;
  transform: translateY(20px);
}

.is-rsvped .map-copy {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.after-dark.is-rsvped .map-copy {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.map-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
}

.map-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.map-copy > p:last-of-type {
  margin-bottom: 18px;
}

.after-dark-going-panel {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto clamp(82px, 7vw, 96px);
}

.after-dark-going-panel[hidden] {
  display: none;
}

.after-dark-going-panel .going-panel {
  margin-top: 0;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.after-dark .details {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.13);
}

.detail-card,
.calendar-card,
.wishlist-card {
  padding: 26px;
  background: #fffdf8;
}

.after-dark .detail-card,
.after-dark .calendar-card,
.after-dark .wishlist-card,
.after-dark .menu-list li,
.after-dark .rsvp-form {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(9, 14, 32, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.detail-card {
  min-height: 156px;
}

.detail-card__label {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-card strong,
.detail-card > span:last-child,
.calendar-card strong,
.wishlist-card strong {
  display: block;
}

.address-link {
  text-decoration-color: rgba(23, 126, 123, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.address-link:hover {
  text-decoration-color: currentColor;
}

.detail-card strong,
.calendar-card strong,
.wishlist-card strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.1;
}

.after-dark h2,
.after-dark .detail-card strong,
.after-dark .calendar-card strong,
.after-dark .wishlist-card strong,
.after-dark .menu-list li,
.after-dark .rsvp-form label span {
  color: white;
}

.detail-card > span:last-child,
.calendar-card p,
.wishlist-card p {
  color: var(--muted);
}

.party-time__after-dark {
  display: none;
}

.after-dark .party-time {
  display: grid;
  gap: 4px;
}

.after-dark .party-time__original {
  color: rgba(255, 255, 255, 0.46);
  text-decoration: line-through;
  text-decoration-color: rgba(232, 63, 70, 0.95);
  text-decoration-thickness: 2px;
}

.after-dark .party-time__after-dark {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.detail-card .directions-note {
  margin-top: 12px;
  color: var(--coral);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
}

.after-dark .detail-card > span:last-child,
.after-dark .calendar-card p,
.after-dark .wishlist-card p,
.after-dark .response-copy p:last-child,
.after-dark .form-status {
  color: rgba(255, 255, 255, 0.72);
}

.after-dark .detail-card .directions-note {
  color: rgba(255, 168, 157, 0.95);
}

.menu-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  width: min(1120px, calc(100% - 40px));
  margin: 82px auto 0;
  align-items: start;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list li {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fffdf8;
  color: var(--navy);
}

.menu-list strong {
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.15;
}

.menu-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.35;
}

.after-dark .menu-list p {
  color: rgba(255, 255, 255, 0.72);
}

.response-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  width: min(1120px, calc(100% - 40px));
  margin: 86px auto 104px;
  align-items: start;
}

.after-dark .response-panel,
.after-dark .menu-section {
  position: relative;
}

.after-dark .eyebrow,
.after-dark .detail-card__label,
.after-dark .response-copy .eyebrow {
  color: var(--ring-red);
}

.response-copy .eyebrow {
  color: var(--leaf);
}

.response-copy p:last-child {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.rsvp-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.rsvp-form label {
  display: grid;
  gap: 8px;
}

.rsvp-form label span {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rsvp-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(23, 51, 91, 0.2);
  border-radius: 8px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.after-dark .rsvp-form input {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.after-dark .rsvp-form input:focus {
  border-color: rgba(232, 63, 70, 0.82);
  box-shadow: 0 0 0 3px rgba(232, 63, 70, 0.18);
}

.after-dark .button--outline,
.after-dark .button--secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.rsvp-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 126, 123, 0.14);
  outline: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.going-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.going-panel[hidden] {
  display: none;
}

.calendar-card,
.wishlist-card {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.calendar-card p,
.wishlist-card p {
  margin-bottom: 20px;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.not-found main {
  width: min(560px, 100%);
}

.not-found h1 {
  max-width: none;
  color: var(--navy);
  font-size: clamp(3rem, 14vw, 6rem);
}

.not-found .button {
  margin-top: 8px;
}

@media (max-width: 860px) {
  .sky-scene {
    min-height: 92svh;
    align-items: start;
  }

  .sky-copy {
    width: min(100% - 28px, 680px);
    padding-block: 64px 104px;
    text-align: center;
  }

  h1 {
    max-width: 9ch;
    margin-inline: auto;
    font-size: clamp(3.45rem, 17vw, 6.1rem);
    line-height: 0.9;
  }

  h2 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 10vw, 4.2rem);
  }

  .lede {
    margin-inline: auto;
    font-size: 1.08rem;
  }

  .actions {
    justify-content: center;
  }

  .map-copy {
    top: auto;
    right: 14px;
    bottom: 18px;
    width: calc(100% - 28px);
    padding: 18px;
  }

  .map-copy h2 {
    font-size: clamp(2.05rem, 12vw, 3.6rem);
  }

  .map-copy p:last-child {
    font-size: 0.96rem;
  }

  .after-party-scene {
    background-position: center bottom;
  }

  .after-party-copy {
    width: min(100% - 28px, 620px);
    margin-top: -6vh;
  }

  .after-party-copy h2 {
    max-width: 11ch;
    font-size: clamp(2.25rem, 11vw, 4.6rem);
  }

  .matchup {
    max-width: 12ch;
    font-size: clamp(1.35rem, 7vw, 2.05rem);
  }

  .fight-card {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }

  .after-party-details {
    max-width: 24rem;
    font-size: 0.98rem;
  }

  .details,
  .menu-section,
  .response-panel,
  .after-dark-going-panel {
    width: min(100% - 28px, 640px);
  }

  .details,
  .menu-section,
  .response-panel,
  .going-panel {
    grid-template-columns: 1fr;
  }

  .details {
    margin-top: 24px;
  }

  .after-dark-going-panel {
    margin: 24px auto 72px;
  }

  .detail-card,
  .calendar-card,
  .wishlist-card,
  .rsvp-form {
    padding: 22px;
  }

  .menu-section,
  .response-panel {
    gap: 22px;
    margin-top: 64px;
    text-align: left;
  }

  .response-copy p:last-child {
    max-width: none;
  }

  .after-dark-transition::before,
  .after-dark-transition::after {
    width: max(146vw, 680px);
  }
}

@media (max-width: 520px) {
  body {
    line-height: 1.45;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
  }

  .sky-copy {
    width: calc(100% - 24px);
    padding-block: 54px 96px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .lede {
    margin-bottom: 22px;
    font-size: 1rem;
  }

  .actions,
  .map-actions,
  .response-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .menu-list {
    grid-template-columns: 1fr;
  }

  .button {
    min-height: 46px;
    padding-inline: 14px;
    font-size: 0.95rem;
    text-align: center;
  }

  .cloud {
    width: 260px;
    height: 92px;
  }

  .cloud--one {
    top: 8vh;
    left: -38vw;
  }

  .cloud--two {
    top: 31vh;
    right: -44vw;
  }

  .cloud--three {
    bottom: 9vh;
    left: -22vw;
  }

  .cloud--four {
    bottom: 27vh;
    right: -28vw;
  }

  .is-rsvped .cloud--one {
    transform: translate(-16vw, -7vh) scale(1.1);
  }

  .is-rsvped .cloud--two {
    transform: translate(18vw, -4vh) scale(1.05);
  }

  .is-rsvped .cloud--three {
    transform: translate(-16vw, 14vh) scale(1.22);
  }

  .is-rsvped .cloud--four {
    transform: translate(16vw, 12vh) scale(0.98);
  }

  .map-copy {
    top: auto;
    right: 12px;
    bottom: 16px;
    width: calc(100% - 24px);
    padding: 16px;
    text-align: center;
  }

  .map-copy h2 {
    font-size: clamp(1.9rem, 12vw, 2.8rem);
  }

  .map-copy > p:last-of-type {
    margin-bottom: 14px;
  }

  .details,
  .menu-section,
  .response-panel,
  .after-dark-going-panel {
    width: calc(100% - 24px);
  }

  .after-dark-going-panel {
    margin-bottom: 60px;
  }

  .detail-card {
    min-height: auto;
  }

  .detail-card strong,
  .calendar-card strong,
  .wishlist-card strong {
    font-size: 1.22rem;
  }

  .menu-section,
  .response-panel {
    margin-top: 52px;
  }

  .menu-list li {
    min-height: auto;
    padding: 16px;
  }

  .rsvp-form {
    gap: 12px;
    padding: 18px;
  }

  .rsvp-form input {
    min-height: 46px;
  }

  .going-panel {
    gap: 12px;
  }

  .after-party-copy h2 {
    max-width: 10ch;
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .matchup {
    max-width: 10ch;
    font-size: clamp(1.25rem, 8vw, 1.85rem);
  }

  .after-party-details {
    max-width: 19rem;
    margin-top: 14px;
    font-size: 0.9rem;
  }

  .after-dark-transition::before,
  .after-dark-transition::after {
    width: max(175vw, 560px);
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.75rem;
  }

  .actions,
  .map-actions,
  .response-actions {
    grid-template-columns: 1fr;
  }

  .map-copy {
    text-align: left;
  }
}
