:root {
  --ivory: #f3eee6;
  --paper: #faf6f0;
  --ink: #2a1814;
  --muted: #5c463c;
  --burgundy: #6b2433;
  --burgundy-deep: #4c1522;
  --gold: #a68545;
  --gold-bright: #e4c98a;
  --line: rgba(166, 133, 69, 0.55);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --script: "Great Vibes", cursive;
  --nav-h: 4.25rem;
  --frame: 10px;
  --pad: 1.25rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: clip;
  background: #e7dfd2;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.55;
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--burgundy); }
::selection { background: var(--burgundy); color: var(--paper); }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 70;
}
body::before { inset: var(--frame); border: 1px solid rgba(166, 133, 69, 0.85); }
body::after { inset: calc(var(--frame) + 4px); border: 1px solid rgba(166, 133, 69, 0.35); }

.curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(228, 201, 138, 0.35), transparent 42%),
    var(--burgundy-deep);
  transform: translateY(-100%);
}
body.entering .curtain { animation: curtain-out 0.85s var(--ease) both; }
body.leaving .curtain { animation: curtain-in 0.55s cubic-bezier(0.7, 0, 0.3, 1) forwards; }
@keyframes curtain-out {
  from { transform: translateY(0); }
  to { transform: translateY(-105%); }
}
@keyframes curtain-in {
  from { transform: translateY(105%); }
  to { transform: translateY(0); }
}

.dust {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.dust i {
  position: absolute;
  bottom: -10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0;
  animation: float-up linear infinite;
  box-shadow: 0 0 10px rgba(228, 201, 138, 0.8);
}
@keyframes float-up {
  0% { transform: translateY(0) scale(0.4); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: translateY(-110vh) scale(1); opacity: 0; }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--nav-h);
  padding: 0.35rem var(--pad);
  background: rgba(243, 238, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(166, 133, 69, 0.28);
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--burgundy); line-height: 1; }
.brand-script { font-family: var(--script); font-size: 1.85rem; color: var(--burgundy); }
.brand-sub, .footer-date, .footer-mark {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
}
.brand-sub { color: var(--gold); margin-top: 0.1rem; }
.site-nav { display: none; gap: 0.85rem; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.site-nav a[aria-current="page"] { color: var(--burgundy); box-shadow: inset 0 -1px 0 var(--gold); }
.menu-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
}
.menu-lines { width: 18px; display: grid; gap: 4px; }
.menu-lines span { display: block; height: 1px; background: var(--burgundy); }
.nav-open .site-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: calc(var(--frame) + 4px);
  z-index: 65;
  background:
    radial-gradient(circle at 20% 10%, rgba(228, 201, 138, 0.25), transparent 40%),
    var(--ivory);
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.nav-open .site-nav a {
  font-size: clamp(1.35rem, 6vw, 1.8rem);
  letter-spacing: 0.16em;
  opacity: 0;
  animation: link-in 0.55s var(--ease) forwards;
}
.nav-open .site-nav a:nth-child(1) { animation-delay: 0.04s; }
.nav-open .site-nav a:nth-child(2) { animation-delay: 0.08s; }
.nav-open .site-nav a:nth-child(3) { animation-delay: 0.12s; }
.nav-open .site-nav a:nth-child(4) { animation-delay: 0.16s; }
.nav-open .site-nav a:nth-child(5) { animation-delay: 0.2s; }
.nav-open .site-nav a:nth-child(6) { animation-delay: 0.24s; }
.nav-open .site-nav a:nth-child(7) { animation-delay: 0.28s; }
.nav-open .site-nav a:nth-child(8) { animation-delay: 0.32s; }
@keyframes link-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.nav-open .menu-btn { position: relative; z-index: 75; }

.gate {
  position: fixed;
  z-index: 95;
  inset: 0;
  margin: 0;
  padding: 1.5rem;
  width: 100%;
  height: 100%;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(228, 201, 138, 0.24), transparent 42%),
    #4c1522;
  color: var(--gold-bright);
  cursor: pointer;
}
.gate-logo {
  width: min(86vw, 440px);
  height: min(86vw, 440px);
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  background: #f4f1ea;
  transform-origin: center center;
  animation: seal-spin 12s linear infinite;
  box-shadow:
    0 0 0 7px rgba(228, 201, 138, 0.35),
    0 0 0 9px rgba(228, 201, 138, 0.75);
}
@keyframes seal-spin {
  to { transform: rotate(360deg); }
}
.gate-date {
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
}
body.has-gate { overflow: hidden; }
body.gate-open .gate {
  animation: gate-lift 0.8s var(--ease) forwards;
  pointer-events: none;
}
@keyframes gate-lift {
  to { opacity: 0; transform: scale(1.06); visibility: hidden; }
}

.sheet, .cover-stage { position: relative; z-index: 2; }
.sheet {
  margin: 0.8rem 0.75rem 5.2rem;
  padding: 1.6rem var(--pad) 1.8rem;
  background:
    radial-gradient(ellipse at top, rgba(255, 252, 247, 0.7), transparent 55%),
    var(--ivory);
  box-shadow:
    0 24px 60px rgba(42, 24, 20, 0.16),
    0 0 0 1px rgba(166, 133, 69, 0.45);
  animation: sheet-in 0.9s var(--ease) both;
}
.sheet::before,
.sheet::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: #efe6d8;
  border: 1px solid rgba(166, 133, 69, 0.35);
  box-shadow: 0 12px 30px rgba(42, 24, 20, 0.08);
}
.sheet::before { inset: 12px 4px -14px 4px; transform: rotate(0.7deg); }
.sheet::after { inset: 20px 10px -22px 10px; transform: rotate(-0.8deg); background: #f7f1e7; }
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(56px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.center { text-align: center; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
}
.script { font-family: var(--script); font-weight: 400; line-height: 0.9; color: var(--burgundy); }
.lede { margin: 0 0 1.4rem; color: var(--muted); font-size: 1.2rem; }
.narrow { max-width: 38rem; }
.lede.center, .center.narrow { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  background: var(--burgundy);
  color: var(--paper);
  border: 1px solid var(--burgundy);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35), transparent 70%);
  transform: translateX(-120%);
  animation: sheen 2.8s ease-in-out infinite;
}
@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}
.btn:hover { background: var(--burgundy-deep); }
.btn-ghost { background: transparent; color: var(--burgundy); }
.btn-ghost:hover { background: var(--burgundy); color: var(--paper); }
.btn-light { background: transparent; color: var(--paper); border-color: rgba(246, 241, 232, 0.7); }
.btn-light:hover { background: var(--paper); color: var(--burgundy); }
.btn-ghost.light { color: var(--paper); border-color: rgba(246, 241, 232, 0.55); }
.btn-ghost.light:hover { background: var(--paper); color: var(--burgundy); }

.cover-stage { padding: 0.7rem 0.7rem 5rem; }
.stack { position: relative; min-height: calc(100svh - var(--nav-h) - 1.6rem); }
.stack-card {
  background: var(--ivory);
  box-shadow: 0 20px 50px rgba(42, 24, 20, 0.14);
}
.stack-card.back,
.stack-card.mid {
  position: absolute;
  inset: 18px 8px auto;
  height: calc(100% - 10px);
  border: 1px solid rgba(166, 133, 69, 0.4);
}
.stack-card.back { transform: rotate(-2.4deg) translateY(10px); background: #efe4d4; }
.stack-card.mid { transform: rotate(1.8deg) translateY(4px); background: #f7f1e6; }
.stack-card.front {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--nav-h) - 2rem);
  animation: sheet-in 1s var(--ease) both;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  margin: 0.1rem 0 0.45rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: clamp(3rem, 13vw, 4.4rem);
}
.hero h1 .script { animation: name-in 1s var(--ease) both; }
.hero h1 .script:nth-of-type(2) { animation-delay: 0.18s; }
@keyframes name-in {
  from { opacity: 0; transform: translateY(24px) rotate(-4deg); }
  to { opacity: 1; transform: none; }
}
.hero h1 .amp {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.38em;
  line-height: 0.45;
  margin: 0.05em 0 0.05em 0.3em;
  color: var(--gold);
}
.hero-full { margin: 0; color: var(--muted); }
.hero-meta { margin: 0.75rem 0 0; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.hero-photo { position: relative; height: min(32vh, 280px); min-height: 168px; overflow: hidden; background: #d9cfc3; }
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  animation: ken 16s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 24%;
  background: linear-gradient(to bottom, transparent, var(--ivory));
}
.corner { position: absolute; top: 0; right: 0; width: min(28vw, 120px); height: auto; z-index: 1; }

.count {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  width: min(100%, 420px);
  margin-top: 0.85rem;
}
.count div { border-top: 1px solid var(--gold); padding-top: 0.4rem; text-align: center; }
.count b {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.count b.tick { animation: flip 0.45s var(--ease); }
@keyframes flip {
  from { transform: translateY(-8px) rotateX(50deg); opacity: 0.2; }
  to { transform: none; opacity: 1; }
}
.count span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose { max-width: 740px; margin: 0 auto; text-align: center; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin: 0.3rem auto 1rem; max-width: 220px; }
.ornament span { flex: 1; height: 1px; background: var(--gold); transform-origin: center; animation: draw 1.1s var(--ease) both; }
.ornament i { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.ornament.light span { background: rgba(228, 201, 138, 0.9); }
.ornament.light i { border-color: var(--gold-bright); }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.logo { width: min(240px, 68vw); margin: 0.2rem auto 0.8rem; display: block; animation: name-in 1s var(--ease) both; }
.invite-lead { margin: 0 auto 1rem; max-width: 34rem; font-size: 1.25rem; font-style: italic; }
.names { margin: 0.2rem 0 0.4rem; display: flex; flex-direction: column; align-items: center; }
.names .script { font-size: clamp(2.15rem, 7.2vw, 4.1rem); }
.names .sub { font-size: clamp(1.8rem, 6vw, 3rem); margin-top: -0.15em; }
.names .amp { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 2.1rem; line-height: 0.7; margin: 0.1em 0; }
.signed { margin: 0.3rem 0 1.2rem; letter-spacing: 0.06em; color: var(--muted); }
.letter { margin: 0 auto; max-width: 36rem; text-align: left; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); }
.letter p { margin: 0 0 0.85rem; }
.signoff span { font-family: var(--script); font-size: 2rem; color: var(--burgundy); line-height: 1; }

.pair { max-width: 860px; margin: 1.6rem auto 0; display: grid; gap: 1.2rem; }
.pair article { text-align: center; animation: name-in 0.9s var(--ease) both; }
.pair article:last-child { animation-delay: 0.15s; }
.pair h3 { margin: 0; font-family: var(--script); font-size: clamp(2.6rem, 8vw, 4rem); font-weight: 400; color: var(--burgundy); }
.who { margin: 0.3rem 0 0; font-size: 1.35rem; }
.aka { margin: 0.2rem 0 0; color: var(--muted); font-style: italic; }
.pair-amp { margin: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--gold); }

.timeline { list-style: none; margin: 1.4rem 0 0; padding: 0; border-left: 1px solid var(--gold); max-width: 640px; }
.timeline li { padding: 0 0 1.5rem 1.25rem; position: relative; animation: name-in 0.7s var(--ease) both; }
.timeline li:nth-child(2) { animation-delay: 0.15s; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.45rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--burgundy);
  box-shadow: 0 0 0 6px rgba(166, 133, 69, 0.18);
}
.timeline time { display: block; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; color: var(--gold); }
.timeline h3 { margin: 0.15rem 0; font-size: 1.8rem; }
.timeline p { margin: 0; color: var(--muted); }
.calendar-row { margin: 1.2rem 0 0; }

.venues { margin-top: 1.2rem; display: grid; gap: 0.85rem; }
.venue {
  padding: 1.3rem 1.15rem;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.65);
  animation: sheet-in 0.8s var(--ease) both;
}
.venue:nth-child(2) { animation-delay: 0.12s; }
.venue h3 { margin: 0 0 0.25rem; font-size: 2rem; }
.venue p { margin: 0; color: var(--muted); }
.venue-kicker { margin: 0 0 0.3rem; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.72rem; font-weight: 700; color: var(--gold); }
.when { margin-top: 0.65rem !important; font-style: italic; }
.venue .btn { margin-top: 1rem; }
.venue-deep { background: var(--burgundy-deep); color: var(--paper); border-color: var(--burgundy-deep); }
.venue-deep p, .venue-deep .when { color: rgba(246, 241, 232, 0.82); }
.venue-deep .venue-kicker { color: var(--gold-bright); }

.card-frame {
  width: min(440px, 100%);
  margin: 1rem auto 0;
  padding: 0.55rem;
  background: #fffdf9;
  border: 1px solid var(--gold);
  box-shadow: 0 22px 50px rgba(42, 24, 20, 0.16);
  animation: sheet-in 0.9s var(--ease) both;
}
.zoom { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.zoom img { display: block; width: 100%; height: auto; transition: transform 0.6s var(--ease); }
.zoom:hover img { transform: scale(1.015); }
.card-frame figcaption { margin: 0.4rem 0 0.1rem; text-align: center; color: var(--muted); font-style: italic; font-size: 0.95rem; }

.swatches {
  list-style: none;
  margin: 1.4rem auto 0;
  padding: 0;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 0.55rem;
}
.swatches li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  animation: bloom 0.7s var(--ease) both;
}
.swatches li:nth-child(2) { animation-delay: 0.06s; }
.swatches li:nth-child(3) { animation-delay: 0.12s; }
.swatches li:nth-child(4) { animation-delay: 0.18s; }
.swatches li:nth-child(5) { animation-delay: 0.24s; }
.swatches li:nth-child(6) { animation-delay: 0.3s; }
@keyframes bloom {
  from { opacity: 0; transform: translateY(18px) scale(0.7); }
  to { opacity: 1; transform: none; }
}
.swatch {
  width: 100%;
  max-width: 92px;
  aspect-ratio: 1;
  border: 1px solid rgba(42, 24, 20, 0.12);
  box-shadow: 0 10px 24px rgba(42, 24, 20, 0.12);
}
.swatch-line { border-color: var(--gold); }

.toast {
  margin-top: 1.6rem;
  padding: 2.4rem 1rem;
  background: var(--burgundy-deep);
  color: var(--paper);
  text-align: center;
  animation: sheet-in 0.9s var(--ease) both;
}
.toast-label { margin: 0.15rem 0 0.4rem; font-family: var(--script); font-size: clamp(2.6rem, 8vw, 3.8rem); color: var(--gold-bright); }
.toast blockquote { margin: 0 auto; max-width: 38rem; font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-style: italic; line-height: 1.45; }
.heart { width: 16px; height: 16px; margin-top: 0.7rem; fill: var(--gold-bright); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.field { margin: 0 0 1rem; display: block; }
.field span {
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--burgundy);
}
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 1.05rem;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.form-error { color: var(--burgundy-deep); font-style: italic; margin: 0 0 0.7rem; }
.form-status { min-height: 1.2em; color: var(--muted); font-style: italic; }
.letter-form, .wish-list { max-width: 640px; }
.wish-list { margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.wish { margin: 0; padding: 0.9rem 0.2rem; border-top: 1px solid var(--line); animation: name-in 0.5s var(--ease) both; }
.wish p { margin: 0; }
.wish footer { margin-top: 0.45rem; color: var(--muted); font-size: 0.95rem; }
.wish footer b { color: var(--burgundy); font-weight: 600; }
.empty-wish { margin: 0; color: var(--muted); font-style: italic; }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.pager a { text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

.footer {
  position: relative;
  z-index: 2;
  margin: 0 0.75rem 5rem;
  padding: 2.2rem 1rem 1.6rem;
  text-align: center;
  background: var(--burgundy-deep);
  color: var(--paper);
  box-shadow: 0 18px 40px rgba(42, 24, 20, 0.16);
}
.footer p { margin: 0.15rem 0; }
.footer-script { font-size: 2.8rem; color: var(--gold-bright); display: block; }
.footer-names { font-size: 1.35rem; letter-spacing: 0.08em; }
.footer-date { margin-top: 0.7rem !important; color: var(--gold-bright); }
.footer-mark { color: rgba(246, 241, 232, 0.72); }
.footer-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; }

.dots {
  position: fixed;
  z-index: 66;
  left: 50%;
  bottom: calc(var(--frame) + 8px);
  transform: translateX(-50%);
  display: flex;
  gap: 0;
  padding: 0 0.35rem;
  background: rgba(250, 246, 240, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(42, 24, 20, 0.12);
}
.dots a {
  min-width: 32px;
  min-height: 44px;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.dots a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(166, 133, 69, 0.55);
  transition: width 0.25s var(--ease), background 0.25s ease;
}
.dots a[aria-current="page"]::after { width: 18px; border-radius: 99px; background: var(--burgundy); }

dialog {
  width: min(920px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
}
dialog::backdrop { background: rgba(28, 14, 16, 0.86); }
dialog img { display: block; width: 100%; height: auto; max-height: calc(100vh - 5rem); object-fit: contain; margin: 0 auto; }
.lightbox-close {
  display: block;
  margin: 0 0 0.45rem auto;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  background: var(--paper);
  color: var(--burgundy);
  border: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 699px) { :root { --frame: 7px; } }

@media (min-width: 760px) {
  .pair { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .pair article:first-child { text-align: right; }
  .pair article:last-child { text-align: left; }
  .venues { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  :root { --pad: 2rem; }
  .menu-btn { display: none; }
  .site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .site-nav a { font-size: 0.72rem; letter-spacing: 0.08em; }
  .stack-card.front { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); min-height: calc(100svh - var(--nav-h) - 1.5rem); }
  .hero-copy { padding: 1.2rem 1.8rem; }
  .hero h1 { font-size: clamp(3.4rem, 4.6vw, 5.2rem); }
  .hero-photo { height: auto; min-height: 100%; }
  .hero-photo::after {
    inset: 0 auto 0 0;
    width: 18%;
    height: auto;
    background: linear-gradient(to right, var(--ivory), transparent);
  }
  .sheet { margin: 1.1rem auto 5.4rem; max-width: 1040px; padding: 2.6rem 2.4rem 2.2rem; }
  .footer { max-width: 1040px; margin: 0 auto 5.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .curtain { display: none; }
  .gate-logo { animation: none; }
  .nav-open .site-nav a { opacity: 1; }
}

@media print {
  body::before, body::after, .nav, .dots, .curtain, .dust, .gate, .pager, .footer-actions { display: none !important; }
  .sheet, .footer, .venue-deep, .toast { box-shadow: none; background: white; color: black; }
}
