@import url("fonts.css");

/* ============================================================
   Plumbing only. Nothing here is a design decision — no colour,
   no typeface, no layout. Each site writes its own visual system
   on top; this file only carries the things that must be right
   on every site and are invisible when they are.
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* A sideways-scrollable page drags position:fixed elements out of view on
     phones. Clip rather than scroll. (clip, not hidden: hidden would make html
     a scroll container and break scroll-padding and sticky.) */
  overflow-x: clip;
}

body { margin: 0; }
/* Lock scrolling on the ROOT, not on body. html already has overflow-x:clip,
   so overflow:hidden on body turns body into its own scroll container — a
   position:sticky header then sticks to body and is thrown off-screen (with
   its close button) when the menu opens after scrolling. site.js puts
   .is-locked on <html> directly; a :has() selector was tried first and its
   style invalidation visibly lagged behind the menu opening. */
html.is-locked { overflow: hidden; }
/* [hidden] must win. A rule like `.gallery-more { display:flex }` outranks the
   browser's own `[hidden] { display:none }`, which left an empty "Show 0 more"
   button on screen whenever a gallery had nothing further to reveal. */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
/* A <button> inherits the user agent's grey `buttonface` unless something says
   otherwise. An outline/ghost button that sets only border-color and color then
   renders as light-grey with (often white) text on it — invisible. Reset here;
   any variant that wants a fill sets one and wins on specificity. */
button { background: transparent; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal-on-scroll. The JS failsafe shows everything if the observer
   never runs, so content can never be stranded invisible. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .lightbox, .skip-link, .gallery-more, .filters, .map-consent, .callbar { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* =====================================================================
   Villa Iliana — "Panorama"
   Paper, deep Aegean and amphora terracotta. Letterboxed photo bands carry
   the white logo; the menu is a dock at the bottom of the screen.
   Marcellus (display) + Jost (text).
   ===================================================================== */
:root {
  --f-ink: #1b2a33; --f-muted: #56626a; --f-bg: #fbfaf7; --f-border: #9aa3a8; --f-accent: #103e56; --f-accent-d: #1a5575; --f-radius: 6px;
  --paper: #f7f5f0;
  --paper-2: #efebe3;
  --ink: #1b2a33;
  --muted: #56626a;
  --line: #ddd7cc;
  --sea: #103e56;
  --sea-2: #1a5575;
  --sea-tint: #e3ecef;
  --clay: #a94c27;
  --clay-tint: #f3e3d9;
  --display: "Marcellus", "Trajan Pro", Georgia, serif;
  --text: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 18px;
  --gutter: clamp(.75rem, 2vw, 1.5rem);
}
html { scroll-padding-top: 1.5rem; }
body { font: 400 1.125rem/1.65 var(--text); color: var(--ink); background: var(--paper); padding-bottom: 6.5rem; }
main:focus { outline: none; }
.wrap { width: min(1240px, 100% - 2 * clamp(1.25rem, 5vw, 3.5rem)); margin-inline: auto; }
a { color: var(--sea-2); text-underline-offset: .2em; text-decoration-thickness: .07em; }
a:hover { color: var(--sea); text-decoration-thickness: .14em; }
a[href^="tel:"] { white-space: nowrap; }
.ico { width: 1.2rem; height: 1.2rem; flex: none; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .8rem 1.3rem; background: #fff; color: var(--ink); font-weight: 600; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
.display, .hero-title, .page-title { font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: 0; text-wrap: balance; }
.display { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.5rem, 1.4rem + 3.8vw, 4.6rem); margin-bottom: 1.4rem; }
.page-title { font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); margin-bottom: 1rem; }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem; font: 600 .8125rem/1.3 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.6; max-width: 40rem; }
.muted { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.text-link .ico { transition: transform .2s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .7rem 1.5rem; border: 1.5px solid transparent; border-radius: 4px; font: 500 1.0625rem/1.2 var(--text); letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-lg { min-height: 3.4rem; padding: .85rem 1.8rem; }
.btn-sea { background: var(--sea); color: #fff; }
.btn-sea:hover { background: var(--sea-2); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ---------- The dock (bottom navigation) ---------- */
.dock { position: fixed; left: 50%; bottom: 1rem; z-index: 80; transform: translateX(-50%); max-width: calc(100% - 1.5rem); }
.dock-list { list-style: none; display: flex; align-items: center; gap: .25rem; padding: .4rem; background: rgba(16, 62, 86, .94); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(8, 30, 42, .6); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .dock-list { background: rgba(16, 62, 86, .82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
}
.dock a { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1.1rem; border-radius: 999px; color: #eef4f6; text-decoration: none; font: 500 1rem/1 var(--text); letter-spacing: .03em; white-space: nowrap; }
.dock a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.dock a[aria-current="page"] { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.dock .ico { width: 1.15rem; height: 1.15rem; }
.dock-book a { background: var(--clay); color: #fff; }
.dock-book a:hover, .dock-book a[aria-current="page"] { background: #8f3d1d; color: #fff; }
.dock :focus-visible { outline-color: #fff; outline-offset: 2px; }

/* ---------- Letterboxed photo band (opens every page, carries the logo) ---------- */
.band { position: relative; margin: var(--gutter) var(--gutter) 0; height: clamp(15rem, 42vh, 26rem); border-radius: var(--radius); overflow: hidden; background: var(--sea); }
.band-tall { height: clamp(20rem, 62vh, 40rem); }
.band-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.band::after { content: ""; position: absolute; inset: 0 0 auto; height: 45%; background: linear-gradient(to bottom, rgba(8, 30, 42, .55), rgba(8, 30, 42, 0)); pointer-events: none; }
.band-logo { position: absolute; z-index: 2; left: clamp(1.25rem, 3vw, 2.5rem); top: clamp(1rem, 2.5vw, 2rem); display: block; padding: .25rem; border-radius: 6px; }
.band-logo img { width: clamp(64px, 6.5vw, 96px); height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.band-logo:focus-visible { outline-color: #fff; }

/* ---------- Home intro ---------- */
.intro { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.intro-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.facts { display: grid; margin: 0; border-top: 1px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .8125rem/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font: 400 1.6rem/1.1 var(--display); }

/* ---------- Reel: terrace views, scrolling sideways ---------- */
.reel { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--sea); color: #eef4f6; }
.reel .display { color: #fff; }
.reel .muted { color: #c3d3db; max-width: 36rem; }
.reel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: 2rem; }
.reel-list { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(16rem, 30vw, 26rem); gap: 1rem; overflow-x: auto; padding: 0 max(1.25rem, (100% - 1240px) / 2) 1rem; scroll-snap-type: x mandatory; scroll-padding-inline: max(1.25rem, (100% - 1240px) / 2); scrollbar-color: rgba(255, 255, 255, .45) transparent; }
.reel-list:focus-visible { outline-color: #fff; outline-offset: -3px; }
.reel-item { scroll-snap-align: start; }
.tile-reel { aspect-ratio: 4 / 5; border-radius: 12px; }

/* ---------- Who sleeps where + pool to scale ---------- */
.house { padding: clamp(4rem, 9vw, 7rem) 0; }
.house-inner { padding-top: clamp(2rem, 5vw, 3rem); }
.house-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.plan { margin: 1.5rem 0 1.25rem; }
.plan-rooms { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; }
.plan-room { padding: 1.25rem 1.1rem 1.1rem; }
.plan-room + .plan-room { border-left: 1.5px solid var(--ink); }
.plan-room h3 { font: 400 1.3rem/1.2 var(--display); margin-bottom: 1rem; }
.plan-room p { margin: 0; font-size: 1rem; }
.plan-beds { display: flex; gap: .4rem; height: 4.5rem; align-items: flex-end; margin-bottom: .75rem; }
.bed { position: relative; display: block; height: 100%; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--sea-tint); }
.bed::before { content: ""; position: absolute; left: 12%; right: 12%; top: 8%; height: 18%; border-radius: 3px; background: #fff; border: 1.5px solid var(--ink); }
.bed-king { width: 4.4rem; }
.bed-single { width: 2.2rem; }
.plan-bath { display: flex; align-items: center; gap: .45rem; margin-top: .6rem !important; padding-top: .6rem; border-top: 1px dashed var(--line); color: var(--muted); }
.plan-bath .ico { color: var(--clay); }
.plan-note { margin-top: 1rem; color: var(--muted); font-size: 1rem; }
.pool-photo { margin: 1.5rem 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.pool-photo img { width: 100%; height: 100%; object-fit: cover; }
.pool-facts { margin-top: 1rem; color: var(--muted); }
.pool-facts strong { font: 400 1.35rem/1 var(--display); color: var(--ink); margin-right: .25rem; }

/* ---------- Inside: photo + text ---------- */
.duo { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.duo-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.duo-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.duo-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Island teaser ---------- */
.island { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--paper-2); }
.island-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.island-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.island-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Book band ---------- */
.bookband { padding: clamp(3.5rem, 8vw, 5.5rem) 0; background: var(--clay-tint); }
.bookband-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem clamp(2rem, 5vw, 4rem); align-items: center; }
.bookband p { max-width: 36rem; }
.bookband-actions { list-style: none; display: grid; gap: .6rem; }
.bookband .btn { width: 100%; justify-content: flex-start; }

/* ---------- Inner page intro ---------- */
.page-intro { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.5rem; font-size: .95rem; color: var(--muted); }
.crumbs li + li::before { content: "·"; margin-right: .35rem; }
.crumbs a { color: var(--muted); }

/* ---------- Amenities ledger ---------- */
.ledger { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.ledger-grid { columns: 3 17rem; column-gap: clamp(1.5rem, 4vw, 3rem); margin-top: 1.5rem; }
.ledger-group { break-inside: avoid; margin-bottom: 2rem; }
.ledger-group h3 { display: flex; align-items: center; gap: .6rem; padding-bottom: .6rem; margin-bottom: .6rem; border-bottom: 1px solid var(--ink); font: 400 1.35rem/1.2 var(--display); }
.ledger-group h3 .ico { color: var(--clay); width: 1.35rem; height: 1.35rem; }
.ledger-group ul { list-style: none; }
.ledger-group li { padding: .4rem 0; border-bottom: 1px solid var(--line); }

/* ---------- Tiles, gallery, lightbox ---------- */
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.gallery { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { min-height: 46px; padding: .5rem 1.2rem; border: 1.5px solid var(--ink); border-radius: 999px; font: 500 1rem/1.2 var(--text); color: var(--ink); cursor: pointer; }
.filter:hover { background: var(--paper-2); }
.filter[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }
.gallery-grid { columns: 3 17rem; column-gap: 1rem; }
.gallery-grid .tile { break-inside: avoid; margin-bottom: 1rem; }
.gallery-grid .tile.is-entering { animation: tile-in .45s var(--ease) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(8, 24, 33, .96); opacity: 0; transition: opacity .26s; }
.lightbox.is-open { display: block; }
.lightbox.is-visible { opacity: 1; }
.lb-stage { position: absolute; inset: 4.5rem 4.5rem 4rem; display: grid; place-items: center; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .8rem; max-height: 100%; }
.lb-img { max-width: 100%; max-height: calc(100vh - 11rem); width: auto; height: auto; border-radius: 8px; transition: opacity .2s; }
.lb-img.is-loading { opacity: .3; }
.lb-caption { font-size: 1rem; color: #dfe8ec; text-align: center; }
.lb-counter { position: absolute; left: 1.4rem; top: 1.4rem; margin: 0; font: 600 .9rem/1 var(--text); letter-spacing: .1em; color: #dfe8ec; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(16, 62, 86, .9); color: #fff; cursor: pointer; }
.lb-btn:hover { background: var(--clay); border-color: var(--clay); }
.lb-btn:focus-visible { outline-color: #fff; }
.lb-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:disabled { display: none; }
.lb-prev { left: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-next { right: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-close { right: 1rem; top: 1rem; }

/* ---------- Skiathos page ---------- */
.prose-block { padding: 0 0 clamp(3rem, 7vw, 5rem); }
.prose-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose { max-width: 40rem; }
.prose .display { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin-top: 2rem; }
.prose .display:first-child { margin-top: 0; }
.prose-photo { position: sticky; top: 1.5rem; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.prose-photo img { width: 100%; height: 100%; object-fit: cover; }
.travel { padding: clamp(3.5rem, 8vw, 5.5rem) 0; background: var(--sea-tint); }
.travel-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.travel-card { padding: 1.6rem; background: #fff; border-radius: var(--radius); }
.travel-card > .ico { width: 1.6rem; height: 1.6rem; color: var(--clay); margin-bottom: .8rem; }
.travel-card h3 { font: 400 1.4rem/1.2 var(--display); margin-bottom: .6rem; }
.travel-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .35rem .85rem; border-radius: 999px; background: var(--sea-tint); color: var(--sea); font-size: .95rem; font-weight: 500; text-decoration: none; }
.chip:hover { background: var(--sea); color: #fff; }
.chip .ico { width: .95rem; height: .95rem; }

/* ---------- Book page ---------- */
.contact { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.contact-card { padding: clamp(1.75rem, 4vw, 3rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.owner { display: flex; align-items: center; gap: .7rem; font-size: 1.15rem; }
.owner .ico { color: var(--clay); width: 1.4rem; height: 1.4rem; }
.big-line { margin: 1rem 0; font: 400 clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem)/1.25 var(--display); overflow-wrap: anywhere; }
.contact-where { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); }
.contact-where .ico { color: var(--clay); }
.contact-side { display: grid; gap: 1rem; align-content: start; }
.card-title { font: 400 1.9rem/1.15 var(--display); margin-bottom: .5rem; }
.form-intro { color: var(--muted); margin-bottom: 1.25rem; }
.mail-line { font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-side .big-line { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.min-stay { display: grid; align-content: center; padding: clamp(1.75rem, 4vw, 3rem); background: var(--sea); color: #eef4f6; border-radius: var(--radius); }
.min-n { margin: 0; font: 400 clamp(5rem, 4rem + 5vw, 8rem)/.9 var(--display); color: #fff; }
.min-stay h2 { margin: .75rem 0 .5rem; font: 400 1.6rem/1.2 var(--display); color: #fff; }
.min-stay p { color: #c3d3db; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sea); color: #dfe8ec; padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.footer-brand img { width: 84px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 20rem; }
.footer-h { margin-bottom: .9rem; font: 600 .8125rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; color: #f0c6ae; }
.footer-links { list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .95rem; color: #b9cbd4; }
.colophon p { margin: 0; }
.site-footer :focus-visible { outline-color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .travel-list { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }
}
@media (max-width: 900px) {
  .intro-grid, .house-grid, .duo-grid, .island-grid, .prose-grid, .contact-grid, .bookband-inner { grid-template-columns: minmax(0, 1fr); }
  .prose-photo { position: static; aspect-ratio: 4 / 3; }
  .island-photo { order: -1; }
}
@media (max-width: 700px) {
  body { padding-bottom: 5.25rem; }
  /* Phones: the dock becomes a full-width tab bar. */
  .dock { left: 0; right: 0; bottom: 0; transform: none; max-width: none; }
  .dock-list { justify-content: space-around; gap: 0; padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom)); border-radius: 0; border-width: 1px 0 0; }
  .dock li { flex: 1 1 0; }
  .dock a { flex-direction: column; justify-content: center; gap: .2rem; width: 100%; min-height: 3.5rem; padding: .3rem .1rem; border-radius: 12px; font-size: .75rem; letter-spacing: .02em; }
  .dock .ico { width: 1.3rem; height: 1.3rem; }
  .plan-rooms { grid-template-columns: minmax(0, 1fr); }
  .plan-room + .plan-room { border-left: 0; border-top: 1.5px solid var(--ink); }
  .plan-room { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-items: center; }
  .plan-room h3 { grid-column: 1 / -1; margin-bottom: .6rem; }
  .plan-beds { grid-row: span 2; height: 3.5rem; margin: 0; }
  .plan-bath { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .band-logo img { width: 58px; }
  .lb-stage { inset: 4rem .5rem 5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; margin: 0; }
  .lb-prev { left: calc(50% - 3.6rem); }
  .lb-next { right: calc(50% - 3.6rem); }
  .gallery-grid { columns: 2; column-gap: .6rem; }
  .gallery-grid .tile { margin-bottom: .6rem; }
}

/* ---------- Form (shared by the hospitality sites; themed by --f-* set in each site's CSS) ---------- */
.site-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.2rem; align-items: end; }
.form-row-tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr)); gap: .9rem; }
.field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.field label { font-weight: 600; }
.req { color: var(--f-accent); }
.hint { margin: 0; font-size: .92rem; color: var(--f-muted); }
.field input:not([type="checkbox"]), .field textarea, .field select { width: 100%; min-height: 3.1rem; padding: .7rem .9rem; font: inherit; font-size: 1.0625rem; color: var(--f-ink); background: var(--f-bg); border: 2px solid var(--f-border); border-radius: var(--f-radius); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.25rem) 55%, calc(100% - .9rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--f-ink); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--f-accent); outline-offset: 2px; box-shadow: none; border-color: var(--f-ink); background-color: #fff; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { display: flex; gap: .45rem; align-items: center; margin: .1rem 0 0; font-size: .95rem; font-weight: 600; color: #b3261e; }
.field-error .ico { width: 1.1rem; height: 1.1rem; }
.field-check { grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-items: start; }
.field-check input { width: 1.35rem; height: 1.35rem; margin-top: .2rem; accent-color: var(--f-accent); }
.field-check label { font-weight: 400; font-size: .98rem; }
.field-check .field-error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .92rem; color: var(--f-muted); }
.btn-submit { justify-self: start; background: var(--f-accent); color: #fff; }
.btn-submit:hover { background: var(--f-accent-d); color: #fff; }
.btn-submit:disabled { opacity: .65; cursor: progress; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-kind="ok"] { color: #1f6b3a; }
.form-status[data-kind="error"] { color: #b3261e; }
