/*
 * Design "Poster": a bold typographic poster / contemporary magazine. Off-white paper, black ink,
 * one strong accent. The hero is not a full-bleed photo: the villa's title is set huge on the
 * left and runs over a large photo block offset to the right; the form is a black-outlined bar.
 * Sections are asymmetric (numbered, a narrow heading column next to a wide content column):
 * About in two magazine columns, the gallery an editorial grid of very different sizes,
 * amenities a large typographic list, reviews big pull quotes, house rules a numbered list,
 * Get in Touch black with huge contact lines.
 * Loaded after main.css for villas with "villa.design": "poster". Same sections, order and markup
 * as Classic; only the look and the layout change. Colours: villa_designs().
 */

/* ==========================================================================
   Fonts (self-hosted): Archivo (display, latin + latin-ext; Greek falls back to Inter),
   Inter (text, latin + latin-ext + greek)
   ========================================================================== */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-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: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-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: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-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: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-ext-800-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-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 {
	--paper: #f3f0e8; /* off-white page */
	--paper-light: #fbf9f4; /* cards and the form bar */
	--ink: #111111;
	--rule: 2px solid var(--ink);
	--color-text: #111111;
	--color-text-muted: #4a4a46;
	--color-bg: var(--paper);
	--color-bg-soft: #e8e4da;
	--color-bg-sand: #e8e4da;
	--color-footer: #111111;
	--color-border: rgb(17 17 17 / 0.16);
	--color-day-available: #e3e8ee; /* a plain colour: the design check reads hex/rgb only */
	--color-day-today: var(--color-accent);
	--color-day-booked: #111111;
	--color-day-past: #e8e4da;
	--font-heading: "Archivo", "Inter", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: clamp(1040px, 82vw, 1640px);
	--radius: 0;
	--shadow-card: 0 18px 50px rgb(17 17 17 / 0.12);
	--section-space: clamp(80px, 8vw, 150px);
	--hero-size: clamp(56px, 9.4vw, 176px);
	--side: max(var(--gutter), calc((100vw - var(--container)) / 2)); /* page edge to content */
}

body {
	font-size: 15px;
}

h1,
h2,
h3,
h4 {
	font-weight: 800;
	word-spacing: 0.04em;
	letter-spacing: -0.03em;
	line-height: 1;
	overflow-wrap: break-word;
}

.button {
	min-height: 52px;
	font-weight: 600;
	letter-spacing: 0.14em;
}

.section-label {
	margin-bottom: 14px;
	font-size: 12px;
	letter-spacing: 0.18em;
}

.section-title {
	font-size: clamp(40px, 5.4vw, 104px);
	line-height: 0.92;
	letter-spacing: -0.045em;
}

.link-arrow {
	padding-bottom: 4px;
	border-bottom: var(--rule);
}

/* Section numbers "01", "02"… over a short accent bar, counted on the page */
.site-main {
	counter-reset: poster;
}

.site-main > .section,
.site-main > .get-in-touch {
	counter-increment: poster;
}

.about__content::before,
.small-gallery .container::before,
.section-header--center::before,
.prices__heading::before,
.get-in-touch__content::before {
	content: counter(poster, decimal-leading-zero);
	display: block;
	width: 56px;
	margin-bottom: 22px;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--color-accent);
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1;
}

/* Every section between two black rules, inside the page margins */
.site-main > .section {
	margin-inline: var(--side);
	padding-block: var(--section-space) calc(var(--section-space) * 0.55);
	border-top: var(--rule);
}

.site-main > .section > .container {
	max-width: none;
	padding-inline: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	background: var(--paper);
	border-bottom: 1px solid var(--color-border); /* light: the sections have the black rules */
}

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

.site-branding__name {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: none;
}

.site-branding__location {
	color: var(--color-text-muted);
	letter-spacing: 0.2em;
}

.site-nav__menu a {
	letter-spacing: 0.12em;
}

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

.language-switcher ul {
	border: var(--rule);
	background: var(--paper-light);
	box-shadow: none;
}

@media (max-width: 900px) {
	.site-branding__name {
		font-size: 18px;
		letter-spacing: -0.01em;
	}

	.site-nav {
		background: var(--paper);
		border-bottom: var(--rule);
		box-shadow: 0 20px 40px rgb(17 17 17 / 0.12);
	}

	.site-nav__menu a {
		font-family: var(--font-heading);
		font-size: 30px;
		font-weight: 800;
		letter-spacing: -0.03em;
		text-transform: none;
	}

	.site-nav__close {
		border: var(--rule);
	}

	.language-list a {
		border-color: var(--ink);
	}
}

/* ==========================================================================
   Hero: the name set huge on the left, the photo an offset block to the right that the
   name runs over (each line on a strip of paper), the form a black-outlined bar
   ========================================================================== */

.hero {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: auto 1fr auto;
	column-gap: 24px;
	row-gap: 0;
	min-height: 0;
	padding: clamp(40px, 4.4vw, 80px) 0 clamp(56px, 5vw, 96px) var(--side);
	background: var(--paper);
	color: var(--ink);
}

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

.hero::after {
	display: none;
}

.hero__photo {
	position: relative;
	inset: auto;
	grid-column: 6 / -1;
	grid-row: 1 / 3;
	width: 100%;
	height: clamp(400px, 58vh, 720px);
	margin-top: calc(var(--hero-size) * 1.16); /* starts under the first line and its paper strip */
}

.hero__inner {
	position: relative;
	z-index: 1;
	grid-column: 1 / 11;
	grid-row: 1;
	max-width: none;
	margin: 0;
	padding: 0;
}

.hero__content {
	text-align: left;
}

/* Inline, so that each line gets its own strip of paper where it runs over the photo */
.hero__title {
	display: inline;
	padding-right: 0.14em;
	background: var(--paper);
	font-size: var(--hero-size);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.05em;
	white-space: normal;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.hero__text {
	position: relative;
	max-width: min(34ch, 36vw);
	margin: clamp(28px, 2.6vw, 44px) 0 0;
	padding-top: 18px;
	color: var(--color-text-muted);
	font-size: 15px;
	line-height: 1.6;
}

.hero__text::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 56px;
	height: 3px;
	background: var(--color-accent);
}

.hero__text p {
	margin: 0;
}

.hero .availability-form-section {
	grid-column: 1 / 10;
	grid-row: 3;
	margin-top: -56px;
}

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

.hero__scroll {
	position: static;
	grid-column: 1 / -1;
	grid-row: 4;
	justify-self: start;
	flex-direction: row;
	gap: 10px;
	margin-top: 24px;
	color: var(--ink);
	transform: none;
}

/* No photo: the name across the page, the form under it */
.hero--no-photo {
	padding-right: var(--side);
}

.hero--no-photo .hero__inner {
	grid-column: 1 / -1;
}

.hero--no-photo .hero__text {
	max-width: 52ch;
}

.hero--no-photo .availability-form-section {
	grid-column: 1 / -1;
	margin-top: clamp(40px, 4vw, 72px);
}

.hero--no-photo .hero__scroll {
	grid-row: 4;
	grid-column: 1 / -1;
	margin-top: 24px;
}

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

	.hero .availability-form-section {
		grid-column: 1 / -1;
		padding-right: var(--side);
	}
}

@media (max-width: 768px) {
	.hero {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		padding: 32px var(--gutter) 40px;
	}

	/* Phones: title, photo, the form over the photo's foot, text */
	.hero__inner,
	.hero__content {
		display: contents;
	}

	.hero__title {
		position: relative;
		z-index: 1;
		grid-row: 1;
		justify-self: start;
		font-size: clamp(46px, 14.4vw, 76px);
		line-height: 0.98;
	}

	.hero__text,
	.hero--no-photo .hero__text {
		grid-row: 4;
		max-width: none;
		margin-top: 32px;
		font-size: 15px;
	}

	.hero--no-photo .hero__text {
		grid-row: 2;
	}

	.hero__photo {
		grid-column: 1;
		grid-row: 2;
		z-index: 0;
		width: calc(82% + var(--gutter));
		max-width: none;
		height: 76vw;
		margin: 28px calc(-1 * var(--gutter)) 0 auto;
	}

	.hero .availability-form-section,
	.hero--no-photo .availability-form-section {
		grid-column: 1;
		grid-row: 3;
		margin-top: -40px;
		padding-right: 0;
	}

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

	.hero__scroll,
	.hero--no-photo .hero__scroll {
		grid-column: 1;
		grid-row: 5;
		margin-top: 20px;
	}
}

/* ==========================================================================
   Availability form: a bar outlined in black, the fields split by thin rules
   ========================================================================== */

.availability-form {
	grid-template-columns: 1fr 1fr 0.7fr auto;
	align-items: stretch;
	gap: 0;
	max-width: none;
	padding: 0;
	border: var(--rule);
	background: var(--paper-light);
	box-shadow: none;
}

.availability-form__field {
	justify-content: center;
	gap: 2px;
	padding: 14px 22px 12px;
	border-right: 1px solid var(--ink);
}

.availability-form__field label {
	color: var(--ink);
	font-size: 11px;
	letter-spacing: 0.16em;
}

.availability-form input,
.availability-form select {
	height: 36px;
	padding: 0;
	border: 0;
	background-color: transparent;
	font-size: 17px;
	font-weight: 600;
}

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

.availability-form .choices__inner {
	min-height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 17px;
	font-weight: 600;
}

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

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

.availability-form .choices__list--dropdown {
	border: var(--rule);
	font-weight: 400;
}

.availability-form__submit {
	height: auto;
	min-height: 72px;
	padding-inline: clamp(28px, 3vw, 56px);
}

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

	.availability-form__field {
		padding: 12px 16px 10px;
		border-right: 0;
		border-bottom: 1px solid var(--ink);
	}

	.availability-form__field:has([data-check-in]) {
		border-right: 1px solid var(--ink);
	}

	.availability-form__field:has([data-guests]),
	.availability-form__submit {
		grid-column: 1 / -1;
	}

	.availability-form__submit {
		min-height: 60px;
	}
}

.flatpickr-calendar {
	border: var(--rule);
	background: var(--paper-light);
}

/* ==========================================================================
   About: a large title and the text in two magazine columns; the photo lower, on the right
   ========================================================================== */

.about__inner {
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	align-items: start;
}

.about__content {
	grid-column: 1 / 8;
	grid-row: 1;
	max-width: none;
}

.about__photo {
	grid-column: 9 / -1;
	grid-row: 1;
	margin-top: 50px; /* level with the title, under the section number */
}

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

.about--no-photo .about__content {
	grid-column: 1;
}

.about .section-title {
	margin-bottom: clamp(28px, 3vw, 56px);
}

.about .about__text {
	column-count: 2;
	column-gap: clamp(28px, 3vw, 48px);
	color: var(--color-text-muted);
}

.about .about__text p {
	break-inside: avoid;
}

.about__signature {
	margin: 20px 0 32px;
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

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

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

	.about__photo {
		grid-row: 2;
		margin: 0 0 0 20%;
	}

	.about .about__text {
		column-count: 1;
	}
}

/* ==========================================================================
   Gallery: "Gallery" set across the page, the photos an editorial grid of very different sizes
   ========================================================================== */

.small-gallery .container {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 16px;
}

.small-gallery .container > * {
	grid-column: 1 / -1;
}

.small-gallery .section-title {
	margin: 0 0 clamp(32px, 3vw, 56px);
	font-size: clamp(72px, 15vw, 280px);
	line-height: 0.8;
	letter-spacing: -0.06em;
}

/* A dense mosaic: one large photo, one medium, two small; no empty cells */
.small-gallery__grid,
.small-gallery__grid--2,
.small-gallery__grid--3,
.small-gallery__grid--1 {
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: none;
	grid-auto-rows: clamp(150px, 13vw, 250px);
	gap: 16px;
}

.small-gallery__item {
	border-radius: 0;
}

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

.small-gallery__grid .small-gallery__item:nth-child(2) {
	grid-column: 8 / 13;
	grid-row: 1 / 3;
}

.small-gallery__grid .small-gallery__item:nth-child(3) {
	grid-column: 8 / 11;
	grid-row: 3 / 4;
}

.small-gallery__grid .small-gallery__item:nth-child(4) {
	grid-column: 11 / 13;
	grid-row: 3 / 4;
}

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

.small-gallery__grid--2 .small-gallery__item:nth-child(1),
.small-gallery__grid--2 .small-gallery__item:nth-child(2) {
	grid-row: 1 / 3;
}

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

/* The photos after the mosaic: one strip, of different widths, always filling the line */
.small-gallery__row {
	display: flex;
	gap: 16px;
	height: clamp(180px, 16vw, 300px);
	margin-top: 16px;
}

.small-gallery__row > .small-gallery__item {
	flex: 3 1 0;
	height: auto;
}

.small-gallery__row > .small-gallery__item:nth-child(2) {
	flex-grow: 5;
}

.small-gallery__row > .small-gallery__item:nth-child(n + 3) {
	flex-grow: 2;
}

.small-gallery__more {
	margin-top: clamp(28px, 2.4vw, 44px);
}

@media (max-width: 768px) {
	.small-gallery .section-title {
		font-size: clamp(64px, 19vw, 120px);
	}

	.small-gallery__grid,
	.small-gallery__grid--2,
	.small-gallery__grid--3,
	.small-gallery__grid--1 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		grid-auto-rows: 22vw;
		gap: 8px;
	}

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

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

	.small-gallery__grid .small-gallery__item:nth-child(3) {
		grid-column: 5 / 7;
		grid-row: 4 / 6;
	}

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

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

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

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

	/* Two per line, wide and narrow in turn; every line filled */
	.small-gallery__row {
		flex-wrap: wrap;
		gap: 8px;
		height: auto;
		margin-top: 8px;
	}

	.small-gallery__row > .small-gallery__item,
	.small-gallery__row > .small-gallery__item:nth-child(n) {
		flex: 1 1 30%;
		height: 40vw;
	}

	.small-gallery__row > .small-gallery__item:nth-child(4n + 1),
	.small-gallery__row > .small-gallery__item:nth-child(4n) {
		flex: 2 1 40%;
	}
}

/* ==========================================================================
   Narrow heading column, wide content column: amenities, reviews, house rules
   ========================================================================== */

@media (min-width: 901px) {
	.amenities > .container,
	.reviews > .container,
	.house-rules > .container {
		display: grid;
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		column-gap: clamp(40px, 5vw, 96px);
		align-items: start;
	}

	.amenities .section-header--center,
	.reviews .section-header--center,
	.house-rules .section-header--center {
		position: sticky;
		top: calc(var(--header-height) + 32px);
		grid-row: 1 / span 2;
	}

	.reviews__action {
		grid-column: 2;
	}
}

.section-header--center {
	margin-bottom: 40px;
	text-align: left;
}

.section-header--center .section-title {
	max-width: none;
	margin: 0;
	font-size: clamp(38px, 3.8vw, 72px);
	hyphens: auto;
}

/* ==========================================================================
   Amenities: a large typographic list between black rules
   ========================================================================== */

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

.amenity {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 20px 0 18px;
	border-bottom: var(--rule);
	background: none;
	box-shadow: none;
}

.amenities__grid > .amenity:nth-child(-n + 2) {
	border-top: var(--rule);
}

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

.amenity__label {
	font-family: var(--font-heading);
	font-size: clamp(20px, 1.9vw, 34px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

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

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

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

	.amenity__label {
		font-size: 22px;
	}
}

/* ==========================================================================
   Prices: the title large on the left, the photo a block to the right; the calendar in a
   black frame under them
   ========================================================================== */

.prices {
	--prices-card-overlap: 0px;
}

.prices__band {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: end;
	column-gap: 24px;
	padding: 0 0 clamp(32px, 3vw, 56px);
	background: none;
	text-align: left;
	overflow: visible;
}

.prices__band::after {
	display: none;
}

.prices__photo {
	position: static;
	grid-column: 8 / -1;
	grid-row: 1;
	height: clamp(240px, 24vw, 420px);
}

.prices__heading {
	grid-column: 1 / 8;
	grid-row: 1;
	max-width: none;
	margin: 0;
	padding: 0;
}

.prices__band--no-photo .prices__heading {
	grid-column: 1 / -1;
}

.prices .section-label--light {
	color: var(--color-accent);
}

.prices .section-title--light {
	color: var(--ink);
	margin-bottom: 28px;
}

.prices > .container {
	padding: 0;
}

.prices__card {
	margin: 0;
	padding: clamp(28px, 3vw, 48px);
	border: var(--rule);
	background: var(--paper-light);
	box-shadow: none;
}

.calendar-month__title {
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-align: left;
	padding-left: 44px;
}

.calendar-month + .calendar-month .calendar-month__title {
	padding-left: 0;
}

.calendar-month__weekday {
	color: var(--ink);
}

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

	.prices__heading {
		grid-column: 1;
	}

	.prices__photo {
		grid-column: 1;
		grid-row: 2;
		width: calc(80% + var(--gutter));
		max-width: none;
		height: 60vw;
		margin: 28px calc(-1 * var(--gutter)) 0 auto;
	}

	.calendar-month__title {
		padding-inline: 40px;
		text-align: center;
	}

	.calendar-month + .calendar-month .calendar-month__title {
		padding-left: 40px;
	}
}

/* ==========================================================================
   Reviews: big pull quotes, staggered
   ========================================================================== */

.reviews__list {
	flex-direction: column;
	align-items: stretch;
	gap: clamp(40px, 4vw, 72px);
	max-width: none;
	margin: 0;
}

.review {
	flex: none;
	gap: 18px;
	padding: 28px 0 0;
	border-top: var(--rule);
	background: none;
	box-shadow: none;
}

.review:nth-child(2) {
	margin-left: clamp(0px, 14%, 180px);
}

.review__text {
	order: 1;
	color: var(--ink);
	font-family: var(--font-heading);
	font-size: clamp(24px, 2.4vw, 44px);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.review__text::before {
	content: "\201C";
	display: block;
	height: 0.5em;
	margin-bottom: 0.1em;
	color: var(--color-accent);
	font-size: 2.4em;
	font-weight: 800;
	line-height: 1;
}

.review__text p + p {
	margin-top: 0.5em;
}

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

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

.review__stars {
	order: 0;
	margin: 0;
	color: var(--ink);
	font-size: 13px;
}

.review__stars-off {
	color: #cfcabe;
}

.reviews__action {
	margin-top: clamp(40px, 4vw, 64px);
	text-align: left;
}

/* main.css: no space on top after the prices calendar; here every section has its own */
.reviews,
.house-rules:not(.house-rules--small),
.small-gallery,
.amenities,
.prices {
	padding-top: var(--section-space);
}

@media (max-width: 768px) {
	.reviews__list {
		max-width: none;
	}

	.review {
		padding: 22px 0 0;
	}

	.review:nth-child(2) {
		margin-left: 12%;
	}

	.review__text {
		font-size: 24px;
	}
}

/* ==========================================================================
   House rules: a numbered poster list
   ========================================================================== */

.house-rules__list {
	counter-reset: rule;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: var(--rule);
	background: none;
}

.house-rule {
	counter-increment: rule;
	grid-template-columns: clamp(64px, 6vw, 112px) minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: baseline;
	gap: 8px 32px;
	padding: 26px 0;
	border-bottom: var(--rule);
}

.house-rule:last-child {
	border-bottom: var(--rule);
}

.house-rule::before {
	content: counter(rule, decimal-leading-zero);
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: clamp(36px, 3.6vw, 64px);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 0.8;
}

.house-rule__name {
	gap: 10px;
	font-family: var(--font-heading);
	font-size: clamp(20px, 1.7vw, 28px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.house-rule__icon {
	width: 20px;
	height: 20px;
	margin-top: 0.15em;
	color: var(--ink);
}

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

.house-rules--small {
	border-top: var(--rule);
}

.house-rules--small .house-rule::before {
	font-size: clamp(28px, 2.6vw, 40px);
}

.house-rules--small .house-rule__name {
	font-size: 19px;
}

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

	.house-rule::before {
		grid-row: 1 / span 2;
		font-size: 38px;
	}

	.house-rule__value {
		grid-column: 2;
		padding-left: 0;
	}
}

/* ==========================================================================
   Get in touch: black, the contact lines set huge
   ========================================================================== */

.get-in-touch {
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: center;
	background: var(--ink);
	color: var(--paper);
}

.get-in-touch__content {
	align-self: start;
	max-width: none;
	margin: 0;
	padding: var(--section-space) clamp(32px, 4vw, 72px) var(--section-space) var(--side);
}

.get-in-touch--no-photo .get-in-touch__content {
	max-width: none;
	padding-inline: var(--side);
}

.get-in-touch .section-title {
	color: var(--paper);
	font-size: clamp(56px, 7.6vw, 150px);
	line-height: 0.86;
}

.get-in-touch__text {
	max-width: 52ch;
	margin-top: 28px;
	color: #c9c5bb;
}

.contact-items {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin-top: clamp(32px, 3vw, 56px);
	border-bottom: 1px solid rgb(243 240 232 / 0.3);
	text-align: left;
}

.contact-item {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 22px 0 20px;
	border-top: 1px solid rgb(243 240 232 / 0.3);
}

.contact-item__icon {
	width: 18px;
	height: 18px;
	color: var(--paper);
}

.contact-item__title {
	color: #c9c5bb;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.contact-item__value,
a.contact-item__value {
	flex-basis: 100%;
	min-width: 0;
	color: var(--paper);
	font-family: var(--font-heading);
	font-size: clamp(28px, 3.4vw, 64px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.02;
	overflow-wrap: anywhere;
	text-decoration: none;
}

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

.get-in-touch__photo {
	align-self: stretch;
	padding: var(--section-space) var(--side) var(--section-space) 0;
}

.get-in-touch__photo img {
	height: 100%;
	min-height: 420px;
	max-height: 760px;
}

@media (max-width: 768px) {
	.get-in-touch__content {
		padding: var(--section-space) var(--gutter) 40px;
	}

	.get-in-touch .section-title {
		font-size: clamp(52px, 16vw, 84px);
	}

	.contact-item__value,
	a.contact-item__value {
		font-size: clamp(24px, 7.4vw, 34px);
	}

	.get-in-touch__photo {
		padding: 0 0 var(--section-space) 22%;
	}

	.get-in-touch__photo img {
		min-height: 0;
		height: auto;
		aspect-ratio: 4 / 3;
	}
}

/* ==========================================================================
   Footer: black, set left
   ========================================================================== */

.site-footer {
	padding-block: 0 48px;
	color: #b9b5ab;
	text-align: left;
}

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

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px 40px;
	padding-top: 48px;
	border-top: 1px solid rgb(243 240 232 / 0.18);
}

.site-footer__menu {
	justify-content: flex-start;
}

.site-footer__menu a {
	color: var(--paper);
	font-weight: 600;
}

.site-footer__platforms {
	justify-content: flex-end;
}

.platform-link {
	border-radius: 0;
	color: var(--paper);
	border-color: rgb(243 240 232 / 0.4);
}

.site-footer__copyright,
.site-footer__legal {
	grid-column: 1 / -1;
	justify-content: flex-start;
}

.site-footer__copyright {
	padding-top: 24px;
	border-top: 1px solid rgb(243 240 232 / 0.18);
}

.site-footer__legal {
	margin-top: -16px;
}

.site-footer__legal a {
	color: var(--paper);
}

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

	.site-footer__platforms {
		justify-content: flex-start;
	}
}

/* ==========================================================================
   Theme pages: the photo an offset block to the right, the title huge on paper over its corner
   ========================================================================== */

.theme-page {
	--theme-page-card-overlap: clamp(56px, 6vw, 110px);
	background: var(--paper);
}

.theme-page__band {
	height: calc(var(--theme-page-card-overlap) + clamp(160px, 20vw, 340px));
	margin-left: 22%;
	background: var(--ink);
}

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

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

.theme-page > .container {
	max-width: none;
	padding-inline: var(--side);
}

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

.theme-page__title {
	width: fit-content;
	max-width: 100%;
	margin-bottom: var(--page-gap);
	padding: 14px 28px 0 0;
	background: var(--paper);
	font-size: clamp(56px, 8.4vw, 160px);
	line-height: 0.9;
	letter-spacing: -0.05em;
	text-align: left;
}

/* Gallery page: an editorial grid, big and small photos */
.gallery-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(150px, 15vw, 290px);
	grid-auto-flow: dense;
	gap: 14px;
}

.gallery-grid__item {
	aspect-ratio: auto;
}

.gallery-grid__item:nth-child(7n + 1) {
	grid-column: span 2;
	grid-row: span 2;
}

.gallery-grid__item:nth-child(7n + 4) {
	grid-row: span 2;
}

.gallery-grid__item:nth-child(7n + 6) {
	grid-column: span 2;
}

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

/* About page */
.about-page {
	gap: clamp(32px, 5vw, 96px);
}

/* Two columns on wider screens only: on the phone the photo stays above the story (main.css) */
@media (min-width: 769px) {
	.about-page {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	}
}

.about-page__title {
	font-size: clamp(34px, 3.6vw, 64px);
	line-height: 0.95;
	letter-spacing: -0.04em;
}

.about-page__photo {
	margin-top: 40px;
}

.owner-card {
	border: var(--rule);
	background: var(--paper-light);
}

.owner-card__name {
	letter-spacing: -0.03em;
}

.about-page__location {
	border-top: var(--rule);
	text-align: left;
}

.about-page__subtitle {
	font-size: clamp(34px, 3.6vw, 64px);
	text-align: left;
}

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

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

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

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

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

.availability-result__name {
	font-size: clamp(30px, 3vw, 52px);
	letter-spacing: -0.04em;
}

.availability-result__price strong {
	font-weight: 800;
	letter-spacing: -0.03em;
}

.availability-result__notice {
	border-left-color: var(--color-accent);
	background: var(--paper-light);
}

.booking-request {
	border-top: var(--rule);
}

.booking-request__field input {
	border: 1px solid var(--ink);
	background: var(--paper-light);
}

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

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

.text-page h2 {
	font-size: 24px;
}

@media (max-width: 768px) {
	.theme-page__band {
		margin-left: 22%;
	}

	.theme-page {
		padding-bottom: 56px;
	}

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

	.theme-page__title {
		font-size: clamp(44px, 13vw, 72px);
		padding-right: 16px;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 42vw;
		gap: 8px;
	}

	.gallery-grid__item:nth-child(n) {
		grid-column: auto;
		grid-row: auto;
	}

	.gallery-grid__item:nth-child(5n + 1) {
		grid-column: 1 / -1;
		grid-row: span 1;
	}

	.gallery-grid__item:nth-child(5n + 3) {
		grid-row: span 2;
	}

	.about-page__photo {
		margin: 0 0 0 20%;
	}
}
