/* ==========================================================================
   Serenity — design tokens & styles
   Palette pulled from the property: green steel frames, teak, linen, stone, pool.
   ========================================================================== */
:root {
  color-scheme: dark;
  /* Night Forest — deep moss, copper teak, stream sage, sage ivory.
     Token names are kept from the first theme so every component picks the new values up.
     The previous theme lives in assets/css/themes/dark-luxe.css. */
  --forest-900: #0a110d;   /* deepest surface: amenities, footer, menu, curtain */
  --forest-800: #c58a5a;   /* primary fill: buttons, active chips/filters */
  --forest-700: #d9a77c;   /* links, focus borders, toggles */
  --forest-100: rgb(197 138 90 / 0.13); /* copper-tinted surface: tags, ghost hover */
  --teak-600: #c58a5a;     /* copper teak accent */
  --teak-500: #e0b48c;     /* focus ring */
  --teak-100: #e2cfb5;     /* warm ivory text on deep surfaces */
  --linen: #131d17;        /* alternate section background */
  --paper: #0f1712;        /* page background */
  --surface: #17221b;      /* cards, finder, form */
  --field: #1d2a22;        /* inputs */
  --stone-300: #2c3d31;    /* borders, image placeholders */
  --stone-500: #8d9a8f;    /* muted labels */
  --ink: #e6e9df;          /* sage ivory text */
  --ink-soft: #b3bdb1;     /* secondary text */
  --on-gold: #140f0b;      /* text on the copper fill */
  --line: rgb(230 233 223 / 0.11);
  --danger: #e8907c;
  --stream: #7fa39b;       /* stream sage: secondary accent */
  --accent-rgb: 197 138 90;  /* copper, for translucent tints */
  --scrim-rgb: 7 12 9;       /* overlays, lightbox */
  --paper-rgb: 15 23 18;     /* frosted header, glass booking bar */

  --font-serif: "Cormorant Garamond", "Cormorant", Garamond, "Iowan Old Style", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-weight: 500;

  --step--1: clamp(0.8rem, 0.78rem + 0.12vw, 0.86rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.07rem + 0.4vw, 1.32rem);
  --step-2: clamp(1.6rem, 1.38rem + 1vw, 2.15rem);
  --step-3: clamp(2.05rem, 1.6rem + 1.9vw, 3.1rem);
  --step-4: clamp(2.55rem, 1.75rem + 3.5vw, 4.5rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 18px 40px -18px rgb(0 0 0 / 0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-sans); font-size: var(--step-0); line-height: 1.65;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: var(--heading-weight, 400); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--forest-700); text-underline-offset: 3px; }
::selection { background: var(--teak-600); color: var(--on-gold); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teak-500); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 200; background: var(--forest-800); color: var(--on-gold); padding: 0.7rem 1rem; border-radius: 8px; transform: translateY(-200%); transition: transform 0.4s var(--ease); }
.skip-link:focus { transform: none; }

.eyebrow { font-size: var(--step--1); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teak-600); margin-bottom: 1rem; }
.eyebrow-light { color: var(--teak-100); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-lede { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform 0.5s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--forest-800); color: var(--on-gold); }
.btn-accent { background: var(--teak-600); color: var(--on-gold); }
.btn-ghost { background: transparent; border-color: rgb(var(--accent-rgb) / 0.45); color: var(--teak-100); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff;
}
.site-header[data-state="solid"] { color: var(--ink); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: inherit; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.primary-nav ul a { color: inherit; text-decoration: none; font-size: 0.86rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; position: relative; padding-block: 0.4rem; }
.primary-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.primary-nav ul a:hover::after, .primary-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.site-header[data-state="transparent"] .nav-cta { background: rgb(255 255 255 / 0.14); border-color: rgb(255 255 255 / 0.5); color: #fff; backdrop-filter: blur(6px); }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
    background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 22px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s;
  }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .primary-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2.5rem;
    background: var(--forest-900); color: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease), visibility 0s; }
  .primary-nav ul { flex-direction: column; align-items: center; gap: 1.25rem; }
  .primary-nav ul a { font-family: var(--font-serif); font-size: 1.75rem; letter-spacing: 0.02em; text-transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { color: var(--ink); }
  .site-header .nav-cta, .site-header[data-state="transparent"] .nav-cta { background: var(--teak-600); border-color: transparent; color: var(--on-gold); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 60% 50%; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(var(--scrim-rgb) / 0.72) 0%, rgb(var(--scrim-rgb) / 0.4) 45%, transparent 75%),
  linear-gradient(180deg, rgb(var(--scrim-rgb) / 0.6) 0%, rgb(var(--scrim-rgb) / 0.1) 28%, rgb(var(--scrim-rgb) / 0.35) 55%, rgb(var(--paper-rgb) / 0.96) 100%); }
.hero-content { padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 7vw, 5.5rem); }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 30px rgb(0 0 0 / 0.25); }
.hero-lede { max-width: 38rem; font-size: var(--step-1); line-height: 1.5; color: rgb(255 255 255 / 0.9); margin-bottom: 2rem; }
.br-md { display: none; }
@media (min-width: 700px) { .br-md { display: inline; } }

.quick-check {
  display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end;
  max-width: 860px; padding: 1rem; border-radius: var(--radius-lg);
  background: rgb(var(--paper-rgb) / 0.78); color: var(--ink); box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.7);
  border: 1px solid rgb(var(--accent-rgb) / 0.25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.qc-field { display: grid; gap: 0.2rem; min-width: 0; }
.qc-field:has(select) { grid-column: 1 / -1; }
.qc-field label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teak-100); padding-left: 0.2rem; }
.qc-field input, .qc-field select { min-height: 46px; width: 100%; min-width: 0; border: 1px solid var(--stone-300); border-radius: 8px; padding: 0.5rem 0.75rem; background: var(--field); }
.quick-check .btn { grid-column: 1 / -1; }
.qc-error { grid-column: 1 / -1; margin: 0; color: var(--danger); font-size: 0.9rem; font-weight: 500; }
@media (min-width: 760px) {
  .quick-check { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr) auto; padding: 0.9rem 0.9rem 0.9rem 1.2rem; }
  .qc-field:has(select) { grid-column: auto; }
  .quick-check .btn { grid-column: auto; }
}

.scroll-cue { position: absolute; right: max(1.25rem, calc((100vw - 1200px) / 2)); bottom: 2.2rem; width: 26px; height: 42px; border: 1.5px solid rgb(255 255 255 / 0.7); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1100px) { .scroll-cue { display: block; } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.pillars { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.pillars li { display: grid; gap: 0.1rem; padding-left: 1.1rem; border-left: 2px solid var(--teak-600); }
.pillars strong { font-weight: 600; }
.pillars span { color: var(--ink-soft); font-size: 0.95rem; }
.about-media { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.frame { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--stone-300); box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tall { grid-column: 1 / 6; grid-row: 1; aspect-ratio: 4 / 5; }
.frame-small { grid-column: 4 / 7; grid-row: 1; align-self: end; aspect-ratio: 3 / 4; margin-bottom: -2.5rem; border: 6px solid var(--paper); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.05fr 1fr; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Stays ---------- */
.stays { background: var(--linen); }
.finder {
  display: grid; gap: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 2.5rem;
  background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line);
}
.finder-group { border: 0; padding: 0; margin: 0; }
.finder-group legend, .finder-field label { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.65rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0.45rem 1.05rem; border-radius: 999px; border: 1px solid var(--stone-300); font-size: 0.92rem; font-weight: 400; background: transparent; }
.chip input:checked + span { border-color: var(--forest-800); color: var(--on-gold); }
.chip input:focus-visible + span { outline: 2px solid var(--teak-500); outline-offset: 2px; }
.finder-row { display: flex; flex-wrap: wrap; align-items: end; gap: 1.25rem 2.5rem; }
.finder-field { display: grid; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--stone-300); border-radius: 999px; background: transparent; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.25rem; cursor: pointer; border-radius: 999px; }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 2.5ch; text-align: center; font-weight: 600; }
.toggle { display: inline-flex; align-items: center; gap: 0.7rem; cursor: pointer; font-weight: 500; min-height: 44px; position: relative; }
.toggle input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.toggle-track { width: 44px; height: 26px; border-radius: 999px; background: var(--stone-300); position: relative; flex: none; }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / 0.4); transition: transform 0.25s var(--ease); }
.toggle input:checked + .toggle-track::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle-track { outline: 2px solid var(--teak-500); outline-offset: 2px; }
.finder-result { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.finder-result strong { color: var(--forest-800); }

.room-grid { display: grid; gap: 1.75rem; }
@media (min-width: 700px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .room-grid { grid-template-columns: repeat(3, 1fr); } }
.room-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.room-media { position: relative; aspect-ratio: 4 / 3; background: var(--stone-300); overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room-badge { position: absolute; top: 0.9rem; left: 0.9rem; background: rgb(var(--scrim-rgb) / 0.72); color: var(--teak-100); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px; }
.room-match { position: absolute; top: 0.9rem; right: 0.9rem; background: var(--teak-600); color: var(--on-gold); font-size: 0.72rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 999px; }
.room-dots { position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.25rem; }
.room-dots button { width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.room-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0.55; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.room-dots button[aria-pressed="true"]::before { opacity: 1; transform: scale(1.3); }
.room-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
.room-body h3 { font-size: 1.55rem; margin-bottom: 0.35rem; }
.room-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0 0 0.9rem; padding: 0; list-style: none; color: var(--stone-500); font-size: 0.88rem; font-weight: 500; }
.room-meta li { display: inline-flex; align-items: center; gap: 0.35rem; }
.room-meta svg { width: 16px; height: 16px; }
.room-body > p { color: var(--ink-soft); font-size: 0.96rem; }
.room-features { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.room-features li { font-size: 0.8rem; font-weight: 400; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--forest-100); color: var(--forest-800); }
.room-note { font-size: 0.85rem; color: var(--stone-500); font-style: italic; }
.room-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.room-price { font-size: 0.88rem; color: var(--ink-soft); }
.room-price strong { display: block; font-family: var(--font-serif); font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.room-foot .btn { min-height: 44px; padding: 0.6rem 1.1rem; }
.rates-note { margin: 2.5rem auto 0; text-align: center; color: var(--ink-soft); max-width: 40rem; }
.noscript { padding: 1rem; background: var(--forest-100); border-radius: var(--radius); }

/* ---------- Amenities ---------- */
.amenities { background: var(--forest-900); color: var(--ink); }
.amenities h2 { color: var(--ink); max-width: 18ch; }
.amenity-list { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.amenity { display: grid; gap: 1.5rem 4rem; align-items: center; }
.amenity-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--forest-800); }
.amenity-media img { width: 100%; height: 100%; object-fit: cover; }
.amenity-num { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--stream); }
.amenity h3 { color: var(--ink); margin: 0.25rem 0 0.75rem; }
.amenity p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; max-width: 32rem; }
@media (min-width: 900px) {
  .amenity { grid-template-columns: 1.35fr 1fr; }
  .amenity:nth-child(even) .amenity-media { order: 2; }
}

.tours { margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.tours h3 { color: var(--ink); margin-bottom: 0.4rem; }
.tours > p { color: var(--ink-soft); }
.tour-grid { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
@media (min-width: 760px) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }
.tour { margin: 0; }
.tour-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.tour-frame video, .tour-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; background: linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 0.55)); color: #fff; }
.tour-play-icon { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--teak-600); color: var(--on-gold); display: grid; place-items: center; }
.tour-play-icon svg { width: 22px; height: 22px; margin-left: 3px; }
.tour-dur { position: absolute; right: 0.75rem; bottom: 0.6rem; font-size: 0.8rem; font-weight: 600; background: rgb(0 0 0 / 0.55); padding: 0.15rem 0.5rem; border-radius: 6px; }
.tour figcaption { margin-top: 0.7rem; font-weight: 500; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter { min-height: 42px; padding: 0.45rem 1.1rem; border-radius: 999px; border: 1px solid var(--stone-300); background: transparent; cursor: pointer; font-weight: 400; font-size: 0.92rem; color: var(--ink); }
.filter.is-active { border-color: var(--forest-800); color: var(--on-gold); }
.masonry { list-style: none; margin: 0; padding: 0; columns: 2 160px; column-gap: 0.9rem; }
@media (min-width: 760px) { .masonry { columns: 3; column-gap: 1rem; } }
@media (min-width: 1100px) { .masonry { columns: 4; } }
.masonry li { break-inside: avoid; margin-bottom: 0.9rem; }
@media (min-width: 760px) { .masonry li { margin-bottom: 1rem; } }
.masonry button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--stone-300); position: relative; }
.masonry img { width: 100%; height: auto; }
.masonry button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(0 0 0 / 0.25)); opacity: 0; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* image fallback */
img.is-broken { opacity: 0; }
.img-fallback { background: linear-gradient(135deg, var(--forest-100), var(--stone-300)) !important; min-height: 160px; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(var(--scrim-rgb) / 0.97); color: var(--ink); }
.lightbox::backdrop { background: rgb(var(--scrim-rgb) / 0.8); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 0.9rem; padding: 4.5rem 1rem 3.5rem; }
.lightbox img { max-width: min(1400px, 92vw); max-height: calc(100dvh - 9rem); width: auto; height: auto; border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: rgb(255 255 255 / 0.82); font-size: 0.95rem; text-align: center; max-width: 60ch; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.25); background: rgb(255 255 255 / 0.08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 1rem; right: 1rem; font-size: 1.1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 1.6rem; left: 1.4rem; margin: 0; font-size: 0.85rem; color: rgb(255 255 255 / 0.7); letter-spacing: 0.08em; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } .lightbox figure { padding-bottom: 5rem; } }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; padding: 2rem; background: var(--linen); border-radius: var(--radius-lg); }
.quote p { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.35; }
.quote footer { color: var(--stone-500); font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact { background: var(--linen); }
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1fr; } }
.contact-info > p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }
.contact-photo { aspect-ratio: 4 / 3; margin: 2rem 0; }
.contact-list { margin: 0; display: grid; gap: 1rem; }
.contact-list > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone-500); padding-top: 0.2rem; }
.contact-list dd { margin: 0; }
.contact-fallback { font-size: 0.95rem !important; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); }
.form-intro { font-size: 0.88rem; color: var(--stone-500); }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; margin-bottom: 0.4rem; }
.field label { font-weight: 500; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.65rem 0.9rem; border: 1px solid var(--stone-300); border-radius: 8px; background: var(--field);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-700); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.2); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgb(232 144 124 / 0.15); }
.field-error { min-height: 1.25rem; margin: 0; color: var(--danger); font-size: 0.84rem; font-weight: 500; }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: 0.7rem; margin-top: 0.4rem; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin-top: 0.2rem; accent-color: var(--forest-700); }
.field-check label { font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); }
.field-check .field-error { grid-column: 1 / -1; }
.form-status { margin: 0.9rem 0 0; font-size: 0.92rem; color: var(--danger); text-align: center; }
.form-status:empty { display: none; }
.inquiry .btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.confirmation { text-align: center; padding-block: 1rem; }
.confirmation:focus { outline: none; }
.confirmation svg { width: 64px; height: 64px; color: var(--forest-700); margin: 0 auto 1rem; }
.confirmation > p { color: var(--ink-soft); }
.conf-summary { text-align: left; margin: 1.5rem 0; padding: 1.1rem 1.25rem; background: var(--linen); border-radius: var(--radius); display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; font-size: 0.93rem; }
.conf-summary dt { color: var(--stone-500); font-weight: 600; }
.conf-summary dd { margin: 0; }
.conf-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 0.75rem; }
.conf-actions:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--forest-700); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: var(--teak-600); margin-bottom: 0.75rem; }
.footer-title { font-family: var(--font-sans); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teak-100); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); font-size: 0.88rem; }
.footer-base p { margin: 0; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40; box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.4); transform: translateY(160%); transition: transform 0.4s var(--ease); }
.mobile-cta.is-visible { transform: none; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* Motion (reveals, intro, hover states, reduced-motion) lives in motion.css */
