/* The Presenza: black-and-white, photo-led, elegant serif. */

:root {
	--ink: #111111;
	--text: #333333;
	--muted: #6e6e6e;
	--line: #e6e6e6;
	--paper: #ffffff;
	--soft: #f6f6f4;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1140px;
	--narrow: 760px;
	--gutter: clamp(16px, 4vw, 40px);
	--band: clamp(80px, 12vw, 160px);
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--serif);
	font-size: 1.25rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--muted);
}

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

h1,
h2,
h3,
h4 {
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 0.5em;
}

h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p,
ul,
ol,
figure,
blockquote {
	margin: 0 0 1.25em;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.narrow {
	max-width: var(--narrow);
}

.center {
	text-align: center;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 20;
	background: var(--ink);
	color: #fff;
	padding: 10px 16px;
	font-family: var(--sans);
	font-size: 0.8rem;
}

.skip-link:focus {
	top: 12px;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.home .site-header {
	position: fixed;
	inset-inline: 0;
	background: transparent;
	border-bottom-color: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	transition: background 0.3s ease, border-color 0.3s ease;
}

.home .site-header.is-scrolled,
.home .site-header.menu-open {
	background: rgba(255, 255, 255, 0.97);
	border-bottom-color: var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}

.site-title,
.site-nav a,
.menu-toggle,
.button,
.kicker,
.section-title,
.entry-subtitle,
.entry-meta,
.host-role,
.card-meta,
.site-footer {
	font-family: var(--sans);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.site-title {
	font-size: 0.95rem;
	text-decoration: none;
	color: var(--ink);
}

.home .site-header:not(.is-scrolled):not(.menu-open) .site-title,
.home .site-header:not(.is-scrolled):not(.menu-open) .site-nav a,
.home .site-header:not(.is-scrolled):not(.menu-open) .menu-toggle {
	color: #fff;
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 36px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav a {
	font-size: 0.72rem;
	text-decoration: none;
	color: var(--ink);
	padding-block: 6px;
	border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	border-bottom-color: currentColor;
	color: inherit;
}

.menu-toggle {
	display: none;
	background: none;
	border: 0;
	font-size: 0.75rem;
	color: var(--ink);
	padding: 10px 0;
	cursor: pointer;
}

/* Buttons */
.button {
	display: inline-block;
	background: var(--ink);
	color: #fff;
	border: 1px solid var(--ink);
	font-size: 0.72rem;
	padding: 15px 30px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

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

.button-light {
	background: #fff;
	color: var(--ink);
	border-color: #fff;
}

.button-light:hover {
	background: transparent;
	color: #fff;
}

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

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

/* Home bands */
.band {
	padding-block: var(--band);
}

.band.solid {
	background: var(--paper);
}

.band.photo {
	position: relative;
	color: #fff;
	text-align: center;
	background:
		linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
		var(--bg) center / cover no-repeat;
}

.band.photo h1,
.band.photo h2 {
	color: #fff;
}

.band.photo p {
	font-size: 1.35rem;
}

.hero {
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: center;
	padding-top: calc(var(--band) + 40px);
}

.display {
	font-size: clamp(3rem, 2rem + 5vw, 6rem);
	margin-bottom: 0.15em;
}

.display-2 {
	font-size: clamp(2.4rem, 1.8rem + 3vw, 4.2rem);
}

.kicker {
	font-size: 0.8rem;
	margin-bottom: 2.5em !important;
}

.section-title {
	font-size: 0.85rem;
	margin-bottom: 1.5em;
}

.lead {
	font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
	line-height: 1.45;
	color: var(--ink);
	margin-bottom: 1.4em;
}

.lead small {
	font-size: inherit;
}

.amenities {
	list-style: none;
	padding: 0;
	margin: clamp(32px, 5vw, 64px) 0 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
}

.amenities h3 {
	font-size: 1.55rem;
	margin-bottom: 0.3em;
}

.amenities p {
	color: var(--muted);
	font-size: 1.15rem;
	margin: 0;
}

.icon {
	width: 44px;
	height: 44px;
	margin: 0 auto 14px;
	color: var(--ink);
}

/* Hosts */
.hosts {
	list-style: none;
	padding: 0;
	margin: clamp(24px, 4vw, 48px) 0 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(16px, 3vw, 32px);
	text-align: center;
}

.host a {
	display: grid;
	gap: 4px;
	text-decoration: none;
}

.host img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	filter: grayscale(1);
	margin-bottom: 12px;
	transition: filter 0.3s ease;
}

.host a:hover img {
	filter: grayscale(0);
}

.host-name {
	font-size: 1.5rem;
	color: var(--ink);
}

.host-role {
	font-size: 0.65rem;
	color: var(--muted);
}

/* Entries (pages and posts) */
.entry {
	padding-block: clamp(56px, 9vw, 110px) clamp(48px, 7vw, 80px);
}

.entry-header {
	margin-bottom: clamp(28px, 5vw, 48px);
}

.entry-title {
	font-size: clamp(2.4rem, 1.8rem + 3vw, 4rem);
	margin-bottom: 0.2em;
}

.entry-subtitle {
	display: block;
	margin-top: 0.6em;
	font-size: 0.75rem;
	color: var(--muted);
}

.entry-meta {
	font-size: 0.7rem;
	color: var(--muted);
}

.featured {
	margin: 0 0 clamp(28px, 5vw, 48px);
}

.featured img {
	width: 100%;
}

.entry-content img {
	margin-inline: auto;
}

.entry-content figcaption {
	font-size: 1rem;
	color: var(--muted);
	text-align: center;
	margin-top: 8px;
	font-style: italic;
}

.entry-content .float-left {
	float: left;
	margin: 0.3em 1.5em 1em 0;
	max-width: 45%;
}

.entry-content .float-right {
	float: right;
	margin: 0.3em 0 1em 1.5em;
	max-width: 45%;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.4em;
	clear: both;
}

.entry-content blockquote,
.entry-content .pullquote {
	border-inline-start: 2px solid var(--ink);
	padding-inline-start: 1.25em;
	font-style: italic;
	font-size: 1.45rem;
	color: var(--ink);
}

.entry-content .pullquote blockquote {
	border: 0;
	padding: 0;
}

.entry-content cite {
	display: block;
	margin-top: 0.5em;
	font-size: 1rem;
	color: var(--muted);
}

.cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: clamp(16px, 3vw, 32px);
	margin-bottom: 1.5em;
}

.cols .col {
	border: 1px solid var(--line);
	padding: 24px 18px 8px;
}

.cols .col img {
	margin-bottom: 0.75em;
}

.gallery {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

/* WordPress wraps the gallery list in a gallery figure; only the inner list is the grid */
figure.gallery {
	display: block;
}

.gallery .gallery {
	margin: 0;
}

.gallery li,
.gallery figure {
	margin: 0;
}

.gallery img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.embed {
	display: block;
	width: 100%;
	min-height: 900px;
	border: 0;
	background: var(--soft);
}

/* Google's form is ~690px tall at desktop width; leave room for it to grow on phones */
.embed-contact {
	min-height: 760px;
	background: transparent;
}

@media (max-width: 760px) {
	.embed-contact {
		min-height: 900px;
	}
}

.form-fallback {
	font-size: 1rem;
	color: var(--muted);
	margin-top: 1em;
}

.notice {
	background: var(--soft);
	padding: clamp(20px, 4vw, 36px);
}

.notice .button {
	margin: 6px 6px 0 0;
}

.back {
	padding-bottom: clamp(48px, 7vw, 96px);
	font-family: var(--sans);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

/* Travel guide cards */
.cards {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 40px);
}

.card a {
	display: grid;
	gap: 8px;
	text-decoration: none;
	color: var(--text);
}

.card img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	margin-bottom: 8px;
	filter: grayscale(0.15);
}

.card-meta {
	font-size: 0.65rem;
	color: var(--muted);
}

.card-title {
	font-size: 1.9rem;
	line-height: 1.15;
	color: var(--ink);
}

.card a:hover .card-title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.card-excerpt {
	font-size: 1.15rem;
	color: var(--muted);
}

/* Footer */
.site-footer {
	background: var(--ink);
	color: #bdbdbd;
	text-align: center;
	font-size: 0.65rem;
	line-height: 2;
	padding-block: 56px;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	color: #bdbdbd;
}

.social {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 28px;
	padding: 0;
	margin: 0 0 20px;
}

.site-footer p {
	margin: 0;
}

/* Fade-up on scroll, as on the original */
.js .band:not(.hero) .wrap {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s ease, transform 0.9s ease;
}

.js .band .wrap.is-visible {
	opacity: 1;
	transform: none;
}

/* Responsive */
@media (max-width: 960px) {
	.hosts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.amenities {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	body {
		font-size: 1.15rem;
	}

	.menu-toggle {
		display: block;
	}

	.site-nav {
		display: none;
		position: absolute;
		inset-inline: 0;
		top: 100%;
		background: #fff;
		border-bottom: 1px solid var(--line);
	}

	.site-header.menu-open .site-nav {
		display: block;
	}

	.site-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--gutter) 16px;
	}

	.site-nav a {
		display: block;
		padding-block: 14px;
		color: var(--ink) !important;
	}

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

	.hosts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.entry-content .float-left,
	.entry-content .float-right {
		float: none;
		max-width: 100%;
		margin: 0 0 1em;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.js .band:not(.hero) .wrap {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.host img,
	.button,
	.home .site-header {
		transition: none;
	}
}
