:root {
  --paper: #fbfaf7;
  --ivory: #f4f0e7;
  --white: #fffefb;
  --ink: #181612;
  --ink-soft: #4f4a41;
  --charcoal: #171614;
  --gold: #b89655;
  --gold-light: #dbc69a;
  --line: rgba(24, 22, 18, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Parisienne", "Brush Script MT", cursive;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 26px 80px rgba(19, 17, 14, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #dedbd4;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.92), transparent 34rem),
    linear-gradient(145deg, #d9d6d0, #f3f0e9);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.locked {
  overflow: hidden;
}

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

button {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 2500;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--charcoal);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(184, 150, 85, 0.75);
  outline-offset: 4px;
}

.watermark-layer {
  position: fixed;
  z-index: 1900;
  inset: -34vh -36vw;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  align-items: center;
  width: 172vw;
  height: 168vh;
  overflow: hidden;
  pointer-events: none;
  transform: rotate(-24deg);
}

.watermark-layer span {
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--sans);
  font-size: clamp(3.5rem, 9vw, 7.2rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.18);
  -webkit-text-stroke: 1px rgba(150, 119, 59, 0.46);
  white-space: nowrap;
}

.opening {
  position: fixed;
  z-index: 1000;
  inset: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #19130f;
  transition: opacity 0.85s ease, visibility 0.85s ease;
}

.opening.is-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening-photo,
.opening-shade,
.opening-frame {
  position: absolute;
  inset: 0;
}

.opening-photo {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  animation: opening-image 12s ease-out both;
}

.opening-shade {
  z-index: -2;
  background:
    linear-gradient(to bottom, rgba(13, 10, 8, 0.24), rgba(13, 10, 8, 0.08) 34%, rgba(13, 10, 8, 0.82) 100%),
    linear-gradient(90deg, rgba(13, 10, 8, 0.26), transparent 45%, rgba(13, 10, 8, 0.2));
}

.opening-frame {
  z-index: -1;
  inset: 18px;
  border: 1px solid rgba(219, 198, 154, 0.62);
  pointer-events: none;
}

.opening-frame::before,
.opening-frame::after {
  content: "";
  position: absolute;
  width: 76px;
  height: 76px;
  border-color: rgba(219, 198, 154, 0.72);
}

.opening-frame::before {
  top: 10px;
  left: 10px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.opening-frame::after {
  right: 10px;
  bottom: 10px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.opening-content {
  width: min(100%, 650px);
  padding: 46px 36px calc(46px + env(safe-area-inset-bottom));
  text-align: center;
  transform: translateY(20vh);
  animation: opening-copy 1s 0.2s both;
}

.opening-monogram {
  width: 118px;
  height: 118px;
  margin: 0 auto 4px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold-light);
}

.opening h1 {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(3.6rem, 13vw, 6.7rem);
  font-weight: 400;
  line-height: 0.92;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.42);
}

.opening h1 span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 0.56em;
  font-style: italic;
}

.opening-date {
  margin: 20px 0 27px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.button-light {
  color: var(--charcoal);
  background: rgba(255, 254, 251, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.button-dark {
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 10px 26px rgba(23, 22, 20, 0.17);
}

.button-gold {
  color: var(--charcoal);
  background: var(--gold-light);
}

.site-shell {
  position: relative;
  width: min(100%, 780px);
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.site-shell:focus {
  outline: none;
}

.section {
  position: relative;
  padding: 92px 56px;
}

.section.centered,
.centered {
  text-align: center;
}

.section-content {
  position: relative;
  z-index: 1;
}

.intro {
  min-height: 890px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.64) 42%, transparent 68%),
    var(--paper);
}

.arch {
  position: absolute;
  border: 1px solid rgba(184, 150, 85, 0.2);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.arch-one {
  top: 55px;
  left: 50%;
  width: 520px;
  height: 700px;
  transform: translateX(-50%);
}

.arch-two {
  top: 74px;
  left: 50%;
  width: 480px;
  height: 662px;
  border-color: rgba(24, 22, 18, 0.08);
  transform: translateX(-50%);
}

.monogram {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.display-names {
  margin: 0;
  color: var(--ink);
  font-family: var(--script);
  font-size: clamp(4.2rem, 14vw, 7.2rem);
  font-weight: 400;
  line-height: 0.84;
}

.display-names span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.53em;
  font-style: italic;
}

.date-lockup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: min(100%, 490px);
  margin: 36px auto 28px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.date-lockup::before,
.date-lockup::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.date-lockup::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.lead {
  max-width: 520px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 520px;
  margin: 48px auto 0;
}

.countdown > div {
  padding: 17px 7px 14px;
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.countdown strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 6vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown span {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-photo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 680px;
  background: var(--charcoal);
  color: #fff;
}

.editorial-image-wrap {
  min-height: 680px;
  overflow: hidden;
}

.editorial-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.editorial-copy {
  align-self: center;
  padding: 58px 42px;
}

.chapter {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2.5rem;
}

.script-quote {
  margin: 16px 0 24px;
  color: #fff;
  font-family: var(--script);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 0.96;
}

.editorial-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.95rem;
  line-height: 1.85;
}

.family-section {
  background: var(--ivory);
}

.section-header {
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 400;
  line-height: 0.98;
}

.section-copy {
  max-width: 560px;
  margin: 19px auto 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.ornament {
  width: 100px;
  height: 16px;
  display: grid;
  margin: 28px auto 0;
  place-items: center;
}

.ornament::before {
  content: "";
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ornament span {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  background: var(--ivory);
  transform: rotate(45deg);
}

.couple-family {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
}

.couple-family article {
  min-width: 0;
}

.couple-family h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.15;
}

.couple-family p,
.padrinos p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.family-label {
  margin-bottom: 8px !important;
  color: var(--gold) !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.family-amp {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
}

.padrinos {
  max-width: 500px;
  margin: 54px auto 0;
  padding: 27px 22px;
  border-top: 1px solid rgba(184, 150, 85, 0.34);
  border-bottom: 1px solid rgba(184, 150, 85, 0.34);
}

.venues {
  background: var(--white);
}

.venue-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.venue-card {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 46px 28px;
  overflow: hidden;
  border: 1px solid rgba(184, 150, 85, 0.34);
  text-align: center;
}

.venue-card.inverse {
  color: #fff;
  background: var(--charcoal);
}

.venue-number {
  position: absolute;
  top: -24px;
  right: 14px;
  color: rgba(184, 150, 85, 0.17);
  font-family: var(--serif);
  font-size: 8.5rem;
  line-height: 1;
}

.venue-card .eyebrow {
  position: relative;
}

.venue-card h3 {
  position: relative;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.08;
}

.venue-card.inverse h3 {
  color: #fff;
}

.venue-meta,
.venue-address {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}

.venue-address {
  min-height: 78px;
  margin-bottom: 28px;
}

.venue-card.inverse .venue-meta,
.venue-card.inverse .venue-address {
  color: rgba(255, 255, 255, 0.7);
}

.venue-meta svg,
.venue-address svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guest-note {
  padding: 82px 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.guest-note > div {
  max-width: 570px;
  margin: 0 auto;
}

.guest-note h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7vw, 3.8rem);
  font-weight: 400;
}

.guest-note > div > p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
}

.adult-note {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 31px auto 0;
  padding-top: 27px;
  border-top: 1px solid rgba(184, 150, 85, 0.36);
  text-align: center;
}

.adult-note svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
}

.adult-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.35;
}

.itinerary {
  color: #fff;
  background:
    radial-gradient(circle at 0 0, rgba(184, 150, 85, 0.13), transparent 32%),
    var(--charcoal);
}

.itinerary .section-title {
  color: #fff;
}

.itinerary .section-copy {
  color: rgba(255, 255, 255, 0.64);
}

.timeline {
  position: relative;
  max-width: 590px;
  margin: 0 auto;
  padding: 4px 0 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 112px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(219, 198, 154, 0.22));
}

.timeline li {
  display: grid;
  grid-template-columns: 85px 20px 1fr;
  gap: 17px;
  align-items: center;
  min-height: 86px;
}

.timeline time {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.timeline li > span {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  justify-self: center;
  border: 2px solid var(--charcoal);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.timeline li > div {
  padding: 16px 0;
}

.timeline strong,
.timeline small {
  display: block;
}

.timeline strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.timeline small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotlight-photo {
  position: relative;
  min-height: 800px;
  display: grid;
  place-items: end center;
  padding: 54px 36px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.spotlight-photo img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.spotlight-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(10, 9, 8, 0.82) 100%);
}

.spotlight-caption p {
  max-width: 530px;
  margin: 0;
  font-family: var(--script);
  font-size: clamp(3.2rem, 9vw, 5.4rem);
  line-height: 0.95;
  text-align: center;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.36);
}

.gifts {
  min-height: 520px;
  display: grid;
  place-items: center;
  background: var(--ivory);
}

.gifts .section-copy {
  max-width: 525px;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: var(--paper);
}

.gallery figure {
  height: 600px;
  margin: 0;
  overflow: hidden;
  background: #e7e3dc;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform 0.8s ease;
}

.gallery figure:nth-child(2) img {
  object-position: center 54%;
}

.gallery figure:hover img {
  transform: scale(1.025);
}

.rsvp-section {
  padding: 88px 54px;
  background: var(--white);
}

.rsvp-panel {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  padding: 58px 44px;
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 22px 48px rgba(20, 18, 15, 0.18);
}

.rsvp-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(219, 198, 154, 0.34);
  pointer-events: none;
}

.rsvp-panel > * {
  position: relative;
  z-index: 1;
}

.rsvp-monogram {
  width: 104px;
  height: 104px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.rsvp-panel .section-title {
  color: #fff;
}

.rsvp-panel > p:not(.eyebrow) {
  max-width: 470px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.72);
}

.rsvp-panel .button {
  margin-top: 30px;
}

.closing {
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, #fff 0 24%, rgba(255, 255, 255, 0.66) 47%, transparent 70%),
    var(--ivory);
}

.closing::before,
.closing::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 500px;
  height: 670px;
  border: 1px solid rgba(184, 150, 85, 0.18);
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.closing::after {
  width: 460px;
  height: 630px;
  border-color: rgba(24, 22, 18, 0.07);
}

.closing-monogram {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.closing h2 {
  margin: 12px 0 22px;
  font-family: var(--script);
  font-size: clamp(4.2rem, 14vw, 7.3rem);
  font-weight: 400;
  line-height: 0.84;
}

.closing h2 span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.52em;
  font-style: italic;
}

.closing .section-content > p:last-child {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

footer {
  padding: 22px 24px calc(22px + env(safe-area-inset-bottom));
  color: rgba(24, 22, 18, 0.62);
  background: var(--paper);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.music-toggle {
  position: fixed;
  z-index: 950;
  right: max(16px, calc((100vw - 780px) / 2 + 16px));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 198, 154, 0.56);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(23, 22, 20, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

body:not(.locked) .music-toggle {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.music-toggle:hover {
  background: #0d0c0b;
}

.music-toggle[aria-pressed="true"] span {
  animation: music-pulse 1.8s ease-in-out infinite;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes opening-image {
  from { transform: scale(1.08); }
  to { transform: scale(1.01); }
}

@keyframes opening-copy {
  from { opacity: 0; transform: translateY(calc(20vh + 20px)); }
  to { opacity: 1; transform: translateY(20vh); }
}

@keyframes music-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18) rotate(-6deg); }
}

@media (max-width: 680px) {
  .opening-frame {
    inset: 12px;
  }

  .opening-content {
    padding-inline: 28px;
    transform: translateY(17vh);
  }

  .opening h1 {
    font-size: clamp(3.6rem, 16vw, 5.2rem);
  }

  .opening-date {
    letter-spacing: 0.13em;
  }

  .section {
    padding: 76px 26px;
  }

  .intro {
    min-height: 820px;
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .intro .section-content {
    width: 100%;
    max-width: 370px;
    margin-inline: auto;
  }

  .arch-one {
    width: 390px;
    height: 670px;
  }

  .arch-two {
    width: 350px;
    height: 630px;
  }

  .monogram {
    width: 132px;
    height: 132px;
  }

  .display-names {
    font-size: clamp(4rem, 18vw, 5.7rem);
  }

  .date-lockup {
    grid-template-columns: 1fr;
    gap: 7px;
    max-width: 300px;
    margin-top: 31px;
    text-align: center;
  }

  .date-lockup::before,
  .date-lockup::after {
    width: 92px;
    justify-self: center;
  }

  .lead {
    max-width: 340px;
    font-size: clamp(1.25rem, 5.5vw, 1.5rem);
    line-height: 1.42;
  }

  .countdown {
    gap: 0;
    width: 100%;
    max-width: 360px;
    margin-top: 42px;
    border-top: 1px solid var(--gold-light);
    border-bottom: 1px solid var(--gold-light);
  }

  .countdown > div {
    padding: 17px 3px 15px;
    border: 0;
  }

  .countdown > div + div {
    border-left: 1px solid rgba(184, 150, 85, 0.24);
  }

  .countdown span {
    font-size: 0.65rem;
    letter-spacing: 0.07em;
  }

  .editorial-photo {
    grid-template-columns: 1fr;
  }

  .editorial-image-wrap {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .editorial-image-wrap img {
    object-position: center top;
  }

  .editorial-copy {
    padding: 56px 29px 64px;
    text-align: center;
  }

  .script-quote {
    max-width: 430px;
    margin-inline: auto;
  }

  .couple-family {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .family-amp {
    height: 47px;
    line-height: 0.95;
  }

  .couple-family article + .family-amp + article {
    margin-top: 6px;
  }

  .padrinos {
    margin-top: 44px;
  }

  .venue-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .venue-card {
    min-height: 475px;
    padding: 45px 27px;
  }

  .venue-card h3 {
    font-size: 2.15rem;
  }

  .venue-address {
    max-width: 320px;
    min-height: auto;
  }

  .venue-card .button {
    width: min(100%, 270px);
  }

  .guest-note {
    padding: 70px 27px;
  }

  .adult-note {
    max-width: 390px;
  }

  .timeline::before {
    left: 81px;
  }

  .timeline li {
    grid-template-columns: 60px 16px 1fr;
    gap: 13px;
    text-align: left;
  }

  .timeline time {
    font-size: 1.08rem;
  }

  .timeline strong {
    font-size: 1.23rem;
  }

  .timeline small {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  .spotlight-photo {
    min-height: 690px;
    padding-inline: 25px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .rsvp-section {
    padding: 72px 22px;
  }

  .rsvp-panel {
    padding: 52px 25px;
  }

  .rsvp-panel .button {
    width: min(100%, 315px);
  }

  .closing::before {
    width: 390px;
  }

  .closing::after {
    width: 350px;
  }
}

@media (max-width: 410px) {
  .section {
    padding-right: 21px;
    padding-left: 21px;
  }

  .opening-monogram {
    width: 104px;
    height: 104px;
  }

  .opening-content {
    transform: translateY(14vh);
  }

  .opening h1 {
    font-size: 3.7rem;
  }

  .countdown strong {
    font-size: 1.55rem;
  }

  .countdown span {
    font-size: 0.59rem;
    letter-spacing: 0.045em;
  }

  .timeline::before {
    left: 73px;
  }

  .timeline li {
    grid-template-columns: 55px 15px 1fr;
    gap: 10px;
  }

  .gallery figure {
    height: auto;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
