/* ==========================================================
   Lucía & Tom, wedding one-pager
   Edit colors and fonts in :root to restyle the whole site.
   ========================================================== */

:root {
  --cobalt: #1C3F94;
  --cobalt-deep: #122B6B;
  --ink: #0E1A3D;
  --lemon: #F2D24B;
  --lemon-soft: #F8E79A;
  --whitewash: #F7F6F1;
  --sea: #7FB2D6;
  --stone: #5B6380;

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;

  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(5.5rem, 12vw, 10rem);
  --radius: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--whitewash);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.6rem, 6vw, 5rem); font-variation-settings: "opsz" 96; }
h3 { font-size: 1.5rem; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1rem; }
.big { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.5; max-width: 36ch; }
.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--lemon); padding: .6rem 1rem; border-radius: 99px; z-index: 100; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--lemon); outline-offset: 3px; border-radius: 6px; }
.weekend :focus-visible, .stay :focus-visible, .faq :focus-visible, .dress :focus-visible { outline-color: var(--cobalt); }

/* ---------- Buttons: pill with nested icon ---------- */
.btn {
  --bg: var(--lemon); --fg: var(--ink); --ic: rgba(14, 26, 61, .1);
  display: inline-flex; align-items: center; gap: .9rem;
  padding: .55rem .55rem .55rem 1.4rem;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .5s var(--spring), background-color .5s var(--spring);
}
.btn:active { transform: scale(.97); }
.btn__icon {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--ic);
  transition: transform .6s var(--spring);
}
.btn__icon svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__icon { transform: translate(3px, -2px) scale(1.06); }
.btn--ghost { --bg: rgba(255,255,255,.08); --fg: #fff; --ic: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn--ghost:hover { --bg: rgba(255,255,255,.14); }
.btn--cobalt { --bg: var(--cobalt); --fg: #fff; --ic: rgba(255,255,255,.16); }
.btn--cobalt:hover { --bg: var(--cobalt-deep); }
.btn--lemon:hover { --bg: var(--lemon-soft); }
.btn--full { width: 100%; justify-content: space-between; }

/* ---------- Floating island nav ---------- */
.nav {
  position: fixed; z-index: 40; top: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 1.5rem;
  padding: .45rem .45rem .45rem 1.2rem;
  border-radius: 999px;
  background: rgba(14, 26, 61, .55);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 20px 50px -20px rgba(8, 16, 40, .5);
  color: #fff;
  transition: background-color .6s var(--spring);
}
.nav.is-light { background: rgba(247, 246, 241, .72); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(14,26,61,.08), 0 20px 50px -24px rgba(14,26,61,.3); }
.nav__mark { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; letter-spacing: .02em; }
.nav__mark span { font-style: italic; color: var(--lemon); margin: 0 .05em; }
.nav.is-light .nav__mark span { color: var(--cobalt); }
.nav__links { display: flex; gap: 1.4rem; font-size: .94rem; }
.nav__links a { text-decoration: none; opacity: .82; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }
.nav__rsvp { background: var(--lemon); color: var(--ink); padding: .6rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .94rem; }
.nav__burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 35;
  display: grid; place-items: center;
  background: rgba(18, 43, 107, .88);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  opacity: 0; transition: opacity .5s var(--spring);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu nav { display: grid; gap: .6rem; text-align: center; }
.menu a {
  font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 3.4rem); color: #fff; text-decoration: none;
  opacity: 0; transform: translateY(2.5rem);
  transition: opacity .7s var(--out), transform .7s var(--out);
}
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(2) { transition-delay: .05s; }
.menu.is-open a:nth-child(3) { transition-delay: .1s; }
.menu.is-open a:nth-child(4) { transition-delay: .15s; }
.menu.is-open a:nth-child(5) { transition-delay: .2s; }
.menu.is-open a:nth-child(6) { transition-delay: .25s; color: var(--lemon); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  background: var(--cobalt);
  color: #fff;
  padding: clamp(7rem, 12vw, 9rem) 0 0;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero::before { /* soft light from the sea */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, rgba(127,178,214,.35), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 5rem); align-items: end;
  flex: 1;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero__meta { font-size: 1rem; color: var(--lemon-soft); margin-bottom: 1.5rem; }
.hero__names {
  font-size: clamp(4.6rem, 13vw, 12.5rem);
  font-style: italic;
  font-variation-settings: "opsz" 96;
  line-height: .86;
  letter-spacing: -0.035em;
  margin: 0 0 2rem -0.04em;
}
.hero__names .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__names .line > span { display: inline-block; }
.line--amp { padding-left: clamp(2rem, 9vw, 8rem); }
.hero__lede { max-width: 34ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.85); }

.countdown { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); margin: 2rem 0 2.25rem; }
.countdown span { display: grid; }
.countdown b { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.countdown i { font-style: normal; font-size: .85rem; color: rgba(255,255,255,.6); margin-top: .35rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__arch { margin: 0; justify-self: end; width: 100%; max-width: 420px; }
.hero__arch figcaption { font-size: .88rem; color: rgba(255,255,255,.62); margin-top: 1rem; max-width: 30ch; }

.arch {
  position: relative;
  border-radius: 999px 999px 1.25rem 1.25rem;
  overflow: hidden;
  aspect-ratio: 3 / 4.3;
  background: var(--cobalt-deep);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch { box-shadow: 0 0 0 .5rem rgba(255,255,255,.06), 0 0 0 calc(.5rem + 1px) rgba(242,210,75,.45); }

/* Azulejo band: the signature moment */
.tiles {
  --size: clamp(64px, 7.2vw, 104px);
  position: relative;
  display: grid;
  grid-template-rows: repeat(2, var(--size));
  grid-auto-flow: column;
  grid-auto-columns: var(--size);
  justify-content: center;
  height: calc(var(--size) * 2);
  overflow: hidden;
  background: var(--cobalt-deep);
  perspective: 900px;
}
.tile {
  color: var(--lemon);
  background: var(--cobalt-deep);
  transform-origin: 50% 50%;
}
.tile:nth-child(3n+1) { color: #fff; }
.tile:nth-child(7n+3) { color: var(--sea); }
.tile svg { width: 100%; height: 100%; display: block; }
.tile use { transform-origin: 50% 50%; }
.js .tile { opacity: 0; transform: rotateY(-90deg) scale(.85); }
.tiles.is-in .tile {
  opacity: 1; transform: none;
  transition: transform 1.1s var(--out), opacity .6s var(--out);
  transition-delay: var(--d, 0s);
}

/* Load choreography */
.js .hero__names .line > span { transform: translateY(105%); }
.js .reveal-line { opacity: 0; transform: translateY(1.25rem); }
.js .hero__arch .arch { clip-path: inset(100% 0 0 0 round 999px 999px 1.25rem 1.25rem); }
.js .hero__arch figcaption { opacity: 0; }
.is-loaded .hero__names .line > span { transform: none; transition: transform 1.2s var(--out); }
.is-loaded .hero__names .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .reveal-line { opacity: 1; transform: none; transition: opacity 1s var(--out), transform 1s var(--out); }
.is-loaded .hero__meta { transition-delay: .05s; }
.is-loaded .hero__lede { transition-delay: .35s; }
.is-loaded .countdown { transition-delay: .45s; }
.is-loaded .hero__actions { transition-delay: .55s; }
.is-loaded .hero__arch .arch { clip-path: inset(0 0 0 0 round 999px 999px 1.25rem 1.25rem); transition: clip-path 1.4s var(--out) .2s; }
.is-loaded .hero__arch figcaption { opacity: 1; transition: opacity 1s var(--out) 1s; }

/* Image unveil on scroll */
.js .unveil { clip-path: inset(12% 6% 12% 6% round var(--radius)); opacity: .001; }
.unveil.is-in { clip-path: inset(0 0 0 0 round var(--radius)); opacity: 1; transition: clip-path 1.3s var(--out), opacity .8s var(--out); }
.js .arch.unveil { clip-path: inset(18% 8% 0 8% round 999px 999px 1.25rem 1.25rem); }
.arch.unveil.is-in { clip-path: inset(0 0 0 0 round 999px 999px 1.25rem 1.25rem); }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head p { max-width: 42ch; color: var(--stone); font-size: 1.125rem; margin: 0; }

/* ---------- WEEKEND ---------- */
.weekend { padding: var(--section) 0; }
.tabs {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: .35rem; border-radius: 999px;
  background: rgba(14,26,61,.05); box-shadow: inset 0 0 0 1px rgba(14,26,61,.07);
  margin-bottom: 3rem;
}
.tabs button {
  position: relative; z-index: 1;
  border: 0; background: none; cursor: pointer;
  padding: .85rem 1.6rem; border-radius: 999px;
  font: 500 1rem/1.1 var(--sans); color: var(--stone);
  display: grid; gap: .15rem; text-align: center;
  transition: color .5s var(--spring);
}
.tabs button small { font-weight: 400; font-size: .8rem; opacity: .75; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs__pill {
  position: absolute; top: .35rem; bottom: .35rem; left: 0; width: 0;
  border-radius: 999px; background: var(--cobalt);
  box-shadow: 0 10px 24px -12px rgba(28,63,148,.7);
  transition: transform .7s var(--spring), width .7s var(--spring);
}

.timeline { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.timeline li {
  display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: 1rem 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(14,26,61,.1);
}
.timeline li:last-child { border-bottom: 1px solid rgba(14,26,61,.1); }
.timeline time { font: italic 400 clamp(1.8rem, 3vw, 2.4rem)/1 var(--serif); color: var(--cobalt); font-variant-numeric: lining-nums; }
.timeline h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .5rem; }
.timeline p { color: var(--stone); max-width: 52ch; margin-bottom: .75rem; }
.tag { display: inline-block; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(242,210,75,.35); color: var(--ink); }
.timeline[data-anim] li { animation: rise .8s var(--out) both; }
.timeline[data-anim] li:nth-child(2) { animation-delay: .06s; }
.timeline[data-anim] li:nth-child(3) { animation-delay: .12s; }
.timeline[data-anim] li:nth-child(4) { animation-delay: .18s; }
.timeline[data-anim] li:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } }

/* ---------- VENUE ---------- */
.venue { padding: 0 0 var(--section); }
.venue__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.venue__images { position: relative; padding-bottom: 4rem; }
.arch--venue { width: 78%; aspect-ratio: 4 / 5; }
.venue__lemon {
  position: absolute; right: 0; bottom: 0; width: 42%;
  transform: rotate(3deg);
}
.venue__lemon img { border-radius: calc(var(--radius) - .5rem); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.venue__text h2 { margin-bottom: 1.5rem; }
.facts { margin: 2rem 0 2.5rem; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(14,26,61,.1); }
.facts dt { color: var(--stone); font-size: .95rem; }
.facts dd { margin: 0; }

.band { position: relative; margin: var(--section) var(--gutter) 0; }
.band img { width: 100%; height: clamp(22rem, 60vw, 44rem); object-fit: cover; border-radius: var(--radius); }
.band figcaption {
  position: absolute; left: clamp(1.25rem, 4vw, 3rem); bottom: clamp(1.25rem, 4vw, 3rem);
  font: italic 400 clamp(1.6rem, 3.6vw, 3rem)/1.1 var(--serif); color: #fff; max-width: 18ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}

/* ---------- Double-bezel cards ---------- */
.bezel {
  padding: .45rem; border-radius: var(--radius);
  background: rgba(14,26,61,.04);
  box-shadow: inset 0 0 0 1px rgba(14,26,61,.06);
}
.bezel__core {
  height: 100%;
  border-radius: calc(var(--radius) - .45rem);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 30px 60px -40px rgba(14,26,61,.25);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.bezel--dark { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.bezel--dark .bezel__core { background: var(--cobalt-deep); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }

/* ---------- STAY ---------- */
.stay { padding: var(--section) 0; background: #EEF1F6; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.bento__travel { grid-column: span 7; grid-row: span 3; }
.hotel { grid-column: span 5; }
.bento__travel h3 { font-size: 2.2rem; margin-bottom: 2rem; }
.travel { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.travel li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1.25rem; align-items: start; }
.travel svg { width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 50%; background: rgba(28,63,148,.08); fill: none; stroke: var(--cobalt); stroke-width: 1.2; stroke-linejoin: round; }
.travel strong { display: block; font-weight: 500; font-size: 1.1rem; margin-bottom: .2rem; }
.travel span { color: var(--stone); }
.hotel h3 { margin-bottom: .6rem; }
.hotel p { color: var(--stone); margin-bottom: .5rem; }
.hotel__meta { font-size: .9rem; }
.link { display: inline-block; margin-top: .5rem; color: var(--cobalt); font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--spring); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- DRESS ---------- */
.dress { padding: var(--section) 0; background: var(--lemon); }
.dress__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.dress h2 { margin-bottom: 1.75rem; max-width: 14ch; }
.dress p:not(.big) { max-width: 44ch; color: rgba(14,26,61,.78); }
.swatches { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.swatches li { display: grid; justify-items: center; gap: .6rem; font-size: .9rem; }
.swatches span {
  width: 4rem; height: 4rem; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 .35rem rgba(255,255,255,.35), 0 14px 30px -14px rgba(14,26,61,.5);
  transition: transform .6s var(--spring);
}
.swatches li:hover span { transform: translateY(-.35rem) scale(1.06); }
.arch--round { aspect-ratio: 3 / 4; max-width: 460px; margin-left: auto; }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.gifts h2, .questions h2 { margin-bottom: 1.75rem; }
.gifts p:not(.big) { color: var(--stone); max-width: 38ch; margin-bottom: 2rem; }
details { border-top: 1px solid rgba(14,26,61,.12); }
details:last-of-type { border-bottom: 1px solid rgba(14,26,61,.12); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; font: 400 clamp(1.25rem, 2vw, 1.5rem)/1.3 var(--serif);
}
summary::-webkit-details-marker { display: none; }
summary span { position: relative; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(28,63,148,.08); transition: transform .6s var(--spring), background-color .4s; }
summary span::before, summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 1.5px; background: var(--cobalt); transform: translate(-50%, -50%); }
summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] summary span { transform: rotate(45deg); background: var(--lemon); }
details p { color: var(--stone); max-width: 58ch; padding-bottom: 1.5rem; margin: 0; }
details[open] p { animation: rise .6s var(--out); }

/* ---------- RSVP ---------- */
.rsvp { position: relative; padding: var(--section) 0; background: var(--cobalt); color: #fff; overflow: hidden; }
.rsvp__pattern { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; opacity: .06; pointer-events: none; }
.rsvp__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.rsvp__intro h2 { font-style: italic; margin-bottom: 1.75rem; font-size: clamp(3rem, 7vw, 6rem); }
.rsvp__intro p:not(.big) { color: rgba(255,255,255,.7); }
.rsvp__intro a { color: var(--lemon); }

.form { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.75rem); }
.field { display: grid; gap: .5rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .92rem; color: rgba(255,255,255,.72); padding: 0; }
.field input:not([type="radio"]), .field select {
  width: 100%; font: 400 1.05rem/1.4 var(--sans); color: #fff;
  background: rgba(255,255,255,.05);
  border: 0; border-radius: .9rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  padding: .9rem 1rem;
  transition: box-shadow .4s var(--spring), background-color .4s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - 1rem) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field select:focus { outline: none; background-color: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1.5px var(--lemon); }
.field-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.choice legend { grid-column: 1 / -1; margin-bottom: .5rem; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; padding: .9rem 1rem; border-radius: .9rem; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; font-size: 1rem;
  transition: background-color .4s var(--spring), color .4s, box-shadow .4s;
}
.choice input:checked + span { background: var(--lemon); color: var(--ink); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--lemon); outline-offset: 3px; }
.form__status { margin: 0; min-height: 1.5rem; color: var(--lemon-soft); }
.form.is-sent > *:not(.form__status) { display: none; }
.form.is-sent .form__status { font: italic 400 clamp(1.8rem, 3vw, 2.4rem)/1.2 var(--serif); color: #fff; padding: 3rem 0; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 4rem 0 3rem; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: end; }
.footer__mark { font: italic 400 clamp(2.5rem, 6vw, 4.5rem)/1 var(--serif); color: #fff; margin: 0; grid-row: span 2; }
.footer__mark span { color: var(--lemon); }
.footer p { margin: 0; }
.credits { font-size: .82rem; opacity: .6; max-width: 46ch; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links, .nav__rsvp { display: none; }
  .nav { gap: 1rem; padding: .4rem .4rem .4rem 1.2rem; }
  .nav__burger {
    display: grid; place-items: center; position: relative;
    width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.12); cursor: pointer; color: inherit;
  }
  .nav.is-light .nav__burger { background: rgba(14,26,61,.07); }
  .nav__burger span:not(.sr) {
    position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 1.5px; background: currentColor;
    transition: transform .6s var(--spring);
  }
  .nav__burger span:nth-child(1) { transform: translate(-50%, -4px); }
  .nav__burger span:nth-child(2) { transform: translate(-50%, 4px); }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; align-items: start; gap: 3.5rem; }
  .hero__arch { justify-self: stretch; max-width: 520px; }
  .hero__arch .arch { aspect-ratio: 4 / 4.6; }
  .section-head, .venue__grid, .dress__grid, .faq__grid, .rsvp__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__travel, .hotel { grid-column: auto; grid-row: auto; }
  .arch--round { margin: 0; }
}
@media (max-width: 640px) {
  .hero { padding-top: 6.5rem; }
  .countdown { gap: 1.1rem; }
  .tabs { display: grid; width: 100%; }
  .tabs button { padding: .75rem .5rem; }
  .timeline li { grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem 0; }
  .venue__lemon { transform: none; width: 45%; }
  .arch--venue { width: 85%; }
  .facts div { grid-template-columns: 1fr; gap: .15rem; }
  .field-row, .choice { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .band { margin-inline: 1rem; }
}

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