/* ==========================================================================
   Villa Poggiolo — main stylesheet
   ========================================================================== */

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond.woff2") format("woff2");
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/instrument-sans.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/instrument-sans-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--vp-cream: #f5f0e6;
	--vp-sand: #e6dac4;
	--vp-stone: #cfc2a8;
	--vp-olive: #4a5138;
	--vp-olive-deep: #2a2f22;
	--vp-terracotta: #a8593a;
	--vp-terracotta-soft: #dba27f;
	--vp-ink: #2b2a26;
	--vp-muted: #6b6659;

	--vp-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--vp-sans: "Instrument Sans", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

	--vp-gutter: clamp(1.25rem, 4vw, 3rem);
	--vp-radius: 2px;
	--vp-ease: cubic-bezier(.22, .61, .36, 1);
	--vp-header-h: 5.25rem;
}

/* Base
   -------------------------------------------------------------------------- */

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

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

body {
	margin: 0;
	background: var(--vp-cream);
	color: var(--vp-ink);
	font-family: var(--vp-sans);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--vp-terracotta);
	text-underline-offset: .2em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--vp-olive-deep);
}

:focus-visible {
	outline: 2px solid var(--vp-terracotta);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 .5em;
	font-family: var(--vp-serif);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -.005em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.vp-skip:focus {
	position: fixed !important;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: .75rem 1.25rem;
	clip: auto;
	background: var(--vp-olive-deep);
	color: var(--vp-cream);
}

.vp-container {
	width: 100%;
	max-width: 76rem;
	margin-inline: auto;
	padding-inline: var(--vp-gutter);
}

.vp-container--narrow {
	max-width: 46rem;
}

/* Shared elements
   -------------------------------------------------------------------------- */

.vp-brand {
	display: inline-flex;
	color: inherit;
	text-decoration: none;
}

.vp-brand:hover {
	color: inherit;
}

.vp-brand__logo {
	width: auto;
	max-height: 4.5rem;
}

.vp-brand__wordmark {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
}

.vp-brand__small {
	font-family: var(--vp-sans);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .5em;
	text-transform: uppercase;
	/* compensate trailing letter-spacing so the word stays centered */
	margin-right: -.5em;
}

.vp-brand__large {
	margin-top: .15em;
	font-family: var(--vp-serif);
	font-size: 2rem;
	font-style: italic;
	font-weight: 400;
	letter-spacing: .01em;
}

.vp-eyebrow {
	margin: 0 0 1.25rem;
	font-family: var(--vp-sans);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--vp-terracotta);
}

/* A thin rule with a small diamond in the middle */
.vp-ornament {
	position: relative;
	display: block;
	width: 7rem;
	height: 1px;
	margin: 2rem auto;
	background: linear-gradient(90deg, transparent, currentColor 30%, currentColor calc(50% - 9px), transparent calc(50% - 9px), transparent calc(50% + 9px), currentColor calc(50% + 9px), currentColor 70%, transparent);
	opacity: .6;
}

.vp-ornament::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 7px;
	border: 1px solid currentColor;
	transform: translate(-50%, -50%) rotate(45deg);
}

.vp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: .75rem 2rem;
	border: 1px solid var(--vp-olive-deep);
	border-radius: var(--vp-radius);
	background: var(--vp-olive-deep);
	color: var(--vp-cream);
	font-family: var(--vp-sans);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .3s var(--vp-ease), color .3s var(--vp-ease);
}

.vp-button:hover {
	background: transparent;
	color: var(--vp-olive-deep);
}

.vp-contacts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .875rem;
	letter-spacing: .04em;
}

.vp-contacts a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--vp-ease);
}

.vp-contacts a:hover {
	color: inherit;
	border-bottom-color: currentColor;
}

.vp-landscape {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

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

.vp-icon {
	display: inline-block;
	flex: none;
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
}

.vp-brand__year {
	margin-top: .35em;
	font-family: var(--vp-sans);
	font-size: .625rem;
	font-weight: 500;
	letter-spacing: .6em;
	margin-right: -.6em;
	opacity: .75;
}

.vp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--vp-cream);
	color: var(--vp-ink);
	border-bottom: 1px solid color-mix(in srgb, var(--vp-stone) 60%, transparent);
	transition: background-color .4s var(--vp-ease), color .4s var(--vp-ease), border-color .4s var(--vp-ease), box-shadow .4s var(--vp-ease);
}

.vp-has-hero .vp-header {
	position: fixed;
	right: 0;
	left: 0;
	background: transparent;
	color: var(--vp-cream);
	border-bottom-color: transparent;
}

.vp-has-hero .vp-header.is-scrolled,
.vp-menu-open .vp-header {
	background: var(--vp-cream);
	color: var(--vp-ink);
	border-bottom-color: color-mix(in srgb, var(--vp-stone) 60%, transparent);
}

.vp-header.is-scrolled {
	box-shadow: 0 6px 24px -18px rgba(42, 47, 34, .5);
}

.admin-bar .vp-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.vp-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem 2.5rem;
	min-height: var(--vp-header-h);
	padding-block: .75rem;
}

.vp-header .vp-brand__large {
	font-size: 1.75rem;
}

.vp-nav {
	margin-left: auto;
}

.vp-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 2.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-nav a {
	color: inherit;
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .3s var(--vp-ease);
}

.vp-nav a:hover,
.vp-nav .current-menu-item > a:not([href*="#"]) {
	color: var(--vp-terracotta);
}

.vp-has-hero .vp-header:not(.is-scrolled) .vp-nav a:hover {
	color: var(--vp-terracotta-soft);
}

.vp-button--small {
	min-height: 2.75rem;
	padding: .5rem 1.5rem;
}

.vp-has-hero .vp-header:not(.is-scrolled) .vp-header__book {
	border-color: var(--vp-cream);
	background: transparent;
	color: var(--vp-cream);
}

.vp-has-hero .vp-header:not(.is-scrolled) .vp-header__book:hover {
	background: var(--vp-cream);
	color: var(--vp-olive-deep);
}

.vp-header__toggle {
	display: none;
	padding: .5rem;
	border: 0;
	background: none;
	color: inherit;
	font-size: 1.25rem;
	cursor: pointer;
}

.vp-header__close {
	display: none;
}

@media (max-width: 62em) {
	.vp-header__toggle {
		display: inline-flex;
	}

	.vp-header__book {
		margin-left: auto;
	}

	.vp-nav {
		position: fixed;
		inset: calc(var(--vp-header-h) + var(--wp-admin--admin-bar--height, 0px)) 0 0;
		z-index: -1;
		display: flex;
		flex-direction: column;
		padding: 2.5rem var(--vp-gutter);
		background: var(--vp-cream);
		color: var(--vp-ink);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-.5rem);
		transition: opacity .3s var(--vp-ease), transform .3s var(--vp-ease), visibility 0s .3s;
	}

	.vp-nav ul {
		flex-direction: column;
		gap: 1.75rem;
	}

	.vp-nav a {
		font-family: var(--vp-serif);
		font-size: 2rem;
		font-weight: 400;
		letter-spacing: 0;
		text-transform: none;
	}

	.vp-menu-open {
		overflow: hidden;
	}

	.vp-menu-open .vp-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}

	.vp-menu-open .vp-header__open {
		display: none;
	}

	.vp-menu-open .vp-header__close {
		display: inline-block;
	}
}

@media (max-width: 30em) {
	:root {
		--vp-header-h: 4.5rem;
	}

	.vp-header__inner {
		gap: .75rem;
	}

	.vp-header .vp-brand__small {
		font-size: .5625rem;
	}

	.vp-header .vp-brand__large {
		font-size: 1.5rem;
	}

	.vp-header .vp-brand__year {
		display: none;
	}

	.vp-header__book {
		padding-inline: 1rem;
		letter-spacing: .14em;
	}
}

.vp-footer {
	background: var(--vp-olive-deep);
	color: var(--vp-sand);
	font-size: .9375rem;
}

.vp-footer a {
	color: inherit;
}

.vp-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(auto-fit, minmax(12rem, 1fr));
	gap: 2.5rem 3rem;
	padding-block: clamp(3.5rem, 7vw, 5.5rem) 3rem;
}

.vp-footer__brand .vp-brand {
	color: var(--vp-cream);
}

.vp-footer__brand p {
	max-width: 22rem;
	margin: 1.25rem 0;
	opacity: .8;
}

.vp-footer__title {
	margin-bottom: 1rem;
	font-family: var(--vp-sans);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--vp-terracotta-soft);
}

.vp-footer .vp-contacts,
.vp-footer__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .6rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .9375rem;
	letter-spacing: 0;
}

.vp-footer__list a {
	text-decoration: none;
}

.vp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5rem 2rem;
	padding-block: 1.5rem 2rem;
	border-top: 1px solid rgba(230, 218, 196, .15);
	font-size: .75rem;
	letter-spacing: .12em;
	opacity: .7;
}

.vp-footer__bottom p {
	margin: 0;
}

.vp-socials {
	display: flex;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-socials a {
	display: inline-flex;
	padding: .4rem;
	border: 1px solid rgba(230, 218, 196, .3);
	border-radius: 50%;
	transition: border-color .3s var(--vp-ease), color .3s var(--vp-ease);
}

.vp-socials a:hover {
	border-color: var(--vp-terracotta-soft);
	color: var(--vp-terracotta-soft);
}

.vp-socials .vp-icon {
	width: 1.25rem;
	height: 1.25rem;
}

/* Generic content
   -------------------------------------------------------------------------- */

.vp-content {
	padding-block: clamp(3rem, 8vw, 6rem);
}

.vp-entry + .vp-entry {
	margin-top: 3rem;
	padding-top: 3rem;
	border-top: 1px solid var(--vp-sand);
}

.vp-entry__title {
	font-size: clamp(2rem, 5vw, 3.25rem);
}

.vp-entry__title a {
	color: inherit;
	text-decoration: none;
}

/* Search form
   -------------------------------------------------------------------------- */

.vp-search {
	display: flex;
	width: 100%;
	max-width: 24rem;
	border-bottom: 1px solid var(--vp-stone);
	transition: border-color .3s var(--vp-ease);
}

.vp-search:focus-within {
	border-bottom-color: var(--vp-olive-deep);
}

.vp-search__field {
	flex: 1;
	min-width: 0;
	padding: .75rem 0;
	border: 0;
	background: transparent;
	color: var(--vp-ink);
	font: inherit;
	font-size: 1rem;
}

.vp-search__field::placeholder {
	color: var(--vp-muted);
}

.vp-search__field:focus {
	outline: none;
}

.vp-search__submit {
	padding: .75rem 0 .75rem 1rem;
	border: 0;
	background: none;
	color: var(--vp-olive-deep);
	font: inherit;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	cursor: pointer;
}

.vp-search__submit:hover {
	color: var(--vp-terracotta);
}

/* 404
   -------------------------------------------------------------------------- */

.vp-404 {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: calc(100svh - 5.5rem);
	overflow: hidden;
	text-align: center;
}

.vp-404__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-block: clamp(2.5rem, 7vh, 4.5rem) clamp(8rem, 18vw, 13rem);
}

.vp-404__code {
	margin: 0 0 1.25rem;
	font-family: var(--vp-serif);
	font-size: clamp(5.5rem, 18vw, 10rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--vp-olive);
}

.vp-404__code em {
	color: var(--vp-terracotta);
	font-weight: 400;
}

.vp-404__title {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(2rem, 5vw, 3.25rem);
	color: var(--vp-olive-deep);
	text-wrap: balance;
}

.vp-404 .vp-ornament {
	color: var(--vp-terracotta);
}

.vp-404__text {
	max-width: 34rem;
	margin: 0 0 2.5rem;
	color: var(--vp-muted);
	text-wrap: pretty;
}

.vp-404__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	width: 100%;
}

.vp-404__landscape {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: clamp(8rem, 22vw, 18rem);
	color: var(--vp-sand);
	pointer-events: none;
}

.error404 .vp-footer {
	margin-top: -1px;
}

/* Buttons and links
   -------------------------------------------------------------------------- */

.vp-button {
	gap: .6rem;
	cursor: pointer;
}

.vp-button .vp-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.vp-button--accent {
	border-color: var(--vp-terracotta);
	background: var(--vp-terracotta);
	color: var(--vp-cream);
}

.vp-button--accent:hover {
	border-color: var(--vp-olive-deep);
	background: var(--vp-olive-deep);
	color: var(--vp-cream);
}

.vp-link {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	color: var(--vp-terracotta);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none;
}

.vp-link .vp-icon {
	width: 1.1rem;
	height: 1.1rem;
	transition: transform .3s var(--vp-ease);
}

a.vp-link:hover .vp-icon,
.vp-card:hover .vp-link .vp-icon {
	transform: translateX(4px);
}

.vp-link--light {
	color: var(--vp-terracotta-soft);
}

.vp-link--light:hover {
	color: var(--vp-cream);
}

.vp-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Hero with slideshow and availability form
   -------------------------------------------------------------------------- */

.vp-hero,
.vp-page-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	isolation: isolate;
	overflow: hidden;
	background: var(--vp-olive-deep);
	color: var(--vp-cream);
}

.vp-hero {
	min-height: max(100svh, 36rem);
}

.vp-hero__media,
.vp-page-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

/* Darker at the top for the header, at the bottom for the title */
.vp-hero::before,
.vp-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(31, 35, 26, .55) 0%, rgba(31, 35, 26, 0) 28%),
		linear-gradient(0deg, rgba(31, 35, 26, .72) 0%, rgba(31, 35, 26, .25) 45%, rgba(31, 35, 26, 0) 70%);
	pointer-events: none;
}

.vp-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.6s var(--vp-ease);
}

.vp-hero__slide.is-active {
	opacity: 1;
}

.vp-hero__slide > * {
	transform: scale(1.08);
	transform-origin: 60% 50%;
}

.vp-hero__slide.is-active > * {
	animation: vp-kenburns 9s var(--vp-ease) forwards;
}

.is-paused .vp-hero__slide.is-active > * {
	animation-play-state: paused;
}

@keyframes vp-kenburns {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

.vp-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vp-hero__content,
.vp-page-hero__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-end;
	padding-top: calc(var(--vp-header-h) + 2rem);
	padding-bottom: clamp(1.5rem, 4vh, 3rem);
}

.vp-hero__eyebrow {
	color: var(--vp-cream);
	opacity: .9;
	text-shadow: 0 1px 12px rgba(31, 35, 26, .4);
	margin-bottom: .9rem;
}

.vp-hero__title {
	max-width: 15ch;
	margin: 0;
	font-size: clamp(2.5rem, 6.4vw, 5.5rem);
	font-weight: 300;
	line-height: 1.02;
	text-wrap: balance;
	text-shadow: 0 2px 30px rgba(31, 35, 26, .25);
}

.vp-hero__controls {
	position: absolute;
	right: var(--vp-gutter);
	bottom: calc(var(--vp-booking-h, 9rem) + 1.25rem);
	display: flex;
	align-items: center;
	gap: .25rem;
	font-size: .75rem;
	letter-spacing: .2em;
}

.vp-hero__controls[hidden] {
	display: none;
}

.vp-hero__controls button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid rgba(245, 240, 230, .4);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color .3s var(--vp-ease), color .3s var(--vp-ease);
}

.vp-hero__controls button:hover {
	background: var(--vp-cream);
	color: var(--vp-olive-deep);
}

.vp-hero__controls .vp-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.vp-hero__count {
	min-width: 3.5rem;
	text-align: center;
}

/* Pause / play glyph drawn in CSS */
.vp-hero__pause {
	margin-left: .5rem;
}

.vp-hero__pause::before {
	content: "";
	width: 8px;
	height: 10px;
	border-inline: 2px solid currentColor;
}

.vp-hero__pause[aria-pressed="true"]::before {
	width: 0;
	height: 0;
	border-block: 6px solid transparent;
	border-inline: 9px solid currentColor;
	border-inline-end: 0;
	margin-left: 3px;
}

.vp-hero__booking {
	position: relative;
	padding-bottom: clamp(1rem, 4vh, 2.5rem);
	scroll-margin-top: 30vh;
}

/* Availability form
   -------------------------------------------------------------------------- */

.vp-book {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr) auto;
	align-items: end;
	gap: 0;
	padding: 1.25rem 1.25rem 1.25rem 0;
	background: var(--vp-cream);
	color: var(--vp-ink);
	box-shadow: 0 24px 60px -30px rgba(20, 23, 16, .6);
}

.vp-book__field {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	min-width: 0;
	padding: 0 1.5rem;
	border-right: 1px solid var(--vp-sand);
}

.vp-book__field label {
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--vp-terracotta);
}

.vp-book input,
.vp-book select {
	width: 100%;
	min-width: 0;
	min-height: 2.75rem;
	padding: .25rem 0;
	border: 0;
	border-bottom: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var(--vp-ink);
	font-family: var(--vp-serif);
	font-size: 1.375rem;
	line-height: 1.2;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.vp-book select {
	padding-right: 1.5rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23a8593a' d='M212.24 100.24l-80 80a6 6 0 0 1-8.48 0l-80-80a6 6 0 0 1 8.48-8.48L128 167.51l75.76-75.75a6 6 0 0 1 8.48 8.48Z'/%3E%3C/svg%3E") no-repeat right center / 1rem;
}

.vp-book input:focus,
.vp-book select:focus {
	outline: none;
	border-bottom-color: var(--vp-terracotta);
}

.vp-book input::-webkit-calendar-picker-indicator {
	opacity: .55;
	cursor: pointer;
}

.vp-book input:invalid:not(:focus) {
	color: var(--vp-muted);
}

.vp-book__submit {
	min-height: 3.75rem;
	margin-left: 1.25rem;
	white-space: nowrap;
}

.vp-book__note {
	grid-column: 1 / -1;
	margin: .9rem 0 0 1.5rem;
	font-size: .8125rem;
	color: var(--vp-muted);
}

.vp-book--card {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1.25rem;
	padding: 0;
	background: none;
	box-shadow: none;
}

.vp-book--card .vp-book__field {
	padding: 0 0 .25rem;
	border-right: 0;
	border-bottom: 1px solid var(--vp-stone);
}

.vp-book--card .vp-book__field--guests,
.vp-book--card .vp-book__submit {
	grid-column: 1 / -1;
}

.vp-book--card .vp-book__submit {
	margin: .25rem 0 0;
}

.vp-book--card .vp-book__note {
	margin: 0;
	text-align: center;
}

.vp-book-inline {
	margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

@media (max-width: 56em) {
	.vp-book:not(.vp-book--card) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: .9rem 0;
		padding: 1rem;
	}

	.vp-book:not(.vp-book--card) .vp-book__field {
		padding: 0 1rem 0 0;
		border-right: 0;
		border-bottom: 1px solid var(--vp-sand);
	}

	.vp-book:not(.vp-book--card) .vp-book__field + .vp-book__field {
		padding: 0 0 0 1rem;
		border-left: 1px solid var(--vp-sand);
	}

	.vp-book:not(.vp-book--card) .vp-book__field.vp-book__field--guests {
		padding: 0 1rem 0 0;
		border-left: 0;
	}

	.vp-book:not(.vp-book--card) .vp-book__submit {
		margin: 0;
		min-height: 3.25rem;
	}

	.vp-book:not(.vp-book--card) .vp-book__note {
		margin: 0;
		font-size: .75rem;
		text-align: center;
	}

	.vp-book input,
	.vp-book select {
		font-size: 1.1875rem;
	}

	.vp-hero__controls {
		top: calc(var(--vp-header-h) + .75rem);
		bottom: auto;
	}
}

@media (max-width: 30em) {
	.vp-book:not(.vp-book--card) .vp-book__submit {
		padding-inline: .75rem;
		font-size: .75rem;
		letter-spacing: .08em;
	}

	.vp-hero__controls .vp-hero__count,
	.vp-hero__controls [data-vp-prev],
	.vp-hero__controls [data-vp-next] {
		display: none;
	}
}

/* Sections
   -------------------------------------------------------------------------- */

.vp-section {
	padding-block: clamp(4rem, 10vw, 8rem);
}

.vp-section--sand {
	background: var(--vp-sand);
}

.vp-section__head {
	max-width: 44rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.vp-section__title {
	font-size: clamp(2.125rem, 4.6vw, 3.5rem);
	font-weight: 300;
	color: var(--vp-olive-deep);
	text-wrap: balance;
}

.vp-section__lead {
	margin: 0;
	font-size: 1.125rem;
	color: var(--vp-muted);
	text-wrap: pretty;
}

/* Services strip under the hero */
.vp-strip {
	border-bottom: 1px solid var(--vp-sand);
}

.vp-strip__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin: 0 auto;
	padding-block: 1.75rem;
	list-style: none;
}

.vp-strip__list li {
	display: flex;
	align-items: center;
	gap: .65rem;
	font-size: .9375rem;
}

.vp-strip .vp-icon {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--vp-olive);
}

@media (max-width: 40em) {
	.vp-strip__list {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

/* The villa */
.vp-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(2.5rem, 7vw, 6rem);
}

.vp-intro__media {
	position: relative;
	aspect-ratio: 4 / 5;
}

.vp-intro__badge {
	position: absolute;
	right: -1.25rem;
	bottom: 2rem;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 1.25rem 1.5rem;
	background: var(--vp-terracotta);
	color: var(--vp-cream);
	font-size: .75rem;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.vp-intro__badge span {
	font-family: var(--vp-serif);
	font-size: 2.75rem;
	letter-spacing: 0;
	line-height: 1;
}

.vp-intro__text > p:not(.vp-eyebrow) {
	color: var(--vp-ink);
	text-wrap: pretty;
}

.vp-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 3rem;
	margin: 2.5rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--vp-sand);
}

.vp-stats div {
	display: flex;
	flex-direction: column-reverse;
}

.vp-stats dd {
	margin: 0;
	font-family: var(--vp-serif);
	font-size: 3.25rem;
	font-weight: 300;
	line-height: 1;
	color: var(--vp-terracotta);
}

.vp-stats dt {
	font-size: .8125rem;
	letter-spacing: .08em;
	color: var(--vp-muted);
}

@media (max-width: 52em) {
	.vp-intro__grid {
		grid-template-columns: 1fr;
	}

	.vp-intro__media {
		aspect-ratio: 4 / 3;
	}

	.vp-intro__badge {
		right: 1rem;
		bottom: -1.5rem;
	}
}

/* Apartment cards */
.vp-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
}

.vp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--vp-cream);
	transition: transform .4s var(--vp-ease), box-shadow .4s var(--vp-ease);
}

.vp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 50px -32px rgba(42, 47, 34, .55);
}

.vp-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.vp-card__media > * {
	transition: transform 1.2s var(--vp-ease);
}

.vp-card:hover .vp-card__media > * {
	transform: scale(1.04);
}

.vp-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.75rem 1.75rem 2rem;
}

.vp-card__eyebrow {
	margin-bottom: .6rem;
}

.vp-card__title {
	font-size: 2rem;
	color: var(--vp-olive-deep);
}

.vp-card__title a {
	color: inherit;
	text-decoration: none;
}

/* The whole card is clickable */
.vp-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.vp-card__text {
	margin: 1rem 0 1.5rem;
	color: var(--vp-muted);
	font-size: .9375rem;
}

.vp-card .vp-link {
	margin-top: auto;
}

.vp-facts {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .875rem;
	color: var(--vp-ink);
}

.vp-facts li {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

.vp-facts .vp-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--vp-olive);
}

/* Whole villa for families (evening atmosphere) */
.vp-family {
	position: relative;
	overflow: hidden;
	padding-bottom: clamp(9rem, 20vw, 15rem);
	background: var(--vp-olive-deep);
	color: var(--vp-sand);
	text-align: center;
}

.vp-family__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 48rem;
}

.vp-family .vp-eyebrow {
	color: var(--vp-terracotta-soft);
}

.vp-family .vp-section__title {
	color: var(--vp-cream);
}

.vp-family p {
	font-size: 1.125rem;
	text-wrap: pretty;
}

.vp-family__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 2rem;
	margin-top: 1.5rem;
}

.vp-family .vp-button--accent {
	border-color: var(--vp-terracotta-soft);
	background: var(--vp-terracotta-soft);
	color: var(--vp-olive-deep);
}

.vp-family .vp-button--accent:hover {
	background: transparent;
	color: var(--vp-terracotta-soft);
}

.vp-family__landscape {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: clamp(8rem, 20vw, 16rem);
	color: #1f231a;
}

/* Shared spaces */
.vp-services {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: 2.5rem 3rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-services li {
	padding-top: 1.75rem;
	border-top: 1px solid var(--vp-sand);
}

.vp-services__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 1.25rem;
	border-radius: 50%;
	background: var(--vp-sand);
	color: var(--vp-olive);
}

.vp-services__icon .vp-icon {
	width: 2rem;
	height: 2rem;
}

.vp-services h3 {
	margin-bottom: .35rem;
	font-size: 1.625rem;
	color: var(--vp-olive-deep);
}

.vp-services p {
	margin: 0;
	color: var(--vp-muted);
}

/* Surroundings */
.vp-around {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 7vw, 6rem);
}

.vp-around__how {
	margin-top: 2.5rem;
	padding: 1.75rem;
	background: var(--vp-cream);
}

.vp-around__how h3 {
	font-size: 1.625rem;
	color: var(--vp-olive-deep);
}

.vp-distances {
	align-self: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-distances li {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--vp-stone);
}

.vp-distances .vp-icon {
	color: var(--vp-olive);
}

.vp-distances strong {
	margin-left: auto;
	font-family: var(--vp-serif);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--vp-terracotta);
	white-space: nowrap;
}

@media (max-width: 52em) {
	.vp-around {
		grid-template-columns: 1fr;
	}
}

/* Contacts */
.vp-contact__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 52rem;
	text-align: center;
}

.vp-contact .vp-section__lead {
	margin-bottom: 2.5rem;
}

.vp-contacts--icons {
	gap: 1rem 2.5rem;
	font-size: 1rem;
}

.vp-contacts--icons a {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
}

.vp-contacts--icons .vp-icon {
	color: var(--vp-terracotta);
}

/* Apartment page
   -------------------------------------------------------------------------- */

.vp-page-hero {
	min-height: clamp(26rem, 72svh, 44rem);
}

.vp-apartment {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 24rem;
	align-items: start;
	gap: clamp(2.5rem, 6vw, 5rem);
	padding-block: clamp(3rem, 7vw, 5rem);
}

.vp-apartment .vp-facts {
	gap: .75rem 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--vp-sand);
	font-size: 1rem;
}

.vp-apartment__highlight {
	margin: 2rem 0;
	font-family: var(--vp-serif);
	font-size: clamp(1.625rem, 3vw, 2.25rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1.25;
	color: var(--vp-olive-deep);
}

.vp-apartment__title {
	margin-top: 2.75rem;
	font-size: 1.875rem;
	color: var(--vp-olive-deep);
}

.vp-features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 1rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-features li {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.vp-features .vp-icon {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--vp-olive);
}

/* Photo mosaic: one large photo and four small ones, the last shows how many are left */
.vp-photos {
	margin-top: 2.5rem;
}

.vp-mosaic {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(7.5rem, 12vw, 11rem);
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-mosaic li {
	position: relative;
	overflow: hidden;
	background: var(--vp-sand);
}

.vp-mosaic li:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.vp-mosaic li:nth-child(n + 6) {
	display: none;
}

.vp-mosaic li:nth-child(5)::after {
	content: var(--vp-more);
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(31, 35, 26, .55);
	color: var(--vp-cream);
	font-family: var(--vp-serif);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	pointer-events: none;
}

.vp-mosaic li:nth-child(5):last-child::after {
	content: none;
}

.vp-mosaic a,
.vp-plans__list a {
	display: block;
	height: 100%;
	cursor: zoom-in;
}

.vp-mosaic img {
	transition: transform .9s var(--vp-ease), filter .9s var(--vp-ease);
}

.vp-mosaic a:hover img,
.vp-mosaic a:focus-visible img {
	transform: scale(1.05);
	filter: saturate(1.08);
}

.vp-mosaic a:focus-visible {
	outline: 2px solid var(--vp-terracotta);
	outline-offset: -2px;
}

.vp-photos__all {
	margin-top: 1rem;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.vp-photos__all:hover .vp-icon {
	transform: translateX(4px);
}

@media (max-width: 40em) {
	/* On phones the mosaic becomes a swipeable row with every photo */
	.vp-mosaic {
		display: flex;
		margin-inline: calc(var(--vp-gutter) * -1);
		padding-inline: var(--vp-gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--vp-gutter);
		scrollbar-width: none;
	}

	.vp-mosaic li,
	.vp-mosaic li:nth-child(n + 6) {
		display: block;
		flex: 0 0 85%;
		aspect-ratio: 4 / 3;
		scroll-snap-align: start;
	}

	.vp-mosaic li:nth-child(5)::after {
		content: none;
	}

	.vp-photos__all {
		display: none;
	}
}

/* Floor plan: the drawing printed on a sheet of paper */
.vp-plans__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vp-plans figure {
	margin: 0;
	padding: clamp(1rem, 3vw, 2rem);
	background: #fbf8f2;
	border: 1px solid var(--vp-sand);
	box-shadow: 0 1px 0 var(--vp-sand), 0 18px 40px -28px rgba(42, 47, 34, .45);
}

.vp-plans__list img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 34rem;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: sepia(.25);
	transition: transform .6s var(--vp-ease);
}

.vp-plans__list a:hover img {
	transform: scale(1.02);
}

.vp-plans figcaption {
	margin-top: 1rem;
	padding-top: .75rem;
	border-top: 1px solid var(--vp-sand);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--vp-muted);
}

.vp-plans__note {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 1rem 0 0;
	font-size: .875rem;
	color: var(--vp-muted);
}

.vp-plans__note .vp-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--vp-olive);
}

/* "See the photos" button on the apartment hero */
.vp-page-hero__content {
	position: relative;
}

.vp-page-hero__photos {
	position: absolute;
	right: var(--vp-gutter);
	bottom: clamp(1.5rem, 4vh, 3rem);
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: .8rem 1.2rem;
	border: 1px solid rgba(245, 240, 230, .55);
	background: rgba(31, 35, 26, .35);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: var(--vp-cream);
	font: 500 .75rem/1 var(--vp-sans);
	letter-spacing: .18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .3s var(--vp-ease), color .3s var(--vp-ease);
}

.vp-page-hero__photos:hover,
.vp-page-hero__photos:focus-visible {
	background: var(--vp-cream);
	color: var(--vp-olive-deep);
}

.vp-page-hero__photos .vp-icon {
	width: 1.25rem;
	height: 1.25rem;
}

@media (max-width: 40em) {
	.vp-page-hero__photos {
		position: static;
		align-self: flex-start;
		margin-top: 1.25rem;
	}
}

/* Lightbox */
html:has(.vp-lightbox[open]) {
	overflow: hidden;
}

.vp-lightbox {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: #1c1f17;
	color: var(--vp-cream);
	display: none;
	grid-template-rows: auto minmax(0, 1fr) auto;
	overscroll-behavior: contain;
	touch-action: pan-y;
}

.vp-lightbox[open] {
	display: grid;
	animation: vp-fade-in .35s var(--vp-ease);
}

.vp-lightbox::backdrop {
	background: #1c1f17;
}

@keyframes vp-fade-in {
	from { opacity: 0; }
}

.vp-lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .75rem var(--vp-gutter);
}

.vp-lightbox__count {
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .24em;
	font-variant-numeric: tabular-nums;
	opacity: .8;
}

.vp-lightbox__stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .9rem;
	min-height: 0;
	margin: 0;
	padding: 0 clamp(1rem, 7vw, 6rem);
}

.vp-lightbox__img {
	max-width: 100%;
	min-height: 0;
	max-height: 100%;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
	transition: opacity .35s var(--vp-ease);
}

.vp-lightbox.is-loading .vp-lightbox__img {
	opacity: .25;
}

.vp-lightbox__caption {
	font-family: var(--vp-serif);
	font-size: 1.25rem;
	font-style: italic;
	opacity: .85;
}

.vp-lightbox__caption:empty {
	display: none;
}

.vp-lightbox__btn {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: none;
	color: inherit;
	cursor: pointer;
	transition: background .3s var(--vp-ease), border-color .3s var(--vp-ease);
}

.vp-lightbox__btn:hover,
.vp-lightbox__btn:focus-visible {
	border-color: currentColor;
}

.vp-lightbox__btn .vp-icon {
	width: 1.5rem;
	height: 1.5rem;
}

.vp-lightbox__nav {
	position: absolute;
	top: 50%;
	translate: 0 -50%;
	background: rgba(28, 31, 23, .45);
}

.vp-lightbox__nav--prev {
	left: clamp(.25rem, 2vw, 1.5rem);
}

.vp-lightbox__nav--next {
	right: clamp(.25rem, 2vw, 1.5rem);
}

.vp-lightbox__thumbs {
	display: flex;
	justify-content: safe center;
	gap: .5rem;
	padding: 1rem var(--vp-gutter) 1.25rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.vp-lightbox__thumbs button {
	flex: 0 0 auto;
	width: 4.5rem;
	height: 3.25rem;
	padding: 0;
	border: 0;
	background: none;
	opacity: .45;
	outline-offset: 2px;
	cursor: pointer;
	transition: opacity .3s var(--vp-ease);
}

.vp-lightbox__thumbs button:hover,
.vp-lightbox__thumbs [aria-current="true"] {
	opacity: 1;
}

.vp-lightbox__thumbs [aria-current="true"] {
	outline: 1px solid var(--vp-terracotta-soft);
}

.vp-lightbox__thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vp-lightbox--single .vp-lightbox__nav,
.vp-lightbox--single .vp-lightbox__thumbs,
.vp-lightbox--single .vp-lightbox__count {
	visibility: hidden;
}

/* Floor plans open on paper, not on the dark background */
.vp-lightbox--light,
.vp-lightbox--light::backdrop {
	background: #fbf8f2;
	color: var(--vp-olive-deep);
}

.vp-lightbox--light .vp-lightbox__img {
	mix-blend-mode: multiply;
}

.vp-lightbox--light .vp-lightbox__nav {
	background: rgba(251, 248, 242, .7);
}

.vp-lightbox--light .vp-lightbox__thumbs img {
	object-fit: contain;
	background: #fff;
}

@media (max-width: 40em) {
	.vp-lightbox__nav {
		display: none;
	}

	.vp-lightbox__stage {
		padding-inline: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vp-lightbox[open],
	.vp-mosaic img,
	.vp-lightbox__img {
		animation: none;
		transition: none;
	}
}

.vp-apartment__aside {
	position: sticky;
	top: calc(var(--vp-header-h) + 1.5rem);
	scroll-margin-top: calc(var(--vp-header-h) + 1.5rem);
}

.vp-apartment__card {
	padding: 2rem;
	background: var(--vp-sand);
}

.vp-apartment__card-title {
	margin-bottom: 1.5rem;
	font-size: 1.875rem;
	color: var(--vp-olive-deep);
}

.vp-apartment__card .vp-book input,
.vp-apartment__card .vp-book select {
	font-size: 1.1875rem;
}

.vp-apartment__rules {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin: 1.25rem 0 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--vp-stone);
	list-style: none;
	font-size: .8125rem;
	color: var(--vp-muted);
}

@media (max-width: 62em) {
	.vp-apartment {
		grid-template-columns: 1fr;
	}

	.vp-apartment__aside {
		position: static;
		order: -1;
	}
}

.vp-entry__content > * + * {
	margin-top: 1.25em;
}

.vp-entry__content > :first-child {
	margin-top: 0;
}

.vp-entry__content h2 {
	margin-top: 2em;
	font-size: 2rem;
	color: var(--vp-olive-deep);
}

/* Motion
   -------------------------------------------------------------------------- */

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

