/*
 * Design "Collection": in the manner of a high-end European villa-collection agency. Black, white
 * and one warm tan accent; a thin, light serif set large for titles and a tiny spaced sans for the
 * details. Precise, architectural, quiet.
 * The header has the villa's name centred between the menu (left) and the buttons (right). The
 * hero photo sits inside the page with white margins, and the title runs very large across the
 * photo's bottom edge: its last line half on the photo (white), half on the page (black). The
 * search form is a strip of thin columns under it, like a row of key numbers. Every section opens
 * with a thin rule, its small capital label in a left margin column and the content to the right:
 * the gallery a strict 3-column grid of identical square crops with hairline gaps, amenities and
 * house rules as ruled lists, reviews as three columns of serif quotes between hairlines, the
 * prices photo framed with the calendar cutting into its foot, a black footer. The key facts of
 * the villa (guests, size, beds) are a horizontal strip of large numbers in thin columns. The
 * theme pages reuse the hero idea: a framed photo and the page title across its bottom edge.
 * Loaded after main.css for villas with "villa.design": "collection". Same sections, order and
 * markup as Classic; only the look and the layout change. Colours: villa_designs().
 */

/* ==========================================================================
   Fonts (self-hosted): Cormorant Garamond (titles, latin + latin-ext; Greek falls back to
   EB Garamond), Jost (text and details, latin + latin-ext; Greek falls back to Manrope)
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-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: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-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: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-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: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-500-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: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-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: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-greek-400-italic.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: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-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: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-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: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-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: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-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: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-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: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-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; }

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

:root {
	--ink: #111111;
	--paper: #ffffff;
	--stone: #f3f0eb; /* a warm white: panels without a photo, the free days */
	--line: rgb(17 17 17 / 0.14); /* hairlines */
	--line-strong: rgb(17 17 17 / 0.85); /* the rule that opens a section */
	--accent-ink: color-mix(in srgb, var(--color-accent) 72%, #111111); /* the accent as small text on white */
	/* Text on the button colour: dark on light colours, white on dark ones (below) */
	--on-button: #ffffff;
	--label-col: clamp(150px, 15vw, 260px); /* the left margin column with the section labels */
	--col-gap: clamp(28px, 4vw, 80px);
	--hero-size: clamp(56px, 7.8vw, 150px);
	--hero-photo: clamp(420px, calc(100svh - var(--header-height) - 170px), 860px);
	--title-hang: 0.46em; /* how far a title runs below a photo's edge: about the middle of its small letters */
	--hero-top: clamp(16px, 2vw, 32px); /* white strip between the header and the hero photo */

	--color-text: #161616;
	--color-text-muted: #66615a;
	--color-bg: var(--paper);
	--color-bg-soft: var(--stone);
	--color-bg-sand: var(--stone);
	--color-dark: #111111;
	--color-footer: #0e0e0e;
	--color-border: var(--line);
	--color-day-available: #f1ece4;
	--color-day-today: #111111;
	--color-day-booked: #9a4637; /* white numbers on it: 6.4:1 */
	--color-day-past: #f6f6f5;

	--font-heading: "Cormorant Garamond", "EB Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--font-body: "Jost", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: clamp(1040px, 82vw, 1640px);
	--header-height: 88px;
	--section-space: clamp(80px, 8vw, 140px);
	--shadow-card: 0 18px 50px rgb(17 17 17 / 0.1);
	--radius: 0;
}

/* Each villa sets its own button colour: white text on a dark one, black on a light one */
@supports (color: rgb(from red r g b)) {
	:root {
		--on-button: rgb(from var(--color-button) clamp(17, calc((150 - (0.299 * r + 0.587 * g + 0.114 * b)) * 1000), 255) clamp(17, calc((150 - (0.299 * r + 0.587 * g + 0.114 * b)) * 1000), 255) clamp(17, calc((150 - (0.299 * r + 0.587 * g + 0.114 * b)) * 1000), 255));
	}
}

@media (max-width: 1000px) {
	:root {
		--label-col: 0px;
	}
}

@media (max-width: 768px) {
	:root {
		--header-height: 68px;
		--hero-size: clamp(42px, 12vw, 64px);
		--hero-photo: clamp(340px, 62svh, 560px);
	}
}

/* ==========================================================================
   Base: light serif titles, a small spaced sans
   ========================================================================== */

body {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.75;
}

/* Sections one after another: the space above each, not twice between them */
.site-main > .section {
	padding-block: var(--section-space) 0;
}

.site-main > .get-in-touch {
	margin-top: 0;
}

/* Figures in the serif: lining, not old-style, where they are numbers to read */
.availability-form,
.villa-facts,
.calendar,
.availability-result__price,
.availability-room__price,
.flatpickr-calendar {
	font-variant-numeric: lining-nums;
}

h1,
h2,
h3,
h4 {
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.01em;
	overflow-wrap: break-word;
}

.section-title {
	font-size: clamp(36px, 3.8vw, 68px);
	text-wrap: balance;
}

/* The small capital label */
.section-label {
	margin: 0;
	color: var(--accent-ink);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.26em;
	line-height: 1.6;
}

.button {
	min-height: 50px;
	padding: 0 34px;
	color: var(--on-button);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.24em;
}

.button:hover {
	background: color-mix(in srgb, var(--color-button) 78%, #fff);
}

/* WhatsApp green and the platforms' own colours keep white text, whatever the villa's button */
.button--whatsapp,
.availability-result__platforms .button--platform {
	color: #fff;
}

.button--outline {
	background: transparent;
	color: var(--color-button);
}

.button--outline:hover {
	color: var(--on-button);
}

.skip-link:focus {
	color: var(--ink);
}

/* "View all photos", "Open in Google Maps": tiny capitals over a tan hairline */
.link-arrow {
	display: inline-block;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--color-accent);
	color: var(--ink);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.24em;
}

.link-arrow:hover {
	color: var(--accent-ink);
}

/* ==========================================================================
   Header: the menu on the left, the name centred in spaced capitals, the buttons on the right
   ========================================================================== */

.site-header {
	border-bottom: 1px solid var(--line);
}

.site-branding__name {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 500;
	letter-spacing: 0.22em;
	line-height: 1.1;
}

.site-branding__location {
	margin-top: 4px;
	color: var(--color-text-muted);
	font-size: 10px;
	letter-spacing: 0.28em;
}

.site-nav__menu {
	gap: 36px;
}

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

.site-nav__menu a:hover {
	color: var(--accent-ink);
}

.site-header .button {
	min-height: 42px;
	padding: 0 24px;
}

.language-switcher {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
}

@media (min-width: 901px) {
	.site-nav {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}

	.site-branding {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		align-items: center;
		text-align: center;
	}

	.site-header__actions {
		grid-column: 3;
		grid-row: 1;
	}
}

/* Phones and tablets: the menu a white sheet of large serif lines between hairlines */
@media (max-width: 900px) {
	.site-branding__name {
		font-size: 19px;
		letter-spacing: 0.16em;
	}

	.site-branding__location {
		margin-top: 2px;
		font-size: 9px;
		letter-spacing: 0.2em;
	}

	.site-nav {
		padding: 8px var(--gutter) 28px;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 30px 60px rgb(17 17 17 / 0.12);
	}

	.site-nav__menu {
		gap: 0;
	}

	.site-nav__menu li {
		border-bottom: 1px solid var(--line);
	}

	.site-nav__menu a {
		display: block;
		padding: 14px 0 12px;
		font-family: var(--font-heading);
		font-size: 30px;
		font-weight: 500;
		letter-spacing: 0;
		line-height: 1.2;
		text-transform: none;
	}

	.site-nav__close {
		border-color: var(--line);
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.24em;
	}
}

/* ==========================================================================
   Hero: the photo framed by white margins, the title across its bottom edge, the text under it
   on the left, the search form a strip of thin columns
   ========================================================================== */

.hero {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: var(--hero-photo) auto auto;
	column-gap: 24px;
	row-gap: 0;
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	min-height: 0;
	margin-inline: auto;
	padding: var(--hero-top) var(--gutter) 0;
	background: var(--paper);
	color: var(--ink);
	overflow: visible;
}

.admin-bar .hero {
	min-height: 0;
}

.hero__photo {
	position: relative;
	inset: auto;
	grid-column: 1 / -1;
	grid-row: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* A soft dark at the photo's foot, so the white half of the title reads on any photo */
.hero::after {
	z-index: 1;
	inset: auto;
	top: var(--hero-top);
	left: var(--gutter);
	right: var(--gutter);
	height: var(--hero-photo);
	background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.18) 30%, rgb(0 0 0 / 0) 55%);
	pointer-events: none;
}

.hero__inner,
.hero__content {
	display: contents;
}

/* The last line straddles the photo's edge: white above it, black below. The colour is a
   gradient clipped to the letters, split exactly at the edge (the title's bottom margin). */
.hero__title {
	position: relative;
	z-index: 2;
	grid-column: 1 / -1;
	grid-row: 1;
	align-self: end;
	max-width: 14em;
	margin: 0 0 calc(-1 * var(--title-hang));
	padding: 0.08em 0 0.06em clamp(18px, 3.2vw, 56px);
	background: linear-gradient(to bottom, #ffffff calc(100% - var(--title-hang)), var(--ink) calc(100% - var(--title-hang)));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: var(--hero-size);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	text-align: left;
	text-wrap: balance;
}

.hero__text {
	grid-column: 1 / 8;
	grid-row: 2;
	max-width: 62ch;
	margin: 0;
	padding: calc(var(--hero-size) * 0.46 + clamp(28px, 2.6vw, 44px)) 0 0 clamp(18px, 3.2vw, 56px);
	color: var(--color-text-muted);
	font-size: 15px;
	line-height: 1.8;
	text-align: left;
}

.hero__text p {
	margin: 0;
}

.hero__text p + p {
	margin-top: 12px;
}

.hero .availability-form-section {
	grid-column: 1 / -1;
	grid-row: 3;
	margin-top: clamp(36px, 3.6vw, 64px);
}

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

/* "Scroll to learn more": a tiny line on the right of the text */
.hero__scroll {
	position: static;
	z-index: auto;
	grid-column: 9 / -1;
	grid-row: 2;
	align-self: end;
	justify-self: end;
	flex-direction: row;
	gap: 14px;
	transform: none;
	color: var(--ink);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.26em;
}

.hero__scroll::before {
	content: "";
	width: 48px;
	height: 1px;
	background: var(--color-accent);
}

.hero__scroll-icon {
	display: none;
}

/* No photo: a warm white panel in its place, the title black */
.hero--no-photo {
	--hero-photo: clamp(220px, 34vh, 380px);
}

.hero--no-photo::after {
	background: var(--stone);
}

.hero--no-photo .hero__title {
	background: none;
	color: var(--ink);
}

@media (max-width: 1100px) {
	.hero__text {
		grid-column: 1 / 9;
	}
}

@media (max-width: 768px) {
	.hero {
		--hero-top: 12px;
	}

	.hero__title {
		max-width: none;
		padding-left: 16px;
		padding-right: 12px;
		letter-spacing: -0.015em;
	}

	.hero__text {
		grid-column: 1 / -1;
		padding-left: 0;
		font-size: 15px;
	}

	.hero__scroll {
		display: none;
	}

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

/* ==========================================================================
   Availability form: a strip of thin columns between two rules, like a row of key numbers
   ========================================================================== */

.availability-form {
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	align-items: stretch;
	gap: 0;
	max-width: none;
	padding: 0;
	border-top: 1px solid var(--line-strong);
	border-bottom: 1px solid var(--line);
	background: var(--paper);
	box-shadow: none;
}

.availability-form__field {
	gap: 4px;
	padding: 16px clamp(16px, 2vw, 32px) 14px;
}

.availability-form__field + .availability-form__field {
	border-left: 1px solid var(--line);
}

.availability-form__field:first-of-type {
	padding-left: 0;
}

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

.availability-form input,
.availability-form select {
	height: 44px;
	padding: 0;
	border: 0;
	background-color: transparent;
	font-family: var(--font-heading);
	font-size: 26px;
	line-height: 1;
}

.availability-form input::placeholder {
	color: #8a847b;
	opacity: 1;
}

.availability-form input:focus,
.availability-form select:focus {
	outline: 1px solid var(--color-accent);
	outline-offset: 4px;
}

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

.availability-form .choices {
	font-family: var(--font-heading);
	font-size: 26px;
}

.availability-form .choices__list--single,
.availability-form .choices__list--single .choices__item {
	font-family: var(--font-heading);
	font-size: 26px;
	line-height: 1.2;
}

.availability-form .choices__inner {
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
}

.availability-form .choices.is-focused .choices__inner,
.availability-form .choices.is-open .choices__inner {
	border: 0;
}

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

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

.availability-form .choices__list--dropdown .choices__item--selectable.is-highlighted {
	background: var(--stone);
}

.availability-form__submit {
	align-self: center;
	min-width: clamp(150px, 13vw, 220px);
	min-height: 56px;
	margin-left: clamp(16px, 2vw, 32px);
}

/* With room types: their field a line of its own, with a rule under it */
.availability-form .availability-form__field--unit {
	padding-left: 0;
	border-bottom: 1px solid var(--line);
}

.availability-form .availability-form__field--unit + .availability-form__field {
	padding-left: 0;
	border-left: 0;
}

@media (max-width: 768px) {
	/* Two columns: the two dates, then guests and Search */
	.availability-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
		padding: 0;
	}

	.availability-form__field {
		padding: 14px 14px 12px;
	}

	.availability-form__field:nth-of-type(odd) {
		padding-left: 0;
	}

	.availability-form__field:nth-of-type(3) {
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	.availability-form input,
	.availability-form select,
	.availability-form .choices,
	.availability-form .choices__list--single,
	.availability-form .choices__list--single .choices__item {
		font-size: 22px;
	}

	.availability-form__submit {
		align-self: stretch;
		min-width: 0;
		min-height: 0;
		margin: 0;
	}
}

/* Date picker: flat, the stay in black and a tan tint */
.flatpickr-calendar {
	border-color: var(--line);
	box-shadow: 0 24px 60px rgb(17 17 17 / 0.14);
}

.flatpickr-current-month {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 500;
}

.flatpickr-current-month span.cur-month,
.flatpickr-current-month input.cur-year {
	font-weight: 500;
}

span.flatpickr-weekday {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.16em;
}

.flatpickr-day.today {
	color: var(--accent-ink);
}

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

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.flatpickr-disabled.startRange,
.flatpickr-day.selected.startRange,
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange {
	background: var(--ink);
	color: #fff;
}

/* ==========================================================================
   Sections: a thin rule, the small capital label in the left margin column, the content right
   ========================================================================== */

.amenities,
.reviews,
.house-rules:not(.house-rules--small),
.rooms,
.small-gallery {
	padding-top: var(--section-space);
}

.amenities > .container,
.reviews > .container,
.house-rules:not(.house-rules--small) > .container,
.rooms > .container {
	display: grid;
	grid-template-columns: var(--label-col) minmax(0, 1fr);
	column-gap: var(--col-gap);
	align-items: start;
}

/* The rule that opens each section */
.amenities > .container::before,
.reviews > .container::before,
.house-rules:not(.house-rules--small) > .container::before,
.rooms > .container::before,
.small-gallery > .container::before,
.about__inner::before,
.get-in-touch::before {
	content: "";
	grid-column: 1 / -1;
	grid-row: 1;
	height: 1px;
	margin-bottom: clamp(22px, 2vw, 32px);
	background: var(--line-strong);
}

.section-header--center {
	display: contents;
}

.section-header--center .section-label {
	grid-column: 1;
	grid-row: 2;
	padding-top: 0.9em;
	text-align: left;
}

.section-header--center .section-title {
	grid-column: 2;
	grid-row: 2;
	max-width: 18em;
	margin: 0 0 clamp(36px, 3.4vw, 60px);
	text-align: left;
}

.amenities__grid,
.reviews__list,
.house-rules:not(.house-rules--small) .house-rules__list,
.rooms__grid {
	grid-column: 2;
	grid-row: 3;
}

.reviews__action {
	grid-column: 2;
	grid-row: 4;
}

@media (max-width: 1000px) {
	.amenities > .container,
	.reviews > .container,
	.house-rules:not(.house-rules--small) > .container,
	.rooms > .container {
		grid-template-columns: minmax(0, 1fr);
	}

	.section-header--center .section-label,
	.section-header--center .section-title,
	.amenities__grid,
	.reviews__list,
	.house-rules:not(.house-rules--small) .house-rules__list,
	.rooms__grid,
	.reviews__action {
		grid-column: 1;
		grid-row: auto;
	}

	.section-header--center .section-label {
		padding-top: 0;
		margin-bottom: 14px;
	}
}

/* ==========================================================================
   About: the margin column left empty, the story, the photo a tall crop on the right
   ========================================================================== */

.about__inner {
	grid-template-columns: var(--label-col) minmax(0, 6fr) minmax(0, 5fr);
	align-items: start;
	column-gap: var(--col-gap);
	row-gap: 0;
}

.about__content {
	grid-column: 2;
	grid-row: 2;
	max-width: 620px;
}

.about__photo {
	grid-column: 3;
	grid-row: 2;
}

.about__photo img {
	aspect-ratio: 4 / 5;
}

.about--no-photo .about__inner {
	grid-template-columns: var(--label-col) minmax(0, 1fr);
	max-width: calc(var(--container) + 2 * var(--gutter));
}

.about .section-title {
	margin-bottom: 28px;
}

.about__text {
	font-size: 15px;
	line-height: 1.85;
}

.about__signature {
	margin: 28px 0 36px;
	color: var(--ink);
	font-family: var(--font-heading);
	font-size: 26px;
	font-style: italic;
	line-height: 1.2;
}

@media (max-width: 1000px) {
	.about__inner,
	.about--no-photo .about__inner {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.about__content {
		grid-column: 1;
	}

	.about__photo {
		grid-column: 2;
	}

	.about--no-photo .about__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 768px) {
	.about__inner,
	.about--no-photo .about__inner {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 36px;
	}

	.about__content,
	.about__photo {
		grid-column: 1;
		grid-row: 2;
	}

	.about__photo {
		grid-row: 3;
	}

	.about__photo img {
		aspect-ratio: 4 / 5;
		max-height: 80vh;
	}
}

/* ==========================================================================
   Gallery: "Gallery" as the small label in the margin, the photos a strict 3-column grid of
   identical square crops with hairline gaps. The mosaic and the row below it melt into one
   grid; the photos are shown in full rows of three (all of them in the lightbox and Gallery).
   ========================================================================== */

.small-gallery > .container {
	--gallery-label: calc(var(--label-col) + var(--col-gap) - 2px); /* photos start where the other sections' content does */
	display: grid;
	grid-template-columns: var(--gallery-label) repeat(3, minmax(0, 1fr));
	column-gap: 2px;
	row-gap: 2px;
}

.small-gallery > .container::before {
	margin-bottom: clamp(20px, 2vw, 30px);
}

.small-gallery .section-title {
	grid-column: 1;
	grid-row: 2 / span 2;
	align-self: start;
	margin: 0;
	padding-top: 0.2em;
	color: var(--accent-ink);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.26em;
	line-height: 1.6;
	text-transform: uppercase;
}

.small-gallery__grid,
.small-gallery__grid--1,
.small-gallery__grid--2,
.small-gallery__grid--3,
.small-gallery__row {
	display: contents;
}

.small-gallery__item,
.small-gallery__grid .small-gallery__item:nth-child(n),
.small-gallery__row > .small-gallery__item {
	grid-column: auto;
	grid-row: auto;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 0;
}

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

.small-gallery__item:hover img {
	transform: scale(1.03);
}

/* Only full rows of three: 4 photos show 3, 5 show 3, 7 and 8 show 6 */
.small-gallery__grid--4:not(:has(+ .small-gallery__row)) > .small-gallery__item:nth-child(4),
.small-gallery__grid--4:has(+ .small-gallery__row > .small-gallery__item:only-child) > .small-gallery__item:nth-child(4),
.small-gallery__row > .small-gallery__item:only-child,
.small-gallery__row > .small-gallery__item:nth-child(n + 3) {
	display: none;
}

/* One or two photos: as many columns */
.small-gallery > .container:has(.small-gallery__grid--1) {
	grid-template-columns: var(--gallery-label) minmax(0, 1fr);
}

.small-gallery > .container:has(.small-gallery__grid--2) {
	grid-template-columns: var(--gallery-label) repeat(2, minmax(0, 1fr));
}

.small-gallery__grid--1 .small-gallery__item,
.small-gallery__grid--2 .small-gallery__item {
	aspect-ratio: 3 / 2;
}

.small-gallery__caption {
	left: 14px;
	bottom: 12px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-shadow: 0 1px 8px rgb(0 0 0 / 0.6);
}

.small-gallery__more {
	grid-column: 2 / -1;
	margin: 26px 0 0;
}

@media (max-width: 1000px) {
	.small-gallery > .container,
	.small-gallery > .container:has(.small-gallery__grid--1),
	.small-gallery > .container:has(.small-gallery__grid--2) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.small-gallery > .container:has(.small-gallery__grid--1) {
		grid-template-columns: minmax(0, 1fr);
	}

	.small-gallery > .container:has(.small-gallery__grid--2) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.small-gallery .section-title {
		grid-column: 1 / -1;
		grid-row: 2;
		margin: 0 0 16px;
		padding-top: 0;
	}

	.small-gallery__more {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.small-gallery__caption {
		display: none;
	}

	.small-gallery__more {
		margin-top: 20px;
	}
}

/* ==========================================================================
   Amenities: a ruled list in three columns, a small tan icon before each
   ========================================================================== */

.amenities__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(24px, 3vw, 48px);
	row-gap: 0;
	justify-content: stretch;
}

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

.amenities__grid > .amenity:nth-child(-n + 3) {
	border-top: 1px solid var(--line);
}

.amenity__icon {
	width: 20px;
	height: 20px;
	color: var(--color-accent);
	stroke-width: 1.3;
}

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

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

	.amenities__grid > .amenity:nth-child(3) {
		border-top: 0;
	}
}

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

	.amenities__grid > .amenity:nth-child(2) {
		border-top: 0;
	}

	.amenity {
		padding: 13px 0 12px;
	}
}

/* ==========================================================================
   Prices: the photo framed by white margins with the heading on it, the calendar a white panel
   cutting into its foot, set in from the left like the content column
   ========================================================================== */

.prices {
	--prices-card-overlap: clamp(90px, 9vw, 160px);
	padding-top: var(--section-space);
}

.prices__band {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
	padding: clamp(40px, 4vw, 72px) 0 calc(var(--prices-card-overlap) + clamp(56px, 5vw, 96px));
	text-align: left;
}

.prices__band::after {
	background: linear-gradient(to bottom, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.12) 70%);
}

.prices__band--no-photo {
	background: var(--ink);
}

.prices__heading {
	display: grid;
	grid-template-columns: var(--label-col) minmax(0, 1fr);
	column-gap: var(--col-gap);
	align-items: start;
	max-width: none;
	padding-inline: clamp(18px, 3.2vw, 56px);
}

.prices__heading .section-label {
	grid-column: 1;
	grid-row: 1 / span 2;
	padding-top: 0.9em;
	color: #fff;
}

.prices__heading .section-title {
	grid-column: 2;
	max-width: 14em;
	margin-bottom: 28px;
}

.prices__heading .button {
	grid-column: 2;
	justify-self: start;
	border: 1px solid #fff;
	background: transparent;
	color: #fff;
}

.prices__heading .button:hover {
	background: #fff;
	color: var(--ink);
}

.prices > .container {
	padding-left: calc(var(--gutter) + var(--label-col) + var(--col-gap));
}

.prices__card {
	padding: clamp(28px, 3vw, 48px) clamp(20px, 3vw, 52px) 32px;
	border: 1px solid var(--line);
	border-top: 1px solid var(--line-strong);
	box-shadow: none;
}

.calendar__months {
	gap: clamp(28px, 4vw, 64px);
}

.calendar-month__title {
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 500;
}

.calendar-month__weekday {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.calendar-month__grid {
	gap: 2px;
}

.calendar-day {
	font-size: 14px;
}

.calendar__legend {
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 12px;
}

@media (max-width: 1000px) {
	.prices__heading .section-label,
	.prices__heading .section-title,
	.prices__heading .button {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.prices__heading .section-label {
		padding-top: 0;
		margin-bottom: 14px;
	}

	.prices > .container {
		padding-left: var(--gutter);
	}
}

@media (max-width: 768px) {
	.prices {
		--prices-card-overlap: 72px;
	}

	.prices__band {
		padding-top: 40px;
	}

	.prices__heading {
		padding-inline: 18px;
	}

	.prices__card {
		padding: 24px 14px 22px;
	}
}

/* ==========================================================================
   Reviews: three columns of serif quotes between hairlines, the stars small and tan
   ========================================================================== */

.reviews__list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 0;
	max-width: none;
	margin: 0;
}

.review {
	padding: 4px clamp(20px, 2.4vw, 40px) 0;
	border-left: 1px solid var(--line);
	background: none;
	box-shadow: none;
	gap: 18px;
}

.review:first-child {
	padding-left: 0;
	border-left: 0;
}

.review__stars {
	order: -1;
	margin: 0;
	color: var(--color-accent);
	font-size: 11px;
	letter-spacing: 4px;
}

.review__stars-off {
	color: #ddd8d0;
}

.review__text {
	order: 1;
	color: var(--ink);
	font-family: var(--font-heading);
	font-size: clamp(19px, 1.45vw, 23px);
	line-height: 1.45;
}

.review__author {
	order: 2;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

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

.review__country {
	font-size: 12px;
}

.reviews__action {
	margin: clamp(36px, 3.4vw, 56px) 0 0;
	text-align: left;
}

@media (max-width: 760px) {
	.reviews__list {
		grid-auto-flow: row;
		max-width: none;
	}

	.review,
	.review:first-child {
		padding: 28px 0;
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	.review:first-child {
		padding-top: 0;
		border-top: 0;
	}
}

/* ==========================================================================
   House rules: a ruled list, the name in small capitals on the left
   ========================================================================== */

.house-rules__list {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
	background: none;
}

.house-rule {
	grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
	padding: 20px 0 19px;
	border-bottom: 1px solid var(--line);
}

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

.house-rule__name {
	align-items: center;
	gap: 14px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	line-height: 1.6;
	text-transform: uppercase;
}

.house-rule__icon {
	width: 18px;
	height: 18px;
	stroke-width: 1.3;
}

.house-rule__value {
	color: var(--color-text);
	font-size: 15px;
}

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

	.house-rule__value {
		padding-left: 32px;
	}
}

/* ==========================================================================
   Get in touch: the rule, the title and the contact lines as a strip of thin columns, the
   photo a framed crop on the right
   ========================================================================== */

.get-in-touch {
	grid-template-columns: var(--label-col) minmax(0, 7fr) minmax(0, 5fr);
	column-gap: var(--col-gap);
	row-gap: 0;
	align-items: start;
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding: var(--section-space) var(--gutter);
	background: var(--paper);
}

.get-in-touch--no-photo {
	grid-template-columns: var(--label-col) minmax(0, 1fr);
}

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

.get-in-touch__photo {
	grid-column: 3;
	grid-row: 2;
}

.get-in-touch__photo img {
	min-height: 0;
	max-height: none;
	aspect-ratio: 4 / 5;
}

.get-in-touch__text {
	max-width: 56ch;
}

.contact-items,
.contact-items:where(:not(:has(> :nth-child(3)))),
.contact-items:where(:has(> :nth-child(4))) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(20px, 2.4vw, 40px);
	margin-top: clamp(28px, 3vw, 48px);
	text-align: left;
}

.contact-items:where(:not(:has(> :nth-child(2)))) {
	grid-template-columns: minmax(0, 1fr);
}

.contact-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 2px 12px;
	padding: 18px 0 16px;
	border-top: 1px solid var(--line);
}

.contact-item__icon {
	grid-row: 1;
	width: 16px;
	height: 16px;
	color: var(--color-accent);
}

.contact-item__title {
	grid-row: 1;
	color: var(--color-text-muted);
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.26em;
	text-transform: uppercase;
}

.contact-item__value,
a.contact-item__value {
	grid-column: 1 / -1;
	color: var(--ink);
	font-family: var(--font-heading);
	font-size: 21px;
	line-height: 1.3;
	text-decoration: none;
}

a.contact-item__value:hover {
	color: var(--accent-ink);
}

@media (max-width: 1000px) {
	.get-in-touch,
	.get-in-touch--no-photo {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.get-in-touch--no-photo {
		grid-template-columns: minmax(0, 1fr);
	}

	.get-in-touch__content,
	.get-in-touch--no-photo .get-in-touch__content {
		grid-column: 1;
	}

	.get-in-touch__photo {
		grid-column: 2;
	}
}

@media (max-width: 768px) {
	.get-in-touch,
	.get-in-touch--no-photo {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 36px;
	}

	.get-in-touch__content,
	.get-in-touch--no-photo .get-in-touch__content,
	.get-in-touch__photo {
		grid-column: 1;
		grid-row: auto;
		padding: 0;
	}

	.contact-items,
	.contact-items:where(:not(:has(> :nth-child(3)))),
	.contact-items:where(:has(> :nth-child(4))) {
		grid-template-columns: minmax(0, 1fr);
	}

	.get-in-touch__photo img {
		aspect-ratio: 4 / 3;
	}
}

/* ==========================================================================
   Rooms (room types): plain crops, the name in serif, the facts as a strip
   ========================================================================== */

.rooms__grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 36px);
}

.room-card {
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.room-card__photo img {
	aspect-ratio: 4 / 5;
}

.room-card__body {
	gap: 12px;
	padding: 22px 0 0;
}

.room-card__name {
	font-size: clamp(26px, 2vw, 32px);
	font-weight: 500;
}

.room-card__price {
	margin: 0;
	color: var(--accent-ink);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.room-card__photos-link {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration-color: var(--color-accent);
}

/* ==========================================================================
   Key facts (guests, size, beds): a strip of large numbers in thin columns
   ========================================================================== */

.villa-facts {
	grid-template-columns: none;
	grid-template-rows: auto auto;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 0;
	margin: 24px 0;
	border-top: 1px solid var(--line-strong);
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}

.villa-facts dt,
.villa-facts dd {
	padding-inline: clamp(12px, 1.4vw, 22px);
	border-left: 1px solid var(--line);
}

.villa-facts dt:first-of-type,
.villa-facts dd:first-of-type {
	padding-left: 0;
	border-left: 0;
}

.villa-facts dt {
	padding-top: 14px;
	color: var(--color-text-muted);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.villa-facts dd {
	padding-bottom: 14px;
	color: var(--ink);
	font-family: var(--font-heading);
	font-size: clamp(21px, 1.7vw, 26px);
	line-height: 1.2;
}

.room-card .villa-facts,
.availability-room .villa-facts {
	margin: 4px 0;
}

.room-card .villa-facts dd,
.availability-room .villa-facts dd {
	font-size: 20px;
}

/* ==========================================================================
   Footer: black, the menu in serif on the left, the platforms and links in small capitals
   ========================================================================== */

.site-footer {
	padding-block: clamp(64px, 6vw, 104px) 36px;
	color: #b5afa6;
	text-align: left;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: start;
	gap: 40px 0;
}

.site-footer__inner > nav {
	grid-column: 1 / 6;
	padding-right: 24px;
}

.site-footer__menu {
	flex-direction: column;
	justify-content: flex-start;
	gap: 6px;
}

.site-footer__menu a {
	color: #ffffff;
	font-family: var(--font-heading);
	font-size: clamp(28px, 2.4vw, 38px);
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
}

.site-footer__menu a:hover {
	color: var(--color-accent);
}

.site-footer__platforms {
	grid-column: 6 / 10;
	padding-right: 24px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0;
}

.site-footer__platforms li {
	width: 100%;
	border-top: 1px solid rgb(255 255 255 / 0.14);
}

.site-footer__platforms li:last-child {
	border-bottom: 1px solid rgb(255 255 255 / 0.14);
}

.platform-link {
	justify-content: flex-start;
	width: 100%;
	min-height: 52px;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: #d7d2ca;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.platform-link:hover,
.platform-link:focus-visible {
	border: 0;
	background: none;
	color: #fff;
}

.site-footer__social {
	grid-column: 10 / -1;
	justify-self: end;
	justify-content: flex-end;
	margin: 0;
}

.site-footer__social a {
	border-radius: 0;
	border-color: rgb(255 255 255 / 0.3);
}

.site-footer__copyright,
.site-footer__legal {
	grid-row: 2;
	margin: clamp(24px, 3vw, 48px) 0 0;
	padding-top: 22px;
	border-top: 1px solid rgb(255 255 255 / 0.14);
	font-size: 12px;
	letter-spacing: 0.04em;
}

.site-footer__copyright {
	grid-column: 1 / 6;
}

.site-footer__legal {
	grid-column: 6 / -1;
	justify-content: flex-end;
}

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

@media (max-width: 900px) {
	.site-footer__inner > nav,
	.site-footer__platforms,
	.site-footer__social,
	.site-footer__copyright,
	.site-footer__legal {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.site-footer__inner > nav,
	.site-footer__platforms {
		padding-right: 0;
	}

	.site-footer__social {
		justify-self: start;
	}

	.site-footer__copyright {
		margin-top: 8px;
	}

	.site-footer__legal {
		justify-content: flex-start;
		margin-top: -32px;
		padding-top: 0;
		border-top: 0;
	}
}

/* ==========================================================================
   Theme pages: the photo framed by white margins, the page title across its bottom edge (white
   above, black below), the page on white
   ========================================================================== */

.theme-page {
	--theme-page-card-overlap: 0px;
	--page-title-size: clamp(54px, 6.6vw, 124px);
	padding-top: clamp(16px, 2vw, 32px);
	background: var(--paper);
}

.theme-page__band {
	width: min(100% - 2 * var(--gutter), var(--container));
	height: clamp(260px, 34vw, 560px);
	margin-inline: auto;
}

.theme-page__band::after {
	background: linear-gradient(to top, rgb(0 0 0 / 0.4), rgb(0 0 0 / 0.08) 45%, rgb(0 0 0 / 0) 70%);
}

.theme-page__band--no-photo {
	background: var(--stone);
}

.theme-page__band--no-photo::after {
	display: none;
}

.theme-page__card {
	max-width: none;
	margin: calc(-1 * var(--page-title-size) * 0.5) 0 0;
	padding: 0 0 var(--page-pad-y);
	background: transparent;
}

/* The first line straddles the edge: white above it, black below */
.theme-page__title {
	margin-bottom: clamp(40px, 4.4vw, 80px);
	padding: 0.08em 0 0.06em clamp(18px, 3.2vw, 56px);
	background: linear-gradient(to bottom, #ffffff 0.5em, var(--ink) 0.5em);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: var(--page-title-size);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	text-align: left;
}

.theme-page__band--no-photo + .container .theme-page__title {
	background: none;
	color: var(--ink);
}

@media (max-width: 768px) {
	.theme-page {
		--page-title-size: clamp(42px, 12vw, 60px);
		padding-top: 12px;
	}

	.theme-page > .container {
		padding-inline: var(--gutter);
	}

	.theme-page__band {
		height: 64vw;
	}

	.theme-page__title {
		padding-left: 16px;
	}
}

/* Gallery page: the same strict grid, three columns of square crops with hairline gaps */
.gallery-grid {
	gap: 2px;
}

.gallery-grid__item {
	aspect-ratio: 1 / 1;
}

.gallery-grid__item img {
	transition: transform 0.8s ease;
}

.gallery-grid__item:hover img {
	transform: scale(1.03);
}

.gallery-grid__caption {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.gallery-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2px;
	}

	.gallery-grid__caption {
		display: none;
	}
}

.gallery-filter {
	gap: 0;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--line);
}

.gallery-filter__button {
	margin-bottom: -1px;
	padding: 12px 18px;
	border: 0;
	border-bottom: 1px solid transparent;
	border-radius: 0;
	background: none;
	color: var(--color-text-muted);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.gallery-filter__button[aria-pressed="true"] {
	border-color: var(--ink);
	background: none;
	color: var(--ink);
}

/* About page: the photo a tall crop, the story beside it */
.about-page {
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: var(--col-gap);
}

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

.about-page__title {
	font-size: clamp(32px, 3vw, 52px);
}

.about-page__subtitle {
	font-size: clamp(30px, 2.6vw, 44px);
	text-align: left;
}

.about-page__location {
	padding-top: clamp(24px, 2vw, 32px);
	border-top: 1px solid var(--line-strong);
	text-align: left;
}

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

.about-page__nearby {
	max-width: 62ch;
	margin-left: 0;
}

.about-page__map-load {
	border: 1px solid var(--line);
	background: var(--stone);
}

.about-page__map-button {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.24em;
}

/* "Your host": between hairlines, the portrait a square crop */
.owner-card {
	padding: clamp(24px, 2.4vw, 36px) 0;
	border-top: 1px solid var(--line-strong);
	border-bottom: 1px solid var(--line);
	background: none;
}

.owner-card__avatar {
	border-radius: 0;
	background: var(--ink);
	font-weight: 500;
}

.owner-card__label {
	color: var(--accent-ink);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.26em;
}

.owner-card__name {
	font-size: clamp(28px, 2.4vw, 38px);
}

.owner-card__languages {
	color: var(--color-text-muted);
	font-size: 13px;
}

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

/* Text pages (Privacy) */
.text-page {
	max-width: 68ch;
	margin-left: 0;
}

.text-page h2 {
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: clamp(24px, 2vw, 30px);
}

/* ==========================================================================
   Availability page: the form strip, the result with the facts strip and the price in serif
   ========================================================================== */

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

.availability-form-section--plain .availability-form {
	border-top: 1px solid var(--line-strong);
}

.availability-result,
.availability-message {
	border-top-color: var(--line);
}

.availability-result__summary {
	color: var(--ink);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.availability-result__notice {
	border-left: 1px solid var(--color-accent);
	background: var(--stone);
}

.availability-result__name {
	font-size: clamp(34px, 3vw, 52px);
}

.availability-result__price strong {
	font-size: clamp(36px, 3vw, 48px);
	font-weight: 500;
}

.photo-slider {
	aspect-ratio: 4 / 5;
}

.photo-slider__button {
	border: 1px solid var(--line);
}

.booking-request {
	border-top-color: var(--line-strong);
}

.booking-request__title {
	font-size: 28px;
}

.booking-request__field label {
	color: var(--color-text-muted);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.booking-request__field input {
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid rgb(17 17 17 / 0.3);
	border-radius: 0;
	font-size: 16px;
}

.booking-request__field input:focus {
	outline: 0;
	border-bottom-color: var(--ink);
}

.booking-request__notice {
	border-radius: 0;
}

.availability-result__or {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.availability-message__text {
	font-size: clamp(26px, 2.4vw, 36px);
}

.availability-room {
	padding: 18px 0;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
}

.availability-rooms__list {
	gap: 0;
	border-bottom: 1px solid var(--line);
}

.availability-room__photo {
	border-radius: 0;
}

.availability-room__name {
	font-size: 28px;
}

.availability-room__price strong {
	font-size: 30px;
}

.house-rules--small {
	border-top-color: var(--line-strong);
}

.house-rules__title {
	font-size: clamp(30px, 2.6vw, 42px);
}

/* 404 */
.not-found__code {
	color: var(--paper);
	-webkit-text-stroke: 1px var(--color-accent);
}
