/* =============================================================================
   ŌNAR Private Pool Villas — Kardamena, Kos
   One stylesheet, no framework, no build step beyond cache-busting.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
/* Two subsets each: the latin-ext file is what carries the Ō (U+014C) in the
   wordmark, so it must stay even though the copy is otherwise plain Latin. */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --ink: #17211e;
  --ink-soft: #46514c;
  --paper: #fdfcf8;
  --sand: #f0ebe0;
  --sand-deep: #e4dccb;
  --olive: #72816b;
  --rust: #b76d44;
  --rust-dark: #9d5a34;
  --sky: #e9c7ae;
  --line: rgba(23, 33, 30, 0.14);
  --line-light: rgba(255, 255, 255, 0.2);
  --white: #fff;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 54px);
  --section: clamp(72px, 9vw, 140px);
  --header-h: 88px;
  --radius: 2px;
  --shadow: 0 26px 60px -30px rgba(23, 33, 30, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, p, figure, ol, ul, blockquote { margin-block-start: 0; }
img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, summary, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

h1, h2, h3 {
  font-family: "Cormorant", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
/* The lower bounds are deliberately small: at 375px an 8vw display size never
   reaches its own clamp floor, so a generous floor is what actually renders on
   a phone — and 3.4rem pushed the hero headline to four lines. */
h1 { font-size: clamp(2.6rem, 10.5vw, 7rem); }
h2 { font-size: clamp(2.15rem, 7vw, 5.4rem); margin-bottom: 24px; }
h3 { font-size: clamp(1.45rem, 4.6vw, 2.4rem); line-height: 1.08; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 8px; }
p { margin-bottom: 1.25em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-family: "Cormorant", Georgia, serif;
  font-size: clamp(1.28rem, 4.6vw, 2.2rem);
  line-height: 1.28;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--sky); }

.muted { color: var(--ink-soft); }
.small { font-size: 0.88rem; }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip-link {
  position: fixed; top: -70px; left: 20px; z-index: 1200;
  padding: 12px 20px; background: var(--white); color: var(--ink);
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 14px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- Layout --------------------------------------------------------------- */
.container { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
/* width, not max-width — .container sets an explicit width, so a max-width
   here would be capped by it and the gallery would never actually widen. */
.container--wide { width: min(calc(100% - var(--gutter) * 2), 1440px); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(52px, 6vw, 92px); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .lead { color: rgba(255, 255, 255, 0.72); }

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-title h2 { margin-bottom: 0; }
.section-title > p { margin-bottom: 0; color: var(--ink-soft); }
.section-title--light > p { color: rgba(255, 255, 255, 0.72); }
.section-title--stack { display: block; max-width: 62ch; }

/* --- Buttons -------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px;
  background: var(--rust); color: var(--white);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--rust); border-radius: var(--radius); cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.button:hover { background: var(--rust-dark); border-color: var(--rust-dark); transform: translateY(-2px); }
.button--small { padding: 13px 22px; font-size: 0.68rem; }
.button--ink { background: var(--ink); border-color: var(--ink); }
.button--ink:hover { background: #0d1614; border-color: #0d1614; }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button--glass {
  background: rgba(255, 255, 255, 0.1); color: var(--white);
  border-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(6px);
}
.button--glass:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.button[disabled] { opacity: .55; pointer-events: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 4px; border-bottom: 1px solid var(--rust);
  color: var(--rust); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: gap .25s var(--ease);
}
.text-link:hover { gap: 16px; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h); color: var(--white);
  border-bottom: 1px solid var(--line-light);
  transition: border-color .35s var(--ease);
}
/* The blur lives on a pseudo-element, not on .site-header itself: backdrop-filter
   turns an element into a containing block for position:fixed descendants, which
   collapsed the fixed mobile menu inside it to an 88px-tall strip. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: rgba(20, 29, 26, 0.82);
  backdrop-filter: blur(16px) saturate(120%);
  transition: opacity .35s var(--ease);
}
.site-header.is-over { border-bottom-color: transparent; }
.site-header.is-over::before { opacity: 0; }
.header-inner {
  position: relative; z-index: 1;
  width: min(calc(100% - var(--gutter) * 2), 1380px);
  height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}

.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: "Cormorant", Georgia, serif;
  font-size: 2rem; font-weight: 600; letter-spacing: 0.1em;
}
.brand__line {
  margin-top: 5px; font-size: 0.56rem; font-weight: 500;
  letter-spacing: 0.19em; text-transform: uppercase; white-space: nowrap;
}

.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); margin-left: auto; }
.desktop-nav a { position: relative; font-size: 0.95rem; padding-block: 6px; white-space: nowrap; }
/* The nav carries its own CTA for the mobile sheet; on desktop the one in
   .header-actions is the real button, so this copy stays hidden. */
.desktop-nav .button { display: none; }
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--line-light); border-radius: var(--radius);
  cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .header-actions .button { display: none; }
  .desktop-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 20px var(--gutter) 40px;
    background: var(--ink); color: var(--white);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    overflow-y: auto;
  }
  .desktop-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .desktop-nav a { font-family: "Cormorant", Georgia, serif; font-size: 2rem; padding-block: 16px; border-bottom: 1px solid var(--line-light); }
  .desktop-nav a::after { display: none; }
  .desktop-nav .button { display: inline-flex; margin-top: 28px; justify-content: center; font-family: "Jost", sans-serif; font-size: 0.76rem; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; color: var(--white); overflow: hidden;
  padding-top: calc(var(--header-h) + 40px);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
/* <picture> is an inline box by default, so a height:100% on the <img> inside
   would resolve against nothing and the photo would sit at its natural height.
   Every full-bleed image on the site is wrapped in one, so they all need this. */
.hero__slide picture { position: absolute; inset: 0; display: block; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12, 20, 18, 0.86) 0%, rgba(12, 20, 18, 0.34) 46%, rgba(12, 20, 18, 0.5) 100%);
}
.hero > .container, .hero__dots, .hero__facts { position: relative; z-index: 2; }

.hero__content { padding-bottom: clamp(36px, 5vw, 66px); max-width: 940px; }
.hero h1 { margin-bottom: 26px; }
.hero__intro {
  font-family: "Cormorant", Georgia, serif;
  font-size: clamp(1.15rem, 4.4vw, 2.05rem); line-height: 1.32;
  max-width: 30ch; color: rgba(255, 255, 255, 0.9); margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__dots {
  position: absolute; right: var(--gutter); bottom: clamp(120px, 16vw, 190px);
  display: flex; gap: 10px;
}
.hero__dots button {
  width: 30px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.38); transition: background .3s var(--ease);
}
.hero__dots button[aria-selected="true"] { background: var(--white); }

.hero__facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  background: rgba(12, 20, 18, 0.42); backdrop-filter: blur(8px);
}
.hero__facts div {
  padding: 20px clamp(14px, 2.4vw, 30px); text-align: center;
  border-left: 1px solid var(--line-light);
  font-size: 0.78rem; letter-spacing: 0.06em;
}
.hero__facts div:first-child { border-left: 0; }
.hero__facts b {
  display: block; font-family: "Cormorant", Georgia, serif;
  font-size: 1.9rem; font-weight: 500; letter-spacing: 0.02em; line-height: 1.1;
}

@media (max-width: 760px) {
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .hero__facts div:nth-child(3) { border-left: 0; }
  .hero__facts div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .hero__dots { bottom: auto; top: calc(var(--header-h) + 20px); right: var(--gutter); }
}

/* --- Page banner (inner pages) ------------------------------------------- */
.page-head {
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(360px, 52vh, 560px); color: var(--white); overflow: hidden;
  padding-top: var(--header-h);
}
.page-head > picture { position: absolute; inset: 0; display: block; }
.page-head img { width: 100%; height: 100%; object-fit: cover; }
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 20, 18, 0.8), rgba(12, 20, 18, 0.28));
}
.page-head .container { position: relative; z-index: 2; padding-block: clamp(36px, 5vw, 68px); }
.page-head h1 { font-size: clamp(2.3rem, 8.5vw, 5.6rem); margin-bottom: 16px; }
.page-head p { max-width: 52ch; color: rgba(255, 255, 255, 0.86); margin-bottom: 0; }

.breadcrumb { font-size: 0.78rem; letter-spacing: 0.06em; margin-bottom: 18px; color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb span { padding-inline: 8px; }

/* --- Split blocks --------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 80px); align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.split--top { align-items: start; }
.split__copy { max-width: 56ch; }
.split--reverse .split__media { order: -1; }

.image-frame { position: relative; margin: 0; }
.image-frame img { width: 100%; box-shadow: var(--shadow); }
.image-frame figcaption {
  margin-top: 14px; font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft);
}

.stat-note {
  position: absolute; right: -18px; bottom: -22px;
  padding: 18px 24px; background: var(--rust); color: var(--white);
  font-size: 0.86rem; line-height: 1.4; max-width: 230px; box-shadow: var(--shadow);
}
.stat-note b { display: block; font-size: 1rem; }

@media (max-width: 860px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .section-title { grid-template-columns: 1fr; align-items: start; }
  .stat-note { position: static; margin-top: 16px; max-width: none; }
}

/* --- Facts strip ---------------------------------------------------------- */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts div { padding: clamp(24px, 3vw, 38px) clamp(16px, 2vw, 30px); border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b {
  display: block; font-family: "Cormorant", Georgia, serif;
  font-size: clamp(2.2rem, 3.2vw, 3.2rem); font-weight: 500; line-height: 1;
}
.facts span { display: block; margin-top: 8px; font-size: 0.86rem; color: var(--ink-soft); }
@media (max-width: 640px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(odd) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --- Cards ---------------------------------------------------------------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.card { background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.section--sand .card { background: var(--paper); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: clamp(24px, 2.6vw, 34px); flex: 1; }
.card__body h3 { margin-bottom: 12px; }
.card__body p { color: var(--ink-soft); margin-bottom: 0; }
.card__body .eyebrow { margin-bottom: 14px; }

/* --- Amenities ------------------------------------------------------------ */
/* Six tiles, so the column count is pinned rather than auto-fit — otherwise a
   wide viewport lays out 4 + 2 and the two empty cells show as grey holes. */
.amenities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-light);
  border: 1px solid var(--line-light);
}
@media (max-width: 900px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .amenities-grid { grid-template-columns: 1fr; } }
.amenities-grid article { padding: clamp(26px, 3vw, 40px); background: var(--ink); }
.amenities-grid span {
  display: block; margin-bottom: 16px; color: var(--sky);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
}
.amenities-grid h3 { font-size: clamp(1.35rem, 3.4vw, 1.85rem); margin-bottom: 10px; }
.amenities-grid p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; margin-bottom: 0; }

/* Plain checklist used on the villa page */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.checklist li { background: var(--paper); padding: 15px 4px 15px 34px; position: relative; font-size: 0.98rem; }
.section--sand .checklist li { background: var(--sand); }
.checklist li::before {
  content: ""; position: absolute; left: 6px; top: 24px;
  width: 14px; height: 1px; background: var(--rust);
}
.checklist--split { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* --- Day list ------------------------------------------------------------- */
.day-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.day-list li { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line); }
.day-list li:last-child { border-bottom: 1px solid var(--line); }
.day-list span { font-family: "Cormorant", Georgia, serif; font-size: 1.6rem; color: var(--rust); line-height: 1; }
.day-list b { display: block; margin-bottom: 4px; }
.day-list p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.98rem; }

/* --- Gallery -------------------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.gallery-filters button {
  padding: 11px 20px; background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.gallery-filters button:hover { border-color: var(--ink); }
.gallery-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 10px;
}
/* One column would make 48 photos an endless scroll on a phone. */
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.gallery__item {
  padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in;
  position: relative; overflow: hidden;
}
.gallery__item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item[hidden] { display: none; }

/* Homepage teaser mosaic */
.gallery-peek { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-peek figure { margin: 0; display: grid; }
/* The tall tile has to take its height from the two rows it spans, not from a
   ratio of its own, or it ends up a few pixels out of line with its neighbours. */
.gallery-peek picture { display: block; height: 100%; }
.gallery-peek img { width: 100%; height: 100%; object-fit: cover; }
.gallery-peek figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-peek figure:not(:nth-child(1)) img { aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  .gallery-peek { grid-template-columns: repeat(2, 1fr); }
  .gallery-peek figure:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .gallery-peek figure:nth-child(1) img { aspect-ratio: 3 / 2; }
}

/* --- Lightbox ------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center;
  background: rgba(9, 15, 14, 0.975); padding: clamp(12px, 4vw, 46px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox__count {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75); font-size: 0.82rem; letter-spacing: 0.14em;
}
.lightbox button {
  position: absolute; width: 52px; height: 52px; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white); font-size: 1.3rem; line-height: 1;
  transition: background .25s var(--ease);
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__caption {
  position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%);
  max-width: min(90%, 62ch); text-align: center;
  color: rgba(255, 255, 255, 0.9); font-size: 0.92rem;
}
@media (max-width: 620px) {
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
  .lightbox__caption { display: none; }
}

/* --- Location / map ------------------------------------------------------- */
.distance-card {
  background: var(--ink); color: var(--white); padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--shadow); align-self: start;
}
.distance-card__label {
  color: var(--sky); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 24px;
}
.distance-card > div {
  display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 16px;
  padding-block: 16px; border-top: 1px solid var(--line-light);
}
.distance-card b { font-family: "Cormorant", Georgia, serif; font-size: 2.4rem; font-weight: 500; line-height: 1; }
.distance-card span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.76); }
.distance-card > a {
  display: inline-flex; gap: 8px; margin-top: 24px;
  color: var(--sky); font-size: 0.82rem; letter-spacing: 0.08em;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

.map-frame { position: relative; aspect-ratio: 16 / 9; background: var(--sand-deep); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__facade {
  position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background-size: cover; background-position: center; color: var(--white);
}
.map__facade::after { content: ""; position: absolute; inset: 0; background: rgba(12, 20, 18, 0.5); }
.map__facade span {
  position: relative; z-index: 2; padding: 15px 26px;
  border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}

/* --- FAQ / accordion ------------------------------------------------------ */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 22px; cursor: pointer; list-style: none;
  font-size: 1.06rem; font-weight: 500;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--rust); font-size: 1rem;
  transition: transform .3s var(--ease);
}
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { padding-bottom: 24px; margin-bottom: 0; color: var(--ink-soft); max-width: 68ch; }

/* --- Forms ---------------------------------------------------------------- */
.enquiry-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; transition: border-color .25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rust); outline: none; }
/* :user-invalid, not :invalid — a required empty date input matches :invalid
   from the moment the page loads, so the plain selector painted both date
   fields red before anyone had typed a thing. */
.field :is(input, select, textarea):user-invalid { border-color: #b4472f; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--rust); }

.form-status { margin: 0; padding: 0; font-size: 0.95rem; }
.form-status:not(:empty) { padding: 14px 18px; border-left: 3px solid var(--olive); background: var(--sand); }
.form-status.is-error { border-left-color: #b4472f; }
.form-status.is-success { border-left-color: var(--olive); }

@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.contact-panel { background: var(--ink); color: var(--white); padding: clamp(28px, 3vw, 44px); align-self: start; }
.contact-panel h3 { margin-bottom: 16px; }
.contact-panel p { color: rgba(255, 255, 255, 0.74); }
.contact-panel .button { width: 100%; justify-content: center; margin-bottom: 12px; }
.contact-panel hr { border-top-color: var(--line-light); margin-block: 26px; }

/* --- Final CTA ------------------------------------------------------------ */
.final-cta { position: relative; color: var(--white); overflow: hidden; padding-block: clamp(90px, 12vw, 170px); }
.final-cta > picture { position: absolute; inset: 0; display: block; }
.final-cta > picture img { width: 100%; height: 100%; object-fit: cover; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: rgba(12, 20, 18, 0.62); }
.final-cta .container { position: relative; z-index: 2; text-align: center; }
.final-cta h2 { margin-bottom: 20px; }
.final-cta p { max-width: 46ch; margin-inline: auto; margin-bottom: 34px; color: rgba(255, 255, 255, 0.86); }
.final-cta .actions { justify-content: center; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(56px, 6vw, 90px); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 70px);
}
.site-footer p, .site-footer address { color: rgba(255, 255, 255, 0.7); font-style: normal; font-size: 0.95rem; }
.site-footer .brand { margin-bottom: 18px; }
.footer-grid h4 { color: var(--sky); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid nav { display: grid; gap: 10px; }
.footer-grid nav a { font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); }
.footer-grid nav a:hover { color: var(--white); text-decoration: underline; }
.footer-grid a[href^="mailto"], .footer-grid a[href^="tel"] { color: rgba(255,255,255,0.82); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  padding-block: 24px; border-top: 1px solid var(--line-light);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.56);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Floating actions ----------------------------------------------------- */
/* A pill this size sat on top of the copy in every screenshot, so it rests as a
   circle and only grows into a labelled pill on hover or keyboard focus. */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  width: 54px; height: 54px; padding: 0; border-radius: 999px;
  background: #1f7a4d; color: var(--white);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  transition: width .3s var(--ease), gap .3s var(--ease), padding .3s var(--ease), transform .25s var(--ease);
}
.whatsapp-float svg { flex: none; width: 22px; height: 22px; margin-inline: 16px; fill: currentColor; }
.whatsapp-float__label { opacity: 0; transition: opacity .2s var(--ease); }
.whatsapp-float:hover, .whatsapp-float:focus-visible {
  width: 176px; padding-right: 20px; transform: translateY(-3px);
}
.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus-visible .whatsapp-float__label { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float:hover, .whatsapp-float:focus-visible { width: 54px; padding-right: 0; }
}

.mobile-cta { display: none; }
@media (max-width: 1000px) {
  /* On a phone the floating bubble always landed on top of something, so both
     actions live in one thumb-height bar instead. */
  .mobile-cta {
    display: flex; gap: 10px; align-items: stretch;
    position: fixed; inset: auto 0 0; z-index: 95;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(253, 252, 248, 0.94); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta .button { flex: 1; justify-content: center; padding-inline: 16px; }
  .mobile-cta__wa {
    flex: none; width: 52px; display: grid; place-items: center;
    background: #1f7a4d; color: var(--white); border-radius: var(--radius);
  }
  .mobile-cta__wa svg { width: 24px; height: 24px; fill: currentColor; }
  .whatsapp-float { display: none; }
  body { padding-bottom: 76px; }
  /* 100svh does not know about the fixed bar, so the hero's facts strip was
     being cut in half by it. */
  .hero { min-height: calc(100svh - 76px); }
  .hero__facts div { padding-block: 14px; }
  .hero__facts b { font-size: 1.6rem; }
  .site-footer { padding-bottom: 0; }
}

/* --- Reveal on scroll ----------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .site-header, .mobile-cta, .whatsapp-float, .hero__dots, .lightbox { display: none !important; }
  body { padding-bottom: 0; }
}
