/* Вила Горска Магия */

:root {
  --bg: #f4efe4;
  --bg-2: #ebe4d5;
  --ink: #17251d;
  --muted: #5b675e;
  --forest: #1d4232;
  --forest-2: #2f5d47;
  --copper: #a14e2c;
  --copper-2: #c26a41;
  --gold: #b98a45;
  --line: rgba(23, 37, 29, .13);
  --glass: rgba(255, 252, 245, .62);
  --card: #fbf6ec;
  --glass-b: rgba(255, 255, 255, .7);
  --glass-hi: rgba(255, 255, 255, .85);
  --shadow: 0 1px 1px rgba(23, 37, 29, .04), 0 12px 32px -14px rgba(23, 37, 29, .28);
  --shadow-lg: 0 2px 2px rgba(23, 37, 29, .04), 0 40px 80px -36px rgba(23, 37, 29, .45);
  --r: 28px;
  --r-sm: 18px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --spring: cubic-bezier(.2, .9, .25, 1.15);
  --out: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(18px, 4vw, 48px);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0d1512;
  --bg-2: #131e19;
  --ink: #eef0e6;
  --muted: #a3ada3;
  --forest: #cfe3d2;
  --forest-2: #9dc0a6;
  --copper: #df8a5e;
  --copper-2: #eba27a;
  --gold: #d9b06c;
  --line: rgba(238, 240, 230, .14);
  --glass: rgba(26, 38, 32, .6);
  --card: #17231d;
  --glass-b: rgba(255, 255, 255, .13);
  --glass-hi: rgba(255, 255, 255, .16);
  --shadow: 0 12px 32px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 40px 80px -36px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .5s, color .5s;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--copper); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: clamp(76px, 10vw, 150px); position: relative; }

/* ---------- type ---------- */
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 9px; background: currentColor; -webkit-mask: var(--rhomb) center / contain no-repeat; mask: var(--rhomb) center / contain no-repeat; --rhomb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9'%3E%3Cpath d='M4.5 0 9 4.5 4.5 9 0 4.5zM17.5 0 22 4.5 17.5 9 13 4.5zM11 2.5l2 2-2 2-2-2z'/%3E%3C/svg%3E"); }
.eyebrow--light { color: #f3d9b8; justify-content: center; }
.h2 { font: 500 clamp(44px, 6.6vw, 92px)/.98 var(--serif); letter-spacing: -.015em; margin-top: 18px; text-wrap: balance; }
.h2 em, .cta__t em { font-style: italic; color: var(--copper); }
.h3 { font: 500 clamp(30px, 3.4vw, 44px)/1.05 var(--serif); }
.h4 { font: 600 19px/1.25 var(--sans); letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; margin-top: 26px; text-wrap: pretty; }
.sec__head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec__aside { color: var(--muted); max-width: 22em; padding-bottom: 8px; }
.lnk { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--copper); }
.lnk .i { transition: transform .35s var(--out); }
.lnk:hover .i { transform: translateX(5px); }

/* ---------- glass ---------- */
.glass {
  background: var(--card);
  border: 1px solid var(--glass-b);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
}
.hdr__in, .dock, .sheet__panel, .map__card, .toast, .bento__cap, .place__b, .hero__wx, .hero__stage .hero__seg, .pets__c figcaption {
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
}
.hdr__in, .dock, .toast { background: var(--glass); }
[data-glow] { position: relative; isolation: isolate; }
[data-glow]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -40%), rgba(255, 255, 255, .5), transparent 65%);
  opacity: 0; transition: opacity .4s;
}
[data-glow]:hover::after { opacity: 1; }
:root[data-theme="dark"] [data-glow]::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -40%), rgba(255, 255, 255, .13), transparent 65%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: transform .45s var(--spring), box-shadow .3s, background-color .3s, color .3s;
  will-change: transform;
}
.btn:active { transform: scale(.955); transition-duration: .1s; }
.btn--lg { height: 58px; padding: 0 28px; font-size: 17px; }
.btn--solid { background: var(--forest); color: var(--bg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px -10px rgba(29, 66, 50, .7); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 30px -12px rgba(29, 66, 50, .75); }
.btn--glass { background: var(--card); border: 1px solid var(--glass-b); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow); }
.btn--glass:hover, .btn--line:hover { transform: translateY(-2px); }
.btn--line { border: 1px solid var(--line); }
.btn--light { background: #fbf6ea; color: #17251d; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6); }
.btn--light:hover { transform: translateY(-2px); }
.btn--onDark { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.ibtn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  transition: transform .45s var(--spring), background-color .3s;
}
.ibtn:hover { background: rgba(127, 127, 127, .14); }
.ibtn:active { transform: scale(.88); transition-duration: .1s; }
.ibtn--line { border: 1px solid var(--line); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 12px 0 auto; z-index: 60; padding-inline: clamp(10px, 2vw, 22px); pointer-events: none; transition: transform .5s var(--out); }
.hdr.is-hidden { transform: translateY(-130%); }
.hdr__in { pointer-events: auto; max-width: 1320px; margin-inline: auto; height: 64px; border-radius: 999px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px 0 22px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 26px; height: 26px; color: var(--forest-2); }
.brand__name { font: italic 600 27px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 9px 15px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .25s, background-color .25s; }
.nav a:hover, .nav a.is-on { color: var(--ink); background: rgba(127, 127, 127, .12); }
.hdr__tools { display: flex; align-items: center; gap: 2px; }
.hdr__cta { margin-left: 8px; height: 44px; }
.hdr__menu { display: none; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
:root[data-theme="dark"] .i-sun { display: none; }
[data-sound][aria-pressed="false"] { color: var(--muted); }

/* ---------- mobile sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet[hidden] { display: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(8, 14, 11, .42); opacity: 0; transition: opacity .4s; }
.sheet__panel { position: absolute; inset: auto 8px 8px; border-radius: 34px; padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .55s var(--out); background: color-mix(in srgb, var(--bg) 78%, transparent); }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grab { display: block; width: 40px; height: 5px; border-radius: 9px; background: var(--line); margin: 4px auto 12px; }
.sheet nav a { display: block; padding: 13px 4px; font: 500 30px/1.1 var(--serif); border-bottom: 1px solid var(--line); }
.sheet__theme { display: flex; align-items: center; gap: 12px; padding: 16px 4px 4px; color: var(--muted); font-weight: 500; }
.sheet__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding: 108px var(--pad) 56px; max-width: 1380px; margin-inline: auto; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 -20vw; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 18% 30%, rgba(111, 143, 90, .22), transparent 70%), radial-gradient(40% 40% at 90% 85%, rgba(161, 78, 44, .14), transparent 70%); }
.hero__title { font: 500 clamp(74px, 11.4vw, 178px)/.84 var(--serif); letter-spacing: -.03em; margin: 22px 0 0 -.04em; }
.hero__title span, .hero__title em { display: block; }
.hero__title em { font-style: italic; color: var(--copper); padding-left: .42em; }
.hero__lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 25em; margin-top: 34px; line-height: 1.5; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 12px; border-radius: 999px; font-size: 15px; font-weight: 500; background: var(--glass); border: 1px solid var(--glass-b); box-shadow: inset 0 1px 0 var(--glass-hi), 0 4px 14px -8px rgba(23, 37, 29, .3); }
.pills .i { color: var(--copper); width: 18px; height: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__stage { position: relative; aspect-ratio: 4 / 4.7; max-height: calc(100svh - 150px); width: 100%; justify-self: end; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-2); isolation: isolate; }
.hero__shot { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__shot.is-on { opacity: 1; }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s linear; }
.hero__shot.is-on img { transform: scale(1.01); }
.hero__stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); pointer-events: none; z-index: 3; background: linear-gradient(to top, rgba(10, 18, 14, .4), transparent 30%); }
.hero__wx { position: absolute; left: 16px; top: 16px; z-index: 4; display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff; background: rgba(20, 30, 25, .34); border-color: rgba(255, 255, 255, .28); }
.hero__wx[hidden] { display: none; }
.hero__wx i { width: 8px; height: 8px; border-radius: 50%; background: #ffd08a; box-shadow: 0 0 0 4px rgba(255, 208, 138, .25); }
.hero__stage .hero__seg { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 4; background: rgba(20, 30, 25, .34); border-color: rgba(255, 255, 255, .28); color: #fff; }
.hero__seg .seg__b { color: rgba(255, 255, 255, .82); }
.hero__seg .seg__b.is-on { color: #17251d; }
.hero__scroll { position: absolute; left: var(--pad); bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* segmented control */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; max-width: 100%; }
.seg__b { position: relative; z-index: 1; height: 38px; padding: 0 17px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .3s; }
.seg__b.is-on { color: var(--ink); }
.seg__thumb { position: absolute; top: 4px; left: 0; height: calc(100% - 8px); border-radius: 999px; background: #fffdf7; box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 6px 14px -6px rgba(0, 0, 0, .35); transition: transform .55s var(--spring), width .45s var(--out); }
:root[data-theme="dark"] .seg:not(.hero__seg) .seg__thumb { background: rgba(255, 255, 255, .16); }
.seg--sm .seg__b { height: 32px; font-size: 14px; flex: 1; }
.seg--sm { display: flex; background: rgba(127, 127, 127, .14); }

/* ---------- parallax bands ---------- */
.scene { position: relative; overflow: hidden; overflow: clip; }
.scene__head { position: relative; z-index: 2; text-align: center; padding: clamp(64px, 9vw, 120px) var(--pad) 0; }
.scene__k { font-size: 15px; font-weight: 500; color: var(--copper); letter-spacing: .02em; }
.scene__t { font: 500 clamp(38px, 5.6vw, 76px)/1.02 var(--serif); letter-spacing: -.015em; margin-top: 12px; }
.scene__art { position: relative; height: clamp(380px, 56vw, 720px); margin-top: clamp(-70px, -5vw, -20px); }
.ly { position: absolute; left: 0; top: 0; width: 100%; height: 108%; max-width: none; object-fit: cover; object-position: 50% 100%; pointer-events: none; user-select: none; backface-visibility: hidden; }
.scene--day { background: linear-gradient(var(--bg) 0, #dbe8e6 34%, #b7d6e6 78%); }
.scene--day .scene__t { color: #17251d; }
.scene--day .scene__k { color: #a14e2c; }
.scene--day::after { content: ""; position: absolute; inset: auto 0 0; height: 110px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }
:root[data-theme="dark"] .scene--day { background: linear-gradient(var(--bg) 0, #24384a 40%, #5f8496 85%); }
:root[data-theme="dark"] .scene--day .scene__t { color: #eef0e6; }
:root[data-theme="dark"] .scene--day .scene__k { color: #eba27a; }
:root[data-theme="dark"] .scene--day .ly { opacity: .86; }
.scene--night { margin: 0 clamp(8px, 1.6vw, 22px); border-radius: clamp(30px, 4vw, 52px); color: #f1f4fa; background-color: #0b1526; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='260'%3E%3Cg fill='%23eaf1ff'%3E%3Ccircle cx='22' cy='30' r='1.1'/%3E%3Ccircle cx='96' cy='74' r='.7'/%3E%3Ccircle cx='150' cy='22' r='1.3' fill='%23ffe3b0'/%3E%3Ccircle cx='214' cy='96' r='.8'/%3E%3Ccircle cx='282' cy='40' r='1'/%3E%3Ccircle cx='318' cy='132' r='.7'/%3E%3Ccircle cx='60' cy='150' r='.9'/%3E%3Ccircle cx='176' cy='168' r='1.1'/%3E%3Ccircle cx='250' cy='214' r='.7'/%3E%3Ccircle cx='118' cy='228' r='1'/%3E%3Ccircle cx='30' cy='236' r='.6'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(#060c18 0, #101d35 50%, #22365a 100%); }
.scene--night .scene__k { color: #ffcf8a; }
.sun { position: absolute; left: 70%; top: 6%; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, #fffbe8 0 34%, rgba(255, 244, 205, .55) 46%, rgba(255, 240, 190, 0) 70%); }
.moon { position: absolute; left: 76%; top: 4%; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #fffdf2 0 26%, rgba(214, 226, 255, .32) 34%, rgba(170, 195, 255, 0) 70%); }

/* ---------- photos ---------- */
.ph { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); isolation: isolate; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
a.ph:hover img, .ph a:hover img { transform: scale(1.045); }
.ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); pointer-events: none; }
.ph > a { display: block; height: 100%; }
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--out); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sign { font: italic 500 26px/1.2 var(--serif); color: var(--forest-2); margin-top: 26px; }
.about__pics { position: relative; aspect-ratio: 1 / 1.02; }
.ph--a { position: absolute; inset: 0 26% 12% 0; }
.ph--b { position: absolute; inset: auto 0 0 34%; aspect-ratio: 3 / 2; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: clamp(48px, 7vw, 96px); }
.fact { border-radius: var(--r); padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.fact b { font: 500 clamp(52px, 5.4vw, 80px)/.86 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.fact b i { font-style: italic; color: var(--copper); font-size: .62em; margin-left: .06em; }
.fact span { color: var(--muted); font-size: 15px; line-height: 1.35; }

/* shevitsa band, after Rhodope weaving */
.shev { height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='18' viewBox='0 0 72 18'%3E%3Cg fill='%23a14e2c'%3E%3Cpath d='M18 1l8 8-8 8-8-8zM18 5l-4 4 4 4 4-4z' fill-rule='evenodd'/%3E%3Cpath d='M54 1l8 8-8 8-8-8zM54 5l-4 4 4 4 4-4z' fill-rule='evenodd'/%3E%3C/g%3E%3Cg fill='%232f5d47'%3E%3Cpath d='M16.5 7.5h3v3h-3zM52.5 7.5h3v3h-3zM34.5 4h3v3h-3zM34.5 11h3v3h-3zM31 7.5h3v3h-3zM38 7.5h3v3h-3zM-1.5 4h3v3h-3zM-1.5 11h3v3h-3zM70.5 4h3v3h-3zM70.5 11h3v3h-3zM2 7.5h3v3H2zM67 7.5h3v3h-3z'/%3E%3C/g%3E%3Cg fill='%23b98a45'%3E%3Cpath d='M34.5 7.5h3v3h-3zM-1.5 7.5h3v3h-3zM70.5 7.5h3v3h-3z'/%3E%3C/g%3E%3C/svg%3E") center / 72px 18px repeat-x; opacity: .85; margin-inline: var(--pad); border-block: 1px solid var(--line); padding-block: 14px; background-origin: content-box; background-clip: content-box; box-sizing: content-box; }
.shev--foot { margin: 0 0 56px; border-top: 0; }

/* ---------- floors ---------- */
.floors { background: linear-gradient(var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.floor { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: 36px; }
.floor[hidden] { display: none; }
.floor.is-on .floor__txt > * { animation: rise .8s var(--out) both; }
.floor.is-on .floor__txt > :nth-child(2) { animation-delay: .06s; }
.floor.is-on .floor__txt > :nth-child(3) { animation-delay: .12s; }
.floor.is-on .floor__txt > :nth-child(4) { animation-delay: .18s; }
.floor.is-on .floor__pics .ph { animation: pop .9s var(--out) both; }
.floor.is-on .floor__pics .ph:nth-child(2) { animation-delay: .08s; }
.floor.is-on .floor__pics .ph:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.floor__n { font: italic 500 22px/1 var(--serif); color: var(--copper); display: block; margin-bottom: 14px; }
.floor__txt p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks li::before { content: ""; width: 9px; height: 9px; background: var(--copper); transform: rotate(45deg); flex: none; }
.floor__pics { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 16 / 10; }
.floor__pics .ph:first-child { grid-row: span 2; }

/* ---------- amenities bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.bento__c { border-radius: var(--r); padding: 28px; min-height: 230px; grid-column: span 4; overflow: hidden; position: relative; }
.bento__c--photo { padding: 0; box-shadow: var(--shadow); }
.bento__c--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.bento__c--photo:hover img { transform: scale(1.045); }
.bento__cap { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: #fff; background: rgba(20, 30, 25, .36); border-color: rgba(255, 255, 255, .28); }
.bento__c--wide { grid-column: span 6; min-height: 300px; }
.bento__c--dark { grid-column: span 3; background: #1d4232; color: #f4efe4; }
.bento__c--copper { grid-column: span 3; background: #a14e2c; color: #fff6ec; }
.bento__c--dark p, .bento__c--copper p { opacity: .82; margin-top: 6px; font-size: 16px; line-height: 1.45; }
.bento__big { width: 44px; height: 44px; stroke-width: 1.25; margin-bottom: auto; }
.bento__c--dark, .bento__c--copper { display: flex; flex-direction: column; justify-content: flex-end; }
.bento__c--dark .bento__big, .bento__c--copper .bento__big { position: absolute; top: 26px; left: 26px; }
.amlist { margin-top: 18px; display: grid; gap: 2px; }
.amlist li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.amlist li:last-child { border: 0; padding-bottom: 0; }
.amlist .i { color: var(--copper); }

/* ---------- yard strip ---------- */
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(var(--pad), calc((100vw - 1280px) / 2 + var(--pad))) 30px; scroll-padding-inline: max(var(--pad), calc((100vw - 1280px) / 2 + var(--pad))); scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip__c { flex: none; width: clamp(240px, 26vw, 330px); scroll-snap-align: start; }
.strip__c a { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); background: var(--bg-2); }
.strip__c img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.strip__c a:hover img { transform: scale(1.05); }
.strip__c:nth-child(even) { margin-top: 34px; }
.strip__c figcaption { padding: 14px 6px 0; color: var(--muted); font-size: 15px; }
.strip__c figcaption b { display: block; color: var(--ink); font: 500 24px/1.1 var(--serif); margin-bottom: 3px; }
.strip__nav { display: flex; gap: 8px; padding-bottom: 8px; }

/* ---------- pets ---------- */
.pets__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.note { border-radius: var(--r); padding: 24px 26px; margin-top: 34px; max-width: 30em; }
.note p { font: italic 500 23px/1.3 var(--serif); }
.note footer { color: var(--muted); font-size: 14px; margin-top: 12px; }
.pets__pics { display: grid; grid-template-columns: 1.15fr .62fr 1fr; gap: 12px; align-items: end; }
.pets__a { aspect-ratio: 3 / 4; }
.pets__b { aspect-ratio: 9 / 19; }
.pets__c { aspect-ratio: 3 / 3.9; margin-bottom: 36px; }
.pets__c figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 9px 14px; border-radius: 16px; font-size: 14px; font-weight: 500; line-height: 1.25; color: #fff; background: rgba(20, 30, 25, .4); border-color: rgba(255, 255, 255, .25); }

/* ---------- occasions ---------- */
.occ__grid { display: grid; grid-template-columns: .7fr 1.2fr .7fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.occ__a, .occ__b { aspect-ratio: 3 / 4; }
.occ__a { transform: rotate(-2.2deg); }
.occ__b { transform: rotate(2.2deg); margin-top: 60px; }
.occ__txt { text-align: center; }
.occ__txt .eyebrow { justify-content: center; }
.occ__txt .lead { margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.chips li, .chip { height: 40px; padding: 0 17px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; white-space: nowrap; }

/* ---------- gallery ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1) 28px; padding: 4px var(--pad); }
.filters::-webkit-scrollbar { display: none; }
.chip { transition: background-color .3s, color .3s, transform .45s var(--spring), border-color .3s; flex: none; }
.chip:active { transform: scale(.94); }
.chip.is-on { background: var(--forest); color: var(--bg); border-color: transparent; }
.grid { columns: 3; column-gap: 14px; }
.g { display: block; break-inside: avoid; margin-bottom: 14px; border-radius: 22px; overflow: hidden; background: var(--bg-2); position: relative; box-shadow: var(--shadow); }
.g img { width: 100%; transition: transform 1.2s var(--out), filter .4s; }
.g:hover img { transform: scale(1.05); }
.g[hidden] { display: none; }
.grid:not(.is-all) .g--more { display: none; }
.g.is-in { animation: pop .7s var(--out) both; }
.gal__more { display: flex; justify-content: center; margin-top: 22px; }
.gal__more[hidden] { display: none; }

/* ---------- reviews ---------- */
.rev { padding-top: 0; }
.rev__grid { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.rev__score { border-radius: 36px; padding: 34px; display: flex; flex-direction: column; gap: 12px; }
.rev__score b { font: 500 clamp(80px, 9vw, 128px)/.8 var(--serif); letter-spacing: -.03em; color: var(--forest-2); }
.rev__score span { color: var(--muted); max-width: 14em; }
.rev__q p { font: 500 clamp(28px, 3.5vw, 50px)/1.14 var(--serif); letter-spacing: -.012em; text-wrap: pretty; }
.rev__q .rev__q2 { font-style: italic; color: var(--copper); margin-top: .5em; }
.rev__q footer { margin-top: 26px; color: var(--muted); }
.rev__heart { width: 30px; height: 30px; color: var(--forest-2); fill: currentColor; stroke: none; margin-bottom: 20px; }

/* ---------- around ---------- */
.around__grid { display: grid; grid-template-columns: 2fr 1.1fr 1.1fr; grid-auto-rows: 168px; gap: 12px; }
.place { border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.place p { color: var(--muted); font-size: 15px; line-height: 1.4; margin-top: 6px; }
.place__d { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); font-weight: 500; margin-bottom: auto; }
.place--photo { grid-row: span 3; padding: 0; box-shadow: var(--shadow); }
.place--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--out); }
.place--photo:hover img { transform: scale(1.04); }
.place__b { position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 20px; padding: 16px 18px; color: #fff; background: rgba(18, 28, 23, .42); border-color: rgba(255, 255, 255, .24); display: flex; flex-direction: column; }
.place__b p { color: rgba(255, 255, 255, .82); }
.place__b .place__d { color: #ffd4a6; margin-bottom: 8px; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.faq__head { position: sticky; top: 110px; margin: 0; }
.faq__head .btn { margin-top: 26px; }
.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 24px; transition: background-color .3s; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 22px 21px 26px; font-weight: 500; font-size: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 34px; height: 34px; padding: 7px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--spring), background-color .3s, color .3s; }
.qa[open] summary .i { transform: rotate(135deg); background: var(--forest); color: var(--bg); border-color: transparent; }
.qa__a { padding: 0 26px 24px; color: var(--muted); max-width: 40em; }
.qa[open] .qa__a { animation: rise .5s var(--out) both; }

/* ---------- map ---------- */
.map { position: relative; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-2); height: clamp(480px, 62vh, 640px); isolation: isolate; }
.map__frame, .map__frame iframe, .map__ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
:root[data-theme="dark"] .map__frame iframe { filter: invert(.92) hue-rotate(180deg) saturate(.7) brightness(.95); }
:root[data-theme="dark"] .map__frame iframe[data-t="k"] { filter: none; }
.map__ph { display: grid; place-items: center; }
.map__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.82); }
.map__ph .btn { position: relative; margin-top: 150px; color: #fff; background: rgba(20, 30, 25, .4); border-color: rgba(255, 255, 255, .3); }
.map__pin { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -62px 0 0 -31px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--copper-2); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -8px rgba(0, 0, 0, .55); animation: pin 2.6s ease-in-out infinite; }
.map__pin .i { transform: rotate(45deg); width: 26px; height: 26px; }
@keyframes pin { 50% { transform: rotate(-45deg) translate(5px, -5px); } }
.map__card { position: absolute; right: 16px; top: 16px; width: min(340px, calc(100% - 32px)); border-radius: 28px; padding: 22px; display: grid; gap: 12px; z-index: 2; background: color-mix(in srgb, var(--bg) 72%, transparent); }
.map__card p { color: var(--muted); font-size: 15px; margin-top: -6px; }
.code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(127, 127, 127, .13); font-size: 14px; font-variant-numeric: tabular-nums; text-align: left; transition: transform .4s var(--spring); }
.code:active { transform: scale(.97); }
.code .i { width: 17px; height: 17px; color: var(--muted); }
.map__from { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px !important; margin: 2px 0 0 !important; }
.map__from a { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.way { display: grid; grid-template-columns: minmax(0, .34fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
.way__pic { aspect-ratio: 3 / 3.6; transform: rotate(-2deg); }
.steps { counter-reset: s; display: grid; gap: 4px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); align-items: baseline; }
.steps li:last-child { border: 0; }
.steps li::before { content: "0" counter(s); font: italic 500 30px/1 var(--serif); color: var(--copper); grid-row: span 2; }
.steps b { color: var(--ink); font: 500 26px/1.15 var(--serif); display: block; }

/* ---------- cta ---------- */
.cta { position: relative; margin: 0 clamp(8px, 1.6vw, 22px); border-radius: clamp(30px, 4vw, 52px); overflow: hidden; color: #fff; text-align: center; isolation: isolate; }
.cta__bg { position: absolute; inset: -14% 0; width: 100%; height: 128%; object-fit: cover; z-index: -2; will-change: transform; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(9, 20, 30, .5), rgba(9, 22, 16, .78)); }
.cta__in { padding-block: clamp(90px, 13vw, 180px); display: flex; flex-direction: column; align-items: center; }
.cta__t { font: 500 clamp(52px, 8.4vw, 128px)/.92 var(--serif); letter-spacing: -.02em; margin-top: 20px; }
.cta__t em { color: #f0b98a; display: block; }
.cta__lead { max-width: 26em; margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .84); }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- footer ---------- */
.foot { padding: 64px 0 120px; }
.foot__in { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: start; }
.foot__brand .brand__name { font-size: 40px; }
.foot__brand p { color: var(--muted); margin-top: 14px; font-size: 15px; }
.foot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.foot__nav a, .foot__soc > a { color: var(--muted); transition: color .25s; }
.foot__nav a:hover { color: var(--ink); }
.foot__soc { display: grid; gap: 14px; justify-items: end; }
.foot__soc > a { font: 500 30px/1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; }
.foot__soc div { display: flex; gap: 8px; }
.foot__c { color: var(--muted); font-size: 14px; margin-top: 48px; }

/* ---------- dock ---------- */
.dock { position: fixed; z-index: 55; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); display: none; padding: 6px; border-radius: 30px; gap: 2px; transition: transform .6s var(--out); width: min(420px, calc(100% - 20px)); }
.dock.is-on { transform: translate(-50%, 0); }
.dock a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px 7px; border-radius: 24px; font-size: 11px; font-weight: 500; transition: transform .4s var(--spring), background-color .3s; }
.dock a:active { transform: scale(.9); background: rgba(127, 127, 127, .18); }
.dock a:first-child { background: var(--forest); color: var(--bg); }
.dock .i { width: 22px; height: 22px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: 76px 1fr 76px; align-items: center; justify-items: center; background: rgba(8, 13, 11, .94); color: #fff; opacity: 0; transition: opacity .35s; }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__fig { grid-column: 2; max-width: 100%; display: grid; justify-items: center; gap: 14px; touch-action: pan-y; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; border-radius: 22px; box-shadow: 0 40px 100px -30px #000; transform: scale(.94); opacity: 0; transition: transform .55s var(--out), opacity .35s; }
.lb.is-open .lb__fig img.is-ready { transform: none; opacity: 1; }
.lb figcaption { display: flex; gap: 14px; align-items: center; padding: 9px 16px; border-radius: 999px; font-size: 14px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); box-shadow: none; }
.lb figcaption b { font-weight: 500; opacity: .6; font-variant-numeric: tabular-nums; }
.lb .ibtn { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); width: 48px; height: 48px; }
.lb__x { position: absolute; right: 16px; top: 16px; z-index: 2; }

.toast { position: fixed; left: 50%; bottom: 100px; z-index: 130; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; opacity: 0; transition: opacity .3s, transform .5s var(--spring); pointer-events: none; }
.toast[hidden] { display: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.js [data-rise] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--out), transform 1.1s var(--out); transition-delay: var(--d, 0s); }
.js [data-rise].is-in { opacity: 1; transform: none; }
.js .occ__a[data-rise].is-in { transform: rotate(-2.2deg); }
.js .occ__b[data-rise].is-in { transform: rotate(2.2deg); }
.js .way__pic[data-rise].is-in { transform: rotate(-2deg); }
.js [data-tilt][data-rise].is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .nav { display: none; }
  .hdr__menu { display: inline-grid; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .bento__c { grid-column: span 6; }
  .bento__c--dark, .bento__c--copper { grid-column: span 3; }
  .around__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .place--photo { grid-row: span 2; }
  .around__grid .place.glass:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 84px; }
  .hero { grid-template-columns: 1fr; padding-top: 104px; gap: 34px; min-height: 0; padding-bottom: 40px; }
  .hero__stage { aspect-ratio: 4 / 4.6; max-height: none; border-radius: 32px; }
  .hero__scroll { display: none; }
  .hdr__cta span { display: none; }
  .hdr__cta { width: 44px; padding: 0; }
  .about__grid, .pets__grid, .rev__grid, .faq__grid, .way, .floor { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .floor__pics { aspect-ratio: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .floor__pics .ph { aspect-ratio: 1 / 1; }
  .floor__pics .ph:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .occ__grid { grid-template-columns: 1fr 1fr; }
  .occ__txt { grid-column: 1 / -1; grid-row: 1; margin-bottom: 14px; }
  .occ__b { margin-top: 30px; }
  .grid { columns: 2; column-gap: 10px; }
  .g { margin-bottom: 10px; border-radius: 18px; }
  .map { height: auto; overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .map__frame { position: relative; height: 380px; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); }
  .map__card { position: relative; right: auto; top: auto; width: auto; margin: -34px 10px 0; }
  .way__pic { max-width: 300px; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__soc { justify-items: start; }
  .dock { display: flex; }
  .scene__art { height: 108vw; margin-top: -8px; }
  .ly { object-position: 68% 100%; }
  .sun, .moon { width: 80px; height: 80px; left: 12%; }
  .seg { overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .pets__pics { grid-template-columns: 1fr .58fr; }
  .pets__c { grid-column: 1 / -1; aspect-ratio: 4 / 3; margin: 0; }
  .hdr__in { height: 58px; padding-left: 18px; }
  .brand__name { font-size: 24px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fact:first-child { grid-column: 1 / -1; }
  .fact { padding: 20px 18px 18px; }
  .bento__c, .bento__c--wide { grid-column: 1 / -1; }
  .bento__c--dark, .bento__c--copper { grid-column: span 6; min-height: 200px; padding: 22px; }
  .bento__c--dark .bento__big, .bento__c--copper .bento__big { left: 20px; top: 20px; }
  .around__grid { grid-auto-rows: 180px; }
  .place { padding: 20px; }
  .place--photo { grid-column: 1 / -1; }
  .hero__cta .btn { flex: 1 1 100%; }
  .strip__c { width: 68vw; }
  .strip__c:nth-child(even) { margin-top: 22px; }
  .lb { grid-template-columns: 8px 1fr 8px; }
  .lb__p, .lb__n { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); }
  .lb__p { left: calc(50% - 58px); }
  .lb__n { right: calc(50% - 58px); }
  .lb__fig img { max-height: calc(100svh - 210px); border-radius: 16px; }
  .steps li { grid-template-columns: 48px 1fr; }
  .about__pics { aspect-ratio: 1 / 1.1; }
  .pills li { height: 38px; font-size: 14px; }
  .hdr__theme { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-rise] { opacity: 1; transform: none; }
}
