:root {
  --paper: #fbf7ef;
  --ivory: #f3eadf;
  --linen: #efe4d6;
  --ink: #211813;
  --muted: rgba(33, 24, 19, 0.62);
  --line: rgba(33, 24, 19, 0.15);
  --espresso: #140d0a;
  --coffee: #2b1c16;
  --cocoa: #68442f;
  --burgundy: #4b1718;
  --warm-accent: #a06a50;
  --warm-ivory: #d8ccbc;
  --biscotti: #c8ad85;
  --tawny: #9b704d;
  --cinnamon: #76442b;
  --chocolate: #332018;
  --white-ink: #fffaf2;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 24% 18%, rgba(33, 24, 19, 0.028) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 70% 80%, rgba(33, 24, 19, 0.018) 0 1px, transparent 1px 5px);
  background-size: 18px 18px, 24px 24px;
  mix-blend-mode: multiply;
  opacity: 0.22;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.dossier-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 46px;
  background: rgba(251, 247, 239, 0.64);
  color: var(--ink);
  border-bottom: 1px solid rgba(33, 24, 19, 0.055);
  backdrop-filter: blur(18px);
}

.dossier-mark,
.dossier-nav a,
.language-toggle,
.menu-toggle {
  display: grid;
  place-items: center;
}

.dossier-mark {
  padding: 0 clamp(14px, 2.4vw, 24px);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(0.78rem, 1.5vw, 0.98rem);
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.dossier-nav {
  grid-column: 2;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: end;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.dossier-nav::-webkit-scrollbar {
  display: none;
}

.dossier-nav a {
  min-width: max-content;
  padding: 0 clamp(9px, 1.25vw, 18px);
  min-height: 46px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(33, 24, 19, 0.68);
  transition: color 360ms var(--ease);
}

.dossier-nav a:hover {
  color: var(--ink);
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: clamp(10px, 1.7vw, 18px);
}

.language-toggle {
  width: 44px;
  min-height: 32px;
  border: 1px solid rgba(33, 24, 19, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.34);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 40px;
  min-height: 32px;
  border: 1px solid rgba(33, 24, 19, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.34);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition:
    transform 300ms var(--ease),
    opacity 300ms var(--ease);
}

.menu-toggle span + span {
  margin-top: 5px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(28deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-28deg);
}

.date-triptych {
  --hero-gap: clamp(10px, 1.45vw, 18px);
  --hero-stage-width: 100vw;
  width: 100vw;
  margin: clamp(34px, 7vw, 94px) 0 0 calc(50% - 50vw);
  overflow: hidden;
}

.hero-reel {
  --hero-loop-distance: 0px;
  --hero-duration: 58s;
  display: inline-flex;
  gap: var(--hero-gap);
  min-width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-reel.is-ready {
  animation: none;
}

.hero-sequence {
  display: flex;
  flex: 0 0 auto;
  gap: var(--hero-gap);
}

.hero-tile {
  position: relative;
  flex: 0 0 calc((var(--hero-stage-width) - (2 * var(--hero-gap))) / 3);
  min-height: clamp(300px, 44vw, 620px);
  margin: 0;
  overflow: hidden;
  background: var(--linen);
  isolation: isolate;
}

.hero-tile-landscape {
  flex-basis: calc(var(--hero-stage-width) * 0.72);
}

.hero-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.98) brightness(1);
  transform: scale(1.005);
}

.hero-photo-wide {
  object-position: 50% 34%;
  transform: scale(1.035);
}

.hero-photo-empty {
  object-position: 50% 47%;
}

.hero-photo-jonathan {
  object-position: 46% 43%;
}

.hero-photo-wall-overhead {
  object-position: 50% 44%;
}

.hero-photo-elizabeth {
  object-position: 56% 42%;
}

.hero-photo-smile {
  object-position: 48% 40%;
}

.hero-photo-horizontal-look {
  object-position: 50% 24%;
  transform: scale(1.12);
}

.hero-photo-handoff {
  object-position: 50% 36%;
  transform: scale(1.045);
}

.hero-photo-looking-up {
  object-position: 49% 40%;
}

.hero-photo-smile-walk {
  object-position: 50% 47%;
}

.invitation-strip {
  width: min(980px, calc(100% - 44px));
  margin: clamp(48px, 8vw, 110px) auto clamp(92px, 14vw, 190px);
  text-align: center;
}

.kicker {
  margin-bottom: clamp(14px, 2.4vw, 24px);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.55;
  text-transform: uppercase;
}

.invitation-strip .kicker {
  text-transform: none;
}

.invitation-strip h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(2.35rem, 5.8vw, 6rem);
  line-height: 1.055;
}

.invitation-strip p[data-text]:not(.kicker) {
  max-width: 590px;
  margin: clamp(24px, 3.6vw, 38px) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
  white-space: pre-line;
}

.letter-spread {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto clamp(96px, 13vw, 180px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.68fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.story-spread {
  width: min(980px, calc(100% - 44px));
  display: block;
}

.story-spread .letter-copy {
  max-width: 780px;
  margin-inline: auto;
  padding-block: clamp(18px, 4vw, 56px);
}

.story-spread .letter-copy h2 {
  max-width: 720px;
}

.story-spread .letter-copy p:not(.script-note) {
  max-width: 690px;
}

.story-spread .letter-copy p:not(.script-note) + p:not(.script-note) {
  margin-top: 18px;
}

.arch-photo {
  margin: 0;
  overflow: hidden;
  background: var(--linen);
}

.arch-photo img {
  aspect-ratio: 0.72;
  height: auto;
  object-fit: cover;
  object-position: center 36%;
}

.shared-yes {
  width: min(1060px, calc(100% - 44px));
  margin: 0 auto clamp(96px, 13vw, 190px);
  min-height: clamp(420px, 62vw, 660px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.9fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: clamp(42px, 7vw, 84px);
  background:
    radial-gradient(circle at 18% 26%, rgba(160, 106, 80, 0.22), transparent 34%),
    radial-gradient(circle at 86% 72%, rgba(75, 23, 24, 0.18), transparent 34%),
    linear-gradient(135deg, #2f211b, #1a110e 68%, #120c0a);
  color: var(--white-ink);
}

.shared-yes .kicker {
  color: rgba(255, 250, 242, 0.54);
}

.shared-yes h2 {
  max-width: 700px;
  font-size: clamp(2.45rem, 6.2vw, 5.8rem);
  line-height: 0.95;
}

.shared-yes p[data-text]:not(.kicker) {
  margin-top: clamp(26px, 4vw, 42px);
  color: rgba(255, 250, 242, 0.68);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 3.5vw, 3.2rem);
  line-height: 1.12;
}

.shared-yes p[data-text="sharedYesDate"] {
  color: rgba(255, 250, 242, 0.62);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.prologue-diptych {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.prologue-diptych figure {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 250, 242, 0.08);
}

.prologue-diptych figure:first-child {
  width: 88%;
  justify-self: end;
}

.prologue-diptych figure:last-child {
  width: 68%;
  justify-self: start;
}

.prologue-diptych img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.96);
}

.prologue-diptych figure:first-child img {
  aspect-ratio: 0.76;
  object-position: center 44%;
}

.prologue-diptych figure:last-child img {
  aspect-ratio: 1.18;
  object-position: center 52%;
}

.verse-interlude {
  width: min(860px, calc(100% - 44px));
  margin: 0 auto clamp(104px, 14vw, 190px);
  padding: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 70px);
  text-align: center;
}

.verse-interlude blockquote {
  position: relative;
  margin: 0;
}

.verse-interlude blockquote::before {
  display: block;
  width: 42px;
  height: 1px;
  margin: 0 auto clamp(32px, 5vw, 58px);
  content: "";
  background: rgba(75, 23, 24, 0.42);
}

.verse-interlude p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.06;
}

.verse-interlude cite {
  display: block;
  margin-top: clamp(24px, 3.5vw, 38px);
  color: rgba(75, 23, 24, 0.72);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.letter-copy {
  padding: clamp(18px, 4vw, 54px) 0;
}

.script-note {
  margin-bottom: clamp(16px, 2.8vw, 30px);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2.8vw, 2.15rem);
  font-style: italic;
  color: var(--warm-accent);
}

.letter-copy h2,
.info-card h2,
.rsvp-copy h2 {
  margin-bottom: clamp(18px, 3vw, 28px);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1.02;
}

.letter-copy p:not(.script-note),
.info-card p:not(.script-note),
.rsvp-copy p:not(.script-note),
.venue-text p {
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.72;
}

.day-spread,
.attire-spread,
.info-spread,
.rsvp-spread {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto clamp(90px, 12vw, 170px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(36px, 6vw, 76px);
}

.section-heading h2 {
  font-size: clamp(2.1rem, 5.2vw, 5.2rem);
  line-height: 0.98;
}

.section-heading p[data-text] {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.day-grid article {
  min-height: 230px;
  padding: clamp(28px, 4vw, 50px);
  border-right: 1px solid var(--line);
}

.day-grid article:last-child {
  border-right: 0;
}

.day-grid p,
.day-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.day-grid h3 {
  margin: 38px 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.04;
}

.day-grid span {
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
}

.venue-note {
  margin: 0 0 clamp(90px, 12vw, 170px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: stretch;
  background:
    radial-gradient(circle at 70% 25%, rgba(118, 68, 43, 0.24), transparent 30%),
    var(--coffee);
  color: var(--white-ink);
}

.venue-note figure {
  min-height: clamp(430px, 58vw, 780px);
  margin: 0;
  overflow: hidden;
}

.venue-note img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.venue-text {
  display: grid;
  align-content: center;
  padding: clamp(48px, 8vw, 120px);
}

.venue-text .kicker,
.venue-text p {
  color: rgba(255, 250, 242, 0.72);
}

.venue-text h2 {
  margin-bottom: clamp(20px, 3vw, 34px);
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 0.94;
}

.attire-grid {
  display: block;
  width: min(680px, 62vw);
  max-width: 100%;
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: clamp(38px, 5.4vw, 78px);
  overflow: visible;
}

.attire-editorial-fabric {
  position: relative;
  width: 100%;
  height: auto;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  overflow: visible;
  background: transparent;
}

.attire-editorial-fabric img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.96) contrast(1.01);
  transform: none;
}

.attire-evening {
  max-width: 520px;
  margin-top: clamp(42px, 7vw, 82px);
  padding-top: clamp(22px, 4vw, 38px);
  border-top: 1px solid var(--line);
}

.attire-evening .kicker {
  margin-bottom: 14px;
}

.attire-evening p:not(.kicker) {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.68;
}

.info-spread {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: start;
}

.info-card {
  min-height: 0;
  display: grid;
  align-content: center;
  padding: clamp(12px, 2vw, 24px) 0;
  background: transparent;
}

.policy-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.policy-grid article {
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.policy-grid h3 {
  margin-bottom: 12px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.policy-grid p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.rsvp-spread {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.78fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  padding: clamp(24px, 5vw, 70px) 0;
  border: 0;
  background: transparent;
}

.rsvp-form {
  display: grid;
  gap: clamp(20px, 2.7vw, 30px);
  max-width: 640px;
  margin-top: clamp(34px, 5vw, 58px);
}

.rsvp-hidden {
  display: none;
}

.rsvp-start {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  margin: 0 0 clamp(4px, 0.8vw, 10px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--burgundy);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  cursor: pointer;
}

.rsvp-start::after {
  content: "";
  display: block;
  width: clamp(42px, 10vw, 96px);
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.rsvp-start:focus-visible {
  outline: 1px solid var(--burgundy);
  outline-offset: 8px;
}

.rsvp-field {
  display: grid;
  gap: 11px;
}

.rsvp-field label,
.rsvp-field legend {
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.rsvp-field input,
.rsvp-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(46, 36, 31, 0.2);
  border-radius: 0;
  padding: 4px 0 15px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.5;
  outline: 0;
  transition: border-color 240ms ease;
}

.rsvp-field textarea {
  resize: vertical;
}

.rsvp-field input::placeholder,
.rsvp-field textarea::placeholder {
  color: rgba(76, 68, 61, 0.42);
}

.rsvp-field input:focus,
.rsvp-field textarea:focus {
  border-color: var(--burgundy);
}

.rsvp-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.rsvp-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rsvp-choices label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid rgba(46, 36, 31, 0.18);
  border-radius: 999px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    border-color 240ms ease,
    color 240ms ease,
    background 240ms ease;
}

.rsvp-choices input {
  width: 12px;
  height: 12px;
  accent-color: var(--burgundy);
}

.rsvp-choices label:has(input:checked) {
  border-color: var(--burgundy);
  background: rgba(75, 23, 24, 0.055);
  color: var(--burgundy);
}

.reply-button {
  width: fit-content;
  display: inline-grid;
  place-items: center;
  min-height: 56px;
  margin-top: 34px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--white-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

button.reply-button {
  border: 0;
  cursor: pointer;
}

button.reply-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.rsvp-status {
  min-height: 1.5em;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.rsvp-status[data-state="success"] {
  color: #365943;
}

.rsvp-status[data-state="error"] {
  color: var(--burgundy);
}

.quiet-link {
  display: block;
  width: fit-content;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rsvp-spread figure {
  margin: 0;
  overflow: hidden;
}

.rsvp-spread img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  filter: grayscale(1) contrast(1.05);
}

.dossier-footer {
  padding: clamp(70px, 12vw, 150px) 22px clamp(84px, 13vw, 160px);
  border-top: 0;
  text-align: center;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 1000ms var(--ease),
    transform 1000ms var(--ease);
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

.gallery-main {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.gallery-opening {
  padding: clamp(70px, 11vw, 140px) 0 clamp(36px, 7vw, 86px);
}

.gallery-opening h1 {
  font-size: clamp(3.2rem, 10vw, 9rem);
  line-height: 0.9;
}

.gallery-opening p[data-text] {
  max-width: 520px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.gallery-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
  padding-bottom: clamp(70px, 10vw, 140px);
}

.gallery-editorial figure {
  margin: 0;
}

.gallery-editorial .gallery-large {
  grid-column: 1 / -1;
}

.gallery-editorial img {
  aspect-ratio: 0.84;
  object-fit: cover;
  object-position: center;
  background: var(--linen);
}

.gallery-editorial .gallery-large img {
  aspect-ratio: 1.35;
}

.gallery-editorial figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .dossier-header {
    grid-template-columns: auto 1fr auto;
    min-height: 46px;
  }

  .dossier-mark {
    min-height: 46px;
    padding: 0 16px;
  }

  .dossier-nav {
    position: fixed;
    inset: 47px 0 0;
    z-index: 90;
    display: grid;
    grid-auto-flow: row;
    align-content: center;
    justify-content: stretch;
    justify-items: center;
    gap: clamp(22px, 4.8vh, 42px);
    width: 100%;
    min-height: calc(100dvh - 47px);
    padding: 42px 32px 58px;
    border: 0;
    background: rgba(251, 247, 239, 0.96);
    box-shadow: none;
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -10px, 0);
    transition:
      opacity 340ms var(--ease),
      transform 340ms var(--ease);
  }

  .dossier-nav a {
    justify-content: center;
    min-height: auto;
    padding: 0;
    color: var(--ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.72rem, 7.2vw, 3.2rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.04;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
  }

  .dossier-header.nav-open .dossier-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .header-actions {
    padding-right: 10px;
  }

  .language-toggle {
    min-height: 31px;
    width: auto;
    padding: 0 7px;
    border: 0;
    background: transparent;
    color: var(--ink);
  }

  .menu-toggle {
    display: grid;
    grid-template-columns: auto 13px;
    grid-template-rows: 1fr 1fr;
    width: auto;
    min-width: 66px;
    column-gap: 7px;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    border-color: rgba(33, 24, 19, 0.13);
    color: var(--ink);
  }

  .menu-toggle::before {
    content: "Menu";
    grid-column: 1;
    grid-row: 1 / 3;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .menu-toggle span {
    grid-column: 2;
    width: 13px;
  }

  .menu-toggle span + span {
    margin-top: 4px;
  }

  .date-triptych {
    --hero-gap: 7px;
    width: 100vw;
    margin-top: 28px;
  }

  .hero-tile {
    flex-basis: calc((100vw - 28px - var(--hero-gap)) / 2);
    min-height: clamp(250px, 72vw, 390px);
  }

  .hero-tile-landscape {
    flex-basis: calc(100vw - 28px);
  }

  .hero-tile-detail {
    min-height: clamp(250px, 63vw, 360px);
  }

  .hero-photo-wide {
    object-position: 50% 32%;
    transform: scale(1.04);
  }

  .hero-photo-empty {
    object-position: 50% 45%;
  }

  .hero-photo-jonathan {
    object-position: 44% 43%;
  }

  .hero-photo-wall-overhead {
    object-position: 50% 42%;
  }

  .hero-photo-elizabeth {
    object-position: 58% 42%;
  }

  .hero-photo-smile {
    object-position: 50% 48%;
  }

  .hero-photo-horizontal-look {
    object-position: 50% 20%;
    transform: scale(1.14);
  }

  .hero-photo-handoff {
    object-position: 50% 34%;
    transform: scale(1.055);
  }

  .hero-photo-looking-up {
    object-position: 53% 42%;
  }

  .hero-photo-smile-walk {
    object-position: 49% 44%;
  }

  .invitation-strip {
    margin-top: 46px;
    margin-bottom: 82px;
  }

  .invitation-strip h1 {
    font-size: clamp(2.08rem, 9.2vw, 3.35rem);
    line-height: 1.065;
  }

  .invitation-strip p[data-text]:not(.kicker) {
    font-size: 1rem;
    line-height: 1.68;
  }

  .shared-yes {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    margin-bottom: 84px;
    padding: 58px 22px;
  }

  .prologue-diptych {
    margin-top: 24px;
  }

  .prologue-diptych figure:first-child,
  .prologue-diptych figure:last-child {
    width: 100%;
  }

  .verse-interlude {
    width: calc(100% - 30px);
    margin-bottom: 84px;
    padding: 54px 10px 62px;
  }

  .verse-interlude p {
    font-size: clamp(1.82rem, 8.2vw, 3.1rem);
    line-height: 1.12;
  }

  .letter-spread,
  .venue-note,
  .info-spread,
  .rsvp-spread {
    grid-template-columns: 1fr;
  }

  .letter-spread,
  .day-spread,
  .attire-spread,
  .info-spread,
  .rsvp-spread {
    width: calc(100% - 30px);
    margin-bottom: 84px;
  }

  .letter-copy {
    padding-top: 0;
  }

  .day-grid {
    grid-template-columns: 1fr;
  }

  .day-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .day-grid article:last-child {
    border-bottom: 0;
  }

  .venue-note {
    margin-bottom: 84px;
  }

  .venue-note figure {
    min-height: 420px;
  }

  .venue-text {
    padding: 44px 22px 58px;
  }

  .attire-grid {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    padding-top: 34px;
  }

  .attire-editorial-fabric {
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .info-card {
    min-height: 0;
  }

  .rsvp-spread {
    padding: 20px 0;
  }

  .rsvp-form {
    max-width: none;
    gap: 24px;
  }

  .rsvp-choices {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rsvp-choices label {
    width: 100%;
    justify-content: flex-start;
  }

  .gallery-main {
    width: calc(100% - 30px);
  }

  .gallery-editorial {
    grid-template-columns: 1fr;
  }

  .gallery-editorial .gallery-large {
    grid-column: auto;
  }

  .gallery-editorial img,
  .gallery-editorial .gallery-large img {
    aspect-ratio: 0.82;
  }
}

@media (max-width: 420px) {
  .dossier-nav a {
    padding-inline: 11px;
    font-size: 0.56rem;
  }

  .date-triptych {
    --hero-gap: 5px;
    width: 100%;
  }

  .hero-tile {
    flex-basis: 50vw;
    min-height: 250px;
  }

  .kicker {
    font-size: 0.62rem;
  }
}

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

  .hero-reel {
    animation: none !important;
    transform: translate3d(0, 0, 0);
  }

  [data-reveal] {
    transition: none;
  }
}
