/* =========================================================================
   La Mer Syros — main stylesheet
   Tokens taken from design-baseline/DESIGN-SYSTEM.md
   ========================================================================= */

:root {
	/* colour */
	--c-ink: #333;
	--c-ink-deep: #2f2f2f;
	--c-white: #fff;
	--c-white-70: rgba(255, 255, 255, .7);
	--c-scrim: rgba(0, 0, 0, .2);
	--c-rule: #d2d2d2;
	--c-muted: #7a7a7a;
	--c-heading: #6f6f6f;   /* centred section titles — lighter than body ink */
	--c-current: #61ce70;   /* current menu item only */
	--c-band: #f7f6f4;      /* soft page band a white card can sit on */
	--c-ok: #2f7d32;
	--c-error: #b3261e;

	/* Cards lift off the image they overlap rather than sitting flush. */
	--shadow-card: 0 18px 50px rgba(0, 0, 0, .10);

	/* type */
	--f-head: "Montserrat", sans-serif;
	--f-body: "Roboto", sans-serif;

	--t-xs: .75rem;      /* 12 */
	--t-sm: .875rem;     /* 14 */
	--t-base: 1rem;      /* 16 */
	--t-md: 1.25rem;     /* 20 */
	--t-lg: 1.75rem;     /* 28 */
	--t-xl: 2rem;        /* 32 */
	--t-2xl: 3rem;       /* 48 */
	--t-3xl: 4rem;       /* 64 */

	--lh-tight: 1.2;
	--lh-body: 1.55;

	/* layout */
	--container: 1140px;
	--gutter: 20px;
	--section-y: 80px;
	--header-h: 104px;
}

/* ---------- reset ---------- */

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

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

body {
	margin: 0;
	font-family: var(--f-body);
	font-size: var(--t-base);
	line-height: var(--lh-body);
	color: var(--c-ink);
	background: var(--c-white);
	overflow-x: hidden;
}

img, picture, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-head);
	font-weight: 300;
	line-height: var(--lh-tight);
	margin: 0 0 .6em;
	text-transform: uppercase;
	letter-spacing: .04em;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

/* Screen-reader-only, used for skip links and labels. */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

.skip-link:focus {
	position: fixed; top: 8px; left: 8px;
	width: auto; height: auto; clip-path: none;
	z-index: 999; padding: 12px 20px;
	background: var(--c-white); color: var(--c-ink);
}

/* ---------- layout ---------- */

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

.section { padding-block: var(--section-y); }
.section--tight { padding-block: 40px; }
.section--flush { padding-block: 0; }

.section-title {
	text-align: center;
	font-size: clamp(1.75rem, 3.4vw, var(--t-2xl));
	font-weight: 200;
	letter-spacing: .16em;
	text-indent: .16em;
	color: var(--c-heading);
	margin: 0 0 var(--section-y);
}

/* ---------- header ---------- */

.site-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 10;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
}

/*
 * The design floats the header on the hero with no bar. A gradient replaces the
 * flat scrim — enough to hold white type against a bright sky, invisible
 * against a dark one. It runs taller than the header itself so the fade ends in
 * open image rather than stopping at the header edge and reading as a band.
 */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 210px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0));
	pointer-events: none;
}

/*
 * The header is absolutely positioned from the top of the document, so the
 * logged-in admin bar sat on top of it and clipped the logo. WordPress pushes
 * the page down with `html { margin-top }`, which an absolutely positioned box
 * does not inherit — the offset has to be applied here. 32px is the desktop
 * bar; it becomes 46px at the width WordPress switches to the taller one.
 */
.admin-bar .site-header { top: 32px; }
.admin-bar .nav-panel__brand,
.admin-bar .nav-panel__close { top: calc(32px + var(--header-h) / 2); }

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .nav-panel__brand,
	.admin-bar .nav-panel__close { top: calc(46px + var(--header-h) / 2); }
}

.site-header__inner { position: relative; }

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--gutter);
	width: 100%;
	/*
	 * Full-bleed, not boxed to the 1140px container — "Call Us" and the burger
	 * sit against the page edges with only a gutter. The centre column still
	 * centres the logo on the viewport, since the outer columns stay equal.
	 */
	max-width: none;
	padding-inline: clamp(20px, 3vw, 48px);
}

.site-header a { color: var(--c-white); text-decoration: none; }

.header-call {
	font-family: var(--f-head);
	font-size: var(--t-xs);
	font-weight: 400;
	letter-spacing: .18em;
	text-transform: uppercase;
	justify-self: start;
}

.site-branding { justify-self: center; }
/*
 * The asset was trimmed to its content box (332×255), so this height is the
 * mark itself rather than a canvas that was 36% empty vertically — the same
 * number now draws a much larger logo. Clears the header by 16px.
 */
.site-branding img { max-height: 72px; width: auto; }

.nav-toggle {
	justify-self: end;
	display: grid;
	gap: 5px;
	width: 34px;
	padding: 6px 0;
	background: none;
	border: 0;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--c-white);
	transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* slide-down panel (replaces the Elementor popup) */
.nav-panel {
	position: fixed;
	inset: 0;
	z-index: 20;
	display: grid;
	place-items: center;
	/* Solid, not .96 — the hero title read straight through the old panel. */
	background: var(--c-white);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s, visibility .25s;
}
.nav-panel[data-open="true"] { opacity: 1; visibility: visible; }

/*
 * Two hairlines rather than a × glyph, on the burger's own centre line and
 * gutter — so the control does not appear to jump when the panel opens. The
 * burger's own X animation is never seen: the panel covers the header.
 */
.nav-panel__close {
	position: absolute;
	top: calc(var(--header-h) / 2);
	right: clamp(20px, 3vw, 48px);
	transform: translateY(-50%);
	width: 34px; height: 34px;
	padding: 0;
	background: none; border: 0;
	cursor: pointer;
}
.nav-panel__close::before,
.nav-panel__close::after {
	content: "";
	position: absolute;
	left: 0; top: 50%;
	width: 100%; height: 2px;
	background: var(--c-ink);
}
.nav-panel__close::before { transform: rotate(45deg); }
.nav-panel__close::after { transform: rotate(-45deg); }

/* On the header logo's centre line, so the mark does not appear to move. */
.nav-panel__brand {
	position: absolute;
	top: calc(var(--header-h) / 2);
	left: 50%;
	transform: translate(-50%, -50%);
}
.nav-panel__brand img { max-height: 72px; width: auto; }

/* Same measure the header and footer use, so the panel shares their gutter. */
.nav-panel nav { width: min(520px, 100% - 2 * clamp(20px, 3vw, 48px)); }

.nav-panel ul { list-style: none; margin: 0; padding: 0; display: grid; }

/* Hairline-separated rows, matching the footer's dividers. */
.nav-panel li { border-bottom: 1px solid var(--c-rule); }
.nav-panel li:first-child { border-top: 1px solid var(--c-rule); }

.nav-panel a {
	display: block;
	padding: 24px 8px;
	text-align: center;
	font-family: var(--f-head);
	font-size: clamp(1.125rem, 2.2vw, var(--t-md));
	font-weight: 300;
	text-transform: uppercase;
	/* .18em — the tracking the header call link and the footer headings use. */
	letter-spacing: .18em;
	text-indent: .18em;
	color: var(--c-ink);
	text-decoration: none;
	transition: background .2s, color .2s;
}
.nav-panel a:hover,
.nav-panel a:focus-visible { background: var(--c-band); }
.nav-panel .current-menu-item > a { color: var(--c-current); }

/* ---------- hero ---------- */

.hero {
	position: relative;
	/*
	 * Height is a variable so the lower-third offset can be derived from it —
	 * a fixed padding would sit the title correctly on the tall hero and far
	 * too high on the short one.
	 */
	--hero-h: 720px;
	min-height: var(--hero-h);
	display: grid;
	align-items: end;
	/* Pack rows to the bottom. Matters only where the EU banner joins the flow
	   (mobile) — otherwise the hero has a single row and this is inert. */
	align-content: end;
	padding-bottom: calc(var(--hero-h) * .30);
	background-size: cover;
	background-position: center;
	color: var(--c-white);
	text-align: center;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-scrim);
}
.hero > * { position: relative; }

.hero__title {
	font-family: var(--f-head);
	font-size: clamp(1.5rem, 3.2vw, 2.5rem);
	font-weight: 200;
	line-height: var(--lh-tight);
	letter-spacing: .2em;
	/* Tracking adds a trailing space; pull it back so the text stays centred. */
	text-indent: .2em;
	margin: 0;
	/*
	 * Long titles — "Le soleil, La Mer, beachfront Villa No 1" — used to run
	 * the full width and break wherever they landed. Capped and balanced, a
	 * two-line title reads as a deliberate stack rather than an overflow.
	 *
	 * 32ch, measured against the uncapped baseline. Tighter caps start folding
	 * the home title too — 28ch broke "Experience La Mer Syros" onto a second
	 * line, which the approved home design does not do. `ch` under-counts here
	 * because the .2em tracking widens every glyph past the font's advance.
	 */
	max-width: 32ch;
	margin-inline: auto;
	text-wrap: balance;
}

/*
 * A hairline drops out of the hero into the section below, tying the two
 * together. Home only — every other hero is followed by a gallery or a card
 * grid that the line would collide with.
 */
.home .hero::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -64px;
	width: 1px;
	height: 64px;
	background: var(--c-rule);
	z-index: 2;
}

.home .hero + .section { padding-top: 100px; }

/* The home and index heroes are uppercased; the villa heroes keep their
   authored casing ("Le soleil, La Mer, beachfront Villa No 1"). */
.hero__title--upper { text-transform: uppercase; }

.hero--tall { --hero-h: 720px; }
.hero--short { --hero-h: 460px; }

/* Some pages centre the title instead of dropping it to the lower third. */
.hero--center {
	align-items: center;
	align-content: center;
	padding-bottom: 0;
}

.hero__banner {
	position: absolute;
	right: var(--gutter);
	bottom: 24px;
	width: min(340px, 45vw);
}
.hero__banner img { width: 100%; }

/* ---------- split blocks (image one side, text card the other) ---------- */

/*
 * Both halves share grid row 1 of a 12-column track and their column spans
 * deliberately overlap: the image bleeds to the page edge and the card sits on
 * top of its inner edge. Reversing the block swaps the spans, not the source
 * order — so the markup stays image-then-text and reading order is unchanged.
 */
.split {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	align-items: center;
}

/*
 * Grid items default to min-width:auto, so they refuse to shrink below their
 * min-content — one long uppercase heading ("ACCOMMODATION") was setting a
 * 358px floor and pushing the whole page sideways at 320px. min-width:0 lets
 * the track shrink; the break rule below stops the word overflowing its card.
 */
.split__media,
.split__body,
.reach__map,
.reach__card { min-width: 0; }

.split__body h2,
.villa-tile__title,
.hero__title,
.section-title { overflow-wrap: break-word; }

.split__media {
	position: relative;
	grid-row: 1;
	grid-column: 1 / 8;
	min-height: 520px;
	background-size: cover;
	background-position: center;
}

.split__body {
	grid-row: 1;
	grid-column: 7 / 12;
	z-index: 2;
	background: var(--c-white);
	box-shadow: var(--shadow-card);
	padding: 48px 52px;
	max-width: none;
}

.split--reverse .split__media { grid-column: 6 / 13; }
/* Reversed card runs to the page edge, matching the mockup's off-container copy. */
.split--reverse .split__body { grid-column: 1 / 7; }

.split__body h2 {
	font-size: var(--t-lg);
	font-weight: 300;
	letter-spacing: .1em;
	margin-bottom: 1em;
}

/*
 * Left, not justified. Without hyphenation the browser can only stretch the
 * word spaces, and at this measure that opened rivers down every column.
 * (Was `justify` site-wide — home splits included.)
 */
.split__body p { text-align: left; font-size: var(--t-sm); }

/*
 * DROPPED 2026-08-06, matching the posts. The Elementor build capitalised
 * every word of villa body copy — "6 Bedrooms, 5 Bathrooms With Showers".
 * Change `none` back to `capitalize` to restore it.
 */
.page-template-template-villa .split__body p { text-transform: none; }

/* ---------- villa jump nav ---------- */

/*
 * Sticks once the hero has scrolled past. The site header is absolutely
 * positioned rather than fixed, so it is gone by then and the two never meet.
 */
.villa-jump {
	position: sticky;
	top: 0;
	z-index: 9;
	background: var(--c-white);
	border-bottom: 1px solid var(--c-rule);
}
.villa-jump ul {
	list-style: none;
	margin: 0 auto;
	padding: 0 clamp(20px, 3vw, 48px);
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(20px, 3.5vw, 52px);
}
.villa-jump a {
	display: block;
	padding: 18px 2px;
	font-family: var(--f-head);
	font-size: var(--t-xs);
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--c-muted);
	border-bottom: 2px solid transparent;
	transition: color .2s, border-color .2s;
}
.villa-jump a:hover,
.villa-jump a:focus-visible { color: var(--c-ink); border-bottom-color: var(--c-ink); }

/* Clear the sticky bar when a link jumps to its section. */
.page-template-template-villa :target { scroll-margin-top: 62px; }

.admin-bar .villa-jump { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .villa-jump { top: 46px; }
}

/* ---------- villa call to action ---------- */

.villa-cta { background: var(--c-band); text-align: center; }
.villa-cta .section-title { margin-bottom: 32px; }

/* ---------- buttons ---------- */

.btn {
	display: inline-block;
	font-family: var(--f-body);
	font-size: var(--t-sm);
	font-weight: 400;
	letter-spacing: .06em;
	padding: 14px 34px;
	background: var(--c-ink-deep);
	color: var(--c-white);
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: background .2s;
}
.btn:hover, .btn:focus { background: #000; }

/* ---------- villa tiles (home grid + villas index) ---------- */

.villa-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.villa-tile {
	position: relative;
	display: grid;
	place-items: end start;
	min-height: 350px;
	padding: 32px 38px;
	background-size: cover;
	background-position: center;
	color: var(--c-white);
	text-decoration: none;
	text-align: left;
}
.villa-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-scrim);
	transition: background .25s;
}
.villa-tile:hover::before { background: rgba(0, 0, 0, .38); }

.villa-tile__title {
	position: relative;
	font-size: var(--t-md);
	font-weight: 300;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 0;
}

/* ---------- villas index cards ---------- */

/*
 * Cards run wider than the 1140px container and are inset from the page edges
 * rather than boxed, matching the mockup.
 */
.villa-index {
	display: grid;
	gap: 54px;
	padding-inline: clamp(20px, 4.8vw, 70px);
}

.villa-card {
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow-card);
}

.villa-card__banner {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 500px;
	background-size: cover;
	background-position: center;
	color: var(--c-white);
	text-decoration: none;
	text-align: center;
	padding: var(--gutter);
}
.villa-card__banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-scrim);
	transition: background .35s;
}
.villa-card__banner h2 {
	position: relative;
	font-size: var(--t-xl);
	font-weight: 300;
	letter-spacing: .12em;
	margin: 0;
	transition: opacity .3s;
}

/* The reveal panel. Sits over the right of the image. */
.villa-card__body {
	position: absolute;
	inset: 0 0 0 auto;
	width: min(38%, 460px);
	background: rgba(255, 255, 255, .88);
	padding: 40px 44px;
	display: grid;
	align-content: center;
	gap: 4px;
}
.villa-card__body h3 {
	font-size: var(--t-lg);
	font-weight: 300;
	letter-spacing: .08em;
	margin: 0 0 .7em;
}
.villa-card__lead {
	font-size: var(--t-sm);
	margin: 0 0 2em;
}

.villa-card__facts {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 0 0 2em;
	padding: 0;
}
.villa-card__fact {
	display: grid;
	justify-items: center;
	gap: 10px;
	text-align: center;
	font-size: var(--t-xs);
}
.villa-card__fact .amenity__icon,
.villa-card__fact img {
	width: 30px;
	height: 30px;
	flex: none;
}
.villa-card__fact .amenity__icon svg { width: 100%; height: 100%; }

.villa-card__body .btn { justify-self: start; }

/*
 * Hover behaviour is gated on the device actually having a hover pointer.
 * On touch there is no hover, so the panel is shown permanently instead —
 * otherwise this content would be unreachable on a phone.
 */
@media (hover: hover) {
	.villa-card__body {
		opacity: 0;
		transform: translateX(12px);
		transition: opacity .35s, transform .35s;
		pointer-events: none;
	}
	.villa-card:hover .villa-card__body,
	.villa-card:focus-within .villa-card__body {
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}
	/* Image lightens and the centred title steps aside for the panel. */
	.villa-card:hover .villa-card__banner::before,
	.villa-card:focus-within .villa-card__banner::before { background: rgba(255, 255, 255, .34); }

	.villa-card:hover .villa-card__banner h2,
	.villa-card:focus-within .villa-card__banner h2 { opacity: 0; }
}

/* ---------- amenities ---------- */

.amenities {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 24px;
	margin: 0 0 1.8em;
	padding: 0;
	list-style: none;
}

.amenity {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: var(--t-sm);
}

.amenity__icon {
	display: inline-flex;
	flex: 0 0 28px;
	width: 28px; height: 28px;
}
.amenity__icon svg { width: 100%; height: 100%; }
.amenity img { width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain; }

/* stat row on villa pages: icon + label + big number */
.stats { display: grid; gap: 0; }
.stat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--c-rule);
}
.stat:last-child { border-bottom: 0; }
.stat__label { display: flex; align-items: center; gap: 12px; font-size: var(--t-sm); }
.stat__label img { width: 28px; height: 28px; }
.stat__label .amenity__icon { display: inline-flex; width: 28px; height: 28px; flex: 0 0 28px; }
.stat__label .amenity__icon svg { width: 100%; height: 100%; }
.stat__value {
	font-family: var(--f-head);
	font-size: var(--t-lg);
	font-weight: 300;
}

/* ---------- gallery ---------- */

.gallery { --slide-h: 600px; }

.gallery__stage {
	position: relative;
	height: var(--slide-h);
	background: #f4f4f4;
	overflow: hidden;
}
.gallery__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .35s ease;
	display: grid;
	place-items: center;
}
.gallery__slide[data-active="true"] { opacity: 1; }

/* <picture> is inline by default, so it must be made a block for the
   height/object-fit on the inner <img> to have anything to resolve against. */
.gallery__slide picture,
.gallery__thumb picture {
	display: block;
	width: 100%;
	height: 100%;
}

.gallery__slide img {
	width: 100%; height: 100%;
	object-fit: contain;
}

.gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px; height: 46px;
	display: grid; place-items: center;
	background: rgba(0, 0, 0, .45);
	color: var(--c-white);
	border: 0; cursor: pointer;
	font-size: 22px; line-height: 1;
	z-index: 2;
}
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__nav:hover { background: rgba(0, 0, 0, .7); }

/* Single scrolling row showing five at a time, as the Swiper strip did. */
.gallery__thumbs {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 4 * 6px) / 5);
	gap: 6px;
	margin-top: 6px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
.gallery__thumb {
	padding: 0; border: 0; cursor: pointer;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: none;
	opacity: .55;
	transition: opacity .2s;
	scroll-snap-align: start;
}
.gallery__thumb[aria-current="true"], .gallery__thumb:hover { opacity: 1; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- reach us ---------- */

/* Same overlapping-card geometry as .split — map bleeds left, card sits on it. */
.reach {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	align-items: center;
}
.reach__map {
	grid-row: 1;
	grid-column: 1 / 8;
	/*
	 * Definite height, not min-height: the iframe's height:100% has nothing to
	 * resolve against otherwise and collapses to its 150px intrinsic default.
	 */
	height: 560px;
}
.reach__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.reach__card {
	grid-row: 1;
	grid-column: 7 / 12;
	z-index: 2;
	background: var(--c-white);
	box-shadow: var(--shadow-card);
	padding: 44px 52px;
	display: grid;
	align-content: center;
	gap: 4px;
}
.reach__card h3 {
	font-size: var(--t-md);
	font-weight: 300;
	letter-spacing: .12em;
	color: var(--c-heading);
	margin: 0 0 .2em;
}
.reach__card p { font-size: var(--t-sm); margin: 0 0 1.4em; }
.reach__card a { text-decoration: none; }
.reach__card a:hover { text-decoration: underline; }

/* ---------- contact form ---------- */

/*
 * The form sits on the same white card the splits and the Reach Us block use,
 * lifted off a soft band so the card edge reads. Before this it was a bare
 * column on white and looked nothing like the rest of the restyle.
 */
.contact-block { background: var(--c-band); }

.contact-panel {
	max-width: 860px;
	margin-inline: auto;
	background: var(--c-white);
	box-shadow: var(--shadow-card);
	padding: 56px clamp(24px, 5vw, 72px);
}
.contact-panel__title { margin-bottom: 44px; }

.contact-form__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px 32px;
}
.contact-form__row { min-width: 0; }
.contact-form__row--full { grid-column: 1 / -1; }

/* Micro-label: same uppercase tracking as the header and the section titles. */
.contact-form label {
	display: block;
	font-family: var(--f-head);
	font-size: var(--t-xs);
	font-weight: 400;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--c-muted);
	margin-bottom: 8px;
}
.contact-form .req { margin-left: .35em; }

/*
 * Underline fields rather than boxes — boxed inputs were the one heavy element
 * on a page built out of hairlines.
 */
.contact-form input,
.contact-form textarea {
	width: 100%;
	max-width: 100%;
	font-family: var(--f-body);
	font-size: var(--t-base);
	color: var(--c-ink);
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid var(--c-rule);
	background: transparent;
	border-radius: 0;
	transition: border-color .2s;
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-form input:hover,
.contact-form textarea:hover { border-bottom-color: var(--c-muted); }

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 0;
	border-bottom-color: var(--c-ink);
	box-shadow: 0 1px 0 0 var(--c-ink);   /* reads as a 2px rule without shifting layout */
}

.contact-form [aria-invalid="true"] { border-bottom-color: var(--c-error); }
.contact-form [aria-invalid="true"]:focus { box-shadow: 0 1px 0 0 var(--c-error); }

/* Chrome's number spinners fight the underline treatment. */
.contact-form input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.contact-form input[type="number"]::-webkit-outer-spin-button,
.contact-form input[type="number"]::-webkit-inner-spin-button { appearance: none; margin: 0; }

/* honeypot — must stay reachable to bots but invisible to people */
.contact-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px; height: 1px;
	overflow: hidden;
}

.contact-form__foot {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 24px;
	margin-top: 36px;
}
.contact-form .btn { width: auto; }

.contact-form__privacy {
	margin: 0;
	font-size: var(--t-xs);
	line-height: 1.6;
	color: var(--c-muted);
}
.contact-form__privacy a { color: var(--c-muted); }

.form-notice {
	padding: 14px 18px;
	margin-bottom: 24px;
	font-size: var(--t-sm);
	border: 1px solid var(--c-rule);
}
.form-notice:focus { outline: 2px solid currentColor; outline-offset: 3px; }
.form-notice--ok { border-color: var(--c-ok); color: var(--c-ok); }
.form-notice--error { border-color: var(--c-error); color: var(--c-error); }

.field-error {
	display: block;
	font-size: var(--t-xs);
	color: var(--c-error);
	margin-top: 6px;
}
.field-error[hidden] { display: none; }

/* ---------- map consent gate ---------- */

.map-consent {
	height: 100%;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 16px;
	padding: 32px clamp(20px, 4vw, 56px);
	text-align: center;
	background: var(--c-band);
	border: 1px solid var(--c-rule);
}
.map-consent__text {
	margin: 0;
	max-width: 42ch;
	font-size: var(--t-sm);
	color: var(--c-muted);
}
.map-consent__link {
	font-size: var(--t-xs);
	letter-spacing: .06em;
	color: var(--c-muted);
}

/* ---------- post grid (Syros) ---------- */

.post-list { display: grid; gap: 40px; }

/*
 * A real card: white on the band, with the same shadow the reach, contact and
 * post-detail panels use. It was `rgba(255,255,255,.7)` on a white page — the
 * card was invisible.
 */
.post-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	background: var(--c-white);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}
.post-card__media {
	min-height: 360px;
	background-size: cover;
	background-position: center;
	display: block;
	transition: transform .5s ease;
}
.post-card:hover .post-card__media { transform: scale(1.03); }

/* Alternate sides without reordering the markup — image stays first in source. */
.post-card--reverse .post-card__media { grid-column: 2; grid-row: 1; }
.post-card--reverse .post-card__body { grid-column: 1; grid-row: 1; }

.post-card__body {
	padding: 44px 48px;
	display: grid;
	align-content: center;
	gap: 14px;
	min-width: 0;
}
.post-card__body h2 {
	font-size: var(--t-lg);
	font-weight: 300;
	letter-spacing: .12em;
	margin: 0;
}
/* Titles were browser-default underlined and read as unstyled HTML. */
.post-card__body h2 a { text-decoration: none; transition: color .2s; }
.post-card:hover .post-card__body h2 a { color: var(--c-muted); }
.post-card__body p { font-size: var(--t-sm); margin: 0; }

/*
 * A text link with a rule, not a third solid black block. Stacked down the
 * page, the filled buttons were the heaviest thing on a light layout.
 */
.post-card__more {
	justify-self: start;
	font-family: var(--f-head);
	font-size: var(--t-xs);
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--c-ink);
	padding-bottom: 6px;
	border-bottom: 1px solid var(--c-rule);
	transition: border-color .2s;
}
.post-card__more:hover,
.post-card__more:focus-visible { border-bottom-color: var(--c-ink); }

/* ---------- single post ---------- */

.entry-content { max-width: 860px; margin-inline: auto; }
/*
 * Left, not justified. With no hyphenation the browser can only stretch the
 * word spaces, and at this measure that opened visible rivers down the column.
 */
.entry-content p { text-align: left; }
.entry-content h2 { font-size: var(--t-xl); margin-top: 1.6em; }

/* Posts sit as a white sheet on the same soft band the contact form uses. */
.post-canvas {
	background: var(--c-band);
	padding-block: var(--section-y);
}

.post-card-sheet {
	max-width: none;
	background: var(--c-white);
	box-shadow: var(--shadow-card);
	padding: 60px clamp(24px, 4vw, 64px);
}

/* Centre the copy against its image — stretched, it left a void below. */
.post-card-sheet .split { align-items: center; }
.post-card-sheet .split + .split { margin-top: 64px; }

.post-card-sheet h2 {
	margin-top: 0;
	font-size: var(--t-lg);
	font-weight: 300;
	letter-spacing: .12em;
}

/*
 * Post rows sit inside a white sheet, so the overlapping card the home page
 * uses has nothing to overlap — the shadow would fall on white. Reset them to
 * a plain half-and-half split.
 */
.post-card-sheet .split__media,
.post-card-sheet .split--reverse .split__media { grid-column: 1 / 7; min-height: 420px; }

.post-card-sheet .split__body,
.post-card-sheet .split--reverse .split__body {
	grid-column: 7 / 13;
	background: none;
	box-shadow: none;
	max-width: none;
	padding: 30px 40px;
}

/*
 * DROPPED 2026-08-06. The Elementor build set text-transform: capitalize on
 * post body copy, so every word rendered capitalised — "Ermoupoli, The Capital
 * Of Syros And The Cyclades". It reads as a styling accident and hurts
 * readability. Delete the `none` below to put it back.
 */
.post-card-sheet .split__body p { text-transform: none; }

/* ---------- post navigation ---------- */

.post-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--c-rule);
}
/*
 * At either end of the run a post has one neighbour. Keeping the three-column
 * track then left an empty third and the row read as lopsided; a centred pair
 * looks deliberate.
 */
.post-nav--single {
	grid-template-columns: auto auto;
	justify-content: center;
	gap: 56px;
}
.post-nav--single .post-nav__side--end { text-align: left; }

.post-nav__side { min-width: 0; }
.post-nav__side--end { text-align: right; }

.post-nav a { text-decoration: none; display: inline-block; }

.post-nav__label {
	display: block;
	font-family: var(--f-head);
	font-size: var(--t-xs);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--c-muted);
	margin-bottom: 6px;
}
.post-nav__title {
	display: block;
	font-size: var(--t-sm);
	color: var(--c-ink);
	transition: color .2s;
}
.post-nav a:hover .post-nav__title,
.post-nav a:focus-visible .post-nav__title { color: var(--c-muted); }

.post-nav__all {
	font-family: var(--f-head);
	font-size: var(--t-xs);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--c-muted);
	border-bottom: 1px solid transparent;
	transition: color .2s, border-color .2s;
}
.post-nav__all:hover,
.post-nav__all:focus-visible { color: var(--c-ink); border-bottom-color: currentColor; }

/* ---------- footer ---------- */

.site-footer { font-size: var(--t-sm); }

/*
 * The rule sits on the inner container, not the footer, so it is contained to
 * the 1140px measure rather than bleeding the full width — every other divider
 * on the site is a contained hairline.
 */
/*
 * Full-bleed, not boxed to the 1140px container — same measure as the header,
 * so the logo, the links and the burger above them all sit on the same edge.
 */
.site-footer__inner,
.site-footer__foot {
	border-top: 1px solid var(--c-rule);
	max-width: none;
	padding-inline: clamp(20px, 3vw, 48px);
}

.site-footer__inner {
	margin-top: var(--section-y);
	padding-top: 56px;
	display: grid;
	/*
	 * Weighted thirds rather than auto/1fr/auto. The latter pinned the links
	 * to the container edge and left ~500px of void in the middle.
	 */
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .8fr);
	gap: 48px clamp(40px, 5vw, 80px);
	align-items: start;
}

.site-footer__brand img { max-width: 150px; }

/* Micro-label — same treatment as the form labels and the header call link. */
.site-footer__heading {
	font-family: var(--f-head);
	font-size: var(--t-xs);
	font-weight: 400;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--c-muted);
	margin: 0 0 20px;
}

.site-footer__contact p {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 16px;
	line-height: 1.5;
}
.site-footer__contact p:last-child { margin-bottom: 0; }

.site-footer__note {
	display: block;
	font-size: var(--t-xs);
	color: var(--c-muted);
}

.site-footer a { text-decoration: none; }
.site-footer__contact a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-footer__contact a:hover,
.site-footer__contact a:focus-visible { border-bottom-color: currentColor; }

.ui-icon {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	/* Nudge down so the glyph optically centres on the first line of text. */
	margin-top: .32em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
	color: var(--c-muted);
}

/* Stacked, not a horizontal row — it is a column with a heading over it. */
.site-footer__links ul {
	list-style: none;
	display: grid;
	gap: 12px;
	margin: 0; padding: 0;
	white-space: nowrap;
}
.site-footer__links a { color: var(--c-muted); transition: color .2s; }
.site-footer__links a:hover,
.site-footer__links a:focus-visible { color: var(--c-ink); }
.site-footer__links .current-menu-item > a { color: var(--c-current); }

.site-footer__foot { margin-top: 56px; }

.site-footer__colophon {
	margin: 0;
	padding-block: 22px;
	text-align: center;
	font-size: var(--t-xs);
	letter-spacing: .04em;
	color: var(--c-muted);
}
/*
 * The agency credit used to be --c-current green: the brightest thing in an
 * otherwise neutral footer, and that token means "current menu item" nowhere
 * else. Underline on hover instead.
 */
.site-footer__colophon a { color: var(--c-ink); }
.site-footer__colophon a:hover,
.site-footer__colophon a:focus-visible { text-decoration: underline; }

/* ---------- 404 / archive ---------- */

.page-hero {
	padding-block: 140px 60px;
	text-align: center;
}
.page-hero h1 { font-size: var(--t-2xl); }

/* =========================================================================
   Responsive — breakpoints match the original build (1024 / 767)
   ========================================================================= */

@media (max-width: 1024px) {
	:root { --section-y: 60px; --t-2xl: 2.5rem; --t-3xl: 3rem; }

	/*
	 * Overlap survives, but the card needs a much wider span here or the
	 * measure drops to ~30 characters and the justified copy tears. A margin on
	 * the outer edge keeps it off the viewport rather than bleeding past it.
	 */
	.split__body { grid-column: 5 / 13; padding: 34px 36px; margin-right: 20px; }
	.split--reverse .split__body { grid-column: 1 / 9; margin-right: 0; margin-left: 20px; }
	.split__media { min-height: 440px; }

	.reach__map { grid-column: 1 / 8; height: 460px; }
	.reach__card { grid-column: 5 / 13; padding: 34px 36px; margin-right: 20px; }

	/* Full villa titles wrap to three lines in a half-width tile. */
	.villa-tile { min-height: 320px; padding: 26px 28px; }
	.villa-tile__title { font-size: var(--t-base); letter-spacing: .08em; }

	/*
	 * Post rows stack here rather than at 767. Half a tablet is a ~30-character
	 * measure for 130 words of body copy, and the image ends up floating in a
	 * column twice its height.
	 */
	.post-card-sheet .split__media,
	.post-card-sheet .split--reverse .split__media {
		grid-column: 1 / -1; grid-row: 1; min-height: 340px;
	}
	.post-card-sheet .split__body,
	.post-card-sheet .split--reverse .split__body {
		grid-column: 1 / -1; grid-row: 2;
		padding: 28px 0 0;
		max-width: 68ch;
		margin-inline: auto;
	}

	.villa-card__banner { min-height: 420px; }
	.villa-card__body { width: min(52%, 420px); padding: 30px 32px; }
	.villa-card__lead { margin-bottom: 1.4em; }
	.villa-card__facts { gap: 8px; margin-bottom: 1.4em; }
	.gallery__thumbs { grid-auto-columns: calc((100% - 3 * 6px) / 4); }
	/* Logo takes its own row so the two content columns keep a usable measure. */
	.site-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
	:root { --section-y: 48px; --t-xl: 1.5rem; --t-2xl: 1.875rem; --header-h: 84px; }

	/* Set the custom property, not min-height — the lower-third padding is
	   derived from it, so overriding min-height alone leaves the offset sized
	   for the desktop hero and shunts the title into the header. */
	/* Header drops to 72px here, so the mark scales with it. */
	.site-branding img,
	.nav-panel__brand img { max-height: 56px; }

	.hero, .hero--tall { --hero-h: 480px; }
	.hero--short { --hero-h: 320px; }
	/* Shallower offset: the hero is short and, on the home page, the banner
	   already occupies the bottom of it. */
	.hero { padding-bottom: calc(var(--hero-h) * .18); }
	.hero__banner { position: static; width: 100%; margin: 24px auto 0; }

	/*
	 * Stacked, but the card still rides up over the bottom of its image so the
	 * overlap motif survives on a phone.
	 */
	.split__media,
	.split--reverse .split__media { grid-column: 1 / -1; grid-row: 1; min-height: 280px; }

	.split__body,
	.split--reverse .split__body {
		grid-column: 1 / -1;
		grid-row: 2;
		margin: -48px 16px 0;
		padding: 30px 26px;
	}

	.post-card-sheet .split__media,
	.post-card-sheet .split--reverse .split__media { grid-column: 1 / -1; min-height: 260px; }
	.post-card-sheet .split__body,
	.post-card-sheet .split--reverse .split__body { grid-column: 1 / -1; margin: 0; padding: 24px 20px; }

	.reach__map { grid-column: 1 / -1; grid-row: 1; height: 340px; }
	.reach__card { grid-column: 1 / -1; grid-row: 2; margin: -48px 16px 0; padding: 30px 26px; }

	.home .hero::after { bottom: -40px; height: 40px; }
	.home .hero + .section { padding-top: 68px; }

	.villa-grid { grid-template-columns: 1fr; }
	.villa-tile { min-height: 280px; padding: 26px 24px; }

	/*
	 * No room to overlay a readable panel on a phone, and no hover to trigger
	 * it — so the card stacks: image on top, details below, always visible.
	 */
	.villa-index { gap: 36px; }
	.villa-card { overflow: visible; }
	.villa-card__banner { min-height: 260px; }
	.villa-card__body {
		position: static;
		width: auto;
		background: var(--c-white);
		padding: 26px 24px;
		/*
		 * Undo the hover gate explicitly. A desktop browser resized to phone
		 * width still reports (hover: hover), so without this the panel keeps
		 * opacity:0 while occupying static space — a blank white box.
		 */
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}
	.villa-card__facts { margin-bottom: 1.6em; }

	/* Title stays on the image; it is no longer replaced by the panel here. */
	.villa-card:hover .villa-card__banner h2,
	.villa-card:focus-within .villa-card__banner h2 { opacity: 1; }
	.villa-card:hover .villa-card__banner::before,
	.villa-card:focus-within .villa-card__banner::before { background: var(--c-scrim); }
	.villa-card__banner { min-height: 300px; }
	.villa-card__body { padding: 24px 20px; }

	/* Image always on top when stacked — a reversed row would put it below. */
	.post-card,
	.post-card--reverse { grid-template-columns: 1fr; }
	.post-card--reverse .post-card__media { grid-column: 1; grid-row: 1; }
	.post-card--reverse .post-card__body { grid-column: 1; grid-row: 2; }
	.post-card__media { min-height: 220px; }
	.post-card__body { padding: 28px 24px; }
	.post-list { gap: 28px; }

	.post-canvas { padding-block: 32px; }
	.post-card-sheet { padding: 32px 20px; }
	.post-card-sheet .split + .split { margin-top: 40px; }

	/* Stacked, and the middle link moves under the two arrows. */
	.post-nav { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
	.post-nav__all { grid-row: 2; grid-column: 1 / -1; text-align: center; justify-self: center; }

	/* One neighbour: a single column reads better than a half-empty row. */
	.post-nav--single { grid-template-columns: 1fr; gap: 22px; justify-content: stretch; }
	.post-nav--single .post-nav__side,
	.post-nav--single .post-nav__side--end { text-align: center; }
	.post-nav--single .post-nav__all { grid-row: auto; }

	.gallery { --slide-h: 320px; }
	.gallery__thumbs { grid-auto-columns: calc((100% - 2 * 6px) / 3); }
	.amenities { grid-template-columns: 1fr; }

	.site-footer__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
	.site-footer__foot { margin-top: 40px; }

	.split__body p, .villa-card__lead, .entry-content p { text-align: left; }

	/* One field per row, and the card loses its inset so it reads full-bleed. */
	.contact-panel { padding: 40px 24px; }
	.contact-panel__title { margin-bottom: 32px; }
	.contact-form__grid { grid-template-columns: 1fr; gap: 22px; }
	.contact-form__foot { grid-template-columns: 1fr; gap: 18px; }
}

/* The submit button overflowed by 6px at 320px in the Elementor build. */
@media (max-width: 360px) {
	.contact-form .btn { width: 100%; }
}

/* Smooth jumps for the villa section nav, off where motion is unwelcome. */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}
