/* ===========================================================
   Tokens — crno / belo / toplo drvo (usklađeno sa planom)
   =========================================================== */
:root {
  --ink: #0f0e0c;
  --ink-2: #1b1916;
  --ink-3: #2a2723;
  --paper: #f6f2eb;
  --paper-2: #ece5d9;
  --stone: #d9cfbf;
  --wood: #a8784a;
  --wood-light: #c9a27a;
  --wood-deep: #6d4a2b;
  --muted: #7a7166;
  --muted-light: #a49b8f;
  --line: rgba(15, 14, 12, 0.14);
  --line-light: rgba(246, 242, 235, 0.16);

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.is-locked { overflow: hidden; }
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; }
::selection { background: var(--wood); color: var(--paper); }

/* ===========================================================
   Shared
   =========================================================== */
.overline {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 24px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--wood);
}
.overline .line { width: 42px; height: 1px; background: currentColor; }
.overline-sm {
  font-size: 10px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted-light);
}
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -0.01em;
  margin: 0 0 28px;
}
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  background: var(--ink); color: var(--paper);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background .4s var(--ease-out), color .4s var(--ease-out), border-color .4s;
}
.btn:hover { background: var(--wood); border-color: var(--wood); }
.btn-sm { padding: 11px 20px; font-size: 10.5px; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--wood); color: var(--paper); }
.btn span { transition: transform .4s var(--ease-out); }
.btn:hover span { transform: translateX(4px); }

.circle-btn {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line-light); color: var(--paper);
  font-size: 18px;
  transition: background .3s, color .3s, border-color .3s;
}
.circle-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   Loader
   =========================================================== */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  transition: clip-path 1.2s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader-inner { display: grid; justify-items: center; gap: 34px; }
.loader-bar { width: 160px; height: 1px; background: var(--line-light); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--wood-light); transform: scaleX(0); transform-origin: left; animation: load 1.4s var(--ease) forwards; }
@keyframes load { to { transform: scaleX(1); } }

/* ===========================================================
   Cursor
   =========================================================== */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  transform: translate3d(-200px, -200px, 0) scale(0);
  transition: opacity .3s;
  opacity: 0;
}
.cursor.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ===========================================================
   Header
   =========================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--gutter);
  transition: background .5s, padding .5s var(--ease-out), border-color .5s, transform .6s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(246, 242, 235, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 14px; padding-bottom: 14px;
  border-color: var(--line);
}
.header.hide { transform: translateY(-100%); }
.brand { white-space: nowrap; }
/* Tennanty wordmark + project name */
.lockup { display: inline-grid; justify-items: center; gap: 7px; line-height: 1; }
.wordmark { display: block; width: 136px; height: auto; overflow: visible; }
.wordmark g { stroke-width: 1.35px; }
.wordmark path { vector-effect: non-scaling-stroke; }
.lockup-sub {
  font-family: var(--serif); font-size: 9.5px; letter-spacing: 0.42em; padding-left: 0.42em;
  text-transform: uppercase; font-weight: 500;
}
.lockup-lg .wordmark { width: min(300px, 64vw); }
.lockup-lg .wordmark g { stroke-width: 1.6px; }
.lockup-lg { gap: 16px; color: var(--paper); }
.lockup-lg .lockup-sub { font-size: 15px; color: var(--wood-light); }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--wood);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 40px; height: 40px; position: relative; margin-left: auto; }
.burger i { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ink); transition: transform .4s var(--ease-out); }
.burger i:first-child { top: 16px; } .burger i:last-child { top: 23px; }
.nav-open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===========================================================
   Hero / interactive plan
   =========================================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(320px, 4.2fr) 7.8fr; gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding: 120px var(--gutter) 90px;
  background:
    radial-gradient(1200px 600px at 85% 30%, rgba(168,120,74,0.10), transparent 60%),
    var(--paper);
}
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 5.6vw, 92px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.hero-title .ln:nth-child(2) > span { font-style: italic; color: var(--wood-deep); }
.hero-title.in .ln > span { transform: none; }
.hero-title.in .ln:nth-child(2) > span { transition-delay: .12s; }
.hero-title.in .ln:nth-child(3) > span { transition-delay: .24s; }
.hero-intro { max-width: 440px; color: var(--muted); margin: 0 0 36px; font-size: 15.5px; }

.room-index {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.room-index li { border-bottom: 1px solid var(--line); }
.room-index button {
  width: 100%; display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0; text-align: left;
  font-size: 13.5px; font-weight: 500;
  transition: color .3s, padding .4s var(--ease-out);
}
.room-index button em { font-style: normal; font-size: 10px; color: var(--muted-light); letter-spacing: 0.1em; min-width: 18px; }
.room-index button small { margin-left: auto; font-size: 10.5px; color: var(--muted-light); }
.room-index button:hover, .room-index button.hl { color: var(--wood-deep); padding-left: 6px; }
.room-index button.soon { color: var(--muted-light); cursor: default; }
.room-index button.soon:hover { padding-left: 0; }

.hero-plan { position: relative; perspective: 1600px; }
.plan-card {
  position: relative;
  background: #fff;
  box-shadow: 0 60px 120px -40px rgba(43, 30, 16, 0.35), 0 20px 40px -20px rgba(43, 30, 16, 0.2);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease-out);
  will-change: transform;
}
.plan-hint {
  position: absolute; left: 0; bottom: -44px;
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--wood); }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--wood); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Plan component (hero + mini) */
.plan { position: relative; width: 100%; aspect-ratio: 1568 / 1003; overflow: hidden; }
.plan > img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan .dim { fill: rgba(15, 14, 12, 0.62); opacity: 0; transition: opacity .5s var(--ease-out); pointer-events: none; }
.plan.has-hl .dim { opacity: 1; }
.plan .hs { fill: transparent; stroke: transparent; stroke-width: 3; cursor: pointer; transition: fill .4s, stroke .4s; vector-effect: non-scaling-stroke; }
.plan .hs.soon { cursor: help; }
.plan .hs.hl { stroke: var(--wood-light); stroke-width: 2; fill: rgba(201, 162, 122, 0.08); }
.plan .hs.cur { stroke: var(--wood-light); fill: rgba(201,162,122,.18); }
.plan .dot { pointer-events: none; }
.plan .dot circle:first-child { fill: var(--ink); }
.plan .dot circle:last-child { fill: none; stroke: var(--ink); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: dotPing 2.4s var(--ease-out) infinite; }
.plan .dot:nth-of-type(3n) circle:last-child { animation-delay: .8s; }
.plan .dot:nth-of-type(3n+1) circle:last-child { animation-delay: 1.6s; }
.plan.has-hl .dot { opacity: 0; }
.plan .dot { transition: opacity .3s; }
@keyframes dotPing { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

.plan-tip {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  background: var(--ink); color: var(--paper);
  padding: 12px 16px 11px; min-width: 150px;
  display: grid; gap: 2px;
  opacity: 0; transform: translate(-50%, -120%) scale(.92);
  transition: opacity .25s, transform .35s var(--ease-out);
}
.plan-tip.on { opacity: 1; transform: translate(-50%, -130%) scale(1); }
.plan-tip b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.1; }
.plan-tip span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wood-light); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--ink); animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(200%); } }

/* ===========================================================
   Marquee
   =========================================================== */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line-light); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-weight: 300; font-style: italic;
  padding: 0 34px; white-space: nowrap; display: flex; align-items: center; gap: 68px;
}
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--wood-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===========================================================
   About
   =========================================================== */
.about {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px);
  padding: clamp(80px, 10vw, 160px) var(--gutter);
  align-items: center;
}
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 1445 / 1088; object-fit: cover; }
.about-media::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--line-light); pointer-events: none;
}
.about-badge {
  position: absolute; right: -1px; bottom: -1px;
  background: var(--paper); color: var(--ink);
  padding: 26px 32px; display: grid; gap: 4px; min-width: 220px;
}
.about-badge .overline-sm { color: var(--wood); }
.about-badge strong { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.1; }
.about-badge span:last-child { font-size: 12px; color: var(--muted); }
.about .section-title { font-size: clamp(32px, 3.6vw, 54px); }
.about-text p { color: var(--muted-light); margin: 0 0 18px; max-width: 560px; }
.about-text p.placeholder { color: var(--wood-light); font-style: italic; }

/* ===========================================================
   Stats
   =========================================================== */
.stats {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line-light);
  padding: 0 var(--gutter) clamp(70px, 8vw, 120px);
}
.stat { padding: 44px 24px 0 0; border-right: 1px solid var(--line-light); margin-right: 24px; }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.4vw, 68px); line-height: 1; }
.stat strong small { font-family: var(--sans); font-size: 13px; color: var(--wood-light); margin-left: 6px; letter-spacing: 0.06em; }
.stat span { display: block; margin-top: 14px; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-light); }

/* ===========================================================
   Features
   =========================================================== */
.features {
  display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 100px);
  padding: clamp(80px, 10vw, 150px) var(--gutter);
  background: var(--paper);
}
.features-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--line); align-self: start; }
.features-list li {
  display: flex; align-items: center; gap: 18px; padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.features-list li em { font-style: normal; font-family: var(--serif); font-size: 18px; color: var(--wood); width: 30px; }

/* ===========================================================
   Rooms grid
   =========================================================== */
.rooms { padding: clamp(80px, 9vw, 140px) var(--gutter); background: var(--paper-2); }
.rooms-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); }
.rooms-sub { color: var(--muted); max-width: 520px; margin: 0; }
.rooms-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.room-card {
  position: relative; display: block; overflow: hidden; text-align: left;
  background: var(--ink); color: var(--paper);
  grid-column: span 4; aspect-ratio: 3 / 4;
}
.room-card.w6 { grid-column: span 6; aspect-ratio: 4 / 3.4; }
.room-card.w8 { grid-column: span 8; aspect-ratio: auto; }
.room-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 1.6s var(--ease-out), filter .8s;
  filter: brightness(.82);
}
.room-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,14,12,0) 40%, rgba(15,14,12,.82) 100%);
  transition: opacity .6s;
}
.room-card:hover img { transform: scale(1.14); filter: brightness(.7); }
.room-card .rc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 2.4vw, 34px); display: flex; align-items: flex-end; gap: 16px; }
.room-card .rc-num { font-family: var(--serif); font-size: 15px; color: var(--wood-light); position: absolute; top: clamp(20px, 2.4vw, 34px); left: clamp(20px, 2.4vw, 34px); z-index: 2; letter-spacing: .1em; }
.room-card .rc-count { position: absolute; top: clamp(20px, 2.4vw, 34px); right: clamp(20px, 2.4vw, 34px); z-index: 2; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(246,242,235,.8); }
.room-card h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 42px); line-height: 1; margin: 0 0 8px; }
.room-card p { margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(246,242,235,.7); }
.room-card .rc-go {
  margin-left: auto; flex: none; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(246,242,235,.4); display: grid; place-items: center;
  transition: background .4s, color .4s, transform .6s var(--ease-out);
}
.room-card:hover .rc-go { background: var(--paper); color: var(--ink); transform: rotate(-45deg); }
.room-card.soon { cursor: default; }
.room-card.soon img { filter: brightness(.5) grayscale(.3); }

/* ===========================================================
   Garden rail
   =========================================================== */
.garden { background: var(--ink); color: var(--paper); padding: clamp(80px, 9vw, 140px) 0 clamp(60px, 7vw, 100px); overflow: hidden; }
.garden-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); margin-bottom: 48px; }
.garden-head .section-title { margin: 0; }
.garden-ctrl { display: flex; gap: 12px; }
.garden-rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter); scrollbar-width: none; cursor: grab;
  scroll-padding: 0 var(--gutter);
}
.garden-rail::-webkit-scrollbar { display: none; }
.garden-rail.drag { cursor: grabbing; scroll-snap-type: none; }
.garden-rail.drag * { pointer-events: none; }
.g-item { flex: none; height: clamp(300px, 58vh, 620px); scroll-snap-align: start; position: relative; overflow: hidden; }
.g-item img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform 1.4s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.g-item:hover img { transform: scale(1.05); }
.g-item span { position: absolute; left: 18px; bottom: 16px; font-size: 10px; letter-spacing: .24em; color: rgba(246,242,235,.8); }
.garden-progress { margin: 40px var(--gutter) 0; height: 1px; background: var(--line-light); }
.garden-progress i { display: block; height: 100%; width: 100%; background: var(--wood-light); transform-origin: left; transform: scaleX(0); }

/* ===========================================================
   Location
   =========================================================== */
.location {
  display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 5vw, 90px); align-items: center;
  padding: clamp(80px, 10vw, 150px) var(--gutter);
}
.location .section-title { font-size: clamp(34px, 3.8vw, 58px); }
.location-lead { color: var(--muted); margin: 0 0 40px; max-width: 420px; }
.drive-times { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 0 0 44px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.drive strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 5.4vw, 84px); line-height: 1; color: var(--ink); }
.drive strong small { font-family: var(--sans); font-size: 14px; color: var(--wood); margin-left: 6px; letter-spacing: .06em; }
.drive span { display: block; margin-top: 10px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.map-chip {
  position: absolute; transform: translate(14px, -50%); white-space: nowrap; pointer-events: none;
  background: var(--paper); color: var(--ink); padding: 6px 11px; border: 1px solid var(--ink);
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.nearby { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 1px solid var(--line); }
.nearby li { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.nearby li em { font-family: var(--serif); font-style: normal; font-size: 13px; color: var(--wood); min-width: 18px; }
.location-map { position: relative; }
.location-map::before {
  content: ""; position: absolute; inset: 18px 18px -18px -18px; border: 1px solid var(--line); pointer-events: none;
}
.map-inner { position: relative; overflow: hidden; aspect-ratio: 1586 / 992; background: var(--paper-2); box-shadow: 0 30px 80px -40px rgba(15,14,12,.45); }
.map-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-pin { position: absolute; transform: translate(-50%, -50%); pointer-events: none; display: grid; place-items: center; }
.map-pin i { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 2px 10px rgba(0,0,0,.35); position: relative; }
.map-pin i::before, .map-pin i::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--wood);
  animation: pinPulse 2.6s var(--ease-out) infinite;
}
.map-pin i::after { animation-delay: 1.3s; }
@keyframes pinPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(6); opacity: 0; } }
.map-pin b {
  position: absolute; bottom: calc(100% + 12px); white-space: nowrap;
  background: var(--ink); color: var(--paper); padding: 8px 14px;
  font-family: var(--serif); font-weight: 400; font-size: 14px; letter-spacing: .04em;
}
.map-pin b::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }

/* ===========================================================
   Contact
   =========================================================== */
.contact {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 100px);
  padding: clamp(80px, 10vw, 160px) var(--gutter);
  border-top: 1px solid var(--line-light);
}
.contact-title { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 7vw, 116px); line-height: .95; margin: 0 0 28px; letter-spacing: -0.02em; }
.contact-title em { color: var(--wood-light); }
.contact-note { color: var(--muted-light); margin: 0 0 44px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-link { display: grid; gap: 6px; }
.contact-link span { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-light); }
.contact-link strong { font-weight: 400; font-size: 20px; border-bottom: 1px solid var(--line-light); padding-bottom: 6px; transition: border-color .3s, color .3s; }
.contact-link:hover strong { border-color: var(--wood-light); color: var(--wood-light); }
.contact-form { display: grid; gap: 26px; align-self: end; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label span { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-light); }
.contact-form input, .contact-form textarea {
  font: inherit; color: var(--paper); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-light); padding: 10px 0; resize: none; outline: none;
  transition: border-color .3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--wood-light); }
.contact-form .btn { justify-self: start; margin-top: 8px; }
.contact-form .btn:disabled { opacity: .5; pointer-events: none; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: -8px 0 0; min-height: 1.4em; font-size: 13px; color: var(--muted-light); }
.form-status.ok { color: var(--wood-light); }
.form-status.err { color: #e0a38a; }
.form-status a { color: var(--paper); border-bottom: 1px solid var(--wood-light); }

.footer {
  background: var(--ink); color: var(--muted-light);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px var(--gutter); border-top: 1px solid var(--line-light);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.footer a:hover { color: var(--paper); }

/* ===========================================================
   Portal (enter-room transition)
   =========================================================== */
.portal { position: fixed; inset: 0; z-index: 90; display: none; overflow: hidden; background: var(--ink); pointer-events: none; }
.portal img { width: 100%; height: 100%; object-fit: cover; }
.hero-plan.zooming .plan-card { transition: none; }

/* ===========================================================
   Viewer
   =========================================================== */
.viewer {
  position: fixed; inset: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 400px;
  background: var(--ink); color: var(--paper);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.viewer[hidden] { display: none; }
.viewer.on { opacity: 1; }
.v-stage { position: relative; overflow: hidden; touch-action: pan-y; }
.v-bg { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); max-width: none; object-fit: cover; filter: blur(40px) brightness(.38) saturate(1.1); transition: opacity .8s; }
.v-frames { position: absolute; inset: 0; }
.v-frame { position: absolute; inset: 0; padding: clamp(16px, 3vw, 48px); opacity: 0; transition: opacity .9s var(--ease-out); }
.v-frame.on { opacity: 1; }
.v-frame img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.v-arrow {
  position: absolute; top: 50%; z-index: 3; width: 58px; height: 58px; margin-top: -29px; border-radius: 50%;
  border: 1px solid var(--line-light); background: rgba(15,14,12,.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 18px; transition: background .3s, color .3s, opacity .3s;
}
.v-arrow:hover { background: var(--paper); color: var(--ink); }
.v-prev { left: 24px; } .v-next { right: 24px; }
.v-arrow[disabled] { opacity: 0; pointer-events: none; }
.v-counter { position: absolute; left: 28px; bottom: 26px; z-index: 3; font-family: var(--serif); font-size: 22px; letter-spacing: .06em; }
.v-counter small { font-family: var(--sans); font-size: 11px; color: var(--muted-light); margin-left: 6px; }
.v-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(246,242,235,.1); z-index: 3; }
.v-progress i { display: block; height: 100%; background: var(--wood-light); width: 0; transition: width .6s var(--ease-out); }

.v-panel {
  display: flex; flex-direction: column; gap: 0;
  padding: 30px 34px 26px; border-left: 1px solid var(--line-light);
  overflow-y: auto; background: var(--ink);
}
.v-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.v-num { font-family: var(--serif); font-size: 15px; color: var(--wood-light); letter-spacing: .14em; }
.v-close { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.v-close span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; font-size: 12px; transition: background .3s, color .3s, transform .5s var(--ease-out); }
.v-close:focus { outline: none; }
.v-close:focus-visible span, .viewer button:focus-visible { outline: 1px solid var(--wood-light); outline-offset: 3px; }
.v-close:hover span { background: var(--paper); color: var(--ink); transform: rotate(90deg); }
.v-title { font-family: var(--serif); font-weight: 300; font-size: 46px; line-height: 1; margin: 0 0 10px; }
.v-sub { margin: 0 0 22px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--wood-light); }
.v-desc { color: var(--muted-light); font-size: 14.5px; margin: 0 0 28px; }
.v-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 30px; }
.v-thumbs button { position: relative; aspect-ratio: 1; overflow: hidden; opacity: .45; transition: opacity .3s; }
.v-thumbs button::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .3s; }
.v-thumbs button:hover { opacity: .85; }
.v-thumbs button.on { opacity: 1; }
.v-thumbs button.on::after { border-color: var(--wood-light); }
.v-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.v-mini-wrap { margin-top: auto; display: grid; gap: 12px; padding-top: 10px; }
.v-mini { background: #fff; }
.v-mini .plan .dot { display: none; }
.v-mini .plan .dim { fill: rgba(15,14,12,.45); }
.v-rooms { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.v-rooms button { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); transition: color .3s; }
.v-rooms button em { font-style: normal; }
.v-rooms button:hover { color: var(--paper); }

.v-curtain {
  position: absolute; inset: 0; z-index: 10; pointer-events: none;
  background: var(--ink); display: grid; place-content: center; justify-items: center; gap: 12px;
  clip-path: inset(100% 0 0 0);
}
.v-curtain strong { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 8vw, 120px); line-height: 1; font-style: italic; }
.v-curtain .overline-sm { color: var(--wood-light); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-height: 960px) and (min-width: 1181px) { .scroll-cue { display: none; } }
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 110px; }
  .hero-text { display: contents; }
  .hero-text > * { max-width: 720px; }
  .hero-plan { order: 1; margin-bottom: 40px; }
  .room-index { order: 2; }
  .hero-intro { margin-bottom: 8px; }
  .scroll-cue { display: none; }
  .room-index { max-width: none !important; grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3n) { border-right: 0; margin-right: 0; }
  .viewer { grid-template-columns: 1fr 340px; }
  .v-panel { padding: 24px 26px; }
}
@media (max-width: 900px) {
  .location { grid-template-columns: 1fr; }
  .location-map::before { display: none; }
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .nav-open .nav {
    display: flex; flex-direction: column; gap: 22px;
    position: fixed; inset: 0; z-index: -1; padding: 110px var(--gutter);
    background: var(--paper); margin: 0;
  }
  .nav-open .nav a { font-family: var(--serif); font-size: 40px; letter-spacing: 0; text-transform: none; font-weight: 300; }
  .about, .features, .contact { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 1445 / 1088; }
  .room-card, .room-card.w6, .room-card.w8 { grid-column: span 6; aspect-ratio: 3 / 4; }
  .viewer { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .v-panel { border-left: 0; border-top: 1px solid var(--line-light); padding: 16px var(--gutter) 18px; max-height: 42vh; }
  .v-top { margin-bottom: 10px; position: absolute; top: 14px; left: var(--gutter); right: var(--gutter); z-index: 5; }
  .v-title { font-size: 32px; }
  .v-sub { margin-bottom: 10px; }
  .v-desc { display: none; }
  .v-thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; margin-bottom: 12px; scrollbar-width: none; }
  .v-mini-wrap { display: none; }
  .v-rooms { margin-top: 0; padding-top: 12px; }
  .v-arrow { width: 46px; height: 46px; margin-top: -23px; }
  .v-prev { left: 12px; } .v-next { right: 12px; }
  .v-counter { left: var(--gutter); bottom: 14px; font-size: 18px; }
  .v-stage { padding-top: 60px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .rooms-grid > .room-card:last-child:nth-child(odd) { grid-column: span 12; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .features-list li { padding-top: 15px; padding-bottom: 15px; }
  .room-index { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .room-index button small { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-top: 32px; }
  .stat:nth-child(3n) { border-right: 1px solid var(--line-light); margin-right: 24px; }
  .stat:nth-child(2n) { border-right: 0; margin-right: 0; }
  .features-list { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .room-card, .room-card.w6, .room-card.w8 { grid-column: auto; aspect-ratio: 4 / 4.6; }
  .about-badge { position: relative; min-width: 0; }
  .about-media::before { display: none; }
  .garden-ctrl { display: none; }
  .plan-hint { bottom: -40px; letter-spacing: .14em; }
  .wordmark { width: 112px; }
  .contact-links { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
