/* ======================================================================
   סלע — צימרי בוטיק בגליל
   Warm earthy editorial: limestone / olive-charcoal ink / terracotta / sage
   ====================================================================== */

:root {
  /* Color */
  --limestone:    #F3ECE1;
  --surface:      #FBF7F1;
  --stone:        #EAE0D0;
  --stone-deep:   #DFD2BE;
  --ink:          #262922;
  --ink-muted:    #5C5F53;
  --ink-soft:     #8A8B7D;
  --hairline:     rgba(38, 41, 34, 0.12);
  --hairline-strong: rgba(38, 41, 34, 0.22);
  --terra:        #BD6B43;
  --terra-deep:   #9E5535;
  --terra-tint:   #F0DFD2;
  --sage:         #7C8A6B;
  --dark:         #20211C;
  --dark-2:       #2C2D25;
  --success:      #1FA971;
  --danger:       #D2484D;

  /* Type */
  --font-serif: 'Frank Ruhl Libre', serif;
  --font-sans:  'Assistant', -apple-system, sans-serif;
  --font-latin: 'Cormorant Garamond', serif;

  /* Spacing */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radius — slightly squarer than Aurelia: editorial, grounded */
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 9999px;

  /* Shadows — warm, grounded */
  --shadow-rest:  0 1px 2px rgba(38,41,34,0.05), 0 14px 36px -16px rgba(38,41,34,0.14);
  --shadow-float: 0 2px 4px rgba(38,41,34,0.06), 0 30px 70px -24px rgba(38,41,34,0.24);
  --shadow-cta:   0 10px 26px -10px rgba(158,85,53,0.55), inset 0 1px 0 rgba(255,255,255,0.22);

  /* Motion */
  --t-micro:   180ms cubic-bezier(0.32, 0.72, 0, 1);
  --t-default: 480ms cubic-bezier(0.22, 1, 0.36, 1);
  --t-macro:   800ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w: 1240px;
  --max-w-narrow: 800px;
  --nav-h: 76px;
}

/* ──────────────────────────── Reset / base ──────────────────────────── */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--limestone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* author display values (grid/flex) must never defeat the hidden attribute */
[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
a { color: var(--terra-deep); text-decoration: none; transition: color var(--t-micro); }
a:hover { color: var(--ink); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

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

.sr-skip {
  position: fixed; top: -64px; inset-inline-start: 16px; z-index: 300;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-sm);
  transition: top var(--t-micro);
}
.sr-skip:focus-visible { top: 16px; color: #fff; }

/* ──────────────────────────── Scroll progress ──────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 260;
  pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(to left, var(--terra), var(--sage));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: right;
}

/* ──────────────────────────── Layout primitives ──────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s-5); }
.container-narrow { max-width: var(--max-w-narrow); }
.section { padding: var(--s-10) 0; position: relative; }
.section-stone { background: linear-gradient(180deg, var(--limestone) 0%, var(--stone) 30%, var(--stone) 70%, var(--limestone) 100%); }
.section-dark { background: var(--dark); color: var(--limestone); }
@media (max-width: 768px) { .section { padding: var(--s-8) 0; } }

.section-head { text-align: center; margin: 0 auto var(--s-8); max-width: 720px; }
.section-head-start { text-align: start; margin-inline: 0; }
.section-head .lead { color: var(--ink-muted); font-size: 19px; margin-top: var(--s-4); }
@media (max-width: 768px) {
  .section-head { margin-bottom: var(--s-7); }
  .section-head .lead { font-size: 17px; }
}

/* ──────────────────────────── Typography ──────────────────────────── */
.sec-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-latin); font-style: italic;
  font-size: 17px; letter-spacing: 0.12em;
  color: var(--sage);
  margin-bottom: var(--s-4);
}
.sec-label::after { content: ''; width: 44px; height: 1px; background: var(--sage); opacity: .55; }
.sec-label-light { color: #B9C2A8; }
.sec-label-light::after { background: #B9C2A8; }

.latin-eyebrow {
  display: block;
  font-family: var(--font-latin); font-style: italic;
  font-size: 19px; letter-spacing: 0.16em;
  color: #E8D9B8;
  margin-bottom: var(--s-4);
}

/* Editorial: heavier serif weights than Aurelia's delicate 500 */
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 700; line-height: 1.18; letter-spacing: -0.01em;
}
.h2 em { font-style: normal; color: var(--terra-deep); }
.h2-light { color: var(--limestone); }
.h2-light em { color: #D89A72; }
.h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 700; line-height: 1.3; }
.h3-light { color: var(--limestone); }

/* ──────────────────────────── Buttons ──────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  padding: 15px 32px;
  border-radius: var(--r-full);
  transition: box-shadow var(--t-micro), background var(--t-micro), border-color var(--t-micro), color var(--t-micro);
  white-space: nowrap;
  will-change: transform;
}
.btn-primary { background: var(--terra-deep); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--hairline-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: 17px 40px; font-size: 17px; }

/* ──────────────────────────── Nav ──────────────────────────── */
.nav-wrap {
  position: fixed; top: 14px; inset-inline: 0; z-index: 100;
  padding: 0 var(--s-4);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), opacity 480ms ease;
}
.nav-wrap.nav-hidden { transform: translateY(-130%); opacity: 0; }
.nav {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 10px 14px 10px 10px;
  background: rgba(243,236,225,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-rest);
}
.nav-logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.nav-logo:hover { color: var(--ink); }
.nav-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); color: #E8D9B8;
}
.nav-mark svg { width: 24px; height: 24px; }
.nav-word { display: flex; flex-direction: column; line-height: 1.2; font-family: var(--font-serif); font-weight: 700; font-size: 19px; }
.nav-word span { font-family: var(--font-sans); font-weight: 500; font-size: 12px; color: var(--ink-soft); }

.nav-links { display: flex; gap: var(--s-2); }
.nav-links a {
  display: inline-block; padding: 8px 14px; border-radius: var(--r-full);
  color: var(--ink-muted); font-weight: 500; font-size: 15.5px;
}
.nav-links a:hover { color: var(--ink); background: var(--stone); }

.nav-cta { display: flex; align-items: center; gap: var(--s-3); }
.nav-btn { padding: 12px 24px; font-size: 15px; }

.menu-toggle {
  display: none; position: relative;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--hairline-strong);
}
.menu-toggle span {
  position: absolute; inset-inline: 12px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t-default), top var(--t-default);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links, .nav-btn { display: none; }
  .menu-toggle { display: block; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(243,236,225,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid; place-items: center;
  opacity: 0; transition: opacity 420ms var(--t-default);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { display: grid; gap: var(--s-5); text-align: center; }
.mobile-menu li {
  opacity: 0; transform: translateY(16px);
  transition: opacity 500ms var(--t-default) var(--d, 0ms), transform 500ms var(--t-default) var(--d, 0ms);
}
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu a { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--ink); }
.mobile-menu a:hover { color: var(--terra-deep); }
.mobile-menu .m-cta { color: var(--terra-deep); }

/* ──────────────────────────── Hero — cinematic dark ──────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 48px) 0 0;
  overflow: hidden;
  background: var(--dark);
  color: var(--limestone);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media > img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 1.2s var(--t-macro);
}
.hero.has-3d .hero-media > img { opacity: 0; }
#diorama-mount {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0; transition: opacity 1.4s var(--t-macro);
}
.hero.has-3d #diorama-mount { opacity: 1; }
#diorama-mount canvas { width: 100%; height: 100%; display: block; }

/* CSS twinkle fallback (mobile / reduced motion / no WebGL) */
.hero-twinkles { position: absolute; inset: 0; pointer-events: none; }
.hero.has-3d .hero-twinkles { display: none; }
.hero-twinkles i {
  position: absolute;
  width: 4px; height: 4px; border-radius: 50%;
  background: #FFD98E;
  box-shadow: 0 0 8px 2px rgba(255,205,120,0.55);
  opacity: 0;
  animation: twinkle 4.6s ease-in-out infinite;
}
.hero-twinkles i:nth-child(1) { top: 26%; inset-inline-start: 14%; animation-delay: 0s; }
.hero-twinkles i:nth-child(2) { top: 42%; inset-inline-start: 30%; animation-delay: 0.7s; }
.hero-twinkles i:nth-child(3) { top: 30%; inset-inline-start: 56%; animation-delay: 1.3s; }
.hero-twinkles i:nth-child(4) { top: 52%; inset-inline-start: 72%; animation-delay: 1.9s; }
.hero-twinkles i:nth-child(5) { top: 22%; inset-inline-start: 84%; animation-delay: 2.5s; }
.hero-twinkles i:nth-child(6) { top: 60%; inset-inline-start: 44%; animation-delay: 3.1s; }
.hero-twinkles i:nth-child(7) { top: 38%; inset-inline-start: 8%; animation-delay: 3.6s; }
.hero-twinkles i:nth-child(8) { top: 48%; inset-inline-start: 92%; animation-delay: 4.1s; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: translateY(0); }
  45% { opacity: 0.9; }
  60% { opacity: 0.5; transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .hero-twinkles i { animation: none; opacity: 0.55; } }

/* DOM scrim lives above canvas AND image — WCAG text contrast either way */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(22,23,18,0.88) 0%, rgba(22,23,18,0.42) 34%, rgba(22,23,18,0.08) 60%, rgba(22,23,18,0.25) 100%);
}

.hero-copy {
  position: relative; z-index: 3;
  padding-bottom: 132px;
  max-width: var(--max-w);
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(52px, 9vw, 110px);
  font-weight: 900; line-height: 1.04; letter-spacing: -0.015em;
  margin-bottom: var(--s-5);
  text-wrap: balance;
}
.h1-line { display: block; }
.hero-h1 em { font-style: normal; color: #D89A72; }
.hero-sub {
  font-size: 19.5px; color: rgba(243,236,225,0.86);
  max-width: 520px;
  margin-bottom: var(--s-6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }

.hero-foot {
  position: absolute; bottom: 0; inset-inline: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--s-4); padding-bottom: var(--s-5);
  border-top: 1px solid rgba(243,236,225,0.18);
  color: rgba(243,236,225,0.65); font-size: 13.5px;
  left: 50%; transform: translateX(-50%);
}
.hero-scroll-hint { display: inline-flex; align-items: center; gap: 10px; }
.hero-scroll-hint i {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(243,236,225,0.7), transparent);
  animation: hint-drop 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes hint-drop { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-hint i { animation: none; } }
.hero-foot-meta { font-family: var(--font-latin); font-style: italic; letter-spacing: 0.14em; }

@media (max-width: 768px) {
  .hero-copy { padding-bottom: 110px; }
  .hero-h1 { font-size: clamp(46px, 13vw, 64px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-foot-meta { display: none; }
}

/* ──────────────────────────── Intro ──────────────────────────── */
.intro-sec { padding-bottom: var(--s-9); }
.intro-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500; line-height: 1.65;
  max-width: 720px;
}
.intro-text .word { display: inline-block; }

/* ──────────────────────────── Suites ──────────────────────────── */
.suites-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  align-items: stretch;
}
.suite-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-rest);
  transition: box-shadow var(--t-default), transform var(--t-default), border-color var(--t-default);
}
.suite-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); border-color: rgba(189,107,67,0.4); }
.suite-media { aspect-ratio: 4 / 3; overflow: hidden; }
.suite-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--t-macro);
}
.suite-card:hover .suite-media img { transform: scale(1.06); }
.suite-body { display: flex; flex-direction: column; flex: 1; padding: var(--s-5) var(--s-5) var(--s-6); }
.suite-body .h3 { margin-bottom: var(--s-2); }
.suite-body > p { color: var(--ink-muted); font-size: 15.5px; margin-bottom: var(--s-4); }
.suite-amen { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-5); }
.suite-amen li {
  font-size: 13px; font-weight: 600; color: var(--ink-muted);
  padding: 4px 12px;
  background: var(--stone);
  border-radius: var(--r-full);
}
.suite-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: var(--s-4);
}
.suite-price { font-family: var(--font-serif); font-weight: 700; font-size: 16px; color: var(--terra-deep); }
.suite-link { font-size: 14.5px; font-weight: 600; }
@media (max-width: 960px) { .suites-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ──────────────────────────── Velocity marquee ──────────────────────────── */
.marquee-band {
  padding: var(--s-7) 0;
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  background: var(--surface);
}
.marquee-track {
  display: flex; white-space: nowrap;
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(40px, 6.4vw, 76px);
  color: var(--stone-deep);
  will-change: transform;
}
.marquee-track span { display: inline-block; padding-inline-end: 0.5em; }
@media (prefers-reduced-motion: reduce) { .marquee-track { color: var(--terra); opacity: 0.45; } }

/* ──────────────────────────── Experience (dark) ──────────────────────────── */
.xp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.xp-item { display: flex; flex-direction: column; }
.xp-media {
  aspect-ratio: 7 / 5; overflow: hidden;
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
}
.xp-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--t-macro);
}
.xp-item:hover .xp-media img { transform: scale(1.05); }
.xp-item .h3 { margin-bottom: var(--s-2); }
.xp-item p { color: rgba(243,236,225,0.72); font-size: 15.5px; }
@media (max-width: 960px) { .xp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .xp-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ──────────────────────────── Gallery — sticky horizontal ──────────────────────────── */
/* Baseline (mobile / reduced motion / no JS): a scroll-snap rail. */
.gallery-sec { padding: var(--s-10) 0; }
.gallery-head { margin-bottom: var(--s-7); }
.gallery-track {
  display: flex; align-items: center; gap: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--s-2) var(--s-5) var(--s-5);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--stone-deep) transparent;
}
.g-frame {
  position: relative; flex: none;
  width: min(560px, 78vw);
  scroll-snap-align: center;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-rest);
  cursor: zoom-in;
}
.g-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9 / 6.4; }
.g-tall { width: min(380px, 64vw); }
.g-tall img { aspect-ratio: 7 / 9; }
.g-frame figcaption {
  position: absolute; bottom: 12px; inset-inline-start: 14px;
  font-size: 13px; font-weight: 600;
  color: #fff; background: rgba(32,33,28,0.55);
  padding: 5px 13px; border-radius: var(--r-full);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .gallery-sec { padding: var(--s-8) 0 var(--s-7); }
  .gallery-head { margin-bottom: var(--s-5); }
}

/* GSAP layer upgrades to a sticky pinned-feel pan (CSS sticky, no GSAP pin) */
.gallery-sec.gallery-fx { height: 300vh; padding: 0; }
.gallery-sec.gallery-fx .gallery-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: var(--s-7) 0;
}
.gallery-sec.gallery-fx .gallery-track {
  overflow: visible;
  scroll-snap-type: none;
  will-change: transform;
}

/* ──────────────────────────── Lightbox (Flip) ──────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 240;
  display: grid; place-items: center;
  background: rgba(22,23,18,0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: var(--s-6);
}
.lightbox-figure { position: relative; max-width: min(1480px, 92vw); max-height: 86vh; border-radius: var(--r-lg); overflow: hidden; }
.lightbox-figure img { width: 100%; height: 100%; max-height: 86vh; object-fit: contain; }
.lightbox-figure figcaption {
  position: absolute; bottom: 14px; inset-inline-start: 16px;
  font-size: 14px; font-weight: 600;
  color: #fff; background: rgba(32,33,28,0.6);
  padding: 6px 15px; border-radius: var(--r-full);
}
.lightbox-close {
  position: absolute; top: 22px; inset-inline-start: 22px;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(243,236,225,0.14); color: #fff;
  font-size: 26px; line-height: 1;
  transition: background var(--t-micro), transform var(--t-micro);
}
.lightbox-close:hover { background: rgba(243,236,225,0.28); transform: scale(1.06); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(243,236,225,0.14); color: #fff;
  font-size: 30px; line-height: 1; padding-bottom: 4px;
  transition: background var(--t-micro), transform var(--t-micro);
}
.lightbox-nav:hover { background: rgba(243,236,225,0.28); transform: translateY(-50%) scale(1.06); }
.lightbox-prev { inset-inline-start: 22px; }
.lightbox-next { inset-inline-end: 22px; }
.lightbox-count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(243,236,225,0.85);
  background: rgba(32,33,28,0.55);
  padding: 5px 16px; border-radius: var(--r-full);
}
@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; top: auto; bottom: 18px; transform: none; }
  .lightbox-nav:hover { transform: scale(1.06); }
  .lightbox-count { bottom: 30px; }
}

/* warm grade for the cool-leaning dusk photography — must hold up in the
   lightbox and gallery rail too, so it travels on the <img> itself */
.img-warm { filter: sepia(0.3) saturate(1.22) hue-rotate(-8deg) brightness(1.02); }

/* ──────────────────────────── Location ──────────────────────────── */
.location-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-8); align-items: center;
}
.location-text p { color: var(--ink-muted); margin-bottom: var(--s-5); max-width: 520px; }
.location-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-6); max-width: 520px; }
.location-list li {
  display: flex; flex-direction: column;
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-rest);
}
.location-list strong { font-family: var(--font-serif); font-weight: 700; font-size: 17px; }
.location-list span { font-size: 14px; color: var(--ink-muted); }
.location-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-float); }
.location-media img { width: 100%; height: 100%; object-fit: cover; }
.location-caption {
  position: absolute; bottom: 14px; inset-inline-start: 16px;
  font-family: var(--font-latin); font-style: italic;
  font-size: 14px; letter-spacing: 0.1em;
  color: #fff; background: rgba(32,33,28,0.55);
  padding: 5px 14px; border-radius: var(--r-full);
}
@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .location-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .location-list { grid-template-columns: 1fr; } }

/* ──────────────────────────── Testimonials ──────────────────────────── */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: start; }
.t-card {
  position: relative;
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-rest);
}
.t-card::before {
  content: '”';
  position: absolute; top: 4px; inset-inline-start: 22px;
  font-family: var(--font-serif);
  font-size: 64px; line-height: 1;
  color: var(--terra-tint);
}
.t-elevate { box-shadow: var(--shadow-float); border-color: rgba(189,107,67,0.35); }
.t-card blockquote { position: relative; font-size: 16px; padding-top: var(--s-5); margin-bottom: var(--s-5); }
.t-card figcaption { display: flex; align-items: center; gap: var(--s-3); }
.t-avatar {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); color: #E8D9B8;
  font-family: var(--font-serif); font-weight: 700; font-size: 18px;
}
.t-who { display: flex; flex-direction: column; line-height: 1.35; }
.t-who strong { font-size: 15px; }
.t-who span { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ──────────────────────────── FAQ ──────────────────────────── */
.faq { display: grid; gap: var(--s-3); }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-rest);
  transition: border-color var(--t-micro);
}
.faq-item.is-open { border-color: rgba(189,107,67,0.4); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5);
  font-family: var(--font-serif);
  font-weight: 700; font-size: 18.5px;
  text-align: start;
}
.faq-chev {
  flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--terra-tint); color: var(--terra-deep);
  font-size: 18px;
  transition: transform var(--t-default), background var(--t-micro);
}
.faq-item.is-open .faq-chev { transform: rotate(45deg); background: var(--stone-deep); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-default); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > p { overflow: hidden; color: var(--ink-muted); padding: 0 var(--s-5); }
.faq-item.is-open .faq-a > p { padding-bottom: var(--s-5); }

/* ──────────────────────────── Booking CTA ──────────────────────────── */
.cta-sec { padding-top: var(--s-8); }
.cta-card {
  position: relative;
  background:
    radial-gradient(110% 150% at 88% -10%, rgba(189,107,67,0.28), transparent 52%),
    radial-gradient(80% 120% at 0% 110%, rgba(124,138,107,0.22), transparent 55%),
    linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}
.cta-inner { position: relative; padding: var(--s-9) var(--s-8); }
.cta-head { max-width: 640px; margin-bottom: var(--s-7); }
.cta-head p { color: rgba(243,236,225,0.75); font-size: 18px; margin-top: var(--s-4); }
.cta-em { color: #D89A72; }

.cta-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--s-8); align-items: start;
}
.cta-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-5); }
.cta-field { display: flex; flex-direction: column; gap: 8px; }
.cta-field-full { grid-column: 1 / -1; }
.cta-field span { font-size: 14px; font-weight: 500; color: rgba(243,236,225,0.85); }
.cta-field input, .cta-field select {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(243,236,225,0.34);
  background: rgba(243,236,225,0.14);
  color: var(--limestone);
  transition: border-color var(--t-micro), background var(--t-micro);
}
.cta-field input::placeholder { color: rgba(243,236,225,0.5); }
.cta-field input[type="date"] { color-scheme: dark; }
.cta-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D89A72' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 18px;
  /* RTL: chevron sits at the inline-end (left); pad that side for it */
  padding-inline-start: 16px; padding-inline-end: 42px;
}
.cta-field select option { color: var(--ink); background: #fff; }
.cta-field input:focus-visible, .cta-field select:focus-visible {
  outline: 2px solid #D89A72; outline-offset: 0;
  background: rgba(243,236,225,0.2);
}
.cta-field input.is-error { border-color: var(--danger); }

.cta-actions {
  grid-column: 1 / -1;
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-5);
  margin-top: var(--s-3);
}
.cta-micro { font-size: 14px; color: rgba(243,236,225,0.6); }
.cta-micro a { color: #D89A72; }
.cta-micro a:hover { color: #fff; }

.cta-aside {
  display: flex; flex-direction: column; gap: var(--s-5);
  padding-inline-start: var(--s-7);
  border-inline-start: 1px solid rgba(243,236,225,0.16);
  color: rgba(243,236,225,0.85);
}
.cta-aside-block h3 {
  font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: var(--limestone);
  margin-bottom: var(--s-2);
}
.cta-aside-block p { font-size: 15px; line-height: 1.7; color: rgba(243,236,225,0.72); }
.cta-hours { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.cta-hours li { display: flex; justify-content: space-between; gap: var(--s-4); color: rgba(243,236,225,0.72); }
.cta-hours li span { color: rgba(243,236,225,0.9); font-weight: 500; }
.cta-trust { display: flex; flex-direction: column; gap: 10px; margin-top: var(--s-2); }
.cta-trust li {
  position: relative; padding-inline-start: 26px;
  font-size: 14px; color: rgba(243,236,225,0.78);
}
.cta-trust li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(216,154,114,0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D89A72' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l5 5 9-11'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 9px;
}

.cta-success { text-align: center; padding: var(--s-6) 0; color: var(--limestone); }
.cta-success-mark {
  display: grid; place-items: center; margin: 0 auto var(--s-4);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(31,169,113,0.16); color: #6EE7A8;
}
.cta-success-mark svg { width: 40px; height: 40px; }
.cta-success h3 { font-family: var(--font-serif); font-weight: 700; font-size: 28px; margin-bottom: var(--s-2); }
.cta-success p { color: rgba(243,236,225,0.75); margin-bottom: var(--s-5); }

@media (max-width: 960px) {
  .cta-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .cta-aside {
    padding-inline-start: 0; border-inline-start: 0;
    padding-top: var(--s-5); border-top: 1px solid rgba(243,236,225,0.16);
  }
}
@media (max-width: 768px) {
  .cta-inner { padding: var(--s-7) var(--s-5); }
  .cta-form { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
}

/* ──────────────────────────── Footer ──────────────────────────── */
.footer { border-top: 1px solid var(--hairline); padding: var(--s-8) 0 var(--s-6); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
.footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-weight: 700; font-size: 19px;
  color: var(--ink); margin-bottom: var(--s-3);
}
.footer-logo .nav-mark { width: 38px; height: 38px; }
.footer-logo .nav-mark svg { width: 20px; height: 20px; }
.footer-brand p { color: var(--ink-muted); font-size: 15px; max-width: 280px; }
.footer-latin { font-family: var(--font-latin); font-style: italic; font-size: 16px; letter-spacing: 0.1em; color: var(--ink-soft); margin-top: var(--s-3); }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: var(--s-3); }
.footer ul { display: grid; gap: var(--s-2); }
.footer ul a, .footer-static { color: var(--ink-muted); font-size: 15px; }
.footer ul a:hover { color: var(--terra-deep); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid var(--hairline);
  color: var(--ink-soft);
}
.footer-bottom small { font-size: 13px; }
.footer-bottom small[dir="ltr"] { font-family: var(--font-latin); font-style: italic; letter-spacing: 0.14em; font-size: 13px; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ──────────────────────────── Accessibility widget ──────────────────────────── */
.a11y-toggle {
  position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 200;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-float);
  transition: transform var(--t-micro);
}
.a11y-toggle:hover { transform: scale(1.06); }
.a11y-toggle svg { width: 24px; height: 24px; }
.a11y-panel {
  position: fixed; bottom: 80px; inset-inline-start: 20px; z-index: 200;
  width: 260px; padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
}
.a11y-panel h2 { font-size: 16px; margin: 0 0 var(--s-4); }
.a11y-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); font-size: 14px; }
.a11y-btns { display: flex; gap: 6px; }
.a11y-btns button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--hairline-strong); font-weight: 700; }
.a11y-btns button:hover { background: var(--stone); }
.a11y-tog {
  display: block; width: 100%; text-align: start;
  padding: 9px 12px; margin-bottom: 6px;
  border: 1px solid var(--hairline);
  border-radius: 8px; font-size: 14px;
}
.a11y-tog:hover { background: var(--stone); }
.a11y-tog[aria-pressed="true"] { background: var(--terra-tint); border-color: var(--terra-deep); color: var(--terra-deep); font-weight: 700; }
.a11y-reset { width: 100%; padding: 9px; margin-top: 4px; font-size: 13px; color: var(--danger); border-radius: 8px; }
.a11y-reset:hover { background: rgba(210,72,77,0.08); }
.a11y-foot { font-size: 11.5px; color: var(--ink-soft); margin: var(--s-3) 0 0; line-height: 1.5; }

body.a11y-contrast {
  --limestone: #ffffff;
  --stone: #f4f4f4;
  --ink: #000000;
  --ink-muted: #000000;
  --ink-soft: #222222;
  --terra-deep: #7d3a1c;
  --sage: #3c4a2e;
  --hairline: rgba(0,0,0,0.4);
  --hairline-strong: rgba(0,0,0,0.6);
}
body.a11y-links a:not(.btn):not(.nav-logo):not(.footer-logo) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 700;
}
body.a11y-motion *, body.a11y-motion *::before, body.a11y-motion *::after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
}
body.a11y-readable { font-family: var(--font-sans) !important; }
body.a11y-readable .h2, body.a11y-readable .h3, body.a11y-readable .hero-h1,
body.a11y-readable .intro-text { font-family: var(--font-sans) !important; }

/* ──────────────────────────── Scroll reveals ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0ms),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 200ms ease; }
}
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}
