@font-face { font-family: 'Gilda Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/gilda.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/jost.woff2) format('woff2'); }
/* Direction: letterpress stationery. Cotton-paper cream, green-black ink, blush, pecan brown; gold foil only for hairline
   rules and the P&R monogram. Gilda Display for invitation lines (italic is synthesized, so used sparingly), Jost to read
   in light spaced caps. Deckled card edges, a pressed-in shadow, forms styled as RSVP cards. Motion: almost none. */
[hidden] { display: none !important; }
:root {
  --paper: #f6f1e7; --card: #fbf8f1; --ink: #2d3a32; --ink-soft: #55625a; --blush: #e7c9bd; --blush-lt: #f3e2da; --pecan: #8a5a3c; --gold: #a8854b; --rule: #d9cbb1;
  --display: "Gilda Display", "Didot", Georgia, serif; --text: "Jost", system-ui, sans-serif;
  --pad: clamp(1.1rem, 4vw, 2.75rem); --sec: clamp(4rem, 10vw, 8rem);
  --press: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 0 rgba(255,255,255,.6), 0 18px 40px -24px rgba(45,58,50,.45);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.15rem/1.7 var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 7.5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.55rem; }
em { font-style: italic; color: var(--pecan); }
p { margin: 0 0 1em; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--pecan); outline-offset: 3px; }
.kicker { font-weight: 500; font-size: 1rem; letter-spacing: .26em; text-transform: uppercase; color: var(--pecan); margin-bottom: .9rem; }
.lede { font-size: clamp(1.2rem, 2.4vw, 1.4rem); max-width: 32em; }
.big-p { font-size: clamp(1.15rem, 2.2vw, 1.3rem); max-width: 30em; }
.note { color: var(--ink-soft); font-size: 1rem; }

.example { margin: 0; padding: .45rem var(--pad); background: var(--ink); color: var(--paper); font-size: .85rem; text-align: center; }
.example a { color: inherit; }

/* monogram */

.top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem 1rem; padding: 1rem var(--pad); border-bottom: 1px solid var(--rule); }
.brand { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; text-decoration: none; }
.brand .mono { grid-row: span 2; }
.brand-name { font: 400 1.5rem/1.05 var(--display); }
.brand-sub { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.nav { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 0 1.3rem; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; border-bottom: 1px solid transparent; }
.nav a[aria-current] { border-color: var(--gold); }
@media (min-width: 960px) { .top { grid-template-columns: auto 1fr auto; } .nav { grid-column: 2; grid-row: 1; justify-content: center; gap: 2.2rem; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.6rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font: 500 .98rem/1.1 var(--text); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .3s, color .3s; }
.btn:hover { background: #1e2822; }
.btn-sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .85rem; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn[aria-current] { background: var(--pecan); border-color: var(--pecan); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.call { margin: 1.2rem 0 0; }
.call a { font-weight: 500; }

/* flourish rule: gold hairlines and a fleuron */
.flourish { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: .4rem auto 1.4rem; max-width: 22rem; color: var(--gold); }
.flourish span { flex: 1; height: 1px; background: var(--gold); }
.flourish i { font-style: normal; font-size: 1.2rem; }

/* cards: deckled, pressed */
.card, .invite, .rsvp, .tally { background: var(--card); box-shadow: var(--press); position: relative; }
.card::before, .invite::before, .rsvp::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule); pointer-events: none; }
.deckle, .invite, .rsvp { -webkit-mask: radial-gradient(circle 3px at 50% 0, transparent 95%, #000) 0 0 / 9px 51% repeat-x, radial-gradient(circle 3px at 50% 100%, transparent 95%, #000) 0 100% / 9px 51% repeat-x;
  mask: radial-gradient(circle 3px at 50% 0, transparent 95%, #000) 0 0 / 9px 51% repeat-x, radial-gradient(circle 3px at 50% 100%, transparent 95%, #000) 0 100% / 9px 51% repeat-x; }

/* hero: photo with the invitation laid on it */
.hero { position: relative; display: grid; }
.hero picture { display: block; }
.hero-img { width: 100%; height: 100%; max-height: 52vh; object-fit: cover; }
.invite { margin: -3rem var(--pad) 0; padding: 2.8rem clamp(1.4rem, 5vw, 3rem) 2.4rem; text-align: center; display: grid; justify-items: center; }
.invite h1 { margin: .3rem 0; }
.inv-small { font-size: 1rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin: .8rem 0 0; }
.invite .lede { margin-inline: auto; }
@media (min-width: 900px) {
  .hero picture, .invite { grid-area: 1 / 1; }
  .hero-img { height: min(90vh, 820px); max-height: none; }
  .invite { align-self: center; justify-self: end; margin: 3rem var(--pad); max-width: 34rem; }
}

/* four questions */
.four { padding: var(--sec) var(--pad); max-width: 80rem; margin: 0 auto; }
.q-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .q-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .q-grid { grid-template-columns: repeat(4, 1fr); } }
.q-grid a { display: block; height: 100%; text-align: center; padding: 2rem 1.2rem; background: var(--card); box-shadow: var(--press); text-decoration: none; transition: transform .3s; }
.q-grid a:hover { transform: translateY(-3px); }
.q-n { font: 400 1.4rem var(--display); font-style: italic; color: var(--pecan); }
.q-grid p { color: var(--ink-soft); margin: 0; }

/* feature */
.feature { display: grid; background: var(--blush-lt); }
.feat-text { padding: var(--sec) var(--pad); align-self: center; }
.card-photo { margin: 0; background: #fff; padding: 10px; box-shadow: var(--press); }
.feature .card-photo { margin: var(--pad); align-self: center; }
.card-photo img { width: 100%; }
.card-photo figcaption { text-align: center; padding: .6rem .2rem .2rem; font: 400 1.15rem var(--display); color: var(--ink-soft); }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; } .feature .card-photo { margin: 3rem; } }

/* included */
.included { padding: var(--sec) var(--pad); }
.included .card { max-width: 46rem; margin: 0 auto; padding: 3rem clamp(1.4rem, 5vw, 3rem) 2rem; }
.inc-list { list-style: none; margin: 0 0 1.4rem; padding: 0; columns: 2 14rem; column-gap: 2rem; }
.inc-list li { break-inside: avoid; padding: .45rem 0 .45rem 1.6rem; position: relative; }
.inc-list li::before { content: "\2766"; position: absolute; left: 0; color: var(--gold); }

.page-head { padding: clamp(2.5rem, 7vw, 5rem) var(--pad) 2rem; max-width: 80rem; margin: 0 auto; text-align: center; }
.page-head .lede { margin-inline: auto; }

/* space */
.gallery { padding: 0 var(--pad) var(--sec); max-width: 80rem; margin: 0 auto; display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .tall { grid-row: span 2; } .gallery .tall img { height: 100%; object-fit: cover; } }
.plan-sec { padding: var(--sec) var(--pad); background: var(--blush-lt); }
.plan-ctl { max-width: 40rem; margin: 0 auto 1.4rem; display: grid; gap: 1rem; }
.seg { display: flex; justify-content: center; }
.seg button { min-height: 48px; padding: .5rem 1.4rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 .95rem var(--text); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.seg button + button { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.plan-card { max-width: 60rem; margin: 0 auto; background: var(--card); padding: 1rem; box-shadow: var(--press); }
.plan-card svg { width: 100%; height: auto; display: block; }
.plan-card figcaption { text-align: center; color: var(--ink-soft); padding-top: .6rem; }

/* estimator */
.est-wrap { padding: 0 var(--pad) var(--sec); max-width: 80rem; margin: 0 auto; display: grid; gap: 2rem; }
@media (min-width: 960px) { .est-wrap { grid-template-columns: 1.3fr 1fr; align-items: start; } .tally { position: sticky; top: 1.5rem; } }
.rsvp { padding: 2.6rem clamp(1.4rem, 5vw, 2.6rem); display: grid; gap: 1.3rem; }
.rsvp.big { max-width: 44rem; margin: 0 auto; justify-items: stretch; }
.rsvp.big .mono { justify-self: center; }
.rsvp-head { font: 400 1.7rem/1.2 var(--display); font-style: italic; color: var(--pecan); margin: 0; }
.tally { padding: 2rem; }
.t-lines { list-style: none; margin: 0; padding: 0; }
.t-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.t-total { display: flex; justify-content: space-between; align-items: baseline; font: 400 2.2rem var(--display); margin: 1rem 0 .4rem; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { letter-spacing: .18em; text-transform: uppercase; font-size: 1rem; color: var(--ink-soft); margin-bottom: .6rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--rule); background: var(--paper); }
.pill input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 2px solid var(--pecan); outline-offset: 2px; }
.field { display: grid; gap: .35rem; letter-spacing: .06em; }
.field output { font: 400 2.2rem/1 var(--display); color: var(--pecan); }
.field input:not([type="range"]) { min-height: 52px; padding: .6rem .2rem; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: 400 1.25rem var(--display); color: var(--ink); border-radius: 0; }
.field input:focus { outline: none; border-bottom-width: 2px; }
input[type="range"] { width: 100%; height: 44px; accent-color: var(--pecan); }
.two { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.form-error { color: #9b3b2a; font-weight: 500; margin: 0; }
.form-note { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* calendar */
.cal-wrap { padding: 0 var(--pad) var(--sec); max-width: 76rem; margin: 0 auto; display: grid; gap: 2rem; }
@media (min-width: 960px) { .cal-wrap { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.cal { padding: 2rem 1.4rem 1.4rem; }
@media (max-width: 559px) { .cal { padding: 1.6rem .9rem 1.2rem; } .days span, .days button { aspect-ratio: auto; height: 46px; } }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cal-head h2 { margin: 0; font-size: 2rem; }
.cal-nav { width: 48px; height: 48px; border: 1px solid var(--rule); background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer; position: relative; z-index: 1; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.dow, .days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; position: relative; z-index: 1; }
.dow li { text-align: center; color: var(--ink-soft); font-size: .95rem; letter-spacing: .1em; }
.days span, .days button { width: 100%; aspect-ratio: 1; min-height: 44px; display: grid; place-items: center; font: 400 1.15rem var(--display); border: 1px solid transparent; background: transparent; color: #a99d8b; }
.days button { color: var(--ink); border-color: var(--rule); background: var(--paper); cursor: pointer; }
.days button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.days .booked { background: var(--blush); color: #6e5148; text-decoration: line-through; }
.days .hold { background: var(--blush-lt); color: #6e5148; font-style: italic; }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; color: var(--ink-soft); font-size: 1rem; position: relative; z-index: 1; }
.lg { width: 16px; height: 16px; display: inline-block; margin-left: .8rem; border: 1px solid var(--rule); }
.lg.open { background: var(--paper); } .lg.hold { background: var(--blush-lt); } .lg.booked { background: var(--blush); }
.pick { padding: 2.2rem 1.8rem; text-align: center; }
.pick > * { position: relative; z-index: 1; }
.pick-date { font: 400 1.8rem/1.2 var(--display); }
.pick-price { font-size: 1.2rem; }

/* planning */
.plan-grid { padding: 0 var(--pad) 3rem; max-width: 80rem; margin: 0 auto; display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .plan-grid { grid-template-columns: 1fr 1fr; } }
.plan-grid .card { padding: 2.6rem 2rem 2rem; text-align: center; }
.faq { padding: var(--sec) var(--pad); max-width: 50rem; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1.1rem 0; min-height: 48px; font: 400 1.4rem/1.25 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--text); }
.faq details[open] summary::after { content: "\2013"; }
.faq summary::-webkit-details-marker { display: none; }
.faq a { color: var(--pecan); }

/* tour */
.tour-wrap { padding: 0 var(--pad) var(--sec); }
.sealed { max-width: 40rem; margin: 0 auto; padding: 3rem 2rem; text-align: center; }
.seal { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #b56a55, #8d3f2f 70%); color: #f6e4dc; display: grid; place-items: center; font: 400 1.4rem var(--display); box-shadow: 0 4px 10px rgba(0,0,0,.25), inset 0 0 0 6px rgba(0,0,0,.08); }

/* footer */
.foot { background: var(--ink); color: var(--paper); padding: 3.5rem var(--pad) 6rem; }
.foot-grid { max-width: 80rem; margin: 0 auto; display: grid; gap: 2rem; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; } .foot { padding-bottom: 3rem; } }
.foot-name { font: 400 2.1rem/1 var(--display); }
.foot nav { display: flex; flex-direction: column; }
.foot nav a { min-height: 44px; display: flex; align-items: center; text-decoration: none; letter-spacing: .1em; }
.foot-note { max-width: 80rem; margin: 2rem auto 0; font-size: .85rem; opacity: .8; }

.mob-bar { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; }
.mob-bar a { min-height: 56px; display: grid; place-items: center; letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; text-decoration: none; background: var(--card); border-top: 1px solid var(--rule); }
.mob-bar a + a { background: var(--ink); color: var(--paper); }
@media (min-width: 760px) { .mob-bar { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* logo mark (header, footer) */
.logo { width: 44px; height: 44px; flex: none; display: block; }
.foot-mark img { width: 96px; height: 96px; }
@media (min-width: 860px) { .foot-mark { justify-self: end; } }
.mono { width: 52px; height: 52px; display: block; }
.invite .mono, .rsvp .mono { width: 76px; height: 76px; }
@media (max-width: 599px) { .top .mono { width: 40px; height: 40px; } }

/* the owner's own line, word for word from the chat */
.owner-note { padding: var(--sec) var(--pad) 0; }
.on-card { margin: 0 auto; max-width: 40rem; background: var(--card); box-shadow: var(--press); padding: clamp(2.6rem, 6vw, 3.6rem) clamp(1.6rem, 5vw, 3rem); text-align: center; position: relative; }
.on-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule); pointer-events: none; }
.owner-note blockquote { margin: 0; }
.owner-note blockquote p { margin: 0; font: 400 clamp(1.9rem, 5vw, 2.8rem)/1.2 var(--display); }
.owner-note blockquote p::before { content: "\201C"; } .owner-note blockquote p::after { content: "\201D"; }
.owner-note figcaption { margin-top: 1.4rem; display: grid; gap: .2rem; }
.on-name { font: 400 1.6rem var(--display); font-style: italic; color: var(--pecan); } .on-role { letter-spacing: .2em; text-transform: uppercase; font-size: .9rem; color: var(--ink-soft); }

/* ===== Home: an invitation suite =====
   Default (no JS, reduced motion, short screens): the invitation card simply sits on linen.
   With JS (.envelope.on): a sealed envelope; scrolling cracks the seal, opens the flap, and the card rises out. */
.envelope, .suite { background: #ebe3d4; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(120,100,70,.05) 0 1px, transparent 1px 3px); }
.env-stage { padding: clamp(2rem, 6vw, 4rem) var(--pad); }
.env-piece, .env-hint { display: none; }
.inv-card { position: relative; max-width: 36rem; margin: 0 auto; background: var(--card); box-shadow: var(--press); padding: 2.8rem clamp(1.4rem, 5vw, 3rem) 2.4rem; text-align: center; display: grid; justify-items: center;
  -webkit-mask: radial-gradient(circle 3px at 50% 0, transparent 95%, #000) 0 0 / 9px 51% repeat-x, radial-gradient(circle 3px at 50% 100%, transparent 95%, #000) 0 100% / 9px 51% repeat-x;
  mask: radial-gradient(circle 3px at 50% 0, transparent 95%, #000) 0 0 / 9px 51% repeat-x, radial-gradient(circle 3px at 50% 100%, transparent 95%, #000) 0 100% / 9px 51% repeat-x; }
.inv-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule); pointer-events: none; }
.inv-card h1 { margin: .3rem 0; }
.inv-card .lede { margin-inline: auto; }
.inv-card .mono { width: 76px; height: 76px; }

.envelope.on .env-stage { position: sticky; top: 0; height: 100svh; padding: 0; overflow: hidden; }
.envelope.on .inv-card { position: absolute; left: 50%; top: 50%; width: min(36rem, 92vw); margin: 0; z-index: 2; will-change: transform, opacity; }
.envelope.on .env-piece { display: block; position: absolute; left: 50%; top: 50%; width: var(--ew); height: var(--eh); translate: -50% -50%; will-change: transform, opacity; }
.envelope.on .env-hint { display: block; position: absolute; left: 0; right: 0; bottom: 2.2rem; text-align: center; letter-spacing: .3em; text-transform: uppercase; font-size: .95rem; color: var(--ink-soft); }
.envelope.on .env-hint::after { content: ""; display: block; width: 1px; height: 2.2rem; margin: .6rem auto 0; background: var(--gold); }
.envelope { --ew: min(560px, 86vw); --eh: calc(var(--ew) * .66); }
.env-back { background: #e6dac4; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(45,58,50,.5); z-index: 1; }
.env-front { z-index: 3; background: #f7f0e3; border-radius: 0 0 6px 6px; clip-path: polygon(0 26%, 50% 64%, 100% 26%, 100% 100%, 0 100%);
  background-image: linear-gradient(to top right, transparent 49.6%, rgba(138,90,60,.12) 50%, transparent 50.4%), linear-gradient(to top left, transparent 49.6%, rgba(138,90,60,.12) 50%, transparent 50.4%); }
.env-addr { position: absolute; left: 0; right: 0; bottom: 14%; margin: 0; text-align: center; font: 400 italic clamp(1.1rem, 3.5vw, 1.5rem) var(--display); color: var(--ink-soft); }
.env-flap-box { z-index: 4; }
.env-flap-box.under { z-index: 1; }
.env-flap { position: absolute; left: 0; right: 0; top: 0; height: 66%; transform-origin: 50% 0; transform-style: preserve-3d; }
.env-flap-inner { position: absolute; inset: 0; background: #f2e8d6; clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 4px 6px rgba(0,0,0,.08)); backface-visibility: visible; }
.env-seal { position: absolute; left: 50%; top: 100%; width: 66px; height: 66px; translate: -50% -60%; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }

/* the rest of the suite, laid on linen */
.suite { padding: clamp(2rem, 6vw, 4rem) var(--pad) var(--sec); display: grid; gap: clamp(2rem, 5vw, 3.5rem); justify-items: center; }
.s-card { position: relative; width: min(40rem, 100%); margin: 0; background: var(--card); box-shadow: var(--press); padding: clamp(2rem, 5vw, 3rem) clamp(1.4rem, 5vw, 2.8rem); text-align: center; }
.s-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule); pointer-events: none; }
.s-kicker { margin: 0 0 .6rem; letter-spacing: .26em; text-transform: uppercase; font-size: .95rem; color: var(--pecan); }
.parts { margin: 0 auto; max-width: 26rem; display: grid; gap: .1rem; }
.parts div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.parts dt { letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: var(--ink-soft); }
.parts dd { margin: 0; font: 400 1.25rem var(--display); text-align: right; }
.s-inset { margin: 0 auto 1.4rem; border: 8px solid #fff; box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); }
.s-card .inc-list { text-align: left; }
.s-card .actions { margin-top: 1.2rem; }
.s-print { margin: 0; width: min(28rem, 92%); background: #fff; padding: 12px 12px 0; box-shadow: 0 18px 40px -22px rgba(45,58,50,.55); }
.s-print.wide { width: min(46rem, 100%); }
.s-print figcaption { padding: .8rem .4rem 1rem; text-align: center; font: 400 italic 1.2rem var(--display); color: var(--ink-soft); }
.s-note blockquote { margin: 0; }
.s-note blockquote p { margin: 0; font: 400 clamp(1.8rem, 5vw, 2.6rem)/1.2 var(--display); }
.s-note blockquote p::before { content: "\201C"; } .s-note blockquote p::after { content: "\201D"; }
.s-note figcaption { margin-top: 1.2rem; display: grid; gap: .2rem; }
.s-rsvp { width: min(44rem, 100%); }
@media (min-width: 900px) {
  .suite > :nth-child(odd) { rotate: -1deg; translate: -4rem 0; }
  .suite > :nth-child(even) { rotate: 1.2deg; translate: 4rem 0; }
  .suite > .s-rsvp { rotate: 0deg; translate: 0 0; }
}
.suite.js > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.suite.js > .in { opacity: 1; transform: none; }
/* in the envelope, the invitation is sized to the screen's height so it fits whole on a laptop */
.envelope.on .inv-card { padding: clamp(1.6rem, 4vh, 2.6rem) clamp(1.2rem, 4vw, 2.6rem); }
.envelope.on .inv-card h1 { font-size: clamp(2.2rem, 6.2vh, 3.8rem); }
.envelope.on .inv-card .mono { width: clamp(48px, 7vh, 70px); height: clamp(48px, 7vh, 70px); }
.envelope.on .inv-card .lede { font-size: clamp(1.05rem, 2.3vh, 1.3rem); }
.envelope.on .inv-card .flourish { margin: .2rem auto .8rem; }
.envelope.on .inv-card .inv-small { margin-top: .5rem; }

/* ===== 404: same header and footer, the site's own joke in the middle ===== */
.nf { display: grid; gap: 2.5rem; align-items: center; justify-items: start; max-width: 68rem; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--pad, 1.25rem); }
@media (min-width: 860px) { .nf { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; } }
.nf-art { justify-self: center; }
.nf-kick { margin: 0 0 .6rem; color: var(--pecan); font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
.nf h1 { margin: 0 0 1rem; }
.nf-text > p { font-size: 1.15rem; max-width: 34rem; }
.nf-text > p a { color: var(--ink); }
.nf-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 1rem; }
.nf-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.nf-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.nf-env { position: relative; width: min(320px, 80vw); aspect-ratio: 1.5; background: var(--card); border: 1px solid var(--rule); box-shadow: 0 18px 34px -18px rgba(45,58,50,.35); display: grid; place-items: center; }
.nf-env p { margin: 0; font: italic 400 1.3rem var(--display); color: var(--ink-soft); }
.nf-env span { position: absolute; top: 14%; right: 6%; padding: .3rem .7rem; border: 2px solid var(--pecan); color: var(--pecan); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; rotate: -10deg; }

/* ===== Moving between pages: the browser's own cross-page transition, in this site's style. Header holds still.
   Browsers without it just load the page; reduced motion turns it off. ===== */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  header.top { view-transition-name: site-top; }
  ::view-transition-old(root) { animation: vt-fade .3s ease both reverse; }
  ::view-transition-new(root) { animation: vt-rise .5s ease-out both; }
  @keyframes vt-rise { from { opacity: 0; transform: translateY(12px); } }
  @keyframes vt-fade { from { opacity: 0; } }
}
.nf h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; }
@media (max-width: 859px) { .nf-art { order: 2; justify-self: start; scale: .8; transform-origin: 0 0; margin-bottom: -10%; } }

/* ===== Phone: the menu is one row you can swipe, so the business itself is on the first screen ===== */
@media (max-width: 759px) {
  header.top nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 1.3rem; padding-right: 2.2rem; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.4rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.4rem), transparent); }
  header.top nav::-webkit-scrollbar { display: none; }
  header.top nav a { flex: none; white-space: nowrap; }
}

.env-from { position: absolute; left: 7%; top: 9%; margin: 0; text-align: left; font: 500 .95rem/1.4 var(--text); letter-spacing: .04em; color: var(--ink-soft); }
.env-label { z-index: 0; pointer-events: none; }
.env-from { position: absolute; left: -10%; right: -10%; top: auto; bottom: calc(100% + 1.6rem); text-align: center; font: 500 1rem/1.4 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 759px) { .envelope.on .env-piece, .envelope.on .inv-card { top: 47%; } header.top .btn-sm { display: none; } }
