/**
 * Velora — one stylesheet, tokens first.
 *
 * Type: Plus Jakarta Sans carries the whole site. It was drawn by Tokotype for
 * Jakarta's city identity, which makes it the rare case where the "local" choice
 * is also the better one. The page is sans-led rather than serif-display-led on
 * purpose — the catalogue photos top out around 690px, so type and colour have to
 * do the work a big hero image normally would, and a display serif would have
 * competed with them. Newsreader Italic appears exactly once, on the story pull
 * quote, where the change of voice is the point.
 *
 * Colour: the branded ground is a bright violet, and the accent stays turmeric —
 * an actual Indonesian pigment, and the pairing the whole palette turns on, since
 * gold against violet is a far older combination than either is against jade.
 * Paper is not neutral grey but carries a faint violet bias, so the light pages
 * and the branded blocks read as one family rather than as two designs meeting.
 *
 * Every value below was measured, not eyeballed. Violet is the awkward ground for
 * a gold accent: lighten turmeric to sit on jade and it still separates, lighten
 * it on violet and the two collapse to about 2.6:1 because they are near-neighbours
 * in luminance. That is why `--accent-on-surface` exists as its own token — a
 * saturated bright gold rather than turmeric thinned with white, which is what
 * keeps the hero eyebrow legible at small sizes instead of merely visible.
 */

/* ============================================================== tokens ==== */

:root {
	--paper:      #F5F4F8;
	--paper-2:    #ECEAF2;
	--ink:        #141019;
	--ink-2:      #4A4356;
	--ink-3:      #6A6375;
	--rule:       #DEDAE6;
	--surface:    #6D28D9;
	--surface-2:  #5B21B6;
	--on-surface: #F6F2FF;
	/* Deeper than the old #A96F10, which measured 3.86:1 as text on paper and
	   4.23:1 under white — neither of which the eyebrows and solid buttons using
	   it ever actually passed. This clears 4.5:1 both ways, still turmeric. */
	--accent:     #96620F;
	--accent-ink: #FFFFFF;
	/* Gold for use *on* the violet ground. Not the accent thinned with white —
	   see the note at the top of this file. Its label colour stays dark in both
	   themes, because bright gold is bright in both. */
	--accent-on-surface: #FFCE5C;
	--accent-on-surface-ink: #241703;
	--focus:      #6D28D9;

	--maxw: 1240px;
	--gut: clamp(1.15rem, 4vw, 3rem);

	--step--1: clamp(.8rem, .77rem + .12vw, .86rem);
	--step-0:  clamp(.95rem, .91rem + .2vw, 1.05rem);
	--step-1:  clamp(1.1rem, 1.02rem + .38vw, 1.32rem);
	--step-2:  clamp(1.35rem, 1.18rem + .82vw, 1.9rem);
	--step-3:  clamp(1.7rem, 1.32rem + 1.85vw, 2.9rem);
	--step-4:  clamp(2.2rem, 1.4rem + 3.9vw, 4.6rem);
	--step-5:  clamp(2.6rem, 1.2rem + 6.8vw, 6.4rem);

	--radius: 3px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper:      #100D14;
		--paper-2:    #191520;
		--ink:        #EEEBF2;
		--ink-2:      #ADA6B8;
		--ink-3:      #8A8394;
		--rule:       #272231;
		--surface:    #5B21B6;
		--surface-2:  #45178C;
		--on-surface: #EFE9FB;
		--accent:     #E0A845;
		--accent-ink: #16130F;
		--accent-on-surface: #F5C563;
		--focus:      #E0A845;
	}
}

:root[data-theme="dark"] {
	--paper:      #100D14;
	--paper-2:    #191520;
	--ink:        #EEEBF2;
	--ink-2:      #ADA6B8;
	--ink-3:      #8A8394;
	--rule:       #272231;
	--surface:    #5B21B6;
	--surface-2:  #45178C;
	--on-surface: #EFE9FB;
	--accent:     #E0A845;
	--accent-ink: #16130F;
	--accent-on-surface: #F5C563;
	--focus:      #E0A845;
}

:root[data-theme="light"] {
	--paper:      #F5F4F8;
	--paper-2:    #ECEAF2;
	--ink:        #141019;
	--ink-2:      #4A4356;
	--ink-3:      #6A6375;
	--rule:       #DEDAE6;
	--surface:    #6D28D9;
	--surface-2:  #5B21B6;
	--on-surface: #F6F2FF;
	--accent:     #96620F;
	--accent-ink: #FFFFFF;
	--accent-on-surface: #FFCE5C;
	--focus:      #6D28D9;
}

/*
 * Inside a violet block, `--accent` is redefined rather than every rule that
 * mentions it being rewritten. Turmeric was chosen to sit on paper; on violet it
 * falls to roughly 2.6:1 and stops being a colour you can read. Rescoping the
 * token means the thirty-odd rules that already say `var(--accent)` — marquee
 * dots, contact icons, social hovers, solid buttons, the hero glow — keep
 * working and simply pick up the gold that survives there.
 *
 * These four are exactly the containers painted with `--surface` or
 * `--surface-2`. Add a fifth violet block and it belongs on this list.
 */
.hero,
.mobile-nav,
.final,
.site-footer {
	--accent:     var(--accent-on-surface);
	--accent-ink: var(--accent-on-surface-ink);
}

/* ================================================================ fonts === */

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2-variations");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader-italic-var.woff2") format("woff2-variations");
	font-weight: 300 500;
	font-style: italic;
	font-display: swap;
}

/* ================================================================ base ==== */

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

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
	font-size: var(--step-0);
	line-height: 1.62;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	margin: 0;
	font-weight: 620;
	line-height: 1.06;
	letter-spacing: -.033em;
	text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -.02em; }

p { margin: 0; max-width: 68ch; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 200;
	background: var(--accent); color: var(--accent-ink);
	padding: .7rem 1.1rem; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ============================================================== layout === */

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

.block { padding-block: clamp(3.5rem, 8vw, 7rem); }
.block--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.stack { display: flex; flex-direction: column; }
.stack-xs { gap: .5rem; }
.stack-sm { gap: .9rem; }
.stack-md { gap: 1.6rem; }
.stack-lg { gap: clamp(2rem, 4vw, 3.4rem); }

.eyebrow {
	font-size: var(--step--1);
	font-weight: 680;
	letter-spacing: .17em;
	text-transform: uppercase;
	color: var(--accent);
}

.lede { font-size: var(--step-1); color: var(--ink-2); line-height: 1.5; font-weight: 350; }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

.sec-head { display: flex; flex-direction: column; gap: .7rem; max-width: 46ch; }
.sec-head h2 .accent { color: var(--accent); }

/* ============================================================== buttons == */

.btn {
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .82rem 1.5rem;
	border: 1px solid transparent;
	border-radius: 100px;
	font-size: var(--step--1);
	font-weight: 640;
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: color-mix(in oklab, var(--accent) 86%, var(--ink)); }

.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: color-mix(in oklab, currentColor 10%, transparent); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--surface); }

.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: .55rem 1.05rem; }

/* =============================================================== header == */

.site-header {
	position: sticky; top: 0; z-index: 90;
	background: color-mix(in oklab, var(--paper) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--rule);
}

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

.brand {
	display: inline-flex; align-items: baseline; gap: .42rem;
	text-decoration: none; font-weight: 750;
	font-size: var(--step-1); letter-spacing: -.038em; white-space: nowrap;
}
.brand em { font-style: normal; font-weight: 380; color: var(--ink-2); letter-spacing: -.02em; }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.7rem); }
.nav a { font-size: var(--step--1); font-weight: 520; text-decoration: none; color: var(--ink-2); }
.nav a:hover, .nav .current-menu-item > a { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: .7rem; }

.lang-switch { display: flex; gap: 1px; background: var(--rule); border-radius: 100px; padding: 1px; }
.lang-switch a {
	display: block; padding: .32rem .68rem; border-radius: 100px;
	font-size: .72rem; font-weight: 700; letter-spacing: .07em;
	text-transform: uppercase; text-decoration: none;
	background: var(--paper); color: var(--ink-3);
}
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--paper); }

.burger {
	display: none; background: none; border: 1px solid var(--rule);
	border-radius: var(--radius); padding: .5rem .6rem; cursor: pointer;
}
.burger svg { width: 1.15rem; height: 1.15rem; }

@media (max-width: 940px) {
	.nav--desktop { display: none; }
	.burger { display: inline-flex; }
}

.mobile-nav {
	position: fixed; inset: 0; z-index: 120;
	background: var(--surface); color: var(--on-surface);
	display: flex; flex-direction: column; gap: 1.6rem;
	padding: 5rem var(--gut) 3rem;
	transform: translateY(-100%);
	transition: transform .34s var(--ease);
	overflow-y: auto;
}
.mobile-nav[data-open="true"] { transform: translateY(0); }
.mobile-nav a { font-size: var(--step-2); font-weight: 600; text-decoration: none; letter-spacing: -.02em; }
.mobile-nav .close {
	position: absolute; top: 1.1rem; right: var(--gut);
	background: none; border: 0; cursor: pointer; padding: .5rem;
	color: inherit;
}
.mobile-nav .close svg { width: 1.4rem; height: 1.4rem; }

/* ================================================================= hero == */

.hero {
	background: var(--surface);
	color: var(--on-surface);
	padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(3rem, 6vw, 5rem);
	position: relative;
	overflow: hidden;
}

/* A single soft light source, low and to one side — the only decoration on the
   page. Sized in vmax so it scales with the viewport instead of tiling. */
.hero::after {
	content: "";
	position: absolute;
	inset: auto -10% -55% auto;
	width: 80vmax; height: 80vmax;
	background: radial-gradient(circle at 60% 40%,
		color-mix(in oklab, var(--accent) 22%, transparent), transparent 62%);
	pointer-events: none;
}

.hero > .wrap { position: relative; z-index: 1; }


.hero h1 {
	font-size: var(--step-5);
	font-weight: 680;
	letter-spacing: -.045em;
	max-width: 16ch;
}
.hero h1 .accent { color: var(--accent); }

.hero .lede { color: color-mix(in oklab, var(--on-surface) 88%, transparent); max-width: 52ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero .btn--ghost { color: var(--on-surface); }

/* --- search form --------------------------------------------------------- */

.searchbar {
	background: var(--paper);
	color: var(--ink);
	border-radius: 6px;
	padding: .55rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr) auto;
	gap: .3rem;
	box-shadow: 0 18px 44px -22px rgb(0 0 0 / .45);
}

@media (max-width: 860px) { .searchbar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .searchbar { grid-template-columns: 1fr; } }

.searchbar .field {
	display: flex; flex-direction: column; gap: .12rem;
	padding: .6rem .85rem; border-radius: 4px; min-width: 0;
}
.searchbar .field:hover { background: var(--paper-2); }

.searchbar label {
	font-size: .68rem; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3);
}

.searchbar select,
.searchbar input {
	border: 0; background: none; padding: 0; margin: 0;
	font: inherit; font-size: var(--step--1); font-weight: 550;
	color: var(--ink); width: 100%; min-width: 0;
}
.searchbar select:focus-visible,
.searchbar input:focus-visible { outline-offset: 2px; }

.searchbar .submit { display: flex; align-items: stretch; }
.searchbar .submit .btn { border-radius: 4px; width: 100%; justify-content: center; }

@media (max-width: 520px) { .searchbar .submit .btn { padding-block: .9rem; } }

/* --- marquee ------------------------------------------------------------- */

.marquee {
	border-top: 1px solid color-mix(in oklab, var(--on-surface) 16%, transparent);
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: 1.15rem;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee ul {
	display: flex; gap: 2.4rem; width: max-content;
	animation: velora-marquee 34s linear infinite;
}

.marquee li {
	display: inline-flex; align-items: center; gap: .5rem;
	font-size: var(--step--1); font-weight: 520;
	color: color-mix(in oklab, var(--on-surface) 84%, transparent);
	white-space: nowrap;
}
.marquee li::before {
	content: ""; width: 4px; height: 4px; border-radius: 50%;
	background: var(--accent); flex: none;
}

@keyframes velora-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
	.marquee ul { animation: none; flex-wrap: wrap; width: auto; }
}

/* =============================================================== stats === */

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	border-top: 1px solid var(--rule);
}
.stat {
	padding: 1.6rem 0 0;
	display: flex; flex-direction: column; gap: .15rem;
}
.stat b {
	font-size: var(--step-3); font-weight: 660; letter-spacing: -.04em;
	font-variant-numeric: tabular-nums; line-height: 1;
}
.stat span { font-size: var(--step--1); color: var(--ink-3); }

/* =============================================================== cards === */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
	gap: clamp(1.1rem, 2.2vw, 1.9rem);
}

/*
 * .card is an <article>, not the link itself — it holds two real links:
 * .card-title-link (the visible, correctly-named one a keyboard/screen-reader
 * user tabs to) and .card-hit, an invisible stretched-link overlay so a mouse
 * click anywhere on the card still opens the property. .quick-reserve sits
 * above .card-hit in z-index so it stays independently clickable. See the
 * comment in hotel-card.php for the full reasoning.
 */
.card {
	position: relative;
	display: flex; flex-direction: column;
	border: 1px solid var(--rule);
	border-radius: 6px;
	overflow: hidden;
	background: var(--paper);
	transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: color-mix(in oklab, var(--ink) 30%, var(--rule)); transform: translateY(-2px); }

.card-hit { position: absolute; inset: 0; z-index: 1; }

.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { text-decoration: underline; }

.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.badge {
	position: absolute; top: .7rem; left: .7rem;
	background: var(--paper); color: var(--ink);
	font-size: .68rem; font-weight: 680; letter-spacing: .06em; text-transform: uppercase;
	padding: .28rem .6rem; border-radius: 100px;
}

.rating {
	position: absolute; top: .7rem; right: .7rem;
	background: color-mix(in oklab, var(--surface) 88%, transparent);
	color: var(--on-surface);
	display: inline-flex; align-items: center; gap: .28rem;
	font-size: .7rem; font-weight: 650; font-variant-numeric: tabular-nums;
	padding: .28rem .55rem; border-radius: 100px;
}
.rating svg { width: .78em; height: .78em; color: var(--accent); }

.card-body { padding: 1.05rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-sub { font-size: var(--step--1); color: var(--ink-3); letter-spacing: .01em; }
.card-body h3 { font-size: var(--step-1); }
.card-desc { font-size: var(--step--1); color: var(--ink-2); line-height: 1.55; }

.card-foot {
	margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--rule);
	display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}

.price { display: flex; flex-direction: column; gap: .05rem; }
.price .from { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.price .amt { font-size: var(--step-1); font-weight: 660; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price .per { font-size: var(--step--1); color: var(--ink-3); }

.quick-reserve {
	position: relative; z-index: 2; /* above .card-hit, so it stays independently clickable */
	display: inline-flex; align-items: center; gap: .4rem; flex: none;
	padding: .5rem .85rem;
	border-radius: 100px;
	background: var(--accent); color: var(--accent-ink);
	font-size: var(--step--1); font-weight: 640; white-space: nowrap;
	text-decoration: none;
	transition: background-color .2s var(--ease);
}
.quick-reserve svg { width: .85em; height: .85em; }
.quick-reserve:hover { background: color-mix(in oklab, var(--accent) 86%, var(--ink)); }

/* =============================================================== why ===== */

.why {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
	gap: 0;
	border-top: 1px solid var(--rule);
}
.why-item {
	padding: 1.7rem clamp(1rem, 2vw, 1.8rem) 1.7rem 0;
	border-right: 1px solid var(--rule);
	display: flex; flex-direction: column; gap: .55rem;
}
.why-item:last-child { border-right: 0; }
.why-item svg { width: 1.35rem; height: 1.35rem; color: var(--accent); }
.why-item h3 { font-size: var(--step-1); }
.why-item p { font-size: var(--step--1); color: var(--ink-2); line-height: 1.55; }

@media (max-width: 720px) {
	.why-item { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; }
	.why-item:last-child { border-bottom: 0; }
}

/* ============================================================== moods ==== */

.moods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); gap: .7rem; }

.mood {
	display: flex; flex-direction: column; gap: .35rem;
	padding: 1.15rem 1.1rem;
	border: 1px solid var(--rule); border-radius: 6px;
	text-decoration: none;
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.mood:hover { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 7%, transparent); }
.mood svg { width: 1.3rem; height: 1.3rem; color: var(--accent); }
.mood b { font-size: var(--step-0); font-weight: 640; letter-spacing: -.02em; }
.mood span { font-size: var(--step--1); color: var(--ink-3); }

/* ============================================================== areas ==== */

.island-group { display: flex; flex-direction: column; gap: 1.1rem; }

.island-label {
	display: flex; align-items: center; gap: .9rem;
	font-size: var(--step--1); font-weight: 700;
	letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3);
}
.island-label::after { content: ""; height: 1px; flex: 1; background: var(--rule); }

.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.2rem; }

.area {
	display: flex; flex-direction: column; gap: .45rem;
	padding-top: 1rem; border-top: 2px solid var(--ink);
	text-decoration: none;
}
.area:hover { border-top-color: var(--accent); }
.area-head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.area h3 { font-size: var(--step-1); }
.area-count { font-size: var(--step--1); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.area p { font-size: var(--step--1); color: var(--ink-2); line-height: 1.55; }

/* ============================================================== steps ==== */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: 1.6rem; }
.step { display: flex; flex-direction: column; gap: .5rem; }
.step .no {
	font-size: var(--step--1); font-weight: 720; letter-spacing: .1em;
	color: var(--accent); font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--step-1); }
.step p { font-size: var(--step--1); color: var(--ink-2); line-height: 1.55; }

/* ============================================================== story ==== */

.story {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
	gap: clamp(1.8rem, 5vw, 4.5rem);
	align-items: center;
}
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

.story-media { border-radius: 6px; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }

.pull {
	font-family: "Newsreader", Georgia, serif;
	font-style: italic;
	font-weight: 380;
	font-size: var(--step-2);
	line-height: 1.32;
	letter-spacing: -.015em;
	color: var(--ink);
	border-left: 2px solid var(--accent);
	padding-left: 1.2rem;
	max-width: 34ch;
}

/* ================================================================ faq ==== */

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--rule); max-width: 62rem; }

.faq details { border-bottom: 1px solid var(--rule); }

.faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding: 1.15rem 0; cursor: pointer; list-style: none;
	font-size: var(--step-1); font-weight: 580; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary .sign { position: relative; width: 15px; height: 15px; flex: none; }
.faq summary .sign::before,
.faq summary .sign::after {
	content: ""; position: absolute; inset: 50% 0 auto 0;
	height: 1.5px; background: var(--ink-2);
	transition: transform .22s var(--ease);
}
.faq summary .sign::after { transform: rotate(90deg); }
.faq details[open] summary .sign::after { transform: rotate(0); }

.faq .answer { padding-bottom: 1.3rem; color: var(--ink-2); font-size: var(--step-0); }

/* ============================================================= final cta = */

.final {
	background: var(--surface); color: var(--on-surface);
	text-align: center;
	padding-block: clamp(4rem, 9vw, 7.5rem);
}
.final h2 { font-size: var(--step-4); max-width: 20ch; margin-inline: auto; }
.final h2 .accent { color: var(--accent); }
.final p { color: color-mix(in oklab, var(--on-surface) 84%, transparent); max-width: 48ch; margin-inline: auto; }

/* =============================================================== promo === */

.promo {
	border: 1px solid var(--accent);
	border-radius: 8px;
	padding: clamp(1.8rem, 4vw, 3rem);
	display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
	background: color-mix(in oklab, var(--accent) 6%, transparent);
}
.promo .code {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: var(--step-0); font-weight: 600; letter-spacing: .1em;
	padding: .5rem .9rem; border: 1px dashed var(--accent); border-radius: var(--radius);
	color: var(--accent);
}

/* ============================================================== footer === */

.site-footer {
	background: var(--surface-2); color: var(--on-surface);
	/*
	 * The bottom padding is not rhythm, it is clearance. `.wa-float` is fixed at
	 * `bottom: 1.1rem` and 52px across, so once the page is scrolled to the end it
	 * parks itself on top of whatever the footer put in its bottom-right corner.
	 * Until now that corner happened to be the gap between the two colophon items;
	 * a longer address, a translated string, or one extra element on that line was
	 * always going to land under it. 5rem clears the button and its offset outright.
	 */
	padding-block: clamp(3rem, 6vw, 4.5rem) 5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(140px, 1fr));
	gap: clamp(1.8rem, 4vw, 3.2rem);
}

.site-footer h4 {
	font-size: var(--step--1); font-weight: 700; letter-spacing: .13em;
	text-transform: uppercase; margin-bottom: .9rem;
	color: color-mix(in oklab, var(--on-surface) 80%, transparent);
}
.site-footer a { text-decoration: none; color: color-mix(in oklab, var(--on-surface) 88%, transparent); font-size: var(--step--1); }
.site-footer a:hover { color: var(--on-surface); }
.site-footer li + li { margin-top: .5rem; }
.site-footer .brand { color: var(--on-surface); }
.site-footer .brand em { color: color-mix(in oklab, var(--on-surface) 80%, transparent); }

.contact li {
	display: flex; gap: .6rem; align-items: flex-start;
	font-size: var(--step--1);
	color: color-mix(in oklab, var(--on-surface) 84%, transparent);
	line-height: 1.5;
}
.contact svg { width: .95rem; height: .95rem; flex: none; margin-top: .28rem; color: var(--accent); }

.socials { display: flex; gap: .5rem; }
.socials a {
	width: 34px; height: 34px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1px solid color-mix(in oklab, var(--on-surface) 22%, transparent);
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: .95rem; height: .95rem; }

.colophon {
	margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem;
	border-top: 1px solid color-mix(in oklab, var(--on-surface) 15%, transparent);
	display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
	font-size: var(--step--1);
	color: color-mix(in oklab, var(--on-surface) 80%, transparent);
}

/*
 * The operating company's mark, beside the line naming it.
 *
 * The source is a JPEG with the white background baked in — no alpha to key out
 * — and the footer is dark in both themes, so a bare image would read as one
 * someone forgot to cut out. The rounded white card turns that same white into a
 * deliberate plate. Hence a literal `#fff` rather than `--paper`: this surface
 * has to stay light no matter which theme is on, and a token that flips would
 * defeat the whole point.
 *
 * Square, because the mark is square. `object-fit: contain` keeps a rectangular
 * file letterboxed rather than stretched if an operator swaps in the full
 * lockup later.
 */
.operator { display: inline-flex; align-items: center; gap: .7rem; }

.operator-mark {
	width: 40px; height: 40px;
	object-fit: contain;
	border-radius: 8px;
	padding: 4px;
	background: #fff;
	flex-shrink: 0;
}

/* ============================================================ wa float === */

.wa-float {
	position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80;
	width: 52px; height: 52px; border-radius: 50%;
	display: grid; place-items: center;
	background: #25D366; color: #073;
	box-shadow: 0 10px 26px -8px rgb(0 0 0 / .45);
}
.wa-float svg { width: 1.55rem; height: 1.55rem; }

/* ============================================================== reveal === */

.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================= crumbs ==== */

/* Shared by the listing and the property page. Kept small and quiet: it is a
   position indicator, not navigation anyone is meant to read first. */

.crumbs { padding-top: clamp(1.1rem, 3vw, 1.8rem); font-size: var(--step--1); color: var(--ink-3); }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .55rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.crumbs li + li::before { content: "/"; color: var(--rule); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink-3); }

/* ============================================================ listing ==== */

.page-head { display: flex; flex-direction: column; gap: .7rem; max-width: 46ch; }
.page-head h1 { font-size: var(--step-3); }

/* --- filter bar ---------------------------------------------------------- */

/* The same control as the hero search, one shade quieter: this one sits on
   paper rather than over a photograph, so it needs an edge instead of a shadow. */

.filters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
	gap: .3rem;
	padding: .55rem;
	border: 1px solid var(--rule);
	border-radius: 6px;
	background: var(--paper);
}

.filters .field {
	display: flex; flex-direction: column; gap: .12rem;
	padding: .6rem .85rem; border-radius: 4px; min-width: 0;
}
.filters .field:hover { background: var(--paper-2); }

.filters label {
	font-size: .68rem; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3);
}

.filters select {
	border: 0; background: none; padding: 0; margin: 0;
	font: inherit; font-size: var(--step--1); font-weight: 550;
	color: var(--ink); width: 100%; min-width: 0;
}
.filters select:focus-visible { outline-offset: 2px; }

.filters .submit { display: flex; align-items: stretch; }
.filters .submit .btn { border-radius: 4px; width: 100%; justify-content: center; }

@media (max-width: 520px) { .filters .submit .btn { padding-block: .9rem; } }

.filters-note {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .9rem;
	margin-top: -1rem;
	font-size: var(--step--1); color: var(--ink-3);
}
.filters-note a { color: var(--accent); font-weight: 620; }

/* --- pagination ---------------------------------------------------------- */

.pagination {
	display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
	padding-top: .6rem; border-top: 1px solid var(--rule);
}

.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; padding: .5rem .7rem;
	border: 1px solid var(--rule); border-radius: var(--radius);
	font-size: var(--step--1); font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-decoration: none; color: var(--ink-2);
	transition: border-color .18s var(--ease), color .18s var(--ease);
}
.pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pagination .page-numbers.dots { border-color: transparent; }

/* --- empty state --------------------------------------------------------- */

.empty {
	display: flex; flex-direction: column; align-items: flex-start; gap: .9rem;
	padding: clamp(2rem, 5vw, 3.4rem);
	border: 1px dashed var(--rule); border-radius: 8px;
}
.empty > svg { width: 1.7rem; height: 1.7rem; color: var(--accent); }
.empty h2 { font-size: var(--step-2); max-width: 22ch; }
.empty p { font-size: var(--step-0); max-width: 54ch; }
.empty-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }

/* =========================================================== property ==== */

/* Two columns, and the left one is capped near 620px on purpose — that is the
   widest any photo in this catalogue can fill without being upscaled, so a wider
   reading column would only put a soft image next to crisp type. */

.property {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
	gap: clamp(1.8rem, 4vw, 3.2rem);
	align-items: start;
	max-width: 1020px;
	margin-inline: auto;
}

@media (max-width: 900px) {
	.property { grid-template-columns: 1fr; }
}

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

.gallery { display: flex; flex-direction: column; gap: .5rem; max-width: 620px; }

/* .gallery-lead and .gallery-thumb are <button> now, not <div>/<li> — they open
   the lightbox. Reset button chrome so they still look exactly like plain
   photo tiles, with only a focus ring and a cursor to hint they're active. */
.gallery-lead,
.gallery-thumb {
	display: block; width: 100%; padding: 0; margin: 0;
	border: 0; background: none; cursor: pointer;
	position: relative;
}

.gallery-lead {
	border-radius: 6px; overflow: hidden;
	background: var(--paper-2); aspect-ratio: 62 / 44;
}
.gallery-lead img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.gallery-thumb {
	border-radius: 4px; overflow: hidden;
	background: var(--paper-2); aspect-ratio: 30 / 22;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-more {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	/* The tile beneath is a photograph, so this alpha is the only thing standing
	   between the label and an unreadably pale image. 70% measured 3.47:1 over
	   white; 86% holds 4.93:1 in that worst case. */
	background: color-mix(in oklab, var(--surface-2) 86%, transparent);
	color: var(--on-surface);
	font-size: var(--step-0); font-weight: 680;
}

/* --- lightbox -------------------------------------------------------------- */

.lightbox {
	position: fixed; inset: 0; z-index: 200;
	display: flex; align-items: center; justify-content: center;
	background: color-mix(in oklab, var(--surface-2) 92%, black);
	padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }

.lightbox-frame {
	position: relative;
	max-width: 100%; max-height: 100%;
	display: flex; align-items: center; justify-content: center;
}
.lightbox-img {
	display: block;
	max-width: 100%; max-height: calc(100vh - 6rem);
	width: auto; height: auto;
	border-radius: 4px;
	/* Never upscaled past its own resolution — every source photo in this
	   catalogue tops out well under a full viewport, and stretching a 540px
	   original to fill the screen would look worse than the thumbnail did. */
	object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: fixed;
	display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid color-mix(in oklab, var(--on-surface) 25%, transparent);
	background: color-mix(in oklab, var(--surface-2) 80%, transparent);
	color: var(--on-surface);
	cursor: pointer;
}
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 1.1rem; height: 1.1rem; }

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
	position: fixed; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
	font-size: var(--step--1); font-variant-numeric: tabular-nums;
	color: color-mix(in oklab, var(--on-surface) 84%, transparent);
	background: color-mix(in oklab, var(--surface-2) 80%, transparent);
	padding: .3rem .8rem; border-radius: 100px;
}

@media (max-width: 640px) {
	.lightbox-prev, .lightbox-next { width: 38px; height: 38px; }
}

/* --- head ---------------------------------------------------------------- */

.prop-head h1 { font-size: var(--step-3); }

.prop-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.1rem;
	padding-top: .35rem;
	font-size: var(--step--1); color: var(--ink-2);
}

/* The badge is absolutely positioned over a card photo everywhere else; here it
   is one item in a row, so it has to sit back in the flow. */
.prop-meta .rating { position: static; }

.meta-item { display: inline-flex; align-items: center; gap: .4rem; min-width: 0; }
.meta-item svg { width: .95rem; height: .95rem; flex: none; color: var(--accent); }
.meta-item b { font-weight: 660; color: var(--ink); }

/* --- body and sections --------------------------------------------------- */

.prop-body { display: flex; flex-direction: column; gap: 1rem; color: var(--ink-2); }
.prop-body > :first-child { color: var(--ink); font-size: var(--step-1); line-height: 1.5; font-weight: 350; }
.prop-body a { color: var(--ink); }

/* Anything the editor can paste that does not fit gets its own scroller rather
   than pushing the page sideways. */
.prop-body table, .prop-body pre { display: block; max-width: 100%; overflow-x: auto; }

.prop-section { display: flex; flex-direction: column; gap: 1.1rem; }
.prop-section h2 {
	font-size: var(--step--1); font-weight: 700;
	letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3);
	display: flex; align-items: center; gap: .9rem;
}
.prop-section h2::after { content: ""; height: 1px; flex: 1; background: var(--rule); }

/* --- amenities and nearby ------------------------------------------------ */

.amenities, .nearby { display: grid; gap: .55rem 1.2rem; }
.amenities { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.nearby { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.amenities li, .nearby li {
	display: flex; align-items: flex-start; gap: .55rem;
	font-size: var(--step--1); color: var(--ink-2); line-height: 1.5;
}
.amenities svg, .nearby svg { width: .95rem; height: .95rem; flex: none; margin-top: .28rem; color: var(--accent); }

/* --- rooms --------------------------------------------------------------- */

.rooms { display: flex; flex-direction: column; }

.room {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr) auto;
	gap: 1.1rem;
	align-items: center;
	padding: 1.1rem 0;
	border-top: 1px solid var(--rule);
}
.room:last-child { border-bottom: 1px solid var(--rule); }

/* A room with no photo must not leave a hole where one would be. */
.room--noimage { grid-template-columns: minmax(0, 1fr) auto; }

.room-media { border-radius: 4px; overflow: hidden; background: var(--paper-2); aspect-ratio: 30 / 22; }
.room-media img { width: 100%; height: 100%; object-fit: cover; }

.room-body { display: flex; flex-direction: column; gap: .35rem; }
.room-body h3 { font-size: var(--step-1); }
.room-desc { font-size: var(--step--1); color: var(--ink-2); line-height: 1.55; }

.room-facts { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .15rem; }
.room-facts li { display: inline-flex; align-items: center; gap: .38rem; font-size: var(--step--1); color: var(--ink-3); }
.room-facts svg { width: .9rem; height: .9rem; flex: none; }

.room-buy { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; text-align: right; }
.room-buy .price { align-items: flex-end; }
.room-buy .amt--ask { font-size: var(--step-0); font-weight: 550; color: var(--ink-3); letter-spacing: 0; }

@media (max-width: 700px) {
	.room, .room--noimage { grid-template-columns: 1fr; gap: .8rem; }
	.room-media { max-width: 220px; }
	.room-buy { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; text-align: left; }
	.room-buy .price { align-items: flex-start; }
}

/* --- map ----------------------------------------------------------------- */

.map {
	max-width: 620px;
	border: 1px solid var(--rule); border-radius: 6px;
	overflow: hidden; background: var(--paper-2);
	aspect-ratio: 62 / 38;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-address { font-size: var(--step--1); }

/* --- booking box --------------------------------------------------------- */

.booking {
	position: sticky;
	top: calc(68px + 1rem);
	display: flex; flex-direction: column; gap: .8rem;
	padding: 1.25rem;
	border: 1px solid var(--rule); border-radius: 8px;
	background: var(--paper);
}

@media (max-width: 900px) { .booking { position: static; } }

.booking-form { display: flex; flex-direction: column; gap: .55rem; }
.booking-title { font-size: var(--step-1); margin-bottom: .25rem; }
.booking-lead { font-size: var(--step--1); line-height: 1.55; }

.booking .field {
	display: flex; flex-direction: column; gap: .12rem;
	padding: .55rem .8rem; min-width: 0;
	border: 1px solid var(--rule); border-radius: 4px;
	background: var(--paper-2);
}

.booking label {
	font-size: .68rem; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3);
}

.booking select,
.booking input {
	border: 0; background: none; padding: 0; margin: 0;
	font: inherit; font-size: var(--step--1); font-weight: 550;
	color: var(--ink); width: 100%; min-width: 0;
}
.booking select:focus-visible,
.booking input:focus-visible { outline-offset: 3px; }

/*
 * Stacked, not side by side. The sidebar column tops out at 330px (see .property
 * above), so a 2-up grid left each native date input only ~119px of usable
 * width after the box's own padding — too narrow for a browser to render
 * "dd/mm/yyyy" in full, so it silently clipped the year (reported as a bug: the
 * check-out field showed "11/08/2" with no way to see or confirm the year).
 * Native date-input chrome isn't fully stylable across browsers, so the fix is
 * to stop fighting it for width rather than trim padding/font-size and have the
 * same failure resurface in Safari or Firefox at a slightly different cutoff.
 */
.booking-dates { display: flex; flex-direction: column; gap: .55rem; }

.calc {
	display: flex; flex-direction: column; gap: .35rem;
	margin: .35rem 0 .2rem;
	padding-top: .8rem; border-top: 1px solid var(--rule);
	font-size: var(--step--1);
}
.calc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.calc dt { color: var(--ink-3); }
.calc dd { margin: 0; font-weight: 620; font-variant-numeric: tabular-nums; }

.calc-row--total {
	margin-top: .35rem; padding-top: .6rem; border-top: 1px solid var(--rule);
}
.calc-row--total dt { color: var(--ink-2); font-weight: 600; }
.calc-row--total dd { font-size: var(--step-1); font-weight: 680; letter-spacing: -.03em; }

.booking-note {
	display: flex; align-items: flex-start; gap: .5rem;
	font-size: .74rem; line-height: 1.5; color: var(--ink-3);
}
.booking-note svg { width: .9rem; height: .9rem; flex: none; margin-top: .25rem; color: var(--accent); }

/* ====================================================== checkout & order == */

/* Forms did not exist outside the search bar until now. These rules are the
   generic ones — a field is a label above a control above an optional hint —
   and every colour goes through a token so the dark theme needs no overrides. */

.field { display: flex; flex-direction: column; gap: .35rem; margin: 0; }

.field > label {
	font-size: var(--step--1);
	font-weight: 640;
	letter-spacing: -.005em;
}

.field .optional {
	font-weight: 450;
	color: var(--ink-3);
	letter-spacing: .01em;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: .72rem .85rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: var(--step-0);
	transition: border-color .18s var(--ease);
}

.field textarea { resize: vertical; min-height: 5.5rem; line-height: 1.55; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: color-mix(in oklab, var(--ink) 26%, var(--rule)); }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--focus); }

.field input[type="file"] { padding: .6rem .7rem; font-size: var(--step--1); }

.hint { font-size: var(--step--1); color: var(--ink-3); line-height: 1.5; }

.field--action { margin-top: .3rem; }

.field-group {
	border: 1px solid var(--rule);
	border-radius: 6px;
	padding: clamp(1.1rem, 2.5vw, 1.6rem);
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.field-group legend {
	padding-inline: .5rem;
	margin-inline-start: -.5rem;
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }

/* Off-screen rather than display:none: some form fillers skip hidden inputs,
   and this field only earns its keep if a script can find it. */
.honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.choices { display: flex; flex-wrap: wrap; gap: .6rem; }

.choice {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .6rem 1rem;
	border: 1px solid var(--rule);
	border-radius: 100px;
	font-size: var(--step--1);
	font-weight: 550;
	cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 8%, transparent); }

/* --- notices -------------------------------------------------------------- */

.notice {
	display: flex; align-items: flex-start; gap: .65rem;
	padding: .9rem 1.1rem;
	border: 1px solid var(--rule);
	border-left-width: 3px;
	border-radius: var(--radius);
	font-size: var(--step--1);
	line-height: 1.55;
	max-width: none;
	background: var(--paper-2);
}
.notice svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .16rem; }

.notice--error { border-left-color: var(--accent); }
.notice--error svg { color: var(--accent); }
.notice--warn { border-left-color: var(--accent); }
.notice--warn svg { color: var(--accent); }
.notice--ok { border-left-color: var(--surface); }
.notice--ok svg { color: var(--surface); }

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

.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 21rem);
	gap: clamp(1.5rem, 3.5vw, 3rem);
	align-items: start;
}

@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }

.checkout-form { min-width: 0; }

.checkout-summary { position: sticky; top: 5.5rem; min-width: 0; }

@media (max-width: 900px) { .checkout-summary { position: static; } }

.summary-card {
	border: 1px solid var(--rule);
	border-radius: 6px;
	padding: clamp(1.1rem, 2.5vw, 1.5rem);
	background: var(--paper-2);
}
.summary-card h2 { font-size: var(--step-1); }

.summary-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper); }
.summary-media img { width: 100%; height: 100%; object-fit: cover; }

.summary-lines { display: flex; flex-direction: column; margin: 0; }

.summary-lines > div {
	display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
	padding: .62rem 0;
	border-bottom: 1px solid var(--rule);
}
.summary-lines > div:last-child { border-bottom: 0; }

.summary-lines dt { font-size: var(--step--1); color: var(--ink-2); }
.summary-lines dd { margin: 0; font-size: var(--step--1); font-weight: 600; text-align: right; }

.summary-total { border-top: 1px solid var(--ink); border-bottom: 0 !important; padding-top: .8rem !important; }
.summary-total dt { font-weight: 640; color: var(--ink); font-size: var(--step-0); }
.summary-total dd { font-size: var(--step-2); font-weight: 660; letter-spacing: -.03em; }

/* --- order page ----------------------------------------------------------- */

.lookup-form {
	display: flex; flex-direction: column; gap: 1rem;
	border: 1px solid var(--rule);
	border-radius: 6px;
	padding: clamp(1.1rem, 2.5vw, 1.6rem);
	max-width: 30rem;
}

.status {
	display: inline-flex; align-items: center; gap: .45rem;
	align-self: flex-start;
	padding: .3rem .8rem;
	border: 1px solid currentColor;
	border-radius: 100px;
	font-size: var(--step--1);
	font-weight: 640;
	letter-spacing: .02em;
	max-width: none;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.status--pending-payment { color: var(--accent); }
.status--paid { color: var(--surface); }
.status--confirmed { color: var(--surface); }
.status--cancelled { color: var(--ink-3); }

@media (prefers-color-scheme: dark) {
	.status--paid, .status--confirmed { color: color-mix(in oklab, var(--surface) 40%, var(--ink)); }
}
:root[data-theme="dark"] .status--paid,
:root[data-theme="dark"] .status--confirmed { color: color-mix(in oklab, var(--surface) 40%, var(--ink)); }

.order-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}

@media (max-width: 760px) { .order-grid { grid-template-columns: 1fr; } }

.pay-card,
.upload-card {
	border: 1px solid var(--rule);
	border-radius: 6px;
	padding: clamp(1.1rem, 2.5vw, 1.5rem);
	background: var(--paper-2);
}
.pay-card h2, .upload-card h2 { font-size: var(--step-1); }

.upload-card form { display: flex; flex-direction: column; gap: 1rem; }

/*
 * The booking code, when the heading is the guest's name rather than the code.
 * Monospaced and letter-spaced because this is the one string on the page that
 * gets read down a phone line, and 0/O and 1/I have to stay distinguishable —
 * the generator already excludes the ambiguous letters, and the face should not
 * put them back.
 */
.order-code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .04em; }

.order-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ============================================================== entry === */

/*
 * Typography for the_content() output — legal pages today, any future WYSIWYG
 * page tomorrow. The global reset (ul/ol list-style:none, p margin:0) is
 * correct for hand-built components, which space themselves with flex `gap`,
 * but content that comes out of the editor as raw <h2>/<p>/<ul> has no such
 * wrapper and was rendering as an undifferentiated run of text with no bullets
 * and no visible paragraph rhythm. Scoped to `.entry` so it never leaks into
 * the component markup elsewhere on the site.
 */
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: var(--step-2); margin-top: 1.8em; }
.entry h2:first-child { margin-top: 0; }
.entry h3 { font-size: var(--step-1); margin-top: 1.5em; }
.entry p { color: var(--ink-2); max-width: 70ch; }
.entry strong { color: var(--ink); font-weight: 640; }
.entry em { color: var(--ink-2); }

.entry ul, .entry ol {
	display: flex;
	flex-direction: column;
	gap: .5em;
	padding-left: 1.4em;
	color: var(--ink-2);
	max-width: 70ch;
}
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li::marker { color: var(--accent); }

.entry a { color: var(--accent); text-decoration: underline; }
