/*
 * Mijn Trouwwebsite. De Trouwkaart: envelope, card, reply card,
 * in crushed berry, raspberry, bubblegum pink, pink mist and light cyan.
 * Tokens come from theme.json; this file sets the paper pieces.
 */

:root {
	/* The five brand colours. */
	--crushed-berry: var(--wp--preset--color--crushed-berry, #880d1e);
	--raspberry: var(--wp--preset--color--raspberry, #dd2d4a);
	--bubblegum-pink: var(--wp--preset--color--bubblegum-pink, #f26a8d);
	--pink-mist: var(--wp--preset--color--pink-mist, #f49cbb);
	--light-cyan: var(--wp--preset--color--light-cyan, #cbeef3);

	/* Roles. Shades and tints are derived from the five, never new hues. */
	--ink: var(--crushed-berry);
	--ink-deep: var(--wp--preset--color--berry-deep, #5c0914);
	--ink-soft: var(--wp--preset--color--berry-soft, #6b2a35);
	--ink-lift: #a81730;
	--cotton: var(--wp--preset--color--paper, #f6fcfd);
	--vellum: var(--light-cyan);
	--liner: var(--bubblegum-pink);
	--foil: var(--pink-mist);
	--foil-light: #fbd3e1;
	--foil-deep: var(--raspberry);
	--on-ink: #fffafb;
	--on-ink-soft: #fbdbe6;
	--error: var(--crushed-berry);

	--display: var(--wp--preset--font-family--display);
	--text: var(--wp--preset--font-family--text);
	--ui: var(--wp--preset--font-family--ui);

	--gutter: clamp(1rem, 4vw, 2.5rem);
	--section: clamp(4rem, 9vw, 7.5rem);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--paper-shadow: 0 1px 2px rgb(74 8 18 / 0.1), 0 14px 32px -14px rgb(74 8 18 / 0.38);
	--rule: color-mix(in srgb, var(--ink) 16%, transparent);
	--liner-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 14 14 0l14 14-14 14z' fill='none' stroke='%23880d1e' stroke-opacity='.34'/%3E%3Ccircle cx='14' cy='14' r='1.7' fill='%23880d1e' fill-opacity='.42'/%3E%3C/svg%3E");
}

/* ---------- base and browser surfaces ---------- */

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

html {
	scroll-behavior: smooth;
	scrollbar-color: var(--ink) var(--vellum);
	-webkit-text-size-adjust: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	caret-color: var(--foil-deep);
	overflow-x: clip;
}

::selection {
	background: var(--foil);
	color: var(--ink);
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 2px solid var(--foil-deep);
	outline-offset: 3px;
	border-radius: 2px;
}

h1,
h2,
h3 {
	text-wrap: balance;
	letter-spacing: -0.012em;
}

p,
li {
	text-wrap: pretty;
}

.wp-site-blocks {
	padding: 0;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

.mtw-main {
	margin-block-start: 0;
}

.mtw-main > * {
	margin-block-start: 0;
}

.mtw-wrap {
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.ico {
	flex: none;
	vertical-align: -0.2em;
}

/* Sections rendered inside post content span the page. */
.wp-block-post-content > .alignfull {
	margin-inline: 0;
	max-width: none;
	margin-block: 0;
}

.mtw-front .wp-block-post-content {
	padding-inline: 0;
}

/* ---------- buttons ---------- */

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 3.25rem;
	padding: 0.85rem 1.6rem;
	border: 0;
	border-radius: 2px;
	font: 600 1rem/1.2 var(--ui);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s;
}

.btn--foil,
.wp-block-button__link {
	background: var(--foil);
	color: var(--ink);
	box-shadow: 0 8px 18px -10px rgb(74 8 18 / 0.6);
}

.btn--foil:hover,
.wp-block-button__link:hover {
	background: var(--foil-light);
	transform: translateY(-1px);
	box-shadow: 0 14px 22px -12px rgb(74 8 18 / 0.7);
}

.btn--ink {
	background: var(--ink);
	color: var(--on-ink);
}

.btn--ink:hover {
	background: var(--ink-deep);
	transform: translateY(-1px);
}

.btn:active,
.wp-block-button__link:active {
	transform: translateY(1px);
}

.btn .ico {
	transition: transform 0.3s var(--ease);
}

.btn:hover .ico {
	transform: translateX(3px);
}

.more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font: 600 1rem/1.3 var(--ui);
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--raspberry);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
}

.more .ico {
	transition: transform 0.3s var(--ease);
}

.more:hover .ico {
	transform: translateX(4px);
}

.more--light {
	color: var(--on-ink);
	text-decoration-color: var(--pink-mist);
}

/* ---------- header ---------- */

.mtw-header {
	max-width: 1180px;
	margin-inline: auto;
	padding: 1.1rem var(--gutter);
	gap: 1.5rem;
	align-items: center;
}

.mtw-logo {
	margin: 0;
	font: 400 1.45rem/1 var(--display);
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.mtw-logo a {
	color: inherit;
	text-decoration: none;
}

.mtw-nav {
	font: 500 0.9688rem/1.2 var(--ui);
	gap: 1.75rem;
}

.mtw-nav .wp-block-navigation__container {
	gap: 1.75rem;
	align-items: center;
}

.mtw-nav .wp-block-navigation-item__content {
	color: var(--ink);
	padding-block: 0.4rem;
	text-decoration: none;
	background-image: linear-gradient(var(--raspberry), var(--raspberry));
	background-size: 0 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.35s var(--ease);
}

.mtw-nav .wp-block-navigation-item__content:hover,
.mtw-nav .current-menu-item > .wp-block-navigation-item__content {
	background-size: 100% 2px;
}

.mtw-nav .mtw-nav__cta > .wp-block-navigation-item__content {
	padding: 0.65rem 1.1rem;
	border-radius: 2px;
	background: var(--ink);
	color: var(--on-ink);
	font-weight: 600;
	transition: background-color 0.2s;
}

.mtw-nav .mtw-nav__cta > .wp-block-navigation-item__content:hover {
	background: var(--ink-deep);
}

.mtw-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--cotton);
	color: var(--ink);
	padding: 1.25rem var(--gutter) 2rem;
}

.mtw-nav .is-menu-open .wp-block-navigation__container {
	gap: 0.35rem;
	font: 400 1.75rem/1.2 var(--display);
	align-items: flex-start;
}

.mtw-nav .is-menu-open .mtw-nav__cta {
	margin-top: 1.25rem;
	font: 600 1rem/1.2 var(--ui);
}

.mtw-nav .wp-block-navigation__responsive-container-open,
.mtw-nav .wp-block-navigation__responsive-container-close {
	color: var(--ink);
	padding: 0.5rem;
}

/* ---------- hero: the open envelope ---------- */

.mtw-hero {
	padding: clamp(0.5rem, 2vw, 1.5rem) var(--gutter) var(--section);
}

.env {
	--pocket: clamp(150px, 19vw, 230px);
	--v: clamp(52px, 8.5vw, 112px);
	--flap: clamp(250px, 56vw, 650px);
	position: relative;
	max-width: 1120px;
	padding-top: clamp(2.5rem, 7vw, 5.5rem);
	margin-inline: auto;
}

.env__flap {
	position: absolute;
	inset-inline: 0;
	bottom: calc(var(--pocket) - 1px);
	height: var(--flap);
	background: var(--liner-pattern), var(--liner);
	clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.env__inside {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: var(--pocket);
	background: var(--ink-deep);
	border-radius: 0 0 6px 6px;
}

.env__card {
	position: relative;
	z-index: 2;
	width: min(70%, 770px);
	margin-inline: auto;
	padding: clamp(1.75rem, 4.5vw, 3.5rem) clamp(1.25rem, 5vw, 4rem) calc(var(--v) + 3rem);
	background: var(--cotton);
	box-shadow: var(--paper-shadow);
	text-align: center;
	translate: 0 calc(var(--lift, 0) * -1px);
	animation: card-rise 1.1s var(--ease) both;
}

.env__card::before {
	content: "";
	position: absolute;
	inset: clamp(8px, 1.4vw, 14px);
	border: 1px solid var(--rule);
	pointer-events: none;
}

@keyframes card-rise {
	from {
		transform: translateY(64px);
	}
}

.env__title {
	margin: 0 auto;
	max-width: 15ch;
	font: 400 clamp(2.2rem, 5.6vw, 4.25rem)/1.04 var(--display);
}

.env__lede {
	margin: 1.25rem auto 0;
	max-width: 44ch;
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
	line-height: 1.55;
	color: var(--ink-soft);
}

.env__pocket {
	position: relative;
	z-index: 3;
	height: var(--pocket);
	margin-top: calc((var(--v) + 1.25rem) * -1);
	filter: drop-shadow(0 -3px 5px rgb(74 8 18 / 0.22));
}

.env__pocket-paper {
	position: absolute;
	inset: 0;
	border-radius: 0 0 6px 6px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 50 52 100 100' fill='none' stroke='%23f49cbb' stroke-opacity='.35' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
		var(--ink);
	clip-path: polygon(0 0, 50% var(--v), 100% 0, 100% 100%, 0 100%);
}

.env__seal {
	position: absolute;
	top: calc(var(--v) - clamp(34px, 5vw, 48px));
	left: 50%;
	width: clamp(68px, 10vw, 96px);
	translate: -50% 0;
}

.env__pocket .terms {
	position: absolute;
	inset-inline: 0;
	bottom: clamp(0.9rem, 2.4vw, 1.75rem);
	color: var(--on-ink-soft);
}

/* the seal */

.seal {
	display: block;
	height: auto;
	filter: drop-shadow(0 3px 5px rgb(74 8 18 / 0.45));
}

.seal__edge {
	fill: none;
	stroke: var(--raspberry);
	stroke-width: 9;
	stroke-dasharray: 0.1 13.5;
	stroke-linecap: round;
}

.seal__face {
	fill: var(--raspberry);
}

.seal__ring {
	fill: none;
	stroke: var(--on-ink);
	stroke-opacity: 0.55;
	stroke-width: 1;
}

.seal__mono {
	font: 400 34px/1 var(--display);
	letter-spacing: 0.02em;
	fill: var(--on-ink);
}

.seal.is-pressed {
	animation: seal-press 0.5s var(--ease);
}

@keyframes seal-press {
	35% {
		scale: 0.93;
	}
}

/* offer terms */

.terms {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font: 500 0.9375rem/1.3 var(--ui);
}

.terms li + li::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 0.8rem 0.18em;
	border-radius: 50%;
	background: var(--pink-mist);
}

/* ---------- names form ---------- */

.names {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.names__fields {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: clamp(0.5rem, 2vw, 1.25rem);
	max-width: 30rem;
	margin-inline: auto;
}

.names__field {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	text-align: center;
}

.names__label,
.field__label {
	font: 600 0.8125rem/1.3 var(--ui);
	color: var(--ink-soft);
}

.names input,
.field input,
.field select {
	width: 100%;
	padding: 0.35rem 0.25rem 0.45rem;
	border: 0;
	border-bottom: 1.5px solid var(--ink);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font: 400 1.5rem/1.2 var(--display);
	text-align: center;
	transition: border-color 0.2s, background-color 0.2s;
}

.names input::placeholder,
.field input::placeholder {
	color: var(--ink-soft);
	font-family: var(--text);
	font-style: italic;
	font-size: 0.82em;
	opacity: 1;
}

.names input:hover,
.field input:hover,
.field select:hover {
	background: color-mix(in srgb, var(--liner) 22%, transparent);
}

.names input:focus-visible,
.field input:focus-visible,
.field select:focus-visible {
	outline: 0;
	border-bottom-color: var(--foil-deep);
	box-shadow: 0 2px 0 var(--foil-deep);
	background: color-mix(in srgb, var(--liner) 22%, transparent);
}

.names__amp {
	padding-bottom: 0.3rem;
	font: italic 400 1.75rem/1 var(--text);
	color: var(--foil-deep);
}

.names .btn {
	margin-top: 1.5rem;
}

/* ---------- what guests see ---------- */

.mtw-preview {
	padding-block: var(--section);
	background: var(--cotton);
}

.preview {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(2rem, 7vw, 6rem);
	align-items: center;
}

.preview__copy h2 {
	margin: 0 0 1.25rem;
	max-width: 16ch;
}

.preview__copy > p {
	max-width: 54ch;
}

.ticks {
	margin: 1.75rem 0 2rem;
	padding: 0;
	list-style: none;
	max-width: 54ch;
}

.ticks li {
	display: flex;
	gap: 0.85rem;
	padding-block: 0.7rem;
	border-top: 1px solid var(--rule);
}

.ticks li:last-child {
	border-bottom: 1px solid var(--rule);
}

.ticks .ico {
	margin-top: 0.3em;
	color: var(--foil-deep);
}

.preview__figure {
	margin: 0;
}

.preview__figure figcaption {
	margin-top: 1.1rem;
	max-width: 300px;
	font: 400 0.875rem/1.45 var(--ui);
	color: var(--ink-soft);
	text-align: center;
}

.site {
	width: min(310px, 80vw);
	box-shadow: 0 2px 4px rgb(74 8 18 / 0.14), 0 30px 50px -24px rgb(74 8 18 / 0.5);
	rotate: 2deg;
}

.site__screen {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 3rem 1.6rem 1.9rem;
	border-radius: 3px;
	background: var(--liner-pattern) top center / 28px 28px repeat-x, var(--cotton);
	text-align: center;
}

.site__screen p {
	margin: 0;
}

.site__line {
	margin-top: 1.25rem !important;
	font: 500 0.8125rem/1.3 var(--ui);
	color: var(--ink-soft);
}

.site__names {
	margin-top: 0.5rem !important;
	font: 400 2.125rem/1.05 var(--display);
	overflow-wrap: anywhere;
}

.site__date {
	margin-top: 0.6rem !important;
	font: 500 0.875rem/1.3 var(--ui);
}

.site__programme {
	width: 100%;
	margin: 1.5rem 0 1.4rem;
	padding: 0;
	list-style: none;
	font: 400 0.9375rem/1.3 var(--ui);
	text-align: left;
}

.site__programme li {
	display: flex;
	gap: 1rem;
	padding: 0.55rem 0;
	border-top: 1px solid var(--rule);
}

.site__time {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.site__rsvp {
	display: block;
	width: 100%;
	padding: 0.7rem 1rem;
	border-radius: 2px;
	background: var(--ink);
	color: var(--on-ink);
	font: 600 0.875rem/1.2 var(--ui);
}

/* ---------- the suite: paper pieces ---------- */

.mtw-suite {
	padding-block: var(--section);
}

.suite__title {
	margin: 0;
	max-width: 18ch;
}

.suite__intro {
	margin: 1.25rem 0 0;
	max-width: 58ch;
	color: var(--ink-soft);
	font-size: 1.125rem;
}

.suite {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 3rem);
	margin-top: clamp(2.5rem, 6vw, 4.5rem);
	align-items: end;
}

.piece {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 1.5rem;
	color: inherit;
	text-decoration: none;
}

.piece--invite { grid-column: span 4; }
.piece--reply { grid-column: span 5; }
.piece--table { grid-column: span 3; }
.piece--photo { grid-column: span 3; }
.piece--save { grid-column: span 4; }
.piece--list { grid-column: span 5; }

.piece__paper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: var(--paper-shadow);
	transform-origin: 50% 100%;
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.piece:hover .piece__paper,
.piece:focus-visible .piece__paper {
	transform: translateY(-6px) rotate(0deg);
	box-shadow: 0 1px 2px rgb(74 8 18 / 0.1), 0 26px 40px -18px rgb(74 8 18 / 0.45);
}

.piece__body {
	min-height: 8.5rem;
}

.piece__body h3 {
	margin: 0 0 0.4rem;
	font-size: 1.5rem;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.25em;
	transition: text-decoration-color 0.25s;
}

.piece:hover h3 {
	text-decoration-color: var(--raspberry);
}

.piece__text {
	display: block;
	max-width: 36ch;
	color: var(--ink-soft);
	font-size: 1rem;
	line-height: 1.55;
}

.piece__small {
	font: 500 0.75rem/1.3 var(--ui);
	color: inherit;
}

.piece--invite .piece__paper {
	width: min(230px, 100%);
	aspect-ratio: 5 / 7;
	padding: 1.5rem 1rem;
	gap: 0.9rem;
	background: var(--cotton);
	outline: 1px solid var(--rule);
	outline-offset: -9px;
	transform: rotate(-2.5deg);
	text-align: center;
}

.piece__names {
	font: 400 1.75rem/1.05 var(--display);
	overflow-wrap: anywhere;
}

.piece__rule {
	width: 2.5rem;
	height: 2px;
	background: var(--raspberry);
}

.piece--reply .piece__paper {
	width: min(330px, 100%);
	aspect-ratio: 7 / 4.4;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1.5rem 1.75rem;
	background: var(--ink);
	color: var(--on-ink);
	transform: rotate(1.5deg);
}

.piece__line {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font: 400 1.0625rem/1.2 var(--text);
}

.piece__line i {
	width: 15px;
	height: 15px;
	border: 1.5px solid var(--foil);
	border-radius: 1px;
}

.piece__line:first-child i {
	background: var(--foil);
	box-shadow: inset 0 0 0 2.5px var(--ink);
}

.piece--table .piece__paper {
	width: 150px;
	height: 118px;
	gap: 0.1rem;
	background: linear-gradient(to bottom, var(--vellum) 0 12%, var(--cotton) 12%);
	border-top: 1px solid var(--rule);
	transform: rotate(-1.5deg);
}

.piece__number {
	font: 400 3.25rem/1 var(--display);
}

.piece--photo .piece__paper {
	width: 164px;
	padding: 12px 12px 34px;
	background: var(--cotton);
	transform: rotate(3deg);
}

.piece__qr {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21' shape-rendering='crispEdges'%3E%3Cpath fill='%23cbeef3' d='M0 0h21v21H0z'/%3E%3Cpath fill='%23880d1e' d='M1 1h7v7H1zM13 1h7v7h-7zM1 13h7v7H1z'/%3E%3Cpath fill='%23cbeef3' d='M2 2h5v5H2zM14 2h5v5h-5zM2 14h5v5H2z'/%3E%3Cpath fill='%23880d1e' d='M3 3h3v3H3zM15 3h3v3h-3zM3 15h3v3H3zM9 1h1v2H9zM11 2h1v3h-1zM9 5h2v1H9zM9 7h1v3H9zM11 8h2v1h-2zM1 9h2v1H1zM4 10h3v1H4zM2 11h1v1H2zM6 9h1v1H6zM14 9h1v2h-1zM16 10h2v1h-2zM19 9h1v3h-1zM9 11h1v1H9zM11 10h1v3h-1zM13 12h2v1h-2zM16 12h1v2h-1zM18 13h2v1h-2zM9 13h1v3H9zM11 14h2v1h-2zM14 14h1v3h-1zM16 15h3v1h-3zM10 17h3v1h-3zM9 19h2v1H9zM12 19h1v1h-1zM14 18h2v2h-2zM17 17h1v2h-1zM19 16h1v4h-1z'/%3E%3C/svg%3E") center / cover;
}

.piece--save .piece__paper {
	width: min(250px, 100%);
	aspect-ratio: 7 / 5;
	gap: 0.35rem;
	background: var(--liner-pattern), var(--pink-mist);
	transform: rotate(-1.5deg);
}

.piece__date {
	font: 400 2.5rem/1 var(--display);
	font-variant-numeric: lining-nums;
}

.piece--list .piece__paper {
	width: min(280px, 100%);
	align-items: stretch;
	padding: 1.35rem 1.4rem 1.1rem;
	background: var(--cotton);
	transform: rotate(1deg);
}

.piece__check {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--rule);
	font: 400 0.9375rem/1.3 var(--ui);
}

.piece__check:last-child {
	border-bottom: 0;
}

.piece__check::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	border: 1.5px solid var(--ink);
	border-radius: 1px;
}

.piece__check.is-done {
	color: var(--ink-soft);
	text-decoration: line-through;
	text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent);
}

.piece__check.is-done::before {
	background: var(--ink);
	box-shadow: inset 0 0 0 2.5px var(--cotton);
}

/* ---------- RSVP demo: the reply card ---------- */

.mtw-rsvp {
	padding-block: var(--section);
	background: var(--ink);
	color: var(--on-ink);
}

.rsvp {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}

.rsvp__copy h2 {
	margin: 0 0 1.25rem;
	color: var(--on-ink);
	max-width: 14ch;
}

.rsvp__copy p {
	max-width: 46ch;
	color: var(--on-ink-soft);
}

.rsvp__demo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
	align-items: start;
	color: var(--ink);
}

.reply {
	position: relative;
	z-index: 1;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--cotton);
	box-shadow: 0 2px 4px rgb(40 4 9 / 0.3), 0 24px 44px -20px rgb(40 4 9 / 0.7);
	rotate: -1.2deg;
}

.reply__title {
	margin: 0;
	font: 400 1.875rem/1.1 var(--display);
}

.reply__for {
	margin: 0.25rem 0 1.5rem;
	padding-bottom: 1.1rem;
	border-bottom: 2px solid var(--raspberry);
	font-size: 0.9688rem;
	color: var(--ink-soft);
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	flex: 1 1 0;
	min-width: 0;
}

.field input,
.field select {
	text-align: left;
	font-size: 1.25rem;
}

.field select {
	appearance: none;
	padding-right: 1.4rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23880d1e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 0.2rem center / 11px no-repeat;
	cursor: pointer;
}

.field--small {
	flex: 0 0 4.75rem;
}

.choice {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 1.25rem 0;
	padding: 0;
	border: 0;
}

.choice legend {
	width: 100%;
	margin-bottom: 0.5rem;
	padding: 0;
}

.choice label {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 1.0625rem;
	cursor: pointer;
}

.choice input {
	appearance: none;
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1.5px solid var(--ink);
	border-radius: 1px;
	cursor: pointer;
	transition: background-color 0.15s, box-shadow 0.15s;
}

.choice input:checked {
	background: var(--ink);
	box-shadow: inset 0 0 0 3px var(--cotton);
}

.reply__row {
	display: flex;
	gap: 1.25rem;
	transition: opacity 0.25s;
}

.reply__row[hidden] {
	display: none;
}

.reply__error {
	margin: 1rem 0 0;
	font: 500 0.9375rem/1.4 var(--ui);
	color: var(--error);
}

.reply .btn {
	margin-top: 1.5rem;
	width: 100%;
}

.reply__note {
	margin: 0.85rem 0 0;
	font: 400 0.8125rem/1.4 var(--ui);
	color: var(--ink-soft);
	text-align: center;
}

.guests {
	margin: 2.5rem 0 0 -1.25rem;
	padding: 1.4rem 1.4rem 0.6rem 2.4rem;
	background: var(--vellum);
	box-shadow: 0 2px 4px rgb(40 4 9 / 0.3), 0 24px 44px -24px rgb(40 4 9 / 0.65);
	rotate: 1deg;
}

.guests__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.75rem;
	margin: 0 0 0.5rem;
	font: 400 1.375rem/1.2 var(--display);
}

.guests__count {
	font: 500 0.8125rem/1.3 var(--ui);
	color: var(--ink-soft);
	white-space: nowrap;
}

.guests__count b {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}

.guests__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.guests__list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0 0.75rem;
	align-items: center;
	padding: 0.7rem 0;
	border-top: 1px solid var(--rule);
}

.guests__name {
	font-size: 1rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.guests__meta {
	grid-column: 1;
	font: 400 0.8125rem/1.35 var(--ui);
	color: var(--ink-soft);
	overflow-wrap: anywhere;
}

.guests__state {
	grid-column: 2;
	grid-row: 1 / span 2;
	padding: 0.25rem 0.55rem;
	border-radius: 2px;
	font: 600 0.75rem/1.2 var(--ui);
	white-space: nowrap;
}

.guests__state.is-yes {
	background: var(--foil);
	color: var(--ink);
}

.guests__state.is-no {
	box-shadow: inset 0 0 0 1px var(--ink-soft);
	color: var(--ink-soft);
}

.guests__list li.is-new {
	animation: guest-in 0.8s var(--ease);
}

@keyframes guest-in {
	from {
		background: var(--foil-light);
		transform: translateY(-8px);
	}
}

/* ---------- example styles ---------- */

.mtw-styles {
	padding-block: var(--section);
	background: var(--cotton);
}

.mtw-styles h2 {
	margin: 0;
	max-width: 18ch;
}

.styles__intro {
	margin: 1.25rem 0 0;
	max-width: 60ch;
	color: var(--ink-soft);
	font-size: 1.125rem;
}

.styles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.5rem);
	margin: clamp(3.5rem, 7vw, 5.5rem) 0 0;
	padding: 0;
	list-style: none;
}

.style {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* each style is shown as a small trouwwebsite in a browser window */
.style__site {
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: var(--c);
	color: var(--t);
	box-shadow: var(--paper-shadow);
	transition: translate 0.6s var(--ease);
}

.style:hover .style__site {
	translate: 0 -6px;
}

.style__bar {
	display: flex;
	gap: 5px;
	padding: 7px 9px;
	background: color-mix(in srgb, var(--e) 16%, #fff);
}

.style__bar i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--e) 45%, #fff);
}

.style__page {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	padding: 1.1rem 9% 1.2rem;
	border-top: 5px solid var(--e);
	text-align: center;
}

.style__kicker {
	font: 500 0.6875rem/1.3 var(--ui);
	opacity: 0.75;
}

.style__names {
	font: 400 clamp(1.05rem, 2vw, 1.6rem)/1.05 var(--display);
	overflow-wrap: anywhere;
}

.style__date {
	font: 500 clamp(0.6875rem, 0.9vw, 0.75rem)/1.3 var(--ui);
}

.style__menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.2rem 0.7rem;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.4rem 0;
	border-block: 1px solid color-mix(in srgb, var(--t) 18%, transparent);
	font: 600 0.625rem/1.2 var(--ui);
	font-style: normal;
}

.style__menu i {
	font-style: normal;
}

.style__lines {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	width: 100%;
	margin-top: 0.3rem;
}

.style__lines i {
	width: 88%;
	height: 4px;
	border-radius: 1px;
	background: color-mix(in srgb, var(--t) 16%, transparent);
}

.style__lines i + i {
	width: 64%;
}

.style__rsvp {
	margin-top: 0.45rem;
	padding: 0.4rem 0.8rem;
	border-radius: 2px;
	background: var(--e);
	color: var(--c);
	font: 600 0.6875rem/1.2 var(--ui);
}

.style--zand .style__rsvp,
.style--mist .style__rsvp {
	color: var(--t);
}

.style__name {
	font: 600 0.9375rem/1.3 var(--ui);
}

.style__try {
	font-size: 0.9375rem;
	align-self: flex-start;
	min-height: 2.75rem;
}

.style--bes { --e: #880d1e; --c: #f6fcfd; --t: #880d1e; }
.style--salie { --e: #8a9a7e; --c: #f4f1e6; --t: #3c4a35; }
.style--bordeaux { --e: #6e1f33; --c: #f7efe9; --t: #6e1f33; }
.style--zand { --e: #d8c3a0; --c: #fbf6ec; --t: #8a3f24; }
.style--nacht { --e: #1b1b1f; --c: #ece9e2; --t: #1b1b1f; }
.style--mist { --e: #f49cbb; --c: #f6fcfd; --t: #880d1e; }

.style--salie .style__names,
.style--mist .style__names {
	font-family: var(--ui);
	font-weight: 500;
	letter-spacing: -0.02em;
}

.style--nacht .style__names {
	font-family: var(--text);
	font-style: italic;
}

.styles__note {
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	font: 400 0.9375rem/1.5 var(--ui);
	color: var(--ink-soft);
}

/* ---------- steps ---------- */

.mtw-steps {
	padding: var(--section) var(--gutter);
}

.mtw-steps > * {
	max-width: 1100px;
	margin-inline: auto;
}

.mtw-steps h2 {
	margin-block: 0;
	max-width: 1100px;
}

.mtw-steps ol {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-block: clamp(2rem, 5vw, 3.5rem) 2.5rem;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.mtw-steps ol li {
	counter-increment: step;
	padding-top: 1.25rem;
	border-top: 2px solid var(--ink);
	color: var(--ink-soft);
}

.mtw-steps ol li::before {
	content: counter(step);
	display: block;
	margin-bottom: 0.75rem;
	font: 400 4rem/0.9 var(--display);
	color: var(--foil-deep);
}

.mtw-steps ol strong {
	display: block;
	margin-bottom: 0.35rem;
	font: 400 1.5rem/1.2 var(--display);
	color: var(--ink);
}

.mtw-steps p a {
	font: 600 1rem/1.3 var(--ui);
	text-decoration-color: var(--raspberry);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
}

/* ---------- price ---------- */

.mtw-price {
	padding-block: var(--section);
	background: var(--cotton);
}

.price {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
	gap: clamp(2.5rem, 7vw, 6rem);
	align-items: center;
}

.price__copy h2 {
	margin: 0 0 1.25rem;
}

.price__copy p {
	max-width: 50ch;
}

.ticket {
	position: relative;
	padding: clamp(1.75rem, 3.5vw, 2.5rem);
	background: var(--ink);
	color: var(--on-ink);
	box-shadow: 0 2px 4px rgb(74 8 18 / 0.2), 0 30px 50px -26px rgb(74 8 18 / 0.7);
}

.ticket::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid color-mix(in srgb, var(--foil) 55%, transparent);
	pointer-events: none;
}

.ticket__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding-block: 0.9rem;
	border-bottom: 1px solid color-mix(in srgb, var(--liner) 30%, transparent);
}

.ticket__what {
	font-size: 1.0625rem;
}

.ticket__what small {
	display: block;
	font: 400 0.875rem/1.4 var(--ui);
	color: var(--on-ink-soft);
}

.ticket__amount {
	font: 400 1.75rem/1 var(--display);
	font-variant-numeric: lining-nums tabular-nums;
	white-space: nowrap;
}

.ticket__row--main .ticket__amount {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	color: var(--foil);
}

.ticket__row--main .ticket__amount--open {
	font-size: 1.75rem;
}

.ticket__list {
	margin: 1.5rem 0;
	padding: 0;
	list-style: none;
	font-size: 1rem;
	color: var(--on-ink-soft);
}

.ticket__list li {
	display: flex;
	gap: 0.75rem;
	padding-block: 0.3rem;
}

.ticket__list .ico {
	margin-top: 0.3em;
	color: var(--foil);
}

.ticket .btn {
	position: relative;
	width: 100%;
}

/* ---------- FAQ ---------- */

.mtw-faq {
	padding: var(--section) var(--gutter);
}

.mtw-faq > * {
	max-width: 780px;
	margin-inline: auto;
}

.mtw-faq h2 {
	margin-block: 0 clamp(1.5rem, 3vw, 2.5rem);
}

.wp-block-details {
	margin-block: 0 !important;
	border-top: 1px solid var(--rule);
}

.wp-block-details:last-of-type {
	border-bottom: 1px solid var(--rule);
}

.wp-block-details summary {
	position: relative;
	display: block;
	padding: 1.15rem 3rem 1.15rem 0;
	font: 400 1.25rem/1.3 var(--text);
	cursor: pointer;
	list-style: none;
	transition: color 0.2s;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::before,
.wp-block-details summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.5rem;
	width: 15px;
	height: 1.5px;
	background: var(--foil-deep);
	transition: rotate 0.35s var(--ease);
}

.wp-block-details summary::after {
	rotate: 90deg;
}

.wp-block-details[open] summary::after {
	rotate: 0deg;
}

.wp-block-details summary:hover {
	text-decoration: underline;
	text-decoration-color: var(--raspberry);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

.wp-block-details > :not(summary) {
	margin: 0;
	padding: 0 3rem 1.4rem 0;
	max-width: 68ch;
	color: var(--ink-soft);
}

.mtw-faq > p:last-child {
	margin-top: 2rem;
}

.mtw-faq > p:last-child a {
	font: 600 1rem/1.3 var(--ui);
	text-decoration-color: var(--raspberry);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
}

/* ---------- closing: the sealed envelope ---------- */

.mtw-cta {
	padding: 0 var(--gutter);
	background: var(--ink);
	color: var(--on-ink);
	overflow: hidden;
}

.cta {
	--flap: clamp(120px, 22vw, 270px);
	position: relative;
	max-width: 1040px;
	margin-inline: auto;
	padding: calc(var(--flap) + clamp(3.5rem, 7vw, 5.5rem)) 0 var(--section);
	text-align: center;
}

.cta__flap {
	position: absolute;
	top: 0;
	left: 50%;
	width: 100vw;
	max-width: 1500px;
	height: var(--flap);
	translate: -50% 0;
	background: var(--ink-lift);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.cta__seal {
	position: absolute;
	top: calc(var(--flap) - clamp(40px, 6vw, 58px));
	left: 50%;
	width: clamp(76px, 11vw, 108px);
	translate: -50% 0;
}

.cta__title {
	margin: 0 auto;
	max-width: 19ch;
	color: var(--on-ink);
	font-size: clamp(2rem, 4.6vw, 3.5rem);
}

.mtw-cta .names__label {
	color: var(--on-ink-soft);
}

.mtw-cta .names input {
	border-bottom-color: var(--pink-mist);
	color: var(--on-ink);
	caret-color: var(--foil);
}

.mtw-cta .names input::placeholder {
	color: var(--on-ink-soft);
}

.mtw-cta .names input:hover,
.mtw-cta .names input:focus-visible {
	background: rgb(255 255 255 / 0.07);
}

.mtw-cta .names input:focus-visible {
	border-bottom-color: var(--foil);
	box-shadow: 0 2px 0 var(--foil);
}

.mtw-cta .names__amp {
	color: var(--foil);
}

.mtw-cta .terms {
	margin-top: 2rem;
	color: var(--on-ink-soft);
}

.mtw-cta :focus-visible {
	outline-color: var(--foil);
}

/* ---------- inner pages: band and letter sheet ---------- */

.mtw-pagehero {
	padding: clamp(2rem, 5vw, 4rem) 0 clamp(6rem, 11vw, 9rem);
	background: var(--ink);
	color: var(--on-ink);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(2rem, 5vw, 4.5rem)), 50% 100%, 0 calc(100% - clamp(2rem, 5vw, 4.5rem)));
}

.pagehero {
	max-width: 900px;
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.6rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	font: 500 0.875rem/1.4 var(--ui);
	color: var(--on-ink-soft);
}

.crumbs li + li::before {
	content: "/";
	margin-right: 0.6rem;
	color: var(--liner);
}

.crumbs a {
	color: var(--on-ink);
	text-decoration-color: var(--pink-mist);
}

.pagehero__title {
	margin: 0;
	max-width: 20ch;
	color: var(--on-ink);
	font-size: clamp(2.2rem, 5.2vw, 3.875rem);
	line-height: 1.05;
}

.pagehero__intro {
	margin: 1.25rem 0 0;
	max-width: 56ch;
	font-size: clamp(1.125rem, 1.6vw, 1.25rem);
	line-height: 1.55;
	color: var(--on-ink-soft);
}

.pagehero__meta {
	margin: 1.25rem 0 0;
	font: 500 0.875rem/1.4 var(--ui);
	color: var(--on-ink-soft);
}

.mtw-pagehero :focus-visible {
	outline-color: var(--foil);
}

.mtw-sheet,
.mtw-posts {
	--pad: clamp(1.25rem, 5vw, 4.5rem);
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin: clamp(-5.5rem, -8vw, -4rem) auto var(--section) !important;
	padding: var(--pad);
	background: var(--cotton);
	box-shadow: var(--paper-shadow);
}

@media (max-width: 940px) {
	.mtw-sheet,
	.mtw-posts {
		margin-inline: var(--gutter) !important;
	}
}

.mtw-sheet > * {
	max-width: 40rem;
	margin-inline: auto !important;
}

.mtw-sheet > :first-child {
	margin-block-start: 0;
}

.mtw-sheet h2 {
	margin-block: 3rem 0.9rem;
	font-size: clamp(1.75rem, 3.2vw, 2.25rem);
}

.mtw-sheet h3 {
	margin-block: 2rem 0.5rem;
	font-size: clamp(1.3rem, 2.4vw, 1.5rem);
}

.mtw-sheet > p,
.mtw-sheet > ul,
.mtw-sheet > ol {
	margin-block: 0 1.15rem;
}

.mtw-sheet ul,
.mtw-sheet ol {
	padding-left: 1.3rem;
}

.mtw-sheet li {
	margin-block: 0.45rem;
	padding-left: 0.3rem;
}

.mtw-sheet li::marker {
	color: var(--foil-deep);
	font-family: var(--ui);
	font-weight: 600;
}

.mtw-sheet a {
	text-decoration-color: var(--raspberry);
	text-decoration-thickness: 2px;
}

.mtw-sheet a:hover {
	text-decoration-color: var(--ink);
}

/* article pieces: example texts, comparison tables, tick lists */
.mtw-sheet .wp-block-quote {
	margin-block: 1.5rem;
	padding: 1.1rem 1.35rem;
	border: 0;
	border-block: 1px solid var(--raspberry);
	background: color-mix(in srgb, var(--vellum) 45%, transparent);
	font-style: normal;
}

.mtw-sheet .wp-block-quote p {
	margin-block: 0 0.75rem;
}

.mtw-sheet .wp-block-quote p:last-child {
	margin-block-end: 0;
}

.mtw-sheet .wp-block-table {
	margin-block: 1.5rem;
	overflow-x: auto;
}

.mtw-sheet .wp-block-table table {
	width: 100%;
	min-width: 30rem;
	border-collapse: collapse;
	table-layout: auto;
	font: 400 0.9375rem/1.45 var(--ui);
}

.mtw-sheet .wp-block-table th,
.mtw-sheet .wp-block-table td {
	padding: 0.65rem 0.75rem 0.65rem 0;
	border: 0;
	border-bottom: 1px solid var(--rule);
	text-align: left;
	vertical-align: top;
}

.mtw-sheet .wp-block-table th {
	border-bottom-color: var(--ink);
	font-weight: 600;
}

.mtw-sheet .mtw-checklist {
	padding-left: 0;
	list-style: none;
}

.mtw-sheet .mtw-checklist li {
	position: relative;
	padding-left: 1.9rem;
}

.mtw-sheet .mtw-checklist li::before {
	content: "";
	position: absolute;
	top: 0.3em;
	left: 0;
	width: 1.05rem;
	height: 1.05rem;
	border: 1.5px solid var(--foil-deep);
	border-radius: 3px;
}

.mtw-sheet code {
	font-size: 0.9em;
}

/* full-width pieces inside a sheet run edge to edge */
.mtw-sheet > .alignfull {
	max-width: none;
	margin-inline: calc(var(--pad) * -1) !important;
	margin-block: 0 clamp(2rem, 4vw, 3rem);
	padding: clamp(2rem, 5vw, 3.5rem) var(--pad);
}

.mtw-sheet > .alignfull:first-child {
	margin-top: calc(var(--pad) * -1);
}

.mtw-sheet .mtw-wrap {
	padding-inline: 0;
}

.mtw-sheet .rsvp,
.mtw-sheet .price {
	grid-template-columns: minmax(0, 1fr);
}

.mtw-sheet .rsvp__copy,
.mtw-sheet .price__copy {
	display: none;
}

.mtw-sheet .mtw-styles h2,
.mtw-sheet .styles__intro {
	display: none;
}

.mtw-sheet .styles {
	margin-top: 2rem;
}

.mtw-sheet .mtw-price,
.mtw-sheet .mtw-styles {
	background: var(--vellum);
}

.mtw-sheet .ticket {
	max-width: 30rem;
	margin-inline: auto;
}

.contactcard {
	padding: 1.5rem 0;
	border-block: 2px solid var(--raspberry);
}

.contactcard__line {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	margin: 0;
	font-size: 1.1875rem;
}

.contactcard__line span {
	min-width: 4.5rem;
	font: 600 0.875rem/2.1 var(--ui);
	color: var(--ink-soft);
}

/* blog index */

.mtw-posts .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mtw-posts .wp-block-post {
	margin: 0;
	padding-block: 1.75rem;
	border-top: 1px solid var(--rule);
}

.mtw-posts .wp-block-post:first-child {
	padding-top: 0;
	border-top: 0;
}

.mtw-posts .wp-block-post-title {
	margin: 0 0 0.6rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.mtw-posts .wp-block-post-title a {
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	transition: text-decoration-color 0.2s;
}

.mtw-posts .wp-block-post-title a:hover {
	text-decoration-color: var(--raspberry);
}

.mtw-posts .wp-block-post-excerpt {
	margin: 0;
	color: var(--ink-soft);
}

.mtw-posts .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 0.6rem;
	font: 600 0.9375rem/1.3 var(--ui);
	color: var(--ink);
	text-decoration-color: var(--raspberry);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
}

/* ---------- footer ---------- */

.mtw-footer {
	margin-block-start: 0;
	padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
	background: var(--ink-deep);
	color: var(--on-ink-soft);
	font: 400 0.9688rem/1.5 var(--ui);
}

.mtw-footer > * {
	max-width: 1100px;
	margin-inline: auto;
}

.mtw-footer__cols {
	gap: clamp(1.5rem, 4vw, 3rem);
}

.mtw-footer .mtw-logo {
	color: var(--on-ink);
}

.mtw-footer__line {
	margin-top: 0.9rem;
	max-width: 30ch;
}

.mtw-footer__head {
	margin: 0 0 0.9rem;
	font-weight: 600;
	color: var(--pink-mist);
}

.mtw-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mtw-footer__list li {
	margin-block: 0.5rem;
}

.mtw-footer a {
	color: var(--on-ink);
	text-decoration-color: transparent;
	transition: text-decoration-color 0.2s;
}

.mtw-footer a:hover {
	text-decoration-color: var(--pink-mist);
}

.mtw-footer :focus-visible {
	outline-color: var(--foil);
}

.mtw-footer__legal {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: 1.25rem;
	border-top: 1px solid color-mix(in srgb, var(--liner) 25%, transparent);
	font-size: 0.875rem;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
	.preview,
	.rsvp,
	.price {
		grid-template-columns: minmax(0, 1fr);
	}

	.preview__figure {
		justify-self: center;
	}

	.suite {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.piece--invite,
	.piece--reply,
	.piece--table,
	.piece--photo,
	.piece--save,
	.piece--list {
		grid-column: span 3;
	}

	.mtw-steps ol {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.price .ticket {
		max-width: 30rem;
	}
}

@media (max-width: 640px) {
	.env__card {
		width: 80%;
		padding-inline: 0.9rem;
	}

	.env__pocket .terms {
		padding-inline: 0.5rem;
		font-size: 0.75rem;
	}

	.env__pocket .terms li + li::before {
		margin-inline: 0.35rem;
	}

	.style__names {
		font-size: clamp(0.8rem, 3.9vw, 1rem);
		white-space: nowrap;
		overflow-wrap: normal;
	}

	.names__fields {
		gap: 0.4rem;
	}

	.names input {
		font-size: 1.3125rem;
	}

	.names .btn,
	.wp-block-button__link {
		width: 100%;
	}

	.env__pocket .terms,
	.terms {
		font-size: 0.8125rem;
	}

	.terms li + li::before {
		margin-inline: 0.5rem;
	}

	.suite {
		grid-template-columns: minmax(0, 1fr);
		gap: 3rem;
	}

	.piece__body {
		min-height: 0;
	}

	.piece--invite,
	.piece--reply,
	.piece--table,
	.piece--photo,
	.piece--save,
	.piece--list {
		grid-column: auto;
	}

	.piece__paper {
		max-width: 86%;
	}

	.rsvp__demo {
		grid-template-columns: minmax(0, 1fr);
	}

	.reply,
	.guests {
		rotate: none;
	}

	.guests {
		margin: 0;
		padding: 1.4rem 1.25rem 0.6rem;
	}

	.styles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mtw-footer__cols {
		gap: 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}

	.env__card {
		translate: none;
	}
}

/* ---------- cookie question: a small note card ---------- */

.cookies {
	position: fixed;
	z-index: 50;
	left: var(--gutter);
	bottom: var(--gutter);
	width: min(24rem, calc(100vw - 2 * var(--gutter)));
	padding: 1.4rem 1.5rem 1.5rem;
	background: var(--cotton);
	color: var(--ink);
	box-shadow: 0 2px 4px rgb(74 8 18 / 0.16), 0 24px 44px -18px rgb(74 8 18 / 0.55);
	animation: cookies-in 0.6s var(--ease);
}

.cookies[hidden] {
	display: none;
}

@keyframes cookies-in {
	from {
		transform: translateY(24px);
	}
}

.cookies__title {
	margin: 0 0 0.4rem;
	font: 400 1.5rem/1.15 var(--display);
}

.cookies__text {
	margin: 0 0 1.1rem;
	font-size: 0.9688rem;
	line-height: 1.5;
	color: var(--ink-soft);
}

.cookies__actions {
	display: flex;
	gap: 0.6rem;
}

.cookies__actions .btn {
	flex: 1 1 0;
	min-height: 2.9rem;
	padding: 0.6rem 0.9rem;
}

.cookies-open {
	margin-left: 1rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--on-ink);
	font: inherit;
	text-decoration: underline;
	text-decoration-color: var(--pink-mist);
	text-underline-offset: 0.2em;
	cursor: pointer;
}
