/* =========================================================
   Àyàbá Residences — styles
   ========================================================= */
:root {
  --paper: #f8f2e6;
  --cream: #efe4cc;
  --sand: #e3d3b3;
  --ink: #15180e;
  --ink-2: #3b3d33;
  --muted: #5e5f54;
  --terra: #9c4b28;
  --terra-d: #823c1f;
  --sage: #687f6b;
  --line: rgba(21, 24, 14, 0.14);
  --line-light: rgba(248, 242, 230, 0.28);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--terra); color: var(--paper); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 9.5vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 300; color: var(--terra); }
.on-dark .display em, .on-dark .h1 em, .on-dark .h2 em { color: var(--sand); }
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 38ch; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--pad); }
.section { padding-block: clamp(80px, 12vw, 180px); }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-dark { background: var(--ink); color: var(--paper); }
.on-dark .lede, .on-dark .muted { color: rgba(248, 242, 230, 0.68); }
.bg-cream { background: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; gap: 0.75em;
  padding: 1.05em 1.6em;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease);
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--terra);
  transform: translateY(101%); border-radius: 999px 999px 0 0;
  transition: transform 0.55s var(--ease), border-radius 0.55s var(--ease);
}
.btn:hover::after { transform: translateY(0); border-radius: 0; }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light:hover { color: var(--paper); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { color: var(--paper); box-shadow: inset 0 0 0 1px var(--terra); }
.btn--terra { --bg: var(--terra); }
.btn--terra::after { background: var(--ink); }
.btn--block { width: 100%; justify-content: center; }
.btn .arr { transition: transform 0.5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  padding-bottom: 4px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform 0.6s var(--ease);
}
.link:hover::after { transform: scaleX(0); }

/* rolling text (hover swap) */
.roll { display: inline-block; overflow: hidden; height: 1.2em; line-height: 1.2em; vertical-align: top; }
.roll > span { display: block; transition: transform 0.55s var(--ease); }
.roll > span::after { content: attr(data-t); display: block; }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-1.2em); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--pad);
  color: var(--ink);
  transition: transform 0.6s var(--ease), background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.header.is-light { color: var(--paper); }
.header.is-solid { background: rgba(248, 242, 230, 0.92); backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.logo { font-family: var(--serif); font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1; display: flex; align-items: baseline; gap: 0.45em; }
.logo small { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav a { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.nav a.is-current { opacity: 0.55; }
.header__right { display: flex; align-items: center; gap: 14px; }
.cur {
  display: flex; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; padding: 3px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
}
.cur button { padding: 0.45em 0.8em; border-radius: 999px; opacity: 0.7; transition: background 0.3s, color 0.3s, opacity 0.3s; }
.cur button.is-active { background: var(--ink); color: var(--paper); opacity: 1; }
.header.is-light:not(.is-solid) .cur button.is-active, .menu .cur button.is-active, .menu-open .header .cur button.is-active { background: var(--paper); color: var(--ink); }
.header .btn { padding: 0.85em 1.3em; }
.header.is-light:not(.is-solid) .btn { --bg: var(--paper); --fg: var(--ink); }
.header.is-light:not(.is-solid) .btn:hover { color: var(--paper); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 24px; }
.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: var(--paper);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease);
  display: grid; grid-template-rows: 1fr auto; padding: calc(var(--header-h) + 40px) var(--pad) 32px;
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu-open .header { color: var(--paper); background: transparent; box-shadow: none; }
.menu ul { list-style: none; margin: 0; padding: 0; align-self: center; }
.menu li { overflow: hidden; border-top: 1px solid var(--line-light); }
.menu li a { display: flex; justify-content: space-between; align-items: baseline; padding: 0.15em 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 9vw, 5.5rem); letter-spacing: -0.03em; transform: translateY(110%); transition: transform 0.9s var(--ease-out); }
.menu li a small { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.15em; opacity: 0.6; }
.menu-open .menu li a { transform: translateY(0); }
.menu-open .menu li:nth-child(2) a { transition-delay: 0.06s; }
.menu-open .menu li:nth-child(3) a { transition-delay: 0.12s; }
.menu-open .menu li:nth-child(4) a { transition-delay: 0.18s; }
.menu__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; opacity: 0.75; }

/* ---------- Preloader & transitions ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; pointer-events: none;
}
.preloader__word { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 12vw, 9rem); letter-spacing: -0.04em; display: flex; overflow: hidden; line-height: 1.1; }
.preloader__word span { display: inline-block; }
.preloader__count { position: absolute; bottom: var(--pad); right: var(--pad); font-size: 0.8rem; letter-spacing: 0.15em; opacity: 0.6; }
.preloader__line { position: absolute; bottom: 0; left: 0; height: 2px; width: 100%; background: var(--terra); transform-origin: left; transform: scaleX(0); }
.curtain { position: fixed; inset: 0; z-index: 190; background: var(--ink); pointer-events: none; }
.no-js .preloader, .no-js .curtain { display: none; }

/* ---------- Reveal utilities ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; will-change: transform; }
.mask { overflow: hidden; position: relative; }
.mask img { width: 100%; height: 100%; object-fit: cover; }
.parallax img { transform: scale(1.18); transform-origin: center; }
[data-fade] { will-change: transform, opacity; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; color: var(--paper); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 6, 0.35) 0%, rgba(10, 12, 6, 0.05) 35%, rgba(10, 12, 6, 0.65) 100%); }
.hero__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--header-h) var(--pad) clamp(24px, 3vw, 40px); }
.hero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); }
.hero__meta { max-width: 30ch; font-size: 0.95rem; opacity: 0.9; text-align: right; }

/* search bar */
.search {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.8fr auto; align-items: stretch;
  background: rgba(248, 242, 230, 0.96); color: var(--ink); border-radius: 999px; padding: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.search__f { padding: 10px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; text-align: left; min-width: 0; border-radius: 999px; transition: background 0.3s; }
.search__f:hover { background: rgba(21,24,14,0.05); }
.search__f:nth-last-child(2) { border-right: 0; }
.search__f label, .search__f .lbl { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.search__f .val { font-size: 0.98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search__f select { border: 0; background: transparent; padding: 0; appearance: none; cursor: pointer; font-size: 0.98rem; }
.search .btn { padding-inline: 2em; }

/* scroll cue */
.cue { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.cue i { width: 1px; height: 38px; background: currentColor; position: relative; overflow: hidden; opacity: 0.8; }
.cue i::after { content: ""; position: absolute; inset: 0; background: var(--terra); transform: translateY(-100%); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%);} 60%,100% { transform: translateY(100%);} }

/* ---------- Intro ---------- */
.intro { align-items: start; }
.intro__label { grid-column: 1 / 4; padding-top: 0.8em; }
.intro__text { grid-column: 4 / 13; }
.intro__text .h2 { max-width: 20ch; }
.intro__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.stat { padding-top: 22px; }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; }
.stat span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Apartment cards ---------- */
.apts__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.apts { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.apts .card:nth-child(2) { margin-top: clamp(80px, 14vw, 220px); }
.card { display: block; }
.card__media { aspect-ratio: 4 / 5; border-radius: 4px; }
.card:nth-child(1) .card__media { aspect-ratio: 5 / 6; }
.card__media img { transition: transform 1.4s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag { position: absolute; top: 18px; left: 18px; background: var(--paper); color: var(--ink); padding: 0.45em 0.9em; border-radius: 999px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; z-index: 2; }
.card__view { position: absolute; right: 18px; bottom: 18px; width: 96px; height: 96px; border-radius: 50%; background: var(--terra); color: var(--paper); display: grid; place-items: center; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; transform: scale(0); transition: transform 0.6s var(--ease-out); z-index: 2; }
.card:hover .card__view { transform: scale(1); }
.card__body { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding-top: 20px; }
.card__no { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--muted); grid-column: 1 / -1; }
.card__meta { color: var(--muted); font-size: 0.92rem; }
.card__price { text-align: right; font-size: 0.92rem; }
.card__price b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; display: block; line-height: 1.1; color: var(--ink); }

/* ---------- Book direct (numbered) ---------- */
.direct { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.direct__left { position: sticky; top: calc(var(--header-h) + 40px); }
.direct__list { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.direct__list li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line-light); }
.direct__list li:last-child { border-bottom: 1px solid var(--line-light); }
.direct__list .n { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--sand); }
.direct__list h3 { margin: 0 0 8px; }
.direct__list p { margin: 0; max-width: 46ch; }
.compare { margin-top: 40px; border-radius: 6px; padding: 24px; background: rgba(248,242,230,0.06); box-shadow: inset 0 0 0 1px var(--line-light); font-size: 0.92rem; }
.compare__row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line-light); }
.compare__row:last-child { border: 0; font-weight: 500; color: var(--sand); }

/* ---------- Split image + amenities ---------- */
.split-sec { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: start; }
.split-sec .a { grid-column: 1 / 6; grid-row: 1 / span 2; aspect-ratio: 3 / 4; border-radius: 4px; }
.split-sec .txt { grid-column: 7 / 13; grid-row: 1; padding-top: 4vw; }
.split-sec .b { grid-column: 8 / 12; grid-row: 2; aspect-ratio: 4 / 3; border-radius: 4px; align-self: end; }
.ticker { display: flex; gap: 0; overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; white-space: nowrap; }
.ticker__track { display: flex; gap: 48px; padding-right: 48px; animation: tick 40s linear infinite; flex-shrink: 0; }
.ticker__track span { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-weight: 300; display: inline-flex; align-items: center; gap: 48px; }
.ticker__track span::after { content: "✦"; font-size: 0.6em; color: var(--terra); }
@keyframes tick { to { transform: translateX(-100%); } }

/* ---------- Zoom section ---------- */
.zoom { position: relative; height: 100vh; overflow: hidden; }
.zoom__media { position: absolute; inset: 0; clip-path: inset(18% 26% 18% 26% round 6px); will-change: clip-path; }
.zoom__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.zoom__shade { position: absolute; inset: 0; background: rgba(10,12,6,0.42); opacity: 0; }
.zoom__txt { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--paper); z-index: 2; padding: var(--pad); }
.zoom__txt .h1 { max-width: 14ch; }
.zoom__cap { position: absolute; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; z-index: 2; color: var(--ink); }
.zoom__cap--t { top: calc(var(--header-h) + 8px); }
.zoom__cap--b { bottom: 28px; }

/* ---------- Reviews ---------- */
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.score { display: flex; align-items: center; gap: 14px; }
.score b { font-family: var(--serif); font-weight: 300; font-size: 3.4rem; line-height: 1; }
.stars { color: var(--terra); letter-spacing: 0.15em; }
.rail { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.review { flex: 0 0 min(460px, 82vw); scroll-snap-align: start; padding: 32px; background: var(--paper); border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 320px; user-select: none; }
.review p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; margin: 0; font-weight: 300; }
.review footer { font-size: 0.85rem; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.rail-ctrl { display: flex; gap: 10px; }
.circ { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; display: grid; place-items: center; transition: background 0.4s, color 0.4s; }
.circ:hover { background: var(--ink); color: var(--paper); }

/* ---------- Neighbourhoods ---------- */
.hoods { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hood { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); }
.hood + .hood { padding-left: 24px; }
.hood:last-child { border-right: 0; }
.hood b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }
.hood span { font-size: 0.9rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 400; }
.faq__q i { width: 14px; height: 14px; position: relative; flex-shrink: 0; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { transform: rotate(0); }
.faq__a { height: 0; overflow: hidden; transition: height 0.6s var(--ease); }
.faq__a p { margin: 0; padding: 0 0 28px; max-width: 62ch; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; color: var(--paper); min-height: 80vh; display: grid; place-items: center; text-align: center; }
.cta__bg { position: absolute; inset: -10% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,12,6,0.5); }
.cta__in { position: relative; padding: var(--pad); display: grid; gap: 32px; justify-items: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 120px) var(--pad) 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 64px; }
.footer h4 { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; opacity: 0.55; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--sand); }
.footer__word { font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 24vw, 22rem); line-height: 0.8; letter-spacing: -0.05em; margin: 0 0 24px -0.04em; white-space: nowrap; }
.footer__word span { display: inline-block; }
.footer__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 0.8rem; opacity: 0.65; }
.newsletter { display: flex; border-bottom: 1px solid var(--line-light); margin-top: 20px; max-width: 360px; }
.newsletter input { flex: 1; background: transparent; border: 0; padding: 12px 0; color: var(--paper); outline: none; }
.newsletter input::placeholder { color: rgba(248,242,230,0.5); }

/* WhatsApp float */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.5s var(--ease-out);
}
.wa:hover { transform: scale(1.08) rotate(-6deg); }
.wa svg { width: 28px; height: 28px; }

/* =========================================================
   Apartment page
   ========================================================= */
.apt-hero { position: relative; height: 92svh; min-height: 600px; color: var(--paper); overflow: hidden; }
.apt-hero__media { position: absolute; inset: 0; }
.apt-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.apt-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,6,0.35), rgba(10,12,6,0.05) 40%, rgba(10,12,6,0.7)); }
.apt-hero__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--header-h) var(--pad) 40px; }
.crumbs { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; margin-bottom: 20px; }
.crumbs a:hover { text-decoration: underline; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-light); margin-top: 36px; }
.facts div { padding: 18px 16px 0 0; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line-light); }
.facts b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; }
.facts span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }

.gallery { position: relative; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.gallery__count { font-family: var(--serif); font-size: 1.4rem; white-space: nowrap; }
.gallery__count b { font-weight: 400; }
.gallery__rail { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-inline: var(--pad); cursor: grab; scroll-snap-type: x mandatory; }
.gallery__rail::-webkit-scrollbar { display: none; }
.gallery__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gallery__item { flex: 0 0 auto; height: clamp(320px, 62vh, 640px); scroll-snap-align: start; position: relative; border-radius: 4px; overflow: hidden; }
.gallery__item:nth-child(3n+1) { aspect-ratio: 4 / 5; }
.gallery__item:nth-child(3n+2) { aspect-ratio: 3 / 2; }
.gallery__item:nth-child(3n) { aspect-ratio: 5 / 6; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); user-select: none; -webkit-user-drag: none; pointer-events: none; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--paper); padding: 0.35em 0.8em; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.gallery__progress { height: 1px; background: var(--line); margin: 28px var(--pad) 0; position: relative; }
.gallery__progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0.1); }

.apt-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(40px, 6vw, 100px); align-items: start; }
.apt-sec { padding-block: 56px; border-top: 1px solid var(--line); }
.apt-sec:first-child { border-top: 0; padding-top: 0; }
.apt-sec > .eyebrow { margin-bottom: 24px; display: flex; }
.apt-desc p { font-size: 1.12rem; line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.apt-desc p:first-child { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.35; color: var(--ink); font-weight: 300; }
.hl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.hl div { padding: 20px 20px 20px 0; border-top: 1px solid var(--line); }
.hl div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.hl b { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.amen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; list-style: none; margin: 0; padding: 0; }
.amen li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.amen li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); flex-shrink: 0; }
.rates { width: 100%; border-collapse: collapse; }
.rates td, .rates th { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.rates th { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.rates td:last-child, .rates th:last-child { text-align: right; }
.rates .festive { color: var(--terra); }
.policy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.policy h4 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 0 0 12px; }
.policy ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); display: grid; gap: 8px; font-size: 0.96rem; }
.map { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--cream); filter: grayscale(0.6) sepia(0.15); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* sticky booking card */
.bookcard { position: sticky; top: calc(var(--header-h) + 24px); background: var(--cream); border-radius: 8px; padding: 28px; }
.bookcard__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.bookcard__price b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.bookcard .btn { margin-top: 20px; }
.bookcard__note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.bookcard__perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 0.88rem; border-top: 1px solid var(--line); padding-top: 18px; }
.bookcard__perks li { display: flex; gap: 10px; }
.bookcard__perks li::before { content: "✓"; color: var(--sage); font-weight: 600; }

/* mini calendar (shared with modal) */
.cal { user-select: none; }
.cal__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal__nav button { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: background 0.3s; }
.cal__nav button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.cal__nav button:disabled { opacity: 0.3; cursor: default; }
.cal__months { display: grid; grid-template-columns: repeat(var(--months, 1), 1fr); gap: 28px; }
.cal__title { font-family: var(--serif); font-size: 1.1rem; text-align: center; margin-bottom: 10px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.cal__dow { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: 6px; }
.cal__d { aspect-ratio: 1; display: grid; place-items: center; font-size: 0.86rem; position: relative; border-radius: 50%; transition: background 0.2s, color 0.2s; }
.cal__d.is-festive::after { content: ""; position: absolute; bottom: 14%; width: 3px; height: 3px; border-radius: 50%; background: var(--terra); }
.cal__d.is-booked { color: var(--muted); text-decoration: line-through; opacity: 0.55; cursor: not-allowed; }
.cal__d.is-past { opacity: 0.28; cursor: not-allowed; }
.cal__d.is-free { cursor: pointer; }
.cal__d.is-free:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.cal__d.in-range { background: rgba(156, 75, 40, 0.14); border-radius: 0; }
.cal__d.is-start, .cal__d.is-end { background: var(--ink); color: var(--paper); border-radius: 50%; }
.cal__d.is-start.has-end { border-radius: 50% 0 0 50%; }
.cal__d.is-end { border-radius: 0 50% 50% 0; }
.cal__d.is-start.is-end { border-radius: 50%; }
.cal__d.is-start::after, .cal__d.is-end::after { background: var(--paper); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 0.78rem; color: var(--muted); }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.other { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.other__media { aspect-ratio: 16 / 11; border-radius: 4px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10,12,6,0.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 80vh; object-fit: contain; border-radius: 4px; }
.lightbox__bar { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 24px; color: var(--paper); font-size: 0.85rem; letter-spacing: 0.1em; }
.lightbox .circ { color: var(--paper); }
.lightbox .circ:hover { background: var(--paper); color: var(--ink); }
.lightbox__close { position: absolute; top: 20px; right: 20px; }

/* =========================================================
   About page
   ========================================================= */
.page-hero { padding: calc(var(--header-h) + clamp(60px, 10vw, 140px)) var(--pad) clamp(48px, 6vw, 80px); }
.page-hero .display { max-width: 12ch; }
.about-img { aspect-ratio: 21 / 9; border-radius: 4px; margin-inline: var(--pad); }
.story { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: start; }
.story__portrait { grid-column: 1 / 5; aspect-ratio: 3 / 4; border-radius: 4px; }
.story__text { grid-column: 6 / 12; }
.story__text p { font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
.story__text .quote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.2; color: var(--ink); letter-spacing: -0.015em; margin: 0 0 32px; }
.sig { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--terra); }
.philo { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.philo__item { border-top: 1px solid var(--line-light); padding-top: 24px; }
.philo__item .n { font-family: var(--serif); font-style: italic; color: var(--sand); font-size: 1.1rem; }
.philo__item h3 { margin: 48px 0 14px; }
.care { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.care__media { aspect-ratio: 4 / 5; border-radius: 4px; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps b { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); font-weight: 500; padding-top: 3px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.team__m .mask { aspect-ratio: 4 / 5; border-radius: 4px; margin-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.contact-grid > div { padding: 28px 24px 0 0; }
.contact-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.contact-grid a { font-family: var(--serif); font-size: 1.35rem; }
.contact-grid a:hover { color: var(--terra); }

/* =========================================================
   Booking modal
   ========================================================= */
.bk { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.bk.is-open { visibility: visible; }
.bk__scrim { position: absolute; inset: 0; background: rgba(10,12,6,0.55); opacity: 0; transition: opacity 0.5s; }
.bk.is-open .bk__scrim { opacity: 1; }
.bk__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(1080px, 100%);
  background: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  transform: translateX(100%); transition: transform 0.8s var(--ease);
}
.bk.is-open .bk__panel { transform: translateX(0); }
.bk__main { display: flex; flex-direction: column; min-height: 0; }
.bk__top { display: flex; justify-content: space-between; align-items: center; padding: 22px 32px; border-bottom: 1px solid var(--line); gap: 16px; }
.bk__steps { display: flex; gap: 22px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.bk__steps span { opacity: 0.38; display: flex; align-items: center; gap: 8px; transition: opacity 0.3s; }
.bk__steps span i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; display: grid; place-items: center; font-size: 0.72rem; }
.bk__steps span.is-on { opacity: 1; }
.bk__steps span.is-done i { background: var(--ink); color: var(--paper); box-shadow: none; }
.bk__close { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: transform 0.5s var(--ease), background 0.3s; flex-shrink: 0; }
.bk__close:hover { transform: rotate(90deg); background: var(--ink); color: var(--paper); }
.bk__body { flex: 1; overflow-y: auto; padding: 32px; overscroll-behavior: contain; }
.bk__step { display: none; }
.bk__step.is-on { display: block; animation: stepIn 0.6s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bk__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 24px; }
.bk__label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 28px 0 12px; display: block; }
.bk__apts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk__apt { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: box-shadow 0.3s, background 0.3s; }
.bk__apt img { width: 84px; height: 72px; object-fit: cover; border-radius: 4px; }
.bk__apt b { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; display: block; line-height: 1.2; }
.bk__apt span { font-size: 0.8rem; color: var(--muted); }
.bk__apt.is-on { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--cream); }
.bk .cal { --months: 2; }
.guests { display: grid; gap: 0; }
.guests__row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.guests__row small { display: block; color: var(--muted); font-size: 0.8rem; }
.stepper { display: flex; align-items: center; gap: 16px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); font-size: 1.1rem; line-height: 1; transition: background 0.3s; }
.stepper button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper output { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.msg { margin-top: 16px; padding: 12px 16px; border-radius: 6px; font-size: 0.88rem; background: rgba(156,75,40,0.1); color: var(--terra-d); display: none; }
.msg.is-on { display: block; }
.msg--ok { background: rgba(104,127,107,0.14); color: #3f5843; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0; outline: none; border-radius: 0; transition: border-color 0.3s; }
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-err input, .field.is-err select { border-color: var(--terra); }
.field .err { font-size: 0.78rem; color: var(--terra); display: none; margin-top: 4px; }
.field.is-err .err { display: block; }
.phone { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.toggle { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 8px; background: var(--cream); cursor: pointer; }
.toggle input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; flex-shrink: 0; }
.toggle small { display: block; color: var(--muted); }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { padding: 0.6em 1.2em; border-radius: 999px; font-size: 0.85rem; font-weight: 500; transition: background 0.3s, color 0.3s; }
.seg button.is-on { background: var(--ink); color: var(--paper); }
.pay { display: grid; gap: 10px; }
.pay__opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow 0.3s, background 0.3s; }
.pay__opt:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--cream); }
.pay__opt input { accent-color: var(--ink); width: 18px; height: 18px; }
.pay__opt small { display: block; color: var(--muted); font-size: 0.8rem; }
.pay__opt .tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35em 0.7em; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.cardbox { margin-top: 14px; padding: 18px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.cardbox .field:first-child { grid-column: 1 / -1; }
.demo-note { font-size: 0.78rem; color: var(--muted); margin-top: 8px; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 0.9rem; cursor: pointer; }
.agree input { accent-color: var(--ink); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.terms-box { margin-top: 12px; padding: 16px 18px; background: var(--cream); border-radius: 8px; font-size: 0.86rem; }
.terms-box ul { margin: 6px 0 0; padding-left: 1.1em; display: grid; gap: 4px; color: var(--ink-2); }

.bk__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 32px; border-top: 1px solid var(--line); background: var(--paper); }
.bk__foot .back { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.bk__foot .back:disabled { opacity: 0; pointer-events: none; }

/* summary column */
.bk__sum { background: var(--ink); color: var(--paper); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.bk__sum-img { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; }
.bk__sum-img img { width: 100%; height: 100%; object-fit: cover; }
.bk__sum h3 { font-family: var(--serif); font-weight: 300; font-size: 1.6rem; margin: 0; line-height: 1.1; }
.bk__sum .muted { font-size: 0.85rem; }
.sum-rows { display: grid; gap: 0; font-size: 0.9rem; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.sum-rows div span:first-child { opacity: 0.72; }
.sum-rows .is-festive span:last-child { color: var(--sand); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.sum-total b { font-family: var(--serif); font-weight: 300; font-size: 2rem; }
.sum-note { font-size: 0.78rem; opacity: 0.6; line-height: 1.5; }
.sum-perk { font-size: 0.82rem; padding: 12px 14px; border-radius: 6px; background: rgba(248,242,230,0.08); }

.done { text-align: center; padding: 40px 0; max-width: 520px; margin: 0 auto; }
.done__tick { width: 84px; height: 84px; border-radius: 50%; background: var(--sage); color: var(--paper); display: grid; place-items: center; margin: 0 auto 28px; }
.done__tick svg { width: 36px; height: 36px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.8s 0.3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__ref { display: inline-block; margin: 18px 0 28px; padding: 10px 18px; border-radius: 999px; background: var(--cream); font-family: ui-monospace, Menlo, monospace; letter-spacing: 0.08em; }

/* demo ribbon */
.demo-ribbon { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease-out); position: fixed; left: 20px; bottom: 20px; z-index: 40; background: var(--paper); color: var(--ink); box-shadow: 0 8px 28px rgba(0,0,0,0.14); padding: 10px 14px; border-radius: 999px; font-size: 0.74rem; display: flex; align-items: center; gap: 8px; }
.demo-ribbon.is-on { opacity: 1; transform: none; }
.demo-ribbon b { color: var(--terra); font-weight: 600; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .search { grid-template-columns: 1fr 1fr; border-radius: 20px; gap: 4px; }
  .search__f { border-right: 0; border-radius: 14px; }
  .search .btn { grid-column: 1 / -1; justify-content: center; }
  .apt-body { grid-template-columns: 1fr; }
  .bookcard { position: static; }
  .bk__panel { grid-template-columns: 1fr; }
  .bk__sum { display: none; }
  .bk__sum.is-mobile { display: flex; }
}
@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .header__right .cur { display: none; }
  .header .btn { display: none; }
  .hero__top { flex-direction: column; align-items: flex-start; }
  .hero__meta { text-align: left; }
  .intro__label, .intro__text { grid-column: 1 / -1; }
  .intro__label { margin-bottom: 24px; }
  .intro__row { grid-template-columns: 1fr; gap: 0; }
  .apts { grid-template-columns: 1fr; }
  .apts .card:nth-child(2) { margin-top: 0; }
  .apts__head, .reviews__head, .gallery__head { flex-direction: column; align-items: flex-start; }
  .direct, .faq, .care, .other { grid-template-columns: 1fr; }
  .direct__left { position: static; }
  .split-sec .a, .split-sec .b, .split-sec .txt { grid-column: 1 / -1; grid-row: auto; margin: 0; }
  .split-sec { row-gap: 24px; }
  .split-sec .b { display: none; }
  .zoom__media { clip-path: inset(22% 10% 22% 10% round 6px); }
  .hoods { grid-template-columns: 1fr 1fr; }
  .hood, .hood + .hood { padding: 20px 12px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > div:first-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .facts div:nth-child(4) { border-left: 0; padding-left: 0; }
  .hl, .amen, .policy { grid-template-columns: 1fr; }
  .hl div:nth-child(even) { padding-left: 0; border-left: 0; }
  .story__portrait, .story__text { grid-column: 1 / -1; }
  .story { row-gap: 40px; }
  .philo, .team, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div + div { padding-left: 0; border-left: 0; }
  .about-img { aspect-ratio: 4 / 3; }
  .bk__top { padding: 16px 20px; }
  .bk__steps b { display: none; }
  .bk__body { padding: 24px 20px; }
  .bk__foot { padding: 14px 20px; }
  .bk__apts { grid-template-columns: 1fr; }
  .bk .cal { --months: 1; }
  .form { grid-template-columns: 1fr; }
  .cardbox { grid-template-columns: 1fr 1fr; }
  .demo-ribbon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ticker__track { animation: none; }
}
.zoom__txt em { color: var(--sand) !important; }
.cta em { color: var(--sand) !important; }
.cal__d.is-end, .cal__d.is-start { opacity: 1; text-decoration: none; color: var(--paper); }
