/*
 * OWD Invite Site: ivory & gold foil.
 * Hurricane for script, Lustria for everything else. Mobile first.
 */

.ois-body {
	--paper: #fbfaf7;
	--ivory: #f7f4ee;
	--vellum: #efeae2;
	--fog: #d3cabd;
	--taupe: #a38d7f;
	--gold: #b4935a;
	--gold-d: #8c6e3f;
	--ink: #2b2724;
	--text: #5f5750;
	--muted: #8f857c;
	--hair: rgba(180, 147, 90, .4);
	--foil: linear-gradient(100deg, #7a5f35 0%, #a8874f 22%, #cfb27a 38%, #9c7c47 52%, #7a5f35 68%, #b89a63 84%, #8c6e3f 100%);
	--ease: cubic-bezier(.22, .61, .21, 1);

	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 400 17px/1.7 Lustria, Georgia, serif;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	overflow-x: hidden;
}
.ois-body *, .ois-body *::before, .ois-body *::after { box-sizing: border-box; }
.ois-body.ois-locked { overflow: hidden; height: 100%; }
.ois-body ::selection { background: rgba(180, 147, 90, .25); }

/* Faint paper grain. */
.ois-body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 60;
	pointer-events: none;
	opacity: .05;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .35 0 0 0 0 .3 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ois-script { font-family: Hurricane, cursive; font-weight: 400; line-height: 1; }
.ois-script i { font-style: normal; }
.ois-caps { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.ois-foil {
	background-image: var(--foil);
	background-size: 250% 100%;
	background-position: 100% 50%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	padding: 0 .1em .08em;
	transition: background-position 2.6s var(--ease);
}
.ois-in .ois-foil, .ois-intro .ois-foil { background-position: 28% 50%; }
.ois-muted { color: var(--muted); margin: 0; }
.ois-line { fill: none; stroke: var(--gold); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }

/* ================= Opening: vellum band + wax seal ================= */

.ois-intro {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: grid;
	place-items: center;
	background: radial-gradient(120% 90% at 50% 20%, #fffdf8, var(--ivory) 55%, var(--vellum));
	overflow: hidden;
	cursor: pointer;
	will-change: opacity;
}
.ois-intro-card {
	position: relative;
	width: min(84vw, 440px);
	height: min(76svh, 620px);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 13% 8% 0;
	text-align: center;
	background: var(--paper);
	box-shadow: 0 40px 80px -40px rgba(43, 39, 36, .45), 0 2px 0 rgba(255, 255, 255, .8) inset;
	will-change: transform, opacity;
}
.ois-deckle { position: absolute; inset: 14px; border: 1px solid var(--hair); pointer-events: none; }
.ois-deckle::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(180, 147, 90, .2); }
.ois-intro-names {
	position: absolute;
	left: 6%;
	right: 6%;
	top: 19%;
	bottom: 45%;
	display: grid;
	align-content: center;
	margin: 0;
	font-size: clamp(56px, 15vw, 74px);
	line-height: 1.02;
}
.ois-intro-names i { display: inline-block; font-size: .6em; margin: 0 .12em; }
.ois-intro-top { position: absolute; left: 0; right: 0; top: 11%; margin: 0; }
.ois-intro-date { position: absolute; left: 0; right: 0; bottom: 9%; margin: 0; }

/* The band: frosted vellum wrapped across the card, below the names. */
.ois-band {
	position: absolute;
	left: -6px;
	right: -6px;
	top: 56%;
	height: 22%;
	background: linear-gradient(180deg, rgba(252, 251, 248, .86), rgba(241, 237, 229, .93) 50%, rgba(252, 251, 248, .86));
	border-top: 1px solid rgba(255, 255, 255, .9);
	border-bottom: 1px solid rgba(211, 202, 189, .8);
	box-shadow: 0 6px 18px -10px rgba(43, 39, 36, .35), inset 6px 0 8px -6px rgba(43, 39, 36, .25), inset -6px 0 8px -6px rgba(43, 39, 36, .25);
	will-change: transform;
}
.ois-seal {
	position: absolute;
	left: 50%;
	top: 67%;
	width: min(36vw, 148px);
	height: min(36vw, 148px);
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transform: translate(-50%, -50%);
	animation: ois-breathe 3.6s ease-in-out infinite;
	will-change: transform, opacity;
	transition: transform .18s var(--ease);
}
.ois-seal svg { display: block; width: 100%; height: 100%; }
.ois-seal-mono {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 6%;
	font: 400 clamp(30px, 9vw, 40px)/1 Lustria, Georgia, serif;
	letter-spacing: .04em;
	color: #ecdcb8;
	text-shadow: 0 -1px 0 rgba(60, 44, 24, .55), 0 1px 0 rgba(255, 240, 210, .25);
}
.ois-seal-mono i { font: 400 .75em/1 Hurricane, cursive; margin: 0 .08em; }
.ois-seal:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; border-radius: 50%; }
@keyframes ois-breathe { 50% { transform: translate(-50%, -50%) scale(1.035); } }

.ois-tap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(26px + env(safe-area-inset-bottom));
	margin: 0;
	text-align: center;
	animation: ois-fade 2.4s ease-in-out infinite alternate;
	transition: opacity .4s;
}
@keyframes ois-fade { from { opacity: .45; } to { opacity: 1; } }
.ois-skip {
	position: absolute;
	top: calc(16px + env(safe-area-inset-top));
	right: 16px;
	padding: 8px 14px;
	font: 400 11px/1 Lustria, Georgia, serif;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--muted);
	background: rgba(255, 255, 255, .6);
	border: 1px solid rgba(180, 147, 90, .3);
	border-radius: 99px;
	cursor: pointer;
}

/* ---------- Full-colour linen cover (colour set per couple: --cover) ---------- */
.ois-intro {
	--cover: #5c6146;
	background-color: var(--cover);
	background-image:
		radial-gradient(120% 85% at 50% 40%, rgba(255, 255, 255, .07), rgba(0, 0, 0, .28) 100%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 4px),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .18' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23l)'/%3E%3C/svg%3E");
}
.ois-intro-card {
	width: 100%;
	height: 100%;
	max-width: none;
	padding: 0;
	background: transparent;
	box-shadow: none;
}
.ois-intro .ois-deckle { inset: 18px; border-color: rgba(226, 205, 159, .45); }
.ois-intro .ois-deckle::after { border-color: rgba(226, 205, 159, .22); }
.ois-intro .ois-caps { color: rgba(243, 238, 226, .78); }
.ois-intro .ois-foil {
	background-image: linear-gradient(100deg, #c9a96a 0%, #efe0bb 30%, #d7bd86 50%, #f6ead0 68%, #c4a36a 100%);
	background-size: 200% 100%;
}
.ois-intro-top { top: 16%; }
.ois-intro-names { left: 8%; right: 8%; top: 22%; bottom: 44%; font-size: clamp(64px, 18vw, 120px); text-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.ois-intro-date { bottom: 13%; }
.ois-band {
	left: 0;
	right: 0;
	top: 58%;
	height: 17%;
	background: linear-gradient(180deg, rgba(250, 248, 242, .9), rgba(238, 233, 222, .96) 50%, rgba(250, 248, 242, .9));
	border-top: 1px solid rgba(255, 255, 255, .6);
	border-bottom: 1px solid rgba(0, 0, 0, .12);
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
}
.ois-intro .ois-seal { top: 66.5%; width: min(34vw, 150px); height: min(34vw, 150px); }
.ois-intro .ois-tap { color: rgba(243, 238, 226, .7); }
.ois-intro .ois-skip { top: calc(30px + env(safe-area-inset-top)); right: 30px; color: #f3eee2; background: rgba(255, 255, 255, .1); border-color: rgba(226, 205, 159, .4); }
@media (min-width: 768px) {
	.ois-intro-names { left: 20%; right: 20%; }
	.ois-band { height: 15%; }
}

/* Opening sequence: press the seal, it lifts away, the band slides off,
   the card rises and dissolves into the hero underneath (about 1.5s). */
.ois-opening .ois-seal { animation: ois-seal-off .75s cubic-bezier(.3, 0, .2, 1) both; }
.ois-opening .ois-band { animation: ois-band-off .7s cubic-bezier(.7, 0, .2, 1) .22s both; }
.ois-opening .ois-intro-card { animation: ois-card-off .95s cubic-bezier(.16, 1, .3, 1) .62s both; }
.ois-opening .ois-intro { animation: ois-fade-out .7s cubic-bezier(.4, 0, .2, 1) .8s both; cursor: default; }
.ois-opening .ois-tap, .ois-opening .ois-skip { animation: none; opacity: 0; transition: opacity .25s; }
.ois-open-fast .ois-intro { animation: ois-fade-out .4s ease both; }

@keyframes ois-seal-off {
	0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
	16%  { transform: translate(-50%, -50%) scale(.92); opacity: 1; }
	45%  { transform: translate(-50%, -58%) scale(1.06) rotate(-5deg); opacity: 1; }
	100% { transform: translate(-50%, -95%) scale(1.18) rotate(-14deg); opacity: 0; }
}
@keyframes ois-band-off {
	0%   { transform: translateX(0); opacity: 1; }
	100% { transform: translateX(108%); opacity: .6; }
}
@keyframes ois-card-off {
	0%   { transform: translateY(0) scale(1); opacity: 1; }
	35%  { opacity: 1; }
	100% { transform: translateY(-4%) scale(1.07); opacity: 0; }
}
@keyframes ois-fade-out { to { opacity: 0; visibility: hidden; } }

/* ================= Page ================= */

.ois-main { position: relative; }

.ois-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: center;
	padding: 80px 20px 100px;
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(60% 40% at 50% 38%, rgba(255, 253, 248, .95), transparent 70%),
		radial-gradient(120% 90% at 50% 0%, var(--ivory), var(--vellum));
}
.ois-hero-in { position: relative; z-index: 1; max-width: 680px; }
.ois-crest { position: relative; width: 150px; height: 150px; margin: 0 auto 18px; }
.ois-crest svg { width: 100%; height: 100%; }
.ois-crest span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font: 400 30px/1 Lustria, Georgia, serif;
	letter-spacing: .06em;
	color: var(--ink);
}
.ois-crest span i { font: 400 .8em/1 Hurricane, cursive; color: var(--gold); margin: 0 .1em; }
.ois-hero-top { margin: 0 0 6px; }
.ois-hero-names { margin: 0; font-size: clamp(76px, 22vw, 168px); line-height: .95; }
.ois-hero-names i { font-size: .6em; display: inline-block; padding: 0 .06em; }
.ois-hero-date { margin: 14px 0 6px; font-size: clamp(17px, 4.4vw, 21px); color: var(--ink); letter-spacing: .04em; }
.ois-hero-place { margin: 0; }

/* Hero reveal after opening. */
.ois-hero .ois-hero-in > * { opacity: 0; transform: translateY(14px); transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.ois-hero.ois-in .ois-hero-in > * { opacity: 1; transform: none; }
.ois-hero.ois-in .ois-hero-in > :nth-child(2) { transition-delay: .25s; }
.ois-hero.ois-in .ois-hero-in > :nth-child(3) { transition-delay: .45s; }
.ois-hero.ois-in .ois-hero-in > :nth-child(4) { transition-delay: .75s; }
.ois-hero.ois-in .ois-hero-in > :nth-child(5) { transition-delay: .95s; }

.ois-vine { position: absolute; width: min(46vw, 300px); height: auto; pointer-events: none; opacity: .9; }
.ois-vine--tl { top: 0; left: 0; }
.ois-vine--br { right: 0; bottom: 0; transform: rotate(180deg); }
.ois-draw path, .ois-draw circle { transition: stroke-dashoffset 2.8s var(--ease); }
.ois-hero.ois-in .ois-draw path, .ois-hero.ois-in .ois-draw circle { stroke-dashoffset: 0 !important; }

.ois-cue {
	position: absolute;
	left: 50%;
	bottom: calc(26px + env(safe-area-inset-bottom));
	width: 1px;
	height: 54px;
	transform: translateX(-50%);
	background: linear-gradient(var(--hair), transparent);
	overflow: hidden;
}
.ois-cue span { position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: var(--gold); animation: ois-cue 2.2s ease-in-out infinite; }
@keyframes ois-cue { to { top: 54px; } }

/* Sections. */
.ois-sec {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
	padding: 96px 20px 24px;
	text-align: center;
}
.ois-sec > *:not(.ois-rule) { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.ois-sec.ois-in > *:not(.ois-rule) { opacity: 1; transform: none; }
.ois-sec.ois-in > :nth-child(3) { transition-delay: .12s; }
.ois-sec.ois-in > :nth-child(4) { transition-delay: .24s; }
.ois-sec.ois-in > :nth-child(n+5) { transition-delay: .34s; }

.ois-eyebrow { margin: 0 0 4px; }
.ois-title { margin: 0 0 26px; font-size: clamp(56px, 15vw, 84px); }
.ois-text { max-width: 540px; margin: 18px auto 0; }
.ois-text--lead { font-size: 18px; color: var(--ink); }

/* Hairline + rings divider. */
.ois-rule { position: relative; height: 22px; margin: 0 auto 40px; width: min(320px, 70%); }
.ois-rule::before, .ois-rule::after {
	content: "";
	position: absolute;
	top: 50%;
	width: calc(50% - 26px);
	height: 1px;
	transform: scaleX(0);
	transition: transform 1.4s var(--ease);
}
.ois-rule::before { left: 0; background: linear-gradient(90deg, transparent, var(--gold)); transform-origin: right; }
.ois-rule::after { right: 0; background: linear-gradient(90deg, var(--gold), transparent); transform-origin: left; }
.ois-in .ois-rule::before, .ois-in .ois-rule::after { transform: scaleX(1); }
.ois-rule { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cg fill='none' stroke='%23b4935a' stroke-width='1.1'%3E%3Ccircle cx='13' cy='15' r='9'/%3E%3Ccircle cx='21' cy='15' r='9'/%3E%3Cpath d='M17 5.2c-1.2-1.6-3.6-1-3.6.9 0 1.4 1.7 2.5 3.6 3.9 1.9-1.4 3.6-2.5 3.6-3.9 0-1.9-2.4-2.5-3.6-.9z'/%3E%3C/g%3E%3C/svg%3E") center / 30px 22px no-repeat; }

/* Paper card used for the invitation, day after and RSVP. */
.ois-paper {
	position: relative;
	max-width: 560px;
	margin: 0 auto;
	padding: 56px 28px;
	background: #fffefb;
	box-shadow: 0 30px 60px -40px rgba(43, 39, 36, .45);
}
.ois-paper::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--hair); pointer-events: none; }
.ois-paper--small { padding: 44px 26px; }
.ois-paper--small .ois-btn { margin-top: 26px; }
.ois-paper--form { padding: 44px 24px; text-align: left; }

/* Countdown. */
.ois-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 480px; margin: 0 auto; }
.ois-count div { padding: 16px 4px 12px; border: 1px solid var(--hair); background: rgba(255, 254, 251, .7); }
.ois-count b { display: block; font: 400 clamp(26px, 8vw, 38px)/1 Lustria, Georgia, serif; color: var(--ink); }
.ois-count span { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ois-count-done { grid-column: 1 / -1; font: 400 52px/1 Hurricane, cursive; color: var(--gold); }

/* Invitation wording. */
.ois-invite-host { margin: 0 0 22px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ois-invite-name { margin: 0; font-size: clamp(24px, 6.4vw, 32px); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); line-height: 1.25; }
.ois-invite-and { margin: 2px 0; font-size: 46px; }
.ois-invite-line { margin: 24px auto 20px; max-width: 360px; font-size: 18px; }
.ois-invite-date { margin: 0; color: var(--ink); }
.ois-invite-time { margin: 6px 0 0; }
.ois-invite-venue { margin: 18px 0 0; font-size: 15px; color: var(--muted); }

/* Venue. */
.ois-venue-name { margin: 0 0 6px; font-size: clamp(26px, 7vw, 34px); color: var(--ink); letter-spacing: .02em; line-height: 1.2; }
.ois-venue-sub { margin: 0 0 4px; color: var(--gold-d); }
.ois-sched { list-style: none; margin: 30px auto 0; padding: 0; max-width: 460px; }
.ois-sched li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 4px; border-top: 1px solid rgba(211, 202, 189, .8); text-align: left; }
.ois-sched li:last-child { border-bottom: 1px solid rgba(211, 202, 189, .8); }
.ois-sched .ois-caps { grid-column: 1 / -1; font-size: 11px; color: var(--gold-d); }
.ois-sched b { font-weight: 400; color: var(--ink); }
.ois-sched em { font-style: normal; color: var(--ink); }

.ois-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.ois-btn {
	position: relative;
	display: inline-block;
	padding: 14px 26px;
	overflow: hidden;
	font: 400 12px/1 Lustria, Georgia, serif;
	letter-spacing: .26em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--paper);
	background: var(--ink);
	border: 1px solid var(--ink);
	border-radius: 99px;
	cursor: pointer;
	transition: transform .5s var(--ease), box-shadow .5s;
}
.ois-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(241, 226, 189, .5), transparent); transform: skewX(-20deg); transition: left .9s var(--ease); }
.ois-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(43, 39, 36, .55); }
.ois-btn:hover::after { left: 120%; }
.ois-btn--line { color: var(--ink); background: transparent; }
.ois-cal { position: relative; }
.ois-cal-menu {
	position: absolute;
	left: 50%;
	top: calc(100% + 8px);
	z-index: 5;
	min-width: 230px;
	padding: 6px;
	transform: translateX(-50%);
	background: #fffefb;
	border: 1px solid var(--hair);
	box-shadow: 0 20px 40px -20px rgba(43, 39, 36, .4);
}
.ois-cal-menu[hidden] { display: none; }
.ois-cal-menu a, .ois-cal-menu button { display: block; width: 100%; padding: 11px 14px; font: 400 15px/1.3 Lustria, Georgia, serif; color: var(--ink); text-align: left; text-decoration: none; background: none; border: 0; cursor: pointer; }
.ois-cal-menu a:hover, .ois-cal-menu button:hover { background: var(--ivory); }

/* Dress code. */
.ois-dress-name { margin: 0; font-size: clamp(30px, 8vw, 40px); color: var(--ink); letter-spacing: .14em; text-transform: uppercase; }

/* Order of the day: hairline with gold dots. */
.ois-steps { list-style: none; position: relative; max-width: 460px; margin: 0 auto; padding: 0; text-align: left; }
.ois-steps::before { content: ""; position: absolute; left: 92px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--hair), var(--gold), var(--hair)); }
.ois-steps li { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 26px; padding: 12px 0; }
.ois-steps li::before { content: ""; position: absolute; left: 89px; top: 22px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--paper); border: 1px solid var(--gold); }
.ois-step-time { font-size: 13px; letter-spacing: .12em; color: var(--gold-d); text-align: right; padding-top: 2px; }
.ois-step-what { color: var(--ink); }

/* Travel & stay. */
.ois-cards { list-style: none; display: grid; gap: 12px; max-width: 560px; margin: 0 auto; padding: 0; }
.ois-cards li { padding: 22px 20px; text-align: left; background: rgba(255, 254, 251, .8); border: 1px solid rgba(211, 202, 189, .9); }
.ois-cards b { display: block; font-weight: 400; color: var(--ink); font-size: 19px; }
.ois-cards span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

/* Questions. */
.ois-qs { max-width: 560px; margin: 0 auto; text-align: left; }
.ois-qs details { border-top: 1px solid rgba(211, 202, 189, .9); }
.ois-qs details:last-child { border-bottom: 1px solid rgba(211, 202, 189, .9); }
.ois-qs summary { position: relative; padding: 20px 36px 20px 2px; list-style: none; cursor: pointer; color: var(--ink); font-size: 18px; }
.ois-qs summary::-webkit-details-marker { display: none; }
.ois-qs summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .4s var(--ease); }
.ois-qs details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ois-qs p { margin: 0 0 20px; padding-right: 30px; }

/* RSVP form restyled for this design. */
.ois-rsvp .owd-rsvp {
	--owd-accent: #2b2724;
	--owd-accent-dark: #8c6e3f;
	--owd-ink: #2b2724;
	--owd-muted: #8f857c;
	--owd-line: #d3cabd;
	--owd-soft: #f7f4ee;
	font-family: Lustria, Georgia, serif;
}
.ois-rsvp .owd-rsvp__head { margin-bottom: 24px; }
.ois-rsvp :is(.owd-rsvp__eyebrow, .owd-rsvp__names, .owd-rsvp__date) { display: none; }
.ois-rsvp .owd-rsvp__deadline { margin: 0; border-radius: 0; border: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: transparent; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); padding: 8px 14px; }
.ois-rsvp .owd-rsvp__field label { font-weight: 400; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ois-rsvp .owd-rsvp__input { border: 0; border-bottom: 1px solid var(--fog); border-radius: 0; background: transparent; padding: 10px 2px; font-family: inherit; }
.ois-rsvp .owd-rsvp__input:focus { border-bottom-color: var(--gold); box-shadow: none; }
.ois-rsvp textarea.owd-rsvp__input { border: 1px solid var(--fog); padding: 10px 12px; }
.ois-rsvp .owd-rsvp__person { border: 1px solid rgba(211, 202, 189, .9); border-radius: 0; background: rgba(255, 254, 251, .6); }
.ois-rsvp .owd-rsvp__opt { border-radius: 99px; background: transparent; font-size: 13px; letter-spacing: .02em; padding: 12px 6px; line-height: 1.2; }
.ois-rsvp .owd-rsvp__opt:has(input:checked) { background: var(--ink); border-color: var(--ink); font-weight: 400; }
.ois-rsvp .owd-rsvp__add { border-radius: 99px; border-color: var(--gold); color: var(--gold-d); background: transparent; font-family: inherit; }
.ois-rsvp .owd-rsvp__submit { border-radius: 99px; font: 400 13px/1 Lustria, Georgia, serif; letter-spacing: .26em; text-transform: uppercase; padding: 17px; background: var(--ink); }
.ois-rsvp .owd-rsvp__submit:hover { background: #000; }
.ois-rsvp .owd-rsvp__done { border-radius: 0; border-color: var(--hair); background: transparent; }
.ois-rsvp .owd-rsvp__done-title { font-weight: 400; font-size: 22px; color: var(--ink); }

/* Footer. */
.ois-foot { padding: 90px 20px calc(70px + env(safe-area-inset-bottom)); text-align: center; background: linear-gradient(180deg, var(--paper), var(--vellum)); }
.ois-foot-names { margin: 0 0 6px; font-size: clamp(56px, 15vw, 80px); }
.ois-foot .ois-caps { margin: 0; }
.ois-credit { display: inline-block; margin-top: 36px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); text-decoration: none; opacity: .7; }

/* Floating buttons. */
.ois-music {
	position: fixed;
	right: 14px;
	bottom: calc(14px + env(safe-area-inset-bottom));
	z-index: 40;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 3px;
	width: 44px;
	height: 44px;
	padding: 14px 0 15px;
	background: rgba(255, 254, 251, .85);
	border: 1px solid var(--hair);
	border-radius: 50%;
	cursor: pointer;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.ois-music[hidden] { display: none; }
.ois-music span { width: 2px; height: 100%; background: var(--gold); transform-origin: bottom; animation: ois-eq 1s ease-in-out infinite alternate; }
.ois-music span:nth-child(2) { animation-delay: .3s; }
.ois-music span:nth-child(3) { animation-delay: .6s; }
.ois-music[aria-pressed="false"] span { animation: none; transform: scaleY(.3); }
@keyframes ois-eq { from { transform: scaleY(.3); } to { transform: scaleY(1); } }

.ois-float {
	position: fixed;
	left: 50%;
	bottom: calc(16px + env(safe-area-inset-bottom));
	z-index: 40;
	padding: 12px 26px;
	font: 400 12px/1 Lustria, Georgia, serif;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--paper);
	text-decoration: none;
	background: var(--ink);
	border-radius: 99px;
	box-shadow: 0 14px 30px -14px rgba(43, 39, 36, .6);
	transform: translate(-50%, 140%);
	opacity: 0;
	transition: transform .6s var(--ease), opacity .4s;
}
.ois-float[hidden] { display: none; }
.ois-float.ois-show { transform: translate(-50%, 0); opacity: 1; }

@media (min-width: 768px) {
	.ois-sec { padding-top: 130px; }
	.ois-paper { padding: 72px 56px; }
	.ois-paper--form { padding: 56px 48px; }
	.ois-crest { width: 180px; height: 180px; }
	.ois-cards { grid-template-columns: 1fr 1fr; }
	.ois-cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
	.ois-body *, .ois-body *::before, .ois-body *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
	.ois-sec > *:not(.ois-rule), .ois-hero .ois-hero-in > * { opacity: 1; transform: none; }
}
