/* ==========================================================================
   Rachel / Stephan — site styles
   Editorial layout on a 24-column viewport grid (desktop), stacked on phones.
   ========================================================================== */

:root {
	/* brand palette — Figma brand guide v01, page 03 (the ink is "Lily Pad" #3E4A2C; --olive is kept as its alias) */
	--ivory: #f7f4ea;
	--lily-pad: #3e4a2c;
	--olive: var(--lily-pad);
	--sage: #a3ae94;
	--moss: #78876c;
	--lake: #a2b9c5;
	--mist: #dce5e5;

	--bg: var(--ivory);      /* the canvas */
	--bg-2: var(--mist);     /* secondary panels */
	--ink: var(--olive);     /* the ink */
	--muted: var(--moss);
	--rule: var(--sage);
	--bg-rgb: 247, 244, 234;

	/* brand type — page 04: Bodoni Moda headings in sentence case (italic included; names and acronyms kept), Pinyon Script accents,
	   DM Mono Light labels and dates (Regular for emphasis), Inter body */
	--serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
	--script: "Pinyon Script", "Snell Roundhand", cursive;
	--mono: "DM Mono", "IBM Plex Mono", "SF Mono", Menlo, monospace;
	--sans: "Inter", Helvetica, Arial, sans-serif;

	/* type scale: vw on desktop with sane floors/ceilings */
	--fs-label: clamp(11px, 0.83vw, 14px);
	--lh-label: clamp(14px, 1.39vw, 20px);
	--ls-label: 0.17em; /* 2px at 12px */
	--fs-script: clamp(28px, 2.9vw, 42px);
	--fs-title0: clamp(56px, 7.78vw, 124px);
	--fs-title1: clamp(28px, 2.67vw, 44px);
	--lh-title1: clamp(32px, 3.07vw, 51px);
	--fs-txt0: clamp(16px, 1.33vw, 22px);
	--lh-txt0: clamp(26px, 2.22vw, 36px);
	--lh-txt1: clamp(22px, 1.78vw, 29px);
	--fs-txt2: clamp(12px, 0.89vw, 14px);
	--lh-txt2: clamp(18px, 1.33vw, 21px);

	--col: 4.1666667vw; /* one of 24 columns */
	--ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
	font-family: var(--sans);
	font-weight: 400;
	background: var(--bg);
	color: var(--ink);
	overflow-x: clip;
}
::selection { background: var(--sage); color: var(--ivory); }
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: auto; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- type ---------- */
.label {
	font-family: var(--mono);
	font-weight: 300;
	font-size: var(--fs-label);
	line-height: var(--lh-label);
	letter-spacing: var(--ls-label);
	color: var(--ink);
	text-transform: uppercase;
}
.line {
	width: clamp(18px, 1.67vw, 26px);
	height: 2px;
	margin-top: clamp(10px, 1vw, 16px);
	background: var(--rule);
	transform: scaleX(0);
	transform-origin: 0 50%;
}
.title-0 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: var(--fs-title0);
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--ink);
}
.title-1 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: var(--fs-title1);
	line-height: var(--lh-title1);
	letter-spacing: 0;
	color: var(--ink);
	margin-top: clamp(20px, 2.06vw, 32px);
}
.title-0 span, .title-1 span { display: block; }
.script {
	font-family: var(--script);
	font-weight: 400;
	font-size: var(--fs-script);
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--ink);
}
.detail {
	font-family: var(--mono);
	font-weight: 300;
	font-size: var(--fs-label);
	line-height: var(--lh-label);
	letter-spacing: var(--ls-label);
	color: var(--ink);
	text-transform: uppercase;
}
.block .script { margin-top: clamp(18px, 1.8vw, 28px); }
.txt-0 {
	display: table;
	position: relative;
	margin-top: clamp(14px, 1.28vw, 20px);
	font-size: var(--fs-txt0);
	line-height: var(--lh-txt0);
	letter-spacing: 0;
	color: var(--ink);
}
.links .txt-0 + .txt-0 { margin-top: 0; }
.txt-1 {
	margin-top: clamp(22px, 2.33vw, 36px);
	max-width: clamp(240px, 16.67vw, 300px);
	font-size: var(--fs-txt0);
	line-height: var(--lh-txt1);
	letter-spacing: 0;
	color: var(--muted);
}
.txt-2 {
	font-size: var(--fs-txt2);
	line-height: var(--lh-txt2);
	letter-spacing: 0;
	color: var(--muted);
}
.note { position: relative; margin-top: clamp(14px, 1.11vw, 18px); max-width: clamp(200px, 12.5vw, 220px); }
.note::before { content: "*"; position: absolute; left: clamp(-60px, -4.17vw, -36px); top: 1px; color: var(--ink); }

/* underline sweep on hover */
.u { position: relative; display: table; overflow: hidden; }
.u::before, .u::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0.25em;
	height: 1px; background: var(--ink); opacity: 0.9;
}
.label.u::before, .label.u::after, .nav-side .u::before, .nav-side .u::after { bottom: 0; }
.credits .u::before, .credits .u::after { background: var(--muted); }
.u::before { transition: transform 1s var(--ease) 0.2s; }
.u::after { transform: translateX(-102%); transition: transform 1s var(--ease); }
.u:hover::before { transform: translateX(102%); transition: transform 1s var(--ease); }
.u:hover::after { transform: translateX(0); transition: transform 1s var(--ease) 0.2s; }

/* ---------- reveal animations ---------- */
[data-reveal] .label,
[data-reveal] .title-0 span,
[data-reveal] .title-1 span,
.title-0[data-reveal] span {
	transform: rotateX(90deg);
	transform-origin: 50% 100%;
	opacity: 0;
	transition: transform 1.1s var(--ease), opacity 0.6s ease;
}
[data-reveal] .txt-0, [data-reveal] .txt-1, [data-reveal] .txt-2, [data-reveal] .script, [data-reveal] .detail, [data-reveal] .lockup-mark, [data-reveal] .dot, [data-reveal] .std-rule, [data-reveal] .when-big, [data-reveal] .joint, [data-reveal] .btn-engraved, [data-reveal] figcaption, [data-reveal] .ph-img {
	opacity: 0; transform: translateY(14px);
	transition: opacity 0.9s ease, transform 1.1s var(--ease);
}
[data-reveal] .line { transition: transform 1.1s var(--ease) 0.2s; }
[data-reveal].in .label, [data-reveal].in .title-0 span, [data-reveal].in .title-1 span, .title-0[data-reveal].in span { transform: none; opacity: 1; }
[data-reveal].in .line { transform: scaleX(1); }
[data-reveal].in .txt-0, [data-reveal].in .txt-1, [data-reveal].in .txt-2, [data-reveal].in .script, [data-reveal].in .detail, [data-reveal].in .lockup-mark, [data-reveal].in .dot, [data-reveal].in .std-rule, [data-reveal].in .when-big, [data-reveal].in .joint, [data-reveal].in .btn-engraved, [data-reveal].in figcaption, [data-reveal].in .ph-img { opacity: 1; transform: none; }
[data-reveal] .dot { transition-delay: 0.25s; }
[data-reveal] .schedule { transition-delay: 0.5s; }
[data-reveal] .title-0 span:nth-child(2), .title-0[data-reveal] span:nth-child(2), [data-reveal] .title-1 span:nth-child(2) { transition-delay: 0.08s; }
[data-reveal] .title-1 span:nth-child(3) { transition-delay: 0.16s; }
[data-reveal] .title-1 { transition-delay: 0.1s; }
[data-reveal] .txt-1 { transition-delay: 0.25s; }
[data-reveal] .script { transition-delay: 0.2s; }
[data-reveal] .detail { transition-delay: 0.3s; }
.lockup[data-reveal] .lockup-mark { transition-delay: 0s; }
.lockup[data-reveal] .label { transition-delay: 0.3s; }
.lockup[data-reveal] .title-0 span { transition-delay: 0.5s; }
.lockup[data-reveal] .script { transition-delay: 0.9s; }
[data-reveal] .txt-0 { transition-delay: 0.35s; }
[data-reveal] .links .txt-0:nth-child(2) { transition-delay: 0.42s; }
[data-reveal] .links .txt-0:nth-child(3) { transition-delay: 0.49s; }
[data-reveal] .links .txt-0:nth-child(4) { transition-delay: 0.56s; }
[data-reveal] .links .txt-0:nth-child(5) { transition-delay: 0.63s; }
[data-reveal] .links .txt-0:nth-child(6) { transition-delay: 0.70s; }
[data-reveal] .note { transition-delay: 0.6s; }
[data-reveal] figcaption { transition-delay: 0.3s; }

/* ---------- loader ---------- */
#loader {
	position: fixed; inset: 0; z-index: 50;
	background: var(--ivory);   /* an ivory curtain lifting off the green phone screen */
	box-shadow: 0 10px 40px rgba(22, 30, 26, 0.18);
	transform: translateY(0);
	transition: transform 1.1s var(--ease);
	pointer-events: none;
}
html.ready #loader { transform: translateY(-101%); }

/* ---------- fixed top nav ---------- */
#nav { position: fixed; left: 0; right: 0; top: 0; z-index: 30; pointer-events: none; user-select: none;
	--ink: var(--olive); --muted: var(--moss); --rule: var(--sage);
}
#nav a, #nav button { pointer-events: auto; }
.nav-bar {
	position: relative; z-index: 0;
	display: flex; align-items: center; justify-content: center;
	gap: clamp(20px, 2.5vw, 40px);
	padding: clamp(14px, 1.8vw, 26px) clamp(16px, 2.78vw, 44px);
}
/* transparent over the hero; an ivory veil once the page scrolls */
.nav-bar::before {   /* a solid ivory band with a hard edge, finished like the buttons: a Lily Pad line and a finer one just inside it */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(rgba(62, 74, 44, 0.55), rgba(62, 74, 44, 0.55)) left bottom 3px / 100% 1px no-repeat, var(--ivory);
	border-bottom: 1px solid var(--olive);
	opacity: 0; transition: opacity 0.6s ease;
}
html.scrolled .nav-bar::before { opacity: 1; }
.nav-logo {
	display: inline-flex; align-items: center; gap: 0.35em;
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(14px, 1vw, 17px); line-height: 1;
	color: var(--ink);
}
.nav-logo svg { display: block; height: 2.3em; width: auto; }
.nav-logo, .nav-links a { transition: color 0.6s ease; }
.nav-links { display: flex; gap: clamp(20px, 2.5vw, 40px); margin: 0; }
.nav-links a {
	display: block;
	font-family: var(--mono); font-weight: 400;   /* DM Mono Regular for emphasis: the nav sits over the painting */
	font-size: var(--fs-label); line-height: var(--lh-label); letter-spacing: var(--ls-label);
	color: var(--ink); white-space: nowrap;
}
.nav-links a::before, .nav-links a::after { bottom: 0; }

.nav-prog { position: absolute; left: 0; right: 0; top: 0; height: 2px; overflow: hidden; }
.nav-prog span { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: var(--lake); transform: translateX(-100%); will-change: transform; }

.nav-scroll {
	position: fixed; left: 50%; bottom: clamp(28px, 4vh, 48px);
	width: 44px; height: 80px; margin-left: -22px;
	display: flex; align-items: flex-start; justify-content: center;
}
.cue-line { display: block; width: 1px; height: 64px; background: linear-gradient(rgba(62, 74, 44, 0), var(--ink)); opacity: 0; animation: cue 2.4s ease-in-out 1.5s infinite; }
.nav-scroll { transition: opacity 0.6s ease; }
html.scrolled .nav-scroll, html.scrolled #nav .nav-scroll { opacity: 0; pointer-events: none; }   /* #nav's pointer-events rule must not keep the faded arrow clickable over the sign-off crest */

/* ---------- hero ---------- */
:root { --section: max(640px, 100svh); }
.invite-hero { min-height: var(--section); padding-top: clamp(96px, 12vh, 150px); }
.invite-hero.mist { background: var(--ivory); }
.invite-hero .inner { max-width: 820px; }
.hero {
	position: relative;
	height: var(--section);
	overflow: hidden;
	user-select: none;
	background: var(--olive);
	color: var(--ivory);
	--ink: var(--ivory); --muted: rgba(247, 244, 234, 0.75); --rule: rgba(247, 244, 234, 0.6);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(0.6) contrast(0.95); }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ivory) 0%, rgba(247, 244, 234, 0.7) 10%, rgba(162, 185, 197, 0.5) 26%, rgba(120, 135, 108, 0.5) 50%, rgba(62, 74, 44, 0.6) 82%, rgba(247, 244, 234, 0.7) 95%, var(--ivory) 100%); }   /* the ivory fade at the foot is now a short lip, not a third of the film */
.venue { position: relative; background: var(--ivory); }
.venue-film { background: var(--ivory); }
.hero-lockup {
	position: absolute; z-index: 1;
	top: 50%; left: 50%;
	transform: translate(-50%, -52%);
	width: min(92vw, 820px);
	display: flex; flex-direction: column; align-items: center;
	text-align: center;
	pointer-events: none;
}
/* hero lockup: the save-the-date hierarchy from brand guide page 06 */
.lockup-mark { width: clamp(100px, 9vw, 136px); color: var(--ink); } /* guide: never below 100px digitally */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lockup-rule { width: min(320px, 60vw); height: 1px; margin-top: clamp(22px, 2.4vw, 36px); background: var(--rule); transform: scaleX(0); transition: transform 1.6s var(--ease) 1.2s; }
.lockup[data-reveal].in .lockup-rule { transform: scaleX(1); }
.lockup-date { display: flex; gap: clamp(24px, 4vw, 64px); margin-top: clamp(22px, 2.4vw, 36px); font-size: clamp(12px, 1.15vw, 17px); letter-spacing: 0.3em; padding-left: 0.3em; text-align: center; }
.lockup-venue { margin-top: clamp(14px, 1.4vw, 22px); color: var(--muted); letter-spacing: 0.3em; padding-left: 0.3em; }
.lockup-text { margin-top: 0; }
.lockup .label { letter-spacing: 0.5em; padding-left: 0.5em; font-size: clamp(12px, 1.1vw, 16px); }
.lockup-mark svg { display: block; width: 100%; height: auto; }
.lockup-text { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: clamp(22px, 2.5vw, 40px); }
.hero-lockup > *, .lockup-text > * { max-width: 100%; }
.lockup .label { color: var(--ink); }
.lockup .title-0 { margin-top: clamp(14px, 1.4vw, 22px); font-size: clamp(28px, 5.6vw, 80px); line-height: 1; white-space: nowrap; }
.lockup .script { margin-top: clamp(8px, 1vw, 16px); font-size: clamp(34px, 3.6vw, 56px); }
.lockup[data-reveal] .lockup-date { transition-delay: 1.5s; }
.lockup[data-reveal] .lockup-venue { transition-delay: 1.8s; }

/* ---------- Monet accents (Figma "Digital assets — Monet accents": wider painting crop at full pigment under a graduated painted-edge mask) ---------- */
.monet { position: absolute; width: min(56vw, 820px); aspect-ratio: 4 / 3; overflow: hidden; opacity: 1; pointer-events: none; -webkit-mask-mode: alpha; mask-mode: alpha; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.monet img { position: absolute; max-width: none; height: auto; display: block; }
.monet-01 { -webkit-mask-image: url(/assets/images/monet-mask-01.svg); mask-image: url(/assets/images/monet-mask-01.svg); }   /* 01 Blue reflection — upper left */
.monet-01 img { left: -22.76%; top: -148.31%; width: 154.8%; }
.monet-02 { -webkit-mask-image: url(/assets/images/monet-mask-02.svg); mask-image: url(/assets/images/monet-mask-02.svg); }   /* 02 Sage reflection — lower right */
.monet-02 img { left: 0; top: -142.01%; width: 146.2%; }
.monet-03 { -webkit-mask-image: url(/assets/images/monet-mask-03.svg); mask-image: url(/assets/images/monet-mask-03.svg); }   /* 03 Blue-green reflection — upper right */
.monet-03 img { left: -51.75%; top: -163.45%; width: 175.44%; }
.monet-04 { -webkit-mask-image: url(/assets/images/monet-mask-04.svg); mask-image: url(/assets/images/monet-mask-04.svg); }   /* 04 Soft vertical margin — left */
.monet-04 img { left: -2.63%; top: -162.07%; width: 154.8%; }
.pos-tl { left: 0; top: 0; }
.pos-br { right: 0; bottom: 0; }
.pos-tr { right: 0; top: 0; }
.pos-ml { left: 0; top: 50%; transform: translateY(-50%); }
.intro .monet { z-index: 0; }
/* the painting as the whole background of the intro and the letter (user: "the monet fully in the background", 2026-10-23) */
.monet-full { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.invite-hero .monet-full { bottom: auto; height: 100svh; }   /* pinned to the viewport so it is drawn exactly like the intro overlay's copy, even when the letter runs taller than the screen; the fade at its foot ends in the header's ivory */
html { scrollbar-gutter: stable; }                           /* no sideways shift when the intro releases the page's scrollbar */
.monet-full img {                                /* full opacity; edge to edge, no side fade */
	position: absolute; left: 0; width: 100%; top: -12%; height: 124%;
	object-fit: cover; object-position: 50% 50%; opacity: 1;
}
.monet-full::before {                            /* a small ivory circle behind the centred navigation so it stays legible */
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 240px; z-index: 1;
	background: none;
}
.monet-full::after {                             /* the veil: #161E1A at 52%, a near-black with a faint green tint, so the ivory type reads on the painting */
	content: ""; position: absolute; inset: 0;
	background: rgba(22, 30, 26, 0.52);
}
.intro .phone-label, .intro .phone-help, .intro .intro-sub, .intro .intro-cue, .invite .greet, .invite .lead { color: var(--olive); }   /* Moss is lost on the painting */
.intro .phone-input::placeholder { color: rgba(62, 74, 44, 0.6); }
.intro .phone-row { border-bottom-color: rgba(62, 74, 44, 0.7); }
.intro-greet, .intro-env, .intro-skip { z-index: 1; }
.venue-drawing .monet { width: min(34vw, 520px); opacity: 0.64; z-index: 0; }
.venue-drawing .bg, .venue-drawing .inner, .venue-drawing::after { z-index: 1; }
@media (max-width: 899px) {
	.monet { width: 78vw; }
	.venue-drawing .monet { width: 50vw; }
}

/* ---------- engraved button (Figma digital styleguide, Option 04: rounded double border with crest scrolls and a pendant leaf) ---------- */
.btn-engraved {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	box-sizing: border-box; width: 200px; height: 50.77px; padding: 0 24px 0 calc(24px + 0.04em);
	margin: 32px 0 12px;                         /* Compact 02: 32px crown clearance above, room for the pendant leaf below */
	font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1; letter-spacing: 0.04em;   /* guide: Compact 02, Bodoni 19px in sentence case, acronyms (RSVP) preserved */
	color: var(--olive); background: none; border: 0;
	text-decoration: none; white-space: nowrap;
	transition: color 0.35s ease;
}
.btn-engraved .btn-art { position: absolute; left: -2.3px; top: -30.18px; width: 205.08px; height: 91.92px; color: var(--olive); pointer-events: none; transition: opacity 0.35s ease; }
.btn-engraved .btn-art-line { z-index: 1; }   /* light version: Lily Pad outline on ivory */
.btn-engraved .btn-fill { opacity: 0; }         /* hover fill: the Lily Pad shape that follows the upper scroll contour (Figma 151:3), under the outline */
.btn-engraved:hover .btn-fill, .btn-engraved:focus-visible .btn-fill { opacity: 1; }
.btn-engraved:hover, .btn-engraved:focus-visible { color: var(--ivory); }   /* both versions hover Lily Pad green */
.btn-engraved .btn-label { position: relative; z-index: 2; }
/* dark version: ivory outline on dark grounds (the RSVP photo) */
.btn-engraved.on-dark { color: var(--ivory); }
.btn-engraved.on-dark .btn-art-line { color: var(--ivory); }
.btn-engraved.on-dark:hover .btn-art-line, .btn-engraved.on-dark:focus-visible .btn-art-line { color: var(--ivory); }
.btn-engraved:focus-visible { outline: 0; }
.invite-clone .btn-engraved, .invite .btn-engraved, .rsvp .btn-engraved, .schloss .btn-engraved { margin-top: clamp(36px, 3vw, 44px); }

/* ---------- centred sections (brand kit microsite) ---------- */
.centered {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center;
	padding: clamp(96px, 10vw, 150px) 24px;
}
.centered .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.centered .wash { position: absolute; inset: 0; }
.centered .inner { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 760px; }
.centered .script { margin-top: 0; }
.centered .title-0 { font-size: clamp(44px, 7vw, 104px); }
.centered .title-0 + .script { margin-top: clamp(14px, 1.5vw, 22px); }
.centered .detail { line-height: 1.9; letter-spacing: 0.24em; }
.dark {
	background: var(--olive); color: var(--ivory);
	--ink: var(--ivory); --muted: rgba(247, 244, 234, 0.72); --rule: rgba(247, 244, 234, 0.45);
}
.dark ::selection { background: var(--ivory); color: var(--olive); }

.mist {
	background: var(--mist); color: var(--olive);
	--ink: var(--olive); --muted: var(--moss); --rule: var(--lake);
}

.schloss {
	background: var(--ivory);
	--foot: clamp(120px, 10vw, 150px);          /* ivory room under the drawing for the button */
	min-height: max(var(--section), calc(88vw / 1.98 + var(--foot)));   /* one screen, or the uncropped drawing plus its foot if taller */
	justify-content: space-between;
	padding: clamp(28px, 3vw, 48px) 24px clamp(36px, 3.6vw, 56px);
}
.venue-drawing .bg {
	top: auto; bottom: var(--foot); left: 6%; width: 88%; height: auto; aspect-ratio: 1776 / 896; object-position: 50% 100%;   /* full drawing, nothing cropped */
	-webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #000 14%, #000 86%, rgba(0, 0, 0, 0) 100%);   /* soft sides, no hard edge on wide screens */
	mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #000 14%, #000 86%, rgba(0, 0, 0, 0) 100%);
}
.venue-drawing::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--foot) - 1px); height: 28px; background: linear-gradient(to bottom, rgba(247, 244, 234, 0), var(--ivory)); pointer-events: none; }
.schloss .schloss-addr { margin-top: clamp(6px, 0.8vw, 12px); color: var(--moss); letter-spacing: 0.24em; }
.venue-blend { position: absolute; left: 0; right: 0; top: 0; height: 28%; background: linear-gradient(to bottom, var(--ivory), rgba(247, 244, 234, 0)); }
.schloss .bg { object-position: 50% 50%; }
.schloss .italic { font-style: italic; }
.schloss .title-0 { font-size: clamp(34px, 5.2vw, 80px); white-space: nowrap; }
.schloss .detail { margin-top: clamp(8px, 1vw, 14px); letter-spacing: 0.32em; color: var(--moss); }

@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.celebration { min-height: var(--section); }
.celebration .bg { object-position: 50% 0; animation: breathe 14s ease-in-out infinite alternate; }   /* Figma "Rococo floral border": flowers along the top, centre kept clear, sides bleed */
@keyframes breathe { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.035); opacity: 1; } }
.schedule { margin-top: clamp(18px, 2vw, 28px); font-size: clamp(12px, 1.1vw, 15px); line-height: 2; }
.schedule li { display: block; }

.rsvp { color: var(--ivory); --ink: var(--ivory); --muted: var(--mist); --rule: var(--lake); background: #515d63; min-height: var(--section); padding-bottom: clamp(220px, 20vw, 260px); }
.rsvp .bg { object-position: 50% 60%; filter: grayscale(1) contrast(0.95); animation: kenburns 32s ease-in-out infinite alternate; }
.rsvp .wash { background: linear-gradient(to bottom, rgba(162, 185, 197, 0.45), rgba(81, 93, 99, 0.55)); }
.rsvp .lead { margin-top: clamp(14px, 1.6vw, 24px); max-width: 560px; color: var(--mist); font-size: clamp(12px, 1.2vw, 16px); }
.rsvp .signoff { position: absolute; left: 0; right: 0; bottom: clamp(40px, 4vw, 56px); max-width: none; }
.signoff .names { margin-top: clamp(4px, 0.6vw, 8px); font-size: 24px; letter-spacing: 0.04em; }


/* ---------- personalised opening: greeting → envelope → page ---------- */
html.intro-open { overflow: hidden; }
html.intro-open #nav { opacity: 0; pointer-events: none; }
#nav { transition: opacity 0.8s ease 0.3s; }
.intro {
	position: fixed; inset: 0; z-index: 45;
	background: var(--ivory); color: var(--olive);
	--ink: var(--olive); --muted: var(--moss); --rule: var(--lake);
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
	transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.intro.s3 { pointer-events: none; }
.intro.done, html.resume .intro { display: none; }

/* who is viewing: the mobile number comes before the greeting */
.intro-phone {
	position: absolute; inset: 0; z-index: 2;
	display: flex; align-items: center; justify-content: center;
	padding: 24px; text-align: center;
	transition: opacity 0.6s ease, transform 0.9s var(--ease);
}
.intro.identified .intro-phone { opacity: 0; transform: translateY(-40px); pointer-events: none; }
.intro:not(.identified) .intro-greet { opacity: 0; transform: translateY(32px); pointer-events: none; }
.intro.identified .intro-greet { transition-delay: 0.35s, 0.35s; }
.intro.identified.s1 .intro-greet { transition-delay: 0s, 0s; }
.intro:not(.identified) .intro-skip { display: none; }
.phone-form { width: min(92vw, 520px); display: flex; flex-direction: column; align-items: center; }
.phone-mark { display: block; width: 30px; color: var(--olive); margin-bottom: 26px; }   /* letters-only monogram, 102 × 190 */
.phone-mark svg { display: block; width: 100%; height: auto; }
.phone-label { color: var(--moss); }
.phone-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: 0; white-space: nowrap; margin: 12px 0 10px; color: var(--olive); }
.phone-help { font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--moss); margin: 0 auto 32px; white-space: nowrap; }   /* one line on desktop; wraps on phones below */
.phone-row { position: relative; display: flex; align-items: stretch; width: 100%; max-width: 440px; border-bottom: 1px solid rgba(62, 74, 44, 0.45); }
.phone-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--olive); transform: scaleX(0); transition: transform 0.5s var(--ease); }
.phone-row:focus-within::after { transform: scaleX(1); }
.cc { position: relative; display: flex; }
.cc-btn {
	display: inline-flex; align-items: center; gap: 9px; height: 58px; padding: 0 14px 0 6px;
	font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--olive);
	background: none; border: 0; border-right: 1px solid rgba(62, 74, 44, 0.3); cursor: pointer;
}
.cc-btn svg { width: 11px; height: 8px; color: var(--moss); margin-top: 2px; }
.cc-flag { font-size: 24px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; }
.phone-input {
	flex: 1; min-width: 0; height: 58px; padding: 0 14px;
	font-family: var(--serif); font-size: 22px; letter-spacing: 0.04em; color: var(--olive);
	background: transparent; border: 0; border-radius: 0; outline: none; box-shadow: none;
}
.phone-input::placeholder { color: rgba(62, 74, 44, 0.38); font-style: italic; letter-spacing: 0; }
.cc-pop {
	position: absolute; left: 0; top: calc(100% + 10px); width: min(92vw, 360px); z-index: 6;
	background: var(--ivory); border: 1px solid rgba(62, 74, 44, 0.3); border-radius: 4px;
	box-shadow: 0 18px 48px rgba(62, 74, 44, 0.18); text-align: left; overflow: hidden;
}
.cc-search { display: block; width: 100%; box-sizing: border-box; padding: 13px 16px; font-family: var(--sans); font-size: 15px; color: var(--olive); background: transparent; border: 0; border-bottom: 1px solid rgba(62, 74, 44, 0.2); outline: none; }
.cc-search::placeholder { color: rgba(62, 74, 44, 0.45); }
.cc-list { list-style: none; margin: 0; padding: 6px 0; max-height: min(42vh, 330px); overflow-y: auto; overscroll-behavior: contain; }
.cc-list li { display: flex; align-items: center; gap: 12px; padding: 9px 16px; font-family: var(--sans); font-size: 15px; color: var(--olive); cursor: pointer; outline: none; }
.cc-list li:hover, .cc-list li:focus, .cc-list li[aria-selected="true"] { background: var(--mist); }
.cc-list li.cc-sep { border-top: 1px solid rgba(62, 74, 44, 0.2); margin-top: 6px; padding-top: 14px; }
.cc-list li.cc-empty { color: var(--moss); cursor: default; }
.cc-list .cc-flag { font-size: 20px; }
.cc-list .cc-name { flex: 1; }
.cc-list .cc-code { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--moss); }
.phone-error { min-height: 1.9em; margin-top: 14px; color: var(--olive); letter-spacing: 0.18em; opacity: 0; transition: opacity 0.3s ease; }
.phone-form.invalid .phone-error { opacity: 1; }
.phone-form.invalid .phone-row { border-bottom-color: var(--olive); }
.phone-form .btn-engraved { appearance: none; -webkit-appearance: none; margin-top: 32px; cursor: pointer; }
@media (max-width: 899px) {
	.phone-title { font-size: clamp(20px, 5.4vw, 24px); }
	.phone-help { margin-bottom: 24px; white-space: normal; max-width: 38ch; }
	.invite-clone .lead, .invite .lead { white-space: normal; max-width: 32ch; }
	.cc-btn { font-size: 19px; height: 54px; padding-right: 10px; }
	.phone-input { font-size: 19px; height: 54px; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) { .intro-phone { transition: none; } }

.intro-greet {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 24px;
	transition: opacity 0.45s ease, transform 0.9s var(--ease);
}
.intro-dear { font-size: clamp(40px, 6.4vw, 92px); line-height: 1.15; }
.intro-sub { margin-top: clamp(14px, 1.6vw, 24px); color: var(--moss); }
.intro-cue { position: absolute; left: 0; right: 0; bottom: clamp(32px, 5vh, 56px); display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--moss); }
.intro-line { display: block; width: 1px; height: 56px; background: linear-gradient(rgba(62, 74, 44, 0), var(--olive)); animation: cue 2.4s ease-in-out 1.2s infinite; opacity: 0; }
@keyframes cue { 0% { opacity: 0; transform: scaleY(0); transform-origin: top; } 40% { opacity: 1; transform: scaleY(1); transform-origin: top; } 100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; } }
.intro.s1 .intro-greet { opacity: 0; transform: translateY(-40px); }

/* the envelope */
.intro-env {
	position: absolute; left: 50%; top: 50%;
	transform: translate(-50%, -50%) translateY(120vh);
	transition: transform 1.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.intro.s1 .intro-env { transform: translate(-50%, -50%) translateY(6%); transition-delay: 0.2s; }
.env2 {
	position: relative;
	width: min(90vw, 760px, 84vh); aspect-ratio: 1.55;   /* 84vh keeps the risen letter inside the viewport */
	font-size: calc(min(90vw, 760px, 84vh) / 62);
}
.env2-back { position: absolute; inset: 0; background: linear-gradient(180deg, #cfc7b3, #ddd6c5 60%); border-radius: 1.8em; box-shadow: inset 0 1.6em 2.2em -0.6em rgba(40, 46, 30, 0.35), 0 40px 70px rgba(22, 30, 26, 0.4), 0 6px 14px rgba(22, 30, 26, 0.2); }
/* the envelope sinks and shrinks as the letter is drawn out, so the letter clears the pocket while staying on screen */
.env2-back, .env2-front, .env2-seams, .env2-flap-wrap { transform-origin: 50% 50%; transition: transform 1.2s var(--ease) 1.35s, opacity 0.5s ease; }
.env2-flap-wrap { position: absolute; inset: 0; z-index: 4; transition: transform 1.2s var(--ease) 1.35s, opacity 0.5s ease, z-index 0s linear 1.1s; }
.intro.s2 .env2-flap-wrap { z-index: 1; }
.intro.s2 .env2-back, .intro.s2 .env2-front, .intro.s2 .env2-seams, .intro.s2 .env2-flap-wrap { transform: translateY(30%) scale(0.85); }
.env2-card {
	position: absolute; left: 6%; top: 8%; width: 88%; height: 86%;
	background: var(--ivory);
	box-shadow: 0 8px 22px rgba(40, 46, 30, 0.28), 0 0 0 1px rgba(62, 74, 44, 0.06);
	display: flex; align-items: center; justify-content: center;
	z-index: 2;
	transition: transform 1.2s var(--ease) 1.35s;
}
.invite-clone { display: flex; flex-direction: column; align-items: center; text-align: center; transform-origin: 50% 50%; flex: none; }
.invite-clone .crest, .invite .crest { width: clamp(120px, 11vw, 160px); margin-bottom: clamp(20px, 2vw, 30px); color: var(--olive); }
.invite-clone .couple, .invite .couple { margin: clamp(6px, 0.8vw, 12px) 0 clamp(16px, 1.8vw, 26px); font-size: clamp(26px, 2.9vw, 44px); line-height: 1.15; letter-spacing: 0.02em; color: var(--olive); }   /* the names in Bodoni, as on the guide cover */
.invite-clone .lockup-mark svg { display: block; width: 100%; height: auto; }
.invite-clone .script, .invite-hero .script { font-size: clamp(34px, 4.2vw, 64px); margin: 0; color: var(--olive); }
.invite-clone .greet, .invite .greet { font-size: clamp(20px, 2.1vw, 30px); margin-bottom: clamp(18px, 2vw, 30px); color: var(--moss); }
.invite-clone .when-big, .invite .when-big { font-family: var(--serif); font-weight: 400; letter-spacing: 0.02em; font-size: clamp(26px, 3vw, 46px); line-height: 1.1; color: var(--olive); margin: 0; }   /* the date and the place in Bodoni */
.invite-clone .couple.caps, .invite .couple.caps { text-transform: uppercase; letter-spacing: 0.14em; font-size: clamp(30px, 3.5vw, 54px); margin-top: clamp(14px, 1.6vw, 24px); }   /* the names in capitals, as asked for the save-the-date */
.invite-clone .joint.place, .invite .joint.place { margin: clamp(8px, 0.9vw, 14px) 0 0; font-size: clamp(18px, 1.8vw, 28px); }
.invite-clone .when-big, .invite .when-big { margin: clamp(18px, 2.2vw, 34px) 0; }
.invite-clone .joint, .invite .joint { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(17px, 1.6vw, 24px); line-height: 1; color: var(--olive); margin: clamp(12px, 1.4vw, 20px) 0; }   /* "on" / "in" in quiet Bodoni italic */
.invite-clone .couple, .invite .couple { margin-bottom: 0; }
.invite-clone .dot, .invite .dot { display: block; width: 5px; height: 5px; margin: clamp(18px, 2vw, 26px) 0; border-radius: 50%; background: var(--lake); }
.invite-clone .lead, .invite .lead { color: var(--moss); font-size: clamp(12px, 1.2vw, 17px); line-height: 1.9; letter-spacing: 0.24em; margin: 0 0 clamp(8px, 1vw, 14px); white-space: nowrap; }   /* one line on desktop; wraps on phones below */
.invite-hero .greet, .invite-hero .lead { color: var(--olive); }   /* on the painting the letter keeps full ink; the envelope card stays Moss on ivory */
.env2-front { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; display: block; }
.env2-flap {
	position: absolute; left: 0; top: 0; width: 100%; height: 58%; display: block;
	transform-origin: 50% 0;
}
@keyframes flapOpen {   /* once it flips, the inside of the flap shows a shade darker */
	0%    { transform: scaleY(1); filter: drop-shadow(0 4px 6px rgba(40, 46, 30, 0.3)); }
	49.9% { transform: scaleY(0.02); filter: drop-shadow(0 4px 6px rgba(40, 46, 30, 0.3)); }
	50.1% { transform: scaleY(-0.02); filter: brightness(0.86) drop-shadow(0 -2px 4px rgba(40, 46, 30, 0.2)); }
	100%  { transform: scaleY(-1); filter: brightness(0.86) drop-shadow(0 -2px 4px rgba(40, 46, 30, 0.2)); }
}
.env2-flap { filter: drop-shadow(0 4px 6px rgba(40, 46, 30, 0.3)); }   /* the closed flap casts onto the pocket, so its edge reads */
.env2-seal {
	position: absolute; left: 50%; top: 58%; width: 17%; aspect-ratio: 1;   /* the Figma wax seal, on the flap tip */
	transform: translate(-50%, -50%);
	z-index: 7;
	filter: drop-shadow(0 3px 5px rgba(40, 46, 30, 0.45));
	transition: transform 0.6s var(--ease) 0.1s, opacity 0.4s ease 0.3s;
}
.env2-seal img { width: 100%; height: 100%; display: block; }
.intro.s2 .env2-seal { transform: translate(-50%, -50%) scale(0.55); opacity: 0; }
.intro.s2 .env2-flap { animation: flapOpen 1.1s cubic-bezier(0.5, 0, 0.5, 1) 0.55s forwards; }
.intro.s2 .env2-card { transform: translateY(-66%); }
.intro.s3 .env2-card {   /* the letter comes to the front and grows into the whole screen: it becomes the header */
	z-index: 10;
	transition: left 1.2s var(--ease), top 1.2s var(--ease), width 1.2s var(--ease), height 1.2s var(--ease);
	animation: cardLift 1.2s ease forwards;
}
@keyframes cardLift {
	0%   { box-shadow: 0 8px 22px rgba(40, 46, 30, 0.28); }
	40%  { box-shadow: 0 44px 96px rgba(40, 46, 30, 0.42); }
	100% { box-shadow: 0 60px 110px rgba(40, 46, 30, 0); }
}
.intro.s3 .invite-clone { transition: transform 1.2s var(--ease); }
.env2-card { background: var(--lily-pad); overflow: hidden; }
.env2-card .invite-clone { position: relative; z-index: 2; }
.card-monet::after { background: rgba(22, 30, 26, 0.52); }   /* the same veil as the header */
.card-foot {   /* the header's Lily Pad-to-ivory foot, only once the letter fills the screen */
	position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 0.6s ease 0.6s;
	background: none;
}
.intro.s3 .card-foot { opacity: 1; }
.intro.fade { opacity: 0; transition: opacity 0.6s ease; }   /* the overlay lifts off the identical header instead of being cut away */
/* the envelope shrinks in place and fades, so the growing letter simply swallows it */
.intro.s3 .env2-back, .intro.s3 .env2-front, .intro.s3 .env2-seams, .intro.s3 .env2-flap-wrap { opacity: 0; transform: translateY(30%) scale(0.3); transition: transform 1.2s var(--ease), opacity 0.6s ease 0.3s; }
/* the header is already in its final state under the overlay when the card lands on it */
.hero-title.instant, .hero-title.instant * { transition: none !important; }

.intro-skip {
	position: absolute; right: clamp(16px, 4vw, 60px); bottom: clamp(20px, 3.5vw, 52px);
	color: var(--moss); letter-spacing: 0.22em;
	padding: 8px 0;
}
.intro-skip:hover { color: var(--olive); }

@media (max-width: 899px) {
	.intro-dear { font-size: clamp(34px, 11vw, 48px); }
	.env2 { width: min(92vw, 84vh); }
}
@media (prefers-reduced-motion: reduce) {
	.intro, .intro-greet, .intro-env, .env2-card, .env2-flap, .env2-seal, .env2-back, .env2-front, .env2-seams, .env2-flap-wrap { transition: none; }
	.intro.s2 .env2-flap { animation-duration: 0.01s; animation-delay: 0s; }
	.intro-line { animation: none; opacity: 1; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	#loader { display: none; }
	[data-reveal] .label, [data-reveal] .title-0 span, [data-reveal] .title-1 span, .title-0[data-reveal] span,
	[data-reveal] .txt-0, [data-reveal] .txt-1, [data-reveal] .txt-2, [data-reveal] .script, [data-reveal] .detail, [data-reveal] .lockup-mark, [data-reveal] .dot, [data-reveal] .btn-engraved, [data-reveal] figcaption, [data-reveal] .ph-img { transform: none; opacity: 1; transition: none; }
	.celebration .bg, .rsvp .bg { animation: none; }
	[data-reveal] .line { transform: scaleX(1); transition: none; }
	.cue-line { animation: none; opacity: 1; }
	.hero-video { display: none; }
	.lockup-rule { transform: scaleX(1); transition: none; }
}

/* ==========================================================================
   Phones and small tablets: stack everything
   ========================================================================== */
@media (max-width: 899px) {
	:root {
		--fs-title0: clamp(52px, 15vw, 72px);
		--fs-title1: 30px; --lh-title1: 34px;
		--fs-txt0: 17px; --lh-txt0: 30px; --lh-txt1: 25px;
		--fs-txt2: 13px; --lh-txt2: 19px;
		--fs-label: 11px; --lh-label: 15px;
		--fs-script: 30px;
	}
	.nav-bar { gap: 14px; padding: 14px 12px 12px; }
	.nav-links { gap: 14px; }
	.nav-logo { font-size: 13px; }
	.nav-scroll { left: 50%; margin-left: -26px; bottom: 28px; }
	.schloss { --foot: 120px; padding: 28px 24px 32px; }
	.venue-drawing .bg { top: 0; left: 0; width: 100%; height: calc(100% - var(--foot)); aspect-ratio: auto; }
	.schloss .title-0 { font-size: clamp(26px, 7.6vw, 34px); }
	.phone-title { white-space: normal; font-size: clamp(21px, 5.8vw, 26px); }
}

/* ===== Painting on Lily Pad: ivory type on the intro, the letter and the nav over it ===== */
/* the phone screen, greeting and envelope sit on plain ivory; the letter brings the painting with it as it grows into the header */
.invite-hero .greet, .invite-hero .lead, .invite-hero .couple, .invite-hero .script, .invite-hero .when-big, .invite-hero .joint { color: var(--ivory); }
.invite-hero .btn-engraved { color: var(--ivory); }
.invite-hero .btn-engraved .btn-art-line { color: var(--ivory); }
html:not(.scrolled) #nav { --ink: var(--ivory); }   /* over the painting at the top; Lily Pad again on the ivory veil once scrolled */
html:not(.scrolled) .cue-line { background: linear-gradient(rgba(247, 244, 234, 0), var(--ivory)); }
/* the envelope card is ivory paper with Lily Pad ink; as the paper dissolves its copy turns ivory to land on the header */
.intro .invite-clone, .intro .invite-clone .greet, .intro .invite-clone .lead, .intro .invite-clone .couple, .intro .invite-clone .script, .intro .invite-clone .when-big, .intro .invite-clone .joint, .intro .invite-clone .btn-engraved, .intro .invite-clone .btn-art-line { color: var(--ivory); }   /* the letter is the dark painting with ivory ink, in the envelope and as it grows into the header */

/* ===== Save-the-date lockup (after the 2026-10-24 reference): mono eyebrow, monumental capital names, script place, a hairline, spaced mono date ===== */
.invite-hero .inner { max-width: min(1240px, 94vw); }
.invite-hero .inner, .invite-clone { color: var(--ivory); }
.invite-clone .detail { line-height: 1.9; letter-spacing: 0.24em; }   /* the same metrics the header gets from .centered, so the card copy is the header to the pixel */
.invite-clone .script { margin-top: 0; }
.invite-hero .std-eyebrow, .invite-clone .std-eyebrow { margin: 0; font-size: clamp(10px, 0.95vw, 14px); letter-spacing: 0.5em; padding-left: 0.5em; color: var(--ivory); }
.invite-hero .std-names, .invite-clone .std-names {
	margin: clamp(14px, 1.6vw, 26px) 0 0; font-family: var(--serif); font-weight: 700; text-transform: uppercase;   /* RACHEL & STEPHAN in bold Bodoni Moda capitals */
	font-size: clamp(24px, 5vw, 80px); line-height: 1; letter-spacing: 0.01em; white-space: nowrap; color: var(--ivory);
}
.invite-hero .std-place, .invite-clone .std-place { margin: clamp(10px, 1.6vw, 26px) 0 0; font-size: clamp(24px, 3.7vw, 58px); line-height: 1.15; color: var(--ivory); }
.invite-hero .std-rule, .invite-clone .std-rule { display: block; width: clamp(180px, 27vw, 420px); height: 1px; margin: clamp(14px, 1.8vw, 28px) 0 clamp(18px, 2.2vw, 34px); background: rgba(247, 244, 234, 0.75); }
.invite-hero .std-date, .invite-clone .std-date { margin: clamp(22px, 2.6vw, 40px) 0 0; font-size: clamp(15px, 1.7vw, 26px); letter-spacing: 0.42em; word-spacing: 1.2em; padding-left: 0.42em; color: var(--ivory); }
.invite-hero .lead, .invite-clone .lead { margin: clamp(18px, 2.2vw, 34px) 0 0; font-size: clamp(10px, 0.92vw, 13px); letter-spacing: 0.24em; color: var(--ivory); }

/* ===== Phone field in the engraved-button language: a rounded double hairline in Lily Pad, Bodoni inside ===== */
.intro .phone-row {
	max-width: 400px; height: 54px; box-sizing: border-box;
	border: 1px solid var(--olive); border-radius: 27px;
	outline: 1px solid rgba(62, 74, 44, 0.55); outline-offset: 3px;   /* the inner and outer line of the button's double border */
	padding: 0 10px 0 14px; background: rgba(247, 244, 234, 0.35);
	transition: outline-color 0.35s ease, background-color 0.35s ease;
}
.intro .phone-row::after { display: none; }
.intro .phone-row:focus-within { outline-color: var(--olive); background: rgba(247, 244, 234, 0.55); }
.intro .phone-form.invalid .phone-row { border-color: var(--olive); outline-color: var(--olive); }
.intro .cc-btn { height: 52px; font-size: 20px; padding: 0 12px 0 2px; border-right-color: rgba(62, 74, 44, 0.35); }
.intro .phone-input { height: 52px; font-size: 20px; letter-spacing: 0.04em; padding: 0 12px; }
.intro .phone-input::placeholder { font-style: normal; letter-spacing: 0.04em; color: rgba(62, 74, 44, 0.55); }

/* ===== The intro on Lily Pad: phone screen, greeting and envelope, all ivory type ===== */
.intro { background: var(--lily-pad); color: var(--ivory); --ink: var(--ivory); --muted: rgba(247, 244, 234, 0.75); --rule: rgba(247, 244, 234, 0.45); }
.intro .phone-mark, .intro .phone-title, .intro .phone-label, .intro .phone-help, .intro .phone-error,
.intro .intro-greet, .intro .intro-greet *, .intro .intro-cue { color: var(--ivory); }
.intro .intro-sub, .intro .intro-skip { color: rgba(247, 244, 234, 0.75); }
.intro .intro-skip:hover { color: var(--ivory); }
.intro .intro-line { background: linear-gradient(rgba(247, 244, 234, 0), var(--ivory)); }
.intro ::selection { background: var(--ivory); color: var(--olive); }
/* the field: an ivory pill with Lily Pad type, its outer hairline in ivory around it */
.intro .phone-row, .intro .phone-row:focus-within { background: var(--ivory); border-color: var(--ivory); }
.intro .phone-row { outline-color: rgba(247, 244, 234, 0.5); }
.intro .phone-row:focus-within { outline-color: var(--ivory); }
.intro .phone-form.invalid .phone-row { border-color: var(--ivory); outline-color: var(--ivory); }
.intro .cc-btn, .intro .phone-input { color: var(--olive); caret-color: var(--olive); }
.intro .cc-btn svg { color: var(--moss); }
.intro .cc-btn { border-right-color: rgba(62, 74, 44, 0.3); }
.intro .phone-input::placeholder { color: rgba(62, 74, 44, 0.5); }
.intro .phone-input:-webkit-autofill { -webkit-text-fill-color: var(--olive); -webkit-box-shadow: 0 0 0 40px var(--ivory) inset; }
/* Continue: ivory outline; on hover it fills ivory with a Lily Pad label, since a green fill would vanish on green */
.intro .phone-form .btn-engraved { color: var(--ivory); }
.intro .phone-form .btn-engraved .btn-art-line, .intro .phone-form .btn-engraved .btn-fill { color: var(--ivory); }
.intro .phone-form .btn-engraved:hover, .intro .phone-form .btn-engraved:focus-visible { color: var(--olive); }
.intro .phone-crest { width: clamp(100px, 8.6vw, 128px); margin-bottom: 30px; color: var(--ivory); }   /* the approved Bodoni RS crest instead of the letters-only monogram */
.intro .phone-title { margin-bottom: 30px; }   /* the help line is gone; the heading leads straight into the field */
/* RSVP on the painting: the same hover as Continue, an ivory fill with a Lily Pad label */
.invite-hero .btn-engraved .btn-fill, .invite-clone .btn-engraved .btn-fill { color: var(--ivory); }
.invite-hero .btn-engraved:hover, .invite-hero .btn-engraved:focus-visible { color: var(--olive); }

/* ===== Celebration: two events, each day / name / place, the wedding with its four moments ===== */
.celebration { background: var(--lily-pad); }
.celebration .bg.garland {   /* a shallow garland cut from the Rococo border: ivory line art on transparency, the same width as before */
	inset: auto; top: clamp(36px, 3.6vw, 56px); left: 50%; width: min(1100px, 82vw); height: auto; object-fit: initial;
	translate: -50% 0; transform-origin: 50% 0; animation: none;
}   /* a symmetric headpiece: the mirrored Rococo scroll and vine, with fine ivory rules out to small diamonds */
.celebration .inner { padding-top: clamp(120px, 11vw, 170px); }   /* just clear of the headpiece */
.celebration .event { display: flex; flex-direction: column; align-items: center; }
.celebration .event-day { margin: 0; letter-spacing: 0.32em; padding-left: 0.32em; }
.celebration .event-name { margin: clamp(10px, 1.1vw, 16px) 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.1; letter-spacing: 0.01em; color: var(--ink); }
.celebration .event-place { margin: clamp(6px, 0.7vw, 10px) 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.3; color: var(--muted); }
.celebration .dot { margin: clamp(28px, 3.2vw, 48px) 0; background: rgba(247, 244, 234, 0.6); }
.celebration .schedule { margin-top: clamp(18px, 2vw, 28px); text-transform: none; letter-spacing: 0.08em; font-size: clamp(14px, 1.25vw, 17px); }   /* the four moments in sentence case */
[data-reveal] .event-name, [data-reveal] .event-place { opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease, transform 1.1s var(--ease); }
[data-reveal].in .event-name, [data-reveal].in .event-place { opacity: 1; transform: none; }

/* ===== Travel & Stay: ticket cards with concave corners and a double white hairline (after the 2026-10-24 reference) ===== */
.stays { --parch: #ece7da; --line: #fdfcf8; position: relative; background: #2a332a; color: var(--olive); --ink: var(--olive); --muted: var(--moss); }
/* the Schloss film behind the cards: pinned to the viewport while the section scrolls over it, under the Monet's veil */
.stays-bg { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; z-index: 0; }
.stays-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(0.7) contrast(0.95); }
.stays-bg::after { content: ""; position: absolute; inset: 0; background: rgba(22, 30, 26, 0.45); }
.stays-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: clamp(90px, 9vw, 150px) clamp(16px, 4vw, 56px); display: flex; flex-direction: column; align-items: stretch; }
.stays .stays-title { color: var(--ivory); }
.stays .stays-group { color: var(--ivory); }
.stays .stays-group::before, .stays .stays-group::after { background: rgba(247, 244, 234, 0.5); }
.stays-title { text-align: center; font-size: clamp(40px, 5vw, 76px); margin: 0 0 clamp(36px, 4vw, 60px); }
.stays-group { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); margin: clamp(40px, 4vw, 64px) 0 clamp(22px, 2.2vw, 32px); font-weight: 400; color: var(--olive); letter-spacing: 0.32em; }
.stays-group::before, .stays-group::after { content: ""; flex: 1; height: 1px; background: rgba(62, 74, 44, 0.32); }
.stays-grid { display: grid; gap: clamp(14px, 1.4vw, 20px); }
.stays-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stays-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 899px) { .stays-3, .stays-2 { grid-template-columns: minmax(0, 1fr); } }

/* the card: white edge, parchment, a fine white inner line, parchment face; every layer has the same concave corners */
.stay { --R: 22px; --i: 0px; --c: var(--line); position: relative; }
.stays-hero, .stays-grid { filter: drop-shadow(0 2px 3px rgba(10, 14, 12, 0.3)); }   /* on the groups, so the shadow follows the cut corners */
.stay::before { content: ""; position: absolute; inset: 3px; --i: 3px; --c: var(--parch); }
.stay::after { content: ""; position: absolute; inset: 7px; --i: 7px; --c: var(--line); }
.stay-face { position: absolute; inset: 8px; --i: 8px; --c: var(--parch); z-index: 1; }
/* each layer paints its own shape: four corner tiles, transparent inside the concave arc (no masks, which drop the video behind them) */
.stay, .stay::before, .stay::after, .stay-face {
	background:
		radial-gradient(circle at calc(-1 * var(--i)) calc(-1 * var(--i)), #0000 calc(var(--R) + var(--i)), var(--c) calc(var(--R) + var(--i) + 0.6px)) left top / 50.5% 50.5% no-repeat,
		radial-gradient(circle at calc(100% + var(--i)) calc(-1 * var(--i)), #0000 calc(var(--R) + var(--i)), var(--c) calc(var(--R) + var(--i) + 0.6px)) right top / 50.5% 50.5% no-repeat,
		radial-gradient(circle at calc(-1 * var(--i)) calc(100% + var(--i)), #0000 calc(var(--R) + var(--i)), var(--c) calc(var(--R) + var(--i) + 0.6px)) left bottom / 50.5% 50.5% no-repeat,
		radial-gradient(circle at calc(100% + var(--i)) calc(100% + var(--i)), #0000 calc(var(--R) + var(--i)), var(--c) calc(var(--R) + var(--i) + 0.6px)) right bottom / 50.5% 50.5% no-repeat;
}
.stay { display: flex; }
.stay-body { flex: 1; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(26px, 2.6vw, 36px) clamp(22px, 2.4vw, 36px) clamp(24px, 2.4vw, 32px); }
.stay-kind { margin: 0; color: var(--moss); letter-spacing: 0.3em; padding-left: 0.3em; }
.stay-name { margin: clamp(8px, 0.9vw, 12px) 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.7vw, 28px); line-height: 1.15; letter-spacing: -0.01em; }
.stay-name a { color: var(--olive); text-decoration: none; }
.stay-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.stays-hero .stay-name { font-size: clamp(28px, 2.6vw, 40px); }
.stay-arrow { font-size: 0.42em; vertical-align: 0.9em; margin-left: 0.25em; color: var(--moss); }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: clamp(14px, 1.4vw, 18px) 0 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border: 1px solid rgba(62, 74, 44, 0.3); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; line-height: 1.2; letter-spacing: 0.1em; white-space: nowrap; text-transform: uppercase; color: var(--olive); background: rgba(253, 252, 248, 0.35); }
.chip svg { width: 14px; height: 14px; flex: none; }
.chip-fill { background: var(--olive); border-color: var(--olive); color: var(--ivory); }
.stay-note { margin: clamp(14px, 1.4vw, 20px) 0 0; max-width: 54ch; font-family: var(--mono); font-size: clamp(13px, 1vw, 15px); line-height: 1.7; letter-spacing: 0.04em; color: var(--olive); }
.stay-dist { width: 100%; margin-top: auto; padding-top: clamp(16px, 1.6vw, 22px); }   /* pinned to the foot so the bars line up across a row */
.stay-min { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; }
.stay-num { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 40px); line-height: 1; color: var(--olive); }
.stay-min svg { width: 16px; height: 16px; align-self: center; color: var(--moss); }
.stay-min .detail { color: var(--moss); letter-spacing: 0.22em; }
.stay-bar { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--olive); }
.stay-bar svg { width: 16px; height: 16px; flex: none; }
.stay-track { position: relative; flex: 1; height: 7px;
	background: linear-gradient(var(--olive), var(--olive)) left center / var(--p) 2px no-repeat,
	            repeating-linear-gradient(to right, rgba(62, 74, 44, 0.35) 0 4px, transparent 4px 8px) right center / 100% 1px no-repeat; }
.stay-track::after { content: ""; position: absolute; top: 50%; left: var(--p); width: 7px; height: 7px; border-radius: 50%; background: var(--olive); transform: translate(-50%, -50%); }
/* rounded letter: soft corners in the envelope, square again once it fills the screen and becomes the header */
.env2-card { border-radius: 0.9em; }
.intro.s3 .env2-card { border-radius: 0; transition: left 1.2s var(--ease), top 1.2s var(--ease), width 1.2s var(--ease), height 1.2s var(--ease), border-radius 1.2s var(--ease); }

/* ===== Travel & Stay on the film: translucent cards, white type; the outline is an SVG drawn to each card's size (site.js) ===== */
.stay, .stay::before, .stay::after, .stay-face { background: none; }
.stay::before, .stay::after { display: none; }
.stays-hero, .stays-grid { filter: none; }
.stay-face { inset: 0; }
.stay-face svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stay-face .glass { fill: rgba(247, 244, 234, 0.14); }
.stay-face .edge { fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.6; }
.stay-face .edge-in { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1; }
.stays .stay-kind, .stays .stay-min .detail, .stays .stay-min svg, .stays .stay-arrow { color: rgba(247, 244, 234, 0.78); }
.stays .stay-name a, .stays .stay-num, .stays .stay-note, .stays .stay-bar { color: var(--ivory); }
.stays .chip { color: var(--ivory); border-color: rgba(247, 244, 234, 0.45); background: rgba(247, 244, 234, 0.08); }
.stays .chip-fill { color: var(--olive); border-color: var(--ivory); background: var(--ivory); }
.stays .stay-track {
	background: linear-gradient(var(--ivory), var(--ivory)) left center / var(--p) 2px no-repeat,
	            repeating-linear-gradient(to right, rgba(247, 244, 234, 0.45) 0 4px, transparent 4px 8px) right center / 100% 1px no-repeat;
}
.stays .stay-track::after { background: var(--ivory); }
.stays .stay-name, .stays .stay-num, .stays .stay-note, .stays .chip, .stays .stay-kind { text-shadow: 0 1px 8px rgba(10, 14, 12, 0.35); }

/* ===== RSVP on the swans, after the reference: warm sepia photo on ink, a light veil, a slow glide and bob, the water rippling ===== */
.rsvp { --swan: #e8e5dc; background: #1b1a17; color: var(--swan); --ink: var(--swan); --muted: rgba(232, 229, 220, 0.8); }
.rsvp .bg { filter: url(#ripple); object-position: 50% 60%; animation: swanGlide 22s ease-in-out infinite alternate, swanBob 8s ease-in-out infinite; }
.rsvp .wash { background: rgba(0, 0, 0, 0.45); }   /* a black overlay so the reply reads on the bright swans */
.rsvp .lead { color: var(--swan); }
@keyframes swanGlide { from { transform: scale(1.1) translateX(-2%) rotate(-0.4deg); } to { transform: scale(1.1) translateX(2%) rotate(0.4deg); } }
@keyframes swanBob { 0%, 100% { translate: 0 0; } 50% { translate: 5px 0; } }
@media (prefers-reduced-motion: reduce) { .rsvp .bg { animation: none; transform: scale(1.1); } }

/* the reply: the number entered at the start, then each invited name with a Yes / No toggle */
.reply { display: flex; flex-direction: column; align-items: center; width: min(520px, 100%); margin-top: clamp(26px, 3vw, 40px); }
.reply-for { margin: 0; letter-spacing: 0.24em; color: var(--muted); }
.reply-for span { color: var(--swan); }
.reply-list { list-style: none; width: 100%; margin: clamp(18px, 2vw, 26px) 0 0; padding: 0; }
.reply-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 4px; }
.reply-name { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; text-align: left; }
.yn { display: inline-flex; border: 1px solid rgba(232, 229, 220, 0.6); border-radius: 999px; padding: 3px; gap: 2px; flex: none; }
.yn label { position: relative; cursor: pointer; }
.yn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.yn span { display: block; min-width: 54px; padding: 7px 14px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; padding-left: calc(14px + 0.2em); text-transform: uppercase; color: var(--swan); transition: background-color 0.3s ease, color 0.3s ease; }
.yn input:checked + span { background: var(--swan); color: #1b1a17; }
.yn input:focus-visible + span { outline: 1px solid var(--swan); outline-offset: 2px; }
.reply .btn-engraved { margin-top: clamp(30px, 3.2vw, 44px); cursor: pointer; appearance: none; -webkit-appearance: none; }
.reply-done { min-height: 1.9em; margin: 14px 0 0; letter-spacing: 0.2em; color: var(--swan); }
.reply.invalid .yn { border-color: var(--swan); }
.invite-hero { padding-top: clamp(150px, 20vh, 240px); padding-bottom: clamp(60px, 8vh, 110px); }   /* the lockup sits a little lower on the painting */
/* Send reply: fills white on hover, its label turns ink */
.reply .btn-engraved .btn-fill { color: var(--swan); }
.reply .btn-engraved:hover, .reply .btn-engraved:focus-visible { color: #1b1a17; }
.std-names .amp { display: inline; font-weight: 400; }   /* the ampersand stays light between the bold names */

/* the film fades into the swans' near-black, and the swans rise out of it: one dark band instead of a hard cut */
.stays::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(180px, 24vh, 280px); z-index: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(27, 26, 23, 0), #1b1a17); }
.rsvp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(180px, 24vh, 280px); z-index: 1; pointer-events: none; background: linear-gradient(to bottom, #1b1a17, rgba(27, 26, 23, 0)); }
.rsvp .inner { z-index: 2; }

.celebration .event-name { text-transform: uppercase; letter-spacing: 0.06em; }   /* WELCOME PARTY / THE WEDDING */
/* a tighter ceremony section: no forced full-screen height, the events close under the headpiece */
.celebration { min-height: 0; padding-top: 0; padding-bottom: clamp(64px, 6vw, 96px); }
.celebration .inner { padding-top: clamp(140px, 12.6vw, 186px); }
.celebration .dot { margin: clamp(20px, 2.2vw, 32px) 0; }

/* ===== Travel & Stay on ivory: Lily Pad ink, the card outlines in Lily Pad hairlines ===== */
.stays { background: var(--ivory); color: var(--olive); --ink: var(--olive); --muted: var(--moss); }
.stays::after { display: none; }
.stays .stays-title, .stays .stays-group { color: var(--olive); }
.stays .stays-group::before, .stays .stays-group::after { background: rgba(62, 74, 44, 0.32); }
.stay-face .glass { fill: rgba(62, 74, 44, 0.035); }
.stay-face .edge { stroke: var(--olive); stroke-width: 1.2; }
.stay-face .edge-in { stroke: rgba(62, 74, 44, 0.4); }
.stays .stay-kind, .stays .stay-min .detail, .stays .stay-min svg, .stays .stay-arrow { color: var(--moss); }
.stays .stay-name a, .stays .stay-num, .stays .stay-note, .stays .stay-bar { color: var(--olive); }
.stays .chip { color: var(--olive); border-color: rgba(62, 74, 44, 0.35); background: transparent; }
.stays .chip-fill { color: var(--ivory); border-color: var(--olive); background: var(--olive); }
.stays .stay-track {
	background: linear-gradient(var(--olive), var(--olive)) left center / var(--p) 2px no-repeat,
	            repeating-linear-gradient(to right, rgba(62, 74, 44, 0.35) 0 4px, transparent 4px 8px) right center / 100% 1px no-repeat;
}
.stays .stay-track::after { background: var(--olive); }
.stays .stay-name, .stays .stay-num, .stays .stay-note, .stays .chip, .stays .stay-kind { text-shadow: none; }

/* ===== RSVP on the Schloss film (in place of the swans), under the black overlay; it rises out of the ivory above ===== */
.rsvp .bg.rsvp-video { filter: saturate(0.7) contrast(0.95); animation: none; object-fit: cover; object-position: 50% 45%; }
.rsvp::before { height: clamp(60px, 8vh, 96px); background: linear-gradient(to bottom, var(--ivory), rgba(247, 244, 234, 0)); }

/* ===== One heading style for every section: Bodoni Moda capitals, the size of the event names ===== */
.sec-title, .celebration .event-name {
	margin: 0; font-family: var(--serif); font-weight: 400; font-style: normal; text-transform: uppercase;
	font-size: clamp(30px, 3.4vw, 52px); line-height: 1.1; letter-spacing: 0.06em; color: var(--ink); white-space: normal;
}
.schloss .sec-title { color: var(--olive); }
.stays .sec-title.stays-title { margin: 0 0 clamp(36px, 4vw, 60px); text-align: center; color: var(--olive); }
.rsvp .sec-title { color: var(--swan); }
[data-reveal] .sec-title { opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease, transform 1.1s var(--ease); }
[data-reveal].in .sec-title { opacity: 1; transform: none; }

/* ===== Ceremony as Rococo wallpaper: a tone-on-tone damask (ogee trellis around mirrored medallions), the headpiece as its frieze ===== */
.celebration { background: var(--lily-pad) url("/assets/images/rococo-damask.png?v=1") center top / 230px auto repeat; }
.celebration::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(150px, 13vw, 200px); background: linear-gradient(to bottom, var(--lily-pad) 62%, rgba(62, 74, 44, 0)); z-index: 0; }   /* a plain band behind the frieze */
.celebration .bg.garland { z-index: 1; }
.celebration .inner { position: relative; z-index: 2; }
.celebration .event { padding: clamp(10px, 1.2vw, 16px) clamp(22px, 3vw, 44px); background: radial-gradient(ellipse at center, rgba(62, 74, 44, 0.92) 30%, rgba(62, 74, 44, 0) 72%); }   /* the paper calms behind each event */

/* ===== Travel & Stay as a plaster wall: limewash, a picture rail under the title, a dado rail and panels at the foot, the cards hung like framed pictures ===== */
.stays {
	background-color: #f3efe3;
	background-image:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.012 0.02' numOctaves='4' seed='7'/><feColorMatrix values='0 0 0 0 0.24  0 0 0 0 0.29  0 0 0 0 0.17  0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.24  0 0 0 0 0.29  0 0 0 0 0.17  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>"),
		radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255, 253, 246, 0.7), rgba(255, 253, 246, 0));
	background-size: 320px 320px, 160px 160px, 100% 100%;
	padding-bottom: clamp(150px, 14vw, 210px);
}
.stays .stays-title { position: relative; padding-bottom: clamp(22px, 2.4vw, 32px); }
.stays .stays-title::after {   /* the picture rail */
	content: ""; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw); bottom: 0; height: 7px;
	border-top: 1px solid rgba(62, 74, 44, 0.45); border-bottom: 1px solid rgba(62, 74, 44, 0.25);
	background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(62, 74, 44, 0.06));
}
.stays::before {   /* dado rail and panel mouldings along the foot of the wall */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 10vw, 150px); z-index: 0; pointer-events: none;
	border-top: 1px solid rgba(62, 74, 44, 0.45);
	box-shadow: inset 0 6px 0 -5px rgba(62, 74, 44, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.7);
	background:
		linear-gradient(rgba(255, 255, 255, 0.5), rgba(62, 74, 44, 0.05)) top / 100% 10px no-repeat,
		repeating-linear-gradient(to right, transparent 0 22px, rgba(62, 74, 44, 0.28) 22px 23px, transparent 23px 29px, rgba(62, 74, 44, 0.16) 29px 30px, transparent 30px calc(min(25vw, 300px) - 30px), rgba(62, 74, 44, 0.16) calc(min(25vw, 300px) - 30px) calc(min(25vw, 300px) - 29px), transparent calc(min(25vw, 300px) - 29px) calc(min(25vw, 300px) - 23px), rgba(62, 74, 44, 0.28) calc(min(25vw, 300px) - 23px) calc(min(25vw, 300px) - 22px), transparent calc(min(25vw, 300px) - 22px) min(25vw, 300px)) 0 26px / 100% calc(100% - 52px) no-repeat,
		rgba(62, 74, 44, 0.035);
}
.stays-hero, .stays-grid { filter: drop-shadow(0 14px 16px rgba(40, 46, 30, 0.16)) drop-shadow(0 2px 3px rgba(40, 46, 30, 0.12)); }   /* hung on the wall */
.stay-face .glass { fill: #fbf9f2; }

/* ===== Travel & Stay as a white Rococo wall: the cards are boiserie panels in relief, a chair rail, dado panels and skirting below (all drawn by site.js) ===== */
.stays { background: linear-gradient(100deg, #f6f2e7 0%, #efe9da 55%, #e9e2d0 100%); padding-bottom: clamp(220px, 18vw, 260px); }
.stays::before { display: none; }
.stays .stays-title::after { display: none; }
.boiserie { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.boiserie .w-rail { fill: #f1ecdf; } .boiserie .w-rail-hi { fill: rgba(255, 255, 255, 0.9); } .boiserie .w-rail-lo { fill: rgba(110, 98, 72, 0.28); }
.boiserie .w-rail-sh { fill: rgba(110, 98, 72, 0.12); }
.boiserie .w-pan { fill: rgba(255, 253, 246, 0.35); stroke: rgba(255, 255, 255, 0.95); stroke-width: 1.5; }
.boiserie .w-pan-sh { fill: none; stroke: rgba(110, 98, 72, 0.22); stroke-width: 1.5; }
.boiserie .w-pan-in { fill: none; stroke: rgba(110, 98, 72, 0.26); stroke-width: 1; }
.boiserie .w-pan-in-l { fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 1; }
.boiserie .w-skirt { fill: #ebe4d3; }
.stays-hero, .stays-grid { filter: none; }
.stay { --crest: 90px; }
.stay::before, .stay::after { display: none; }
.stay-face { position: absolute; inset: 0; z-index: 1; }
.stay-face svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stay-face .b-shadow { fill: none; stroke: rgba(96, 86, 64, 0.22); stroke-width: 10; filter: blur(4px); }
.stay-face .b-band { fill: none; stroke: #f0eadc; stroke-width: 11; }
.stay-face .b-light { fill: none; stroke: rgba(255, 255, 255, 0.95); stroke-width: 1.4; }
.stay-face .b-face { fill: #f5f1e6; }
.stay-face .b-dark { fill: none; stroke: rgba(110, 98, 72, 0.32); stroke-width: 1.2; }
.stay-face .b-inner { fill: none; stroke: rgba(110, 98, 72, 0.3); stroke-width: 1; }
.stay-face .b-inner-l { fill: none; stroke: rgba(255, 255, 255, 0.95); stroke-width: 1; }
.stay-body { padding-top: var(--crest); padding-bottom: clamp(30px, 3vw, 40px); }
.stays .stay-kind { margin-top: 2px; }

/* ===== The real wall: raking warm sunlight, panels in deep relief, a wooden floor ===== */
.stays {
	--floor: 130px;
	background:
		radial-gradient(ellipse 70% 55% at 12% 18%, rgba(255, 244, 214, 0.75), rgba(255, 244, 214, 0) 70%),
		linear-gradient(100deg, #f8f4ea 0%, #f0eadc 45%, #e4dcc8 100%);
	padding-bottom: calc(var(--floor) + clamp(250px, 20vw, 290px));
	overflow: hidden;
}
.stays::after {   /* sunlight falling across the wall in soft shafts */
	content: ""; position: absolute; inset: 0 0 var(--floor) 0; z-index: 0; pointer-events: none; display: block;
	background: repeating-linear-gradient(115deg, rgba(255, 246, 220, 0) 0 120px, rgba(255, 246, 220, 0.16) 160px 260px, rgba(255, 246, 220, 0) 320px 520px);
	mix-blend-mode: soft-light;
}
.stays-floor {   /* aged oak boards in perspective */
	position: absolute; left: -10%; right: -10%; bottom: 0; height: var(--floor); z-index: 0; pointer-events: none;
	transform-origin: 50% 0; transform: perspective(500px) rotateX(38deg);
	background:
		linear-gradient(to bottom, rgba(40, 28, 16, 0.45), rgba(40, 28, 16, 0) 40%),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='120'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.004 0.18' numOctaves='3' seed='11'/><feColorMatrix values='0 0 0 0 0.36  0 0 0 0 0.25  0 0 0 0 0.15  0 0 0 0.32 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>"),
		repeating-linear-gradient(to right, rgba(60, 40, 22, 0.55) 0 1.5px, transparent 1.5px 120px),
		repeating-linear-gradient(to right, #a98a66 0 120px, #9c7d5a 120px 240px, #b29473 240px 360px, #a2835f 360px 480px, #ad8e6a 480px 600px);
	background-size: 100% 100%, 400px 120px, 120px 100%, 600px 100%;
	box-shadow: inset 0 18px 30px rgba(40, 28, 16, 0.35);
}
.stays-floor::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 236, 196, 0.35), rgba(255, 236, 196, 0) 60%); }
.stay-body { padding-bottom: calc(var(--foot, 50px) + 14px); }
.stay-face .b-shadow { fill: none; stroke: rgba(80, 68, 46, 0.26); stroke-width: 12; }   /* blurred by the svg filter: a soft wall shadow, not a ledge */
.stay-face .b-band { fill: none; stroke-width: 13; }
.stay-face .b-light { fill: none; stroke: #ffffff; stroke-width: 1.6; }
.stay-face .b-edge { fill: none; stroke: rgba(110, 98, 72, 0.45); stroke-width: 1.2; }
.stay-face .b-dark { fill: none; stroke: rgba(110, 98, 72, 0.2); stroke-width: 1; }
.stay-face .b-inner { fill: none; stroke: rgba(110, 98, 72, 0.36); stroke-width: 1.1; }
.stay-face .b-inner-l { fill: none; stroke: #ffffff; stroke-width: 1.2; }
.stay-face .b-inner2 { fill: none; stroke: rgba(110, 98, 72, 0.16); stroke-width: 1; }

/* ===== Ceremony in embossed Rococo relief, Lily Pad on Lily Pad (peony garlands and carved fleurs, lit from the top left) ===== */
.celebration { background: #3e4a2c url("/assets/img/rococo-relief-1120.webp") center top / 560px auto repeat; }
.celebration::before { display: none; }
.celebration .bg.garland { display: none; }
.celebration .inner { padding-top: clamp(80px, 8vw, 120px); }
.celebration .event {
	padding: clamp(18px, 2vw, 28px) clamp(34px, 4vw, 60px);
	background: radial-gradient(ellipse at center, rgba(62, 74, 44, 0.94) 38%, rgba(62, 74, 44, 0.75) 60%, rgba(62, 74, 44, 0) 78%);
}
.celebration .event-day, .celebration .event-name, .celebration .event-place, .celebration .schedule { text-shadow: 0 1px 10px rgba(30, 37, 20, 0.6); }
/* the welcome party shows only for parties invited to it (set per party in /admin) */
html:not(.welcome) .event-welcome { display: none; }

/* ===== Premium, real: warm white plaster, soft daylight from the upper left, photographic plaster carvings in each panel; no floor ===== */
.stays {
	--floor: 0px;
	background:
		radial-gradient(ellipse 60% 70% at 8% 0%, rgba(255, 249, 232, 0.9), rgba(255, 249, 232, 0) 65%),
		radial-gradient(ellipse 90% 80% at 100% 100%, rgba(196, 184, 156, 0.28), rgba(196, 184, 156, 0) 70%),
		linear-gradient(105deg, #f7f4ec 0%, #f2eee4 50%, #ebe5d7 100%);
	padding-bottom: clamp(240px, 19vw, 280px);
}
.stays::after { background: repeating-linear-gradient(115deg, rgba(255, 248, 226, 0) 0 180px, rgba(255, 248, 226, 0.14) 240px 380px, rgba(255, 248, 226, 0) 460px 700px); mix-blend-mode: normal; inset: 0; }
.stays-floor { display: none; }
.stays .stays-title { color: #4a5636; }
.stay-face .b-shadow { stroke: rgba(120, 104, 74, 0.2); stroke-width: 10; }
.stay-face .b-edge { stroke: rgba(150, 134, 104, 0.4); }
.stay-face .b-inner { stroke: rgba(150, 134, 104, 0.34); }
.stay-face .b-inner2 { stroke: rgba(150, 134, 104, 0.14); }
.stay-face .b-dark { stroke: rgba(150, 134, 104, 0.18); }
.stay-body { padding-bottom: calc(var(--foot, 60px) + 6px); }
/* the phone error: a quiet note between the heading and the field, in Bodoni italic; the field's ring answers it */
.intro .phone-error {
	order: 0; min-height: 0; height: 0; margin: 0; overflow: hidden;
	font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.4;
	letter-spacing: 0.01em; text-transform: none; color: rgba(247, 244, 234, 0.92);
	opacity: 0; transform: translateY(-4px); transition: opacity 0.35s ease, transform 0.35s ease, height 0.35s ease, margin 0.35s ease;
}
.intro .phone-form.invalid .phone-error { height: 1.5em; margin: -14px 0 16px; opacity: 1; transform: none; }
.intro .phone-form.invalid .phone-row { outline-color: #e9c9a8; }
.intro .phone-form.invalid .phone-error::before { content: "· "; }
.intro .phone-form.invalid .phone-error::after { content: " ·"; }
/* the events sit straight on the wallpaper: no wash behind them, no glow on the type */
.celebration .event { background: none; }
.celebration .event-day, .celebration .event-name, .celebration .event-place, .celebration .schedule { text-shadow: none; }

.intro .phone-form .btn-engraved { margin-top: 64px; }   /* clear of the field, the crest crown included */

/* ===== Travel & Stay, rendered: plaster grain, daylight from the upper left, rendered bolection-moulded panels (border-image), a chair rail and dado panels; photographic carvings ===== */
.stays {
	background:
		radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 250, 236, 0.75), rgba(255, 250, 236, 0) 62%),
		radial-gradient(ellipse 80% 90% at 100% 100%, rgba(120, 106, 80, 0.16), rgba(120, 106, 80, 0) 70%),
		url("/assets/images/wall-plaster.jpg") 0 0 / 256px 256px repeat;
	padding-bottom: clamp(230px, 18vw, 270px);
}
.stays::after { display: none; }
.boiserie { display: none; }
.stays .stays-group::before, .stays .stays-group::after { background: rgba(120, 106, 80, 0.35); }
/* each hotel is a moulded panel on the wall */
.stay { border: 48px solid transparent; border-image: url("/assets/images/wall-panel.png") 96 / 48px / 14px stretch; background: none; }
.stay-face { inset: -48px; display: block; pointer-events: none; }
.stay-face svg { display: none; }
.stay-face .carve-top, .stay-face .carve-foot { position: absolute; left: 50%; translate: -50% 0; height: auto; mix-blend-mode: multiply; }
.stay-face .carve-top { top: 40px; }
.stay-face .carve-foot { bottom: 36px; }
.stay-body { margin: -48px; padding: var(--crest, 150px) clamp(30px, 3vw, 46px) var(--foot, 110px); }
.stays-hero, .stays-grid { filter: none; }
/* chair rail and dado */
.stays::before {
	display: block; content: ""; position: absolute; left: 0; right: 0; bottom: clamp(150px, 13vw, 190px); height: 47px; z-index: 0; border: 0; box-shadow: none;
	background: url("/assets/images/wall-rail.png") 0 0 / 32px 47px repeat-x;
}
.wall-dado {
	position: absolute; left: clamp(16px, 3vw, 44px); right: clamp(16px, 3vw, 44px); bottom: 0; height: clamp(150px, 13vw, 190px); padding: 30px 0 0; z-index: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-rows: calc(100% - 40px); gap: 0 clamp(16px, 2vw, 28px); overflow: hidden; pointer-events: none;
}
.wall-dado span { border: 30px solid transparent; border-image: url("/assets/images/wall-panel.png") 96 / 30px / 9px stretch; }

/* Schloss Leopoldskron: tighter, the drawing a little smaller */
.schloss { --foot: clamp(104px, 8.5vw, 128px); min-height: calc(76vw / 1.98 + var(--foot) + clamp(70px, 6vw, 100px)); }
.venue-drawing .bg { left: 12%; width: 76%; }

.wall-dado { grid-template-rows: 1fr; grid-auto-rows: 0; row-gap: 0; padding: 34px 0 26px; box-sizing: border-box; }
.wall-dado span:nth-child(n) { min-height: 0; }
/* one row of dado panels: extra panels wrap onto a second line that is clipped away */
.wall-dado { display: flex; flex-wrap: wrap; align-content: flex-start; column-gap: clamp(16px, 2vw, 28px); row-gap: 40px; }
.wall-dado span { flex: 1 1 240px; height: 100%; box-sizing: border-box; }
/* the error sits under the field, between it and Continue */
.intro .phone-form.invalid .phone-error { margin: 16px 0 -22px; }

/* ===== Travel & Stay after the 2026-10-25 reference: cool white plaster, slim double mouldings with carved scroll appliqués in the inner corners, plain lower panels ===== */
.stays {
	background:
		radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 62%),
		radial-gradient(ellipse 80% 90% at 100% 100%, rgba(90, 90, 84, 0.12), rgba(90, 90, 84, 0) 70%),
		url("/assets/images/wall-plaster2.jpg") 0 0 / 256px 256px repeat;
}
.stays::before { display: none; }
.stay { border: 0; border-image: none; }
.stay::after { content: ""; display: block; position: absolute; inset: -7px; pointer-events: none; z-index: 0;
	border: 108px solid transparent; border-image: url("/assets/images/wall-panel2.png") 360 / 108px stretch; }
.stay-face { display: none; }
.stay-body { margin: 0; padding: clamp(58px, 5vw, 72px) clamp(46px, 4.4vw, 64px) clamp(52px, 4.6vw, 66px); position: relative; z-index: 1; }
.wall-dado span { border: 30px solid transparent; border-image: url("/assets/images/wall-panel2-plain.png") 94 / 30px / 7px stretch; }
.wall-dado { bottom: clamp(20px, 2vw, 34px); }
/* no lower panels: the wall ends under the last row of hotels */
.stays { padding-bottom: clamp(110px, 9vw, 150px); }
/* lighter wall: less shade toward the lower right */
.stays {
	background:
		radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 62%),
		radial-gradient(ellipse 80% 90% at 100% 100%, rgba(90, 90, 84, 0.04), rgba(90, 90, 84, 0) 70%),
		url("/assets/images/wall-plaster2.jpg?v=2") 0 0 / 256px 256px repeat;
}
.stay::after { border-image-source: url("/assets/images/wall-panel2.png?v=2"); }

/* the film starts with a clean edge: no ivory fade over its top */
.rsvp::before { display: none; }

/* Schloss: the empty sky at the top of the drawing cropped away, so the palace sits close under the heading */
.venue-drawing .bg { aspect-ratio: 1776 / 770; object-fit: cover; object-position: 50% 100%; }
.schloss { min-height: calc(76vw * 770 / 1776 + var(--foot) + clamp(70px, 6vw, 100px)); }
.venue-blend { height: 18%; }

/* Travel & Stay: tighter vertical rhythm */
.stays-in { padding: clamp(64px, 6vw, 100px) clamp(16px, 4vw, 56px) clamp(16px, 1.6vw, 24px); }
.stays .sec-title.stays-title { margin-bottom: clamp(26px, 2.6vw, 40px); }
.stays-group { margin: clamp(30px, 3vw, 44px) 0 clamp(16px, 1.6vw, 24px); }
.stays { padding-bottom: clamp(64px, 5.6vw, 96px); }

/* ===== The envelope as real paper: rendered cotton stock, folded flaps with soft seam shadows, a Lily Pad damask liner (assets/images/env-*.png) ===== */
.env2-back { background: url("/assets/img/env-back-iv-1520.webp") center / 100% 100% no-repeat; box-shadow: 0 40px 70px rgba(22, 30, 26, 0.45), 0 6px 14px rgba(22, 30, 26, 0.25); }
.env2-front { object-fit: fill; filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.35)); }
.env2-flap img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.env2-flap .fl-in { opacity: 0; }
.intro.s2 .env2-flap .fl-out { animation: flapFaceOut 1.1s steps(1, end) 0.55s forwards; }
.intro.s2 .env2-flap .fl-in { animation: flapFaceIn 1.1s steps(1, end) 0.55s forwards; }
@keyframes flapFaceOut { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }
@keyframes flapFaceIn { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 1; } }

/* a subtle water movement on the Monet (header and the letter in the envelope, so the hand-over still matches) */
html.water-warp .invite-hero .monet-full img { filter: url(#monet-water); }
/* the painting is always drawn 2% larger (on the letter too), so switching the water on never changes its size */
.invite-hero .monet-full img, .card-monet img { transform: scale(1.02); }   /* only once the letter has become the header; never on the moving card */
@media (prefers-reduced-motion: reduce) { html.water-warp .invite-hero .monet-full img { filter: none; } }
/* the crest under our names at the foot of the page */
.signoff-crest { display: block; width: clamp(64px, 5.6vw, 84px); margin: clamp(18px, 2vw, 28px) auto 0; color: var(--swan, #e8e5dc); opacity: 0.92; }
.signoff-crest svg { display: block; width: 100%; height: auto; }
[data-reveal] .signoff-crest { opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease 0.3s, transform 1.1s var(--ease) 0.3s; }
[data-reveal].in .signoff-crest { opacity: 0.92; transform: none; }
.rsvp { padding-bottom: clamp(300px, 26vw, 360px); }

/* ===== Envelope that stays put: it sits a little lower from the start, the letter slides up out of the pocket, and the envelope fades in place as the letter grows ===== */
.intro.s1 .intro-env { transform: translate(-50%, -50%) translateY(22%); }
.intro.s2 .env2-back, .intro.s2 .env2-front, .intro.s2 .env2-seams, .intro.s2 .env2-flap-wrap { transform: none; }
.intro.s3 .env2-back, .intro.s3 .env2-front, .intro.s3 .env2-seams, .intro.s3 .env2-flap-wrap { transform: none; opacity: 0; transition: opacity 0.7s ease 0.15s; }
.intro.s3 .env2-seal { opacity: 0; }
.signoff-crest { cursor: pointer; transition: opacity 0.4s ease, transform 0.4s var(--ease); }
[data-reveal].in .signoff-crest:hover, .signoff-crest:focus-visible { opacity: 1; transform: translateY(-3px); }
.signoff-crest:focus-visible { outline: 1px solid var(--swan, #e8e5dc); outline-offset: 6px; }

/* ===== Travel & Stay after the 2026-10-25 interior: bright white stucco, a single slim moulding per panel, rocaille corners (shell boss, C-scrolls, acanthus), a cartouche crowning the main panel ===== */
.stays {
	background:
		radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 62%),
		url("/assets/images/wall-plaster3.jpg") 0 0 / 256px 256px repeat;
}
.stay::after { border-width: 113px; border-image: url("/assets/images/wall-panel3.png") 420 / 113px / 7px stretch; }
.stays-hero .stay { background: url("/assets/images/wall-cartouche.png") center 30px / min(300px, 46%) auto no-repeat; }
.stays-hero .stay-body { padding-top: clamp(130px, 11vw, 150px); }
.stay-body { padding: clamp(74px, 6vw, 92px) clamp(46px, 4.4vw, 64px) clamp(70px, 5.8vw, 88px); }
.stays-hero .stay-body { padding-top: clamp(130px, 11vw, 150px); }


/* photographic stucco: carved peony and scroll corners from the relief, a stucco medallion over the Schloss panel */
.stay::after { border-image: url("/assets/images/wall-panel4.png") 420 / 113px / 7px stretch; }
.stays-hero .stay { background: url("/assets/images/wall-cartouche2.png") center 18px / min(250px, 40%) auto no-repeat; }
.stays-hero .stay-body { padding-top: clamp(150px, 13vw, 180px); }
.stays-hero .stay { background-size: min(220px, 36%) auto; background-position: center 14px; }
.stays-hero .stay-body { padding-top: clamp(180px, 15vw, 200px); }

/* a real painted wall: roller stipple, faint roller streaks and soft limewash clouds (seamless 512px tile), lit from the upper left */
.stays {
	background:
		radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 62%),
		radial-gradient(ellipse 90% 90% at 100% 100%, rgba(120, 116, 104, 0.06), rgba(120, 116, 104, 0) 70%),
		url("/assets/images/wall-paint.jpg?v=1") 0 0 / 512px 512px repeat;
}

/* the stucco blended into the painted wall: panels and medallion are light-and-shade layers (hard-light, neutral grey = no change), so the paint runs through them */
.stays-in { z-index: auto; }
.stay::after { border-image: url("/assets/images/wall-panel4-hl.png") 420 / 113px / 7px stretch; mix-blend-mode: hard-light; }
.stays-hero .stay { background: none; }
.stays-hero .stay::before {
	content: ""; display: block; position: absolute; left: 50%; top: 14px; width: min(220px, 36%); aspect-ratio: 576 / 464; translate: -50% 0; z-index: 0; pointer-events: none;
	background: url("/assets/images/wall-cartouche2-hl.png") center / contain no-repeat; mix-blend-mode: hard-light;
}
.stays { background:
		radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 62%),
		radial-gradient(ellipse 90% 90% at 100% 100%, rgba(120, 116, 104, 0.05), rgba(120, 116, 104, 0) 70%),
		url("/assets/images/wall-paint.jpg?v=2") 0 0 / 512px 512px repeat; }


/* the Open button on the greeting: ivory outline on the Lily Pad; on hover it fills ivory with a Lily Pad label */
.intro-greet .intro-open { margin-top: clamp(48px, 5vw, 64px); color: var(--ivory); cursor: pointer; appearance: none; -webkit-appearance: none; }
.intro-greet .intro-open .btn-art-line, .intro-greet .intro-open .btn-fill { color: var(--ivory); }
.intro-greet .intro-open:hover, .intro-greet .intro-open:focus-visible { color: var(--olive); }
/* the Schloss panel without the stucco medallion, and a little shorter */
.stays-hero .stay::before { display: none; }
.stays-hero .stay-body { padding-top: clamp(64px, 5.4vw, 80px); padding-bottom: clamp(60px, 5vw, 74px); }


/* the greeting colours every child ivory; the Open label turns Lily Pad on the ivory hover fill */
.intro .intro-greet .intro-open:hover .btn-label, .intro .intro-greet .intro-open:focus-visible .btn-label { color: var(--olive); }
.intro .intro-greet .intro-open .btn-label { transition: color 0.35s ease; }

/* ===== Mobile ===== */
.nav-burger { display: none; }
@media (max-width: 899px) {
	/* the nav: monogram left, a burger on the right; the links open on a full-screen ivory sheet */
	.nav-bar { justify-content: space-between; }
	.nav-burger {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -10px; padding: 0 10px;
		background: none; border: 0; cursor: pointer; pointer-events: auto; position: relative; z-index: 2; color: var(--ink);
	}
	.nav-burger span { display: block; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.25s ease; }
	html.menu-open .nav-burger { color: var(--olive); }
	html.menu-open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
	html.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
	html.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
	.nav-links {
		position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
		padding: 0; margin: 0; list-style: none; background: var(--ivory);
		opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.35s ease, visibility 0s linear 0.35s;
	}
	html.menu-open .nav-links { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.35s ease; }
	.nav-links a { font-family: var(--serif); font-size: 26px; letter-spacing: 0.08em; color: var(--olive); }
	html.menu-open .nav-logo { color: var(--olive); position: relative; z-index: 2; }
	html.menu-open { overflow: hidden; }
	.nav-scroll { display: none; }

	/* Schloss Leopoldskron: taller, the drawing full width between the title and the button */
	.schloss { min-height: 560px; --foot: 120px; }
	.venue-drawing .bg { left: 0; width: 100%; top: 150px; bottom: var(--foot); height: auto; aspect-ratio: auto; object-fit: contain; object-position: 50% 55%; }

	/* the wedding's four moments: one line each */
	.celebration .schedule { font-size: 12.5px; letter-spacing: 0.01em; line-height: 2; }
	.celebration .schedule li { text-wrap: balance; }

	/* Travel & Stay: room between the hotel panels */
	.stays-grid { gap: 34px; }
	.stays-hero { margin-bottom: 8px; }
}

.env2-back { border-radius: 0 0 1.8em 1.8em; }   /* square top corners: the flap opens from the full top edge */

/* mobile nav: one even margin left, right and top; a larger monogram; the burger lines sit exactly on the margin (its tap area extends invisibly) */
@media (max-width: 899px) {
	.nav-bar { padding: 22px 22px 18px; }
	.nav-logo svg { height: 44px; }
	.nav-burger { width: 26px; height: 22px; margin: 0; padding: 0; gap: 0; justify-content: space-between; }
	.nav-burger::before { content: ""; position: absolute; inset: -12px; }
	html.menu-open .nav-burger span:nth-child(1) { transform: translateY(10.25px) rotate(45deg); }
	html.menu-open .nav-burger span:nth-child(3) { transform: translateY(-10.25px) rotate(-45deg); }
}

/* ===== Travel & Stay, after the Figma website example: ivory page in a filigree frame, the Schloss in a Rococo oval, photo cards ===== */
.ts { --ts-bg: #f7f3e8; --ts-line: rgba(122, 116, 96, 0.55); position: relative; background: var(--ts-bg); color: var(--olive); --ink: var(--olive); --muted: var(--moss); padding: clamp(18px, 2vw, 28px); }
.ts-frame { position: absolute; inset: clamp(14px, 1.6vw, 22px); pointer-events: none; }
.ts-frame::before, .ts-frame::after { content: ""; position: absolute; border: 1px solid var(--ts-line); }
.ts-frame::before { inset: 26px; }
.ts-frame::after { inset: 31px; border-color: rgba(122, 116, 96, 0.3); }
.ts-corner { position: absolute; width: 122px; height: auto; z-index: 1; }
.ts-corner.tl { left: 0; top: 0; }
.ts-corner.tr { right: 0; top: 0; transform: scaleX(-1); }
.ts-corner.bl { left: 0; bottom: 0; transform: scaleY(-1); }
.ts-corner.br { right: 0; bottom: 0; transform: scale(-1, -1); }
.ts-crest { position: absolute; left: 50%; top: 6px; width: 100px; translate: -50% 0; z-index: 1; }
.ts-corner, .ts-crest { background: var(--ts-bg); }
.ts-in { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; padding: clamp(70px, 6vw, 96px) clamp(26px, 4vw, 60px) clamp(80px, 7vw, 110px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.ts-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.05; letter-spacing: 0; text-transform: none; color: #2f3524; }
.ts-rule, .ts-divider { position: relative; display: flex; align-items: center; justify-content: center; width: min(320px, 70%); margin: clamp(14px, 1.6vw, 22px) 0 clamp(16px, 2vw, 28px); }
.ts-rule::before, .ts-rule::after, .ts-divider::before, .ts-divider::after { content: ""; flex: 1; height: 1px; background: var(--ts-line); }
.ts-fleur { width: 22px; height: auto; margin: 0 14px; }
.ts-oval { position: relative; display: block; width: min(670px, 100%); aspect-ratio: 670 / 385; margin-bottom: clamp(18px, 2vw, 28px); }
.ts-oval-photo { position: absolute; left: 9.4%; top: 11.7%; width: 81.2%; height: 78.4%; object-fit: cover; object-position: 50% 50%; clip-path: ellipse(50% 50% at 50% 50%); }
.ts-oval-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.ts-eyebrow { margin: 0; letter-spacing: 0.32em; padding-left: 0.32em; color: #4a4f3d; }
.ts-schloss { margin: 10px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; text-transform: none; letter-spacing: 0; color: #2f3524; }
.ts-note { margin: 12px 0 0; font-family: var(--mono); font-size: clamp(12px, 1.05vw, 15px); letter-spacing: 0.06em; color: #4a4f3d; }
.ts-divider { width: 100%; margin: clamp(30px, 3vw, 44px) 0 clamp(6px, 0.8vw, 10px); }
.ts-divider-small { width: min(240px, 50%); margin-top: clamp(36px, 3.4vw, 50px); }
.ts-group { display: flex; align-items: center; gap: 18px; width: 100%; margin: 0 0 clamp(18px, 2vw, 28px); font-weight: 400; letter-spacing: 0.32em; color: #4a4f3d; }
.ts-group::before, .ts-group::after { content: ""; flex: 1; height: 1px; background: var(--ts-line); }
.ts-grid { display: grid; gap: clamp(22px, 2.6vw, 36px); width: 100%; }
.ts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ts-card { display: flex; flex-direction: column; align-items: center; }
.ts-photo { display: block; width: 100%; aspect-ratio: 280 / 169; object-fit: cover; }
.ts-2 .ts-photo { aspect-ratio: 425 / 163; }
.ts-name { margin: clamp(12px, 1.2vw, 18px) 0 0; align-self: stretch; text-align: left; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.15; text-transform: none; letter-spacing: 0; color: #2f3524; }
.ts-2 .ts-name { text-align: center; }
.ts-mins { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #6c705e; }
.ts-mins b { font-weight: 400; color: #2f3524; }
.ts-car { width: 17px; height: 17px; color: #2f3524; }
.ts-btn { margin-top: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: min(100%, 240px); padding: 9px 18px; border: 1px solid rgba(90, 86, 70, 0.55); border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #2f3524; text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.ts-btn:hover, .ts-btn:focus-visible { background: var(--olive); border-color: var(--olive); color: var(--ivory); outline: 0; }
@media (max-width: 899px) {
	.ts-3, .ts-2 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.ts-name { text-align: center; }
	.ts-corner { width: 76px; }
	.ts-crest { width: 70px; }
	.ts-frame::before { inset: 16px; } .ts-frame::after { inset: 20px; }
	.ts-in { padding: 64px 22px 80px; }
	.ts-group { gap: 12px; letter-spacing: 0.24em; font-size: 11px; }
}
/* frame lines placed exactly where the corner and crest ornaments end (measured from the Figma concept); --k scales with the ornaments */
.ts-frame { --k: 1; }
.ts-frame::before { inset: calc(37px * var(--k)) calc(25px * var(--k)); }
.ts-frame::after { inset: calc(42px * var(--k)) calc(29px * var(--k)); }
.ts-corner { width: calc(122px * var(--k)); }
.ts-crest { top: calc(10px * var(--k)); width: calc(100px * var(--k)); }
.ts-corner, .ts-crest { background: none; }
@media (max-width: 899px) { .ts-frame { --k: 0.62; } .ts-frame::before { inset: calc(37px * var(--k)) calc(25px * var(--k)); } .ts-frame::after { inset: calc(42px * var(--k)) calc(29px * var(--k)); } .ts-corner { width: calc(122px * var(--k)); } .ts-crest { width: calc(100px * var(--k)); } }
/* section headings: Travel & Stay and Celebration in the shared Bodoni capitals */
.ts .ts-title.sec-title { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: 0.06em; text-transform: uppercase; color: #2f3524; }
.celebration .cel-title { margin-bottom: clamp(30px, 3.4vw, 50px); color: var(--ivory); }
.celebration .event-name { font-size: clamp(24px, 2.5vw, 38px); }

.ts-photo { border-radius: 10px; }

/* the feature labels (A/C, offers, our lake) under each name */
.ts-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 0; }
.ts .chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border: 1px solid rgba(90, 86, 70, 0.4); border-radius: 999px; font-family: var(--mono); font-size: 11px; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; color: #2f3524; background: transparent; white-space: nowrap; }
.ts .chip svg { width: 13px; height: 13px; flex: none; }
.ts .chip-fill { background: var(--olive); border-color: var(--olive); color: var(--ivory); }
.ts-3 .ts-chips { align-self: stretch; justify-content: flex-start; }
@media (max-width: 899px) { .ts-3 .ts-chips { justify-content: center; } }
.ts-note { max-width: 52ch; line-height: 1.7; }
/* minutes and button line up across a row, labels or not */
.ts-card { height: 100%; } .ts-mins { margin-top: auto; padding-top: 10px; }
.ts-btn-schloss { margin-top: 18px; }

/* Rococo separators: the carved crest between double rules that taper away, and the group labels between fine double rules ending in a fleur */
.ts-divider::before, .ts-divider::after, .ts-group::before, .ts-group::after {
	height: 5px; background: none; border-top: 1px solid var(--ts-line); border-bottom: 1px solid rgba(122, 116, 96, 0.32);
}
.ts-divider::before, .ts-group::before { -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%); }
.ts-divider::after, .ts-group::after { -webkit-mask-image: linear-gradient(to left, transparent, #000 40%); mask-image: linear-gradient(to left, transparent, #000 40%); }
.ts-flourish { width: clamp(90px, 9vw, 120px); height: auto; margin: 0 clamp(12px, 1.4vw, 20px); }
.ts-divider { margin-bottom: clamp(2px, 0.4vw, 6px); }
.ts-group span { position: relative; padding: 0 22px; }
.ts-group span::before, .ts-group span::after { content: ""; position: absolute; top: 50%; width: 11px; height: 14px; translate: 0 -50%; background: url("/assets/img/ts-fleur-88.webp") center / contain no-repeat; opacity: 0.8; }
.ts-group span::before { left: 0; } .ts-group span::after { right: 0; }

.ts-3 .ts-chips { align-self: auto; justify-content: center; }
/* one Rococo line per group: the label between fleurs, double rules tapering out */
.ts-group { margin: clamp(46px, 4.4vw, 66px) 0 clamp(22px, 2.4vw, 32px); }
.ts-photo-link { display: block; width: 100%; border-radius: 10px; overflow: hidden; }
.ts-photo-link .ts-photo { transition: transform 0.6s var(--ease); }
.ts-photo-link:hover .ts-photo, .ts-photo-link:focus-visible .ts-photo { transform: scale(1.03); }
/* the Schloss oval zooms gently on hover, like the hotel pictures */
.ts-oval-frame { transition: transform 0.6s var(--ease); transform-origin: 50% 50%; }
.ts-oval:hover .ts-oval-frame, .ts-oval:focus-visible .ts-oval-frame { transform: scale(1.03); }

/* desktop nav: as wide as the content, monogram left, links right */
@media (min-width: 900px) {
	.nav-bar { justify-content: space-between; max-width: 1120px; margin: 0 auto; box-sizing: content-box; }
	.nav-bar::before { left: calc(50% - 50vw); right: calc(50% - 50vw); }
}
/* the Schloss oval: only the picture inside the frame zooms; the frame and its crests stay put */
.ts-oval-window { position: absolute; left: 10.15%; top: 9.87%; width: 79.7%; height: 82.08%; clip-path: ellipse(50% 50% at 50% 50%); overflow: hidden; }
.ts-oval-window .ts-oval-photo { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; clip-path: none; transition: transform 0.6s var(--ease); }
.ts-oval .ts-oval-frame { position: absolute; inset: 0; width: 100%; height: 100%; transform: none !important; }
.ts-oval:hover .ts-oval-photo, .ts-oval:focus-visible .ts-oval-photo { transform: scale(1.05); }

/* scroll reveal, element by element: fade in and up (site.js adds .rv, then .rv-in on entering the screen) */
.rv { opacity: 0 !important; transform: translateY(26px) !important; transition: opacity 0.9s ease var(--rv-d, 0ms), transform 1.1s var(--ease) var(--rv-d, 0ms) !important; }
.rv.rv-in { opacity: 1 !important; transform: none !important; }
.signoff-crest.rv.rv-in { opacity: 0.92 !important; }
.venue-drawing .bg.rv { transform: translateY(18px) !important; }
.venue-drawing .bg.rv.rv-in { transform: none !important; }

/* mobile Schloss: the drawing sits just above the Explore button */
@media (max-width: 899px) {
	.schloss { --foot: 100px; min-height: calc(150px + 100vw * 770 / 1776 + var(--foot) + 12px); }
	.venue-drawing .bg { object-position: 50% 100%; }
}
@media (max-width: 899px) {
	.schloss { --foot: 108px; min-height: calc(150px + 100vw * 770 / 1776 + var(--foot) + 44px); }
	.celebration .schedule { font-size: 12.5px; letter-spacing: 0.01em; }
}

/* ===== Travel & Stay, more Rococo: arched, double-moulded picture frames with a carved crest; engraved buttons; italic Bodoni labels between fleurons ===== */
.ts-photo-link {
	position: relative; overflow: visible; padding: 7px; border-radius: 50% 50% 4px 4px / 26% 26% 4px 4px;
	border: 1px solid var(--ts-line); box-shadow: inset 0 0 0 4px var(--ts-bg), inset 0 0 0 5px rgba(122, 116, 96, 0.35);
	margin-top: 22px;
}
.ts-photo-link::before {
	content: ""; position: absolute; left: 50%; top: -24px; width: 84px; height: 59px; translate: -50% 0; z-index: 2; pointer-events: none;
	background: var(--ts-bg) url("/assets/img/ts-crest-200.webp") center / contain no-repeat; border-radius: 40%;
}
.ts-photo-link .ts-photo { border-radius: 50% 50% 0 0 / 24% 24% 0 0; }
.ts-2 .ts-photo-link { border-radius: 50% 50% 4px 4px / 34% 34% 4px 4px; }
.ts-2 .ts-photo-link .ts-photo { border-radius: 50% 50% 0 0 / 32% 32% 0 0; }
.ts-name { text-align: center; margin-top: 18px; }
/* labels: no pills, an italic line with fleurons between */
.ts-chips { gap: 0; margin-top: 8px; align-items: center; }
.ts .chip, .ts .chip-fill { padding: 0; border: 0; border-radius: 0; background: none; color: #4a4f3d; font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0.01em; text-transform: none; }
.ts .chip-fill { color: var(--olive); }
.ts .chip svg { display: none; }
.ts .chip + .chip::before { content: ""; display: inline-block; width: 10px; height: 12px; margin: 0 12px; background: url("/assets/img/ts-fleur-88.webp") center / contain no-repeat; opacity: 0.7; vertical-align: -1px; }
.ts-mins { gap: 0; padding-top: 8px; font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0.01em; text-transform: none; color: #6c705e; }
/* the engraved crest-crown button, as elsewhere on the site */
.ts .ts-book { margin: 40px 0 6px; text-decoration: none; }
.ts .ts-book .btn-label { font-size: 18px; }

.ts-photo-link::before { background: url("/assets/img/ts-crest-200.webp") center bottom / contain no-repeat; border-radius: 0; top: -38px; height: 46px; width: 76px; }
.ts-photo-link { margin-top: 34px; }
.ts-note { font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.3vw, 18px); letter-spacing: 0.01em; line-height: 1.6; color: #4a4f3d; }
.ts-note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
/* a very subtle cream-on-cream damask on the Travel & Stay wall */
.ts { background: var(--ts-bg) url("/assets/img/ts-wall-1120.webp?v=2") center top / 560px auto repeat; }

/* nav: the ivory band and the ink fade together, quickly, so nothing flickers between painting and band */
.nav-bar::before { transition: opacity 0.3s ease; }
.nav-logo, .nav-links a, .nav-burger { transition: color 0.3s ease; }
@media (max-width: 899px) {
	.nav-bar::before { box-shadow: 0 1px 0 rgba(62, 74, 44, 0.08); }
	/* the letter on the Monet: larger on phones */
	.invite-hero .std-eyebrow, .invite-clone .std-eyebrow { font-size: 12px; }
	.invite-hero .std-names, .invite-clone .std-names { font-size: 36px; white-space: normal; line-height: 1.08; }
	.invite-hero .std-place, .invite-clone .std-place { font-size: 34px; }
	.invite-hero .std-date, .invite-clone .std-date { font-size: 18px; }
	.invite-hero .lead, .invite-clone .lead { font-size: 12px; }
	/* Schloss: the drawing closer under the heading */
	.venue-drawing .bg { top: 126px; }
	.schloss { min-height: calc(126px + 100vw * 770 / 1776 + var(--foot) + 44px); }
}
@media (min-width: 900px) {
	.schloss { min-height: calc(76vw * 770 / 1776 + var(--foot) + clamp(46px, 4vw, 70px)); }
}


/* edge to edge on phones: the green runs under the browser toolbars and into the safe areas */
html, body { background: var(--lily-pad); }
.intro { top: calc(0px - env(safe-area-inset-top, 0px)); bottom: calc(0px - env(safe-area-inset-bottom, 0px)); min-height: 100lvh; }
.intro-phone, .intro-greet { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); padding-top: calc(24px + env(safe-area-inset-top, 0px)); }
.nav-bar { padding-top: calc(var(--nav-pt, 0px) + env(safe-area-inset-top, 0px)); }
@media (max-width: 899px) { .nav-bar { --nav-pt: 22px; padding-top: calc(22px + env(safe-area-inset-top, 0px)); } }
@media (min-width: 900px) { .nav-bar { padding-top: calc(clamp(14px, 1.8vw, 26px) + env(safe-area-inset-top, 0px)); } }
.rsvp { padding-bottom: calc(clamp(300px, 26vw, 360px) + env(safe-area-inset-bottom, 0px)); }

/* water shimmer on the Monet: two faint light layers drifting at different speeds (compositor-only transforms, cheap on phones) */
.water-shimmer { position: absolute; inset: -40%; z-index: 0; pointer-events: none; opacity: 0; mix-blend-mode: soft-light;
	background: url("/assets/img/ripple-2-512.webp") 0 0 / 512px 256px repeat; will-change: transform; transition: opacity 2.5s ease; }
.water-shimmer.b { background-size: 768px 384px; }
html.water .water-shimmer { opacity: 0.55; animation: shimmerA 28s linear infinite; }
html.water .water-shimmer.b { opacity: 0.4; animation: shimmerB 41s linear infinite; }
@keyframes shimmerA { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-512px, 128px, 0); } }
@keyframes shimmerB { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(768px, -192px, 0); } }
.invite-hero .monet-full::after { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .water-shimmer { display: none; } }

/* water shimmer, lighter: each layer only one tile larger than the painting (exactly what its drift needs) */
.water-shimmer { inset: auto; left: 0; top: -256px; width: calc(100% + 512px); height: calc(100% + 256px); }
.water-shimmer.b { left: -768px; top: 0; width: calc(100% + 768px); height: calc(100% + 384px); }
@keyframes shimmerA { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-512px, 256px, 0); } }
@keyframes shimmerB { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(768px, -384px, 0); } }
html.water-paused .water-shimmer { animation-play-state: paused; }
/* phones: one layer, over the water in the lower part of the painting, plain transparency instead of a blend mode */
@media (max-width: 899px), (hover: none) {
	.water-shimmer.b { display: none; }
	.water-shimmer { top: calc(42% - 256px); height: calc(58% + 256px); mix-blend-mode: normal;
		-webkit-mask-image: linear-gradient(to bottom, transparent 256px, #000 calc(256px + 18%)); mask-image: linear-gradient(to bottom, transparent 256px, #000 calc(256px + 18%)); }
	html.water .water-shimmer { opacity: 0.3; }
}

/* the shimmer is drawn above the veil and the painting is a contained layer, so nothing else on the page has to be promoted around it */
.invite-hero .monet-full { contain: paint; }
.invite-hero .water-shimmer { z-index: 2; }
.invite-hero { isolation: isolate; will-change: transform; }   /* its own layer: the shimmer's overlaps stay inside the header */
.water-shimmer { will-change: auto; } html.water .water-shimmer { will-change: transform; }
@media (max-width: 899px), (hover: none) { html.water .water-shimmer { opacity: 0.17; } }
/* the water, quieter and slower: it should only be noticed by someone who looks */
html.water .water-shimmer { opacity: 0.26; animation-duration: 46s; }
html.water .water-shimmer.b { opacity: 0.16; animation-duration: 67s; }
@media (max-width: 899px), (hover: none) { html.water .water-shimmer { opacity: 0.1; } }

/* Safari tints its status bar and toolbar from fixed elements at the screen edges, even invisible ones.
   So nothing ivory may sit at an edge unless it is actually showing. */
html.ready #loader { visibility: hidden; transition: transform 1.1s var(--ease), visibility 0s linear 1.1s; }
.nav-bar::before { background-color: transparent !important; background-image: none !important; }
html.scrolled .nav-bar::before { background-color: var(--ivory) !important; background-image: linear-gradient(rgba(62, 74, 44, 0.55), rgba(62, 74, 44, 0.55)) !important; background-size: 100% 1px !important; background-position: left bottom 3px !important; background-repeat: no-repeat !important; }
@media (max-width: 899px) {
	.nav-links { background: transparent; }
	html.menu-open .nav-links { background: var(--ivory); }
	html:not(.menu-open) .nav-links { display: none; }
	html.menu-open .nav-links { display: flex; }
}
html.intro-open, html.intro-open body { background: var(--lily-pad); }

html.ready #loader { background-color: transparent; transition: transform 1.1s var(--ease), visibility 0s linear 1.1s, background-color 0s linear 1.1s; }

/* Safari takes its toolbar tint from a fixed element flush with the bottom edge: the intro is anchored there again,
   and a thin Lily Pad strip sits on the edge while the intro is showing */
/* top: it worked when the intro reached past the top edge, so it does again; bottom: the same idea, with a generous overhang
   (the floating toolbar does not show up in env(safe-area-inset-bottom), so a fixed amount reaches under it) */
.intro { top: calc(-1px - env(safe-area-inset-top, 0px)); bottom: calc(-120px - env(safe-area-inset-bottom, 0px)); min-height: 0; }
.intro-phone, .intro-greet { padding-bottom: calc(144px + env(safe-area-inset-bottom, 0px)); }
.intro-cue { bottom: calc(clamp(32px, 5vh, 56px) + 120px + env(safe-area-inset-bottom, 0px)); }
.intro-env { top: calc(50% - 60px); }
.edge-tint { position: fixed; left: 0; right: 0; bottom: -160px; height: 220px; z-index: 44; background: var(--lily-pad); pointer-events: none; display: none; }
html.intro-open .edge-tint { display: block; }

/* a little less room between Send reply and the sign-off */
.rsvp { padding-bottom: calc(clamp(250px, 21vw, 300px) + env(safe-area-inset-bottom, 0px)); }

/* the water back, gently: visible to anyone looking at the painting, still slow */
html.water .water-shimmer { opacity: 0.42; animation-duration: 38s; }
html.water .water-shimmer.b { opacity: 0.28; animation-duration: 55s; }
@media (max-width: 899px), (hover: none) { html.water .water-shimmer { opacity: 0.24; animation-duration: 30s; } }

/* Safari's bottom bar takes its colour from the page under the intro (the header, ivory behind the painting), not from fixed layers:
   while the intro shows, that header is Lily Pad, so the bar behind the address field is green too */
html.intro-open #invite, html.intro-open #invite.mist { background: var(--lily-pad); }

/* ===== 2026-10-25 round of suggestions ===== */
/* buttons a little smaller on phones (the whole engraved artwork scales with them) */
/* the label is centred on the box itself, whatever the padding or the browser's font metrics */
.btn-engraved .btn-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-left: 0.04em; }   /* 0.04em balances the tracking after the last letter */
/* phones: the same button at 84%, sized explicitly (no zoom, which Safari applies differently) */
@media (max-width: 899px) {
	.btn-engraved { width: 168px; height: 42.65px; font-size: 16px; padding: 0; }
	.btn-engraved .btn-art { left: -1.93px; top: -25.35px; width: 172.27px; height: 77.21px; }
	.ts .ts-book .btn-label { font-size: 15px; }
}

/* venue on phones: title, then the button, then the drawing large and edge to edge underneath (nothing overlaps the button) */
@media (max-width: 899px) {
	.schloss.venue-drawing { display: flex; flex-direction: column; align-items: center; min-height: 0; padding: 28px 0 0; }
	.venue-drawing .schloss-top { order: 1; padding: 0 24px; }
	.venue-drawing .schloss-bottom { order: 2; position: static; margin: 0 0 clamp(8px, 3vw, 20px); }
	.venue-drawing .schloss-bottom .btn-engraved { margin-top: 30px; }
	.venue-drawing .bg { order: 3; position: static; display: block; width: 124vw; max-width: none; height: auto; aspect-ratio: 1776 / 820; margin: 0 -12vw; object-fit: cover; object-position: 50% 70%; top: auto; bottom: auto; left: auto; }
	.venue-drawing .venue-blend, .venue-drawing::after { display: none; }
}

/* celebration: an ornament rule under the title, and the dot between the welcome party and the wedding */
.celebration .cel-title { margin-bottom: 0; }
.cel-rule { --ts-line: rgba(247, 244, 234, 0.45); margin: clamp(14px, 1.6vw, 22px) auto clamp(30px, 3.4vw, 50px); }
.cel-rule .ts-fleur { filter: brightness(0) invert(1); opacity: 0.8; }
.celebration .dot { display: block; width: 5px; height: 5px; margin-left: auto; margin-right: auto; border-radius: 50%; background: rgba(247, 244, 234, 0.7); }

/* travel: the airports */
.ts-air { list-style: none; margin: 0 0 clamp(36px, 4vw, 60px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); width: 100%; text-align: center; }
.ts-air li { display: flex; flex-direction: column; align-items: center; }
.ts-air .ts-name { margin: 0; text-align: center; align-self: auto; }
.ts-air .ts-code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: #6c705e; vertical-align: 0.35em; margin-left: 4px; }
.ts-air .ts-mins { margin: 8px 0 0; padding-top: 0; justify-content: center; text-align: center; }
@media (max-width: 899px) { .ts-air { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 899px) {
	.venue-drawing .bg { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 92%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 92%, transparent 100%); }
}
/* the airports now close the section, after the hotels */
.ts-grid + .ts-group { margin-top: clamp(44px, 5vw, 72px); }
.ts-air { margin-bottom: clamp(8px, 1vw, 16px); }

/* RSVP confirmed: a green badge, each guest's answer, and a way to change it */
.reply[hidden], .reply-confirmed[hidden] { display: none; }
.reply-confirmed { display: flex; flex-direction: column; align-items: center; width: min(520px, 100%); margin-top: clamp(26px, 3vw, 40px); }
.rc-badge { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 10px 22px 10px 12px; border-radius: 999px; background: rgba(163, 174, 148, 0.18); border: 1px solid var(--sage); color: var(--sage); font-family: var(--mono); font-size: 14px; letter-spacing: 0.28em; text-transform: uppercase; }
.rc-badge svg { width: 26px; height: 26px; flex: none; color: var(--sage); }
.rc-list { list-style: none; width: 100%; margin: clamp(20px, 2.2vw, 28px) 0 0; padding: 0; }
.rc-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 4px; border-bottom: 1px solid rgba(232, 229, 220, 0.18); }
.rc-list li:last-child { border-bottom: 0; }
.rc-name { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; text-align: left; color: var(--swan); }
.rc-answer { margin: 0; letter-spacing: 0.2em; font-size: 12px; text-transform: uppercase; }
.rc-list .is-yes .rc-answer { color: var(--sage); }
.rc-list .is-no .rc-answer { color: rgba(232, 229, 220, 0.6); }
.reply-confirmed .btn-engraved { margin-top: clamp(30px, 3.2vw, 44px); cursor: pointer; appearance: none; -webkit-appearance: none; }
.reply-confirmed .btn-engraved .btn-fill { color: var(--swan); }
.reply-confirmed .btn-engraved:hover, .reply-confirmed .btn-engraved:focus-visible { color: #1b1a17; }
/* the badge solid sage green, so the confirmation is the first thing seen */
.rc-badge { background: var(--lily-pad); border-color: var(--lily-pad); color: var(--ivory); padding: 10px 24px 10px 10px; font-weight: 400; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }   /* Lily Pad pill, ivory label and tick disc */
.rc-badge svg { color: var(--ivory); }
.rc-badge svg path { stroke: var(--lily-pad); }

/* language switch, EN · DE: in the nav and on the phone step; the current language at full strength */
.lang-switch { display: flex; align-items: center; gap: 0.6em; margin: 0; font-family: var(--mono); font-weight: 400; font-size: var(--fs-label); line-height: var(--lh-label); letter-spacing: var(--ls-label); color: var(--ink); }
.lang-switch a, .nav-links .lang-switch a { display: inline; font: inherit; letter-spacing: inherit; color: inherit; opacity: 0.55; transition: opacity 0.3s ease; }
.lang-switch a:hover, .lang-switch a:focus-visible, .lang-switch a[aria-current] { opacity: 1; }
.lang-switch a[aria-current] { pointer-events: none; }
.lang-switch span { opacity: 0.45; }
.nav-lang { display: flex; align-items: center; }
.phone-lang { position: absolute; z-index: 3; top: calc(22px + env(safe-area-inset-top, 0px)); right: 22px; color: var(--ivory); }
@media (max-width: 899px) {
	.nav-links .lang-switch { margin-top: 12px; font-size: 14px; color: var(--olive); }
}

/* Add to calendar, under the reply: an ivory pill that opens a small card of calendars, each with its icon */
.rsvp .add-cal { position: relative; display: flex; justify-content: center; margin: clamp(28px, 2.6vw, 40px) auto 0; z-index: 3; }
.add-cal-btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 16px; border-radius: 999px; cursor: pointer;
	font-family: var(--mono); font-weight: 400; font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase;
	color: var(--ivory); background: rgba(27, 26, 23, 0.25); border: 1px solid rgba(247, 244, 234, 0.7);
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.add-cal-btn:hover, .add-cal-btn:focus-visible, .add-cal-btn[aria-expanded="true"] { background: var(--ivory); color: var(--lily-pad); border-color: var(--ivory); }
.add-cal-btn .ac-cal { width: 17px; height: 17px; flex: none; }
.add-cal-btn .ac-chev { width: 10px; height: 7px; flex: none; transition: transform 0.3s var(--ease); }
.add-cal-btn[aria-expanded="true"] .ac-chev { transform: rotate(180deg); }
.add-cal-menu {
	position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 230px; margin: 0; padding: 6px; list-style: none; text-align: left;
	background: var(--ivory); border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(62, 74, 44, 0.12);
	animation: acIn 0.22s var(--ease);
}
@keyframes acIn { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.add-cal-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 9px; color: #1b1a17; font-family: var(--sans); font-size: 15px; line-height: 1.2; letter-spacing: 0; text-transform: none; text-decoration: none; }
.add-cal-menu a:hover, .add-cal-menu a:focus-visible { background: rgba(62, 74, 44, 0.09); outline: none; }
.add-cal-menu svg { width: 20px; height: 20px; flex: none; }
@media (prefers-reduced-motion: reduce) { .add-cal-menu { animation: none; } }
.rsvp .inner:not(.signoff) { position: relative; z-index: 4; }   /* the open calendar list lies over the sign-off below it */

/* the address for the formal invitation, under the reply: ivory fields on the film, the engraved button, a saved card like the reply's */
.rsvp .addr { width: min(100%, 440px); margin: clamp(36px, 3.4vw, 48px) auto 0; padding-top: clamp(30px, 3vw, 42px); border-top: 1px solid rgba(247, 244, 234, 0.35); }
.addr-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; color: var(--ivory); }
.addr-lead { margin: 2px 0 12px; color: rgba(247, 244, 234, 0.85); }
.rsvp .addr:not([hidden]) { display: grid; gap: 10px; text-align: center; }
.addr input {
	width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(247, 244, 234, 0.55);
	background: rgba(247, 244, 234, 0.94); color: #1b1a17; font-family: var(--sans); font-size: 16px; line-height: 1.3;   /* 16px keeps iOS from zooming in */
	appearance: none; -webkit-appearance: none;
}
.addr input::placeholder { color: rgba(27, 26, 23, 0.5); }
.addr input:focus { outline: 2px solid var(--ivory); outline-offset: 2px; }
.reply.invalid .addr input[name=line] { border-color: #e9c9a8; outline: 1px solid #e9c9a8; }
.addr [hidden] { display: none !important; }   /* the form and the saved card take turns (their grid display must not override hidden) */

/* the title keeps still on the moving water: its own compositing layer, so the rippling painting underneath
   (redrawn every frame by the water filter and shimmer) never re-rasterises the letters */
.invite-hero .inner { will-change: transform; backface-visibility: hidden; -webkit-font-smoothing: antialiased; }

/* one-line address: Google's suggestions open under the field, the check result sits beneath it */
.addr-search { position: relative; }
.addr-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; text-align: left;
	background: var(--ivory); border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); }
.addr-list li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.addr-list li:hover, .addr-list li[aria-selected="true"] { background: rgba(62, 74, 44, 0.09); }
.addr-main { font-family: var(--sans); font-size: 15px; color: #1b1a17; }
.addr-sub { font-family: var(--sans); font-size: 13px; color: rgba(27, 26, 23, 0.6); }
.addr-check { margin: 0; font-family: var(--sans); font-size: 13.5px; line-height: 1.45; color: #e9c9a8; text-align: left; }
.addr-check.ok { color: var(--ivory); }
.addr-check.ok::before { content: "✓ "; }

/* the address on the Confirmed card, under the answers */
.rc-addr { margin: 14px 0 0; white-space: pre-line; font-family: var(--serif); font-size: 18px; line-height: 1.45; color: var(--ivory); text-align: center; }

/* RSVP, condensed: the reply, the address and the calendar in one tighter column, and the sign-off following the content
   instead of sitting in a fixed block reserved at the bottom */
.rsvp { padding-bottom: calc(clamp(36px, 3.6vw, 52px) + env(safe-area-inset-bottom, 0px)); }
.rsvp .signoff { position: relative; left: auto; right: auto; bottom: auto; margin-top: clamp(48px, 4.6vw, 68px); }
.rsvp .lead { margin-top: clamp(10px, 1.1vw, 16px); }
@media (min-width: 900px) { .rsvp .lead { max-width: none; white-space: nowrap; } }   /* the invitation line stays on one line on desktop */
.reply, .reply-confirmed { margin-top: clamp(14px, 1.6vw, 22px); }
.reply-list { margin-top: 6px; }
.reply-list li { padding-top: 7px; padding-bottom: 7px; }
.rsvp .addr { margin-top: clamp(18px, 1.8vw, 26px); padding-top: clamp(18px, 1.8vw, 26px); }
.rsvp .addr:not([hidden]) { gap: 8px; }
.addr-title { font-size: clamp(21px, 1.8vw, 26px); }
.addr-lead { margin: 0 0 6px; }
.reply .btn-engraved { margin-top: clamp(30px, 2.6vw, 38px); }   /* room for the button's crest scroll above it */
.reply-done { min-height: 1.4em; margin-top: 8px; }
.rsvp .add-cal { margin-top: clamp(22px, 2.2vw, 32px); }
.rc-addr { margin-top: 8px; font-size: 17px; }
.rsvp .addr { width: min(100%, 520px); }   /* as wide as the reply list above it */

/* while the intro shows, only the header exists behind it: nothing further down (like the Add to calendar pill, which has no fade-in)
   can show through iOS Safari's see-through bottom bar */
html.intro-open main > :not(#invite) { visibility: hidden; }

/* the Confirmed view as a reply card: ivory paper on the film, the green badge sitting on its top edge, each guest with a small
   status pill, the address under a hairline, and Change reply as the engraved button below the card */
.reply-confirmed { gap: 0; }
.rc-card {
	position: relative; width: min(100%, 440px); margin-top: 22px; padding: 40px clamp(20px, 3vw, 30px) 24px;
	background: var(--ivory); color: var(--lily-pad); border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	outline: 1px solid rgba(62, 74, 44, 0.28); outline-offset: -8px;   /* the fine inner rule, as on the printed cards */
}
.rc-card .rc-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; font-size: 12px; padding: 8px 18px 8px 8px; gap: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.rc-card .rc-badge svg { width: 22px; height: 22px; }
.rc-card .rc-list { margin: 0; }
.rc-card .rc-list li { align-items: center; padding: 10px 2px; border-bottom: 1px solid rgba(62, 74, 44, 0.16); }
.rc-card .rc-list li:last-child { border-bottom: 0; }
.rc-card .rc-name { color: var(--lily-pad); font-size: clamp(20px, 1.7vw, 24px); }
.rc-card .rc-answer { flex: none; padding: 6px 12px 6px calc(12px + 0.18em); border-radius: 999px; font-size: 11px; letter-spacing: 0.18em; line-height: 1; border: 1px solid var(--lily-pad); }
.rc-card .rc-list .is-yes .rc-answer { background: var(--lily-pad); color: var(--ivory); }
.rc-card .rc-list .is-no .rc-answer { background: transparent; color: rgba(62, 74, 44, 0.75); border-color: rgba(62, 74, 44, 0.45); }
.rc-addr-wrap { margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(62, 74, 44, 0.28); text-align: center; }
.rc-addr-wrap[hidden] { display: none; }
.rc-label { margin: 0; font-size: 11px; color: rgba(62, 74, 44, 0.7); }
.rc-card .rc-addr { margin: 6px 0 0; color: var(--lily-pad); font-size: 17px; line-height: 1.45; }
.reply-confirmed .btn-engraved { margin-top: clamp(34px, 3vw, 42px); }

/* Travel & Stay: the Schloss drawing sits 3.4% left of the picture's centre (building 137–858 of 1068 px); the picture fills
   the oval exactly, so it is enlarged just enough (8%) to shift the building to the middle without opening a gap at the edge */
.ts-oval-window .ts-oval-photo { transform: translateX(3.7%) scale(1.08); }   /* shift = 3.42% × scale */
.ts-oval:hover .ts-oval-window .ts-oval-photo, .ts-oval:focus-visible .ts-oval-window .ts-oval-photo { transform: translateX(3.9%) scale(1.13); }

/* fade-only reveal for the Travel & Stay frame ornaments and the RSVP film (they keep their own mirroring transforms) */
.rvf { opacity: 0; transition: opacity 1.2s ease; }
.rvf.rv-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rvf { opacity: 1; transition: none; } }

/* mobile menu: the large serif links get a line box to match their size, so the underline's clipping no longer cuts
   off the tops and bottoms of the letters */
@media (max-width: 899px) { .nav-links a { line-height: 1.35; padding: 0.06em 0 0.12em; } }
