:root {
  --paper: #f7f3f0;
  --paper-light: #f7f3f0;
  --paper-deep: #e9e2d9;
  --ink: #292d46;
  --ink-soft: #55586a;
  --line: rgba(41, 45, 70, 0.22);
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --script: "Homemade Apple", "Segoe Script", cursive;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 58%, rgba(42,45,70,.055) 0 .8px, transparent 1.3px),
    linear-gradient(92deg, rgba(255,255,255,.18), transparent 28%, rgba(42,45,70,.025) 70%, transparent);
  background-size: 19px 17px, 23px 21px, 100% 100%;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  mix-blend-mode: multiply;
  background: repeating-linear-gradient(3deg, transparent 0 5px, rgba(42,45,70,.025) 6px, transparent 7px 12px);
}

::selection { color: var(--paper-light); background: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin-top: 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  padding: .6rem .9rem;
  color: var(--paper-light);
  background: var(--ink);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .85rem clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(41,45,70,.12);
  background: rgba(247,243,240,.9);
  backdrop-filter: blur(12px);
}

.brand {
  display: block;
  width: 4.8rem;
  height: 1.8rem;
  overflow: hidden;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

nav { display: flex; gap: clamp(1rem, 2.5vw, 2.5rem); }
nav a { font-size: .7rem; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: .35em; }

.header-rsvp {
  padding: .72rem 1.15rem;
  border: 1px solid var(--ink);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.header-rsvp:hover, .header-rsvp:focus-visible { color: var(--paper-light); background: var(--ink); }

.section-shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto auto;
  place-items: center;
  gap: clamp(.45rem, 1.25vh, 1rem);
  padding: clamp(6.75rem, 11vh, 8rem) clamp(1rem, 4vw, 4rem) clamp(1rem, 2.5vh, 2rem);
  text-align: center;
  overflow: hidden;
}

.eyebrow, .kicker, .day-label {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero-title {
  position: relative;
  z-index: 2;
}

.hero-title h1 {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(2.85rem, 6vw, 5.45rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -.035em;
  transform: rotate(-1.2deg);
}

.hero-title h1 em { font-size: .62em; font-weight: 400; }

.hero-illustration {
  width: min(94vw, 1080px);
  height: 100%;
  min-height: 0;
  margin: clamp(-1.2rem, -1.5vh, -.35rem) 0 clamp(-1rem, -1vh, -.25rem);
}

.hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.08);
}

.hero-illustration img, .caceres-panorama img {
  mix-blend-mode: multiply;
}

.countdown { width: min(92vw, 680px); }
.countdown > p { margin: 0 0 .35rem; font-size: .65rem; letter-spacing: .34em; text-transform: uppercase; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.countdown-grid > span { display: grid; gap: .05rem; padding: .35rem .35rem .28rem; }
.countdown strong { font-weight: 400; font-size: clamp(1.25rem, 3vw, 1.85rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); }
.celebration { font-family: var(--script); font-size: clamp(1.45rem, 4vw, 2.2rem) !important; line-height: 1.45; letter-spacing: 0 !important; text-transform: none !important; }

.hero-date { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.date-number { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: .8; }
.date-words { padding-left: .8rem; border-left: 1px solid var(--ink); font-size: .72rem; line-height: 1.25; letter-spacing: .16em; text-align: left; text-transform: uppercase; }
.date-place { margin-left: clamp(.5rem, 2vw, 1.75rem); font-family: var(--script); font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.4; }

.section-heading { margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-heading h2 {
  max-width: none;
  margin: 0;
  font-family: var(--script);
  font-size: clamp(2.35rem, 6vw, 5.15rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.035em;
  transform: rotate(-1.5deg);
}

.manifesto { width: min(1280px, calc(100% - 2.5rem)); padding-block: clamp(6rem, 13vw, 10rem); }
.manifesto .section-heading { padding-left: 1.5rem; }
.manifesto-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 5rem); }
.manifesto-columns p { max-width: 40ch; }
.poem-text { font-family: var(--serif); font-size: inherit; line-height: inherit; }
.poem-stanza { max-width: none !important; margin-bottom: 1.65rem; }
.lead { font-size: inherit; line-height: inherit; }
.script-note {
  margin: clamp(2rem, 5vw, 4rem) 0 0 auto;
  font-family: var(--script);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-style: normal;
  line-height: 1.75;
  text-align: right;
}

.couple-photo-break {
  width: min(1440px, 100%);
  aspect-ratio: 1915 / 821;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
}
.couple-photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.02);
  mix-blend-mode: multiply;
  opacity: .96;
}

.weekend { padding-block: clamp(6rem, 12vw, 10rem) 0; }
.section-heading.section-heading--compact h2 { font-size: clamp(1.35rem, 2.6vw, 1.95rem); }
.saturday { margin-top: 0; padding: clamp(2rem, 5vw, 4rem) 0 clamp(1rem, 2vw, 2rem); background: transparent; }
.map-stage { width: min(1424px, calc(100% - 1rem)); }
.vector-map {
  position: relative;
  display: grid;
  width: 100%;
}
.vector-map__streets {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .58;
}
.vector-map__streets--mobile { display: none; }
.map-composition {
  position: relative;
  grid-area: 1 / 1;
  justify-self: center;
  width: min(760px, 100%);
  aspect-ratio: 539 / 663;
}
.map-route {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.map-route__trail {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4.8;
  stroke-linecap: round;
  stroke-dasharray: .1 13.5;
  opacity: .66;
}
.map-route .map-route__halo {
  stroke: var(--paper-light);
  stroke-width: 8.5;
  opacity: .9;
}
.map-pin { fill: var(--ink-soft); opacity: .78; }
.map-pin circle { fill: var(--paper-light); }
.map-place, .map-cart { position: absolute; z-index: 2; }
.map-place {
  display: grid;
  justify-items: center;
  color: var(--ink);
  text-decoration: none;
  transition: transform .22s ease;
}
.map-place--church { top: 8%; left: 5%; width: 45%; }
.map-cart { top: 39%; right: 8%; width: 35%; transform: rotate(1deg); }
.map-place--palace { bottom: 2%; left: 20%; width: 58%; }
.map-place img, .map-cart img {
  width: 100%;
  height: auto;
  filter: none;
  image-rendering: auto;
  opacity: .84;
}
.map-place-name {
  margin-top: clamp(-.4rem, -.5vw, -.1rem);
  font-family: var(--script);
  font-size: clamp(1.05rem, 1.75vw, 1.5rem);
  font-weight: 400;
  line-height: 1.42;
  text-align: center;
  text-wrap: balance;
}
.location-hint {
  margin-top: .5rem;
  padding-bottom: .16rem;
  border-bottom: 1px solid rgba(41,45,70,.4);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .64;
}
.map-place--palace .map-place-name { margin: 0 0 clamp(-.35rem, -.6vw, -.1rem); }
.vector-map .location-hint { display: none; }
.map-place:hover { transform: translateY(-4px) rotate(-.5deg); }
.map-place:focus-visible { outline: 1px solid var(--ink); outline-offset: .65rem; }
.map-place:hover .location-hint, .map-place:focus-visible .location-hint { opacity: 1; border-color: var(--ink); }

.ceremony { padding: clamp(1rem, 2vw, 2rem) 0 clamp(6rem, 12vw, 10rem); }
.ceremony-copy {
  width: 80%;
  margin-inline: auto;
  padding-left: clamp(1.5rem, 3vw, 2.75rem);
  border-left: 1px solid var(--line);
}
.ceremony-copy p {
  max-width: none;
  margin: 0 0 1.6rem;
}
.ceremony-copy p:last-child { margin-bottom: 0; }
.ceremony-tomatoes {
  display: flex;
  width: 80%;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  justify-content: flex-end;
  pointer-events: none;
}
.ceremony-tomatoes img { width: clamp(6rem, 9vw, 8.5rem); height: auto; transform: rotate(-8deg); }

.rsvp {
  padding-block: clamp(6rem, 10vw, 9rem);
  color: var(--paper-light);
  background: var(--ink);
}
.rsvp-page { background: var(--ink); }
.rsvp-page main { min-height: 100svh; }
.rsvp-page .rsvp { min-height: 100svh; padding-top: clamp(8rem, 11vw, 9.5rem); }
.rsvp-shell { width: min(720px, calc(100% - 2.5rem)); }
.rsvp-intro { margin: 0 auto clamp(2.25rem, 5vw, 3.5rem); text-align: center; }
.rsvp-intro .kicker { margin-bottom: 1rem; color: inherit; opacity: .72; }
.rsvp-intro h1 {
  margin: 0;
  color: inherit;
  font-family: var(--script);
  font-size: clamp(2.65rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.035em;
  transform: rotate(-1.5deg);
}
.rsvp-event-details { margin-top: 1.6rem; color: rgba(247,243,240,.86); font-size: 1.12rem; }
.rsvp-event-details p { margin: 0; }
.rsvp-card {
  width: 100%;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  border-radius: 1.45rem;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 0 1.4rem 4rem rgba(10,12,28,.18);
}
.attendance-choice { margin: 0; padding: 0; border: 0; }
.attendance-choice legend {
  width: 100%;
  margin: 0 0 .8rem;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}
.attendance-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.attendance-option { position: relative; display: block; cursor: pointer; }
.attendance-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.attendance-option span {
  min-height: 3.2rem;
  display: grid;
  place-items: center;
  padding: .65rem .8rem;
  border: 1px solid rgba(41,45,70,.28);
  border-radius: .8rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.attendance-option input:checked + span { color: var(--paper-light); border-color: var(--ink); background: var(--ink); }
.attendance-option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.rsvp-details { margin-top: 1.5rem; }
.guest-list { display: grid; gap: 1rem; }
.guest-card {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 1.15rem;
  border: 1px solid rgba(41,45,70,.2);
  border-radius: 1rem;
}
.guest-card legend {
  margin-inline: auto;
  padding-inline: .55rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.guest-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.form-field { display: grid; align-content: start; gap: .45rem; margin: 0; min-width: 0; border: 0; padding: 0; }
.form-field--wide { grid-column: 1 / -1; }
.form-field > span {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.form-field small { font: inherit; opacity: .62; }
.form-field input:not([type="radio"]), .form-field select, .form-field textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(41,45,70,.24);
  border-radius: .72rem;
  color: var(--ink);
  background: rgba(255,255,255,.32);
  font: inherit;
  font-size: 1.15rem;
  line-height: 1.35;
}
.form-field textarea { min-height: 7rem; resize: vertical; }
.form-field select { color-scheme: light; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-color: var(--ink);
}
.message-field { margin-top: 1.4rem; }
.contact-field { margin-bottom: 1rem; }
.form-help { color: var(--ink-soft); font-size: .98rem; line-height: 1.45; }
.duplicate-review {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 1.15rem;
  border: 1px solid rgba(132,46,46,.38);
  border-radius: 1rem;
  background: rgba(132,46,46,.045);
}
.duplicate-review[hidden] { display: none; }
.duplicate-review h2 { margin: 0; font-size: 1.35rem; font-weight: 600; }
.duplicate-review > p { margin: 0; }
.duplicate-review-list { display: grid; gap: .8rem; }
.duplicate-review-person { display: grid; gap: .4rem; }
.duplicate-review-person strong { font-weight: 600; }
.duplicate-review-person input {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .8rem;
  border: 1px solid rgba(41,45,70,.24);
  border-radius: .72rem;
  color: var(--ink);
  background: rgba(255,255,255,.52);
  font: inherit;
}
.duplicate-confirmation { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .65rem; cursor: pointer; }
.duplicate-confirmation input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--ink); }
.duplicate-review .duplicate-review-help { color: var(--ink-soft); font-size: .88rem; }
.add-guest, .remove-guest {
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.add-guest { margin-top: 1rem; padding: .25rem 0; }
.remove-guest { position: absolute; top: .7rem; right: .8rem; padding: .25rem; color: var(--ink-soft); font-size: .9rem; }
.add-guest:hover, .add-guest:focus-visible, .remove-guest:hover, .remove-guest:focus-visible { text-decoration-thickness: 2px; }
.rsvp-preview { margin: 1.5rem 0 .9rem; color: var(--ink-soft); font-size: .98rem; }
.rsvp-submit {
  width: 100%;
  min-height: 3.35rem;
  padding: .75rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: .8rem;
  color: var(--paper-light);
  background: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.rsvp-submit:hover, .rsvp-submit:focus-visible { color: var(--ink); background: transparent; }
.rsvp-submit:disabled { cursor: wait; opacity: .6; }
.rsvp-status { margin: 1.1rem 0 0; color: var(--ink); text-align: center; }

.caceres-copy { width: 80%; max-width: none; margin-inline: auto; padding-left: clamp(1.5rem, 3vw, 2.75rem); border-left: 1px solid var(--line); }
.caceres-copy p:last-child { margin-bottom: 0; }
.caceres-wine { display: none; }
.caceres-copy strong { font-weight: 700; }
.caceres-copy .caceres-lead { margin-top: 2.25rem; font-size: 1.12em; font-style: italic; }
.gift-carnations { width: min(240px, 52%); margin: clamp(2rem, 4vw, 3rem) auto 0; }
.gift-carnations img { width: 100%; height: auto; }
.caceres-landmark {
  width: 80%;
  margin: 0 auto;
}
.caceres-landmark img {
  display: block;
  width: 100%;
  height: auto;
}

.useful { padding-block: clamp(6rem, 11vw, 9rem); }
.useful-flow { display: grid; gap: clamp(3.75rem, 7vw, 6.5rem); }
.useful-caceres { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.useful-row { display: grid; grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(1.5rem, 5vw, 5.25rem); }
.useful-row--reverse { grid-template-columns: minmax(0, 1.28fr) minmax(180px, .72fr); }
.useful-row__art { min-height: 12rem; display: grid; place-items: center; margin: 0; }
.useful-row__copy { width: 100%; max-width: 56ch; }
.useful-row--reverse .useful-row__copy { justify-self: end; }
.useful-row__copy p:last-child { margin-bottom: 0; }

.gift { padding: clamp(1rem, 2vw, 2rem) 0 clamp(6rem, 11vw, 9rem); }
.gift .section-heading { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.gift-visual {
  width: min(90%, 1180px);
  margin: 0 auto clamp(2.75rem, 5vw, 4.5rem);
}
.gift-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.gift-copy {
  width: 80%;
  margin-inline: auto;
  text-align: center;
}
.gift-copy p {
  max-width: 68ch;
  margin: 0 auto 1.25rem;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.8;
  letter-spacing: .08em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
.gift-copy p:last-child { margin-bottom: 0; }
.gift-copy .gift-iban {
  margin-top: 1.75rem;
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
  letter-spacing: .15em;
  text-align: center;
}
.useful-triptych {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(4rem, 9vw, 7rem);
  width: min(960px, 100%);
  margin-inline: auto;
}
.useful-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  text-align: left;
}
.useful-card .useful-row__art { grid-column: 1; min-height: 0; }
.useful-card .useful-row__copy { grid-column: 2; max-width: 48ch; margin: 0; }
.useful-card:nth-child(even) .useful-row__art { transform: translateY(1.2rem) rotate(-3deg); }
.useful-card:nth-child(odd) .useful-row__art { transform: translateY(-.6rem) rotate(2deg); }
.useful-card-title {
  margin: 0 0 .9rem;
  font-family: var(--script);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.5;
}

.category-icon {
  display: block;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  pointer-events: none;
}
.category-icon--key,
.category-icon--dryer,
.category-icon--dress {
  width: 10rem;
  height: 10rem;
}
.useful-card--dress .category-icon--dress { width: 9.25rem; height: 9.25rem; }

.closing-panorama { overflow: hidden; background: var(--paper-light); }
.caceres-panorama { width: min(1340px, 116vw); margin: 0 auto; transform: translateX(-1%); }

footer { display: grid; justify-items: center; gap: 1rem; padding: clamp(4rem, 8vw, 7rem) 1.25rem 3rem; border-top: 1px solid var(--line); text-align: center; }
footer img { width: min(260px, 56vw); }
footer p, footer a { margin: 0; font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; }
footer a { text-underline-offset: .35em; }

.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; }

@media (max-width: 860px) {
  nav { display: none; }
  .manifesto-columns, .useful-row, .useful-row--reverse { grid-template-columns: 1fr; }
  .ceremony-copy { width: min(640px, 100%); display: block; padding: 0 0 2rem; border-left: 0; border-bottom: 1px solid var(--line); }
  .ceremony-copy p { max-width: 45ch; margin: 0 auto 1.6rem; padding-left: 0; border-left: 0; }
  .ceremony-copy p:last-child { margin-bottom: 0; }
  .caceres-copy { width: 100%; max-width: 56ch; padding-left: 0; border-left: 0; }
  .useful-flow { gap: 3.5rem; }
  .useful-row, .useful-row--reverse { gap: 1.25rem; }
  .useful-triptych { gap: 3.5rem; }
  .useful-card { grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 3.5rem); }
  .useful-row__art { min-height: 9rem; grid-row: 1; }
  .useful-row__copy { max-width: none; grid-row: 2; justify-self: stretch; }
  .useful-card .useful-row__art { grid-column: 1; grid-row: 1; min-height: 0; }
  .useful-card .useful-row__copy { grid-column: 2; grid-row: 1; max-width: 48ch; justify-self: start; }
}

@media (max-width: 640px) {
  :root {
    --mobile-paragraph-gap: 1.5rem;
    --mobile-block-gap: 3rem;
    --mobile-section-edge: 1.5rem;
    --mobile-useful-card-gap: .75rem;
  }
  body { line-height: 1.64; }
  .section-heading h2 { font-size: clamp(2rem, 10vw, 2.5rem); }
  .hero {
    min-height: 100svh;
    grid-template-rows: repeat(4, auto);
    align-content: space-evenly;
    gap: 0;
    padding: 4.75rem 1rem 1.25rem;
  }
  .hero-title h1 { font-size: clamp(2.2rem, 9.2vw, 2.8rem); }
  .hero-illustration { width: 100%; height: auto; min-width: 0; margin: 0; transform: scale(1.04); }
  .hero-illustration img { height: auto; }
  .countdown { width: 100%; max-width: 100%; align-self: auto; }
  .countdown-grid > span { padding-inline: .2rem; }
  .countdown small { font-size: .55rem; letter-spacing: .08em; }
  .hero-date { gap: .55rem; }
  .date-words { padding-left: .6rem; font-size: .64rem; letter-spacing: .13em; }
  .date-place { margin-left: .25rem; font-size: clamp(1rem, 4.8vw, 1.3rem); }
  .manifesto-columns { gap: 0; }
  .rsvp-page .rsvp { padding-top: 7.5rem; }
  .header-rsvp { padding: .6rem .8rem; font-size: .78rem; letter-spacing: .06em; }
  .form-field--wide { grid-column: auto; }
  .guest-fields { grid-template-columns: 1fr; }
  .guest-card { padding: 1rem; }
  .attendance-option span { padding-inline: .45rem; font-size: 1.05rem; }
  .couple-photo-break { width: calc(100% - 1.5rem); aspect-ratio: 1915 / 821; }
  .map-stage { width: min(100% - 1.5rem, 520px); }
  .vector-map__streets--desktop { display: none; }
  .vector-map__streets--mobile { display: block; }
  .map-composition { width: 100%; }
  .vector-map__streets { opacity: .56; }
  .map-route__trail { stroke-width: 5.8; stroke-dasharray: .1 15.5; opacity: .68; }
  .map-route .map-route__halo { stroke-width: 10; opacity: .9; }
  .map-place-name { font-size: clamp(.9rem, 3.8vw, 1.1rem); }
  .location-hint { margin-top: .3rem; font-size: .62rem; }
  .caceres-landmark { width: 80%; margin-top: 0; }
  .ceremony { padding: 1rem 0 var(--mobile-section-edge); }
  .ceremony-copy { padding-bottom: 0; border-bottom: 0; }
  .ceremony-copy p {
    margin-bottom: var(--mobile-paragraph-gap);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }
  .ceremony-tomatoes {
    display: flex;
    width: 100%;
    margin: 2rem 0 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
  }
  .ceremony-tomatoes img {
    width: 24vw;
    max-width: 7.5rem;
    height: auto;
  }
  .useful { overflow: visible; padding: var(--mobile-section-edge) 0 6rem; }
  .useful .section-heading { margin-bottom: var(--mobile-block-gap); }
  .useful-flow { gap: var(--mobile-block-gap); }
  .useful-triptych { gap: 3.75rem; }
  .useful-card {
    display: grid;
    grid-template-columns: 5.8rem minmax(0, 1fr);
    align-items: center;
    gap: 1.15rem;
    min-height: 0;
    padding: 0;
    text-align: left;
  }
  .useful-card .useful-row__art {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    transform: none;
  }
  .useful-card .useful-row__copy {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
  }
  .useful-card .useful-row__copy p {
    max-width: none;
    margin: 0 auto var(--mobile-paragraph-gap);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }
  .useful-card .useful-row__copy p:last-child { margin-bottom: 0; }
  .useful-card-title { margin-bottom: .65rem; }
  .useful-card .category-icon--key,
  .useful-card .category-icon--dryer { width: 5.8rem; height: 5.8rem; }
  .useful-card--dress .category-icon--dress { width: 4.9rem; height: 4.9rem; }
  .useful-caceres { gap: 1rem; }
  .caceres-copy {
    width: 100%;
    max-width: none;
    padding: 0;
    text-align: left;
  }
  .caceres-copy p {
    max-width: 45ch;
    margin: 0 auto var(--mobile-paragraph-gap);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }
  .caceres-copy p:last-child { margin-bottom: 0; }
  .caceres-wine {
    display: none;
  }
  .caceres-panorama { width: 150vw; margin-left: -25vw; }
  .gift { padding: 0 0 var(--mobile-section-edge); }
  .gift .section-heading { margin-bottom: var(--mobile-block-gap); }
  .gift-visual {
    width: 100vw;
    margin: 0 0 var(--mobile-block-gap) calc(50% - 50vw);
  }
  .gift-copy { width: 100%; }
  .gift-copy p {
    max-width: 34ch;
    margin-bottom: var(--mobile-paragraph-gap);
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: .035em;
  }
  .gift-copy .gift-iban {
    margin-top: 1.5rem;
    font-size: .84rem;
    letter-spacing: .1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
