@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;700&family=Italiana&display=swap");

:root {
  --ink: #246d9f;
  --cream: #fff0d7;
  --paper: #d6efff;
  --accent: #fed18c;
  --coral: #fe654f;
  --coral-dark: #bd4035;
  --line: rgba(23, 59, 50, .2);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .23em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h2 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(54px, 7.5vw, 112px);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.04em;
}
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
}
.section {
  position: relative;
  padding: 150px max(6vw, 34px);
}
.section__number {
  position: absolute;
  top: 42px;
  right: 5vw;
  font-size: 11px;
  letter-spacing: .2em;
}
.section__number::before {
  content: "";
  display: inline-block;
  width: 55px;
  height: 1px;
  margin: 0 14px 3px 0;
  background: currentColor;
}

/* Hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  color: white;
  background: #4d5545 url("assets/portada-2000.webp") center 42% / cover no-repeat;
  overflow: hidden;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 25, 21, .38), transparent 30%, rgba(10, 25, 21, .46)),
    linear-gradient(90deg, rgba(10, 25, 21, .15), transparent 65%);
}
.nav {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 4vw;
  background-color: #000000d4;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}
.nav__monogram {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-family: var(--serif);
  font-size: 25px;
}
.nav__monogram span, .footer i, .registry-hero__stamp i span { font-family: Georgia, serif; font-style: italic; }
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  position: relative;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: white;
  transition: right .3s ease;
}
.nav__links a:hover::after { right: 0; }
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav__toggle-lines,
.nav__toggle-lines::before,
.nav__toggle-lines::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform .28s ease;
}
.nav__toggle-lines { position: relative; }
.nav__toggle-lines::before,
.nav__toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav__toggle-lines::before { top: -7px; }
.nav__toggle-lines::after { top: 7px; }
.nav.is-open .nav__toggle-lines { background: transparent; }
.nav.is-open .nav__toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle-lines::after { top: 0; transform: rotate(-45deg); }
.nav__toggle:focus-visible {
  outline: 1px solid white;
  outline-offset: 3px;
}
.hero__content {
  position: absolute;
  z-index: 2;
  left: 6vw;
  right: 6vw;
  bottom: 82px;
  text-align: center;
}
.hero__content .eyebrow { margin-bottom: 16px; }
.hero__title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 38px);
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(78px, 13vw, 210px);
  font-weight: 400;
  line-height: .72;
  letter-spacing: -.055em;
  white-space: nowrap;
  text-shadow: 0 3px 30px rgba(0, 0, 0, .12);
}
.hero__title i {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: .63em;
  font-weight: 400;
}
.hero__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 44px;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 27px);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__line { width: 50px; height: 1px; background: rgba(255, 255, 255, .7); }
.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 26px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
}
.scroll-cue__mouse {
  position: relative;
  display: block;
  width: 24px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 14px;
}
.scroll-cue__mouse i {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 2px;
  height: 7px;
  background: white;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: mouse-wheel 1.7s ease-in-out infinite;
}
@keyframes mouse-wheel {
  0% { opacity: 0; transform: translate(-50%, -2px); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* Intro */
.intro {
  min-height: 1100px;
  background: var(--paper);
}
.intro__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.intro__content h2 em { color: var(--coral); }
.intro__copy {
  max-width: 590px;
  margin: 0 auto 55px;
  font-size: 17px;
  line-height: 1.8;
}
.date-lockup {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
  font-size: 15px;
  text-align: left;
}
.date-lockup__day {
  font-family: var(--serif);
  font-size: 72px;
}
.date-lockup__text, .date-lockup__time {
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.date-lockup__divider { width: 1px; height: 40px; background: var(--line); }
.date-lockup__time small { font-size: 8px; }
.journey-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 245px));
  justify-content: center;
  column-gap: clamp(28px, 6vw, 88px);
  align-items: center;
  max-width: 1100px;
  margin: 105px auto 0;
}
.journey-photo {
  position: relative;
  display: block;
  width: 100%;
  max-width: 245px;
  margin: 0;
  padding: 9px 9px 15px;
  border: 0;
  color: inherit;
  background: white;
  box-shadow: 0 18px 40px rgba(23, 59, 50, .12);
  font: inherit;
  text-align: left;
  min-width: 0;
  cursor: pointer;
  appearance: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.journey-photo.is-lifted { visibility: hidden; }
.journey-photo:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 5px;
}
.journey-photo--one { transform: rotate(-4deg); }
.journey-photo--two { transform: translateY(38px) rotate(2deg); }
.journey-photo--three { transform: translateY(-8px) rotate(4deg); }
.journey-photo__image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  filter: saturate(.72);
}
.journey-photo__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey-photo__caption {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 12px 4px 0;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}
.journey-photo__caption span {
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
  letter-spacing: .14em;
}

/* Countdown */
.countdown {
  padding: 65px 6vw 75px;
  color: var(--cream);
  background: var(--ink);
  text-align: center;
}
.countdown__grid {
  display: flex;
  justify-content: center;
  gap: clamp(25px, 8vw, 120px);
}
.countdown__grid div { position: relative; min-width: 95px; }
.countdown__grid div:not(:last-child)::after {
  content: "·";
  position: absolute;
  top: 3px;
  right: clamp(-60px, -4vw, -20px);
  color: var(--accent);
  font-size: 36px;
}
.countdown strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  line-height: 1;
}
.countdown span {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Venue */
.details { padding-bottom: 200px; background: var(--cream); }
.details__heading { max-width: 810px; margin-bottom: 80px; }
.details__heading h2 em { color: var(--coral); }
.details__card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  max-width: 1180px;
  min-height: 470px;
  margin: auto;
  background: var(--paper);
  box-shadow: 0 25px 70px rgba(23, 59, 50, .1);
}
.details__map {
  min-height: 470px;
  overflow: hidden;
}
.details__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 0;
}
.details__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 48px 42px;
}
.venue-detail {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 16px;
  align-items: start;
}
.venue-detail > svg {
  width: 18px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .55;
}
.venue-detail h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.venue-detail p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}
.button {
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 17px 20px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: .3s ease;
}
.button span { font-size: 17px; }
.button--dark { color: var(--cream); background: var(--ink); }
.button--dark:hover { color: var(--ink); background: transparent; }
.details__info .button { gap: 11px; margin-top: 2px; }
.details__info .button svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Timeline */
.schedule { color: var(--cream); background: var(--ink); }
.section__number--light { color: var(--cream); }
.schedule__heading { text-align: center; }
.schedule__heading h2 { color: var(--accent); }
.timeline { position: relative; max-width: 820px; margin: 85px auto 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 42px;
  left: 50%;
  width: 2px;
  background: var(--cream);
  transform: translateX(-50%);
}
.timeline li {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
  min-height: 190px;
}
.timeline__content {
  grid-column: 1;
  padding: 0 28px 0 0;
  text-align: right;
}
.timeline li:nth-child(even) .timeline__content {
  grid-column: 3;
  padding: 0 0 0 28px;
  text-align: left;
}
.timeline time {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: bold;
  letter-spacing: .12em;
}
.timeline__dot {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  background: var(--ink);
  border: 2px solid var(--cream);
  border-radius: 50%;
}
.timeline__dot::before,
.timeline__dot::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 7px;
  height: 11px;
  background: var(--cream);
  border-radius: 7px 7px 0 0;
}
.timeline__dot::before { left: 5px; transform: rotate(-45deg); transform-origin: 0 100%; }
.timeline__dot::after { right: 5px; transform: rotate(45deg); transform-origin: 100% 100%; }
.timeline__icon {
  grid-column: 3;
  grid-row: 1;
  width: 95px;
  margin-left: 48px;
  color: var(--cream);
}
.timeline li:nth-child(even) .timeline__icon {
  grid-column: 1;
  justify-self: end;
  margin: 0 48px 0 0;
}
.timeline__icon svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.timeline h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: bold;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.timeline p { margin-bottom: 0; color: rgba(255,240,215,.72); font-size: 12px; line-height: 1.55; }

/* Music */
.music {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9vw;
  min-height: 740px;
  color: var(--ink);
  background: var(--accent);
}
.music__vinyl-wrap {
  position: relative;
  aspect-ratio: 1;
  max-width: 510px;
}
.music__vinyl {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #17211d 0 3px, #0e1713 4px 7px);
  box-shadow: 18px 25px 45px rgba(23,59,50,.24);
  animation: spin 8s linear infinite;
  animation-play-state: paused;
}
.music.is-playing .music__vinyl { animation-play-state: running; }
.music__vinyl::after {
  content: "";
  position: absolute;
  inset: 49%;
  background: var(--paper);
  border-radius: 50%;
}
.music__vinyl div {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  background: var(--coral);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 40px);
}
.music__vinyl i { font-family: Georgia, serif; }
.music__arm {
  position: absolute;
  z-index: 3;
  top: 2%;
  right: 1%;
  width: 16%;
  aspect-ratio: 1;
  background: #d7d2c7;
  border: 7px solid #252d29;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(23,59,50,.25);
}
.music__arm::before {
  content: "";
  position: absolute;
  top: 60%;
  left: 45%;
  width: 9px;
  height: 65%;
  background: #d7d2c7;
  border: 2px solid #252d29;
  transform: rotate(22deg);
  transform-origin: top center;
}
.music__arm i {
  position: absolute;
  top: 109%;
  left: 62%;
  width: 18px;
  height: 35px;
  background: var(--coral);
  border: 2px solid #252d29;
  transform: rotate(22deg);
}
.music__note {
  position: absolute;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 29px;
  opacity: 0;
}
.music__note--one { top: 12%; left: -3%; }
.music__note--two { top: -3%; left: 12%; font-size: 22px; }
.music.is-playing .music__note { animation: float-note 2.7s ease-in-out infinite; }
.music.is-playing .music__note--two { animation-delay: .8s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float-note {
  0% { opacity: 0; transform: translateY(18px) rotate(-8deg); }
  35%, 70% { opacity: .8; }
  100% { opacity: 0; transform: translateY(-22px) rotate(8deg); }
}
.music__content { max-width: 590px; }
.music__content h2 { font-size: clamp(52px, 6vw, 92px); }
.music__content p:not(.eyebrow) { max-width: 480px; margin-bottom: 35px; line-height: 1.8; }
.button--accent { background: transparent; }
.button--accent:hover { color: var(--accent); background: var(--ink); }

/* Information */
.info { min-height: 810px; background: var(--paper); }
.info__heading { text-align: center; }
.info__heading .eyebrow { color: var(--coral); }
.info__heading h2 { color: var(--ink); }
.info__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 75px auto 0;
}
.info-card {
  position: relative;
  min-height: 290px;
  padding: 34px;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--cream);
  text-align: center;
}
.info-card > span { position: absolute; top: 18px; left: 20px; font-size: 9px; letter-spacing: .15em; }
.info-card__icon {
  display: block;
  width: 62px;
  height: 62px;
  margin: 18px auto 28px;
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.info-card p { margin: auto; max-width: 240px; font-size: 13px; line-height: 1.65; }

/* Gifts */
.gifts {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 7vw;
  color: var(--cream);
  background: var(--coral-dark);
}
.gifts__content { align-self: center; }
.gifts__content h2 { font-size: clamp(48px, 5vw, 78px); }
.gifts__content p:not(.eyebrow) { max-width: 430px; line-height: 1.8; }
.gift-options { display: grid; grid-template-columns: repeat(2, 1fr); }
.gift-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 22px;
  border: 1px solid rgba(241,234,220,.55);
  transition: .35s ease;
}
.gift-card + .gift-card { border-left: 0; }
.gift-card__icon { position: absolute; top: 55px; left: 50%; font-family: var(--serif); font-size: 55px; transform: translateX(-50%); }
.gift-card__icon svg { display: block; width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gift-card small { margin-bottom: 10px; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.gift-card h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.2; }
.gift-card__arrow { position: absolute; right: 20px; bottom: 25px; font-size: 18px; }
.gifts__content .button { margin-top: 12px; }
.button--cream { color: var(--cream); background: transparent; }
.button--cream:hover { color: var(--coral-dark); background: var(--cream); }

/* Gift registry */
.registry-hero {
  position: relative;
  display: flex;
  min-height: 82svh;
  align-items: center;
  padding: 170px max(6vw, 34px) 110px;
  color: var(--cream);
  background: var(--coral-dark);
  overflow: hidden;
}
.registry-hero__content { position: relative; z-index: 2; max-width: 1040px; }
.registry-hero h1 {
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 124px);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.04em;
}
.registry-hero h1 em { color: var(--accent); font-family: Georgia, serif; font-style: italic; }
.registry-hero__content > p:not(.eyebrow) { max-width: 540px; margin-bottom: 0; font-size: 17px; line-height: 1.8; }
.registry-hero__stamp {
  position: absolute;
  right: 7vw;
  bottom: 70px;
  display: grid;
  width: 150px;
  height: 150px;
  place-content: center;
  gap: 4px;
  border: 1px dashed rgba(255, 240, 215, .7);
  border-radius: 50%;
  outline: 1px solid rgba(255, 240, 215, .35);
  outline-offset: 7px;
  text-align: center;
  transform: rotate(-12deg);
  transition: transform .4s ease;
}
.registry-hero__stamp:hover { transform: rotate(-4deg) scale(1.04); }
.registry-hero__stamp > span { font-size: 9px; font-weight: 500; letter-spacing: .2em; }
.registry-hero__stamp i { color: var(--accent); font-family: var(--serif); font-size: 34px; font-style: normal; }
.nav__links a[aria-current="page"]::after { right: 0; }

.registry { background: var(--paper); }
.registry__heading { text-align: center; }
.registry__heading .eyebrow { color: var(--coral); }
.registry__heading h2 em { color: var(--coral); }
.registry__toolbar { margin: 10px auto 60px; }
.registry__toolbar[hidden] { display: none; }
.registry__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.chip {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.chip__count {
  margin-left: 4px;
  font-size: .9em;
  letter-spacing: .04em;
  opacity: .6;
}
.chip.is-active { color: var(--cream); background: var(--ink); }
.chip.is-active .chip__count { color: var(--accent); opacity: 1; }
.chip:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.registry__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.ticket {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 18px 40px rgba(23, 59, 50, .1);
}
.ticket.reveal { transition: opacity .8s ease, transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease; }
.ticket[hidden] { display: none; }
.ticket.is-visible.is-entering { animation: ticket-in .45s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes ticket-in {
  from { opacity: 0; transform: translateY(14px); }
}
.ticket__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 30px;
}
.ticket__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(36, 109, 159, .25);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ticket__meta span:last-child { color: var(--coral-dark); }
.ticket__icon {
  display: block;
  width: 70px;
  height: 70px;
  margin: 30px auto 24px;
  fill: none;
  stroke: var(--coral);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.ticket h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.12;
  text-align: center;
}
.ticket__main p { margin: 0 auto; max-width: 230px; font-size: 13px; line-height: 1.6; text-align: center; opacity: .8; }
.ticket__stub {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-top: 2px dashed rgba(36, 109, 159, .3);
  transition: background .35s ease;
}
.ticket__stub::before,
.ticket__stub::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 22px;
  height: 22px;
  background: var(--paper);
  border-radius: 50%;
}
.ticket__stub::before { left: -11px; }
.ticket__stub::after { right: -11px; }
.ticket__amount small {
  display: block;
  margin-bottom: 3px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ticket__amount strong { font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: .02em; }
.ticket__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  color: var(--cream);
  background: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: .3s ease;
}
.ticket__button span { font-size: 15px; }
.ticket__button:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.free-amount { color: var(--cream); background: var(--ink); text-align: center; }
.free-amount__content { max-width: 720px; margin: 0 auto; }
.free-amount h2 { color: var(--accent); }
.free-amount h2 em { color: var(--cream); }
.free-amount__content > p:not(.eyebrow) { max-width: 470px; margin: 0 auto 38px; line-height: 1.8; }
.free-amount .button { margin: 0 auto; }

.registry-thanks { background: var(--accent); text-align: center; }
.registry-thanks__content { max-width: 760px; margin: 0 auto; }
.registry-thanks h2 { font-size: clamp(48px, 6vw, 92px); }
.registry-thanks h2 em { color: var(--coral-dark); }
.registry-thanks__content > p:not(.eyebrow) { max-width: 470px; margin: 0 auto 38px; line-height: 1.8; }
.registry-thanks .button { margin: 0 auto; }

/* RSVP — sin padding de .section para foto y panel a borde */
.rsvp.section { padding: 0; }
.rsvp { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 750px; }
.rsvp__photo {
  display: block;
  min-height: 680px;
  overflow: hidden;
  background: #4d5545;
}
.rsvp__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(.72);
}
.rsvp__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vw;
  color: var(--cream);
  background: var(--ink);
}
.rsvp__panel h2 { color: var(--accent); font-size: clamp(60px, 7vw, 100px); }
.rsvp__panel > p:not(.eyebrow) { max-width: 420px; margin-bottom: 35px; line-height: 1.7; }
.button--light { color: var(--ink); background: var(--cream); }
.button--light:hover { color: var(--cream); background: transparent; }

/* Footer */
.footer { padding: 100px 6vw 28px; color: var(--ink); background: var(--cream); text-align: center; }
.footer > p { margin-bottom: 5px; font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.footer > a { font-family: var(--serif); font-size: clamp(55px, 10vw, 150px); letter-spacing: -.04em; }
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.footer__bottom span:first-child { justify-self: start; font-family: var(--serif); font-size: 18px; text-transform: none; }
.footer__bottom a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: end;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-photo {
  opacity: 0;
  transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal-photo.is-visible { opacity: 1; }

@media (max-width: 900px) {
  .section { padding: 110px 7vw; }
  .hero__title { flex-direction: column; gap: 14px; font-size: clamp(82px, 20vw, 145px); line-height: .62; }
  .hero__title i { position: absolute; font-size: .4em; }
  .hero__meta { margin: 18px 0 30px; }
  .intro__content { padding: 0 50px; }
  .details__card { grid-template-columns: 1fr; max-width: 680px; }
  .details__info { padding: 45px; }
  .details__map { min-height: 400px; }
  .details__map iframe { min-height: 400px; }
  .music { grid-template-columns: .85fr 1.15fr; gap: 6vw; }
  .gifts { grid-template-columns: 1fr; }
  .gifts__content { max-width: 620px; }
  .gift-card { min-height: 340px; }
  .rsvp { grid-template-columns: 1fr 1fr; }
  .registry-hero { min-height: 0; padding-bottom: 220px; }
  .registry-hero__stamp { bottom: 50px; width: 120px; height: 120px; }
  .registry-hero__stamp i { font-size: 28px; }
  .registry__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-size: 12px;
    letter-spacing: .22em;
  }
  .nav__links a:last-child { border-bottom: 0; color: var(--accent); }
  .nav__links a::after { display: none; }
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) .nav__links { flex-basis: 100%; padding-top: 8px; }
  html.js .nav__toggle { display: flex; }
  html.js .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 4px 28px 14px;
    background: rgba(0, 0, 0, .9);
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  html.js .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .hero {
    min-height: 0;
    background-image: url("assets/portada-900.webp");
  }
  .hero__content { left: 14px; right: 14px; }
  .hero__title { font-size: clamp(70px, 25vw, 110px); }
  .hero__meta { gap: 10px; font-size: 11px; letter-spacing: .15em; }
  .hero__line { width: 22px; }
  h2 { font-size: clamp(48px, 17vw, 78px); }
  .section { padding: 100px 24px; }
  .section__number { top: 28px; }
  .intro { min-height: 850px; }
  .intro__content { padding: 0; }
  .intro__copy { font-size: 15px; }
  .journey-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
    margin-top: 70px;
  }
  .journey-photo { padding: 5px 5px 9px; }
  .journey-photo--one { transform: rotate(-3deg); }
  .journey-photo--two { transform: translateY(20px) rotate(2deg); }
  .journey-photo--three { transform: translateY(-4px) rotate(3deg); }
  .journey-photo__image { background-size: cover; }
  .journey-photo__caption {
    display: block;
    min-height: 34px;
    padding-top: 7px;
    font-size: 10px;
    line-height: 1.2;
  }
  .journey-photo__caption span { display: block; margin-bottom: 3px; font-size: 6px; }
  .date-lockup__day { font-size: 55px; }
  .countdown { padding-inline: 16px; }
  .countdown__grid { gap: 7px; }
  .countdown__grid div { min-width: 70px; }
  .countdown strong { font-size: 42px; }
  .countdown span { font-size: 7px; letter-spacing: .1em; }
  .countdown__grid div:not(:last-child)::after { display: none; }
  .details { padding-bottom: 100px; }
  .details__heading { margin-bottom: 45px; }
  .details__map { display: none; }
  .details__info { gap: 27px; padding: 36px 28px; }
  .venue-detail { gap: 13px; }
  .schedule__heading { margin-top: 30px; }
  .timeline { margin-top: 55px; }
  .timeline::before { left: 20px; transform: none; }
  .timeline li {
    grid-template-columns: 40px minmax(0, 1fr) 48px;
    min-height: 140px;
  }
  .timeline__content,
  .timeline li:nth-child(even) .timeline__content {
    grid-column: 2;
    grid-row: 1;
    padding: 0 12px 0 0;
    text-align: left;
  }
  .timeline time { font-size: 16px; letter-spacing: .07em; }
  .timeline h3 { font-size: 20px; }
  .timeline p { display: block; font-size: 11px; line-height: 1.45; }
  .timeline__dot {
    grid-column: 1;
    grid-row: 1;
    width: 20px;
    height: 20px;
  }
  .timeline__dot::before, .timeline__dot::after { top: 6px; }
  .timeline__dot::before { left: 3px; }
  .timeline__dot::after { right: 3px; }
  .timeline__icon,
  .timeline li:nth-child(even) .timeline__icon {
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    margin: 0;
    justify-self: end;
  }
  .music { display: flex; min-height: auto; flex-direction: column; gap: 65px; }
  .music__vinyl-wrap { width: 80vw; order: 2; }
  .music__content { order: 1; }
  .info__grid { grid-template-columns: 1fr; }
  .gift-options { grid-template-columns: 1fr; }
  .gift-card { min-height: 260px; }
  .gift-card + .gift-card { border-top: 0; border-left: 1px solid rgba(241,234,220,.55); }
  .rsvp { grid-template-columns: 1fr; }
  .rsvp__photo { min-height: 55vh; }
  .rsvp__panel { min-height: 560px; padding: 70px 28px; }
  .footer { padding-top: 70px; }
  .footer__bottom { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 55px; }
  .footer__bottom span:nth-child(2) { display: none; }
  .registry-hero { padding: 130px 24px 190px; }
  .registry-hero h1 { font-size: clamp(48px, 15vw, 78px); }
  .registry-hero__content > p:not(.eyebrow) { font-size: 15px; }
  .registry-hero__stamp { right: 24px; bottom: 44px; width: 104px; height: 104px; }
  .registry-hero__stamp > span { font-size: 7px; }
  .registry-hero__stamp i { font-size: 24px; }
  h1, h2 { text-wrap: balance; }
  .free-amount h2 { font-size: 48px; }
  .registry__toolbar {
    position: sticky;
    top: -1px;
    z-index: 5;
    margin: 0 -24px 26px;
    padding: 11px 0 10px;
    background: var(--paper);
    transition: box-shadow .3s ease;
  }
  .registry__toolbar.is-stuck { box-shadow: 0 12px 24px -10px rgba(23, 59, 50, .22); }
  .registry__filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding-left: 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 32px), transparent);
  }
  .registry__filters::-webkit-scrollbar { display: none; }
  .registry__filters::after { content: ""; flex: none; width: 16px; }
  .chip { flex: none; padding: 0 15px; font-size: 9px; letter-spacing: .14em; }
  .registry__grid { grid-template-columns: 1fr; gap: 16px; }
  .ticket { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .ticket:active { transform: scale(.985); box-shadow: 0 10px 24px rgba(23, 59, 50, .12); transition-duration: .15s; }
  .ticket:active .ticket__stub { background: var(--accent); }
  .ticket__main {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    padding: 16px 20px 20px;
  }
  .ticket__meta { grid-column: 1 / -1; margin-bottom: 16px; padding-bottom: 11px; font-size: 8px; }
  .ticket__icon { grid-row: 2 / span 2; width: 52px; height: 52px; margin: 0; }
  .ticket h3 { grid-column: 2; margin-bottom: 5px; font-size: 22px; text-align: left; text-wrap: balance; }
  .ticket__main p { grid-column: 2; max-width: none; margin: 0; font-size: 12px; line-height: 1.5; text-align: left; }
  .ticket__stub { padding: 12px 20px; }
  .ticket__amount strong { font-size: 24px; }
}

.polaroid-viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}
.polaroid-viewer.is-active { pointer-events: auto; }
.polaroid-viewer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(18, 42, 62, .48);
  opacity: 0;
  cursor: pointer;
  transition: opacity .5s ease;
}
.polaroid-viewer.is-open .polaroid-viewer__backdrop {
  opacity: 1;
  transition-delay: .08s;
}
.polaroid-viewer__card {
  position: fixed;
  z-index: 1;
  width: auto;
  max-width: none;
  margin: 0;
  cursor: pointer;
  transform-origin: center center;
  box-shadow: 0 18px 40px rgba(23, 59, 50, .12);
}
.polaroid-viewer__card:focus-visible { outline: none; }
.polaroid-viewer__card .journey-photo__image { background-position: center; background-size: cover; }

@media (hover: hover) and (min-width: 641px) {
  .journey-gallery .journey-photo {
    transition: opacity .9s ease, transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
  }
  .journey-photo--one:hover,
  .journey-photo--one:focus-visible {
    transform: translateY(-14px) rotate(-7deg);
    box-shadow: 0 28px 48px rgba(23, 59, 50, .22);
  }
  .journey-photo--two:hover,
  .journey-photo--two:focus-visible {
    transform: translateY(18px) rotate(5deg);
    box-shadow: 0 28px 48px rgba(23, 59, 50, .22);
  }
  .journey-photo--three:hover,
  .journey-photo--three:focus-visible {
    transform: translateY(-20px) rotate(7deg);
    box-shadow: 0 28px 48px rgba(23, 59, 50, .22);
  }
}

@media (hover: hover) {
  .gift-card:hover { color: var(--ink); background: var(--accent); transform: translateY(-8px); }
  .chip:not(.is-active):hover { background: rgba(36, 109, 159, .08); }
  .ticket.is-visible:hover { transform: translateY(-8px); box-shadow: 0 28px 50px rgba(23, 59, 50, .18); }
  .ticket:hover .ticket__icon { transform: translateY(-4px) rotate(-4deg); }
  .ticket:hover .ticket__stub { background: var(--accent); }
  .ticket__button:hover { color: var(--ink); background: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
