/*
 * Design "Lookbook": a fashion lookbook. On desktop every home section is a two-page spread split
 * exactly 50/50: one half a full-height photo (edge to edge, at least one screen tall), the other
 * half the text, vertically centred, with a big page number ("02 / 08") at its outer corner and
 * the section label as a small running title. The sides alternate (photo left, right, left…);
 * a section without a photo gets a typographic half instead (a huge roman numeral, or a quote
 * mark for the reviews, in the accent tint). The hero is the first spread: the photo on the left,
 * the villa name stacked very large on the right with the subtitle and the form. The gallery
 * spread fills its photo half with a grid of photos. The theme pages are spreads too: a sticky
 * photo half and the page on the other half. Ivory and near-black, no cards, no shadows.
 * Phones and tablets: every spread becomes a tall photo on top (about 70% of the screen) and
 * the text below.
 * Loaded after main.css for villas with "villa.design": "lookbook". Same sections, order and
 * markup as Classic; only the look and the layout change. Colours: villa_designs().
 */

/* ==========================================================================
   Fonts (self-hosted): Playfair Display (headings and numbers, latin + latin-ext; Greek falls
   back to Georgia), Inter (text, latin + latin-ext + greek)
   ========================================================================== */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-400-normal.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: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-ext-400-normal.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; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-400-italic.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: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-ext-400-italic.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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.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: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal.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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-greek-400-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.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: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-ext-500-normal.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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-greek-500-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.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: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600-normal.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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-greek-600-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--color-text: #1d1916;
	--color-text-muted: #5c544c;
	--color-bg: #f5f1e9;
	--color-bg-soft: #ebe5da;
	--color-bg-sand: #ebe5da;
	--color-dark: #1d1916;
	--color-footer: #1d1916;
	--color-border: rgb(29 25 22 / 0.14);
	--color-day-available: #e4ece4;
	--color-day-past: #ebe7df;
	--font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 0;
	--shadow-card: none;
	--header-height: 80px;

	/* Lookbook */
	--lb-ink: #1d1916;
	--lb-ivory: #f5f1e9;
	--lb-tint: color-mix(in srgb, var(--color-accent) 11%, var(--lb-ivory));
	--lb-glyph-color: color-mix(in srgb, var(--color-accent) 48%, var(--lb-ivory));
	--lb-spread: calc(100svh - var(--header-height)); /* one spread = the screen under the header */
	--lb-pad: clamp(32px, 5.5vw, 104px); /* the margin of a text half, on both sides */
}

@media (max-width: 768px) {
	:root {
		--header-height: 68px;
	}
}

/* A menu link lands a spread exactly under the header */
html {
	scroll-padding-top: var(--header-height);
}

body {
	background: var(--color-bg);
	font-size: 15px;
	line-height: 1.75;
}

h1,
h2,
h3,
h4 {
	font-weight: 400;
	letter-spacing: -0.01em;
}

.button {
	min-height: 52px;
	padding: 0 32px;
	font-size: 12px;
	letter-spacing: 0.2em;
}

.button--outline {
	border-color: var(--color-text);
	color: var(--color-text);
}

.link-arrow {
	padding-bottom: 6px;
	border-bottom: 1px solid currentColor;
	font-size: 12px;
	letter-spacing: 0.2em;
}

/* Section labels: a small running title with a hairline after it */
.section-label {
	display: flex;
	align-items: center;
	gap: 18px;
	color: var(--color-text);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.26em;
}

.section-label::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--color-border);
}

.section-title {
	font-size: clamp(36px, 3.9vw, 70px);
	line-height: 1.04;
}

/* ==========================================================================
   Header: ivory, a hairline under it
   ========================================================================== */

.site-header {
	background: var(--lb-ivory);
	border-bottom-color: var(--color-border);
}

.site-header > .container {
	max-width: none;
	padding-inline: var(--lb-pad);
}

.site-branding__name {
	font-size: 19px;
	font-style: italic;
	letter-spacing: 0.02em;
	text-transform: none;
}

.site-branding__location {
	font-size: 10px;
	letter-spacing: 0.24em;
}

.site-nav__menu {
	gap: clamp(20px, 2.4vw, 40px);
}

.site-nav__menu a {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
}

.language-switcher {
	font-size: 12px;
	font-weight: 500;
}

.language-switcher ul {
	background: var(--lb-ivory);
	border: 1px solid var(--color-border);
}

@media (max-width: 900px) {
	.site-header > .container {
		padding-inline: var(--gutter);
	}

	.site-nav {
		background: var(--lb-ivory);
		box-shadow: none;
	}

	.site-nav__menu a {
		font-family: var(--font-heading);
		font-size: 26px;
		font-weight: 400;
		letter-spacing: 0;
		text-transform: none;
	}
}

/* ==========================================================================
   Page numbers: "02 / 08" (the total counts the home sections the villa shows)
   ========================================================================== */

.site-main {
	--lb-has-gallery: 0;
	--lb-has-amenities: 0;
	--lb-has-reviews: 0;
	--lb-has-rules: 0;
	--lb-has-contact: 0;
	counter-reset: lb-page lb-total calc(3 + var(--lb-has-gallery) + var(--lb-has-amenities) + var(--lb-has-reviews) + var(--lb-has-rules) + var(--lb-has-contact));
}

.site-main:has(> #gallery) { --lb-has-gallery: 1; }
.site-main:has(> #amenities) { --lb-has-amenities: 1; }
.site-main:has(> #reviews) { --lb-has-reviews: 1; }
.site-main:has(> #house-rules) { --lb-has-rules: 1; }
.site-main:has(> #contact) { --lb-has-contact: 1; }

/* ==========================================================================
   Spreads (every home section)
   ========================================================================== */

.site-main > section {
	/* Odd spreads: photo left, text right. Even spreads: the other way round. */
	--lb-photo-col: 1;
	--lb-text-col: 2;
	--lb-outer: end; /* the page number sits at the outer corner of the text page */
	--lb-glyph: ""; /* no numeral on a half without a photo (the reviews keep their quotation mark) */
	counter-increment: lb-page;
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: [photo] auto [run] auto [top] minmax(48px, 1fr) [a] auto [b] auto [c] auto [bottom] minmax(48px, 1fr) [folio] auto;
	column-gap: calc(2 * var(--lb-pad));
	min-height: var(--lb-spread);
	margin: 0;
	padding: 0 var(--lb-pad);
	background: var(--lb-ivory);
	color: var(--color-text);
	text-align: left;
	overflow: hidden;
}

.site-main > section:nth-of-type(even) {
	--lb-photo-col: 2;
	--lb-text-col: 1;
	--lb-outer: start;
}

/* No page number ("01 / 08"): the folio row only keeps the bottom space */
.site-main > section::before {
	content: "";
	grid-column: var(--lb-text-col);
	grid-row: folio;
	justify-self: var(--lb-outer);
	padding: 0 0 clamp(20px, 3vw, 48px);
	color: var(--color-text);
	font-family: var(--font-heading);
	font-size: clamp(40px, 4vw, 72px);
	font-style: italic;
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

/* Every element of a text page */
.site-main > section .section-label,
.site-main > section .section-title,
.hero__inner,
.hero .availability-form-section,
.hero__scroll,
.about__content,
.small-gallery__more,
.amenities__grid,
.prices__card,
.prices__heading .button,
.reviews__list,
.reviews__action,
.house-rules__list,
.get-in-touch__content {
	grid-column: var(--lb-text-col);
	min-width: 0;
}

.site-main > section .section-label {
	grid-row: run;
	margin: 0;
	padding-top: clamp(28px, 3vw, 48px);
}

.site-main > section .section-title {
	grid-row: a;
	margin: 0 0 clamp(24px, 2.4vw, 40px);
}

/* The wrappers step aside: their children are placed on the spread grid */
.about__inner,
.small-gallery > .container,
.amenities > .container,
.amenities .section-header,
.prices__band,
.prices__heading,
.prices > .container,
.reviews > .container,
.reviews .section-header,
.house-rules > .container,
.house-rules .section-header {
	display: contents;
}

/* The photo half: edge to edge, top to bottom of the spread */
.hero__photo,
.about__photo,
.prices__photo,
.get-in-touch__photo {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc((var(--lb-photo-col) - 1) * 50%);
	width: 50%;
	height: 100%;
	margin: 0;
}

/* The photo half is there from the start: no reveal from the bottom (animations.js) */
.site-main > .about .about__photo {
	clip-path: none !important;
}

.about__photo img,
.get-in-touch__photo img {
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: none;
	aspect-ratio: auto;
	object-fit: cover;
}

.hero__photo,
.prices__photo {
	max-width: none;
	object-fit: cover;
}

/* No photo: a typographic half, a huge numeral in the accent tint */
.site-main > .hero--no-photo::after,
.site-main > .about--no-photo::after,
.site-main > .small-gallery::after,
.site-main > .amenities::after,
.site-main > .prices:has(.prices__band--no-photo)::after,
.site-main > .reviews::after,
.site-main > .house-rules::after,
.site-main > .get-in-touch--no-photo::after {
	content: var(--lb-glyph);
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc((var(--lb-photo-col) - 1) * 50%);
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50%;
	overflow: hidden;
	background: var(--lb-tint);
	color: var(--lb-glyph-color);
	font-family: var(--font-heading);
	font-size: clamp(150px, 21vw, 380px);
	font-style: italic;
	line-height: 1;
	letter-spacing: -0.04em;
	white-space: nowrap;
	pointer-events: none;
}

/* The gallery's half is its photos, not a numeral */
.site-main > .small-gallery::after {
	content: none;
}

.reviews {
	--lb-glyph: "\201C";
}

.site-main > .reviews::after {
	align-items: flex-start;
	padding-top: 10%;
	font-size: clamp(260px, 36vw, 640px);
	font-style: normal;
}

/* ==========================================================================
   01 Hero: the photo on the left; the name stacked very large, the subtitle and the form
   ========================================================================== */

.hero,
.admin-bar .hero {
	min-height: var(--lb-spread);
	gap: 0 calc(2 * var(--lb-pad));
	padding: 0 var(--lb-pad);
	background: var(--lb-ivory);
	color: var(--color-text);
}

.hero::after {
	inset: auto;
	background: none;
}

.hero:not(.hero--no-photo)::after {
	content: none;
}

.hero__inner {
	grid-row: a;
	max-width: none;
	margin: 0;
	padding: 0;
}

.hero__content {
	text-align: left;
}

.hero__title {
	width: auto;
	max-width: 100%;
	text-wrap: balance; /* two even lines ("Summer Days by / Keri Beach"), not a word a line */
	margin: 0 0 clamp(20px, 2vw, 32px);
	font-size: clamp(54px, 5.8vw, 112px);
	line-height: 0.94;
	letter-spacing: -0.03em;
	white-space: normal;
	overflow-wrap: break-word;
}

.hero__text {
	max-width: 440px;
	margin: 0;
	color: var(--color-text-muted);
	font-size: 16px;
	line-height: 1.7;
}

.hero .availability-form-section {
	grid-row: b;
	margin-top: clamp(32px, 3.5vw, 56px);
}

.hero .availability-form-section > .container {
	max-width: none;
	padding: 0;
}

.hero__scroll {
	position: static;
	grid-row: folio;
	align-self: end;
	justify-self: start;
	flex-direction: row;
	padding-bottom: clamp(32px, 3.2vw, 52px);
	transform: none;
	color: var(--color-text-muted);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
	color: var(--color-text);
}

.hero__scroll-icon {
	width: 22px;
	height: 22px;
}

/* The availability form: lines, no box */
.availability-form {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 28px;
	max-width: none;
	margin: 0;
	padding: 0;
	background: none;
	box-shadow: none;
}

.availability-form__field label {
	color: var(--color-text);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.22em;
}

.availability-form input,
.availability-form select,
.availability-form .choices__inner {
	height: 48px;
	min-height: 48px;
	padding-left: 0;
	border: 0;
	border-bottom: 1px solid var(--color-text);
	background-color: transparent;
	font-family: var(--font-heading);
	font-size: 19px;
}

.availability-form input[readonly] {
	background-color: transparent;
	background-position: right 2px center;
	padding-right: 30px;
}

.availability-form .choices[data-type*="select-one"]::after {
	right: 4px;
}

.availability-form .choices__list--dropdown {
	background: var(--lb-ivory);
	box-shadow: none;
}

.availability-form .choices__list--dropdown .choices__item {
	font-family: var(--font-body);
}

.availability-form__submit {
	align-self: end;
	height: 52px;
}

/* The availability page: one row */
.availability-form-section--plain .availability-form {
	grid-template-columns: 1fr 1fr 0.7fr auto;
}

/* Date picker: ivory, a hairline, no shadow */
.flatpickr-calendar {
	background: var(--lb-ivory);
	border-color: var(--color-text);
	box-shadow: none;
}

.flatpickr-day.inRange,
.flatpickr-day.inRange:hover {
	background: color-mix(in srgb, var(--color-accent) 16%, var(--lb-ivory));
}

.flatpickr-day:hover,
.flatpickr-day:focus {
	background: var(--color-bg-soft);
}

/* ==========================================================================
   02 About
   ========================================================================== */

.about {
	padding: 0 var(--lb-pad);
}

.about__content {
	grid-row: a;
	max-width: none;
}

.about__text {
	color: var(--color-text-muted);
	font-size: 16px;
}

.about__text p:first-child::first-letter {
	float: left;
	margin: 6px 12px 0 0;
	color: var(--color-text);
	font-family: var(--font-heading);
	font-size: 4.4em;
	font-style: italic;
	line-height: 0.8;
}

.about__signature {
	margin: 28px 0 36px;
}

/* ==========================================================================
   03 Gallery: a grid of photos fills the photo half
   ========================================================================== */

.small-gallery {
	--lb-row: 0px;
	padding: 0 var(--lb-pad);
}

.small-gallery:has(.small-gallery__row) {
	--lb-row: 26%;
}

.small-gallery__grid,
.small-gallery__grid--1,
.small-gallery__grid--2,
.small-gallery__grid--3 {
	position: absolute;
	top: 0;
	bottom: var(--lb-row);
	left: calc((var(--lb-photo-col) - 1) * 50%);
	width: 50%;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 6px;
}

.small-gallery__grid--2,
.small-gallery__grid--1 {
	grid-template-rows: minmax(0, 1fr);
}

.small-gallery__row {
	position: absolute;
	bottom: 0;
	left: calc((var(--lb-photo-col) - 1) * 50%);
	width: 50%;
	height: calc(var(--lb-row) - 6px);
	margin: 0;
	gap: 6px;
}

.small-gallery__item {
	border-radius: 0;
	background: var(--color-bg-soft);
}

.small-gallery__item img {
	transition: transform 0.6s ease;
}

.small-gallery .section-title {
	margin-bottom: 28px;
	font-size: clamp(64px, 7.4vw, 136px);
	font-style: italic;
	line-height: 0.95;
}

.small-gallery__more {
	grid-row: b;
	margin: 0;
	text-align: left;
}

/* ==========================================================================
   04 Amenities: a plain two-column list
   ========================================================================== */

.amenities {
	padding: 0 var(--lb-pad);
}

.amenities .section-header--center {
	text-align: left;
}

.amenities__grid {
	grid-row: b;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
	justify-content: stretch;
}

.amenities__grid > .amenity {
	flex: none;
}

.amenity {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 15px 0;
	border-bottom: 1px solid var(--color-border);
	background: none;
	box-shadow: none;
}

.amenity__icon {
	width: 22px;
	height: 22px;
	stroke-width: 1.3;
}

.amenity__label {
	font-size: 14px;
	font-weight: 400;
}

/* ==========================================================================
   05 Prices: the band photo is the photo half; the calendar sits on the text page
   ========================================================================== */

.prices {
	padding: 0 var(--lb-pad);
}

.prices__band::after {
	content: none;
}

.prices__band {
	text-align: left;
}

.prices .section-label--light,
.prices .section-title--light {
	color: var(--color-text);
}

.prices__heading .button {
	grid-row: c;
	justify-self: start;
	margin-top: clamp(28px, 3vw, 44px);
}

.prices__card {
	grid-row: b;
	margin: 0;
	padding: 0;
	background: none;
	box-shadow: none;
}

.calendar__months {
	gap: 28px;
}

.calendar-month__title {
	font-family: var(--font-heading);
	font-size: 19px;
	font-style: italic;
	font-weight: 400;
	text-align: left;
}

.calendar__nav {
	top: -4px;
	justify-content: flex-end;
	gap: 4px;
}

.calendar-month__weekday {
	font-size: 10px;
	letter-spacing: 0.08em;
}

.calendar-day {
	min-height: 48px;
	font-size: 13px;
}

.calendar-day__price {
	font-size: 10px;
}

.calendar__legend {
	gap: 8px 18px;
	font-size: 12px;
}

/* ==========================================================================
   06 Reviews: quotes one under the other, hairlines between them
   ========================================================================== */

.reviews {
	padding: 0 var(--lb-pad);
}

.reviews .section-header--center {
	text-align: left;
}

.reviews__list {
	grid-row: b;
	flex-direction: column;
	gap: 0;
	max-width: none;
	margin: 0;
}

.review {
	flex: none;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 6px 24px;
	padding: 24px 0;
	border-top: 1px solid var(--color-border);
	background: none;
	box-shadow: none;
}

.review:last-child {
	border-bottom: 1px solid var(--color-border);
}

.review__text {
	grid-column: 1 / -1;
	grid-row: 1;
	color: var(--color-text);
	font-family: var(--font-heading);
	font-size: clamp(16px, 1.25vw, 19px);
	font-style: italic;
	line-height: 1.55;
}

.review__author {
	grid-row: 2;
	flex-direction: row;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 10px;
}

.review__name {
	color: var(--color-text);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.review__stars {
	grid-row: 2;
	grid-column: 2;
	align-self: center;
	margin: 0;
	color: var(--color-accent);
	font-size: 12px;
}

.review__stars-off {
	color: var(--color-border);
}

.reviews__action {
	grid-row: c;
	margin: clamp(28px, 3vw, 44px) 0 0;
	text-align: left;
}

/* ==========================================================================
   07 House rules
   ========================================================================== */

.house-rules .section-header--center {
	text-align: left;
}

.house-rules:not(.house-rules--small) .house-rules__list {
	grid-row: b;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--color-border);
	background: none;
}

.house-rules__list,
.house-rules--small .house-rules__list {
	padding: 0;
	border: 0;
	border-top: 1px solid var(--color-border);
	background: none;
	border-radius: 0;
}

.availability-form-section--plain > .container {
	max-width: none;
	padding: 0;
}

.house-rule {
	grid-template-columns: minmax(150px, 0.5fr) minmax(0, 1fr);
	padding: 18px 0;
}

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

.house-rule__name {
	font-size: 14px;
	font-weight: 500;
}

.house-rule__value {
	font-size: 14px;
}

/* ==========================================================================
   08 Get in touch
   ========================================================================== */

.get-in-touch,
.get-in-touch--no-photo {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	background: var(--lb-ivory);
}

.get-in-touch__content,
.get-in-touch--no-photo .get-in-touch__content {
	grid-row: a;
	align-self: center;
	max-width: none;
	margin: 0;
	padding: 0;
}

.get-in-touch__text {
	font-size: 16px;
}

.contact-items {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin-top: 32px;
	border-top: 1px solid var(--color-border);
	text-align: left;
}

.contact-item {
	display: grid;
	grid-template-columns: 22px minmax(90px, 0.4fr) minmax(0, 1fr);
	align-items: baseline;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--color-border);
}

.contact-item__icon {
	align-self: center;
	width: 20px;
	height: 20px;
	color: var(--color-accent);
}

.contact-item__title {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.contact-item__value {
	color: var(--color-text);
	font-family: var(--font-heading);
	font-size: 18px;
}

a.contact-item__value {
	color: var(--color-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

/* ==========================================================================
   Footer: the back cover
   ========================================================================== */

.site-footer {
	padding-block: clamp(56px, 6vw, 96px) 40px;
	background: var(--lb-ink);
	color: #b9b0a6;
}

.site-footer > .container {
	max-width: none;
	padding-inline: var(--lb-pad);
}

.site-footer__inner {
	gap: 32px;
}

.site-footer__menu a {
	color: var(--lb-ivory);
	font-family: var(--font-heading);
	font-size: clamp(20px, 1.8vw, 28px);
	font-style: italic;
	letter-spacing: 0;
	text-transform: none;
}

.site-footer__menu {
	gap: 8px 40px;
}

.platform-link {
	border-radius: 0;
	color: #d8d0c6;
}

.site-footer__copyright,
.site-footer__legal {
	font-size: 12px;
	letter-spacing: 0.06em;
}

.site-footer__legal a {
	color: #d8d0c6;
}

/* ==========================================================================
   Theme pages: a spread too, the photo half stays while the page scrolls
   ========================================================================== */

.theme-page {
	background: var(--lb-ivory);
	padding-bottom: 0;
}

.theme-page__band {
	background: var(--lb-tint);
}

.theme-page__band::after {
	background: none;
}

.theme-page__band--no-photo::after {
	content: "&";
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lb-glyph-color);
	font-family: var(--font-heading);
	font-size: clamp(160px, 22vw, 400px);
	font-style: italic;
	line-height: 1;
}

.theme-page__card {
	max-width: none;
	margin: 0;
	background: none;
}

.theme-page__title {
	font-size: clamp(48px, 5.4vw, 100px);
	font-style: italic;
	line-height: 0.98;
	letter-spacing: -0.03em;
	text-align: left;
}

.gallery-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}

.gallery-grid__item:nth-child(3n + 1) {
	grid-column: 1 / -1;
	aspect-ratio: 3 / 2;
}

.theme-page__book {
	text-align: left;
}

.about-page,
.availability-result__villa {
	grid-template-columns: minmax(0, 1fr);
}

.about-page__photo img {
	aspect-ratio: 4 / 3;
}

.about-page__subtitle,
.about-page__location {
	text-align: left;
}

.about-page__address {
	justify-content: flex-start;
}

.about-page__nearby {
	margin-inline: 0;
}

.owner-card {
	padding: var(--page-gap-small) 0;
	border-block: 1px solid var(--color-border);
	background: none;
}

.availability-message {
	text-align: left;
}

.availability-result__notice {
	background: var(--lb-tint);
}

.booking-request__field input {
	border-color: var(--color-border);
	background: transparent;
}

.photo-slider__button {
	background: var(--lb-ivory);
}

.text-page {
	max-width: 640px;
	margin: 0;
}

.not-found {
	align-items: flex-start;
	text-align: left;
}

@media (min-width: 961px) {
	.theme-page {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.theme-page__band {
		position: sticky;
		top: var(--header-height);
		grid-column: 1;
		grid-row: 1;
		height: var(--lb-spread);
	}

	.admin-bar .theme-page__band {
		top: calc(var(--header-height) + 32px);
		height: calc(var(--lb-spread) - 32px);
	}

	.theme-page > .container {
		grid-column: 2;
		grid-row: 1;
		max-width: none;
		padding: 0;
	}

	.theme-page__card {
		min-height: var(--lb-spread);
		padding: clamp(56px, 6vw, 112px) var(--lb-pad);
	}

	.availability-form-section--plain .availability-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ==========================================================================
   Desktop details
   ========================================================================== */

@media (min-width: 961px) and (max-width: 1279px) {
	.calendar__months {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   Phones and tablets: a tall photo on top, the text below
   ========================================================================== */

@media (max-width: 960px) {
	.site-main > section,
	.hero,
	.admin-bar .hero {
		--lb-text-col: 1;
		--lb-photo-col: 1;
		--lb-outer: end;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: [photo] auto [run] auto [top] 40px [a] auto [b] auto [c] auto [bottom] 40px [folio] auto;
		column-gap: 0;
		min-height: 0;
		padding: 0 var(--gutter);
	}

	.site-main > section:nth-of-type(even) {
		--lb-text-col: 1;
		--lb-photo-col: 1;
		--lb-outer: end;
	}

	.hero__photo,
	.about__photo,
	.prices__photo,
	.get-in-touch__photo,
	.site-main > .hero--no-photo::after,
	.site-main > .about--no-photo::after,
	.site-main > .amenities::after,
	.site-main > .prices:has(.prices__band--no-photo)::after,
	.site-main > .reviews::after,
	.site-main > .house-rules::after,
	.site-main > .get-in-touch--no-photo::after {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		grid-column: 1;
		grid-row: photo;
		width: calc(100% + 2 * var(--gutter));
		height: 70svh;
		min-height: 360px;
		margin-inline: calc(-1 * var(--gutter));
	}

	.hero__photo {
		height: 58svh;
	}

	/* The typographic halves stay shorter than the photos */
	.site-main > .hero--no-photo::after,
	.site-main > .about--no-photo::after,
	.site-main > .amenities::after,
	.site-main > .prices:has(.prices__band--no-photo)::after,
	.site-main > .reviews::after,
	.site-main > .house-rules::after,
	.site-main > .get-in-touch--no-photo::after {
		height: 42svh;
		min-height: 240px;
		font-size: clamp(140px, 42vw, 300px);
	}

	/* Without its numeral, a half without a photo is an empty block on the phone: not shown */
	.site-main > .hero--no-photo::after,
	.site-main > .about--no-photo::after,
	.site-main > .amenities::after,
	.site-main > .prices:has(.prices__band--no-photo)::after,
	.site-main > .reviews::after,
	.site-main > .house-rules::after,
	.site-main > .get-in-touch--no-photo::after {
		display: none;
	}

	.site-main > .reviews::after {
		padding-top: 0;
		align-items: center;
		font-size: clamp(220px, 70vw, 420px);
		line-height: 0.6;
		padding-top: 18%;
	}

	.site-main > section::before {
		padding-bottom: 32px;
		font-size: 40px;
	}

	.hero__title {
		font-size: clamp(46px, 13vw, 84px);
	}

	.hero .availability-form-section {
		margin-top: 28px;
	}

	.hero__scroll {
		display: none;
	}

	.site-main > section .section-label {
		padding-top: 40px;
	}

	/* The gallery: the photos on top, as a mosaic of two columns */
	.small-gallery__grid,
	.small-gallery__grid--1,
	.small-gallery__grid--2,
	.small-gallery__grid--3,
	.small-gallery__row {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		width: calc(100% + 2 * var(--gutter));
		margin-inline: calc(-1 * var(--gutter));
	}

	.small-gallery__grid,
	.small-gallery__grid--1,
	.small-gallery__grid--2,
	.small-gallery__grid--3 {
		grid-row: photo;
		grid-template-rows: none;
		grid-auto-rows: 46vw;
	}

	/* One large, two side by side, one wide */
	.small-gallery__grid .small-gallery__item:nth-child(1) {
		grid-column: 1 / -1;
		grid-row: span 2;
	}

	.small-gallery__grid--3 .small-gallery__item:nth-child(3) {
		grid-column: auto;
	}

	.small-gallery__grid--4 .small-gallery__item:nth-child(4) {
		grid-column: 1 / -1;
	}

	.small-gallery__row {
		grid-row: run;
		height: auto;
		margin-top: 6px;
	}

	.small-gallery__row > .small-gallery__item {
		flex: 1 1 calc(50% - 3px);
		height: 46vw;
	}

	.small-gallery .section-title {
		font-size: clamp(56px, 16vw, 96px);
	}

	.small-gallery .section-title {
		margin-top: 0;
	}

	.amenities__grid {
		--amenity-columns-now: 2;
		gap: 0 18px;
	}

	.prices__heading .button,
	.reviews__action .button {
		width: 100%;
	}

	.prices__heading .button {
		justify-self: stretch;
	}

	.contact-item {
		grid-template-columns: 20px minmax(0, 1fr);
		gap: 4px 14px;
	}

	.contact-item__value {
		grid-column: 2;
	}

	.theme-page__band {
		height: 52svh;
	}

	.theme-page__card {
		margin: 0;
		padding: 40px var(--gutter) 56px;
	}

	.theme-page__title {
		font-size: clamp(44px, 12vw, 72px);
	}
}

@media (max-width: 600px) {
	.amenities__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.availability-form,
	.availability-form-section--plain .availability-form {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.site-footer__menu {
		flex-direction: column;
		align-items: center;
	}
}
