/*
 * Design "Grid": a different layout in the Swiss style: every part in cells with thin black
 * lines (header, form, About, gallery, amenities, reviews, house rules, contact), capitals for
 * titles and labels, a blueprint blue.
 * Loaded after main.css for villas with "villa.design": "grid". Same sections, order and markup as
 * Classic; only the look and the layout change. Colours: villa_designs().
 */

/* ==========================================================================
   Fonts (self-hosted, latin + latin-ext)
   ========================================================================== */

@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: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jost-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: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jost-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: 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: #111418;
	--color-text-muted: #555c66;
	--color-bg-soft: #f4f5f6;
	--color-bg-sand: #f4f5f6;
	--color-footer: #111418;
	--color-border: rgb(17 20 24 / 0.16);
	--color-day-available: #e3eaf8;
	--line: 1px solid #111418;
	--font-heading: "Jost", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 0;
	--shadow-card: none;
}

body {
	font-size: 15px;
}

h1,
h2,
h3,
h4 {
	font-weight: 500;
	letter-spacing: 0.02em;
}

.section-title {
	font-size: clamp(24px, 2vw, 38px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.section-label::before {
	content: "— ";
}

.button {
	font-weight: 600;
	letter-spacing: 0.14em;
}

/* ==========================================================================
   Header: a black line under it
   ========================================================================== */

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

.site-branding__name {
	font-weight: 600;
	letter-spacing: 0.2em;
}

.site-nav__menu a {
	font-weight: 600;
	letter-spacing: 0.16em;
}

/* ==========================================================================
   Hero: centred, the form as a row of cells
   ========================================================================== */

.hero::after {
	background: rgb(10 12 16 / 0.34);
}

.hero__title {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: clamp(36px, 4vw, 66px);
}

.availability-form {
	gap: 0;
	padding: 0;
	border: var(--line);
	box-shadow: none;
}

.availability-form__field {
	padding: 16px 18px;
	border-right: var(--line);
}

.availability-form input,
.availability-form select {
	border: 0;
	border-bottom: 1px solid var(--color-border);
	padding-inline: 0;
}

.availability-form__submit {
	height: 100%;
	min-height: 64px;
}

@media (max-width: 768px) {
	.availability-form__field {
		border-right: 0;
		border-bottom: var(--line);
	}

	.hero__title {
		font-size: 30px;
	}
}

/* ==========================================================================
   About: two cells
   ========================================================================== */

.about__inner {
	gap: 0;
	border: var(--line);
}

.about__photo {
	align-self: stretch;
	border-right: var(--line);
}

.about__photo img {
	height: 100%;
}

.about__content {
	max-width: none;
	padding: clamp(28px, 4vw, 64px);
}

.about__signature {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-accent);
}

@media (max-width: 768px) {
	.about__photo {
		border-right: 0;
		border-bottom: var(--line);
	}

	.about__inner {
		margin-inline: var(--gutter);
		padding: 0;
		width: auto;
	}
}

/* ==========================================================================
   Gallery: photos divided by black lines
   ========================================================================== */

.small-gallery__grid,
.small-gallery__row {
	gap: 1px;
	border: var(--line);
	background: #111418;
}

.small-gallery__row {
	margin-top: 0;
	border-top: 0;
}

/* ==========================================================================
   Video band
   ========================================================================== */

.video-band {
	border-block: var(--line);
}

.video-band__title {
	font-weight: 500;
	letter-spacing: 0.16em;
}

/* ==========================================================================
   Amenities, reviews: cells
   ========================================================================== */

.amenities__grid {
	--amenity-gap: 0px;
	border-top: var(--line);
	border-left: var(--line);
}

.amenity {
	border-right: var(--line);
	border-bottom: var(--line);
	background: none;
	box-shadow: none;
}

.amenities__grid {
	justify-content: flex-start;
}

.amenity__icon {
	color: var(--color-accent);
}

.amenity__label {
	font-weight: 500;
}

.prices__card {
	border: var(--line);
}

.reviews__list {
	gap: 0;
	max-width: none;
	border-left: var(--line);
}

.review {
	flex-basis: calc(100% / 3);
	border: var(--line);
	border-left: 0;
	background: none;
	box-shadow: none;
}

.review__name {
	font-family: var(--font-heading);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.review__stars {
	color: var(--color-accent);
}

@media (max-width: 768px) {
	.reviews__list {
		border-left: 0;
		border-top: var(--line);
	}

	.review {
		border-left: var(--line);
		border-top: 0;
	}
}

.house-rules__list {
	border: var(--line);
}

.house-rule {
	border-bottom-color: #111418;
}

/* ==========================================================================
   Get in touch: cells; footer
   ========================================================================== */

.get-in-touch {
	border-block: var(--line);
	background: #fff;
}

.get-in-touch__photo {
	border-left: var(--line);
}

.contact-items {
	gap: 0;
	border: var(--line);
}

.contact-item {
	padding: 18px 8px;
	border-right: var(--line);
}

.contact-item:last-child {
	border-right: 0;
}

.contact-item__icon {
	color: var(--color-accent);
}

.contact-item__title {
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 13px;
}

.site-footer {
	color: #a7adb5;
}

/* ==========================================================================
   Theme pages
   ========================================================================== */

.theme-page__band {
	background: #111418;
}

.theme-page__card {
	border: var(--line);
}
