/* Vera Wellwood · site styles
   Palette from the author's theme image (30 Nov 2026), its cool right side for the night,
   its warm left side for the light:
   night   #2B3742  deep blue-grey: header, scene, footer, the invitation
   night-2 #3A4957  lighter blue-grey
   steel   #677988  the image's teal-grey: rules and quiet lines on dark
   ivory   #E7DBCD  page
   paper   #F1E8DC  raised surfaces on the page
   ink     #33261F  dark cocoa: text
   gold    #C29A5B  lamplight: the one accent
*/

@font-face { font-family: "Cardo"; src: url("/assets/fonts/Cardo-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("/assets/fonts/Cardo-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("/assets/fonts/Cardo-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/SourceSans3.woff") format("woff"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --night: #2B3742;
  --night-2: #3A4957;
  --night-ink: #1E272F;
  --steel: #677988;
  --on-night: #D9D6CF;
  --on-night-soft: #AEB8BF;
  --snow: #E7DBCD;
  --paper: #F1E8DC;
  --ink: #33261F;
  --ink-soft: #66554A;
  --rule: #D3C3AF;
  --brass: #C29A5B;
  --brass-hi: #D4B37C;
  --serif: "Cardo", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--snow); color: var(--ink);
  font-family: var(--serif); font-size: 1.1875rem; line-height: 1.6;
  font-variant-numeric: oldstyle-nums; text-rendering: optimizeLegibility;
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }
img, svg, canvas { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); color: var(--ink); padding: .5rem 1rem; font-family: var(--sans); z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2.5rem, 62rem); margin-inline: auto; }

/* ---------- Top bar ---------- */
.bar { font-family: var(--sans); font-size: 1rem; }
.bar .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.bar .home { font-family: var(--serif); font-size: 1.25rem; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.bar nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.bar nav a { text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current="page"] { text-decoration: underline; }
.bar--night { background: var(--night); color: var(--on-night); }
/* Homepage: the bar sits on the picture itself, fading into it, with no band of its own */
.bar--over { position: absolute; top: 0; left: 0; right: 0; z-index: 6; color: #F2EBE1;
  background: linear-gradient(to bottom, rgba(24,31,38,.6), rgba(24,31,38,0)); }
.bar--over a { text-shadow: 0 1px 12px rgba(18,24,30,.85); }
.bar--snow { color: var(--ink); border-bottom: 1px solid var(--rule); }
@media (max-width: 30rem) { .bar .home { font-size: 1.1rem; } .bar nav ul { gap: 1rem; } .bar { font-size: .95rem; } }

/* ---------- The gate scene (homepage opening) ---------- */
.hero { background: var(--night); color: var(--on-night); position: relative; }
.hero h1 { font-weight: 400; font-size: clamp(2.8rem, 5vw, 4.3rem); line-height: .95; letter-spacing: -.015em; margin: 0; color: #F2EBE1; }
.hero h1 .surname { display: block; padding-left: .9em; }
.hero .promise { font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.55rem); color: var(--on-night); margin: 1.1rem 0 0; max-width: 24em; }
.scene-copy { position: absolute; z-index: 4; top: 0; left: 0; right: 0; pointer-events: none; }
.scene-copy .wrap { padding-top: calc(4.5rem + clamp(.5rem, 2.5vw, 2rem)); }
.scene-copy h1, .scene-copy .promise { text-shadow: 0 2px 22px rgba(18,24,30,.8); }
.scene-view { position: relative; overflow: hidden; height: clamp(520px, min(100svh, 62vw), 1080px); background: var(--night); touch-action: pan-y; }
.scene-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; max-width: none; }
.is-framed .scene-img { inset: auto; }
.scene-gl, .scene-snow { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-gl { opacity: 0; transition: opacity .8s ease; }
.is-live .scene-gl { opacity: 1; }
.scene-snow { pointer-events: none; z-index: 2; }
.scene-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(24,31,38,.72) 0%, rgba(24,31,38,.35) 22%, transparent 40%, transparent 80%, rgba(24,31,38,.7) 100%),
              radial-gradient(ellipse 46% 34% at 24% 20%, rgba(24,31,38,.62), rgba(24,31,38,0)),
              linear-gradient(100deg, rgba(24,31,38,.3) 0%, transparent 36%); }

/* A name appears only above the person chosen. The list of six stays hidden from
   sight but reachable by keyboard and screen readers; focusing one chooses that person. */
.cast { list-style: none; margin: 0; padding: 0; position: absolute; left: 1rem; bottom: 4.5rem; z-index: 5; }
.cast li { display: inline; }
.cast button {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}
.cast button:focus-visible {
  position: static; width: auto; height: auto; clip: auto; margin: 0 .4rem 0 0; overflow: visible;
  font: .9rem var(--sans); background: var(--night); color: #F2EBE1; padding: .3rem .6rem;
  border: 1px solid var(--brass-hi); border-radius: 3px; outline: none;
}
.scene-who {
  position: absolute; z-index: 4; margin: 0; pointer-events: none; white-space: nowrap;
  transform: translate(-50%, -100%); opacity: 0;
  font: 1.15rem/1.1 var(--serif); color: #F2EBE1; letter-spacing: .01em;
  padding: .35rem .7rem; background: rgba(30,39,47,.72); border: 1px solid rgba(212,179,124,.65); border-radius: 3px;
}
.scene-who::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 12px; background: rgba(212,179,124,.75); }
.scene-who.is-on { animation: who-in .45s ease-out forwards; }
@keyframes who-in { from { opacity: 0; transform: translate(-50%, calc(-100% + 8px)); } to { opacity: 1; transform: translate(-50%, -100%); } }
@media (prefers-reduced-motion: reduce) { .scene-who.is-on { animation: none; opacity: 1; } }

.scene-caption {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.25rem;
  font: 1.05rem/1.45 var(--sans); color: var(--on-night); text-align: center;
}
.scene-caption strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: #F2EBE1; }

/* Phones: the whole painting, edge to edge, scaled with the screen (gatehouse to guest),
   the name and line above it on the night, and the picture fading up into them. */
@media (max-width: 44rem) {
  .bar--over { background: none; }
  .bar--over .wrap { padding-block: .9rem; }
  .scene-copy { position: relative; z-index: 4; background: var(--night); }
  .scene-copy .wrap { padding: 3.6rem 0 .4rem; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); line-height: 1; }
  .hero h1 .surname { display: inline; padding-left: 0; }
  .hero .promise { font-size: 1.05rem; margin-top: .45rem; }
  .scene-view { height: auto; aspect-ratio: 2720 / 1536; margin-top: -1px; }
  .scene-shade { background: linear-gradient(to bottom, var(--night) 0%, rgba(43,55,66,.55) 9%, rgba(43,55,66,0) 24%, transparent 82%, var(--night) 100%); }
  .scene-who { font-size: .9rem; padding: .25rem .5rem; }
  .scene-caption { position: static; background: var(--night); font-size: .95rem; padding: .5rem 1.25rem 1.4rem; }
  .scene-caption strong { font-size: 1.05rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section h2 { font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 1rem; }
.section p { max-width: var(--measure); margin: 0 0 1rem; }
.lead { font-size: 1.3rem; color: var(--ink-soft); }
.page-title { font-weight: 400; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 1.5rem; letter-spacing: -.01em; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .4rem; font-weight: 400; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose code { font-family: var(--sans); font-size: .9em; background: var(--paper); border: 1px solid var(--rule); padding: 0 .25em; border-radius: 2px; }
.small { font-family: var(--sans); font-size: .95rem; color: var(--ink-soft); }

/* ---------- The guest list: a private invitation ---------- */
.invite {
  position: relative; max-width: 40rem; margin-inline: auto;
  background: var(--night); color: var(--on-night);
  padding: clamp(2.25rem, 6vw, 3.75rem) clamp(1.5rem, 6vw, 3.75rem) clamp(1.75rem, 5vw, 2.75rem);
  text-align: center;
  border: 1px solid var(--brass);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -24px rgba(30,39,47,.55);
}
.invite::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(194,154,91,.55); pointer-events: none; }
.invite .by { font-style: italic; color: var(--brass-hi); margin: 0 0 .6rem; font-size: 1.1rem; }
.invite h2, .invite h1 { font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1.05; margin: 0 0 .9rem; color: #F2EBE1; }
.invite .ask { font-size: 1.2rem; margin: 0 auto 1.75rem; max-width: 26rem; }
.invite .fields { display: grid; gap: 1.1rem 1.5rem; grid-template-columns: 1fr 1.3fr; text-align: left; max-width: 30rem; margin: 0 auto; }
.invite label { display: block; font: .9rem var(--sans); color: var(--on-night-soft); margin-bottom: .2rem; }
.invite input {
  width: 100%; border: 0; border-bottom: 1px solid var(--steel); background: transparent;
  font: italic 1.2rem/1.3 var(--serif); color: #F2EBE1; padding: .2rem 0 .3rem;
}
.invite input::placeholder { color: #7F8E99; }
.invite input:focus { outline: none; border-bottom-color: var(--brass-hi); }
.invite .btn { margin-top: 1.75rem; }
.invite .fine { font: .85rem/1.5 var(--sans); color: var(--on-night-soft); max-width: 28rem; margin: 1.5rem auto 0; }
.invite .fine a { color: var(--on-night); }
.signup-status { font: 1rem var(--sans); margin: 1rem 0 0; min-height: 0; }
.signup-status:empty { display: none; }
.signup-status[data-tone="ok"] { color: #A9C9AE; }
.signup-status[data-tone="error"] { color: #E3A79B; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 34rem) { .invite .fields { grid-template-columns: 1fr; } }

.btn {
  font-family: var(--sans); font-size: 1.05rem; font-weight: 600;
  background: var(--brass); color: var(--night-ink);
  border: 0; border-radius: 3px; padding: .8rem 1.4rem; cursor: pointer;
}
.btn:hover { background: var(--brass-hi); }
.btn:disabled { background: #4A5865; color: #B7C0C6; cursor: not-allowed; }

/* ---------- Books ---------- */
.shelf { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 12rem)); margin-top: 2rem; }
.spine-slot {
  aspect-ratio: 2 / 3; border: 1px dashed var(--steel);
  display: flex; align-items: flex-end; padding: 1rem;
  font-family: var(--sans); font-size: .95rem; color: var(--ink-soft);
  background: repeating-linear-gradient(180deg, transparent 0 23px, #DDCFBE 23px 24px);
}

/* ---------- Inner pages: words beside a picture of the estate ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 1fr) minmax(16rem, 25rem); align-items: start; }
.plate { margin: 0; position: relative; border: 1px solid var(--brass); background: var(--night); padding: 9px;
  box-shadow: 0 18px 40px -24px rgba(30,39,47,.6); }
.plate::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(194,154,91,.45); pointer-events: none; }
.plate img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 52rem) {
  .split { grid-template-columns: 1fr; }
  .plate { max-width: 26rem; }
}

/* ---------- Footer ---------- */
.foot { background: var(--night-ink); color: var(--on-night-soft); font-family: var(--sans); font-size: .95rem; }
.foot .wrap { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); padding-block: 3rem 2rem; }
.foot .home { font-family: var(--serif); font-size: 1.35rem; color: #F2EBE1; text-decoration: none; }
.foot-main p { margin: .35rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; align-content: start; }
.foot a { color: var(--on-night); }
.foot .copy { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(194,154,91,.25); font-size: .85rem; }
@media (max-width: 44rem) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot-main { grid-column: 1 / -1; } }

/* ---------- Menu on phones ---------- */
.menu-btn { display: none; font: inherit; color: inherit; background: none; border: 1px solid currentColor; border-radius: 3px; padding: .3rem .75rem; cursor: pointer; opacity: .9; }
@media (max-width: 52rem) {
  .bar .wrap { align-items: center; flex-wrap: wrap; }
  .menu-btn { display: block; }
  .bar nav { display: none; width: 100%; }
  .bar.is-open nav { display: block; }
  .bar nav ul { flex-direction: column; gap: 0; padding: .5rem 0 .25rem; }
  .bar nav a { display: block; padding: .6rem 0; font-size: 1.1rem; border-top: 1px solid rgba(194,154,91,.25); }
  .bar--over.is-open { background: rgba(24,31,38,.96); }
  .bar--snow.is-open { background: var(--snow); }
}

/* ---------- Pages with the estate behind them ---------- */
.scene-page { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; color: #F2EBE1; background: var(--night);
  padding: calc(6rem + 3vw) 0 clamp(4rem, 8vw, 7rem); }
.backdrop { position: absolute; inset: 0; z-index: -1; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.backdrop::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24,31,38,.9) 0%, rgba(24,31,38,.72) 38%, rgba(24,31,38,.2) 72%, rgba(24,31,38,.05) 100%),
              linear-gradient(to bottom, rgba(24,31,38,.65) 0%, transparent 22%, transparent 72%, rgba(24,31,38,.85) 100%); }
.scene-body { position: relative; }
.scene-page .page-title { color: #F7F1E8; text-shadow: 0 2px 24px rgba(18,24,30,.6); }
.scene-page .lead { color: var(--on-night); max-width: 32rem; }
.scene-page p { max-width: 32rem; }
.scene-page a { color: #F7F1E8; }
.scene-page .after { margin-top: 2.25rem; }
.scene-page .follow { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(194,154,91,.35); }
@media (max-width: 44rem) {
  .backdrop::after { background: linear-gradient(to bottom, rgba(24,31,38,.8) 0%, rgba(24,31,38,.62) 45%, rgba(24,31,38,.2) 80%, rgba(24,31,38,.55) 100%); }
  .scene-page p, .scene-page .lead { text-shadow: 0 1px 14px rgba(18,24,30,.9); }
}
.stores { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .75rem; max-width: 34rem; }
.store { display: grid; gap: .2rem; padding: 1rem 1.25rem; background: rgba(24,31,38,.55); border: 1px solid rgba(242,235,225,.18); backdrop-filter: blur(6px); }
.store strong { font-weight: 400; font-size: 1.2rem; color: #F7F1E8; }
.store span { font: 1rem/1.5 var(--sans); color: var(--on-night); }
.store.is-next { border-color: var(--brass); }

/* ---------- The guest list: an engraved invitation on a full-width band ---------- */
.invite-band { background: var(--night);
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px);
  padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.card {
  position: relative; max-width: 42rem; margin-inline: auto; text-align: center; color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(90% 120% at 100% 100%, rgba(194,154,91,.10), transparent 55%),
    #F4ECE0;
  padding: clamp(2.75rem, 7vw, 4.25rem) clamp(1.5rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3rem);
  box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 30px 60px -24px rgba(0,0,0,.65);
}
.card::before, .card::after { content: ""; position: absolute; pointer-events: none; }
.card::before { inset: 12px; border: 1px solid #B8904F; }
.card::after { inset: 17px; border: 2px solid rgba(184,144,79,.55); }
.crest { width: 4.25rem; height: 4.25rem; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid #B8904F; box-shadow: inset 0 0 0 4px #F4ECE0, inset 0 0 0 5px rgba(184,144,79,.6);
  font: italic 1.35rem/1 var(--serif); letter-spacing: .04em;
  color: #9E7638; background: linear-gradient(160deg, #F7F0E5, #EADCC6); }
.card-only { margin: 0 0 .5rem; font: 600 .78rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #9E7638; }
.card-title { font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.05; margin: 0 0 1rem; color: var(--ink); }
.card-request { font-style: italic; font-size: clamp(1.15rem, 2.6vw, 1.35rem); line-height: 1.5; margin: 0 auto 1.6rem; color: #4A3B32; max-width: 30rem; }
.card-rsvp { margin: 0 0 .6rem; font-style: italic; color: #9E7638; }
.card-rsvp::before, .card-rsvp::after { content: ""; display: inline-block; width: 3.5rem; height: 1px; background: #C9A66B; vertical-align: middle; margin: 0 .8rem; }
.card .fields { display: grid; gap: 1rem 1.75rem; grid-template-columns: 1fr 1.3fr; text-align: left; max-width: 30rem; margin: 0 auto; }
.card label { display: block; font: italic 1rem var(--serif); color: #6B5A4E; margin-bottom: .1rem; }
.card label span { font-size: .85em; opacity: .75; }
.card input { width: 100%; border: 0; border-bottom: 1px solid #B8A78F; background: transparent; font: 1.15rem/1.3 var(--serif); color: var(--ink); padding: .25rem 0 .3rem; }
.card input:focus { outline: none; border-bottom-color: #9E7638; }
.card input:disabled { background: transparent; }
.btn--card { margin-top: 1.9rem; background: var(--night); color: #E9CF9C; border: 1px solid #B8904F; font: 1.05rem var(--serif); letter-spacing: .03em; padding: .85rem 1.8rem; border-radius: 2px; }
.btn--card:hover { background: var(--night-2); }
.btn--card:disabled { background: var(--night); color: #D9C39A; opacity: .85; }
.card .fine { font: .82rem/1.5 var(--sans); color: #7A695C; max-width: 26rem; margin: 1.4rem auto 0; }
.card .fine a { color: inherit; }
@media (max-width: 34rem) { .card .fields { grid-template-columns: 1fr; } .card-rsvp::before, .card-rsvp::after { width: 2rem; } }
.band-page .section { padding-top: 2.5rem; }

/* ---------- Twelve books on one shelf ---------- */
.series { padding-block: clamp(3.5rem, 8vw, 6rem); }
.series-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.series-head h2 { font-weight: 400; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.05; margin: 0; }
.series-head p { margin: 0; color: var(--ink-soft); }
@media (max-width: 44rem) { .series-head { grid-template-columns: 1fr; } }
.shelf-row { list-style: none; margin: 0; padding: 0 0 0; display: flex; align-items: flex-end; gap: clamp(3px, .6vw, 8px);
  border-bottom: 3px solid #5C4A3E; box-shadow: 0 8px 14px -10px rgba(51,38,31,.6); }
.spine { flex: 1 1 0; height: clamp(8.5rem, 17vw, 13rem); display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: .4rem; padding: .7rem 0; border: 1px solid #BBA88F; border-bottom: 0; background: rgba(255,255,255,.25);
  font: clamp(.62rem, 1.1vw, .82rem)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #9C8A7A; }
.spine span, .spine em { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-style: normal; }
.spine:nth-child(3n+2) { height: clamp(8rem, 16vw, 12.3rem); }
.spine:nth-child(4n+3) { height: clamp(8.8rem, 17.6vw, 13.5rem); }
.spine.is-next { background: var(--night); border-color: var(--brass); color: #E9CF9C; box-shadow: inset 0 0 0 3px var(--night), inset 0 0 0 4px rgba(194,154,91,.6); }
.spine.is-next em { color: #F2EBE1; opacity: .85; }
.series-links { display: flex; gap: 1.5rem; margin: 1.5rem 0 0; }
.scene-page .shelf-row { margin-top: 2.5rem; max-width: 44rem; border-bottom-color: rgba(194,154,91,.7); box-shadow: none; }
.scene-page .spine { border-color: rgba(242,235,225,.35); background: rgba(24,31,38,.45); color: rgba(242,235,225,.6); backdrop-filter: blur(4px); }
.scene-page .spine.is-next { background: var(--night); border-color: var(--brass); color: #E9CF9C; }
.spine.is-next { flex-direction: row; align-items: flex-end; justify-content: center; gap: .3rem; }

/* ---------- The wax seal on the invitation ---------- */
.card { margin-top: 3.5rem; }
.seal { position: absolute; left: 50%; top: 0; width: clamp(6.5rem, 14vw, 8.5rem); height: auto; transform: translate(-50%, -48%) rotate(-6deg); z-index: 2;
  filter: drop-shadow(0 6px 10px rgba(30,20,10,.35)); }
.card { padding-top: clamp(4.5rem, 10vw, 5.75rem); }
.card-rsvp { letter-spacing: .18em; font-style: normal; font: 600 .8rem/1 var(--sans); }

/* ---------- Social icons ---------- */
.ico { width: 1.15em; height: 1.15em; flex: none; }
.social a, .social-row a { display: inline-flex; align-items: center; gap: .55rem; }
.social-row { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin: .5rem 0 0; padding: 0; }
.social-row a { font: 1rem var(--sans); text-decoration: none; padding: .5rem .9rem; border: 1px solid rgba(194,154,91,.5); border-radius: 2px; background: rgba(24,31,38,.45); }
.social-row a:hover { border-color: var(--brass); }
.social-row .ico { color: #E9CF9C; }
.foot .social .ico { color: var(--brass); }
.scene-page .follow { margin-bottom: 0; }

/* ---------- Words on the right, where the picture's subject is on the left ---------- */
@media (min-width: 44.01rem) {
  .scene-page--right .scene-body > * { margin-left: auto; }
  .scene-page--right .scene-body { display: flex; flex-direction: column; align-items: flex-end; }
  .scene-page--right .scene-body > * { width: min(100%, 34rem); }
  .scene-page--right .shelf-row { width: min(100%, 34rem); }
  .scene-page--right .backdrop::after {
    background: linear-gradient(270deg, rgba(24,31,38,.9) 0%, rgba(24,31,38,.72) 38%, rgba(24,31,38,.2) 72%, rgba(24,31,38,.05) 100%),
                linear-gradient(to bottom, rgba(24,31,38,.65) 0%, transparent 22%, transparent 72%, rgba(24,31,38,.85) 100%); }
}

/* ---------- Guest list page: the card on the night desk ---------- */
.invite-band { background-image: none; }
.scene-page--center .scene-body { display: flex; flex-direction: column; align-items: center; }
.scene-page--center .invite-band { background: none; padding: 0; width: 100%; }
.scene-page--center .invite-band .wrap { padding: 0; }
.scene-page--center .backdrop::after {
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(24,31,38,.55), rgba(24,31,38,.2) 70%),
              linear-gradient(to bottom, rgba(24,31,38,.7) 0%, transparent 25%, transparent 70%, rgba(24,31,38,.85) 100%); }
.card-note { max-width: 36rem !important; margin: 2.25rem auto 0; text-align: center; color: var(--on-night); text-shadow: 0 1px 14px rgba(18,24,30,.9); }
@media (max-width: 44rem) { .scene-page--center .backdrop::after { background: linear-gradient(to bottom, rgba(24,31,38,.75), rgba(24,31,38,.45) 40%, rgba(24,31,38,.8)); } }
.scene-page .card p, .scene-page .card .lead { text-shadow: none; max-width: none; }
.scene-page .card .card-request { max-width: 30rem; }
.scene-page .card .fine { max-width: 26rem; }
.scene-page .card a { color: inherit; }

/* ---------- Guest list page: a smaller, see-through card, so the night desk shows ---------- */
.scene-page--right .invite-band { background: none; padding: 0; }
.scene-page--right .invite-band .wrap { padding: 0; }
.scene-page .card { max-width: 30rem; margin-top: 3rem;
  background: rgba(244,236,224,.8); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  padding: 3.75rem 2rem 1.75rem; box-shadow: 0 24px 50px -24px rgba(0,0,0,.7); }
.scene-page .card-title { font-size: clamp(2rem, 4vw, 2.6rem); }
.scene-page .card-request { font-size: 1.1rem; margin-bottom: 1.1rem; }
.scene-page .card .fields { grid-template-columns: 1fr; gap: .8rem; }
.scene-page .card .btn--card { margin-top: 1.3rem; }
.scene-page .seal { width: 6rem; }
.scene-page--right .card-note { max-width: 30rem !important; margin: 1.5rem 0 0; }
