/* Ore & Jide · sweetlikeoj.com
   Brand: gold OJ monogram, pea-green botanicals, Ore's palette.
   Names in Cormorant everywhere; Pinyon Script only for section titles. */

:root {
  --white: #FFFDF9;
  --nude: #FDEBDA;
  --peach: #F8D2BF;
  --sorbet: #DD8A55;      /* hover states only */
  --terracotta: #B4522B;
  --terracotta-dark: #8E3F20;
  --pea: #8B9E73;
  --pea-deep: #6F8259;
  --gold: #C9A24E;
  --ink: #2B1A12;
  --muted: #7A6455;
  --line: #E9DCCB;

  --display: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --caps: "Cormorant SC", "Cormorant Garamond", Garamond, serif;
  --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --body: "Jost", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(72px, 11vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.narrow { max-width: 640px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section { padding-block: var(--section); }

.eyebrow, .caps {
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  line-height: 1.4;
}
.script { font-family: var(--script); font-size: clamp(50px, 6.5vw, 76px); line-height: 1.05; color: var(--terracotta); }
.lead { font-family: var(--display); font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--muted); max-width: 34ch; }
.soon { font-style: italic; color: var(--muted); }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: clamp(40px, 6vw, 64px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 28px;
  font-family: var(--body); font-size: 13px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-solid { background: var(--terracotta); color: var(--white); }
.btn-solid:hover { background: var(--sorbet); }
.btn-solid:disabled { opacity: .6; cursor: progress; }
.btn-light { border-color: rgba(255, 253, 249, .85); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-ghost { border-color: var(--terracotta); color: var(--terracotta); background: transparent; }
.btn-ghost:hover { background: var(--terracotta); color: var(--white); }
.btn.is-disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.btn.is-disabled:hover { background: transparent; color: var(--muted); }

/* skip link */
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); padding: 10px 16px; z-index: 30; }
.skip:focus { top: 12px; }

/* nav: transparent over the hero, solid once scrolled */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--white);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.nav.is-solid { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav-inner {
  max-width: 1120px; margin: 0 auto; height: 76px;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav-side { display: flex; gap: clamp(24px, 4vw, 56px); }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-side a, .nav-menu a {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
  padding-block: 6px; border-bottom: 1px solid transparent;
}
.nav-side a:hover { border-bottom-color: currentColor; }
.nav-mark img { width: 62px; }
.nav-toggle { display: none; }
.nav-menu {
  background: var(--white); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px var(--gutter-r) 24px var(--gutter);
  box-shadow: 0 10px 20px -16px rgba(60, 25, 5, .4);
}
.nav-menu a { padding: 12px; }

/* hero */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  color: var(--white); text-align: center; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #6E4630; }
/* dark wash so the names stay readable over any photo */
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 24, 14, .45) 0%, rgba(40, 24, 14, .28) 45%, rgba(40, 24, 14, .55) 100%); }
/* each slide: the photo, with a warm placeholder tint underneath until the photo exists */
.slide {
  position: absolute; inset: 0; transform: translateX(100%); transition: transform 1s cubic-bezier(.65, 0, .35, 1); /* waits off to the right */
  background: linear-gradient(rgba(40, 24, 14, var(--shade, 0)), rgba(40, 24, 14, var(--shade, 0))), var(--photo, none) var(--pos, center) / cover no-repeat, var(--tint);
}
.slide:nth-child(4n+1) { --tint: linear-gradient(150deg, #C99B78 0%, #9C6446 48%, #6E4630 100%); }
.slide:nth-child(4n+2) { --tint: linear-gradient(200deg, #B4522B 0%, #8E3F20 55%, #5C2A16 100%); }
.slide:nth-child(4n+3) { --tint: linear-gradient(120deg, #8B9E73 0%, #6F8259 50%, #4C5A3C 100%); }
.slide:nth-child(4n+4) { --tint: linear-gradient(170deg, #DD8A55 0%, #B4522B 55%, #7A3A1F 100%); }
.slide.is-on { transform: none; }
.slide.is-out { transform: translateX(-100%); }
.slide.no-anim { transition: none; }
.hero-content {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 120px var(--gutter-r) 96px var(--gutter);
}
.hero .eyebrow { color: var(--nude); }
.names { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 12vw, 148px); line-height: .95; letter-spacing: -.01em; }
.amp {
  font-style: italic;
  background: linear-gradient(115deg, #B8913F 0%, #E2C476 22%, #F4DD9C 32%, #D9B566 46%, #C49E4A 58%, #F0D894 70%, #D2AC5C 84%, #B8913F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rule { width: 96px; height: 1px; background: rgba(255, 253, 249, .8); margin-block: 6px; }
.tagline { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2.4vw, 26px); max-width: 30ch; line-height: 1.35; margin-bottom: 10px; }


/* date band with countdown */
.date-band { position: relative; background: var(--nude); padding-block: clamp(56px, 8vw, 88px); }
.date-band::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: clamp(18px, 4vw, 56px); background: var(--pea); }
.date-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.date-block { display: flex; flex-direction: column; gap: 10px; padding-left: clamp(24px, 5vw, 48px); }
.date-block em { font-family: var(--body); font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 14px; color: var(--muted); }
.big-date { font-family: var(--display); font-style: italic; font-size: clamp(44px, 6vw, 72px); line-height: 1; margin-bottom: .19em; } /* optical: "p" and "7" hang below the line */
.big-date sup { font-size: .4em; vertical-align: top; position: relative; top: .3em; }
.countdown { display: flex; gap: clamp(20px, 4vw, 44px); font-variant-numeric: tabular-nums; }
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.countdown b { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 60px); line-height: 1; color: var(--terracotta); }
.countdown span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* story */
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.story-head { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; } /* title and sprig centred over the photo */
.mark { width: 40px; margin-bottom: 4px; }
.arch-photo { margin: 22px 8px 0; align-self: stretch; } /* fills the column; the 8px leaves room for the outline */
.photo-slot {
  aspect-ratio: 3 / 4; border-radius: 999px 999px 2px 2px;
  background: var(--photo, none) var(--pos, center) / var(--size, cover) no-repeat, linear-gradient(160deg, var(--peach), #E9B79B);
  outline: 1px solid var(--pea); outline-offset: 8px;
  display: grid; place-items: center;
}
.timeline { list-style: none; margin: 0; padding: 0 0 0 36px; border-left: 1px solid var(--pea); display: flex; flex-direction: column; gap: 48px; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.timeline li::before { content: ""; position: absolute; left: -43px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--terracotta); }
.timeline li.end::before { background: var(--terracotta); }
.when { font-family: var(--caps); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--terracotta-dark); }
.timeline h3 { font-family: var(--display); font-style: italic; font-size: clamp(28px, 3vw, 34px); }
.timeline p { max-width: 58ch; }
.timeline blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(26px, 3vw, 32px); line-height: 1.3; }


/* moments gallery */
.gallery { background: var(--peach); }
.gallery .section-head .eyebrow { color: #000000; }
.gallery .section-head .script { color: var(--pea-deep); }
.gallery-grid { columns: 4; column-gap: clamp(10px, 1.6vw, 18px); max-width: 1100px; margin: 0 auto; }
.shot {
  display: block; width: 100%; margin: 0 0 clamp(10px, 1.6vw, 18px); padding: 0; border: 0; cursor: zoom-in;
  break-inside: avoid;
  background: var(--photo, none) var(--pos, center) / cover no-repeat, var(--tint);
  transition: filter .25s, transform .25s;
}
/* shapes repeat every 6, in two sets of three that add up to the same height,
   so 4 columns of 3 (desktop) and 2 columns of 6 (phone) all end level. Use 6 or 12 photos. */
.shot:nth-child(6n+1) { aspect-ratio: 2 / 3; --tint: #FDEBDA; }
.shot:nth-child(6n+2) { aspect-ratio: 4 / 3; --tint: #D99A7A; }
.shot:nth-child(6n+3) { aspect-ratio: 4 / 3; --tint: #C9D1B8; }
.shot:nth-child(6n+4) { aspect-ratio: 4 / 5; --tint: #E9B79B; }
.shot:nth-child(6n+5) { aspect-ratio: 1 / 1; --tint: #C9D1B8; }
.shot:nth-child(6n+6) { aspect-ratio: 4 / 3; --tint: #D99A7A; }
.shot:hover { filter: brightness(1.04); transform: translateY(-2px); }
.shot:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(28, 16, 9, .94); }
.lightbox::backdrop { background: rgba(28, 16, 9, .94); }
.lb-photo { position: absolute; inset: 64px max(64px, 6vw); background: var(--photo, none) center / contain no-repeat, var(--tint); }
.lb-btn { position: absolute; background: none; border: 1px solid rgba(255, 253, 249, .6); color: var(--white); font: inherit; cursor: pointer; }
.lb-close { top: 16px; right: max(16px, env(safe-area-inset-right, 0px)); padding: 8px 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; font-size: 18px; }
.lb-prev { left: max(12px, env(safe-area-inset-left, 0px)); }
.lb-next { right: max(12px, env(safe-area-inset-right, 0px)); }

/* schedule */
.schedule { background: var(--white); }
.schedule .section-head .eyebrow { color: #000000; }
.events { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.events li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 8px clamp(16px, 3vw, 36px); }
.events li + li { border-left: 1px solid #E6CDB7; }
.time { font-family: var(--caps); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--terracotta-dark); }
.events h3 { font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); white-space: nowrap; }

/* colours of the day */
.colours { background: url("/assets/pattern-green.png") 0 0 / 360px auto repeat, var(--pea); color: var(--white); }
.colours-inner {
  max-width: 760px; margin: 0 auto; background: var(--pea);
  padding: clamp(36px, 6vw, 64px) clamp(24px, 6vw, 64px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
}
.colours .eyebrow { color: #000000; }
.colours .script { color: var(--white); }
.colours .lead { color: var(--nude); }
.pill { margin-top: 8px; border: 1px solid var(--nude); padding: 8px 20px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }

/* travel */
.travel { background: var(--white); }
.travel .section-head .eyebrow { color: #000000; }
/* optical centring: the script "l" trails past the box; nudged until the letters sit centred under the label (checked by eye) */
.travel .section-head .script { position: relative; left: -.05em; }
.travel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; }
.place { background: var(--terracotta); color: #FFFFFF; padding: clamp(28px, 4vw, 40px); display: grid; grid-template-rows: subgrid; grid-row: span 3; align-items: start; justify-items: start; min-width: 0; }
.place h3 { font-family: var(--caps); font-size: 14px; letter-spacing: .26em; text-transform: uppercase; color: #FFFFFF; }
.place .soon { color: #FFFFFF; font-weight: 400; }
.place-name { font-family: var(--display); font-size: 26px; line-height: 1.2; }

/* faq */
.faq { background: #E4EBD6; } /* faded pea green, the way nude is faded terracotta */
.faq-wrap { max-width: 780px; }
.faq .section-head .eyebrow { color: #000000; }
/* sprig recoloured terracotta: the image is hidden and its shape used as a mask over a terracotta fill */
.faq .section-head .mark { object-position: -9999px 0; background: var(--terracotta); -webkit-mask: url('/assets/sprig-2.png') center / contain no-repeat; mask: url('/assets/sprig-2.png') center / contain no-repeat; }
.faq-list { border-top: 1px solid #CBD6B9; }
.faq details { border-bottom: 1px solid #CBD6B9; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-family: var(--display); font-size: clamp(21px, 2.2vw, 25px); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 300; font-size: 26px; line-height: 1; color: var(--terracotta); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--terracotta-dark); }
.faq details p { padding: 0 4px 24px; max-width: 62ch; color: var(--muted); }
.faq details a { color: var(--terracotta-dark); }

/* registry + hashtag */
/* the hands photo under a dark tint: lighter in the middle so the hands show between the two columns */
.gifts {
  background: radial-gradient(ellipse 24% 62% at 54% 52%, rgba(22, 16, 14, .3), rgba(16, 12, 10, .84) 100%),
              url('/assets/photos/band.jpg') 45% 55% / cover no-repeat, #1A1310;
  color: var(--white);
}
.gifts .eyebrow { color: var(--nude); }
.gifts .script, .gifts .tag-big { color: var(--white); }
.gifts .lead { color: rgba(255, 253, 249, .88); }
.gifts .btn-ghost { border-color: rgba(255, 253, 249, .85); color: var(--white); }
.gifts .btn-ghost:hover { background: var(--white); color: var(--ink); }
.gifts .copy-status { color: var(--nude); }
.gifts-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; }
.gifts .gifts-grid { max-width: 1120px; column-gap: clamp(40px, 16vw, 240px); }
.gifts .gift-col + .gift-col { border-left: 0; }
.gift-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 8px clamp(24px, 5vw, 64px); min-width: 0; }
.gift-col + .gift-col { border-left: 1px solid rgba(255, 253, 249, .3); }
.gift-col .lead { margin: 6px 0 22px; }
.gift-col .script { margin-bottom: 4px; }
.tag-big { font-family: var(--display); font-style: italic; font-size: clamp(40px, 5vw, 62px); line-height: 1.25; color: var(--terracotta); margin-bottom: 4px; }
.copy-status { min-height: 1.4em; margin-top: 10px; font-size: 14px; color: var(--pea-deep); }

/* rsvp */
.rsvp { background: var(--peach); }
/* optical centring: the script "P" trails past the box, so nudge the word left by half */
.rsvp-card .script { position: relative; left: -.13em; color: var(--pea-deep); }
.rsvp-wrap { display: flex; justify-content: center; }
.rsvp-card {
  width: 100%; max-width: 620px; background: var(--white);
  /* true semicircle: horizontal radius = half the width, vertical = the same length */
  border-radius: 50% 50% 2px 2px / min(310px, calc(50vw - 20px)) min(310px, calc(50vw - 20px)) 2px 2px;
  padding: clamp(56px, 9vw, 96px) clamp(24px, 6vw, 64px) clamp(40px, 6vw, 64px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  box-shadow: 0 40px 80px -30px rgba(60, 28, 12, .42), 0 12px 28px -14px rgba(60, 28, 12, .28); /* soft lift off the peach */
}
form { width: 100%; text-align: left; margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
label, legend { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-weight: 400; padding: 0; }
.hint { text-transform: none; letter-spacing: 0; color: var(--muted); font-style: italic; font-weight: 300; margin-left: 4px; }
input[type="text"], input[type="email"], textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--white); border: 0; border-bottom: 1px solid #CDBBA6; border-radius: 0;
  padding: 10px 2px; transition: border-color .2s;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, textarea:focus { outline: none; border-color: var(--terracotta); }
input[aria-invalid="true"], fieldset[aria-invalid="true"] { border-color: var(--terracotta); }
.choice { gap: 0; }
.choice legend { margin-bottom: 14px; }
.radio { display: flex; align-items: center; gap: 12px; text-transform: none; letter-spacing: 0; font-family: var(--display); font-size: 21px; cursor: pointer; }
.radio input { width: 20px; height: 20px; accent-color: var(--terracotta); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--terracotta-dark); background: #FBEAE2; padding: 12px 14px; font-size: 15px; }
#rsvpSubmit { align-self: center; margin-top: 6px; min-width: 220px; }
.rsvp-done { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.done-title { font-family: var(--display); font-style: italic; font-size: 36px; }

/* footer */
/* white sign-off after the pale green Questions */
.footer { background: var(--white); color: var(--ink); padding: clamp(64px, 9vw, 96px) var(--gutter-r) calc(48px + env(safe-area-inset-bottom, 0px)) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-line { color: var(--terracotta); font-family: var(--script); font-size: clamp(36px, 4.6vw, 54px); line-height: 1.15; margin: 6px 0 2px; }
.footer .caps { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); width: min(640px, 100%); }
.footer-links a { color: var(--ink); text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.footer-links a:hover { color: var(--terracotta); }
.footer .footer-logo { width: clamp(120px, 14vw, 150px); height: auto; margin-bottom: 8px; }
/* logo shown in black: the terracotta file's shape used as a mask over a black fill */
.footer .footer-logo { object-position: -9999px 0; background: #000000; -webkit-mask: url('/assets/oj-terracotta.png') center / contain no-repeat; mask: url('/assets/oj-terracotta.png') center / contain no-repeat; }

/* tablet */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-head { position: static; align-items: center; text-align: center; }
  .arch-photo { width: 80%; align-self: center; }
  .travel-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .place { display: flex; flex-direction: column; gap: 10px; }
  .travel-grid .place:last-child { grid-column: 1 / -1; }
  .gallery-grid { columns: 2; }
}

/* phone */
@media (max-width: 680px) {
  body { font-size: 16px; }
  /* phones show the full height, so a photo can zoom in to lift faces above the names */
  .slide { background-size: auto, var(--size-sm, cover), cover; background-position: 0 0, var(--pos-sm, var(--pos, center)), center; }
  .nav-inner { grid-template-columns: auto 1fr auto; height: 64px; }
  .nav-side { display: none; }
  .nav-mark img { width: 44px; }
  .nav-toggle {
    display: block; grid-column: 3; justify-self: end;
    background: none; border: 1px solid currentColor; color: inherit;
    font: inherit; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; padding: 9px 14px; cursor: pointer;
  }
  .date-band-inner { flex-direction: column; align-items: flex-start; }
  .countdown { padding-left: clamp(24px, 5vw, 48px); }
  .events { grid-template-columns: 1fr; gap: 0; }
  .events li { padding: 28px 0; }
  .events li + li { border-left: 0; border-top: 1px solid var(--line); }
  .travel-grid { grid-template-columns: 1fr; }
  .travel-grid .place:last-child { grid-column: auto; }
  .events h3 { white-space: normal; }
  .gifts-grid { grid-template-columns: 1fr; }
  .gift-col { padding: 40px 0; }
  .gift-col + .gift-col { border-left: 0; border-top: 1px solid rgba(255, 253, 249, .3); }
  .gifts { background: linear-gradient(rgba(16, 12, 10, .78), rgba(16, 12, 10, .78)), url('/assets/photos/band.jpg') 45% 55% / cover no-repeat, #1A1310; }
  .arch-photo { width: 82%; align-self: center; }
    .lb-photo { inset: 64px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .rsvp-card { padding-top: 92px; } /* keeps the reply-by line clear of the arch curve */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .slide { transition: none; }
}
