/* CnC Five75 Holiday Homes · site styles */

:root {
  --ink: #0d0c0a;
  --ink-2: #16140f;
  --ink-3: #221f18;
  --line-dark: rgb(232 222 200 / 0.16);
  --bone: #efe9dd;
  --bone-dim: #b3ab9c;
  --paper: #f8f7f4;
  --paper-2: #eeebe5;
  --text: #16140f;
  --text-dim: #5c564c;
  --line: #ddd7cc;
  --gold: #c9a24a;
  --gold-bright: #dfbd6a;
  --gold-deep: #85641c;
  --gold-wash: rgb(201 162 74 / 0.2);
  --error: #a63a28;
  --error-dark: #f0a08c;

  --font-display: 'Marcellus', 'Iowan Old Style', 'Palatino Linotype', serif;
  --font-text: 'Jost', 'Avenir Next', 'Segoe UI', sans-serif;

  --wrap: min(100% - 2rem, 80rem);
  --header-h: 5.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  color-scheme: light;
  accent-color: var(--gold);
}

@media (min-width: 48rem) {
  :root { --wrap: min(100% - 4rem, 80rem); }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); scrollbar-color: var(--gold-deep) var(--paper-2); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 var(--font-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: 0.005em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 1.45rem + 2.1vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
input, textarea { caret-color: var(--gold); }

.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { max-width: 46rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: 0.75rem 1rem; }
.skip:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }

.dark { background: var(--ink); color: var(--bone); color-scheme: dark; scrollbar-color: var(--gold-deep) var(--ink-2); }
.dark ::selection { background: var(--gold); color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.9rem 1.7rem; border: 1px solid transparent; border-radius: 0;
  font: 500 0.78rem/1 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-gold:disabled { background: var(--ink-3); color: var(--bone-dim); cursor: not-allowed; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--text); border-color: var(--line); }
.btn-light:hover { border-color: var(--text); }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; padding: 0.5rem 0; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 0.25em; color: inherit; }
.btn-text:hover { color: var(--gold-deep); }
.dark .btn-text:hover { color: var(--gold); }
.btn[aria-busy='true'] { opacity: 0.7; cursor: progress; }

/* ---------- header ---------- */

.site-header { position: sticky; top: 0; z-index: 30; background: var(--ink); color: var(--bone); transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.site-header.is-overlay { position: fixed; inset: 0 0 auto; background: linear-gradient(rgb(13 12 10 / 0.6), rgb(13 12 10 / 0)); }
.site-header.is-overlay.is-solid { background: var(--ink); box-shadow: 0 1px 0 var(--line-dark); }
.header-row { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 3.6rem; width: auto; }
.nav { display: none; gap: 2.2rem; margin-left: auto; }
.nav a, .footer-h { font: 500 0.74rem/1 var(--font-text); letter-spacing: 0.18em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 0.5rem 0; border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.header-cta { display: none; min-height: 2.75rem; padding-inline: 1.3rem; }
.menu-btn { margin-left: auto; display: grid; place-items: center; width: 3rem; height: 3rem; background: none; border: 1px solid var(--line-dark); }
.menu-btn .icon, .menu-close .icon { width: 1.4rem; height: 1.4rem; }

.menu { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 6rem 1.5rem 2rem; background: var(--ink); color: var(--bone); }
.menu:popover-open { display: flex; flex-direction: column; gap: 2rem; }
.menu nav { display: grid; gap: 0.25rem; }
.menu nav a { font: 400 2rem/1.3 var(--font-display); text-decoration: none; }
.menu nav a.menu-sub { font: 400 1rem/1.9 var(--font-text); color: var(--bone-dim); padding-left: 1rem; }
.menu nav a:hover { color: var(--gold); }
.menu-close { position: absolute; top: 1.25rem; right: 1rem; width: 3rem; height: 3rem; display: grid; place-items: center; background: none; border: 1px solid var(--line-dark); }

@media (min-width: 64rem) {
  .nav, .header-cta { display: flex; }
  .menu-btn { display: none; }
  .brand img { height: 4.25rem; }
  :root { --header-h: 6.25rem; }
}

/* ---------- hero ---------- */

.hero { position: relative; isolation: isolate; min-height: max(42rem, 100svh); display: grid; grid-template-rows: 1fr auto; background: var(--ink); color: var(--bone); color-scheme: dark; }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 9s cubic-bezier(0.25, 0.1, 0.25, 1); }
.hero-slide.is-active img { transform: scale(1); }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(13 12 10 / 0.5) 0%, rgb(13 12 10 / 0.08) 14%, rgb(13 12 10 / 0.12) 32%, rgb(13 12 10 / 0.74) 45%, rgb(13 12 10 / 0.9) 60%, var(--ink) 100%);
}
@media (min-width: 52rem) {
  .hero::after {
    background:
      linear-gradient(90deg, rgb(13 12 10 / 0.62) 0%, rgb(13 12 10 / 0.36) 38%, rgb(13 12 10 / 0) 66%),
      linear-gradient(180deg, rgb(13 12 10 / 0.5) 0%, rgb(13 12 10 / 0.06) 22%, rgb(13 12 10 / 0.24) 40%, rgb(13 12 10 / 0.8) 66%, rgb(13 12 10 / 0.95) 100%);
  }
}
.hero-content { align-self: end; padding-top: calc(var(--header-h) + 6rem); padding-bottom: 1.75rem; }
/* Hero heading: light geometric capitals, widely tracked (the user's chosen "modern caps" treatment) */
.hero h1 { font: 300 clamp(1.9rem, 1rem + 3.6vw, 4.6rem)/1.12 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; text-shadow: 0 2px 30px rgb(0 0 0 / 0.35); }
.hero-line { display: block; }
.hero-line-gold { color: var(--gold); }
.hero-lede { max-width: 36rem; margin: 1.25rem 0 2.25rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); font-weight: 300; line-height: 1.55; }

.search { position: relative; display: grid; grid-template-columns: 1fr auto; background: var(--ink); border: 1px solid var(--line-dark); }
.field { position: relative; display: grid; gap: 0.3rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line-dark); min-width: 0; }
.field-home { display: none; }
.field-dates { border-right: 1px solid var(--line-dark); }
.dates-btn { justify-self: stretch; text-align: left; background: none; border: 0; padding: 0.2rem 0; font-size: 1rem; color: var(--bone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dates-btn::after { content: ''; position: absolute; inset: 0; }
.search-cal { position: absolute; z-index: 5; left: -1px; bottom: calc(100% + 0.5rem); width: min(22rem, calc(100vw - 2rem)); padding: 1.1rem; border: 1px solid var(--line-dark); box-shadow: 0 18px 48px rgb(0 0 0 / 0.45); }
.search-cal[hidden] { display: none; }
.search-cal-foot { display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line-dark); }
.search-cal-foot p { margin: 0 auto 0 0; font-size: 0.85rem; color: var(--bone-dim); }
.search-cal-foot .btn { min-height: 2.6rem; padding-inline: 1.1rem; }
.field > span, .field-stack > span, .field-row > span, .book-dates span, .quote-head, .footer-h { color: var(--gold); }
.field > span { font: 500 0.72rem/1 var(--font-text); letter-spacing: 0.18em; text-transform: uppercase; }
.field input, .field select { width: 100%; min-width: 0; background: transparent; border: 0; padding: 0.2rem 0; font-size: 1rem; color: var(--bone); outline: none; }
.field select option { background: var(--ink); color: var(--bone); }
.field:focus-within { background: var(--ink-2); box-shadow: inset 0 -2px 0 var(--gold); }
.search > .btn { grid-column: 1 / -1; min-height: 3.5rem; }
.field-guests select { min-width: 3.5rem; }

@media (min-width: 40rem) {
  .search { grid-template-columns: 1.2fr 1.4fr 0.6fr; }
  .field-home { display: grid; border-right: 1px solid var(--line-dark); }
}
@media (min-width: 52rem) {
  .search { grid-template-columns: 1.3fr 1.6fr 0.7fr auto; }
  .field { border-bottom: 0; border-right: 1px solid var(--line-dark); padding: 1rem 1.25rem; }
  .search > .btn { grid-column: auto; min-height: auto; padding-inline: 2rem; }
  .search-cal { left: 0; }
}

.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; }
.hero-caption { display: inline-flex; align-items: center; gap: 0.6rem; font: 400 0.85rem/1.3 var(--font-text); letter-spacing: 0.03em; color: var(--bone-dim); text-decoration: none; transition: color 0.3s, opacity 0.6s var(--ease); }
.hero-caption:hover { color: var(--gold); }
.hero-caption.is-changing { opacity: 0; }
.hero-pause { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 1px solid var(--line-dark); color: var(--bone); }
.hero-pause:hover { border-color: var(--gold); color: var(--gold); }
.hero-pause .icon-play, .hero-pause[aria-pressed='true'] .icon-pause { display: none; }
.hero-pause[aria-pressed='true'] .icon-play { display: block; }

/* ---------- sections ---------- */

.section { padding-block: var(--space-section); }
.section-head { display: grid; gap: 1.25rem 4rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head p { max-width: 38rem; color: var(--text-dim); margin: 0; }
.dark .section-head p { color: var(--bone-dim); }
@media (min-width: 56rem) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; }
}

/* ---------- homes ---------- */

.home-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 3.25rem 1.75rem; grid-template-columns: 1fr; }
.home-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.home-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.home-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 0.6s; }
.home-card a:hover .home-card-media img { transform: scale(1.035); }
.home-card-body { flex: 1; padding-top: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.home-card h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem); line-height: 1.2; transition: color 0.3s; }
.home-card a:hover h3 { color: var(--gold-deep); }
.home-card-sub { display: block; margin-top: 0.2rem; font: 400 1rem/1.4 var(--font-text); color: var(--text-dim); }
.home-card-area { color: var(--gold-deep); font-weight: 500; }
.home-card-facts, .home-card-rating { margin: 0; color: var(--text-dim); font-size: 0.97rem; }
.home-card-facts { display: flex; flex-wrap: wrap; gap: 0.1rem 0.9rem; }
.home-card-facts span { white-space: nowrap; }
.home-card-rating { display: flex; align-items: center; gap: 0.35rem; }
.home-card-rating .icon, .stay-meta .icon, .review-stars .icon, #stay-reviews-title .icon { color: var(--gold); width: 0.95em; height: 0.95em; }
.home-card-rating span { color: var(--text); font-weight: 500; }
.home-card-availability { margin: auto 0 0; padding-top: 0.75rem; font-size: 0.97rem; font-weight: 500; }
.home-card-availability:empty { display: none; }
.home-card[data-state='available'] .home-card-availability { color: var(--text); border-top: 1px solid var(--gold); }
.home-card[data-state='unavailable'] .home-card-availability, .home-card[data-state='loading'] .home-card-availability { border-top: 1px solid var(--line); }
.home-card[data-state='unavailable'] .home-card-media img { filter: grayscale(0.85) brightness(0.92); }
.home-card[data-state='unavailable'] .home-card-availability { color: var(--text-dim); font-weight: 400; }
.home-card[data-state='loading'] .home-card-availability { color: var(--text-dim); font-weight: 400; }

@media (min-width: 40rem) {
  .home-grid { grid-template-columns: repeat(2, 1fr); }
  .home-card.is-feature { grid-column: 1 / -1; }
  .home-card.is-feature .home-card-media { aspect-ratio: 16 / 9; }
}
@media (min-width: 64rem) {
  .home-grid { grid-template-columns: repeat(6, 1fr); }
  .home-card { grid-column: span 2; }
  .home-card.is-feature, .home-card:nth-child(2) { grid-column: span 3; }
  .home-card.is-feature .home-card-media, .home-card:nth-child(2) .home-card-media { aspect-ratio: 3 / 2; }
  .home-grid:not(.is-sorted) .home-card:nth-child(3n):last-child { grid-column: 1 / -1; }
  .home-grid:not(.is-sorted) .home-card:nth-child(3n):last-child .home-card-media { aspect-ratio: 21 / 9; }
  .home-grid:not(.is-sorted) .home-card:nth-child(3n + 1):last-child,
  .home-grid:not(.is-sorted) .home-card:nth-child(3n):nth-last-child(2) { grid-column: span 3; }
  .home-grid:not(.is-sorted) .home-card:nth-child(3n + 1):last-child .home-card-media,
  .home-grid:not(.is-sorted) .home-card:nth-child(3n):nth-last-child(2) .home-card-media { aspect-ratio: 3 / 2; }
}
.home-grid.is-sorted .home-card { grid-column: auto; }
::view-transition-group(*) { animation-duration: 0.6s; animation-timing-function: var(--ease); }
@media (min-width: 64rem) {
  .home-grid.is-sorted { grid-template-columns: repeat(3, 1fr); }
  .home-grid.is-sorted .home-card .home-card-media { aspect-ratio: 4 / 3; }
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .home-grid.is-sorted .home-card.is-feature { grid-column: auto; }
  .home-grid.is-sorted .home-card.is-feature .home-card-media { aspect-ratio: 4 / 3; }
}

.search-status { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1.1rem 0; margin-bottom: 2.5rem; border-block: 1px solid var(--line); }
.search-status[hidden] { display: none; }
.search-status p { margin: 0; font-size: 1.05rem; }

/* ---------- host ---------- */

.host { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.host-grid { display: grid; gap: 3rem; align-items: center; }
.host-media { position: relative; padding: 0 16% 14% 0; }
.host-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.host-photo img, .host-photo-inset img { width: 100%; height: 100%; object-fit: cover; }
.host-photo-inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; overflow: hidden; box-shadow: 0 0 0 1px var(--gold), 0 0 0 0.6rem var(--ink), 0 28px 60px rgb(0 0 0 / 0.55); }
.host-quote { margin: 0 0 2.25rem; }
.host-quote blockquote { margin: 0 0 1rem; }
.host-quote blockquote p { margin: 0; font: 400 clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem)/1.45 var(--font-display); color: var(--bone); max-width: 30rem; }
.host-quote figcaption { display: flex; align-items: center; gap: 0.8rem; }
.host-quote .avatar { width: 2.75rem; height: 2.75rem; background: var(--ink-2); }
.host-quote .review-name { color: var(--bone); }
.host-quote .review-meta { color: var(--bone-dim); }
.host-copy > p { max-width: 34rem; color: var(--bone-dim); font-size: 1.1rem; }
.host-copy h2 { margin-bottom: 1.5rem; max-width: 14ch; }
.credentials { list-style: none; margin: 2rem 0 2.25rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.credentials li { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1.02rem; }
.credentials li:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.credentials li:nth-child(even) { padding-left: 1.25rem; }
.host-pay { font-size: 0.97rem !important; margin-bottom: 2rem; }
@media (min-width: 56rem) {
  .host-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
}

/* ---------- reviews ---------- */

.review-grid { columns: 19rem 3; column-gap: 3rem; }
.review { break-inside: avoid; margin: 0 0 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.review-stars { display: flex; gap: 0.15rem; margin: 0 0 1rem; }
.review blockquote { margin: 0 0 1rem; }
.review blockquote p { font: 400 1.2rem/1.5 var(--font-display); margin: 0; white-space: pre-line; }
.review blockquote[dir='rtl'] p { font-family: 'Geeza Pro', 'Segoe UI', 'Noto Naskh Arabic', serif; font-size: 1.35rem; text-align: right; }
.review-translation { color: var(--text-dim); font-size: 0.92rem; font-style: italic; }
.review figcaption { font-size: 0.9rem; color: var(--text-dim); line-height: 1.5; }
.review-name { color: var(--text); font-weight: 500; }
.review figcaption a { color: var(--gold-deep); }
.review-response { margin: 1rem 0 0; padding: 1rem 0 0 1rem; border-left: 1px solid var(--gold); font-size: 0.92rem; color: var(--text-dim); }
.review-response span { display: block; font: 500 0.72rem/1 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.4rem; }

/* ---------- stay page ---------- */

.stay-head { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-bottom: 2rem; }
.stay-head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); max-width: 22ch; }
.stay-sub { display: block; margin-top: 0.6rem; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.6rem); line-height: 1.3; color: var(--text-dim); }
.stay-facts { margin: 1.25rem 0 0.5rem; font-size: 1.05rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.stay-facts .stay-area { font: 500 0.74rem/1.9 var(--font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); flex-basis: 100%; }
.stay-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; color: var(--text-dim); font-size: 0.95rem; margin: 0; }
.stay-meta a { color: var(--text); font-weight: 500; text-decoration: none; display: inline-flex; gap: 0.35rem; align-items: center; }
.stay-meta a:hover { text-decoration: underline; }

.gallery { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery-item { padding: 0; border: 0; background: var(--paper-2); aspect-ratio: 4 / 3; overflow: hidden; scroll-snap-align: start; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.4s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-all { position: sticky; right: 0; align-self: end; margin: 0 0 0.75rem; grid-row: 1; justify-self: end; min-height: 2.75rem; padding: 0.7rem 1.1rem; border-color: transparent; box-shadow: 0 6px 20px rgb(0 0 0 / 0.18); }
@media (min-width: 48rem) {
  .gallery { grid-auto-flow: row; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(24rem, 46vw, 36rem); overflow: visible; }
  .gallery-item { aspect-ratio: auto; height: 100%; }
  .gallery-item.is-main { grid-row: span 2; }
  .gallery-all { position: absolute; right: 1rem; bottom: 1rem; margin: 0; }
}

.tour { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0 0 4rem; border: 0; background: var(--paper); color: var(--text); overscroll-behavior: contain; }
.tour::backdrop { background: var(--ink); }
.tour-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem max(1rem, (100% - 64rem) / 2); background: var(--paper); border-bottom: 1px solid var(--line); }
.tour-head h2 { font-size: 1.3rem; }
.tour-close { flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--line); background: none; }
.tour-close:hover { border-color: var(--text); }
.tour-rooms { display: flex; gap: 1.5rem; overflow-x: auto; padding: 1rem max(1rem, (100% - 64rem) / 2); scrollbar-width: none; }
.tour-rooms a { flex: none; font-size: 0.9rem; color: var(--text-dim); text-decoration: none; padding-bottom: 0.25rem; border-bottom: 1px solid transparent; }
.tour-rooms a:hover { color: var(--text); border-bottom-color: var(--gold); }
.tour-room { width: min(100% - 2rem, 64rem); margin: 2.5rem auto 0; scroll-margin-top: 6rem; }
.tour-room h3 { margin-bottom: 1rem; }
.tour-photos { display: grid; gap: 0.5rem; }
.tour-photos figure { margin: 0; scroll-margin-top: 6rem; }
.tour-photos img { width: 100%; height: auto; }
@media (min-width: 48rem) {
  .tour-photos { grid-template-columns: 1fr 1fr; }
  .tour-photos figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
}

.stay-body { display: grid; gap: 3rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) var(--space-section); }
@media (min-width: 64rem) {
  .stay-body { grid-template-columns: minmax(0, 1fr) 26rem; gap: clamp(3rem, 5vw, 6rem); align-items: start; }
  .book { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.stay-main { min-width: 0; }
.highlights { list-style: none; margin: 0 0 1rem; padding: 0 0 2.5rem; display: grid; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.highlights li { color: var(--text-dim); max-width: 40rem; }
.highlights strong { display: block; font: 400 1.25rem/1.3 var(--font-display); color: var(--text); margin-bottom: 0.2rem; }
.stay-section { padding-block: 2.5rem; border-bottom: 1px solid var(--line); }
.stay-section:last-child { border-bottom: 0; }
.stay-section h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.25rem); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.6rem; }
.stay-section h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.stay-section > p, .stay-section > h3 + p { max-width: 42rem; }
.amenity-list { list-style: none; margin: 0 0 1.5rem; padding: 0; columns: 2 14rem; column-gap: 2rem; }
.amenity-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.more summary { display: inline-flex; align-items: center; min-height: 3.25rem; padding: 0.9rem 1.7rem; border: 1px solid var(--text); font: 500 0.78rem/1 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; list-style: none; transition: background-color 0.3s, color 0.3s; }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { background: var(--text); color: var(--paper); }
.more[open] summary { margin-bottom: 1rem; }
.amenity-groups, .rules { display: grid; gap: 0.5rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.amenity-groups ul, .rules ul { list-style: none; margin: 0; padding: 0; }
.amenity-groups li, .rules li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.amenity-groups li span, .rules li span { display: block; color: var(--text-dim); font-size: 0.92rem; white-space: pre-line; }
.is-unavailable li { color: var(--text-dim); text-decoration: line-through; text-decoration-color: var(--line); }
.rules h3 { margin-top: 1rem; }
.note { margin-top: 2rem; padding: 1rem 1.25rem; background: var(--paper-2); font-size: 0.97rem; }
.map { aspect-ratio: 16 / 10; background: var(--paper-2); margin-top: 1.5rem; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.6) contrast(1.02); }
.review-list { display: grid; gap: 0 3rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }

/* ---------- booking panel ---------- */

.book { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.book h2 { font-size: 1.85rem; margin-bottom: 0.4rem; }
.book-total { color: var(--bone-dim); margin-bottom: 1.5rem; }
.book-total strong { color: var(--bone); font: 400 1.6rem/1.2 var(--font-display); }
.book-total-note { display: block; font-size: 0.85rem; }
.book-form { display: grid; gap: 1rem; }
.book-step { display: grid; gap: 1rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.book-step[hidden] { display: none; }
.book-step legend { font: 400 1.35rem/1.2 var(--font-display); margin-bottom: 0.5rem; padding: 0; }

.cal-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; margin-bottom: 0.75rem; }
.cal-title { margin: 0; text-align: center; font: 400 1.15rem/1 var(--font-display); }
.cal-nav { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 1px solid var(--line-dark); color: var(--bone); }
.cal-nav:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-months { min-height: 19rem; }
.cal-loading { color: var(--bone-dim); padding-top: 6rem; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { text-align: center; font: 500 0.72rem/2.4 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-dim); }
.cal-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 0; background: none; color: var(--bone); font-size: 0.95rem; font-variant-numeric: tabular-nums; transition: background-color 0.2s, color 0.2s; }
.cal-day:hover:not([aria-disabled='true']) { box-shadow: inset 0 0 0 1px var(--gold); }
.cal-day[aria-disabled='true'] { color: rgb(239 233 221 / 0.28); cursor: default; }
.cal-day.is-booked, .key-booked { background-image: linear-gradient(to top right, transparent calc(50% - 0.5px), rgb(239 233 221 / 0.32) 50%, transparent calc(50% + 0.5px)); }
.cal-day.is-booked:not([aria-disabled='true']) { color: rgb(239 233 221 / 0.6); }
.cal-day.is-range { background: var(--gold-wash); }
.cal-day.is-start, .cal-day.is-end { background: var(--gold); color: var(--ink); font-weight: 500; text-decoration: none; }
.cal-day.is-today::after { content: ''; position: absolute; bottom: 18%; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.cal-day:focus-visible { outline-offset: -2px; }
.cal-key { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin: 0.75rem 0 0; font-size: 0.82rem; color: var(--bone-dim); }
.key-item { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; margin-right: 0.6rem; }
.key-min { flex-basis: 100%; }
.key { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; font-size: 0.75rem; }
.key-booked { color: rgb(239 233 221 / 0.4); }
.key-chosen { background: var(--gold); color: var(--ink); }

.book-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-dark); }
.book-dates p { margin: 0; padding: 0.75rem 1rem; display: grid; gap: 0.2rem; }
.book-dates p + p { border-left: 1px solid var(--line-dark); }
.book-dates span, .field-row > span, .field-stack > span { font: 500 0.72rem/1 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; }
.book-dates output { font-size: 1rem; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; border: 1px solid var(--line-dark); }
.field-row select { background: transparent; border: 0; color: var(--bone); font-size: 1rem; padding: 0.25rem; }
.field-row select option { background: var(--ink); }
.field-stack { display: grid; gap: 0.45rem; }
.field-stack em { font-style: normal; color: var(--bone-dim); text-transform: none; letter-spacing: 0; font-weight: 400; }
.field-stack input, .field-stack textarea { width: 100%; padding: 0.8rem 0.9rem; background: transparent; border: 1px solid var(--line-dark); border-radius: 0; font-size: 1rem; }
.field-stack input:focus, .field-stack textarea:focus { outline: none; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.field-stack input::placeholder { color: rgb(179 171 156 / 0.7); }
.field-stack input:user-invalid { border-color: var(--error-dark); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; font-size: 0.92rem; color: var(--bone-dim); align-items: start; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; }
.check a { color: var(--bone); }

.quote { border-top: 1px solid var(--line-dark); padding-top: 1rem; }
.quote[hidden] { display: none; }
.quote-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; font-size: 0.97rem; color: var(--bone-dim); font-variant-numeric: tabular-nums; }
.quote-row.is-total { margin-top: 0.5rem; padding-top: 0.8rem; border-top: 1px solid var(--line-dark); color: var(--bone); font-weight: 500; font-size: 1.05rem; }
.form-error { margin: 0; color: var(--error-dark); font-size: 0.95rem; }
.form-error:empty { display: none; }
.light .form-error, .admin .form-error { color: var(--error); }
.quote-note { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--bone-dim); }
.book-closed { padding: 1rem; border: 1px solid var(--line-dark); }
.book-closed[hidden] { display: none; }
.book-closed p { margin: 0 0 0.75rem; color: var(--bone-dim); font-size: 0.95rem; }
.status-help { color: var(--text-dim); font-size: 0.95rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.status-help a { color: var(--text); }
.book-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.book-contact a { color: var(--bone); }
.book-contact a:hover { color: var(--gold); }
.book-fine { margin: 1.25rem 0 0; font-size: 0.85rem; color: var(--bone-dim); }

.book-bar { position: fixed; inset: auto 0 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); background: var(--ink); color: var(--bone); border-top: 1px solid var(--line-dark); transform: translateY(0); transition: transform 0.4s var(--ease); }
.book-bar p { margin: 0; font-size: 0.95rem; }
.book-bar strong { font: 400 1.2rem/1 var(--font-display); }
.book-bar .btn { min-height: 2.9rem; padding-inline: 1.2rem; white-space: nowrap; flex: none; }
.book-bar.is-hidden { transform: translateY(110%); }
@media (min-width: 64rem) { .book-bar { display: none; } }
@media (max-width: 63.99rem) { .site-footer { padding-bottom: 5rem; } }

/* ---------- status / admin / prose ---------- */

.status-page { min-height: 60vh; }
.status-page h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); margin-bottom: 1.25rem; }
.status-page .lede { font-size: 1.15rem; color: var(--text-dim); }
.summary { margin: 2rem 0; border-top: 1px solid var(--line); }
.summary div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.summary dt { color: var(--text-dim); }
.summary dd { margin: 0; text-align: right; }
.summary .is-total dd { font: 400 1.4rem/1.2 var(--font-display); }
.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: 0.6rem; }
.spinner { width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-top-color: var(--gold-deep); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 2rem; }
@keyframes spin { to { transform: rotate(1turn); } }

.admin h1 { margin-bottom: 2rem; }
.admin-login { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.admin-login .field-stack input { border-color: var(--line); background: #fff; }
.admin-login .field-stack span { color: var(--gold-deep); }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--text); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 0.68rem/1.2 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
td small { display: block; color: var(--text-dim); }
.pill { display: inline-block; padding: 0.15rem 0.5rem; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid currentColor; }
.pill-confirmed { color: #2f6b3a; }
.pill-conflict { color: var(--error); }
.pill-pending { color: var(--gold-deep); }
.pill-cancelled { color: var(--text-dim); }

.prose h1 { margin-bottom: 2rem; }
.prose h2 { font-size: 1.7rem; margin: 3rem 0 1rem; }
.prose p { color: var(--text-dim); }
.prose a { color: var(--text); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--bone); padding-top: clamp(4rem, 3rem + 4vw, 6rem); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; padding-bottom: 3rem; }
.footer-brand { grid-column: 1 / -1; max-width: 22rem; }
.footer-brand img { width: 15rem; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--bone-dim); }
.footer-h { margin: 0 0 1rem; font-family: var(--font-text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer ul a { color: var(--bone-dim); text-decoration: none; transition: color 0.3s; }
.site-footer ul a:hover { color: var(--gold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--bone-dim); }
.footer-base p { margin: 0; }
@media (min-width: 56rem) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-slide img { transform: none !important; }
}

/* ---------- brand guide ---------- */

.brand-hero { padding: clamp(4rem, 3rem + 5vw, 7rem) 0 clamp(3rem, 2rem + 4vw, 5rem); }
.brand-hero-logo { width: min(26rem, 80%); margin-bottom: 3rem; }
.brand-hero p { max-width: 38rem; color: var(--bone-dim); font-size: 1.15rem; font-weight: 300; margin-top: 1.25rem; }
.brand-alt { background: var(--paper-2); }
.brand-grid { display: grid; gap: 1.5rem 4rem; }
.brand-body > p { max-width: 42rem; color: var(--text-dim); font-size: 1.1rem; }
.dark .brand-body > p, .dark .brand-note { color: var(--bone-dim); }
.brand-aside h2 { font-size: clamp(2rem, 1.7rem + 0.8vw, 2.5rem); }
@media (min-width: 56rem) { .brand-grid { grid-template-columns: 17rem minmax(0, 1fr); } }

.brand-logos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 2.5rem 0; }
.brand-logo-tile { position: relative; margin: 0; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.brand-logo-tile img { width: 72%; }
.brand-logo-tile .tile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.3) saturate(0.8); }
.brand-logo-tile .tile-logo { position: relative; width: 62%; }
.brand-logo-tile .tile-mark { width: 30%; }
.brand-logo-tile figcaption { position: absolute; inset: auto 0 0; padding: 0.75rem 1rem; font-size: 0.82rem; color: var(--bone-dim); background: linear-gradient(transparent, rgb(13 12 10 / 0.85)); }
.brand-rules { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; max-width: 46rem; border-top: 1px solid var(--line); }
.brand-rules li { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--text-dim); }
.brand-rules strong { display: block; color: var(--text); font-weight: 500; }

.swatches { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.swatch { display: grid; gap: 0.3rem; font-size: 0.9rem; }
.swatch-chip { aspect-ratio: 5 / 4; margin-bottom: 0.6rem; border: 1px solid var(--line); }
.swatch-name { font-weight: 500; }
.swatch code { font: 400 0.85rem/1 ui-monospace, 'SF Mono', Consolas, monospace; color: var(--text-dim); }
.swatch-use { color: var(--text-dim); line-height: 1.45; }
.swatch-ink { background: var(--ink); }
.swatch-ink-raised { background: var(--ink-2); }
.swatch-bone { background: var(--bone); }
.swatch-paper { background: var(--paper); }
.swatch-paper-raised { background: var(--paper-2); }
.swatch-text { background: var(--text); }
.swatch-gold { background: var(--gold); }
.swatch-gold-deep { background: var(--gold-deep); }
.swatch-hairline { background: var(--line); }

.specimen { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.specimen:first-child { padding-top: 0; }
.specimen-label, .voice-label { font: 500 0.72rem/1 var(--font-text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.25rem; }
.specimen-label { margin: 0 0 1rem; }
.specimen-hero { font: 300 clamp(1.6rem, 1rem + 2.4vw, 3rem)/1.15 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.specimen-hero span { color: var(--gold-deep); }
.specimen-display { font: 400 clamp(2.6rem, 1.8rem + 3.5vw, 5rem)/1.05 var(--font-display); margin-bottom: 1rem; }
.specimen-text { font-size: 1.35rem; font-weight: 300; line-height: 1.5; max-width: 40rem; }
.specimen-caps { font: 500 0.78rem/1 var(--font-text); letter-spacing: 0.18em; text-transform: uppercase; }
.specimen-note { color: var(--text-dim); max-width: 40rem; margin: 0; }

.brand-photos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.brand-photos figure { margin: 0; }
.brand-photos img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.brand-photos figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-dim); }

.voice { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 2rem; }
.voice p:not(.voice-label) { font: 400 1.15rem/1.45 var(--font-display); }
.voice .is-dont { color: var(--text-dim); text-decoration: line-through; text-decoration-color: var(--error); }

.brand-components { display: grid; gap: 2rem; }
.brand-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.brand-field { border: 1px solid var(--line-dark); min-width: 12rem; }
.brand-cal { gap: 0; }
.brand-cal .cal-day { width: 2.75rem; }
.brand-cal p { margin: 0 0 0 1.25rem; color: var(--bone-dim); font-size: 0.92rem; }
.brand-note { margin: 0; }

/* ---------- reviews with guests ---------- */

.review-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.avatar { flex: none; width: 3.5rem; height: 3.5rem; object-fit: cover; background: var(--paper-2); }
.avatar-initial { display: grid; place-items: center; font: 400 1.4rem/1 var(--font-display); color: var(--gold-deep); }
.review-who { display: grid; gap: 0.1rem; line-height: 1.35; }
.review-name { color: var(--text); font-weight: 500; }
.review-meta { font-size: 0.88rem; color: var(--text-dim); }
.review-translation { margin: 0 0 1rem; font-size: 0.97rem; color: var(--text-dim); white-space: pre-line; }
.review-translation span { display: block; font: 500 0.72rem/1.4 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.25rem; }
.review-home { margin: 0; font-size: 0.9rem; color: var(--text-dim); }
.review-home a { color: var(--gold-deep); }
.section-more { margin: 1rem 0 0; }
.rating-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 0 2rem; margin: 0 0 2rem; border-top: 1px solid var(--line); }
.rating-cats div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.rating-cats dt { color: var(--text-dim); }
.rating-cats dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.host-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 0; }

/* ---------- owners band ---------- */

.owners-band { background: var(--paper-2); }
.owners-band-grid { display: grid; gap: 1.5rem 4rem; align-items: end; }
.owners-band-grid p { max-width: 36rem; color: var(--text-dim); }
.band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.band-actions .btn-line { color: var(--text); }
@media (min-width: 56rem) { .owners-band-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- content pages ---------- */

.page-hero { padding: calc(var(--space-section) * 0.75) 0 calc(var(--space-section) * 0.6); }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.page-hero p { max-width: 40rem; margin: 1.5rem 0 0; color: var(--bone-dim); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); font-weight: 300; line-height: 1.55; }
.section-raised { background: var(--paper-2); }
.split { display: grid; gap: 2.5rem 5rem; align-items: start; }
.split-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; } }
.prose h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.25rem); margin-bottom: 1.25rem; }
.prose p { max-width: 38rem; }
.section-raised h2, .contact-grid h2, .narrow > h2 { margin-bottom: 1.5rem; }
.points { display: grid; gap: 0 3rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.points div { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.points dt { font: 400 clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem)/1.2 var(--font-display); margin-bottom: 0.5rem; }
.points dd { margin: 0; color: var(--text-dim); }
.credentials-light { border-top-color: var(--line); }
.credentials-light li { border-color: var(--line) !important; }
.district-list, .tick-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.district-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.district-list a { font: 400 1.2rem/1.3 var(--font-display); text-decoration: none; }
.district-list a:hover { color: var(--gold-deep); }
.district-list span { color: var(--text-dim); font-size: 0.95rem; }
.tick-list li { position: relative; padding: 0.85rem 0 0.85rem 1.6rem; border-bottom: 1px solid var(--line); }
.tick-list li::before { content: ''; position: absolute; left: 0; top: 1.35rem; width: 0.7rem; height: 1px; background: var(--gold); }
.steps-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0 3rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); border-top: 1px solid var(--line); }
.steps-list li { counter-increment: step; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.steps-list li::before { content: counter(step); display: block; font: 400 1.6rem/1.2 var(--font-display); color: var(--gold-deep); margin-bottom: 0.75rem; }
.steps-list h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem); line-height: 1.2; margin-bottom: 0.5rem; }
.steps-list p { margin: 0; color: var(--text-dim); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; cursor: pointer; list-style: none; font: 400 1.2rem/1.35 var(--font-display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 0.65rem; height: 0.65rem; border-right: 1px solid var(--gold-deep); border-bottom: 1px solid var(--gold-deep); transform: rotate(45deg) translateY(-0.2rem); transition: transform 0.3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-0.2rem); }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item p { margin: 0 0 1.4rem; max-width: 42rem; color: var(--text-dim); }
.contact-grid { display: grid; gap: 0 3rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); border-top: 1px solid var(--line); }
.contact-grid > div { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.contact-grid h2 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem); line-height: 1.2; margin-bottom: 1rem; }
.contact-grid a { color: var(--text); }
.muted { color: var(--text-dim); font-size: 0.95rem; }
.footer-address { margin: 1rem 0 0; color: var(--bone-dim); font-size: 0.92rem; max-width: 16rem; }

/* ---------- icons ---------- */

.icon-xs { width: 0.95rem; height: 0.95rem; }
.icon-s { width: 1.15rem; height: 1.15rem; }
.icon-m { width: 1.4rem; height: 1.4rem; }
.icon-l { width: 1.75rem; height: 1.75rem; }
.field > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.home-card-facts span { display: inline-flex; align-items: center; gap: 0.3rem; }
.home-card-facts .icon { color: var(--gold-deep); }
.stay-facts { align-items: center; gap: 0.5rem 1.4rem; }
.stay-fact { display: inline-flex; align-items: center; gap: 0.45rem; }
.stay-fact .icon { color: var(--gold-deep); }
.highlights li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.highlights .icon { color: var(--gold-deep); margin-top: 0.2rem; }
.amenity-list li { display: flex; align-items: center; gap: 0.9rem; }
.amenity-list .icon { color: var(--gold-deep); }
.amenity-groups li, .rules li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.amenity-groups li .icon, .rules li .icon { margin-top: 0.2rem; color: var(--gold-deep); }
.amenity-groups li small, .rules li small { display: block; color: var(--text-dim); font-size: 0.92rem; white-space: pre-line; }
.credentials li { display: flex; align-items: center; gap: 0.6rem; }
.credentials .icon { color: var(--gold); flex: none; }
.credentials-light .icon { color: var(--gold-deep); }
.points dt { display: grid; gap: 0.9rem; }
.points .icon, .contact-grid h2 .icon { color: var(--gold-deep); }
.contact-grid h2 { display: flex; align-items: center; gap: 0.75rem; }
.icon-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.icon-list li { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.icon-list .icon { color: var(--gold-deep); }
.book-fine { display: flex; gap: 0.5rem; align-items: flex-start; }
.book-fine .icon { margin-top: 0.2rem; color: var(--gold); }

/* ---------- home card galleries ---------- */

.home-card { display: flex; flex-direction: column; }
.home-card-media { position: relative; }
.card-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.card-track::-webkit-scrollbar { display: none; }
.card-track a { flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; }
.card-track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.home-card:hover .card-track img { transform: scale(1.035); }
.card-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; background: rgb(248 247 244 / 0.92); color: var(--text); opacity: 0; transition: opacity 0.3s var(--ease), background-color 0.3s; }
.card-prev { left: 0.75rem; }
.card-next { right: 0.75rem; }
.home-card:hover .card-nav, .card-nav:focus-visible { opacity: 1; }
.card-nav:hover { background: var(--gold); }
.card-nav[disabled] { opacity: 0 !important; pointer-events: none; }
.card-dots { position: absolute; left: 50%; bottom: 0.8rem; translate: -50% 0; display: flex; gap: 0.35rem; pointer-events: none; }
.card-dots span { width: 6px; height: 6px; background: rgb(248 247 244 / 0.55); transition: background-color 0.3s, transform 0.3s var(--ease); }
.card-dots span.is-on { background: var(--paper); transform: scale(1.35); }
@media (hover: none) { .card-nav { display: none; } }
.home-card-body { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; padding-top: 1.25rem; text-decoration: none; }
.home-card-body:hover h3 { color: var(--gold-deep); }

/* ---------- inside our homes ---------- */

.mosaic { display: grid; gap: 0.6rem; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mosaic::-webkit-scrollbar { display: none; }
.mosaic-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; scroll-snap-align: start; color: var(--bone); text-decoration: none; background: var(--ink-2); }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.mosaic-tile:hover img { transform: scale(1.05); }
.mosaic-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgb(13 12 10 / 0.75)); }
.mosaic-cap { position: absolute; z-index: 1; left: 1rem; bottom: 0.9rem; font: 500 0.74rem/1.3 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; }
@media (min-width: 56rem) {
  .mosaic { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, clamp(11rem, 16vw, 15rem)); grid-template-areas: "a a b c" "a a d d" "e f g g"; }
  .mosaic-tile { aspect-ratio: auto; }
  .tile-1 { grid-area: a; } .tile-2 { grid-area: b; } .tile-3 { grid-area: c; } .tile-4 { grid-area: d; }
  .tile-5 { grid-area: e; } .tile-6 { grid-area: f; } .tile-7 { grid-area: g; }
}

/* ---------- where you will stay (map) ---------- */

.where-grid { display: grid; gap: 2.5rem 4rem; align-items: stretch; }
.where-copy h2 { margin-bottom: 1.25rem; }
.where-copy > p { color: var(--text-dim); max-width: 30rem; }
.where-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.where-list li { border-bottom: 1px solid var(--line); }
.where-list a { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 0; text-decoration: none; transition: color 0.3s, transform 0.4s var(--ease); }
.where-list a:hover, .where-list a:focus-visible { color: var(--gold-deep); transform: translateX(0.4rem); }
.where-list .icon { color: var(--gold-deep); flex: none; }
.where-list strong { font-weight: 500; margin-right: 0.4rem; color: var(--text); }
.where-list span { color: var(--text-dim); }
.map-frame { min-height: 26rem; background: var(--ink); }
.homes-map { width: 100%; height: 100%; min-height: 26rem; background: var(--ink); }
.homes-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) grayscale(1) brightness(0.92) contrast(0.9); }
.homes-map .leaflet-control-attribution { background: rgb(13 12 10 / 0.75); color: var(--bone-dim); font-size: 0.72rem; }
.homes-map .leaflet-control-attribution a { color: var(--bone); }
.homes-map .leaflet-control-zoom a { background: var(--ink); color: var(--bone); border-color: var(--line-dark); border-radius: 0; }
.homes-map .leaflet-bar { border-radius: 0; border: 1px solid var(--line-dark); box-shadow: none; }
.map-pin { display: grid; place-items: center; width: 38px; height: 38px; background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgb(0 0 0 / 0.45); transition: transform 0.3s var(--ease), background-color 0.3s; }
.map-pin .icon { width: 1.2rem; height: 1.2rem; }
.map-pin.is-active, .leaflet-marker-icon:hover .map-pin { background: var(--gold-bright); transform: translateY(-4px) scale(1.08); }
.homes-map .leaflet-popup-content-wrapper { border-radius: 0; background: var(--ink); color: var(--bone); padding: 0; box-shadow: 0 18px 48px rgb(0 0 0 / 0.5); }
.homes-map .leaflet-popup-content { margin: 0; width: 15rem !important; font: inherit; }
.homes-map .leaflet-popup-tip { background: var(--ink); }
.homes-map .leaflet-popup-close-button { color: var(--bone) !important; }
.map-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.map-card div { padding: 0.9rem 1rem 1rem; display: grid; gap: 0.25rem; }
.map-card strong { font: 400 1.15rem/1.2 var(--font-display); }
.map-card span { font-size: 0.85rem; color: var(--bone-dim); }
.map-card a { color: var(--gold); font-size: 0.85rem; margin-top: 0.35rem; }
@media (min-width: 56rem) { .where-grid { grid-template-columns: 0.8fr 1.2fr; } .map-frame, .homes-map { min-height: 34rem; } }

/* ---------- photo-led page heroes and strips ---------- */

.page-hero.has-photo { position: relative; isolation: isolate; min-height: clamp(26rem, 62vh, 40rem); display: grid; align-items: end; padding: 0; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(13 12 10 / 0.7), rgb(13 12 10 / 0.25) 70%), linear-gradient(180deg, rgb(13 12 10 / 0.15), rgb(13 12 10 / 0.8)); }
.page-hero.has-photo .page-hero-copy { padding-block: 6rem calc(var(--space-section) * 0.55); }
.page-hero.has-photo p { color: var(--bone); }
.section-strip { padding-block: 0 var(--space-section); }
.photo-strip { display: grid; gap: 0.6rem; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; background: var(--paper-2); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 56rem) { .photo-strip { grid-auto-flow: row; grid-template-columns: 1fr 1.4fr 1fr; overflow: visible; } .photo-strip figure:nth-child(2) { aspect-ratio: auto; } }

/* ---------- motion ---------- */
/* One grammar: things rise and photographs unveil as they enter. Content is visible without animation support. */

@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes drift { from { transform: scale(1.14) translateY(-3%); } to { transform: scale(1.04) translateY(3%); } }
@keyframes pin-drop { 0% { opacity: 0; transform: translateY(-36px); } 60% { opacity: 1; transform: translateY(4px); } 100% { transform: translateY(0); } }
@keyframes rule { from { transform: scaleX(0); } }

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-lede, .search, .hero-foot, .page-hero-copy h1, .page-hero-copy p { animation: rise 1.1s var(--ease) both; }
  .hero-lede, .page-hero-copy p { animation-delay: 0.15s; }
  .search { animation-delay: 0.3s; }
  .hero-foot { animation-delay: 0.45s; }
  .page-hero-media img { animation: settle 2.4s var(--ease) both; }
  .map-pin { animation: pin-drop 0.8s var(--ease) both; animation-delay: var(--delay, 0s); }

  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
    .reveal-wipe { animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .mosaic-tile img, .photo-strip img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    .section-head.reveal h2::after { content: ""; display: block; width: 3.5rem; height: 1px; margin-top: 1.25rem; background: var(--gold); transform-origin: left; animation: rule linear both; animation-timeline: view(); animation-range: entry 20% cover 35%; }
  }
}

/* ---------- review slider (home) ---------- */

.review-slider { --gap: 1.25rem; }
.slider-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 0.25rem; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.review-slide { flex: 0 0 86%; scroll-snap-align: start; display: flex; flex-direction: column; margin: 0; padding: 1.75rem; border: 1px solid var(--line); border-top: 2px solid var(--gold); background: #fff; }
@media (min-width: 40rem) { .review-slide { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (min-width: 64rem) { .review-slide { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
.review-slide .review-text { margin: 0; }
.review-slide .review-text p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.review-slide.is-open .review-text p { display: block; -webkit-line-clamp: unset; line-clamp: unset; }
.review-more { align-self: flex-start; margin-top: 0.5rem; font-size: 0.92rem; color: var(--gold-deep); }
.review-more[hidden] { display: none; }
.review-foot { display: grid; gap: 0.3rem; margin: auto 0 0; padding-top: 1.25rem; font-size: 0.88rem; color: var(--text-dim); }
.review-foot-label { font: 500 0.72rem/1.4 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.review-foot a { color: var(--gold-deep); }
.slider-bar { position: relative; height: 1px; margin-top: 1.75rem; background: var(--line); }
.slider-bar::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.4s var(--ease); }
.slider-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.slider-btn { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--text); background: transparent; color: var(--text); transition: background-color 0.3s, color 0.3s, opacity 0.3s; }
.slider-btn:hover:not(:disabled) { background: var(--text); color: var(--paper); }
.slider-btn:disabled { opacity: 0.3; cursor: default; }
.slider-count { margin: 0 0.5rem; font-variant-numeric: tabular-nums; color: var(--text-dim); font-size: 0.95rem; min-width: 5.5rem; text-align: center; }
.slider-all { margin-left: auto; color: var(--text); }
