@import url('https://fonts.googleapis.com/css2?family=Antic+Didone&family=Familjen+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Source+Code+Pro:ital,wght@1,300;1,400&display=swap');

:root {
  --bg: #f8f5ef;
  --bg2: #f3f0ea;
  --panel: #ffffff;
  --ink: #1a1714;
  --muted: #5e584f;
  --gold: #8d6840;
  --brass: #e1cc97;
  --on-brass: #3f3836;
  --forest: #3f3836;
  --line: rgba(63, 56, 54, .14);
  --field: #ffffff;
  --field-ink: #1a1714;
  --hero: #f8f5ef;
  --shadow: rgba(48, 36, 18, .1);
  --wide: 1180px;
  --header: 84px;
  --motif: none;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #161412;
  --bg2: #221f1c;
  --panel: #2a2623;
  --ink: #f7f3ec;
  --muted: #c9c0b2;
  --gold: #e1cc97;
  --brass: #e1cc97;
  --on-brass: #3f3836;
  --forest: #11100e;
  --line: rgba(247, 243, 236, .14);
  --field: #12100e;
  --field-ink: #f7f3ec;
  --hero: #12100e;
  --shadow: rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 "Familjen Grotesk", sans-serif;
  overflow-x: clip;
  transition: background .35s, color .35s;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: #e1cc97; color: #3f3836; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Antic Didone", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}
h1 { font-size: clamp(3rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
h3 { font-size: clamp(1.6rem, 2vw, 2.15rem); line-height: 1.15; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: min(var(--wide), calc(100% - 80px)); margin: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font: 600 11px/1.4 "Familjen Grotesk", sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
.muted { color: var(--muted); }
.gold { color: var(--gold); font-style: italic; font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--brass);
  border-radius: 0;
  background: var(--brass);
  color: var(--on-brass);
  font: 600 12px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .25s, background .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); background: #ead7ad; box-shadow: 0 12px 30px var(--shadow); }
.btn.ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

.progress { position: fixed; top: 0; left: 0; width: 0; height: 3px; background: var(--brass); z-index: 100; }

.topbar {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 22px;
  right: 22px;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px 0 22px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 16px 40px rgba(28, 24, 20, .16);
  backdrop-filter: blur(16px);
  transition: top .28s ease, left .28s ease, right .28s ease, border-radius .28s ease, box-shadow .28s ease, background .28s ease;
}
.topbar.scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: 0 1px 0 var(--line);
  background: color-mix(in srgb, var(--panel) 97%, transparent);
}
.brand {
  order: 0;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font: 500 1.55rem/1 "Antic Didone", Georgia, serif;
  letter-spacing: -.02em;
}
.brand small {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font: 600 9px/1.2 "Familjen Grotesk", sans-serif;
  letter-spacing: .2em;
}
.logo-frame {
  width: 42px;
  height: 42px;
  flex: none;
  display: block;
}
.official-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nav { order: 1; display: flex; align-items: center; gap: 22px; }
.nav a {
  position: relative;
  color: var(--ink);
  font: 600 12px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transition: right .3s;
}
.nav a:not(.nav-cta):hover::after,
.nav a.active:not(.nav-cta)::after { right: 0; }
.nav a:hover,
.nav a.active:not(.nav-cta) { color: var(--gold); }
.nav-cta {
  padding: 11px 16px;
  border: 1px solid var(--brass);
  border-radius: 0;
  background: var(--brass);
  color: var(--on-brass) !important;
}
.nav-cta:hover { transform: translateY(-1px); }
.theme-switch { order: 2; border: 0; background: transparent; padding: 6px; flex: none; }
.switch-track {
  position: relative;
  display: block;
  width: 64px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brass) 80%, transparent);
  background: #efe8da;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
html[data-theme="dark"] .switch-track { background: #3f3836; }
.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brass);
  color: #1a140c;
  transition: transform .28s ease;
}
html[data-theme="dark"] .switch-thumb { transform: translateX(30px); }
.switch-icon { width: 15px; height: 15px; display: none; }
html[data-theme="light"] .switch-icon.sun,
html:not([data-theme="light"]) .switch-icon.moon { display: block; }
.theme-switch:focus-visible { outline: none; }
.theme-switch:focus-visible .switch-track { outline: 2px solid var(--gold); outline-offset: 3px; }
.menu-btn {
  order: 3;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
}

.hero { position: relative; overflow: hidden; }
.hero-bg { background-position: center; background-size: cover; }
.sinhala {
  margin: 0 0 6px;
  color: var(--gold);
  font-family: "Noto Serif Sinhala", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 2;
}

.hero.hero-index {
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  height: auto;
  padding: 150px 0 88px;
  overflow: hidden;
  background: #1a1714 url("assets/hills.jpg") center/cover no-repeat;
  color: #f7f3ec;
}
.hero-film {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero.hero-index::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, .35) 0%, rgba(20, 16, 12, .08) 34%, rgba(20, 16, 12, .62) 100%),
    linear-gradient(90deg, rgba(20, 16, 12, .58), rgba(20, 16, 12, .08) 72%);
}
.hero-index .hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--wide), calc(100% - 80px));
  max-width: 720px;
  margin: 0;
  padding: 0 6vw;
}
.hero-index h1 { margin: 14px 0 18px; color: #f7f3ec; }
.hero-index h1 em { color: #e1cc97; font-style: italic; }
.hero-index .hero-content p { max-width: 520px; color: #f3ece1; font-size: 17px; }
.hero-index .hero-kicker,
.hero-index .hero-bottom-label,
.hero-index .hero-scroll { color: #f7f3ec; }
.hero-index .hero-kicker-rule,
.hero-index .hero-scroll::after { background: #e1cc97; }
.hero-index .btn.ghost { color: #f7f3ec; border-color: rgba(247, 243, 236, .75); }
.hero-index .btn.ghost:hover { color: #1a1714; background: #f7f3ec; border-color: #f7f3ec; }
.film-toggle {
  position: absolute;
  left: 6vw;
  bottom: 28px;
  z-index: 3;
  padding: 12px 16px;
  border: 1px solid rgba(247, 243, 236, .7);
  background: rgba(20, 16, 12, .28);
  color: #f7f3ec;
  font: 600 11px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.film-toggle:hover { background: rgba(20, 16, 12, .5); }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--gold);
  font: 600 11px/1.5 "Familjen Grotesk", sans-serif;
  letter-spacing: .2em;
}
.hero-kicker-rule { width: 42px; height: 1px; background: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-bottom-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  color: var(--muted);
  font: 600 11px/1.4 "Familjen Grotesk", sans-serif;
  letter-spacing: .16em;
}
.hero-index .hero-scroll {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  writing-mode: horizontal-tb;
  color: #f7f3ec;
  font: 600 10px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .2em;
  transform: translateX(-50%);
}
.hero-index .hero-scroll::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--gold);
}

.hero.short {
  display: flex;
  align-items: flex-end;
  height: 62vh;
  min-height: 520px;
  padding: 0 0 78px;
  color: #f6f1e6;
  background: #1a1714;
}
.hero.short .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: kenburns 28s ease-in-out infinite alternate;
}
.hero.short::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, .15) 10%, rgba(20, 16, 12, .72)),
    linear-gradient(90deg, rgba(20, 16, 12, .62), rgba(20, 16, 12, .12));
  pointer-events: none;
}
.hero.short .hero-content { position: relative; z-index: 2; padding-top: 0; }
.hero.short h1,
.hero.short p,
.hero.short .eyebrow,
.hero.short .gold { color: #f7f1e4; }
.hero.short .gold { color: #f0d7a2; }
.hero.short .eyebrow::before { background: #e1cc97; }
.hero.short p { max-width: 560px; color: #efe7da; }
.hero.short a { color: #f0d7a2; text-decoration: underline; text-underline-offset: 3px; }
.hero-scroll {
  position: absolute;
  right: 4vw;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f0e2cc;
  font: 600 10px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 54px;
  background: #e1cc97;
}
.hero-meta {
  position: absolute;
  left: 4vw;
  bottom: 26px;
  z-index: 3;
  color: #f0d7a2;
  font: 600 11px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .18em;
}

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #3f3836;
  color: #f7f3ec;
}
.marquee-track { display: flex; width: max-content; gap: 42px; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 500 28px/1 "Antic Didone", serif; letter-spacing: .04em; white-space: nowrap; }
.marquee em { color: #e1cc97; font-style: italic; }

.section { padding: 96px 0; }
.section.alt {
  background-color: var(--bg2);
  background-image: var(--motif);
  background-size: 160px;
  background-blend-mode: soft-light;
}
.page-plain { padding-top: 150px; }
.section-heading { max-width: 740px; margin-bottom: 42px; }
.section-heading h2,
.split h2 { margin: 12px 0 16px; }
.section-heading p { max-width: 620px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.visual { position: relative; }
.visual img {
  height: 520px;
  border-radius: 18px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brass) 55%, transparent);
}
.floating-note {
  position: absolute;
  right: -18px;
  bottom: 28px;
  max-width: 220px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--brass);
  color: #1a140c;
  font: italic 500 1.45rem/1.2 "Antic Didone", serif;
  box-shadow: 0 18px 40px var(--shadow);
}

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature {
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}
.feature b { display: block; margin-bottom: 12px; color: var(--gold); font-size: 22px; font-weight: 500; }
.feature strong { display: block; margin-bottom: 6px; font: 600 16px/1.3 "Familjen Grotesk", sans-serif; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.feature p + p { margin-top: 8px; }
.feature-grid.thirds { grid-template-columns: repeat(3, 1fr); }
.feature-grid.places { grid-template-columns: repeat(3, 1fr); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: transform .35s, box-shadow .35s;
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 18px 40px var(--shadow); }
.tile .photo { height: 240px; overflow: hidden; background: #e7e1d6; }
.tile img { height: 100%; transition: transform .8s ease; }
.tile:hover img { transform: scale(1.06); }
.tile-body { padding: 22px; }
.tile h3 { margin: 8px 0 8px; }
.tile p { margin-bottom: 14px; color: var(--muted); font-size: 14.5px; }
.photo-pending {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #f6f1e6;
  font: 600 11px/1.4 "Familjen Grotesk", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.photo-pending.garden {
  background:
    radial-gradient(circle at 78% 18%, rgba(232, 196, 154, .5), transparent 26%),
    linear-gradient(165deg, #245c40, #143528 58%, #6e4b32);
}
.photo-pending.plains {
  background:
    radial-gradient(circle at 50% 100%, rgba(226, 232, 226, .35), transparent 42%),
    linear-gradient(180deg, #8ea399, #1d3a32 68%, #10241c);
}
.text-link {
  color: var(--gold);
  font: 600 12px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-grid .item {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  cursor: zoom-in;
}
.photo-grid .item:nth-child(3n+2) { height: 360px; }
.photo-grid img { height: 100%; transition: transform .7s ease; }
.photo-grid .item:hover img { transform: scale(1.06); }
.photo-grid .item::after {
  content: "View image";
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(28, 24, 20, .78);
  color: #f6f1e6;
  font: 600 10px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 14, 11, .88);
}
.modal.open { display: flex; }
.modal.open {
  animation: modal-backdrop-in .3s ease both;
  backdrop-filter: blur(8px);
}
@keyframes modal-backdrop-in {
  from { background: rgba(8, 14, 11, 0); }
  to { background: rgba(8, 14, 11, .88); }
}
.modal img,
.modal-video {
  width: auto;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
  animation: modal-photo-in .45s cubic-bezier(.2, .75, .25, 1) both;
}
.modal-video {
  display: block;
  background: #000;
}
@keyframes modal-photo-in {
  from { opacity: 0; filter: blur(10px); transform: scale(.96); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}
.modal-close,
.modal-nav {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(8, 14, 11, .35);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.modal-close { top: 18px; right: 22px; }
.modal-nav { top: 50%; transform: translateY(-50%); }
.modal-nav.prev { left: 18px; }
.modal-nav.next { right: 18px; }
.modal-figure { margin: 0; text-align: center; }
.modal-figure figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, .82);
  font: 500 13px/1 Outfit, sans-serif;
  letter-spacing: .12em;
}
@media (prefers-reduced-motion: reduce) {
  .mh-apt-main img,
  .mh-apt-thumbs button.is-on img,
  .modal.open,
  .modal img { animation: none; }
}

.map-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.map-frame { width: 100%; height: 440px; border: 0; filter: saturate(.9) contrast(1.02); }
.map-note { padding: 16px 20px; color: var(--muted); font-size: 13px; }
.map-intro { margin: -8px 0 22px; color: var(--muted); }
.attraction-map {
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.attraction-map-canvas { width: 100%; height: 440px; background: #dce8db; }
.attraction-map-fallback { display: grid; min-height: 220px; place-items: center; margin: 0; padding: 32px; color: #31543d; background: #dce8db; text-align: center; }
/* Leaflet tiles/markers are <img>; global img { width:100%; object-fit:cover } breaks tile alignment. */
.attraction-map .leaflet-tile-pane img,
.attraction-map img.leaflet-tile,
.attraction-map .leaflet-shadow-pane img,
.attraction-map .leaflet-marker-pane img.leaflet-marker-icon {
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  height: auto !important;
  object-fit: none !important;
}
.attraction-map .leaflet-marker-pane img.leaflet-marker-icon {
  object-fit: contain !important;
}
.attraction-map .leaflet-marker-icon.attraction-map-pin-marker {
  border: 0;
  background: url("/assets/mistwood/icons/forest-gold-map-pin.png") center / contain no-repeat;
  filter: drop-shadow(0 3px 3px rgba(10, 35, 23, .3));
}
.attraction-map .leaflet-marker-icon.attraction-map-pin-marker:hover {
  filter: brightness(1.08) drop-shadow(0 4px 4px rgba(10, 35, 23, .4));
}
.attraction-map .leaflet-marker-icon.attraction-map-pin-marker:focus-visible {
  outline: 2px solid #9a6f2b;
  outline-offset: 3px;
  border-radius: 8px;
}
.attraction-map .leaflet-control-zoom a { color: #174d36; }
.attraction-map .leaflet-popup-content-wrapper { overflow: hidden; padding: 0; border-radius: 14px; box-shadow: 0 12px 28px rgba(10, 35, 23, .28); }
.attraction-map .leaflet-popup-content { width: 260px !important; margin: 0; }.attraction-map .leaflet-popup-tip { background: #fff; }
.attraction-map .marker-cluster { background: transparent; }
.attraction-map .leaflet-marker-icon.attraction-cluster-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 999px;
  background: linear-gradient(180deg, #0c5339 0%, #063f2c 100%);
  border: 2px solid #e1cc97;
  color: #fff;
  font: 600 14px/1 Outfit, sans-serif;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(10, 35, 23, .4);
}
.attraction-map .attraction-cluster-icon span {
  display: block;
  line-height: 1;
  text-align: center;
}
.attraction-popup-card img { display: block; width: 100%; height: 122px; object-fit: cover; }.attraction-popup-card div { padding: 13px 14px 15px; }.attraction-popup-card h3 { margin: 0 0 6px; color: #183d2b; font: 600 17px/1.2 "Playfair Display", Georgia, serif; }.attraction-popup-card p { margin: 0 0 11px; color: #5b655d; font: 13px/1.45 Outfit, sans-serif; }.attraction-popup-card a { color: #9a6f2b; font: 700 12px/1 Outfit, sans-serif; text-decoration: none; }
@media (max-width: 600px) { .map-frame, .attraction-map-canvas { height: 360px; } }

.booking-wrap,
.form-shell {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 20px 50px var(--shadow);
}
.booking-offer-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 0 28px;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 22px 56px 22px 22px;
  border: 1px solid #d5e5d8;
  border-radius: 20px;
  background: linear-gradient(145deg, #f9fbf7 0%, #fffffd 42%, #f6f2e8 100%);
  box-shadow: 0 14px 40px rgba(24, 61, 45, 0.08);
}
.booking-offer-banner.is-warning {
  border-color: #e5c48a;
  background: linear-gradient(145deg, #fff9f1 0%, #fffdf9 55%, #f8f0e4 100%);
}
.booking-offer-banner-leaf {
  position: absolute;
  top: -8px;
  right: 48px;
  width: 88px;
  opacity: 0.2;
  pointer-events: none;
  transform: rotate(8deg);
}
.booking-offer-banner-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #ddd6c8;
  border-radius: 50%;
  padding: 0;
  color: #5a5348;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(24, 40, 30, 0.06);
}
.booking-offer-banner-close:hover { border-color: #9a6f2b; color: #3d2e1a; }
.booking-offer-banner-media {
  position: relative;
  min-height: 100%;
}
.booking-offer-banner-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  border-radius: 14px;
  object-fit: cover;
}
.booking-offer-banner-photo.is-empty {
  min-height: 210px;
  background: linear-gradient(160deg, #e8efe4, #d9e8dc);
}
.booking-offer-banner-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  color: #2a2418;
  background: linear-gradient(135deg, #f3d58a 0%, #e8ba52 100%);
  box-shadow: 0 6px 16px rgba(120, 82, 16, 0.22);
  font: 700 10px/1 "Familjen Grotesk", Outfit, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.booking-offer-banner-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.booking-offer-banner-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: 6px 0;
}
.booking-offer-banner-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.booking-offer-banner-mark {
  display: grid;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #9a6f2b;
  background: linear-gradient(145deg, #fff8e8 0%, #f3e2b8 100%);
  box-shadow: inset 0 0 0 1px rgba(154, 111, 43, 0.18);
}
.booking-offer-banner-mark svg {
  width: 26px;
  height: 26px;
}
.booking-offer-banner-titles {
  flex: 1;
  min-width: 0;
}
.booking-offer-banner-titles h3 {
  margin: 2px 0 8px;
  color: #123d2d;
  font: 600 clamp(22px, 2.4vw, 30px)/1.15 "Playfair Display", Georgia, serif;
}
.booking-offer-banner-desc {
  margin: 0;
  color: #4f5e56;
  font-size: 15px;
  line-height: 1.55;
}
.booking-offer-banner-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 14px 0;
  border-block: 1px solid #e2ebe4;
}
.booking-offer-banner-stat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 0 16px;
  color: #3d4c44;
}
.booking-offer-banner-stat + .booking-offer-banner-stat {
  border-left: 1px solid #e2ebe4;
}
.booking-offer-banner-stat:first-child { padding-left: 0; }
.booking-offer-banner-stat-icon {
  display: grid;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #9a6f2b;
  background: #f4f8f2;
}
.booking-offer-banner-stat-icon svg {
  width: 18px;
  height: 18px;
}
.booking-offer-banner-stat-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  line-height: 1.35;
}
.booking-offer-banner-stat-copy strong {
  color: #173d2d;
  font-size: 15px;
  font-weight: 700;
}
.booking-offer-banner-stat-copy span {
  color: #5f6962;
}
.booking-offer-banner-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: #2f4a3c;
  background: #e7f2ea;
  font-size: 14px;
  line-height: 1.45;
}
.booking-offer-banner-alert.is-warning {
  color: #6b3f12;
  background: #faf0df;
}
.booking-offer-banner-alert strong { font-weight: 700; }
.booking-offer-banner-alert-icon {
  display: grid;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2d6b4f;
  font: 700 12px/1 Outfit, sans-serif;
  text-transform: lowercase;
}
.booking-offer-banner-alert.is-warning .booking-offer-banner-alert-icon {
  background: #b86a1f;
}
.booking-offer-banner-note,
.booking-offer-banner-warn {
  max-width: 920px;
  margin: 16px auto;
  font-size: 14px;
  line-height: 1.45;
}
.booking-offer-banner-warn { color: #8b4a12; }
.booking-offer-banner-note { color: #6d7670; }
.booking-dialog-bullets {
  margin: 0 0 20px;
  padding-left: 1.2rem;
  color: #4f5852;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 820px) {
  .booking-offer-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 48px 18px 18px;
  }
  .booking-offer-banner-photo,
  .booking-offer-banner-photo.is-empty {
    min-height: 180px;
    max-height: 220px;
  }
  .booking-offer-banner-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }
  .booking-offer-banner-stat {
    padding: 0;
  }
  .booking-offer-banner-stat + .booking-offer-banner-stat {
    border-left: none;
    padding-top: 12px;
    border-top: 1px solid #e2ebe4;
  }
}
.booking-grid { display: grid; grid-template-columns: 1fr 1fr 180px auto; gap: 14px; align-items: end; }
.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font: 600 11px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  color: var(--field-ink);
  outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brass); }
.field input[readonly] { cursor: pointer; }
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.notice { margin: 14px 0 0; color: var(--gold); font-size: 14px; }
.phone-dial-row {
  display: grid;
  grid-template-columns: minmax(9.5rem, 42%) 1fr;
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}

.phone-country-field .phone-dial-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.phone-dial-country,
.phone-dial-number {
  min-width: 0;
  width: 100%;
}

.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-columns .full { grid-column: 1 / -1; }
.small-note { color: var(--muted); font-size: 13px; }
.form-shell .btn { margin-top: 8px; }

.calendar-anchor { position: relative; }
.calendar-pop {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  width: min(640px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--brass) 70%, transparent);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 24px 60px var(--shadow);
}
.calendar-pop.open { display: block; }
.calendar-pop .cal-month { min-width: 0; }
.calendar-pop .cal-day {
  position: static;
  z-index: auto;
  display: block;
  min-height: 0;
  border: 0;
  padding: 0;
  text-align: center;
  cursor: pointer;
  transition: none;
}
.calendar-pop .cal-day:disabled { cursor: not-allowed; }
.calendar-pop.calendar-pop-modal.open {
  position: fixed;
  z-index: 1200;
  top: 50%;
  left: 50%;
  width: min(720px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  transform: translate(-50%, -50%);
  box-shadow: 0 28px 72px rgba(24, 18, 10, .26), 0 0 0 100vmax rgba(18, 24, 16, .36);
}
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.calendar-head strong { font: 500 1.4rem/1 "Antic Didone", serif; }
.calendar-head button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
}
.calendar-months { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cal-month h4 { margin: 0 0 8px; text-align: center; font: 600 13px/1.3 "Familjen Grotesk", sans-serif; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-grid .weekday { padding: 4px 0; color: var(--muted); font: 600 10px/1 "Familjen Grotesk", sans-serif; text-align: center; }
.cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: 600 12px/1 "Familjen Grotesk", sans-serif;
}
.cal-day:hover:not(:disabled) { background: color-mix(in srgb, var(--brass) 35%, transparent); }
.cal-day:disabled { opacity: .28; cursor: not-allowed; }
.cal-day:disabled.is-booked,.cal-day:disabled.is-pending,.cal-day:disabled.is-blocked { opacity: 1; color: #fff; }
.cal-day:disabled.is-booked { background: #315f8d; }
.cal-day:disabled.is-pending { background: #9a6f2b; }
.cal-day:disabled.is-blocked { background: #7b4141; }
.cal-day.selected { background: var(--brass); color: #1a140c; }
.cal-day.range { background: color-mix(in srgb, var(--brass) 28%, transparent); border-radius: 4px; }
.cal-day.today { outline: 1px solid var(--brass); }
.cal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.cal-foot small,
.cal-summary { color: var(--muted); font-size: 12px; }
.cal-rules { display: grid; gap: 2px; margin-top: 5px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 13px; color: var(--muted); font: 600 11px/1 "Familjen Grotesk", sans-serif; }
.cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 3px; background: #f3f0e8; border: 1px solid var(--line); }
.cal-legend i.booked { background: #315f8d; border-color: #315f8d; }.cal-legend i.pending { background: #9a6f2b; border-color: #9a6f2b; }.cal-legend i.blocked { background: #7b4141; border-color: #7b4141; }
.cal-summary:not(:empty) { color: var(--gold); }
.cal-foot-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.cal-reset {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: transparent;
  color: var(--muted);
  font: 600 11px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cal-reset:not(:disabled):hover {
  border-color: color-mix(in srgb, var(--brass) 60%, var(--line));
  color: var(--ink);
}
.cal-reset:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.cal-done {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--brass);
  color: #1a140c;
  font: 700 11px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer {
  --ink: #f6f1e6;
  --muted: #cfc6b4;
  --gold: #e1cc97;
  padding: 72px 0 108px;
  background: #2e2e2e;
  color: #f7f3ec;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr; gap: 40px; }
.footer .brand { color: #f6f1e6; font-size: 1.8rem; }
.footer a { display: block; margin: 8px 0; color: #cfc6b4; font-size: 14px; }
.footer a.brand { display: inline-flex; color: #f6f1e6; }
.footer a:hover { color: #e1cc97; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 241, 230, .12);
  color: #b7ae9d;
  font-size: 13px;
}
.footer-bottom a { display: inline; margin: 0; }

.social-dock {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
}
.social-actions {
  position: absolute;
  left: 50%;
  bottom: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 58px;
  margin: 0;
  padding-bottom: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}
.social-dock:hover .social-actions,
.social-dock:focus-within .social-actions,
.social-dock.open .social-actions { pointer-events: auto; }
.social-actions a {
  opacity: 0;
  transform: translateY(8px) scale(.82);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease;
}
.social-actions a:nth-child(1) { transition-delay: .08s; }
.social-actions a:nth-child(2) { transition-delay: .04s; }
.social-dock:hover .social-actions a,
.social-dock:focus-within .social-actions a,
.social-dock.open .social-actions a {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.social-dock:hover .social-actions a:nth-child(2),
.social-dock:focus-within .social-actions a:nth-child(2),
.social-dock.open .social-actions a:nth-child(2) { transition-delay: .04s; }
.social-dock:hover .social-actions a:nth-child(3),
.social-dock:focus-within .social-actions a:nth-child(3),
.social-dock.open .social-actions a:nth-child(3) { transition-delay: .08s; }
.social-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #3f3836;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}
.social-btn svg { width: 22px; height: 22px; display: block; }
.social-main {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(201, 164, 95, 0.85);
  background: rgba(6, 63, 44, 0.78);
  color: #f3e0b4;
  box-shadow: 0 6px 18px rgba(6, 39, 27, 0.28);
  opacity: 1;
  transition:
    opacity .22s ease,
    transform .2s ease,
    background .22s ease,
    color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}
.social-dock:hover .social-main,
.social-dock:focus-within .social-main,
.social-dock.open .social-main,
.social-main:hover,
.social-main:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  border-color: #c9a45f;
  background: #063f2c;
  color: #e8c96a;
  box-shadow: 0 8px 22px rgba(6, 63, 44, 0.32);
}
.social-dock:hover .social-main:hover,
.social-dock.open .social-main:hover {
  background: #0c5339;
  color: #f3e0b4;
}
.social-dock:hover .social-actions a:hover,
.social-dock.open .social-actions a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .28); }
.social-actions a[aria-label="Facebook"] { background: #1877f2; }
.social-actions a[aria-label="Booking.com"] { background: #003b95; }
.social-actions a[aria-label="WhatsApp"] { background: #1da851; }
.social-actions a[aria-label="YouTube"] { background: #e11d2e; }

.credits-page { max-width: 820px; }
.credits-page h1 { margin-bottom: 12px; }
.credits-page a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.left { transform: translateX(-28px); }
.js .reveal.right { transform: translateX(28px); }
.js .reveal.in { opacity: 1; transform: none; }
.delay1 { transition-delay: .1s; }
.delay2 { transition-delay: .2s; }
.delay3 { transition-delay: .3s; }

@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1280px) {
  .menu-btn { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    order: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 18px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open {
    display: flex;
    top: calc(100% + 8px);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(28, 24, 20, .16);
  }
  .topbar.scrolled .nav.open {
    top: 100%;
    border-radius: 0;
    border-top: 0;
    box-shadow: none;
  }
  .nav a { padding: 12px 4px; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; }
  .feature-grid, .feature-grid.thirds { grid-template-columns: 1fr 1fr; }
  .booking-grid { grid-template-columns: 1fr 1fr; }
  .booking-grid .btn { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 36px); }
  .topbar { top: 10px; left: 10px; right: 10px; height: 64px; padding: 0 12px; }
  .hero.hero-index { min-height: 100svh; padding: 120px 0 92px; }
  .hero-index .hero-content { width: auto; margin: 0 18px; padding: 0; }
  .hero-index h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .hero-index .hero-scroll { display: none; }
  .film-toggle { left: 18px; bottom: 18px; }
  .hero.short { min-height: 460px; height: auto; padding-top: 120px; }
  .hero-scroll { display: none; }
  .section { padding: 72px 0; }
  .split, .tiles, .footer-grid, .photo-grid, .form-columns { grid-template-columns: 1fr; }
  .visual img { height: 320px; }
  .floating-note { right: 12px; bottom: 12px; }
  .photo-grid .item,
  .photo-grid .item:nth-child(3n+2) { height: 240px; }
  .booking-grid, .calendar-months { grid-template-columns: 1fr; }
  .calendar-months .cal-month:nth-child(2) { display: none; }
  .booking-wrap, .form-shell { padding: 20px; }
  .footer-bottom { flex-direction: column; }
  .brand { font-size: 1.25rem; }
  .brand small { display: none; }
  .logo-frame { width: 36px; height: 36px; }
  .social-dock { left: 12px; bottom: 86px; width: 46px; height: 46px; }
  .social-actions { width: 46px; gap: 8px; padding-bottom: 7px; }
  .social-btn { width: 40px; height: 40px; }
  .social-btn svg { width: 18px; height: 18px; }
  .social-main { width: 46px; height: 46px; }
}

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 8px 0 28px; }
.step { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--panel) 88%, transparent); }
.step b { display: block; margin-bottom: 8px; color: var(--gold); font: 600 11px/1.3 "Familjen Grotesk", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.step strong { display: block; margin-bottom: 6px; font-family: "Antic Didone", Georgia, serif; font-size: 1.45rem; font-weight: 500; line-height: 1.15; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.price-panel { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; margin-top: 16px; background: color-mix(in srgb, var(--bg) 55%, transparent); }
.price-panel strong { display: block; font-family: "Antic Didone", Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.price-row { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; }
.check input { margin-top: 4px; }
.booking-legal-consent a {
  color: #855d26;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.booking-legal-consent a:hover { color: #513716; }
.deal-date { display: block; margin-bottom: 8px; color: var(--gold); font-size: 13px; }
.booking-wrap .form-columns { margin-top: 18px; }
.stay-note { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.policy-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.policy-block h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 10px; }


@media (max-width: 900px) {
  .feature-grid.thirds,
  .feature-grid.places { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; }
}

.album { margin-top: 18px; }
.album + .album { margin-top: 64px; }
.album h2 { margin: 10px 0 8px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.album .muted { max-width: 560px; margin-bottom: 22px; }
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { margin: 0; cursor: zoom-in; }
.shot img { height: 240px; border-radius: 16px; }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.shot.wide { grid-column: span 2; }
.shot.wide img { height: 420px; }
.shot:focus-visible img { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 800px) {
  .shot-grid { grid-template-columns: 1fr; }
  .shot.wide { grid-column: auto; }
  .shot img, .shot.wide img { height: 240px; }
}

.tour { position: relative; height: 100vh; background: var(--bg); }
.tour-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  padding: 118px 0 36px;
  background: var(--bg);
}
.tour-hint {
  position: absolute;
  top: 96px;
  left: 6vw;
  z-index: 2;
  margin: 0;
}
.tour-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 42px;
  padding: 0 6vw;
  will-change: transform;
}
.tour-panel {
  flex: none;
  display: flex;
  align-items: stretch;
  gap: 22px;
  height: 100%;
}
.tour-frame {
  flex: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 280px;
}
.tour-frame.wide { width: min(46vw, 560px); }
.tour-frame.tall { width: min(28vw, 380px); }
.tour-frame.slim { width: 220px; }
.tour-shot {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(247, 243, 236, .55);
  background: #1a1714;
}
.tour-shot img { width: 100%; height: 100%; object-fit: cover; }
.tour-cap {
  margin: 0;
  color: var(--ink);
  font: italic 300 13px/1.35 "Source Code Pro", ui-monospace, monospace;
  letter-spacing: .08em;
}
.tour-cap.on {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: #f7f3ec;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.tour-cap.under { margin-top: 10px; }
.tour-name {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 42px;
  margin: 0;
  color: #f7f3ec;
  font-family: "Antic Didone", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.05;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
}
.tour-copy {
  flex: none;
  width: 280px;
  align-self: center;
  padding: 0 8px;
}
.tour-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}
.tour-copy p { margin: 0; color: var(--muted); font-size: 15px; }
.tour-copy p + p { margin-top: 12px; }

@media (max-width: 860px) {
  .tour { height: auto; }
  .tour-sticky { position: static; height: auto; overflow: visible; display: block; padding: 28px 0 8px; }
  .tour-hint { position: static; margin: 0 18px 16px; }
  .tour-track {
    display: block;
    height: auto;
    padding: 0 18px 28px;
    transform: none !important;
  }
  .tour-panel { display: grid; grid-template-columns: 1fr; height: auto; gap: 28px; margin-bottom: 36px; }
  .tour-frame, .tour-frame.wide, .tour-frame.tall, .tour-frame.slim, .tour-copy { width: auto; }
  .tour-shot { height: 62vw; min-height: 240px; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .tour { height: auto; }
  .tour-sticky { position: static; height: auto; }
  .tour-track { transform: none !important; overflow-x: auto; }
  .apt-tile:hover img { transform: none; }
}

/* ------------------------------------------------------------------ */
/* Apartment gallery — "A closer look at Mistwood"                     */
/* ------------------------------------------------------------------ */
.apt-gallery {
  --apt-forest: #0f3d2b;
  --apt-gold: #c9a45c;
  --apt-ivory: #fffdf8;
  background: var(--bg);
  padding: 80px 0 96px;
}
body:not(.home) .apt-gallery { padding-top: 64px; }
.apt-gallery-inner { position: relative; }
.apt-gallery-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.apt-gallery-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--apt-gold);
  font: 600 12px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.apt-gallery-eyebrow::before,
.apt-gallery-eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  transform: none;
  opacity: .7;
  flex: none;
}
.apt-gallery-head h2 {
  margin: 16px 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  color: var(--ink);
}
.apt-gallery-sub { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.7; }

.apt-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 28px 36px;
  align-items: start;
  margin-top: 8px;
}
.apt-gallery-main { min-width: 0; }

/* Filters */
.apt-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 22px;
}
.apt-filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: #1f3d30;
  font: 600 13px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.apt-filter svg { color: #2f6a4c; transition: color .2s; }
.apt-filter:hover { border-color: var(--apt-gold); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(28, 24, 20, .08); }
.apt-filter.is-on { background: var(--apt-forest); border-color: var(--apt-forest); color: #fff; box-shadow: 0 10px 22px rgba(15, 61, 43, .26); }
.apt-filter.is-on svg { color: #dcc38c; }
.apt-filter:focus-visible { outline: 2px solid var(--apt-gold); outline-offset: 2px; }

/* Preview grid (3×3) */
.apt-gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.apt-tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #10271d;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 22px rgba(28, 24, 20, .1);
  transition: transform .25s, box-shadow .25s;
}
.apt-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.apt-tile:hover { box-shadow: 0 14px 30px rgba(28, 24, 20, .16); }
.apt-tile:hover img { transform: scale(1.05); }
.apt-tile:focus-visible { outline: 2px solid var(--apt-gold); outline-offset: 3px; }

.apt-tile-more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(15, 48, 34, .55), rgba(8, 26, 19, .72));
  backdrop-filter: blur(2px);
}
.apt-tile-more-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  color: #fff;
  text-align: center;
}
.apt-tile-more-copy svg { opacity: .9; }
.apt-tile-more-copy strong {
  font: 600 15px/1.25 "Familjen Grotesk", sans-serif;
  letter-spacing: .01em;
}

/* Video sidebar */
.apt-gallery-video-aside {
  padding: 26px 24px 22px;
  border: 1px solid rgba(172, 141, 85, .28);
  border-radius: 18px;
  background: linear-gradient(165deg, #fffdf8 0%, #f3f6ef 55%, #eef3e8 100%);
  box-shadow: 0 12px 32px rgba(22, 40, 30, .06);
}
.apt-gallery-video-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #b58b41;
  font: 600 11px/1 "Familjen Grotesk", sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.apt-gallery-video-kicker svg { color: #c9a45c; }
.apt-gallery-video-aside h3 {
  margin: 0 0 12px;
  color: #183c2c;
  font: 700 clamp(22px, 2.2vw, 30px)/1.15 "Playfair Display", Georgia, serif;
}
.apt-gallery-video-lede {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.apt-gallery-featured-videos { display: grid; gap: 16px; }
.apt-video-card {
  border-radius: 14px;
  overflow: hidden;
  background: #10271d;
  box-shadow: 0 10px 24px rgba(18, 39, 27, .14);
}
.apt-video-card-hit {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  background: #163a2b;
}
.apt-video-card-hit img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apt-video-card-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 28, 21, .22);
  transition: background .2s;
}
.apt-video-card-hit:hover .apt-video-card-play { background: rgba(12, 28, 21, .32); }
.apt-video-card-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #163a2b;
}
.apt-video-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 11px;
  color: #f3f0e6;
  font: 600 12px/1.2 "Familjen Grotesk", sans-serif;
  background: linear-gradient(180deg, rgba(8, 22, 16, .15), rgba(8, 22, 16, .92));
}
.apt-video-card-meta-icon {
  display: flex;
  opacity: .85;
}
.apt-video-card-meta-icon svg { width: 16px; height: 16px; stroke: #dcc38c; }
.apt-video-card-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apt-video-card-more .apt-video-card-hit img { filter: brightness(.72); }
.apt-video-more-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  color: #fff;
  text-align: center;
  background: rgba(8, 14, 11, .45);
}
.apt-video-more-copy svg { margin: 0 auto; stroke: #fff; }
.apt-video-more-copy strong { font: 600 15px/1.2 Outfit, sans-serif; }
.apt-video-card-duration {
  flex: none;
  opacity: .88;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 980px) {
  .apt-gallery { padding-top: 48px; }
  .apt-gallery-layout { grid-template-columns: 1fr; gap: 32px; }
  .apt-gallery-video-aside { max-width: 520px; }
}
@media (max-width: 620px) {
  .apt-gallery { padding-top: 40px; padding-bottom: 72px; }
  .apt-gallery-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .apt-gallery-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .apt-gallery-filters::-webkit-scrollbar { display: none; }
  .apt-filter { flex: 0 0 auto; }
}
