@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 img { width: auto; max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 12px; }
.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;
}

.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; }

.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-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; }
.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-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.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-summary:not(:empty) { color: var(--gold); }
.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;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.social-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.social-dock:hover .social-actions,
.social-dock:focus-within .social-actions,
.social-dock.open .social-actions { opacity: 1; transform: none; pointer-events: auto; }
.social-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: #3f3836;
  color: #f7f3ec;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.social-btn svg { width: 20px; height: 20px; display: block; }
.social-main { width: 56px; height: 56px; background: var(--brass); color: var(--on-brass); }
.social-dock.open .social-main svg { transform: rotate(45deg); }
.social-actions a[aria-label="WhatsApp"] { background: #1b7e62; }
.social-actions a[aria-label="Telegram"] { background: #267da5; }
.social-actions a[aria-label="Facebook"] { background: #2854a1; }

.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 { right: 14px; bottom: 14px; }
}

.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; }
.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; }
}
