:root {
  --navy-950: #020b16;
  --navy-900: #061529;
  --navy-800: #08213c;
  --navy-700: #0b2a4a;
  --gold-500: #dda03a;
  --gold-400: #efbc54;
  --gold-300: #f7d889;
  --paper: #fffaf0;
  --white: #ffffff;
  --muted: #cbd4df;
  --line: rgba(239, 188, 84, 0.42);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(28, 83, 122, 0.42), transparent 38rem),
    linear-gradient(90deg, #020811 0%, #061529 18%, #061529 82%, #020811 100%);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(247, 216, 137, 0.62);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  vertical-align: -0.16em;
}

.experience {
  width: min(100%, 860px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 12px 104px;
}

.mobile-header,
.desktop-nav {
  background: rgba(3, 15, 30, 0.94);
  border-bottom: 1px solid rgba(239, 188, 84, 0.12);
  backdrop-filter: blur(18px);
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  margin: 0 -12px;
  padding: 10px 18px;
}

.desktop-nav {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--gold-500);
  border-radius: 12px;
  color: var(--gold-400);
  font-size: 28px;
  line-height: 1;
}

.brand-icon {
  width: 27px;
  height: 27px;
}

.brand strong,
.brand em {
  display: block;
  line-height: 1;
}

.brand strong {
  color: var(--white);
  font-size: 1.18rem;
  letter-spacing: 0;
}

.brand em,
.script-label {
  color: var(--gold-400);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-style: italic;
}

.brand em {
  font-size: 1.2rem;
}

.icon-button {
  border: 0;
  background: transparent;
  color: var(--gold-400);
  cursor: pointer;
}

.menu-toggle {
  display: grid;
  gap: 5px;
  width: 48px;
  height: 48px;
  place-content: center;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.section-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(140deg, rgba(12, 42, 72, 0.96), rgba(4, 22, 42, 0.98)),
    var(--navy-800);
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: 652px;
  margin: 0 -12px 14px;
  border-width: 0 0 1px;
  border-radius: 0 0 24px 24px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 61% center;
  filter: saturate(0.92) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(2, 11, 22, 0.16) 0%, rgba(2, 11, 22, 0.7) 55%, rgba(2, 11, 22, 0.96) 100%),
    linear-gradient(90deg, rgba(2, 11, 22, 0.88), rgba(2, 11, 22, 0.35) 62%, rgba(2, 11, 22, 0.66));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 652px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 132px 18px 96px;
}

.script-label {
  margin: 0 0 4px;
  font-size: 1.82rem;
  line-height: 1;
}

.hero h1,
.section-card h2,
.modal-panel h2 {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 15vw, 5rem);
  line-height: 0.95;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.45);
}

.hero-copy {
  max-width: 290px;
  margin: 10px 0 16px;
  color: var(--white);
  font-size: 1.02rem;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.event-facts article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 8px 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(9, 31, 56, 0.72);
  backdrop-filter: blur(10px);
  text-align: center;
}

.fact-icon,
.heading-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--gold-400);
  font-size: 1.2rem;
}

.fact-icon .icon,
.heading-icon .icon {
  width: 1.25em;
  height: 1.25em;
}

.event-facts strong,
.event-facts small {
  display: block;
}

.event-facts strong {
  color: var(--white);
  font-size: 0.74rem;
  line-height: 1.15;
}

.event-facts small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.15;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

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

.button-primary {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, var(--gold-400), #c9821f);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(184, 117, 22, 0.28);
}

.button-secondary,
.upload-button {
  border-color: var(--gold-500);
  background: rgba(5, 20, 38, 0.62);
  color: var(--gold-300);
}

.countdown {
  display: grid;
  grid-template-columns: minmax(118px, 1.4fr) repeat(3, 0.75fr);
  align-items: center;
  min-height: 82px;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 28, 53, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.countdown > div {
  display: grid;
  min-width: 0;
  justify-items: center;
  padding: 8px 5px;
  border-left: 1px solid rgba(239, 188, 84, 0.25);
}

.countdown > div:first-child {
  border-left: 0;
}

.countdown span,
.countdown small {
  color: var(--muted);
  font-size: 0.78rem;
}

.countdown-lead {
  grid-template-columns: auto auto auto;
  gap: 6px;
}

.countdown-lead span {
  align-self: center;
  color: var(--paper);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.5rem;
}

.countdown strong {
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
}

.countdown-lead strong {
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 12vw, 4.4rem);
  font-weight: 400;
}

.content-grid {
  display: grid;
  gap: 12px;
}

.music-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
}

.song-cover {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  border-radius: 14px;
}

.song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48));
}

.song-cover span {
  position: absolute;
  inset: auto 8px 10px;
  z-index: 1;
  text-align: center;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.music-content {
  min-width: 0;
}

.music-card .script-label {
  margin-top: 12px;
  font-size: 1.35rem;
}

.music-card h2 {
  font-size: 1.65rem;
  line-height: 1;
}

.music-card p:not(.script-label) {
  margin: 6px 0 12px;
  color: var(--muted);
}

.heart-button {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--gold-400);
  cursor: pointer;
  font-size: 2rem;
}

.heart-button .icon {
  width: 1em;
  height: 1em;
}

.heart-button.is-loved {
  color: var(--gold-300);
  text-shadow: 0 0 18px rgba(239, 188, 84, 0.45);
}

.player-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.play-button {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-400), #c88422);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(185, 122, 31, 0.34);
}

.play-button .icon {
  width: 19px;
  height: 19px;
  margin-left: 2px;
}

.player-visual {
  flex: 1;
  min-width: 0;
}

.waveform {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 3px;
  overflow: hidden;
}

.waveform span {
  display: block;
  width: 3px;
  min-width: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.waveform span:nth-child(4n + 1) { height: 12px; }
.waveform span:nth-child(4n + 2) { height: 24px; }
.waveform span:nth-child(4n + 3) { height: 17px; }
.waveform span:nth-child(4n + 4) { height: 31px; }
.music-card.is-playing .waveform span {
  animation: pulse 900ms ease-in-out infinite alternate;
}
.music-card.is-playing .waveform span:nth-child(2n) {
  animation-delay: 140ms;
}

.progress-track {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.progress-track span {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold-400);
}

.time-row {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
}

.section-heading,
.gallery-heading {
  display: flex;
  align-items: center;
}

.section-heading {
  min-width: 0;
  gap: 10px;
}

.section-heading h2,
.share-card h2,
.info-card h2 {
  font-size: clamp(1.42rem, 7vw, 1.85rem);
  line-height: 1.05;
}

.rsvp-card,
.gallery-card,
.share-card,
.messages-card,
.pass-card,
.info-card {
  padding: 16px;
}

.rsvp-form {
  display: grid;
  gap: 13px;
  margin-top: 14px;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  min-width: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

label span,
legend {
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(4, 18, 34, 0.62);
  color: var(--paper);
  padding: 0 13px;
}

textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

::placeholder {
  color: rgba(230, 237, 245, 0.55);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segmented button {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(4, 18, 34, 0.62);
  color: var(--paper);
  cursor: pointer;
}

.segmented button.is-selected {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, var(--gold-400), #c9821f);
  color: var(--white);
}

.form-submit {
  width: min(100%, 360px);
  margin: 0 auto;
}

.success-message {
  min-height: 22px;
  margin: 0;
  color: var(--gold-300);
  text-align: center;
  font-weight: 700;
}

.gallery-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.upload-button {
  min-height: 42px;
  padding: 0 14px;
  white-space: nowrap;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(118px, 36%);
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.48;
  border: 1px solid rgba(247, 216, 137, 0.64);
  border-radius: 10px;
  object-fit: cover;
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(5) {
  object-position: 64% center;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(4),
.gallery-grid img:nth-child(6) {
  object-position: center;
}

.share-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 84px;
  gap: 10px;
  align-items: center;
  padding: 14px;
}

.camera-tile {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--gold-300), #c78120);
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
}

.camera-tile .icon {
  width: 1.04em;
  height: 1.04em;
}

.share-card p,
.info-card p,
.modal-panel p,
.message-item p {
  color: var(--muted);
}

.share-card h2 {
  margin: 0 0 5px;
  font-size: 1.32rem;
  line-height: 1.05;
}

.share-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.35;
}

.qr-code {
  width: 94px;
  aspect-ratio: 1;
  border: 7px solid white;
  border-radius: 4px;
  background-color: white;
  background-image:
    linear-gradient(90deg, #0b0b0b 10px, transparent 10px 16px, #0b0b0b 16px 20px, transparent 20px),
    linear-gradient(#0b0b0b 8px, transparent 8px 14px, #0b0b0b 14px 18px, transparent 18px),
    repeating-linear-gradient(90deg, transparent 0 9px, #0b0b0b 9px 13px),
    repeating-linear-gradient(0deg, transparent 0 10px, #0b0b0b 10px 13px);
  background-size: 38px 38px, 34px 34px, 21px 21px, 25px 25px;
  background-position: 0 0, right bottom, 12px 18px, 17px 10px;
  image-rendering: pixelated;
}

.qr-image {
  display: block;
  width: 84px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.message-list {
  display: grid;
  gap: 10px;
}

.message-item {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(7, 28, 53, 0.54);
}

.avatar {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 2px solid rgba(247, 216, 137, 0.54);
  border-radius: 50%;
  background: linear-gradient(135deg, #ead6bf, #91573d);
  color: #08172a;
  font-weight: 850;
}

.avatar-alt {
  background: linear-gradient(135deg, #cadced, #35577a);
}

.message-item h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 0.93rem;
}

.message-item p {
  margin: 0;
  font-size: 0.82rem;
}

.message-item button {
  align-self: end;
  border: 0;
  background: transparent;
  color: var(--gold-400);
  cursor: pointer;
  font-size: 1.45rem;
}

.message-item button .icon {
  width: 1.05em;
  height: 1.05em;
}

.message-item button.is-loved,
.message-item button[aria-pressed="true"] {
  color: var(--gold-300);
}

.pass-card {
  display: grid;
  gap: 14px;
}

.pass-body {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 54px;
  gap: 18px;
  align-items: center;
}

.pass-qr {
  width: 106px;
  border-radius: 12px;
}

.pass-body small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  text-align: center;
}

.guest-data {
  display: grid;
  gap: 4px;
}

.guest-data strong {
  color: var(--white);
  font-size: 1.05rem;
}

.guest-data span {
  color: var(--muted);
}

.guest-data b {
  color: var(--white);
  font-size: 3rem;
  line-height: 1;
}

.table-icon {
  display: inline-grid;
  place-items: center;
  color: var(--gold-400);
  font-size: 3rem;
}

.table-icon .icon {
  width: 1em;
  height: 1em;
}

.info-grid {
  display: grid;
  gap: 12px;
}

.info-card h2 {
  margin-top: 8px;
}

.info-card p {
  margin: 9px 0 16px;
  font-size: 0.9rem;
}

.info-card button {
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-weight: 800;
}

.bottom-nav {
  position: fixed;
  right: max(12px, calc((100vw - 860px) / 2 + 12px));
  bottom: 12px;
  left: max(12px, calc((100vw - 860px) / 2 + 12px));
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(4, 18, 34, 0.94);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.bottom-nav .icon {
  color: currentColor;
  width: 1.45rem;
  height: 1.45rem;
  line-height: 1;
}

.bottom-nav a.is-active {
  background: rgba(221, 160, 58, 0.08);
  color: var(--gold-400);
  font-weight: 800;
}

.menu-sheet,
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.menu-sheet.is-open,
.modal.is-open {
  display: block;
}

.menu-sheet {
  background: rgba(2, 11, 22, 0.58);
}

.menu-panel {
  display: grid;
  gap: 8px;
  margin: 76px 12px 0 auto;
  width: min(270px, calc(100% - 24px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(4, 18, 34, 0.98);
  box-shadow: var(--shadow);
}

.menu-panel a {
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--paper);
}

.menu-panel a:hover {
  background: rgba(221, 160, 58, 0.1);
}

.modal {
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 22, 0.72);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  margin: 15vh auto 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, #0b2a4a, #04162a);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.modal-panel p {
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.message-form {
  display: grid;
  gap: 14px;
}

@keyframes pulse {
  from {
    opacity: 0.45;
    transform: scaleY(0.76);
  }
  to {
    opacity: 0.95;
    transform: scaleY(1.12);
  }
}

@media (max-width: 360px) {
  .experience {
    padding-inline: 8px;
  }

  .mobile-header,
  .hero-card {
    margin-inline: -8px;
  }

  .hero-content {
    padding-inline: 14px;
  }

  .music-card {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .share-card {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .share-card .qr-code,
  .share-card .qr-image {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .pass-body {
    grid-template-columns: 98px minmax(0, 1fr) 40px;
    gap: 12px;
  }

  .pass-qr {
    width: 96px;
  }
}

@media (min-width: 560px) {
  .hero-actions {
    grid-template-columns: 1.2fr 1fr;
  }

  .rsvp-form {
    grid-template-columns: repeat(3, 1fr);
  }

  .rsvp-form label:first-child,
  .rsvp-form fieldset,
  .form-submit,
  .success-message {
    grid-column: span 3;
  }

  .message-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 980px) {
  body {
    background: #f7f3ec;
    color: var(--navy-900);
  }

  .desktop-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 12px clamp(28px, 4vw, 56px);
  }

  .desktop-nav nav {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .desktop-nav a {
    color: var(--paper);
    font-weight: 800;
  }

  .desktop-nav nav a:not(.outline-link) {
    color: var(--white);
    font-size: 0.92rem;
  }

  .desktop-nav nav a.is-active {
    color: var(--gold-400);
  }

  .outline-link {
    min-width: 190px;
    padding: 14px 24px;
    border: 2px solid var(--gold-500);
    border-radius: 12px;
    color: var(--gold-300);
    text-align: center;
  }

  .mobile-header,
  .bottom-nav {
    display: none;
  }

  .experience {
    width: 100%;
    max-width: none;
    padding: 0 36px 36px;
  }

  .hero-card {
    min-height: 338px;
    margin: 0 -36px 18px;
    border-radius: 0;
  }

  .hero-content {
    min-height: 338px;
    max-width: 1510px;
    margin: 0 auto;
    padding: 38px 72px;
    justify-content: center;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(4rem, 5.2vw, 5.6rem);
  }

  .hero-copy {
    max-width: 620px;
    margin-bottom: 16px;
    font-size: 1.28rem;
  }

  .event-facts {
    width: min(620px, 58vw);
  }

  .hero-actions {
    width: min(520px, 50vw);
  }

  .countdown {
    position: absolute;
    right: clamp(70px, 9vw, 170px);
    top: 74px;
    width: 190px;
    min-height: 204px;
    grid-template-columns: repeat(3, 1fr);
    padding: 16px 12px;
  }

  .countdown-lead {
    grid-column: 1 / -1;
  }

  .countdown > div {
    border-left: 1px solid rgba(239, 188, 84, 0.28);
  }

  .countdown > div:nth-child(2) {
    border-left: 0;
  }

  .content-grid {
    max-width: 1660px;
    margin: 0 auto;
    grid-template-columns: 0.96fr 1.08fr 1.08fr 0.36fr;
    align-items: start;
    gap: 14px;
  }

  .section-card {
    border-color: rgba(6, 21, 41, 0.14);
    background: var(--white);
    color: var(--navy-900);
    box-shadow: 0 13px 34px rgba(25, 31, 44, 0.1);
  }

  .music-card {
    align-self: stretch;
    min-height: 206px;
    background: linear-gradient(140deg, #09213c, #051427);
    color: var(--paper);
  }

  .rsvp-card {
    min-height: 206px;
  }

  .rsvp-card h2,
  .gallery-card h2,
  .messages-card h2,
  .pass-card h2,
  .info-card h2,
  .share-card h2 {
    color: var(--navy-900);
  }

  .rsvp-form {
    gap: 12px;
  }

  label span,
  legend {
    color: var(--navy-900);
  }

  input,
  select,
  textarea,
  .segmented button {
    border-color: rgba(6, 21, 41, 0.2);
    background: var(--white);
    color: var(--navy-900);
  }

  .gallery-card {
    min-height: 206px;
  }

  .gallery-grid {
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }

  .share-card {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 264px;
    text-align: center;
  }

  .messages-card {
    grid-column: span 2;
  }

  .message-item {
    border-color: rgba(6, 21, 41, 0.16);
    background: #fffefe;
  }

  .message-item h3 {
    color: var(--navy-900);
  }

  .share-card p,
  .info-card p,
  .modal-panel p,
  .message-item p {
    color: #263b53;
  }

  .pass-card {
    grid-column: span 1;
  }

  .info-grid {
    grid-column: span 3;
    grid-template-columns: repeat(3, 1fr);
  }

  .info-card {
    min-height: 182px;
  }

  .info-card button {
    color: var(--navy-900);
  }
}
