/* TBK Villas redesign, Dec 2026. Direction: Sublime Comporta (look, booking bar, spec
   block) + Bambu Indah (owner's voice, spec grid on the hero, loose photos).
   Tokens first; change a colour or font here and it changes everywhere. */

/* Onest (SIL Open Font License, see fonts/Onest-OFL.txt). One variable file, weights
   300–700, Latin subset, 33 KB. */
@font-face { font-family: "Onest"; src: url("../fonts/onest-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
	--stone: #e4e6e0;
	--paper: #f0f1ed;
	--sand: #cfd2c8;
	--laterite: #a8553a;
	--laterite-deep: #8f4630;
	--green: #1f3d33;
	--green-deep: #162b24;
	--ink: #2a2622;
	--muted: #6b635a;
	--line: rgb(42 38 34 / 14%);
	--line-light: rgb(255 255 255 / 28%);

	/* One family, hierarchy by weight: 300 headlines (700 for emphasis), 600 names/titles,
	   400 reading text, 600 caps labels, 700 caps spec values. Onest has no ₹, so the
	   fallback draws that one glyph. */
	--font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--display: var(--font);
	--sans: var(--font);
	--mono: var(--font);

	--fs-hero: clamp(2.9rem, 6.6vw, 6.4rem);
	--fs-h2: clamp(2.1rem, 4vw, 3.5rem);
	--fs-body: 1.0625rem;
	--hdr: 76px;
	--gut: clamp(16px, 4vw, 48px);
	--sec: clamp(4.5rem, 9vw, 8.5rem);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	/* Re-skin the pages not yet rebuilt (they still load main.css underneath). */
	--cream: var(--paper);
	--accent: var(--laterite-deep);   /* deep shade: readable on stone panels as well as paper */
	--lime: var(--stone);             /* sand panels made laterite and muted text fall below 4.5:1 */
	--lime-deep: var(--laterite-deep);
	--serif: var(--display);
}

/* ---------- base (v2 pages load no other stylesheet) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 64px); }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: var(--fs-body);
	line-height: 1.6;
	letter-spacing: -0.005em;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--laterite); outline-offset: 3px; }
::selection { background: var(--sand); color: var(--ink); }
html { -webkit-tap-highlight-color: rgb(168 85 58 / 14%); }
input, select, textarea { caret-color: var(--laterite); accent-color: var(--laterite); }

.w { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
.sec { padding-block: var(--sec); }

/* typewriter label */
.lbl { font: 600 0.72rem/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.h2 { font: 300 var(--fs-h2)/1.04 var(--display); letter-spacing: -0.035em; text-wrap: balance; margin-top: 0.9rem; }
.h2 em, .hh__title em, .ft__line em, .h2 strong { font-style: normal; font-weight: 700; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.prose p { color: #4a443d; }

/* images fade in quickly once loaded (no long fades) */
.js .fade { opacity: 0; transition: opacity 0.7s var(--ease); }
.js .fade.is-in { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
	min-height: 50px; padding: 0 1.4rem;
	font: 600 0.95rem/1 var(--sans); letter-spacing: 0; text-decoration: none;
	border: 1px solid transparent; border-radius: 2px; cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .tbk-icon, .btn svg:not(.ico-wa) { fill: none; stroke: currentColor; stroke-width: 1.5; }
.btn--sm { min-height: 42px; padding: 0 1rem; font-size: 0.875rem; }
.btn--lat { background: var(--laterite); color: #fff; }
.btn--lat:hover { background: var(--laterite-deep); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--line { border-color: currentColor; background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); }
.has-hero .hdr:not(.is-solid) { background: transparent; color: #fff; border-color: transparent; }
.has-hero .hdr::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgb(0 0 0 / 50%), transparent); pointer-events: none; z-index: -1; opacity: 0; transition: opacity 0.4s var(--ease); }
.has-hero .hdr:not(.is-solid)::before { opacity: 1; }
body:not(.has-hero) #main { padding-top: var(--hdr); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 2rem; }
.hdr__logo { flex: none; display: block; color: inherit; }
.logo-mark { display: block; width: 46px; height: 48px; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.hdr__nav { display: flex; gap: 0.25rem; margin-right: auto; }
.hdr__link { display: inline-flex; align-items: center; gap: 0.35rem; height: 44px; padding: 0 0.85rem; background: none; border: 0; cursor: pointer; font: 500 0.95rem/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; color: inherit; }
.hdr__link .chev { width: 12px; height: 12px; transition: transform 0.45s var(--ease); }
.hdr__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.hdr__link { background: linear-gradient(currentColor, currentColor) 0.85rem calc(100% - 8px) / 0 1px no-repeat; transition: background-size 0.45s var(--ease); }
.hdr__link:hover, .hdr__link[aria-expanded="true"] { background-size: calc(100% - 1.7rem) 1px; }
.hdr__act { display: flex; align-items: center; gap: 1.1rem; }
.hdr__tel { font: 500 0.85rem var(--mono); letter-spacing: 0.02em; text-decoration: none; }
.hdr__menu { display: none; align-items: center; gap: 0.6rem; height: 44px; padding: 0 0.25rem; background: none; border: 0; cursor: pointer; font: 600 0.72rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
.hdr__burger { display: grid; gap: 6px; width: 22px; }
.hdr__burger i { display: block; height: 1.5px; background: currentColor; transition: transform 0.25s; }
.hdr__menu[aria-expanded="true"] .hdr__burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* panels under the header */
.panel--js { visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity 0.25s ease, transform 0.45s var(--ease), visibility 0s linear 0.45s; }
.panel--js.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.3s var(--ease), transform 0.5s var(--ease), visibility 0s; }
.panel--js .vgrid > *, .panel--js .panel__areas > * { opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; }
.panel--js.is-open .vgrid > *, .panel--js.is-open .panel__areas > * { opacity: 1; transform: none; transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); transition-delay: calc(60ms + var(--n, 0) * 30ms); }
.panel--js :is(.vgrid, .panel__areas) > :nth-child(2) { --n: 1; } .panel--js :is(.vgrid, .panel__areas) > :nth-child(3) { --n: 2; } .panel--js :is(.vgrid, .panel__areas) > :nth-child(4) { --n: 3; } .panel--js :is(.vgrid, .panel__areas) > :nth-child(5) { --n: 4; } .panel--js :is(.vgrid, .panel__areas) > :nth-child(n+6) { --n: 5; }
.panel { position: absolute; inset: 100% 0 auto; background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-height: calc(100svh - var(--hdr)); overflow-y: auto; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 30%); padding-block: 2rem 2.25rem; }
.panel .submenu { position: static; display: block; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0; width: auto; }
.panel .vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.5rem 1rem; }
.panel .vcard { display: grid; gap: 0.3rem; text-decoration: none; }
.panel .vcard__img { display: block; aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.panel .vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.panel .vcard:hover img { transform: scale(1.04); }
.panel .vcard__nm { font: 600 1.05rem/1.2 var(--display); letter-spacing: -0.01em; margin-top: 0.35rem; }
.panel .vcard__cap { font: 600 0.7rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.panel .submenu__foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.95rem; }
.panel .submenu__foot a { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 500; }
.panel .submenu__foot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.panel .submenu__foot span { color: var(--muted); }
.panel__areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.25rem; }
.pa { display: grid; gap: 0.3rem; text-decoration: none; }
.pa__img { aspect-ratio: 3 / 4; background: var(--stone); overflow: hidden; }
.pa__img img { width: 100%; height: 100%; object-fit: cover; }
.pa__nm { font: 600 1.25rem/1.1 var(--display); letter-spacing: -0.02em; margin-top: 0.4rem; }

/* mobile sheet */
.sheet { position: fixed; inset: var(--hdr) 0 0; z-index: 55; background: var(--paper); overflow-y: auto; padding-block: 1.5rem 3rem; }
.sheet--js { visibility: hidden; opacity: 0; transition: opacity 0.25s ease, visibility 0s linear 0.3s; }
.sheet--js.is-open { visibility: visible; opacity: 1; transition: opacity 0.3s var(--ease), visibility 0s; }
.sheet--js .sheet__in > * { transform: translateY(14px); opacity: 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.sheet--js.is-open .sheet__in > * { transform: none; opacity: 1; transition: transform 0.6s var(--ease), opacity 0.5s var(--ease); }
.sheet--js.is-open .sheet__in > :nth-child(2) { transition-delay: 40ms; } .sheet--js.is-open .sheet__in > :nth-child(3) { transition-delay: 80ms; } .sheet--js.is-open .sheet__in > :nth-child(4) { transition-delay: 120ms; } .sheet--js.is-open .sheet__in > :nth-child(n+5) { transition-delay: 160ms; }
.sheet__in { display: grid; gap: 0.25rem; }
.sheet__big { font: 300 2.2rem/1.2 var(--display); letter-spacing: -0.03em; text-decoration: none; padding-block: 0.2rem; }
.sheet__lbl { margin-top: 0.75rem; }
.sheet__areas { list-style: none; margin: 0.4rem 0 1rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 1rem; }
.sheet__areas a { display: flex; justify-content: space-between; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.05rem; }
.sheet__cta { margin-top: 1.5rem; }

/* ---------- home hero ---------- */
.hh { position: relative; min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; }
.hh__media, .hh__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hh::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 18 14 / 10%) 30%, rgb(10 18 14 / 62%) 100%); }
.hh__in { padding-bottom: 2.25rem; }
.hh__tag { color: rgb(255 255 255 / 82%); }
.hh__title { font: 300 var(--fs-hero)/0.98 var(--display); letter-spacing: -0.045em; max-width: 12ch; margin-top: 1rem; text-wrap: balance; }
.hh__sub { margin-top: 1.25rem; max-width: 46ch; font-size: 1.1rem; font-weight: 500; color: rgb(255 255 255 / 88%); }
.hh__bar { padding-bottom: clamp(1.25rem, 3vw, 2.5rem); }

/* ---------- booking form ---------- */
.bk { display: grid; gap: 0; }
.bk__f { display: grid; gap: 0.3rem; padding: 0.85rem 1.1rem; min-width: 0; }
.bk__f label { font: 600 0.72rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.bk__f input, .bk__f select { width: 100%; min-width: 0; border: 0; background: transparent; color: inherit; font: 500 1rem/1.3 var(--sans); padding: 0.2rem 0; letter-spacing: 0; appearance: none; -webkit-appearance: none; border-radius: 0; min-height: 30px; }
.bk__f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23888' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 12px; padding-right: 18px; cursor: pointer; }
.bk__f select option { color: var(--ink); }
.bk__f input:focus, .bk__f select:focus { outline: none; }
.bk__f:focus-within { box-shadow: inset 0 -2px 0 var(--laterite); }
.bk__go { min-height: 100%; }

.bk--glass { grid-template-columns: 1.6fr 1fr 1fr 0.8fr auto; background: rgb(240 241 237 / 16%); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border: 1px solid var(--line-light); color: #fff; }
.bk--glass .bk__f + .bk__f { border-left: 1px solid var(--line-light); }
.bk--glass input { color-scheme: dark; }
.bk--glass .bk__go { min-height: 72px; padding-inline: 1.75rem; }

.bk--card { grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.bk--card .bk__f { border-bottom: 1px solid var(--line); }
.bk--card .bk__f:nth-child(2) { border-right: 1px solid var(--line); }
.bk--card .bk__f--guests { grid-column: 1 / -1; }
.bk--card .bk__go { grid-column: 1 / -1; min-height: 56px; }
/* the card sits inside a padded box, so on phones the two date fields are narrow */
@media (max-width: 480px) {
	.bk--card .bk__f { padding-inline: 0.8rem; }
	.bk--card input[type="date"] { font-size: 0.95rem; letter-spacing: -0.01em; }
}

/* ---------- section head ---------- */
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.25rem); }

/* ---------- invitation ---------- */
.inv__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: center; }
.inv__pics { grid-column: 1 / 7; position: relative; padding-bottom: 18%; }
.inv__a { width: 78%; aspect-ratio: 4 / 5; object-fit: cover; }
.inv__b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover; border: clamp(6px, 1vw, 12px) solid var(--paper); }
.inv__txt { grid-column: 8 / 13; }
.inv__txt .prose { margin-top: 1.5rem; }
.inv__sig { margin-top: 1.75rem; font: 700 1.05rem/1 var(--display); letter-spacing: 0.01em; color: var(--laterite); }

/* ---------- villa cards ---------- */
.vs { background: var(--stone); }
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tabs button, .tabs a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 600 0.72rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; border-radius: 2px; text-decoration: none; white-space: nowrap; }
.tabs button span, .tabs a span { color: var(--muted); margin-left: 0.4rem; }
.tabs button[aria-pressed="true"], .tabs a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tabs button[aria-pressed="true"] span, .tabs a[aria-current] span { color: var(--sand); }
.tabs a:hover, .tabs button:hover { border-color: var(--ink); }

/* ---------- all villas / area pages ---------- */
.al__h { max-width: 46rem; }
.al__t { margin-top: 0.75rem; }
.al__bl { margin-top: 1rem; font-size: 1.1rem; color: #4a443d; }
.al__filters { display: grid; gap: 0.6rem; margin-block: clamp(1.75rem, 4vw, 2.75rem) clamp(2rem, 4vw, 3rem); }
.vgrid2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) var(--gut); }
.vgrid2.is-capped .vc:nth-child(n + 7):not(.is-match) { display: none; }
.vc { display: grid; gap: 0.35rem; align-content: start; text-decoration: none; min-width: 0; }
.vc__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); margin-bottom: 0.8rem; }
.vc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.35s; }
.vc:hover .vc__img img { transform: scale(1.035); }
.vc__count { position: absolute; left: 0.75rem; bottom: 0.75rem; background: rgb(240 241 237 / 92%); color: var(--ink); padding: 0.4rem 0.55rem; font-size: 0.72rem; }
.vc__nm { font: 600 clamp(1.3rem, 1.6vw, 1.55rem)/1.15 var(--display); letter-spacing: -0.025em; }
.vc__specs { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.9rem; color: #4a443d; margin-top: 0.2rem; }
.vc__specs span { display: inline-flex; align-items: center; gap: 0.4rem; }
.vc__specs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.vc__price { font: 700 0.95rem var(--sans); margin-top: 0.35rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
.vs__more { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.btn--line svg { width: 18px; height: 18px; }

/* ---------- book direct ---------- */
/* text on laterite is solid white: any transparency drops it under 4.5:1 */
.bd { background: var(--laterite); color: #fff; padding-block: clamp(4rem, 8vw, 7rem); }
.bd .lbl { color: #fff; }
.bd__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.bd .h2 { max-width: 12ch; margin-bottom: 2rem; }
.bd__steps { list-style: none; margin: 0; padding: 0; }
.bd__steps li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line-light); }
.bd__steps li:last-child { border-bottom: 1px solid var(--line-light); }
.bd__steps .lbl { padding-top: 0.45rem; }
.bd__steps h3 { font: 600 1.4rem/1.15 var(--display); letter-spacing: -0.02em; }
.bd__steps p { margin-top: 0.35rem; color: #fff; }

/* ---------- areas ---------- */
.ar__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; scrollbar-width: thin; }
.ac { display: grid; gap: 0.35rem; align-content: start; text-decoration: none; scroll-snap-align: start; }
.ac__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); margin-bottom: 0.7rem; }
.ac__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.35s; }
.ac:hover .ac__img img { transform: scale(1.04); }
.ac__nm { font: 600 1.5rem/1.05 var(--display); letter-spacing: -0.025em; }
.ac__bl { font-size: 0.95rem; color: #4a443d; margin-top: 0.2rem; }

/* ---------- reviews ---------- */
.rv { background: var(--green); color: #fff; padding-block: clamp(4rem, 8vw, 7rem); }
.rv .lbl { color: rgb(255 255 255 / 72%); }
.rv__in { display: grid; grid-template-columns: 1fr 3fr; gap: clamp(2rem, 6vw, 6rem); }
.rv__side { display: grid; align-content: start; gap: 1.5rem; }
.rv__ctl { display: flex; align-items: center; gap: 0.75rem; }
.rv__ctl button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-light); background: none; border-radius: 50%; cursor: pointer; }
.rv__ctl button:hover { background: rgb(255 255 255 / 10%); }
.rv__ctl svg { width: 18px; height: 18px; }
.rv__all { font-size: 0.95rem; text-underline-offset: 5px; }
.rv__q blockquote { margin: 0; font: 300 clamp(1.45rem, 2.5vw, 2.25rem)/1.32 var(--display); letter-spacing: -0.025em; text-wrap: pretty; }
.rv__q blockquote::before { content: "“"; }
.rv__q blockquote::after { content: "”"; }
.rv__q figcaption { margin-top: 1.75rem; }
.rv--js .rv__stage { display: grid; }
.rv--js .rv__q { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s; }
.rv--js .rv__q.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity 0.6s var(--ease) 0.12s, transform 0.8s var(--ease) 0.12s, visibility 0s; }

/* ---------- footer ---------- */
.ft a { text-decoration: none; }
.ft a:not(.btn) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease); }
.ft a:not(.btn):hover { background-size: 100% 1px; }

/* floating WhatsApp (desktop) and bottom bar (phones) */
.wa2 { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 10px 30px -10px rgb(0 0 0 / 45%); transition: transform 0.2s; }
.wa2:hover { transform: scale(1.06); }
.wa2 svg { width: 26px; height: 26px; }
.mbar { display: none; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: #100e0c; color: #fff; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lb__fig { margin: 0; height: 100svh; display: grid; place-items: center; padding: 64px 0; touch-action: pan-y; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 128px); object-fit: contain; user-select: none; }
.lb button { background: none; border: 0; cursor: pointer; color: #fff; display: grid; place-items: center; }
.lb button svg { width: 28px; height: 28px; }
.lb__nav { height: 64px; }
.lb__x { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 52px; height: 52px; z-index: 2; }
.lb__n { position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); color: rgb(255 255 255 / 75%); }

/* ---------- villa page ---------- */
.vh { position: relative; min-height: max(620px, 92svh); display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.vh__media, .vh__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* strong enough for white text over bright photos (whitewashed walls, sky) */
.vh::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 18 14 / 14%) 0%, rgb(10 18 14 / 22%) 30%, rgb(10 18 14 / 62%) 62%, rgb(10 18 14 / 82%) 100%); }
.vh__in { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem 4rem; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.vh__tag { color: rgb(255 255 255 / 85%); }
.vh__title { font: 700 var(--fs-hero)/0.95 var(--display); letter-spacing: -0.045em; margin-top: 0.9rem; text-wrap: balance; }
.vh__photos { margin-top: 1.5rem; background: rgb(240 241 237 / 92%); color: var(--ink); border: 0; min-height: 42px; padding: 0 1rem; cursor: pointer; font: 600 0.72rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; border-radius: 2px; }
.sg { display: grid; grid-template-columns: repeat(2, minmax(9rem, auto)); gap: 0; margin: 0; border-top: 1px solid var(--line-light); min-width: 320px; }
.sg div { padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 1rem; }
.sg div:nth-child(odd) { padding-right: 1.25rem; margin-right: 1.25rem; border-right: 1px solid var(--line-light); }
.sg dt { font: 500 0.72rem/1.6 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 82%); }
.sg dd { margin: 0; font: 700 0.8rem/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }

.strip { background: var(--laterite); color: #fff; }
.strip__in { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem 1.5rem; flex-wrap: wrap; min-height: 56px; padding-block: 0.6rem; font-size: 0.95rem; }
/* keep the link clear of the floating WhatsApp button when the strip sits at the screen's bottom edge */
@media (min-width: 701px) { .strip__in { padding-right: calc(56px + 2.25rem); } }
.strip strong { font-weight: 700; margin-right: 0.5rem; }
.strip span { color: #fff; }
.strip a { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; text-underline-offset: 5px; }
.strip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.subnav { position: sticky; top: var(--hdr); z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; }
.subnav__links { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.subnav__links a { flex: none; padding: 1.1rem 0.8rem; font: 600 0.72rem var(--mono); letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav__links a.is-on, .subnav__links a:hover { color: var(--ink); border-color: var(--laterite); }
.subnav__book { display: flex; align-items: center; gap: 1rem; opacity: 0; visibility: hidden; transition: opacity 0.25s; }
.subnav.is-stuck .subnav__book { opacity: 1; visibility: visible; }

.ov__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: start; }
.ov__txt { grid-column: 1 / 8; }
.ov__txt .prose { margin-top: 1.5rem; font-size: 1.1rem; }
.hl { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; }
.hl li, .am__list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.hl svg, .am__list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--laterite); stroke-width: 1.4; margin-top: 2px; }
.eq { grid-column: 9 / 13; position: sticky; top: calc(var(--hdr) + 84px); background: var(--stone); padding: 1.5rem; }
.eq__price { font: 600 1.5rem/1.15 var(--display); letter-spacing: -0.025em; margin-bottom: 1.1rem; }
.eq__note { margin-top: 0.9rem; font-size: 0.88rem; color: var(--muted); }
.eq__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 0.92rem; }
.eq__links a { text-underline-offset: 4px; }

.sb__in { display: grid; grid-template-columns: 5fr 7fr; min-height: 520px; }
.sb__block { background: var(--laterite); color: #fff; padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: flex-end; }
.sb__block .lbl { color: #fff; margin-bottom: 1.25rem; }
.sb__block ul { list-style: none; margin: 0; padding: 0; font: 700 0.82rem/1.95 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.sb__block li::after { content: "."; }
.sb__img { background: var(--sand); }
.sb__img img { width: 100%; height: 100%; object-fit: cover; }

.mag { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); align-items: start; }
.mag__it { padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; display: block; }
.mag__it img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.35s; }
.mag__it:hover img { transform: scale(1.025); }
.mag__it--wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.mag__it--l { grid-column: 1 / 8; aspect-ratio: 4 / 3; }
.mag__it--r { grid-column: 8 / 13; aspect-ratio: 4 / 5; margin-top: 18%; }
.mag__it--s { grid-column: 2 / 6; aspect-ratio: 4 / 5; }
.mag__it--m { grid-column: 7 / 13; aspect-ratio: 4 / 3; margin-top: 12%; }
.ph__more { margin-top: 2.5rem; text-align: center; }

.am { background: var(--stone); }
.am__in { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gut); }
.am__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.am__list li { padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.am__list li:nth-child(odd) { margin-right: 1.5rem; }

.lc__in { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gut); align-items: center; }
.lc__bl { margin-top: 1.25rem; font-size: 1.1rem; color: #4a443d; max-width: 40ch; }
.lc .btn { margin-top: 1.75rem; }
.lc__map { aspect-ratio: 4 / 3; background: var(--sand); }
.lc__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) sepia(0.12); }

.more { background: var(--paper); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
	.hdr__tel { display: none; }
	.bk--glass { grid-template-columns: 1fr 1fr 1fr 0.7fr; }
	.bk--glass .bk__f--villa { grid-column: 1 / -1; border-bottom: 1px solid var(--line-light); }
	.bk--glass .bk__f--villa + .bk__f { border-left: 0; }
	.bk--glass .bk__go { grid-column: 1 / -1; min-height: 58px; }
}

@media (max-width: 960px) {
	:root { --hdr: 64px; }
	.hdr__nav, .hdr__cta { display: none; }
	.hdr__menu { display: inline-flex; }
	.hdr__in { justify-content: space-between; }
	.logo-mark { width: 40px; height: 42px; }
	.panel { display: none !important; }
	.vgrid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.inv__pics { grid-column: 1 / -1; max-width: 560px; }
	.inv__txt { grid-column: 1 / -1; }
	.bd__in, .rv__in, .am__in, .lc__in { grid-template-columns: 1fr; }
	.rv__side { order: 2; grid-auto-flow: column; justify-content: space-between; align-items: center; }
	.rv__side > .lbl { display: none; }
	.ov__txt, .eq { grid-column: 1 / -1; }
	.eq { position: static; }
	.vh__in { grid-template-columns: 1fr; }
	.sg { min-width: 0; }
	.sb__in { grid-template-columns: 1fr; }
	.sb__img { aspect-ratio: 4 / 3; order: -1; }
	.subnav { top: var(--hdr); }
	.subnav__book { display: none; }
}

@media (max-width: 700px) {
	:root { --fs-body: 1rem; }
	.hh { min-height: 0; padding-top: calc(var(--hdr) + 30vh); }
	.hh__in { padding-bottom: 1.75rem; }
	/* the phone crop is mostly bright sky behind the headline, so the scrim starts earlier */
	.hh::after { background: linear-gradient(180deg, rgb(10 18 14 / 18%) 0%, rgb(10 18 14 / 30%) 22%, rgb(10 18 14 / 62%) 45%, rgb(10 18 14 / 80%) 100%); }
	.hh__bar { padding-inline: 0; padding-bottom: 0; background: var(--paper); position: relative; }
	.bk--glass { grid-template-columns: 1fr 1fr; background: var(--paper); color: var(--ink); border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.bk--glass .bk__f { border-color: var(--line) !important; border-bottom: 1px solid var(--line); }
	.bk--glass .bk__f--villa { grid-column: 1 / -1; }
	.bk--glass .bk__f + .bk__f { border-left: 0; }
	.bk--glass .bk__f:nth-child(3) { border-right: 1px solid var(--line); }
	.bk--glass .bk__f--guests { grid-column: 1 / -1; }
	.bk--glass input { color-scheme: light; }
	.bk--glass .bk__go { grid-column: 1 / -1; margin: 1rem var(--gut) 1.25rem; min-height: 54px; }
	.vgrid2 { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
	.vgrid2 .vc { scroll-snap-align: start; }
	.vgrid2.is-capped .vc:nth-child(n + 7):not(.is-match) { display: grid; }
	.ar__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
	.tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
	.tabs button { flex: none; }
	.hl, .am__list { grid-template-columns: 1fr; }
	.am__list li:nth-child(odd) { margin-right: 0; }
	.sg { grid-template-columns: 1fr 1fr; }
	.sg div { flex-direction: column; gap: 0; }
	.sg div:nth-child(odd) { margin-right: 0.75rem; padding-right: 0.75rem; }
	.vh { min-height: 88svh; }
	.mag { grid-template-columns: 1fr 1fr; }
	.mag__it--wide, .mag__it--l, .mag__it--m { grid-column: 1 / -1; aspect-ratio: 4 / 3; margin-top: 0; }
	.mag__it--r, .mag__it--s { grid-column: auto; margin-top: 0; aspect-ratio: 4 / 5; }
	.strip__in { font-size: 0.88rem; }
	.lb { grid-template-columns: 1fr; }
	.lb__nav { display: none !important; }
	.wa2 { display: none; }
	.mbar { position: fixed; inset: auto 0 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem var(--gut) calc(0.7rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.3s var(--ease); }
	.mbar.is-on { transform: none; }
	.mbar__t { display: grid; min-width: 0; }
	.mbar__nm { font: 600 1.05rem/1.2 var(--display); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mbar .lbl { font-size: 0.62rem; letter-spacing: 0.12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mbar .btn { flex: none; }
	body { padding-bottom: 76px; }
}

/* ---------- phones: sizes, rhythm and thumb-sized targets ---------- */
@media (max-width: 700px) {
	:root { --sec: 4rem; }
	.lbl { font-size: 0.75rem; letter-spacing: 0.14em; }
	.sec-h { gap: 1.25rem; margin-bottom: 1.75rem; }
	.nw { white-space: nowrap; }

	/* home hero: less empty sky so the form's button sits nearer the first screen */
	.hh { padding-top: calc(var(--hdr) + 22svh); }
	.hh__sub { font-size: 1.05rem; text-wrap: pretty; }
	.bk--glass .bk__f { padding: 0.8rem var(--gut); }
	.bk__f label { font-size: 0.72rem; letter-spacing: 0.14em; }

	/* swipe rows: the peeking next card says "swipe", so no scrollbar */
	.vgrid2, .ar__grid, .tabs, .subnav__links { scrollbar-width: none; }
	.vgrid2::-webkit-scrollbar, .ar__grid::-webkit-scrollbar, .tabs::-webkit-scrollbar, .subnav__links::-webkit-scrollbar { display: none; }
	.vc__nm { font-size: 1.35rem; }

	.bd__steps li { grid-template-columns: 2.5rem 1fr; padding-block: 1.25rem; }
	.bd__steps h3 { font-size: 1.3rem; }

	.rv__q blockquote { font-size: 1.32rem; line-height: 1.34; letter-spacing: -0.02em; }


	.mbar .lbl { font-size: 0.7rem; }

	/* villa page */
	.strip__in { padding-block: 0.9rem 0.5rem; }
	.subnav__links { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
	.subnav__links a { padding-inline: 0.7rem; }
	.subnav__links a:first-child { padding-left: 0; }
	.eq { padding: 1.15rem; }
	.eq__price { font-size: 1.35rem; }
	.eq__links { gap: 0 1.25rem; padding-top: 0.6rem; }
	.am__list li { padding-block: 0.85rem; }
	/* five photos make a full set on a phone (wide, wide, pair, wide); the rest open in the viewer */
	.mag__it:nth-child(n + 6) { display: none; }
	.ph__more { margin-top: 1.5rem; }
	.ph__more .btn { width: 100%; }

	/* all villas: a compact list (photo left, details right) instead of 21 tall tiles */
	.al__filters .tabs { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); width: auto; }
	.vgrid2--all { grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding: 0; gap: 0; border-top: 1px solid var(--line); }
	.vgrid2--all .vc { grid-template-columns: 40% minmax(0, 1fr); grid-auto-rows: min-content; column-gap: 1rem; row-gap: 0.25rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
	.vgrid2--all .vc__img { grid-row: 1 / span 5; aspect-ratio: 4 / 5; margin: 0; align-self: start; }
	.vgrid2--all .vc__count { display: none; }
	.vgrid2--all .vc__nm { font-size: 1.15rem; line-height: 1.2; }
	.vgrid2--all .vc__specs { flex-direction: column; gap: 0.15rem; font-size: 0.86rem; }
	.vgrid2--all .vc__specs svg { width: 15px; height: 15px; }
	.vgrid2--all .vc__price { font-size: 0.88rem; padding-top: 0.5rem; margin-top: 0.3rem; }

}

/* about / contact / reviews (still on the older layout): labels never under 11.5px, and
   panels on stone rather than sand, where muted and laterite text fell below 4.5:1 */
.k, .contact-form label { font-size: 0.72rem !important; }
.section--paper, .testimonials, .contact-form, .contact-list .ico { background: var(--stone); }
.quote__avatar { color: var(--ink); }
.quote .where { font-size: 0.8rem; }
.quote:nth-child(3n + 2) .where { color: rgb(255 255 255 / 78%); }

/* phones held sideways: let the hero be as tall as its content, not taller than the screen */
@media (orientation: landscape) and (max-height: 520px) {
	.hh, .vh { min-height: 0; padding-top: calc(var(--hdr) + 3.5rem); }
	.hh__title, .vh__title { font-size: clamp(2.4rem, 6vw, 3.4rem); }
}

/* tablets, phones and any touchscreen: every control at least ~44px tall */
@media (max-width: 960px), (pointer: coarse) {
	.tabs button, .tabs a, .vh__photos, .strip a { min-height: 44px; }
	.bk__f input, .bk__f select { min-height: 40px; }
	.rv__all { display: inline-block; padding-block: 0.7rem; }
	.eq__links a { display: inline-block; padding-block: 0.6rem; }
	.contact-list .v { display: inline-block; padding-block: 0.55rem; margin-block: -0.4rem; }
}

/* touch: no stuck hover zooms, bigger form fields, a little press feedback */
@media (hover: none) {
	.vc:hover .vc__img img, .ac:hover .ac__img img, .mag__it:hover img, .panel .vcard:hover img { transform: none; }
	.btn:active { opacity: 0.86; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
}

/* Pages not yet rebuilt: one short, smooth rise instead of the old long fades. */
.js [data-reveal] { transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease) !important; transition-delay: min(var(--d, 0ms), 180ms) !important; }
.js [data-reveal].is-in { transform: none; }

/* ---------- motion ----------
   One authored moment: the hero photo settles and its words rise once on load.
   Everything else is a response to the visitor (menus, filters, reviews, hovers). */
@keyframes tbk-settle { from { transform: scale(1.06); } }
@keyframes tbk-rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: no-preference) {
	.hh__media img, .vh__media img { animation: tbk-settle 2.2s var(--ease) both; }
	.hh__in > *, .vh__name > *, .hh__bar, .vh__in > .sg { animation: tbk-rise 1s var(--ease) both; animation-delay: 0.15s; }
	.hh__in > :nth-child(2), .vh__name > :nth-child(2) { animation-delay: 0.25s; }
	.hh__in > :nth-child(3), .vh__name > :nth-child(3) { animation-delay: 0.35s; }
	.hh__bar, .vh__in > .sg { animation-delay: 0.45s; }
	.is-filtering .vc:not([hidden]) { animation: tbk-rise 0.6s var(--ease) both; animation-delay: calc(var(--k, 0) * 45ms); }
}


/* ---------- chalk drawings (Magnific line art, shown as masks in the text colour) ---------- */
.chalk { display: block; width: 100%; aspect-ratio: var(--ar, 4 / 3); background-color: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.ar__grid--chalk .ac__art { display: grid; place-items: center; aspect-ratio: 5 / 4; padding: 0.4rem 0.6rem 1rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--line); color: var(--ink); transition: color 0.5s var(--ease); }
.ar__grid--chalk .ac__art .chalk { width: 100%; height: 100%; aspect-ratio: auto; transition: transform 0.8s var(--ease); }
.ar__grid--chalk .ac:hover .ac__art { color: var(--laterite-deep); }
.ar__grid--chalk .ac:hover .ac__art .chalk { transform: translateY(-5px); }
.chalk-fig { margin: 0; color: var(--ink); display: grid; place-items: center; }
.chalk-fig .chalk { max-height: 100%; }
.contact__art.chalk-fig { aspect-ratio: auto; min-block-size: 0; }
.about-intro__art.chalk-fig { aspect-ratio: auto; max-block-size: none; max-width: 460px; justify-self: center; width: 100%; }
.rv-head { align-items: end; gap: 2rem; }
.rv-head .section-head__note { margin-top: 0.75rem; }
.rv-head__art { width: min(440px, 42%); flex: none; color: var(--ink); }
@media (max-width: 960px) {
	.ar__grid.ar__grid--chalk { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 2rem 1.25rem; }
	.ar__grid--chalk .ac__nm { font-size: 1.25rem; }
	.ar__grid--chalk .ac__bl { font-size: 0.9rem; }
}
@media (max-width: 700px) {
	.rv-head { flex-direction: column-reverse; align-items: flex-start; }
	.rv-head__art { width: 78%; }
}

/* the hero photo settles from 1.06x; keep that inside the hero so the page never scrolls sideways */
.hh, .vh { overflow: clip; }

/* ---------- footer (Dec 2026): one dusk photo, after Fogo Island Inn ---------- */
.ft { color: #fff; }
.ft a { text-decoration: none; }
.ft a:not(.btn) { color: inherit; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.ft__line { font: 300 clamp(2.4rem, 5.2vw, 4.75rem)/1.02 var(--display); letter-spacing: -0.04em; color: #fff; max-width: 12ch; text-wrap: balance; }

.ftp { position: relative; isolation: isolate; overflow: clip; min-height: clamp(560px, 82svh, 860px); display: flex; }
.ftp__media, .ftp__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; z-index: -2; }
.ftp::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(90deg, rgb(24 12 10 / 58%) 0%, rgb(24 12 10 / 22%) 46%, rgb(24 12 10 / 0%) 72%),
	linear-gradient(0deg, rgb(24 12 10 / 62%) 0%, rgb(24 12 10 / 0%) 52%),
	linear-gradient(180deg, rgb(24 12 10 / 40%) 0%, rgb(24 12 10 / 0%) 30%); }
.ftp__in { flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 3rem; padding-block: clamp(2.5rem, 5vw, 4rem) 1.25rem; }
.ftp__base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem 2rem; padding-top: 1.1rem; border-top: 1px solid rgb(255 255 255 / 22%); font: 600 0.72rem/1.5 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
.ftp__nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.ftp__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; color: rgb(255 255 255 / 78%); }
.ftp__nav a, .ftp__legal a, .ftp__legal span { padding-block: 0.3rem; }
.ftp__contact .lbl { color: rgb(255 255 255 / 82%); margin-bottom: 0.8rem; }
.ftp__contact li { font-size: 1.02rem; }
.ftp__foot { align-self: end; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.ftp__card { width: min(380px, 100%); background: rgb(240 241 237 / 94%); color: var(--ink); padding: 1.5rem 1.5rem 1.6rem; border-radius: 4px; box-shadow: 0 24px 60px -24px rgb(0 0 0 / 50%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; gap: 0.6rem; }
.ftp__card-t { font: 600 1.35rem/1.15 var(--display); letter-spacing: -0.02em; }
.ftp__card p:not(.ftp__card-t) { color: var(--muted); font-size: 0.98rem; }
.ftp__card .btn { margin-top: 0.5rem; justify-content: center; }


@media (max-width: 960px), (pointer: coarse) {
	.ftp__contact li a, .ftp__nav a, .ftp__legal a { display: inline-block; padding-block: 0.6rem; }
	.ftp__contact ul, .ft ul { gap: 0; }
	.ftp__contact li:not(:has(a)), .ftp__legal > span { padding-block: 0.6rem; }
}
@media (max-width: 700px) {
	.ftp { min-height: 0; }
	.ftp__media img { object-position: 50% 55%; }
	.ftp::after { background:
		linear-gradient(0deg, rgb(24 12 10 / 72%) 0%, rgb(24 12 10 / 22%) 50%, rgb(24 12 10 / 62%) 100%); }
	.ftp__in { padding-block: 2.5rem 1rem; }
	.ftp__foot { display: grid; gap: 1.5rem; }
	.ftp__card { width: 100%; }
	.ftp__in { gap: 4.5rem; }
	.ftp__base { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
	.ftp__legal { gap: 0 1.25rem; }
}

/* Areas dropdown: the same chalk drawings as the homepage area cards */
.pa__art { display: grid; place-items: center; aspect-ratio: 5 / 4; padding: 0.5rem 0.75rem 1rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--line); color: var(--ink); transition: color 0.5s var(--ease); }
.pa__art .chalk { width: 100%; height: 100%; aspect-ratio: auto; transition: transform 0.8s var(--ease); }
.pa:hover .pa__art { color: var(--laterite-deep); }
.pa:hover .pa__art .chalk { transform: translateY(-5px); }

/* ---------- phones, round 2 (Dec 2026): full-screen hero, folded villa text, dusk footer ---------- */
.btn--ghost { background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 62%); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.hh__cta, .bd__form { display: none; }
.fold-btn { display: none; }

@media (max-width: 700px) {
	/* hero: the garden photo fills the first screen; headline, one line and two buttons at the bottom */
	.hh { min-height: 100svh; padding-top: var(--hdr); }
	.hh__media img { object-position: 50% 40%; }
	.hh::after { background:
		linear-gradient(180deg, rgb(10 18 14 / 38%) 0%, rgb(10 18 14 / 0%) 18%),
		linear-gradient(180deg, rgb(10 18 14 / 0%) 34%, rgb(10 18 14 / 55%) 58%, rgb(10 18 14 / 86%) 100%); }
	.hh__in { padding-bottom: calc(1.75rem + env(safe-area-inset-bottom)); }
	.hh__title { font-size: clamp(2.75rem, 12.4vw, 3.5rem); line-height: 0.98; max-width: none; margin-top: 0.75rem; }
	.hh__title em { display: block; }
	.hh__sub { margin-top: 1rem; font-size: 1rem; line-height: 1.5; max-width: 36ch; }
	.hh__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.6rem; }
	.hh__cta .btn { min-height: 52px; padding-inline: 0.75rem; justify-content: center; }
	.hh__bar { display: none; }

	/* the date form lives in "Plan your stay" on phones */
	.bd .h2 { margin-bottom: 1.5rem; }
	.bd__form { display: block; color: var(--ink); margin-bottom: 2.5rem; }
	.bd__form .bk__go { background: var(--ink); color: #fff; }
	.bd__form .bk__go:hover { background: #000; }
	.bd__form .bk--card { border: 0; }
	.bd__form .bk--card .bk__f--villa { grid-column: 1 / -1; border-right: 0; }
	.bd__form .bk--card .bk__f:nth-child(3) { border-right: 1px solid var(--line); }
	.bd__form .bk--card .bk__f { padding-inline: 1rem; }
	.bd__wa { display: none; }

	/* villa page: about six lines, then Read more */
	.prose--fold.is-folded { max-height: 9.6em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
	.fold-btn { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.25rem; padding: 0; border: 0; background: none; color: var(--ink); font: 600 1rem var(--sans); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; cursor: pointer; }

	/* footer: the sunset photo at the top, fading into the dusk colour that carries the links */
	.ft { background: #1f1826; }
	body { padding-bottom: 0; }
	.ftp { display: block; min-height: 0; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
	.ftp__media { inset: 0 0 auto; height: 125vw; }
	.ftp__media img { position: absolute; inset: 0; height: 100%; object-position: 50% 50%; }
	.ftp::after { background:
		linear-gradient(180deg, rgb(31 24 38 / 30%) 0, rgb(31 24 38 / 0%) 22vw, rgb(31 24 38 / 0%) 50vw, rgb(31 24 38 / 78%) 92vw, #1f1826 125vw); }
	.ftp__in { display: flex; flex-direction: column; gap: 0; padding-block: 64vw 2rem; }
	.ftp__foot { order: 1; display: grid; gap: 1.1rem; align-self: stretch; justify-content: stretch; }
	.ft__line { font-size: clamp(2.4rem, 11.2vw, 3rem); max-width: 10ch; }
	.ftp__card { width: 100%; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; color: #fff; gap: 0; }
	.ftp__card-t { display: none; }
	.ftp__card p:not(.ftp__card-t) { color: rgb(255 255 255 / 84%); font-size: 1rem; max-width: 32ch; }
	.ftp__card .btn { margin-top: 1.25rem; width: 100%; min-height: 54px; }

	.ftp__contact { order: 2; margin-top: 3rem; }
	.ftp__contact .lbl { margin-bottom: 0.4rem; }
	.ftp__contact ul { display: grid; }
	.ftp__contact li { border-top: 1px solid rgb(255 255 255 / 14%); font-size: 1rem; }
	.ftp__contact li a, .ftp__contact li:not(:has(a)) { display: flex; padding-block: 0.85rem; }
	.ftp__contact li a { gap: 0.4rem; }
	.ftp__contact li a::after { content: "→"; margin-left: auto; opacity: 0.6; }

	.ftp__base { order: 3; margin-top: 2.25rem; padding-top: 0; border-top: 0; display: grid; grid-template-columns: 100%; justify-content: stretch; align-items: start; gap: 1.5rem; }
	.ftp__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; border-top: 1px solid rgb(255 255 255 / 14%); padding-top: 0.75rem; }
	.ftp__nav a { padding-block: 0.7rem; }
	.ftp__legal { gap: 0 1.25rem; color: rgb(255 255 255 / 66%); font-size: 0.68rem; }
	.ftp__legal a, .ftp__legal > span { padding-block: 0.45rem; }
}

/* phone menu (Dec 2026): every villa with its photo instead of the area list */
.sheet__links { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 0.75rem; }
.sheet__links a { display: flex; align-items: center; min-height: 48px; font: 600 1.05rem var(--display); letter-spacing: -0.01em; text-decoration: none; }
.sheet__all { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sheet__see { display: inline-flex; align-items: center; gap: 0.35rem; font: 600 0.75rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.sheet__see svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sheet__villas { list-style: none; margin: 0.75rem 0 0.5rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 0.75rem; }
.sv { display: grid; gap: 0.3rem; text-decoration: none; }
.sv__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); margin-bottom: 0.25rem; }
.sv__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.sv:active .sv__img img { transform: scale(1.03); }
.sv__nm { font: 600 1rem/1.2 var(--display); letter-spacing: -0.015em; }
.sv__s { font-size: 0.68rem; letter-spacing: 0.12em; color: var(--muted); }
.sheet__cta { position: sticky; bottom: calc(0.75rem + env(safe-area-inset-bottom)); margin-top: 1.75rem; box-shadow: 0 14px 30px -16px rgb(0 0 0 / 45%); }
@media (min-width: 600px) { .sheet__villas { grid-template-columns: repeat(3, 1fr); } }

/* ---------- phones, round 3 (Dec 2026): a calmer type scale, every level one step down;
   body copy stays at 16px so reading is unchanged ---------- */
@media (max-width: 700px) {
	:root { --fs-h2: 1.75rem; }
	.hh__title { font-size: clamp(2.15rem, 10vw, 2.6rem); line-height: 1; }
	.hh__sub { font-size: 0.95rem; }
	.vh__title { font-size: clamp(2rem, 9.4vw, 2.45rem); line-height: 1; }
	.h2 { line-height: 1.1; letter-spacing: -0.03em; }
	.display, .section-head .display, .contact__info .display { font-size: 1.85rem !important; line-height: 1.1 !important; }
	.prose--lead, .ov__txt .prose { font-size: 1rem; }
	.vc__nm { font-size: 1.15rem; }
	.vgrid2--all .vc__nm { font-size: 1.05rem; }
	.eq__price { font-size: 1.2rem; }
	.bd__steps h3 { font-size: 1.1rem; }
	.ar__grid--chalk .ac__nm { font-size: 1.1rem; }
	.rv__q blockquote { font-size: 1.12rem; line-height: 1.45; letter-spacing: -0.01em; }
	.quote blockquote, .quote blockquote p { font-size: 1rem; }
	.contact-list .v { font-size: 1.05rem; }
	.ft__line { font-size: 2rem; line-height: 1.05; }
	.sheet__big { font-size: 1.6rem; }
	.sheet__links a { font-size: 0.98rem; }
	.mbar__nm { font-size: 0.98rem; }
}
