/**
 * Villa Gere — Digital Welcome Book
 *
 * The only stylesheet on these pages: Uncode's CSS is dequeued, so this file
 * carries its own reset. Written mobile-first around a phone-width column,
 * because that is how a guest standing in the kitchen actually holds it.
 */

/* ---------------------------------------------------------------- Fonts -- */

@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('fonts/PlusJakartaSans-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('fonts/PlusJakartaSans-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('fonts/PlusJakartaSans-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('fonts/PlusJakartaSans-ExtraBold.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* --------------------------------------------------------------- Tokens -- */

:root {
	--wb-brown: #473a33;
	--wb-brown-deep: #3b2f29;
	--wb-gold: #9c7949;
	--wb-sand: #e0d2c3;
	--wb-cream: #f5efe7;
	--wb-white: #fff;
	--wb-ink: #333;
	--wb-ink-soft: #5a5a5a;
	/* Success feedback only — a distinct hue reads faster than a tint of gold. */
	--wb-ok: #4a7c59;

	--wb-r-card: 22px;
	--wb-r-pill: 999px;
	--wb-col: 620px;
	--wb-gutter: 20px;

	--wb-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	/* Per-skin, overridden below. */
	--wb-bg: var(--wb-cream);
	--wb-fg: var(--wb-ink);
	--wb-card-bg: var(--wb-white);
	--wb-card-fg: var(--wb-ink);
	--wb-disc-bg: var(--wb-sand);
	--wb-disc-fg: var(--wb-ink);
}

/* ---------------------------------------------------------------- Reset -- */

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

html {
	-webkit-text-size-adjust: 100%;
}

body.vgwb {
	margin: 0;
	padding: 0;
	font-family: var(--wb-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--wb-fg);
	background: var(--wb-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.vgwb img,
.vgwb svg {
	max-width: 100%;
	display: block;
}

.vgwb img {
	height: auto;
}

/*
 * Resets are wrapped in :where() so they carry zero specificity. Written plain,
 * `.vgwb a` (0,1,1) outranks any single-class component rule (0,1,0) and quietly
 * drags colours and backgrounds back to the reset — which is exactly what was
 * bleaching the copy button and the solid CTAs.
 */
.vgwb :where(a) {
	color: inherit;
	text-decoration: none;
}

/* :where() for the same reason as the a/button resets above — at full
 * specificity `.vgwb h2 { margin: 0 }` silently beat the .mb-* helpers. */
.vgwb :where(h1, h2, h3, p, figure) {
	margin: 0;
}

.vgwb :where(ul) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vgwb :where(button) {
	font: inherit;
	color: inherit;
	border: 0;
	background: none;
	cursor: pointer;
}

.vgwb :focus-visible {
	outline: 3px solid var(--wb-gold);
	outline-offset: 3px;
	border-radius: 6px;
}

.vgwb-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 12px 18px;
	background: var(--wb-white);
	color: var(--wb-ink);
	border-radius: 0 0 12px 0;
}

.vgwb-skip:focus {
	left: 0;
}

/* --------------------------------------------------------------- Layout -- */

.vgwb-app {
	min-height: 100vh;
	min-height: 100dvh;
}

.vgwb-wrap {
	width: 100%;
	max-width: var(--wb-col);
	margin-inline: auto;
	padding-inline: var(--wb-gutter);
}

.vgwb-spacer--s { height: 12px; }
.vgwb-spacer--m { height: 28px; }
.vgwb-spacer--l { height: 52px; }

/*
 * Hand-placed bottom margin. Unnamespaced on purpose — this is the only
 * stylesheet on these pages, so nothing can collide with it.
 *
 * Note that adjacent vertical margins collapse: where the next element already
 * carries a margin-top of its own, this only shows above that value.
 */
.mb-sm { margin-bottom: 24px; }
.mb-md { margin-bottom: 48px; }

/* ------------------------------------------------------------ Host note -- */

/*
 * First thing on the page now that the cover is gone, so it carries the
 * safe-area inset itself — otherwise the heading sits under the notch when the
 * book is opened from the home screen.
 */
.vgwb-host {
	position: relative;
	padding: calc(42px + env(safe-area-inset-top, 0px)) 0 46px;
	background: var(--wb-cream);
	text-align: center;
}

.vgwb-host--photo {
	color: var(--wb-white);
	background-image: var(--vgwb-host-bg);
	background-size: cover;
	background-position: center;
}

.vgwb-host--photo::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(30, 22, 18, 0.5) 0%, rgba(30, 22, 18, 0.35) 45%, rgba(30, 22, 18, 0.55) 100%);
}

.vgwb-host > * {
	position: relative;
}

.vgwb-host__title {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.vgwb-host__signature {
	margin-top: 6px;
	font-size: 19px;
	font-weight: 500;
	opacity: 0.9;
}

.vgwb-host__photo {
	width: 132px;
	height: 132px;
	margin: 22px auto 0;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid rgba(255, 255, 255, 0.85);
}

.vgwb-host__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vgwb-host__note {
	margin-top: 22px;
	text-align: center;
}

.vgwb-host__note p {
	margin: 0 0 1em;
}

.vgwb-host__note p:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------- Contacts -- */

.vgwb-contacts {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.vgwb-contact {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	background: var(--wb-white);
	color: var(--wb-ink);
	border-radius: var(--wb-r-pill);
	text-align: left;
	transition: transform 0.18s ease;
}

.vgwb-contact:active {
	transform: scale(0.985);
}

.vgwb-contact__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #1c1c1c;
	color: var(--wb-white);
}

.vgwb-contact__icon svg {
	width: 22px;
	height: 22px;
}

.vgwb-contact__text {
	flex: 1 1 auto;
	font-size: 17px;
	line-height: 1.35;
	color: #000;
}

.vgwb-contact__go {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wb-gold);
	color: var(--wb-white);
}

.vgwb-contact__go svg {
	width: 20px;
	height: 20px;
}

/* ----------------------------------------------------------- Index grid -- */

.vgwb-index {
	padding: 46px 0 80px;
	background: var(--wb-brown);
	color: var(--wb-cream);
}

.vgwb-index__title {
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	color: var(--wb-gold);
}

.vgwb-index__intro {
	margin-top: 8px;
	text-align: center;
	opacity: 0.75;
}

.vgwb-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px 14px;
	margin-top: 34px;
}

.vgwb-tile a {
	display: grid;
	justify-items: center;
	gap: 12px;
}

.vgwb-tile__icon {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	max-width: 108px;
	border-radius: 50%;
	background: var(--wb-sand);
	color: #221f20;
	overflow: hidden;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.vgwb-tile__icon svg {
	width: 46%;
	height: 46%;
}

.vgwb-tile__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vgwb-tile a:hover .vgwb-tile__icon,
.vgwb-tile a:focus-visible .vgwb-tile__icon {
	transform: translateY(-3px);
	background: var(--wb-white);
}

.vgwb-tile__label {
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.3;
}

.vgwb-icon--placeholder {
	opacity: 0.6;
}

.vgwb-empty {
	margin-top: 24px;
	text-align: center;
	opacity: 0.7;
}

@media (min-width: 560px) {
	.vgwb-tiles {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* --------------------------------------------------------- Section page -- */

.vgwb-page {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	padding-bottom: 120px;
	background: var(--wb-bg);
	color: var(--wb-fg);
}

body.vgwb-skin-dark,
.vgwb-page--dark {
	--wb-bg: var(--wb-brown);
	--wb-fg: var(--wb-cream);
	--wb-card-bg: var(--wb-sand);
	--wb-card-fg: var(--wb-ink);
	--wb-disc-bg: var(--wb-gold);
	--wb-disc-fg: #221f20;
}

body.vgwb-skin-light,
.vgwb-page--light {
	--wb-bg: var(--wb-cream);
	--wb-fg: var(--wb-ink);
	--wb-card-bg: #f2e9df;
	--wb-card-fg: var(--wb-ink);
	--wb-disc-bg: var(--wb-gold);
	--wb-disc-fg: #221f20;
}

body.vgwb-skin-photo,
.vgwb-page--photo {
	--wb-bg: var(--wb-brown);
	--wb-fg: var(--wb-white);
	--wb-card-bg: var(--wb-white);
	--wb-card-fg: var(--wb-ink);
	--wb-disc-bg: var(--wb-white);
	--wb-disc-fg: var(--wb-gold);
}

.vgwb-page--photo {
	background-image: var(--vgwb-bg);
	background-size: cover;
	background-position: center;
	background-attachment: scroll;
}

.vgwb-page--photo::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(20, 15, 12, 0.45) 0%, rgba(20, 15, 12, 0.2) 40%, rgba(20, 15, 12, 0.45) 100%);
	pointer-events: none;
}

.vgwb-page > * {
	position: relative;
	z-index: 1;
}

.vgwb-page__head {
	padding: 28px var(--wb-gutter) 22px;
	text-align: center;
}

.vgwb-page__mark {
	display: inline-block;
	color: inherit;
}

.vgwb-page__mark .vgwb-logo {
	width: 96px;
	height: auto;
	margin-inline: auto;
	opacity: 0.9;
}

.vgwb-page__title {
	margin-top: 14px;
	font-size: 27px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.vgwb-page__body {
	display: grid;
	gap: 18px;
}

/*
 * Grid items default to `min-width: auto`, so any block that cannot shrink to
 * the column — a wide table, a long unbroken string, an input sized by its
 * `size` attribute — widens the track instead of overflowing inside it, and
 * takes the whole page sideways with it. This caps that at the source.
 */
.vgwb-page__body > * {
	min-width: 0;
}

/* --------------------------------------------------------------- Blocks -- */

.vgwb-card {
	padding: 22px;
	background: var(--wb-card-bg);
	color: var(--wb-card-fg);
	border-radius: var(--wb-r-card);
}

/* Section intro */

.vgwb-intro {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px 22px 20px 0;
	background: var(--wb-card-bg);
	color: var(--wb-card-fg);
	border-radius: var(--wb-r-card);
}

.vgwb-intro__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin-left: -18px;
	border-radius: 50%;
	background: var(--wb-disc-bg);
	color: var(--wb-disc-fg);
}

.vgwb-intro__icon svg {
	width: 42%;
	height: 42%;
}

.vgwb-intro__title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
}

.vgwb-intro__subtitle {
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.4;
}

/* Info card */

.vgwb-info--center {
	text-align: center;
}

.vgwb-info__value {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.01em;
}

.vgwb-info__label {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.vgwb-info__body {
	margin-top: 14px;
	font-size: 15.5px;
}

.vgwb-info__body p {
	margin: 0 0 1em;
}

.vgwb-info__body p:last-child {
	margin-bottom: 0;
}

/* Highlight card */

.vgwb-highlight {
	text-align: center;
	padding: 34px 26px 30px;
}

.vgwb-highlight--arch {
	border-radius: 190px 190px var(--wb-r-card) var(--wb-r-card);
	padding-top: 48px;
}

.vgwb-highlight__icon {
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	margin: 0 auto 18px;
	border-radius: 50%;
	border: 2px solid var(--wb-gold);
	color: var(--wb-gold);
}

.vgwb-highlight__icon svg {
	width: 46%;
	height: 46%;
}

.vgwb-highlight__body {
	font-size: 15.5px;
}

/*
 * The password, presented as a form field rather than large tappable text.
 * The old treatment gave no signifier that tapping did anything — and being a
 * button, the value could not be selected by hand when the clipboard failed.
 */

.vgwb-highlight__secret {
	margin-top: 26px;
	text-align: left;
}

.vgwb-highlight__label {
	display: block;
	margin-bottom: 9px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	opacity: 0.6;
}

.vgwb-highlight__field {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	background: rgba(0, 0, 0, 0.045);
	border: 1.5px solid rgba(0, 0, 0, 0.13);
	border-radius: 16px;
	transition: border-color 0.2s ease;
}

/*
 * Focus keeps the container's own grey rather than switching to gold. The gold
 * ring read as one continuous shape wrapping input and button together, so the
 * button stopped looking like a separate control sitting inside the field.
 */
.vgwb-highlight__field:focus-within {
	border-color: rgba(0, 0, 0, 0.32);
}

/* The field border is already the focus indicator — the global gold outline
 * would draw a second, competing ring around the input alone. */
.vgwb .vgwb-highlight__input:focus,
.vgwb .vgwb-highlight__input:focus-visible {
	outline: none;
}

.vgwb-highlight__input::selection {
	color: inherit;
	background: rgba(156, 121, 73, 0.28);
}

/*
 * flex-basis and width both zeroed on purpose. A text input takes its intrinsic
 * width from the `size` attribute (20 characters by default), not from its
 * value, so `min-width: 0` alone does not stop it contributing ~268px of
 * min-content and dragging the whole card past the viewport.
 */
.vgwb-highlight__input {
	flex: 1 1 0;
	width: 0;
	min-width: 0;
	padding: 0 4px 0 12px;
	font-family: inherit;
	/* Shrinks on narrow phones so a long password never pushes out the button. */
	font-size: clamp(20px, 6.2vw, 30px);
	font-weight: 700;
	letter-spacing: 0.01em;
	color: inherit;
	background: none;
	border: 0;
	outline: none;
	cursor: pointer;
	text-overflow: ellipsis;
}

.vgwb-highlight__copy {
	flex: 0 0 auto;
	/* 52px clears the 44px minimum touch target with room to spare. */
	min-height: 52px;
	padding: 0 17px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wb-white);
	background: var(--wb-gold);
	border-radius: 11px;
	/* Lifts the button off the field so it reads as its own control. */
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.vgwb-highlight__copy:active {
	transform: scale(0.96);
}

.vgwb-highlight__copy svg {
	width: 19px;
	height: 19px;
}

.vgwb-highlight__copy-idle,
.vgwb-highlight__copy-done {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.vgwb-highlight__copy-done {
	display: none;
}

.vgwb-highlight__copy.is-copied {
	color: var(--wb-white);
	background: var(--wb-ok);
}

.vgwb-highlight__copy.is-copied .vgwb-highlight__copy-idle {
	display: none;
}

.vgwb-highlight__copy.is-copied .vgwb-highlight__copy-done {
	display: inline-flex;
}

/* Photo */

.vgwb-figure {
	position: relative;
	border-radius: var(--wb-r-card);
	overflow: hidden;
}

.vgwb-figure img {
	width: 100%;
	height: auto;
}

.vgwb-figure__pill {
	position: absolute;
	top: 16px;
	left: 50%;
	transform: translateX(-50%);
	max-width: calc(100% - 32px);
	padding: 8px 20px;
	font-size: 19px;
	font-weight: 700;
	text-align: center;
	color: var(--wb-ink);
	background: var(--wb-white);
	border-radius: var(--wb-r-pill);
}

/* Link list */

.vgwb-links {
	display: grid;
	gap: 14px;
}

.vgwb-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	background: var(--wb-white);
	color: var(--wb-ink);
	border-radius: var(--wb-r-card);
	transition: transform 0.18s ease;
}

.vgwb-link:active {
	transform: scale(0.99);
}

.vgwb-link__thumb {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--wb-sand);
}

.vgwb-link__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vgwb-link__text {
	flex: 1 1 auto;
	min-width: 0;
}

.vgwb-link__title {
	display: block;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
}

.vgwb-link__meta {
	display: block;
	margin-top: 2px;
	font-size: 15px;
}

.vgwb-link__desc {
	display: block;
	margin-top: 4px;
	font-size: 13.5px;
	line-height: 1.35;
	color: var(--wb-ink-soft);
}

.vgwb-link__go {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #1c1c1c;
	color: var(--wb-white);
}

.vgwb-link__go svg {
	width: 20px;
	height: 20px;
}

/* Place card */

.vgwb-place {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 12px 12px 14px;
	background: var(--wb-white);
	color: var(--wb-ink);
	border-radius: var(--wb-r-pill);
}

.vgwb-place__pin {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #1c1c1c;
	color: var(--wb-white);
}

.vgwb-place__pin svg {
	width: 22px;
	height: 22px;
}

.vgwb-place__text {
	flex: 1 1 auto;
	min-width: 0;
}

.vgwb-place__name {
	display: block;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.25;
}

.vgwb-place__address {
	display: block;
	font-size: 15px;
	color: var(--wb-ink-soft);
}

.vgwb-place__go {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--wb-gold);
	color: var(--wb-white);
}

.vgwb-place__go svg {
	width: 20px;
	height: 20px;
}

/* Contact grid */

.vgwb-contactgrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.vgwb-contactgrid__item {
	text-align: center;
	padding: 18px 14px;
}

.vgwb-contactgrid__actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 12px;
}

/* 46px, not 38: these sit on the emergency page, where a guest taps in a hurry
 * and often in the dark. 44px is the documented floor for a touch target. */
.vgwb-chip {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #1c1c1c;
	color: var(--wb-white);
	transition: transform 0.15s ease;
}

.vgwb-chip:active {
	transform: scale(0.94);
}

.vgwb-chip svg {
	width: 21px;
	height: 21px;
}

.vgwb-contactgrid__title {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
}

.vgwb-contactgrid__address {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.35;
}

/* Button */

.vgwb-btn {
	display: block;
	padding: 15px 22px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-align: center;
	text-transform: uppercase;
	border-radius: var(--wb-r-pill);
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.vgwb-btn:active {
	transform: scale(0.99);
}

.vgwb-btn--solid {
	background: var(--wb-gold);
	color: var(--wb-white);
}

.vgwb-btn--outline {
	border: 2px solid currentColor;
	color: var(--wb-fg);
}

/* Text */

.vgwb-text__title {
	margin-bottom: 10px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.15;
}

.vgwb-text__body p {
	margin: 0 0 1em;
}

.vgwb-text__body p:last-child {
	margin-bottom: 0;
}

.vgwb-text__body ul,
.vgwb-text__body ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
	list-style: revert;
}

.vgwb-text__body li {
	margin-bottom: 0.35em;
}

.vgwb-text__body a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Checklist */

/* Keeps a white sheet on every skin instead of taking the card tint: the list
 * reads as a form to work through, and white separates it from the intro panel
 * sitting directly above it. */
.vgwb-checklist {
	background: var(--wb-white);
	color: var(--wb-ink);
}

.vgwb-checklist__title {
	margin-bottom: 14px;
	font-size: 24px;
	font-weight: 700;
}

.vgwb-checklist__list {
	display: grid;
	gap: 2px;
}

/* The checkbox itself is hidden but still focusable — the label is the control
 * a guest sees, and the whole row is the tap target. */
.vgwb-checklist__input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.vgwb-checklist__label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	/* Full-width row, 48px tall: nobody should have to aim at the circle. */
	min-height: 48px;
	padding: 11px 10px;
	margin: 0 -10px;
	font-size: 16px;
	line-height: 1.4;
	border-radius: 12px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.18s ease;
}

.vgwb-checklist__label:active {
	background: rgba(0, 0, 0, 0.045);
}

.vgwb-checklist__input:focus-visible + .vgwb-checklist__label {
	outline: 3px solid var(--wb-gold);
	outline-offset: 2px;
}

.vgwb-checklist__mark {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--wb-sand);
	border: 1.5px solid rgba(0, 0, 0, 0.12);
	color: var(--wb-white);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vgwb-checklist__mark svg {
	width: 15px;
	height: 15px;
	opacity: 0;
	transform: scale(0.4);
	/* Slight overshoot — the tick lands rather than fades in. */
	transition: opacity 0.14s ease, transform 0.26s cubic-bezier(0.2, 1.6, 0.4, 1);
}

.vgwb-checklist__text {
	transition: opacity 0.2s ease;
}

.vgwb-checklist__input:checked + .vgwb-checklist__label .vgwb-checklist__mark {
	background: var(--wb-ok);
	border-color: var(--wb-ok);
}

.vgwb-checklist__input:checked + .vgwb-checklist__label .vgwb-checklist__mark svg {
	opacity: 1;
	transform: scale(1);
}

.vgwb-checklist__input:checked + .vgwb-checklist__label .vgwb-checklist__text {
	opacity: 0.45;
	text-decoration: line-through;
}

.vgwb-checklist__done {
	margin-top: 16px;
	padding-top: 15px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 15.5px;
	font-weight: 700;
	text-align: center;
	color: var(--wb-ok);
}

.vgwb-checklist__done[hidden] {
	display: none;
}

/* ---------------------------------------------------------- Celebration -- */

.vgwb-celebrate {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(28, 21, 17, 0.58);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.vgwb-celebrate.is-in {
	opacity: 1;
}

.vgwb-celebrate__stage {
	width: min(68vw, 280px);
	aspect-ratio: 180 / 220;
	transform: scale(0.86);
	transition: transform 0.45s cubic-bezier(0.2, 1.35, 0.4, 1);
}

.vgwb-celebrate.is-in .vgwb-celebrate__stage {
	transform: scale(1);
}

.vgwb-celebrate__stage lottie-player {
	width: 100%;
	height: 100%;
}

.vgwb-celebrate__note {
	max-width: 340px;
	margin-top: 6px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	color: var(--wb-white);
}

.vgwb-celebrate__cta {
	width: 100%;
	max-width: 340px;
	margin-top: 20px;
}

.vgwb-celebrate__dismiss {
	min-height: 44px;
	margin-top: 8px;
	padding: 10px 20px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	border-radius: var(--wb-r-pill);
	transition: color 0.18s ease;
}

.vgwb-celebrate__dismiss:hover,
.vgwb-celebrate__dismiss:focus-visible {
	color: var(--wb-white);
}

/* ------------------------------------------------------------ Icon list -- */

/*
 * Deliberately not cards: six stacked panels would read as six separate
 * subjects, when this is one list to skim in a few seconds.
 */
.vgwb-iconlist {
	display: grid;
	gap: 22px;
	padding: 2px 0;
}

.vgwb-iconlist__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

/*
 * Filled, not outlined. An open ring leaves the whole job to the glyph, which
 * loses weight against the brown at this size — and these are read in passing.
 * Same sand-on-dark pairing as the index tiles, so the two stay related.
 */
.vgwb-iconlist__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wb-sand);
	color: #221f20;
	/* Hairline keeps the edge readable on the light skin, where sand sits close
	   to the page colour. */
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.vgwb-iconlist__icon svg {
	width: 22px;
	height: 22px;
}

.vgwb-iconlist__text {
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 2px;
}

.vgwb-iconlist__title {
	font-size: 19px;
	font-weight: 500;
	line-height: 1.25;
}

.vgwb-iconlist__desc {
	margin-top: 3px;
	font-size: 15px;
	line-height: 1.42;
	opacity: 0.85;
}

/* ---------------------------------------------------------------- Notice -- */

/*
 * White on every skin, with a shadow to lift it off the page: this is the block
 * for things that must not be scrolled past.
 */
.vgwb-notice {
	overflow: hidden;
	background: var(--wb-white);
	color: var(--wb-ink);
	border-radius: var(--wb-r-card);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.vgwb-notice__media img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.vgwb-notice__body {
	padding: 22px;
}

.vgwb-notice__icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--wb-gold);
	color: #221f20;
}

.vgwb-notice__icon svg {
	width: 46%;
	height: 46%;
}

/*
 * With a photo above, the disc straddles the two like the printed page does.
 *
 * position + z-index are what actually put it on top: the photo is inline
 * replaced content, which paints in a later pass than the background of a plain
 * block box, so the disc would sit under it however the DOM is ordered.
 */
.vgwb-notice__media + .vgwb-notice__body .vgwb-notice__icon {
	position: relative;
	z-index: 1;
	margin-top: -54px;
	border: 4px solid var(--wb-white);
}

.vgwb-notice__title {
	font-size: 29px;
	font-weight: 700;
	line-height: 1.1;
}

.vgwb-notice__intro {
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.42;
}

.vgwb-notice__emphasis {
	margin-top: 14px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.42;
}

/* --------------------------------------------------------------- Review -- */

.vgwb-review {
	padding: 6px 4px 0;
	text-align: center;
}

.vgwb-review__title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
}

.vgwb-review__body {
	margin-top: 12px;
	font-size: 15.5px;
	line-height: 1.45;
	opacity: 0.85;
}

.vgwb-review__stars {
	display: flex;
	justify-content: center;
	gap: 9px;
	margin-top: 24px;
	color: var(--wb-gold);
}

.vgwb-review__stars svg {
	width: 38px;
	height: 38px;
}

.vgwb-review__cta {
	margin-top: 22px;
}

/* ------------------------------------------------------------ Scroll cue -- */

/*
 * Viewport-anchored rather than placed at the end of the host note: that block
 * can run taller than the screen, which would leave the invitation itself below
 * the fold. Nothing else occupies the bottom of the index, so it sits clear.
 */
.vgwb-scrollcue {
	position: fixed;
	left: 50%;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	z-index: 30;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-left: -24px;
	color: var(--wb-white);
	/*
	 * Solid, not a translucent tint. It floats over whatever the guest happens
	 * to have scrolled to, and at 40% over a white card it read as a grey smudge
	 * sitting on the text. Gold also matches the back button on the section
	 * pages, so the book's two floating controls speak the same language.
	 */
	background: var(--wb-gold);
	border-radius: 50%;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	/* Slow and shallow: a nudge, not a flashing sign. */
	animation: vgwb-nudge 2.1s ease-in-out infinite;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.vgwb-scrollcue svg {
	width: 22px;
	height: 22px;
}

.vgwb-scrollcue:active {
	transform: scale(0.94);
	animation: none;
}

/* Once the guest has started scrolling the message has landed. */
.vgwb-scrollcue.is-gone {
	animation: none;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
}

@keyframes vgwb-nudge {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(7px);
	}
}

/* ---------------------------------------------------------- Back button -- */

.vgwb-back {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 58px;
	padding: 0 10px;
	color: var(--wb-white);
	background: var(--wb-gold);
	border-radius: var(--wb-r-pill);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
	transition: padding 0.22s ease, transform 0.18s ease;
}

.vgwb-back__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
}

.vgwb-back__icon svg {
	width: 24px;
	height: 24px;
}

.vgwb-back__label {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0;
	transition: max-width 0.28s ease, opacity 0.22s ease;
}

.vgwb-back:hover,
.vgwb-back:focus-visible {
	padding-right: 20px;
}

.vgwb-back:hover .vgwb-back__label,
.vgwb-back:focus-visible .vgwb-back__label {
	max-width: 220px;
	opacity: 1;
}

.vgwb-back:active {
	transform: scale(0.96);
}

/* ------------------------------------------------------------ Preferences */

@media (prefers-reduced-motion: reduce) {
	.vgwb *,
	.vgwb *::before,
	.vgwb *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.vgwb-back,
	.vgwb-skip {
		display: none;
	}
}
