/* ==========================================================================
   Brian & Manka — a joyful celebration
   Hand-written CSS. No frameworks, no build step.
   ========================================================================== */

/* --- Fonts (self-hosted, nothing loads from outside) --------------------- */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-latin-var.woff2") format("woff2-variations"),
       url("../fonts/playfair-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-latin-italic-var.woff2") format("woff2-variations"),
       url("../fonts/playfair-latin-italic-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Design tokens ------------------------------------------------------- */

:root {
  /* Colours sampled from the approved published site */
  --plum:        #3b1f2c;
  --plum-deep:   #2e1723;
  --wine:        #6b2440;
  --cream:       #fdf7e7;
  --cream-2:     #fbf1d9;
  --cream-3:     #f6ecd6;
  --gold:        #e0a63a;
  --gold-deep:   #c88f27;
  --gold-light:  #f0be5c;
  --terracotta:  #b65335;
  /* Marginally deeper, only for tiny uppercase labels on the deeper cream cards,
     where #b65335 measures 4.18:1 and needs 4.5:1 for WCAG AA. */
  --terracotta-aa: #ab4a2d;
  --green:       #15503b;
  --green-deep:  #0f3f2e;
  --maroon:      #551c2b;
  --ink:         #211a19;
  --ink-muted:   #665954;
  --ink-head:    #33192a;
  --rule:        rgba(33, 26, 25, 0.14);
  --rule-light:  rgba(253, 247, 231, 0.22);

  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container-max: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --header-h: 68px;
  --radius: 4px;
  --shadow-card: 0 1px 2px rgba(33, 26, 25, .05), 0 10px 30px rgba(33, 26, 25, .06);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Reset / base ------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

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

a { color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

/* Visible focus for keyboard users, on every interactive thing */
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.site-header :focus-visible { outline-color: var(--gold-light); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: .7rem 1.2rem;
  background: var(--gold);
  color: var(--plum-deep);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --- Layout helpers ---------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 9vw, 7rem); }

.section--plum  { background: var(--plum);  color: var(--cream); }
.section--wine  { background: var(--wine);  color: var(--cream); }
.section--cream2 { background: var(--cream-2); }

.section--plum h1, .section--plum h2, .section--plum h3,
.section--wine h1, .section--wine h2, .section--wine h3 { color: var(--cream); }

/* Eyebrow label — the small ✻ + spaced caps used throughout the site */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.1rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before {
  content: "✻";
  font-size: .85rem;
  letter-spacing: 0;
  line-height: 1;
}
.on-dark .eyebrow, .section--plum .eyebrow, .section--wine .eyebrow { color: var(--gold); }

.section-title {
  font-size: clamp(2.15rem, 6.4vw, 3.6rem);
  max-width: 22ch;
  margin-bottom: 1.4rem;
}

.lede {
  max-width: 62ch;
  color: var(--ink-muted);
}
.section--plum .lede, .section--wine .lede { color: rgba(253, 247, 231, .82); }

/* --- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border: 0;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--gold   { background: var(--gold);   color: var(--plum-deep); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--maroon { background: var(--maroon); color: var(--cream); }
.btn--maroon:hover { background: #3f1420; }
.btn--plum   { background: var(--plum);   color: var(--cream); }
.btn--plum:hover { background: var(--plum-deep); }

/* Quiet text link with a trailing arrow */
.btn--quiet {
  padding: .8rem 0;
  background: none;
  color: var(--ink-head);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.btn--quiet:hover { color: var(--terracotta); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-head);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  min-height: 44px;
}
.link-arrow:hover { color: var(--terracotta); border-bottom-color: currentColor; }
.link-arrow::after { content: "↗"; font-size: .85em; }
.link-arrow--down::after { content: "↓"; }

/* --- Header / navigation ---------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--plum-deep);
  color: var(--cream);
  border-bottom: 1px solid rgba(253, 247, 231, .08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .02em;
  flex: 0 0 auto;
}
.wordmark .amp { font-style: italic; }

.nav { margin-left: auto; }

/* The RSVP button inside the menu list belongs to the mobile menu only.
   On wider screens the pill button in the header already does that job —
   showing both put two RSVP buttons side by side. */
.nav__cta { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.6rem);
}
.nav__link {
  display: inline-block;
  padding: .45rem .1rem;
  font-size: .88rem;
  font-weight: 400;
  color: rgba(253, 247, 231, .88);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.nav__link:hover, .nav__link[aria-current="true"] {
  color: var(--cream);
  border-bottom-color: var(--gold);
}

.header-cta {
  flex: 0 0 auto;
  margin-left: clamp(.75rem, 2vw, 1.75rem);
  min-height: 40px;
  padding: .5rem 1.3rem;
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .4rem .7rem;
  background: none;
  border: 1px solid rgba(253, 247, 231, .3);
  border-radius: 2px;
  color: var(--cream);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  width: 18px; height: 12px;
  flex: 0 0 auto;
}
.nav-toggle__bars span,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 5px; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav__cta { display: block; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: var(--plum-deep);
    border-bottom: 1px solid rgba(253, 247, 231, .12);
    box-shadow: 0 18px 40px rgba(20, 10, 16, .4);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
  }
  .nav__list > li + li { border-top: 1px solid rgba(253, 247, 231, .09); }
  .nav__link {
    padding: 1rem .1rem;
    font-size: 1.05rem;
    border-bottom: 0;
  }
  .nav__cta { padding-top: 1.1rem; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* --- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88svh, 800px);
  padding-block: clamp(3.5rem, 12vw, 7rem);
  background: var(--plum-deep);
  color: var(--cream);
  overflow: hidden;
}

/* Background slideshow. Each photo is its own layer so they can cross-fade,
   and only opacity animates, which keeps it smooth on a phone. */
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }

/* The veil, which has to keep the wording readable over every photo in the set
   including the bright ones — the beach and the snow-white family portrait. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(30, 15, 22, .94) 0%, rgba(30, 15, 22, .88) 42%, rgba(30, 15, 22, .66) 75%, rgba(30, 15, 22, .72) 100%);
}
@media (max-width: 759px) {
  /* On a phone the wording spans the full width, so the veil must be even. */
  .hero::before {
    background: linear-gradient(180deg, rgba(30, 15, 22, .84) 0%, rgba(30, 15, 22, .9) 55%, rgba(30, 15, 22, .94) 100%);
  }
  .hero__slide { background-position: center 26%; }
}

.hero > .container { position: relative; z-index: 2; }
.hero__inner { max-width: 40rem; }

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

.hero__title {
  font-size: clamp(3rem, 11.5vw, 6.4rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: .55rem;
}
.hero__title .amp {
  font-style: italic;
  font-weight: 500;
}

.hero__tagline {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.6vw, 1.95rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--cream);
  max-width: 26ch;
  margin: 0 0 1.3rem;
}

.hero__blurb {
  max-width: 44ch;
  color: rgba(253, 247, 231, .88);
  margin-bottom: 1.6rem;
}

.hero__when {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 0 0 1.6rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--gold);
  max-width: 34ch;
}
.hero__when svg { flex: 0 0 auto; margin-top: .22rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.5rem;
  margin-top: 1.9rem;
}
.hero__actions .btn--quiet { color: var(--cream); }
.hero__actions .btn--quiet:hover { color: var(--gold); }

/* --- Countdown --------------------------------------------------------- */

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
}
.countdown__cell {
  min-width: 4.4rem;
  padding: .6rem .5rem .5rem;
  text-align: center;
  border: 1px solid var(--rule-light);
  border-radius: 2px;
  background: rgba(20, 10, 16, .28);
}
.countdown__num {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  display: block;
  margin-top: .3rem;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(253, 247, 231, .72);
}
.countdown__message {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold);
}
/* Light variant, used beside the RSVP deadline */
.countdown--light .countdown__cell {
  background: var(--cream);
  border-color: var(--rule);
}
.countdown--light .countdown__num { color: var(--ink-head); }
.countdown--light .countdown__label { color: var(--ink-muted); }
.countdown--light .countdown__message { color: var(--ink-head); }

/* --- Our story --------------------------------------------------------- */

.story__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); align-items: start; }
}

.story__prose { color: var(--ink-muted); }
.story__prose p { max-width: 56ch; }

/* Polaroid-style collage */
.collage {
  position: relative;
  padding-bottom: clamp(3rem, 9vw, 5.5rem);
}
.collage__frame {
  position: relative;
  background: var(--cream);
  padding: 10px;
  box-shadow: 0 14px 34px rgba(33, 26, 25, .18);
}
.collage__frame--main { transform: rotate(-1.2deg); }
.collage__frame--inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  transform: rotate(2.6deg);
  border: 3px solid var(--plum-deep);
  padding: 6px;
}
.collage__badge {
  position: absolute;
  top: 8%;
  right: -6px;
  z-index: 2;
  padding: .35rem .8rem;
  background: var(--plum-deep);
  color: var(--gold);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.collage__rule {
  position: absolute;
  left: 4%;
  bottom: clamp(2rem, 7vw, 4rem);
  width: 34%;
  height: 8px;
  background: var(--gold);
}

/* Timeline */
.timeline {
  list-style: none;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-left: 1.75rem;
  border-left: 1px solid rgba(182, 83, 53, .35);
  display: grid;
  gap: 1.9rem;
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: .45rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
}
.timeline__year {
  display: block;
  margin-bottom: .2rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--terracotta);
  font-variant-numeric: tabular-nums;
}
.timeline__what {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-head);
  margin-bottom: .2rem;
}
.timeline__note { margin: 0; color: var(--ink-muted); font-size: .95rem; }

/* --- Info cards (The day) --------------------------------------------- */

.card-row {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
@media (min-width: 760px) { .card-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.info-card {
  padding: 1.5rem 1.4rem;
  background: rgba(253, 247, 231, .06);
  border: 1px solid rgba(253, 247, 231, .18);
  border-top: 2px solid var(--gold);
}
.info-card__icon { color: var(--gold); margin-bottom: 1.6rem; }
.info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .55rem;
  color: var(--cream);
}
.info-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.65;
  color: rgba(253, 247, 231, .8);
}

.pull-line {
  max-width: 52ch;
  margin-top: clamp(2rem, 5vw, 2.8rem);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--cream);
}

/* --- Dress guidance card ---------------------------------------------- */

.dress {
  display: grid;
  gap: 1.5rem clamp(2rem, 5vw, 3.5rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.75rem, 4.5vw, 2.75rem);
  background: var(--cream-2);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-card);
}
@media (min-width: 820px) {
  .dress { grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: start; }
}
.dress .eyebrow { color: var(--terracotta); }
.dress h3 {
  color: var(--ink-head);
  font-size: clamp(1.9rem, 4.6vw, 2.5rem);
  font-weight: 600;
  margin-bottom: .8rem;
}
.dress__tagline {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.dress__body { color: var(--ink); }
.dress__body p { max-width: 58ch; }
.dress__emphasis { font-weight: 700; color: var(--ink-head); }

/* --- Directions ------------------------------------------------------- */

.directions__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
@media (min-width: 900px) {
  .directions__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
}

.address {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 0 0 1rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-head);
  max-width: 34ch;
  user-select: all;
  -webkit-user-select: all;
}
.address svg { flex: 0 0 auto; color: var(--terracotta); margin-top: .28rem; }

.directions__prose { color: var(--ink-muted); max-width: 46ch; }

.directions__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.5rem;
  margin: 1.6rem 0 2rem;
}

.note-card {
  display: flex;
  gap: .9rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-card);
}
.note-card + .note-card { margin-top: .9rem; }
.note-card__icon { flex: 0 0 auto; color: var(--terracotta); margin-top: .15rem; }
.note-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.note-card p { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--ink-muted); }

.slow-connection {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.slow-connection h3 { font-family: var(--sans); font-size: .92rem; font-weight: 700; margin-bottom: .35rem; }
.slow-connection__address {
  margin: 0 0 1.25rem;
  font-size: .9rem;
  color: var(--ink-muted);
  user-select: all;
  -webkit-user-select: all;
}
.slow-connection__hail {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: .9rem;
  color: var(--ink-muted);
}

/* Map frame — the gold offset border the approved site uses */
.map-frame {
  position: relative;
  border: 3px solid var(--plum-deep);
  background: var(--cream-3);
}
.map-frame::after {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: var(--gold);
  z-index: -1;
}
.map-frame > iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 46vw, 440px);
  border: 0;
}

/* --- Forms ------------------------------------------------------------ */

.form-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.field-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 620px) {
  .field-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}

.field > label,
.fieldset__legend {
  display: block;
  margin-bottom: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-head);
}
.field__hint {
  margin: .35rem 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.fieldset__legend + .field__hint { margin: -.15rem 0 .6rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  background: #fff;
  border: 1px solid rgba(33, 26, 25, .28);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}
textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23211a19' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.4rem;
}
input:hover, select:hover, textarea:hover { border-color: rgba(33, 26, 25, .5); }

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

/* Radio / checkbox pills, matching the approved look */
.choice-grid {
  display: grid;
  gap: .6rem;
}
@media (min-width: 480px) { .choice-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.choice {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  padding: .65rem .9rem;
  background: #fff;
  border: 1px solid rgba(33, 26, 25, .28);
  border-radius: 2px;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.choice:hover { border-color: rgba(33, 26, 25, .5); }
.choice input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--maroon); margin: 0; }
.choice:has(input:checked) { background: var(--cream-2); border-color: var(--gold-deep); }
.choice:has(input:focus-visible) { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.checkbox-grid {
  display: grid;
  gap: .55rem 1.5rem;
}
@media (min-width: 480px) { .checkbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  font-size: .95rem;
  cursor: pointer;
}
.check input { width: 18px; height: 18px; accent-color: var(--maroon); margin: 0; flex: 0 0 auto; }

/* Honeypot — hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { margin-top: 1.5rem; }
.form-submit .btn { width: 100%; justify-content: center; }

/* Callout inside the RSVP form */
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  background: var(--gold);
  border: 1px solid var(--gold-deep);
  color: var(--plum-deep);
  text-decoration: none;
}
.callout:hover { background: var(--gold-light); }
.callout__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}
.callout__body { display: block; font-size: .88rem; font-weight: 600; line-height: 1.5; }
.callout__mark { flex: 0 0 auto; font-size: 1.1rem; }

/* --- RSVP section ------------------------------------------------------ */

.rsvp__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 940px) {
  .rsvp__grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: start; }
}

.deadline {
  margin: 1.75rem 0 1.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--plum);
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.deadline svg { flex: 0 0 auto; color: var(--gold); }
.deadline__label {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .15rem;
}
.deadline__date {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.privacy-note {
  display: flex;
  gap: .8rem;
  margin-top: 2rem;
}
.privacy-note svg { flex: 0 0 auto; color: var(--terracotta); margin-top: .2rem; }
.privacy-note h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .35rem; }
.privacy-note p { margin: 0; font-size: .88rem; line-height: 1.65; color: var(--ink-muted); }

/* --- RSVP closed notice ----------------------------------------------- */

/* The form has been retired now the deadline has passed. This panel keeps the
   same white card in its place so the section still reads as a pair. */
.rsvp-closed h3 {
  font-size: clamp(1.3rem, 3.2vw, 1.65rem);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.rsvp-closed > p { margin: 0 0 .9rem; color: var(--ink-muted); }
.rsvp-closed > p:last-of-type { margin-bottom: 0; }
.rsvp-closed .privacy-note { margin-top: 1.75rem; }
.rsvp-closed .privacy-note h3 { font-size: 1.02rem; margin-bottom: .35rem; }

/* --- Accommodation ---------------------------------------------------- */

.venue-box {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0;
  padding: 1.35rem 1.5rem;
  background: var(--green);
  color: var(--cream);
}
@media (min-width: 800px) { .venue-box { grid-template-columns: minmax(0, 1fr) auto; } }
.venue-box__label {
  display: block;
  margin-bottom: .4rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.venue-box p { margin: 0; font-size: .96rem; line-height: 1.6; max-width: 52ch; }

.property-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) { .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.property {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.35rem;
  background: var(--cream-3);
  border: 1px solid rgba(33, 26, 25, .1);
}
.property h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.property__blurb {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 1.1rem;
}
.property__meta {
  display: grid;
  gap: .9rem 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(33, 26, 25, .12);
  margin-bottom: 1.1rem;
}
@media (min-width: 380px) { .property__meta--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.property__meta dt {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta-aa);
  margin-bottom: .3rem;
}
.property__meta dd {
  margin: 0;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.property__contacts {
  display: grid;
  gap: .35rem;
  margin-bottom: 1.1rem;
  font-size: .85rem;
}
.property__contacts a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
  display: inline-block;
  min-height: 44px;
  padding-block: 10px;
}
.property__contacts a:hover { color: var(--terracotta); }
.property__links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
  margin-top: auto;
}

.managed-note {
  margin: 1.25rem 0 0;
  font-size: .85rem;
  color: var(--ink-muted);
}

.shuttle-notice {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  margin: clamp(2rem, 5vw, 3rem) 0;
  padding: 1.5rem;
  background: var(--green-deep);
  color: var(--cream);
}
@media (min-width: 840px) { .shuttle-notice { grid-template-columns: minmax(0, 1fr) auto; } }
.shuttle-notice__label {
  display: block;
  margin-bottom: .45rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.shuttle-notice p { margin: 0; font-size: .96rem; line-height: 1.65; max-width: 58ch; }
.shuttle-notice .btn--maroon { background: var(--maroon); }

/* Map + property list */
.map-block { margin-top: clamp(2rem, 5vw, 3rem); }
.map-block h3 {
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-weight: 700;
  margin-bottom: .5rem;
}
.map-block__lede { max-width: 62ch; color: var(--ink-muted); margin-bottom: 1.75rem; }

.map-list { margin-top: 1.75rem; border-top: 1px solid var(--rule); }
.map-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1rem;
  padding: 1rem 1rem 1rem .9rem;
  border-bottom: 1px solid var(--rule);
  border-left: 3px solid var(--terracotta);
}
.map-list__item--venue { border-left-color: var(--plum-deep); }
.map-list__body { flex: 1 1 18rem; min-width: 0; }
.map-list__name {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-head);
  margin-bottom: .1rem;
}
.map-list__pin {
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
}
.map-list__item--venue .map-list__pin { background: var(--plum-deep); }
.map-list__note { margin: 0; font-size: .85rem; color: var(--ink-muted); }

/* --- Playlist --------------------------------------------------------- */

.playlist__panel {
  background: var(--plum-deep);
  border-top: 2px solid var(--gold);
  padding: 1.25rem;
}
.playlist__panel h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--cream);
  padding-bottom: .9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(253, 247, 231, .18);
}
.playlist__panel h3 span { color: var(--gold); }
.embed-16x9 {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #14090f;
}
.embed-16x9 > iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.playlist__fallback {
  margin: .9rem 0 0;
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(253, 247, 231, .7);
}
.playlist__fallback a { color: var(--gold); }

/* --- Photo moments ---------------------------------------------------- */

/* Fixed row height + spans, so every tile always has a real height.
   (aspect-ratio alone collapses on tiles that span two rows.) */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(125px, 30vw, 200px);
  gap: .6rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 13vw, 210px);
    gap: .75rem;
  }
}

.tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: rgba(20, 10, 16, .35);
  cursor: zoom-in;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.tile:hover img { transform: scale(1.04); }

.tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem .85rem .8rem;
  background: linear-gradient(to top, rgba(20, 10, 16, .9), rgba(20, 10, 16, 0));
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cream);
  text-align: left;
  pointer-events: none;
}

.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(16, 8, 12, .94);
  border: 0;
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgba(16, 8, 12, .94); }
.lightbox__img {
  max-width: min(100%, 1100px);
  max-height: 78svh;
  width: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox__caption {
  margin: 1rem auto 0;
  max-width: 52ch;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}
.lightbox__close {
  position: absolute;
  top: clamp(.5rem, 2vw, 1.25rem);
  right: clamp(.5rem, 2vw, 1.25rem);
  width: 48px; height: 48px;
  display: grid;
  place-content: center;
  background: rgba(253, 247, 231, .12);
  border: 1px solid rgba(253, 247, 231, .3);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(253, 247, 231, .22); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: grid;
  place-content: center;
  background: rgba(253, 247, 231, .12);
  border: 1px solid rgba(253, 247, 231, .3);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
}
.lightbox__nav--prev { left: clamp(.4rem, 2vw, 1.25rem); }
.lightbox__nav--next { right: clamp(.4rem, 2vw, 1.25rem); }
.lightbox__nav:hover { background: rgba(253, 247, 231, .22); }

/* --- Questions accordion ---------------------------------------------- */

.faq { margin-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--rule); }

.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1.05rem .25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-head);
  cursor: pointer;
  list-style: none;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px; height: 11px;
  border-right: 1.6px solid var(--ink-muted);
  border-bottom: 1.6px solid var(--ink-muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .22s var(--ease);
}
.faq__item[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__item > summary:hover { color: var(--terracotta); }
.faq__answer {
  padding: 0 .25rem 1.4rem;
  max-width: 68ch;
  color: var(--ink-muted);
  font-size: .95rem;
}

/* Visible placeholder for anything still awaiting the client's own words */
.confirm {
  display: block;
  margin-top: .7rem;
  padding: .7rem .85rem;
  background: #fff5d6;
  border-left: 3px solid var(--gold-deep);
  font-family: var(--sans);
  font-size: .82rem;
  line-height: 1.55;
  color: #6b4c05;
}
.confirm strong { color: #543c04; }

/* --- Footer ----------------------------------------------------------- */

.site-footer {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--plum-deep);
  color: rgba(253, 247, 231, .78);
  font-size: .9rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.site-footer .wordmark { font-size: 1.5rem; }
.site-footer__meta { max-width: 40ch; }
.site-footer__meta p { margin-bottom: .4rem; }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.site-footer__links a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-footer__links a:hover { border-bottom-color: currentColor; }

/* --- Simple pages (thanks / 404) -------------------------------------- */

.simple-page {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  padding-block: clamp(3rem, 10vw, 6rem);
  background: var(--plum-deep);
  color: var(--cream);
  text-align: center;
}
.simple-page__inner { max-width: 44rem; }
.simple-page h1 {
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1.1rem;
}
.simple-page .eyebrow { justify-content: center; color: var(--gold); }
.simple-page p {
  max-width: 48ch;
  margin-inline: auto;
  color: rgba(253, 247, 231, .85);
}
.simple-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem 1.25rem;
  margin-top: 2.25rem;
}
.simple-page__actions .btn--quiet { color: var(--cream); }
.simple-page__actions .btn--quiet:hover { color: var(--gold); }

/* --- Decorative divider ----------------------------------------------- */

.pattern-band {
  height: 10px;
  background:
    repeating-linear-gradient(90deg,
      var(--gold) 0 14px,
      var(--plum-deep) 14px 20px,
      var(--terracotta) 20px 30px,
      var(--plum-deep) 30px 36px);
}

/* --- Motion preferences ----------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .tile:hover img { transform: none; }
  .btn:hover { transform: none; }
}

/* --- Print ------------------------------------------------------------ */

@media print {
  .site-header, .nav, .hero::before, .lightbox, .map-frame, .embed-16x9 { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
}

/* --- Conditional form questions ---------------------------------------- */

/* Revealed by site.js when the controlling radio is set. Ships visible so the
   question still works with JavaScript switched off. */
.reveal {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--rule);
}
.reveal[hidden] { display: none; }

/* --- Locator map with pins --------------------------------------------- */

.pinmap { position: relative; display: block; line-height: 0; }
.pinmap__base { width: 100%; height: auto; }

/* Each pin is a real link, placed by its coordinates as a percentage of the
   map image, so it stays correct at every screen size. */
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: 3px 6px 3px 3px;
  border-radius: 999px;
  background: rgba(253, 247, 231, .93);
  box-shadow: 0 1px 3px rgba(33, 26, 25, .35);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 2;
}
.pin:hover, .pin:focus-visible {
  background: #fff;
  z-index: 5;
  box-shadow: 0 2px 10px rgba(33, 26, 25, .45);
}
.pin__dot {
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
}
.pin__label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink-head);
}
.pin--venue { background: var(--plum-deep); z-index: 4; }
.pin--venue .pin__dot { background: var(--gold); color: var(--plum-deep); }
.pin--venue .pin__label { color: var(--cream); }

/* On narrow screens the names would collide, so show the letters only —
   the list underneath carries the full names and distances. */
@media (max-width: 620px) {
  .pin { padding: 2px; gap: 0; }
  .pin__label { display: none; }
  .pin__dot { width: 24px; height: 24px; font-size: .72rem; }
}

.map-credit {
  margin: .8rem 0 0;
  font-size: .78rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.map-credit a { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 2px; }
.map-credit a:hover { color: var(--terracotta); }

/* Extend each pin's tap area to a comfortable size without changing how it
   looks — the dots themselves have to stay small so they don't cover the map. */
.pin::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
}

/* --- Venue map (Directions) --------------------------------------------- */

.venue-map {
  position: relative;
  display: block;
  line-height: 0;
  text-decoration: none;
}
.venue-map img { width: 100%; height: auto; }
.venue-map__hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: .45rem .8rem;
  background: var(--plum-deep);
  color: var(--cream);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 2px;
}
.venue-map:hover .venue-map__hint,
.venue-map:focus-visible .venue-map__hint { background: var(--maroon); }

/* --- Playlist, now inside the RSVP section ------------------------------ */

/* Wide screens: the RSVP words sit left, the closed notice right, and the
   playlist takes the whole width beneath them â the notice is far shorter than
   the form it replaced, so keeping the playlist in one column would leave a
   large empty patch on the right.
   Narrow screens: everything stacks in source order, as before. */
@media (min-width: 940px) {
  .rsvp__grid > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .rsvp__grid > .form-panel   { grid-column: 2; grid-row: 1; }
  .rsvp__grid > .rsvp__playlist {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
  }
  .rsvp__grid > .rsvp__playlist > .rsvp__playlist-words { margin-top: 0; }
}

.rsvp__playlist { margin-top: 2rem; }
@media (min-width: 940px) { .rsvp__playlist { margin-top: 0; } }

.rsvp__playlist .playlist__panel h3 { font-size: 1.02rem; }

.rsvp__playlist-words { margin-top: 1.75rem; }
.rsvp__playlist-words h3 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 600;
  margin-bottom: .7rem;
}

/* The accommodation form lower down reuses .rsvp__grid but has only two
   children, so it must not inherit the row placement above. */
.rsvp__grid#accommodation-details > * { grid-column: auto; grid-row: auto; }

/* ======================================================================
   Thank-you site additions (after the day)
   ====================================================================== */

/* --- A note of thanks --------------------------------------------------- */

.letter {
  max-width: 62ch;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(253, 247, 231, .86);
}
.letter p + p { margin-top: 1.1em; }
.letter__sign {
  margin-top: 1.6em !important;
  font-family: var(--serif);
  font-style: italic;
}
.letter__sign span {
  display: block;
  margin-top: .25em;
  font-style: normal;
  font-weight: 700;
  color: var(--gold);
}

/* --- Photos from the day (view only) ------------------------------------ */

.day-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
@media (min-width: 640px)  { .day-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .day-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; } }

.day-photo { margin: 0; }
.day-photo .tile { aspect-ratio: 4 / 3; height: auto; background: rgba(33, 26, 25, .08); }

/* View only. The photo itself never receives a click, right-click, drag or
   long-press: the button in front of it does, and a transparent layer sits
   over it. That discourages casual saving; a screenshot cannot be prevented
   by any web page, and this does not try to. */
.tile img,
.lightbox__img {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
}
.lightbox > div { position: relative; }
.lightbox > div::after {
  content: "";
  position: absolute;
  inset: 0;
}
.no-lightbox .tile { cursor: default; }

/* --- With thanks (suppliers) ------------------------------------------- */

.supplier-grid { margin-top: clamp(2rem, 5vw, 3rem); }
.supplier__role {
  margin: 0 0 .4rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta-aa);
}
.supplier .property__contacts { margin-top: auto; margin-bottom: 0; padding-top: .6rem; border-top: 1px solid rgba(33, 26, 25, .12); }

/* --- Playlist, standing on its own again -------------------------------- */

.playlist__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .playlist__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
}
.playlist__grid .playlist__panel h3 { font-size: 1.02rem; }

/* --- Gift note, under the letter --------------------------------------- */

.gift-note {
  max-width: 62ch;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.gift-note .eyebrow { margin-bottom: .9rem; }
.gift-note p { font-size: .98rem; line-height: 1.7; }
.gift-note strong { color: var(--cream); }
.gift-note__action { margin-top: 1.25rem !important; }
