/* ==========================================================================
   Cloud9Stays — theme styles
   Palette and type follow the current cloud9stays.co.uk (Wix) site:
   charcoal, white, warm blush/sand and stone grey, set in Wix Madefor.
   Motion follows Apple's fluid-interface principles (springs, interruptible,
   origin-aware), and respects reduced-motion settings.
   ========================================================================== */

@font-face {
	font-family: "Wix Madefor Display";
	src: url("../fonts/WixMadeforDisplay.woff") format("woff");
	font-weight: 400 800;
	font-display: swap;
}
@font-face {
	font-family: "Wix Madefor Text";
	src: url("../fonts/WixMadeforText.woff") format("woff");
	font-weight: 400 800;
	font-display: swap;
}

:root {
	/* From the Wix site */
	--paper: #ffffff;
	--ink: #1e1e1e;          /* text, buttons */
	--blush: #f0e2d9;        /* "Property management" tile */
	--sand: #e3c7b3;         /* "Investment packages" tile */
	--stone: #e4e4e4;        /* "Bookings" tile, reviews band */
	--cloud: #f6f4f2;        /* light warm section */
	--slate: #5f5f5f;        /* secondary text */
	--line: #e2e0de;

	/* Derived */
	--dusk: var(--ink);                 /* accent: buttons, links, icons */
	--dusk-deep: #3a3a3a;               /* button hover */
	--dusk-soft: var(--blush);          /* soft accent surface */
	--night: var(--stone);
	--success: #2f7a55;
	--danger: #b03a3a;

	--font-display: "Wix Madefor Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Wix Madefor Text", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;

	/* Squarer corners, echoing the Wix site's square buttons and tiles */
	--r-xl: 14px;
	--r-lg: 10px;
	--r-md: 8px;
	--r-sm: 6px;
	--r-btn: 4px;

	--shadow-float: 0 1px 2px rgba(30, 30, 30, .06), 0 12px 32px -10px rgba(30, 30, 30, .18), 0 30px 60px -28px rgba(30, 30, 30, .22);
	--shadow-card: 0 1px 2px rgba(30, 30, 30, .05), 0 10px 28px -14px rgba(30, 30, 30, .16);
	--shadow-lift: 0 2px 4px rgba(30, 30, 30, .06), 0 18px 40px -16px rgba(30, 30, 30, .24);

	/* Critically damped spring approximations (Apple: damping 1.0, response ~0.4s) */
	--spring: cubic-bezier(.2, .9, .25, 1);
	--spring-soft: cubic-bezier(.22, 1, .36, 1);
	--ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 500; }
h2 { font-size: clamp(1.875rem, 3.6vw, 2.875rem); line-height: 1.1; letter-spacing: -0.022em; font-weight: 500; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.012em; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.c9-skip {
	position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
	background: var(--ink); color: #fff; text-decoration: none;
}
.c9-skip:focus { top: 12px; }

.c9-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.c9-wrap--text { max-width: calc(720px + var(--gutter) * 2); }
.c9-muted { color: var(--slate); }
.c9-icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons --------------------------------------------------------------- */
.c9-btn {
	--h: 52px;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: var(--h); padding: 0 1.6em;
	border: 1px solid transparent; border-radius: var(--r-btn);
	font: 500 1rem/1 var(--font-body); letter-spacing: 0;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .12s ease-out, box-shadow .3s var(--spring-soft);
	-webkit-tap-highlight-color: transparent;
}
.c9-btn:active { transform: scale(.97); transition-duration: .08s; }
.c9-btn--small { --h: 42px; padding: 0 1.2em; font-size: .9375rem; }
.c9-btn--block { width: 100%; }
.c9-btn--primary { background: var(--ink); color: #fff; }
.c9-btn--primary:hover { background: var(--dusk-deep); box-shadow: 0 10px 22px -12px rgba(30, 30, 30, .6); }
.c9-btn--light { background: #fff; color: var(--ink); }
.c9-btn--light:hover { background: var(--blush); }
.c9-btn--quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.c9-btn--quiet:hover { background: var(--ink); color: #fff; }
.c9-btn--glass {
	background: rgba(255, 255, 255, .82); color: var(--ink);
	-webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
	border-color: rgba(255, 255, 255, .6);
}
.c9-btn .c9-icon { width: 1.15em; height: 1.15em; }

.c9-link {
	color: var(--ink); font-weight: 600; text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 2px;
	transition: background-size .35s var(--spring-soft);
}
.c9-link:hover { background-size: 0 1px; background-position: 100% 100%; }

.c9-round {
	display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
	border-radius: 50%; border: 1px solid var(--ink); background: transparent; cursor: pointer; color: var(--ink);
	transition: background-color .2s ease, color .2s ease, transform .12s ease-out, opacity .2s ease;
}
.c9-round:hover { background: var(--ink); color: #fff; }
.c9-round:active { transform: scale(.92); }
.c9-round:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }
.c9-round--dark { border-color: rgba(255, 255, 255, .35); color: #fff; }
.c9-round--dark:hover { background: #fff; color: var(--ink); }

/* Header ---------------------------------------------------------------- */
.c9-header {
	position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
	background: rgba(255, 255, 255, .72);
	-webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
	transition: box-shadow .35s ease, background-color .35s ease, transform .45s var(--spring);
}
.c9-header.is-scrolled { box-shadow: 0 1px 0 rgba(30, 30, 30, .07); background: rgba(255, 255, 255, .84); }
.has-hero .c9-header:not(.is-scrolled) { background: rgba(255, 255, 255, 0); -webkit-backdrop-filter: none; backdrop-filter: none; }
.c9-header.is-hidden { transform: translateY(-100%); }
.c9-header__inner {
	display: flex; align-items: center; gap: 32px; height: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
}
.c9-main { padding-top: var(--header-h); }
.has-hero .c9-main { padding-top: 0; }

.c9-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; color: var(--ink); }
.c9-logo__mark { height: 40px; width: auto; transition: transform .5s var(--spring); }
.c9-logo:hover .c9-logo__mark { transform: rotate(-4deg) scale(1.04); }
.c9-logo--image img { max-height: 44px; width: auto; }
.c9-wordmark { font: 700 1.3125rem/1 var(--font-display); letter-spacing: .005em; text-transform: uppercase; }

.c9-nav { margin-left: auto; }
.c9-nav__list { display: flex; gap: 6px; }
.c9-nav__list a {
	position: relative; display: block; padding: 10px 14px;
	font-size: 1rem; font-weight: 500; text-decoration: none; color: var(--ink);
}
.c9-nav__list a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform .4s var(--spring-soft);
}
.c9-nav__list a:hover::after, .c9-nav__list .current-menu-item > a:not([href*="#"])::after { transform: scaleX(1); transform-origin: left; }
.c9-header__actions { display: flex; align-items: center; gap: 8px; }

.c9-menu-toggle {
	display: none; width: 46px; height: 46px; place-items: center; padding: 0;
	border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.c9-menu-toggle:hover { background: rgba(30, 30, 30, .06); }

/* Mobile sheet: drops from the header and returns the same way (spatial consistency). */
.c9-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(30, 30, 30, 0); transition: background-color .35s ease; }
.c9-sheet.is-open { background: rgba(30, 30, 30, .35); }
.c9-sheet__panel {
	background: var(--paper); padding: 10px var(--gutter) 28px;
	transform: translateY(-104%); transition: transform .5s var(--spring);
	box-shadow: var(--shadow-float);
}
.c9-sheet.is-open .c9-sheet__panel { transform: none; }
.c9-sheet__top { display: flex; align-items: center; justify-content: space-between; height: calc(var(--header-h) - 10px); margin-bottom: 8px; }
.c9-sheet__top .c9-menu-toggle { display: grid; }
.c9-sheet__list { margin-bottom: 20px; }
.c9-sheet__list li { opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .45s var(--spring); }
.c9-sheet.is-open .c9-sheet__list li { opacity: 1; transform: none; }
.c9-sheet.is-open .c9-sheet__list li:nth-child(2) { transition-delay: .04s; }
.c9-sheet.is-open .c9-sheet__list li:nth-child(3) { transition-delay: .08s; }
.c9-sheet.is-open .c9-sheet__list li:nth-child(4) { transition-delay: .12s; }
.c9-sheet.is-open .c9-sheet__list li:nth-child(5) { transition-delay: .16s; }
.c9-sheet__list a {
	display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
	font: 500 1.5rem/1.2 var(--font-display); letter-spacing: -0.015em; text-decoration: none;
}

/* Hero: photo with a soft white wash and dark centred type, as on the current site. */
.c9-hero {
	position: relative; isolation: isolate; color: var(--ink); text-align: center;
	min-height: min(96svh, 920px); display: flex; align-items: center;
	padding: calc(var(--header-h) + 40px) 0 72px;
	overflow: hidden;
}
.c9-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.c9-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: c9-settle 2.6s var(--spring-soft) .05s forwards; }
@keyframes c9-settle { to { transform: scale(1); } }
.c9-hero.has-image .c9-hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .58); }
/* No photo yet: a warm, washed sky in the site's blush and stone. */
.c9-hero.is-sky .c9-hero__media {
	background:
		radial-gradient(90% 60% at 15% 20%, rgba(227, 199, 179, .55), transparent 65%),
		radial-gradient(80% 60% at 90% 75%, rgba(228, 228, 228, .9), transparent 60%),
		linear-gradient(180deg, #f3e9e2 0%, #f8f3ef 55%, #ffffff 100%);
}
.c9-sky__cloud {
	position: absolute; border-radius: 50%; background: #fff; filter: blur(46px); opacity: .85;
	animation: c9-drift 80s linear infinite alternate;
}
.c9-sky__cloud--1 { width: 44vw; height: 13vw; left: -6vw; top: 24%; }
.c9-sky__cloud--2 { width: 34vw; height: 10vw; right: -4vw; top: 12%; opacity: .7; animation-duration: 110s; }
.c9-sky__cloud--3 { width: 58vw; height: 15vw; left: 22vw; bottom: 6%; opacity: .75; animation-duration: 130s; }
@keyframes c9-drift { from { transform: translateX(-4vw); } to { transform: translateX(6vw); } }

.c9-hero__content { position: relative; display: flex; flex-direction: column; align-items: center; }
.c9-hero__title { max-width: 16ch; }
.c9-hero__title .c9-word { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); animation: c9-word .9s var(--spring) forwards; animation-delay: calc(.12s + var(--w, 0) * .07s); }
@keyframes c9-word { to { opacity: 1; transform: none; filter: blur(0); } }
.c9-hero__text {
	max-width: 46ch; margin-top: 18px; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.45; color: #2c2c2c;
	animation: c9-rise 1s var(--spring-soft) .45s both;
}
.c9-hero .c9-search { animation: c9-rise 1.1s var(--spring-soft) .6s both; }
.c9-hero__more { margin-top: 18px; font-size: .9375rem; color: var(--slate); animation: c9-rise 1s var(--spring-soft) .75s both; }
@keyframes c9-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Search bar ------------------------------------------------------------- */
.c9-search {
	display: grid; grid-template-columns: 1.25fr 1fr 1fr .8fr auto; align-items: stretch;
	width: 100%; max-width: 980px; margin-top: 36px; padding: 8px; color: var(--ink); text-align: left;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: var(--r-xl);
	box-shadow: var(--shadow-float);
}
.c9-search--page {
	background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-card);
	-webkit-backdrop-filter: none; backdrop-filter: none; margin-top: 28px;
}
.c9-search__field {
	position: relative; display: flex; flex-direction: column; justify-content: center;
	padding: 10px 18px; border-radius: var(--r-lg); min-width: 0;
	transition: background-color .25s ease, box-shadow .35s var(--spring-soft), transform .35s var(--spring);
}
.c9-search__field:hover { background: rgba(30, 30, 30, .04); }
.c9-search__field:focus-within { background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(30, 30, 30, .3); transform: translateY(-1px); }
.c9-search__field + .c9-search__field::before {
	content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); transition: opacity .2s ease;
}
.c9-search__field:hover::before, .c9-search__field:focus-within::before,
.c9-search__field:hover + .c9-search__field::before, .c9-search__field:focus-within + .c9-search__field::before { opacity: 0; }
.c9-search label {
	display: flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--slate); cursor: pointer;
}
.c9-search label .c9-icon { width: 15px; height: 15px; }
.c9-search input, .c9-search select {
	width: 100%; padding: 2px 0 0; border: 0; background: transparent; outline: none;
	font-size: 1rem; font-weight: 500; color: var(--ink); min-height: 28px; cursor: pointer;
	-webkit-appearance: none; appearance: none;
}
.c9-search select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235f5f5f' stroke-width='1.6' stroke-linecap='round' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") right center / 12px no-repeat; padding-right: 18px; }
.c9-search input::-webkit-calendar-picker-indicator { opacity: .45; cursor: pointer; }
.c9-search__go { --h: auto; border-radius: var(--r-lg); padding: 0 28px; font-size: 1rem; }
.c9-search__go .c9-icon { width: 18px; height: 18px; transition: transform .45s var(--spring); }
.c9-search__go:hover .c9-icon { transform: scale(1.12) rotate(-8deg); }
.c9-search__msg { grid-column: 1 / -1; font-size: .875rem; color: var(--danger); padding: 0 18px; }
.c9-search__msg:empty { display: none; }
.c9-search__msg:not(:empty) { padding: 8px 18px 4px; animation: c9-rise .4s var(--spring) both; }
.c9-search.is-shake { animation: c9-shake .45s var(--spring); }
@keyframes c9-shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* Sections -------------------------------------------------------------- */
.c9-section { padding: clamp(72px, 9vw, 128px) 0; }
.c9-section--flush { padding-top: 0; }
.c9-section--tint { background: var(--cloud); }
.c9-section--stone { background: var(--stone); }
.c9-section__head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	margin-bottom: clamp(32px, 4vw, 48px);
}
.c9-section__head:has(.c9-section__sub) { display: block; }
.c9-section__head--center { display: block; text-align: center; }
.c9-section__head--center .c9-section__sub { margin-inline: auto; }
.c9-section__sub { color: var(--slate); max-width: 52ch; margin-top: 14px; font-size: 1.0625rem; }

.c9-grid--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 44px 24px; }

/* Scroll reveals (only when JavaScript is running, so nothing is ever hidden without it). */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--spring-soft), transform 1.1s var(--spring); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Placeholders ---------------------------------------------------------- */
.c9-ph {
	position: relative; overflow: hidden; width: 100%; height: 100%; min-height: 100%;
	display: grid; place-items: end start;
	background: linear-gradient(160deg, #efe5de 0%, #f6f2ee 55%, #ebe8e5 100%);
	color: var(--slate);
}
.c9-ph__cloud { position: absolute; border-radius: 50%; background: #fff; filter: blur(18px); opacity: .9; }
.c9-ph__cloud--a { width: 55%; height: 26%; left: -8%; top: 22%; }
.c9-ph__cloud--b { width: 45%; height: 20%; right: -6%; top: 48%; opacity: .75; }
.c9-ph__label {
	position: relative; display: inline-flex; align-items: center; gap: 6px; margin: 14px;
	padding: 6px 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .8);
	font-size: .75rem; font-weight: 600;
}
.c9-ph__label:has(> svg:only-child) { display: none; }
.c9-ph__label .c9-icon { width: 14px; height: 14px; }

/* Cards ----------------------------------------------------------------- */
.c9-card__link { display: block; text-decoration: none; color: inherit; }
.c9-card__media {
	position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--cloud);
	transition: transform .55s var(--spring), box-shadow .55s var(--spring-soft);
}
.c9-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--spring-soft); }
.c9-card__link:hover .c9-card__media { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.c9-card__link:hover .c9-card__media img { transform: scale(1.04); }
.c9-card__link:active .c9-card__media { transform: translateY(-1px) scale(.99); transition-duration: .1s; }
.c9-card__body { padding: 16px 2px 0; }
.c9-card__city { font-size: .875rem; color: var(--slate); font-weight: 500; }
.c9-card__title { margin-top: 2px; font-size: 1.1875rem; }
.c9-card__price { margin-top: 10px; font-size: .9375rem; color: var(--slate); }
.c9-card__price strong { color: var(--ink); font-weight: 600; font-size: 1.0625rem; }
.c9-card__badge {
	display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 4px 10px;
	border-radius: var(--r-sm); background: #e8f3ed; color: var(--success); font-size: .8125rem; font-weight: 600;
}
.c9-card__badge .c9-icon { width: 14px; height: 14px; }

.c9-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; color: var(--slate); font-size: .9375rem; }
.c9-facts li { display: inline-flex; align-items: center; gap: 7px; }
.c9-facts .c9-icon { width: 18px; height: 18px; }
.c9-facts--compact { gap: 4px 14px; font-size: .875rem; margin-top: 8px; }
.c9-facts--compact .c9-icon { width: 16px; height: 16px; }

/* Cities ---------------------------------------------------------------- */
.c9-cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.c9-city a {
	position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden;
	text-decoration: none; color: #fff; isolation: isolate;
	transition: transform .55s var(--spring), box-shadow .55s var(--spring-soft);
}
.c9-city a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.c9-city img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--spring-soft); }
.c9-city a:hover img { transform: scale(1.05); }
.c9-city a::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 20, 20, .55)); }
.c9-city__name { position: absolute; left: 20px; bottom: 18px; z-index: 1; font: 600 1.4375rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.c9-city .c9-ph__label { display: none; }
.c9-city a:has(.c9-ph) { color: var(--ink); }
.c9-city a:has(.c9-ph)::after { background: none; }
.c9-cities li:nth-child(4n+1) .c9-ph { background: var(--blush); }
.c9-cities li:nth-child(4n+2) .c9-ph { background: var(--stone); }
.c9-cities li:nth-child(4n+3) .c9-ph { background: var(--sand); }
.c9-cities li:nth-child(4n+4) .c9-ph { background: #ece6e1; }

/* Split ("why stay") ----------------------------------------------------- */
.c9-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.c9-split__media { aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; }
.c9-split__media img, .c9-split__media .c9-ph { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.c9-split__body h2 { max-width: 16ch; }
.c9-points { margin: 34px 0 38px; display: grid; gap: 26px; }
.c9-points li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; }
.c9-points li > .c9-icon { width: 50px; height: 50px; padding: 13px; border-radius: 50%; background: var(--blush); color: var(--ink); }
.c9-points p { color: var(--slate); margin-top: 4px; }

/* Owners: tile grid in blush, stone and sand with photos between, as on the current site. */
.c9-owners__head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.c9-owners__head p { color: var(--slate); font-size: 1.125rem; margin-top: 16px; }
.c9-services { display: grid; grid-template-columns: 1.2fr .85fr 1.2fr; gap: 16px; margin-bottom: 44px; }
.c9-tile {
	display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
	min-height: 340px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg);
	background: var(--stone);
}
.c9-tile h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.02em; max-width: 12ch; }
.c9-tile p { color: #3a3a3a; max-width: 40ch; }
.c9-tile--blush { background: var(--blush); }
.c9-tile--sand { background: var(--sand); }
.c9-tile--photo { padding: 0; overflow: hidden; }
.c9-tile--photo img, .c9-tile--photo .c9-ph { width: 100%; height: 100%; object-fit: cover; }
.c9-owners__cta { display: flex; justify-content: center; }

/* Reviews: white cards on a stone band. --------------------------------- */
.c9-rail-nav { display: flex; gap: 8px; }
.c9-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 84vw); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
	padding: 4px 0 12px; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y;
}
.c9-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.c9-rail.is-animating { scroll-snap-type: none; }
.c9-rail::-webkit-scrollbar { display: none; }
.c9-review {
	scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; min-height: 360px;
	padding: 28px 24px 22px; border-radius: var(--r-md); background: var(--paper);
	transition: transform .55s var(--spring), box-shadow .55s var(--spring-soft);
}
.c9-review:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.c9-review--image { padding: 0; overflow: hidden; }
.c9-review__img { width: 100%; height: auto; }
.c9-review__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.c9-review__name { font: 600 1.5rem/1.2 var(--font-display); letter-spacing: -0.015em; }
.c9-review__source { font-size: .8125rem; color: var(--slate); }
.c9-review__stars { letter-spacing: .12em; font-size: .875rem; }
.c9-review blockquote { margin: 0; font-size: 1.125rem; line-height: 1.45; flex: 1; }
.c9-review__stay { font-size: .8125rem; color: var(--slate); }

/* Contact & forms ------------------------------------------------------- */
.c9-contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.c9-contact__intro p { color: var(--slate); margin-top: 16px; max-width: 40ch; }
.c9-contact__list { margin-top: 28px; display: grid; gap: 14px; }
.c9-contact__list li { display: flex; align-items: center; gap: 12px; }
.c9-contact__list a { text-decoration: none; font-weight: 500; }
.c9-contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.c9-contact__form { background: var(--paper); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow-card); }

.c9-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.c9-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; }
.c9-field label { font-size: .875rem; font-weight: 600; }
.c9-optional { font-weight: 400; color: var(--slate); }
.c9-field input, .c9-field select, .c9-field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1px solid #d6d3d0; border-radius: var(--r-sm); background: var(--paper);
	font-size: 1rem; transition: border-color .2s ease, box-shadow .3s var(--spring-soft);
}
.c9-field textarea { resize: vertical; min-height: 130px; }
.c9-field input:hover, .c9-field select:hover, .c9-field textarea:hover { border-color: #a9a6a3; }
.c9-field input:focus, .c9-field select:focus, .c9-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(30, 30, 30, .1); }
.c9-field [aria-invalid="true"] { border-color: var(--danger); animation: c9-shake .45s var(--spring); }
.c9-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c9-form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.c9-form__note { font-size: .875rem; color: var(--slate); }
.c9-form__status { padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 20px; font-weight: 500; animation: c9-rise .45s var(--spring) both; }
.c9-form__status.is-success { background: #e8f3ed; color: var(--success); }
.c9-form__status.is-error { background: #f8e9e9; color: var(--danger); }
.c9-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* Page heads ------------------------------------------------------------ */
.c9-page-head { padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 56px); }
.c9-page-head h1 { animation: c9-rise .9s var(--spring) both; }
.c9-page-head__sub { margin-top: 12px; color: var(--slate); font-size: 1.125rem; max-width: 52ch; animation: c9-rise .9s var(--spring) .08s both; }
.c9-page-head .c9-search { animation: c9-rise 1s var(--spring-soft) .16s both; }
.c9-page-head--center { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.c9-page-head--center .c9-page-head__sub { margin-inline: auto; }
.c9-page-head--center .c9-about__actions { justify-content: center; }

.c9-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.c9-chip {
	padding: 9px 16px; border-radius: var(--r-btn); border: 1px solid var(--line);
	text-decoration: none; font-size: .9375rem; font-weight: 500;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .12s ease-out;
}
.c9-chip:hover { border-color: var(--ink); }
.c9-chip:active { transform: scale(.96); }
.c9-chip.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

.c9-results:empty { display: none; }
.c9-results__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.c9-results__head h2 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); }
.c9-results .c9-card { animation: c9-rise .7s var(--spring) both; animation-delay: calc(var(--i, 0) * 70ms); }
.is-searching [data-c9-all] { display: none; }

.c9-empty { text-align: center; padding: clamp(40px, 8vw, 96px) 24px; border-radius: var(--r-xl); background: var(--cloud); }
.c9-empty h2 { font-size: clamp(1.375rem, 2.6vw, 1.875rem); }
.c9-empty p { color: var(--slate); margin: 12px auto 28px; max-width: 46ch; }

.c9-skeleton { border-radius: var(--r-lg); background: linear-gradient(90deg, var(--cloud), var(--stone), var(--cloud)); background-size: 200% 100%; animation: c9-shimmer 1.4s ease-in-out infinite; aspect-ratio: 4 / 3; }
@keyframes c9-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* About ----------------------------------------------------------------- */
.c9-about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.c9-about__media { aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.c9-about__media img, .c9-about__media .c9-ph { width: 100%; height: 100%; object-fit: cover; }
.c9-about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Prose ----------------------------------------------------------------- */
.c9-prose { font-size: 1.0625rem; line-height: 1.7; }
.c9-prose > * + * { margin-top: 1.1em; }
.c9-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.c9-prose h3 { margin-top: 1.6em; }
.c9-prose .is-lead, .c9-prose > p:first-child { font-size: 1.3125rem; line-height: 1.5; color: var(--ink); }
.c9-prose p, .c9-prose li { color: #3a3a3a; }
.c9-prose ul { list-style: disc; padding-left: 1.25em; }
.c9-prose a { color: var(--ink); text-underline-offset: 3px; }

.c9-list { display: grid; gap: 36px; }
.c9-list h2 { font-size: 1.5rem; }
.c9-list h2 a { text-decoration: none; }

/* Property -------------------------------------------------------------- */
.c9-crumbs { display: flex; gap: 10px; padding-top: 28px; font-size: .9375rem; color: var(--slate); }
.c9-crumbs a { text-decoration: none; }
.c9-crumbs a:hover { color: var(--ink); }
.c9-property__head { padding: 14px 0 28px; }
.c9-property__head h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); animation: c9-rise .9s var(--spring) both; }
.c9-property__head .c9-facts { margin-top: 14px; font-size: 1rem; animation: c9-rise .9s var(--spring) .08s both; }

.c9-gallery {
	position: relative; display: grid; gap: 8px;
	grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr;
	height: clamp(300px, 44vw, 560px); border-radius: var(--r-xl); overflow: hidden;
	animation: c9-rise 1s var(--spring-soft) .12s both;
}
.c9-gallery__item { all: unset; position: relative; overflow: hidden; cursor: zoom-in; background: var(--cloud); }
.c9-gallery__item:disabled { cursor: default; }
.c9-gallery__item:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.c9-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--spring-soft), filter .3s ease; }
.c9-gallery__item:not(:disabled):hover img { transform: scale(1.03); filter: brightness(.94); }
.c9-gallery__item--0 { grid-row: 1 / 3; }
.c9-gallery__item--2 .c9-ph { background: var(--blush); }
.c9-gallery__item--3 .c9-ph { background: var(--stone); }
.c9-gallery__item--4 .c9-ph { background: var(--sand); }
.c9-gallery--single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.c9-gallery--single .c9-gallery__item:not(.c9-gallery__item--0) { display: none; }
.c9-gallery__all { position: absolute; right: 16px; bottom: 16px; }

.c9-property__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 6vw, 80px); padding: clamp(36px, 5vw, 56px) 0 clamp(64px, 9vw, 112px); }
.c9-block { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.c9-block h2 { font-size: 1.625rem; margin-bottom: 8px; }
.c9-times { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; color: var(--slate); }
.c9-times li { display: inline-flex; align-items: center; gap: 8px; }
.c9-times strong { color: var(--ink); }
.c9-amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 20px; }
.c9-amenities li { display: flex; align-items: center; gap: 10px; }
.c9-amenities .c9-icon { width: 18px; height: 18px; }
.c9-map { margin-top: 16px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--cloud); }
.c9-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }

.c9-property__aside { position: relative; }
.c9-book {
	position: sticky; top: calc(var(--header-h) + 24px);
	padding: 26px; border: 1px solid var(--line); border-radius: var(--r-xl);
	background: var(--paper); box-shadow: var(--shadow-card);
	animation: c9-rise 1s var(--spring-soft) .2s both;
}
.c9-book__price { font-size: 1rem; color: var(--slate); margin-bottom: 20px; }
.c9-book__price strong { font: 600 1.75rem/1 var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.c9-book__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.c9-book .c9-field { margin-bottom: 14px; }
.c9-book .c9-field input, .c9-book .c9-field select { min-height: 48px; padding: 10px 12px; font-size: .9375rem; }
.c9-book__summary { margin: 4px 0 16px; font-size: .9375rem; }
.c9-book__summary:empty { display: none; }
.c9-book__summary > * { animation: c9-rise .45s var(--spring) both; }
.c9-book__line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.c9-book__line strong { font-size: 1.125rem; }
.c9-book__ok { color: var(--success); font-weight: 500; display: flex; gap: 6px; align-items: center; }
.c9-book__ok .c9-icon { width: 18px; height: 18px; }
.c9-book__warn { color: var(--danger); }
.c9-book__note { margin-top: 12px; font-size: .8125rem; color: var(--slate); text-align: center; }

/* Calendar -------------------------------------------------------------- */
.c9-cal { margin-top: 20px; }
.c9-cal__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.c9-cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.c9-cal__months.is-next { animation: c9-slide-l .45s var(--spring) both; }
.c9-cal__months.is-prev { animation: c9-slide-r .45s var(--spring) both; }
@keyframes c9-slide-l { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes c9-slide-r { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.c9-cal__month h3 { font-size: 1.0625rem; text-align: center; margin-bottom: 12px; font-weight: 600; }
.c9-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.c9-cal__dow { text-align: center; font-size: .75rem; font-weight: 600; color: var(--slate); padding-bottom: 6px; }
.c9-cal__day {
	all: unset; box-sizing: border-box; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	border-radius: var(--r-md); cursor: pointer; font-size: .9375rem; font-weight: 500; line-height: 1.1;
	transition: background-color .2s ease, color .2s ease, transform .12s ease-out;
}
.c9-cal__day small { font-size: .6875rem; font-weight: 500; color: var(--slate); margin-top: 2px; }
.c9-cal__day:hover:not(:disabled):not(.is-start):not(.is-end):not(.is-range) { background: var(--cloud); }
.c9-cal__day.is-range:hover { background: color-mix(in srgb, var(--blush) 80%, var(--sand)); }
.c9-cal__day:active:not(:disabled) { transform: scale(.92); }
.c9-cal__day:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.c9-cal__day:disabled { cursor: default; color: #b9b6b3; text-decoration: line-through; text-decoration-color: rgba(185, 182, 179, .8); }
.c9-cal__day:disabled small { visibility: hidden; }
.c9-cal__day.is-range { background: var(--blush); border-radius: 0; }
.c9-cal__day.is-start, .c9-cal__day.is-end { background: var(--ink); color: #fff; animation: c9-pop .4s var(--spring); }
.c9-cal__day.is-start small, .c9-cal__day.is-end small { color: rgba(255, 255, 255, .78); }
.c9-cal__day.is-start { border-radius: var(--r-md) 0 0 var(--r-md); }
.c9-cal__day.is-end { border-radius: 0 var(--r-md) var(--r-md) 0; }
.c9-cal__day.is-start.is-end { border-radius: var(--r-md); }
.c9-cal__day.is-blank { visibility: hidden; }
@keyframes c9-pop { from { transform: scale(.82); } to { transform: none; } }
.c9-cal__msg { margin-top: 10px; font-size: .875rem; min-height: 1.3em; }

/* Lightbox: photos grow out of the thumbnail you tapped and return to it. */
.c9-lightbox {
	width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
	background: rgba(18, 18, 18, 0); color: #fff; transition: background-color .35s ease;
}
.c9-lightbox[open] { display: flex; flex-direction: column; }
.c9-lightbox.is-shown { background: rgba(18, 18, 18, .96); }
.c9-lightbox::backdrop { background: transparent; }
.c9-lightbox__bar, .c9-lightbox__stage > .c9-round { opacity: 0; transition: opacity .3s ease .1s; }
.c9-lightbox.is-shown .c9-lightbox__bar, .c9-lightbox.is-shown .c9-lightbox__stage > .c9-round { opacity: 1; }
.c9-lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); font-size: .9375rem; }
.c9-lightbox__stage { flex: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 0 var(--gutter) 24px; min-height: 0; }
.c9-lightbox__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; height: 100%; scrollbar-width: none; }
.c9-lightbox__track::-webkit-scrollbar { display: none; }
.c9-lightbox__track li { scroll-snap-align: center; display: grid; place-items: center; min-height: 0; }
.c9-lightbox__track img { max-height: calc(100vh - 120px); width: auto; max-width: 100%; object-fit: contain; border-radius: var(--r-sm); }

/* Footer ---------------------------------------------------------------- */
.c9-footer { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .9688rem; }
.c9-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.c9-footer__brand p { color: var(--slate); margin-top: 16px; max-width: 34ch; }
.c9-footer__member { margin-top: 24px; }
.c9-footer__member img { max-height: 52px; width: auto; }
.c9-footer__title { font: 600 1rem/1 var(--font-display); margin-bottom: 16px; letter-spacing: 0; }
.c9-footer__list { display: grid; gap: 10px; }
.c9-footer__list a { text-decoration: none; color: var(--slate); transition: color .2s ease; }
.c9-footer__list a:hover { color: var(--ink); }
.c9-social { display: flex; gap: 8px; margin-top: 18px; }
.c9-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink); color: var(--ink); transition: background-color .2s ease, color .2s ease, transform .12s ease-out; }
.c9-social a:hover { background: var(--ink); color: #fff; }
.c9-social a:active { transform: scale(.92); }
.c9-social .c9-icon { width: 18px; height: 18px; }
.c9-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; color: var(--slate); font-size: .875rem; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat; }
.c9-footer__base a { color: inherit; }

/* WordPress bits ---------------------------------------------------------- */
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-btn); border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.wp-block-image img { border-radius: var(--r-md); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1060px) {
	.c9-search { grid-template-columns: 1fr 1fr; gap: 4px; }
	.c9-search__field + .c9-search__field::before { display: none; }
	.c9-search__field { background: rgba(30, 30, 30, .03); }
	.c9-search__go { grid-column: 1 / -1; min-height: 54px; }
	.c9-services { grid-template-columns: 1fr 1fr; }
	.c9-tile--photo { display: none; }
	.c9-property__layout { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 900px) {
	.c9-nav, .c9-header__actions .c9-btn { display: none; }
	.c9-header__actions { margin-left: auto; }
	.c9-menu-toggle { display: grid; }
	.c9-cities { grid-template-columns: 1fr 1fr; }
	.c9-split, .c9-contact, .c9-about { grid-template-columns: 1fr; }
	.c9-split__media { aspect-ratio: 4 / 3; }
	.c9-about__media { position: static; aspect-ratio: 4 / 3; }
	.c9-property__layout { grid-template-columns: 1fr; }
	.c9-book { position: static; }
	.c9-property__aside { order: -1; }
	.c9-footer__grid { grid-template-columns: 1fr 1fr; }
	.c9-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	:root { --header-h: 66px; }
	.c9-logo__mark { height: 34px; }
	.c9-wordmark { font-size: 1.125rem; }
	.c9-hero { min-height: 90svh; }
	.c9-search { padding: 6px; }
	.c9-search__field { padding: 8px 14px; }
	.c9-services { grid-template-columns: 1fr; }
	.c9-tile { min-height: 0; gap: 28px; }
	.c9-form__row { grid-template-columns: 1fr; }
	.c9-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: auto; aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
	.c9-gallery__item:not(.c9-gallery__item--0) { display: none; }
	.c9-gallery__item--0 { grid-row: auto; }
	.c9-cal__months { grid-template-columns: 1fr; }
	.c9-cal__month + .c9-cal__month { display: none; }
	.c9-amenities { grid-template-columns: 1fr; }
	.c9-lightbox__stage { grid-template-columns: 1fr; padding: 0 0 24px; }
	.c9-lightbox__stage > .c9-round { display: none; }
}

/* Accessibility preferences --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.c9-hero__media img { transform: none; }
	.c9-hero__title .c9-word { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-transparency: reduce) {
	.c9-header, .c9-search, .c9-btn--glass { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
@media (prefers-contrast: more) {
	.c9-search, .c9-book, .c9-contact__form { border: 2px solid var(--ink); }
	.c9-muted, .c9-card__city, .c9-facts { color: var(--ink); }
}

/* Let grid children shrink on small screens (date inputs have a wide intrinsic size). */
.c9-property__layout > *, .c9-book__dates > *, .c9-form__row > * { min-width: 0; }
.c9-book__dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.c9-field input[type="date"] { min-width: 0; width: 100%; }

/* ==========================================================================
   Motion v2
   ========================================================================== */

/* Cross-page transitions (Chrome/Edge/Safari 18+; other browsers simply load the page).
   A property card's photo and title glide into the property page and back again:
   enter and exit along the same path, anchored to where you tapped. */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .9, .25, 1); }
::view-transition-old(root) { animation: c9-vt-out .22s ease both; }
::view-transition-new(root) { animation: c9-vt-in .42s cubic-bezier(.22, 1, .36, 1) .06s both; }
::view-transition-image-pair(*) { isolation: auto; }
::view-transition-old(*):not(:only-child), ::view-transition-new(*):not(:only-child) { mix-blend-mode: normal; height: 100%; width: 100%; object-fit: cover; }
@keyframes c9-vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes c9-vt-in { from { opacity: 0; transform: translateY(12px); } }
.c9-header { view-transition-name: c9-header; }
::view-transition-group(c9-header) { animation-duration: 0s; }
.c9-card__title span, .c9-property__head h1 span { display: inline-block; }

/* Headings wipe up from a mask instead of fading. */
.js h2[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); translate: 0 .35em; transition: clip-path 1s var(--spring), translate 1s var(--spring); }
.js h2[data-reveal].is-in { clip-path: inset(-0.2em -0.1em -0.25em -0.1em); translate: 0 0; }

/* Photos ease into focus as they load. */
.js .c9-card__media img, .js .c9-gallery__item img, .js .c9-city img, .js .c9-split__media img, .js .c9-tile--photo img {
	opacity: 0; filter: blur(12px); scale: 1.04;
	transition: opacity .7s ease, filter .9s var(--spring-soft), scale 1.2s var(--spring-soft), transform .9s var(--spring-soft);
}
.js .c9-card__media img.is-loaded, .js .c9-gallery__item img.is-loaded, .js .c9-city img.is-loaded, .js .c9-split__media img.is-loaded, .js .c9-tile--photo img.is-loaded { opacity: 1; filter: none; scale: 1; }

/* Gallery tiles cascade in. */
.c9-gallery { animation: none; }
.c9-gallery__item { animation: c9-tile-in .9s var(--spring) both; animation-delay: calc(.08s + var(--i, 0) * .07s); }
@keyframes c9-tile-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* The booking total pulses softly when it changes. */
.c9-book__total { display: inline-block; font-variant-numeric: tabular-nums; }
.c9-book__total.is-bump { animation: c9-bump .5s var(--spring); }
@keyframes c9-bump { 40% { transform: scale(1.06); } }

/* Jetpack add-ons that don't belong on property pages. */
.c9-property .jp-relatedposts, .c9-property .sharedaddy, .c9-property .wpl-likebox, .c9-property #jp-post-flair { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
	.js h2[data-reveal] { clip-path: none; translate: none; }
	.js .c9-card__media img, .js .c9-gallery__item img, .js .c9-city img, .js .c9-split__media img, .js .c9-tile--photo img { opacity: 1; filter: none; scale: 1; }
}
