@font-face {
  font-family: Assistant;
  src: url("../site-type/fonts/Assistant.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #eef0eb;
  --ink: #1d2d2a;
  --muted: #4c5d58;
  --line: rgba(29, 45, 42, .14);
  --accent: #3d6c70;
  --surface: #e4e6df;
  --wrap: min(86%, 1280px);
  --radius: 14px;
  --chapters: 0px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[lang="he"] body, html[lang="he"] body :is(h1, h2, h3, p, li, dd, dt, button, nav, nav a, header a, footer, footer a) {
  font-family: Assistant, system-ui, sans-serif !important;
  letter-spacing: 0;
}
body { margin: 0; color: var(--ink); background: var(--paper); font: 1.0625rem/1.65 Assistant, system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img, video { display: block; max-width: 100%; }
figure, h1, h2, p { margin: 0; }
h1, h2 { font-weight: 500; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2.125rem, 4.8vw, 4.5rem); }
.skip { position: fixed; z-index: 10; background: var(--paper); padding: 8px 16px; inset: 8px 8px auto auto; transform: translateY(-150%); }
.skip:focus { transform: none; }
.section-wrap, .footer { width: var(--wrap); margin-inline: auto; }
.eyebrow { font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 5vw;
  color: white;
}
.top a { text-decoration: none; }
.property-heading { display: flex; flex-direction: column; align-items: flex-start; max-width: calc(100% - 64px); }
.identity { font-size: clamp(1.1rem, 2.2vw, 1.6rem); line-height: 1.15; font-weight: 600; }
.identity > span:last-child { display: block; font-size: .8125rem; font-weight: 500; margin-top: 6px; }
.demo-switch { font-size: .875rem; display: inline-flex; align-items: flex-start; gap: 4px; text-align: start; min-height: 44px; padding-top: 5px; }
.property-header-links { display: flex; flex-wrap: wrap; column-gap: 14px; }
.top .demo-home { display: inline-flex; min-height: 44px; align-items: flex-start; padding-top: 5px; font-size: .875rem; text-decoration: underline; }
.header-tools-panel .menu-home { display: flex; align-items: center; padding: 8px 4px; }
.property-nav {
  position: fixed;
  z-index: 6;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(22, 40, 36, .81);
  border: 1px solid rgba(255, 255, 255, .27);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 12px 40px rgba(10, 24, 20, .16);
  color: white;
  white-space: nowrap;
}
.property-nav a, .chapters a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: clamp(10px, 2vw, 17px);
  border-radius: 999px;
  text-decoration: none;
  font-size: .9375rem;
}
.property-nav a[aria-current], .chapters a[aria-current] { background: rgba(255, 255, 255, .2); }
:is(.top, .property-stage, .property-nav) :focus-visible { outline-color: white; }
.entrance-scroll:not(.entrance-ready) .property-stage { position: relative; }
.entrance-scroll.entrance-ready { height: 165svh; }
.property-tour { position: relative; }
.property-tour.tour-ready { height: var(--tour-height, 360svh); }
.property-stage { position: sticky; top: 0; min-height: 100svh; color: white; background: #2f4a48; isolation: isolate; }
.property-stage > .arrival-image, .tour-pane > img, .scene-film, .scene-frames, .stage-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-film { opacity: 0; pointer-events: none; }
.scene-film.is-ready { opacity: 1; }
.stage-shade {
  background: linear-gradient(180deg, #091a1890 0%, transparent 24%, transparent 44%, #091a18b8 100%),
    radial-gradient(110% 95% at 100% 100%, #091a18c2, #091a184a 51%, transparent 76%);
  pointer-events: none;
}
.stage-caption {
  position: absolute;
  z-index: 1;
  inset-block-end: clamp(155px, 22svh, 230px);
  inset-inline-start: 7vw;
  max-width: min(760px, 86vw);
}
.stage-caption h1, .stage-caption h2 { font-size: clamp(2.8rem, 7vw, 6.5rem); text-shadow: 0 2px 24px #091a187a; }
.stage-caption .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 38ch; margin-top: 10px; }
.stage-link, .gallery-film-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #ffffff9c;
  background: transparent;
  color: white;
  font-size: 1rem;
  text-decoration: none;
}
.stage-link { margin-top: 12px; }
.gallery-film-link { color: var(--ink); border-color: var(--line); margin-top: 8px; }
.stage-disclosure { position: absolute; z-index: 1; inset-block-end: 90px; inset-inline-start: 7vw; font-size: .8125rem; }
.tour-pane { position: relative; min-height: 100svh; }
.tour-ready .tour-pane {
  position: absolute;
  inset: 0;
  opacity: var(--scene-opacity, 0);
  pointer-events: none;
  z-index: 0;
}
.tour-ready .tour-pane.active { pointer-events: auto; }
.tour-ready .tour-pane.active .stage-caption { opacity: var(--caption-opacity, 1); }
.tour-ready .tour-pane:not(.active) .stage-caption { visibility: hidden; }
.tour-ready .stage-disclosure { bottom: 143px; }
.chapters { position: absolute; z-index: 2; inset-block-end: 88px; inset-inline-start: 7vw; display: flex; gap: 2px; flex-wrap: wrap; }
.chapters a { border: 1px solid #ffffff75; background: #14262272; }
.tour-progress { position: absolute; inset: auto 0 0; height: 2px; background: #ffffff30; }
.tour-progress::after { content: ""; display: block; height: 100%; background: white; transform: scaleX(var(--tour-progress, 0)); transform-origin: right; }
.tour-anchors { position: absolute; inset: 0; display: grid; grid-auto-rows: 1fr; pointer-events: none; }
.tour-ready .tour-anchors { inset: 2px 0 calc(100svh - 2px); }
.tour-ready .tour-anchors > :not(:first-child) { transform: translateY(12%); }
.invitation {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 92svh;
  padding: clamp(64px, 9vw, 110px) 6vw max(106px, env(safe-area-inset-bottom));
  color: white;
  background: var(--ink);
}
.enquiry-image, .invitation::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.enquiry-image { object-fit: cover; object-position: center; }
.invitation::before {
  content: "";
  z-index: 0;
  background: linear-gradient(180deg, rgba(18, 24, 20, .26), rgba(18, 24, 20, .59));
}
.enquiry-card {
  position: relative;
  width: min(620px, 100%);
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 22px;
  background: rgba(39, 34, 25, .58);
  backdrop-filter: blur(18px) saturate(115%);
  text-align: center;
}
.enquiry-card h2 { font-size: clamp(2.15rem, 5vw, 4.4rem); margin-block: 12px 15px; }
.enquiry-card .eyebrow, .enquiry-disclosure { color: rgba(255, 255, 255, .83); }
.enquiry-intro { max-width: 40ch; margin-inline: auto; }
.agent-profile { display: flex; justify-content: center; align-items: center; text-align: start; gap: 12px; margin-block: 22px 18px; line-height: 1.35; }
.agent-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff60; background: #ffffff1c; }
.agent-profile small { display: block; color: #ffffffd6; }
.enquiry-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.enquiry-actions :is(button, a) {
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid #ffffffa1;
  border-radius: 8px;
  background: #ffffffe0;
  color: var(--ink);
  font-weight: 700;
}
.enquiry-actions a { display: grid; place-items: center; text-decoration: none; }
.enquiry-actions a:only-child { grid-column: 1 / -1; }
.enquiry-actions :is(button, a):hover { background: white; }
.enquiry-card :focus-visible { outline-color: white; }
.enquiry-disclosure { margin-block: 16px 8px; font-size: .8125rem; }
.restart-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-underline-offset: .45em; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 22px 0 88px; }

.rooms { margin-block: clamp(48px, 8vw, 128px); scroll-margin-top: calc(var(--chapters) + 16px); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--line); margin-bottom: clamp(16px, 3vw, 32px); }
.section-head p { font-size: .875rem; color: var(--muted); }
.gallery-heading { margin-bottom: clamp(20px, 3vw, 34px); }
.gallery-heading h2 { margin-block: 14px 18px; }
.gallery-heading :is(.eyebrow, p:last-child) { color: var(--muted); }
.room-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(100px, 16vw, 224px);
  gap: 6px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--ink);
}
.photo-tile { position: relative; display: block; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 5px; background: var(--surface); overflow: hidden; }
.room-grid > * { grid-column: span 2; }
:is(.holon, .city-demo) .room-grid > :nth-child(n+7), .garden .room-grid > :nth-child(n+4) { grid-column: span 3; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.photo-tile:hover img, .photo-tile:focus-visible img { transform: scale(1.035); }
.photo-tile:focus-visible { outline: 3px solid white; outline-offset: -4px; z-index: 1; }
.photo-tile[data-photo] > span { position: absolute; inset: auto auto 8px 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; background: var(--paper); color: var(--ink); opacity: 0; }
.photo-tile[data-photo]:is(:hover, :focus-visible) > span { opacity: 1; }
.details {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  padding-block: clamp(56px, 10vw, 130px);
  border-bottom: 1px solid var(--line);
}
.details-intro h2 { font-size: clamp(2rem, 4.2vw, 3.65rem); }
.details-sample { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.details .details-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.details .details-stats div { display: flex; flex-direction: column; gap: 2px; padding: 10px clamp(8px, 2vw, 18px); border-top: 0; }
.details-stats div + div { border-inline-start: 1px solid var(--line); }
.details-stats dt { font-size: .875rem; }
.details-stats dd { font-weight: 650; }
.details-description { margin-top: 16px; color: var(--muted); max-width: 52ch; }
.details-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 12px; }
.details-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent); }
.details-facts { padding: clamp(16px, 3vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.details h3, .details h4 { margin: 0; }
.details h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.details dl { margin: 10px 0 0; }
.details dl div { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 12px; padding-block: 9px; border-top: 1px solid var(--line); }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.details-spaces, .details-amenities { grid-column: 1 / -1; }
.details-amenities ul { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.details-amenities li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.details-spaces ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin: 12px 0 0; padding: 0; list-style: none; }
.details-spaces li { border-top: 1px solid var(--line); padding-top: 12px; }
.details-spaces h4 { font-size: 1.06rem; font-weight: 650; }
.details-spaces p { color: var(--muted); margin-top: 5px; }
.footer { font-size: .875rem; }
dialog { width: min(90%, 28rem); padding: 48px 24px 24px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #161916d9; }
dialog h2 { font-size: 1.6rem; margin-bottom: 8px; }
dialog .close { position: absolute; inset: 4px auto auto 4px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.6rem; }
.photo-dialog {
  width: min(94%, 58rem);
  padding: 48px 12px 12px;
  border: 0;
  background: transparent;
  color: white;
}
.photo-dialog :focus-visible { outline-color: currentColor; }
.photo-large { width: 100%; height: min(63svh, 610px); object-fit: contain; }
.photo-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 8px; }
.photo-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: transparent;
}
.photo-controls button:hover { background: rgb(255 255 255 / 12%); }
.photo-count { min-width: 6ch; text-align: center; }

.floor-plan {
  margin-block: clamp(48px, 8vw, 112px);
  scroll-margin-top: calc(var(--chapters) + 16px);
}
.plan-frame {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(8px, 2vw, 24px);
  border: 1px solid var(--line);
  background: white;
}
.plan-frame img { width: 100%; height: auto; }
.plan-sheet-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  border-top: 1px solid var(--line);
  padding: 10px 4px 0;
  color: var(--muted);
  font-size: .8125rem;
}
.plan-sheet-note strong { color: var(--ink); }
.plan-map { position: relative; }
.plan-room {
  position: absolute;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
}
.plan-room span {
  display: grid;
  place-items: center;
  width: clamp(19px, 3vw, 27px);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: white;
  font-size: clamp(.625rem, 1.5vw, .75rem);
  font-weight: 700;
  line-height: 1;
}
.plan-room:hover span, .plan-room:focus-visible span {
  background: var(--accent);
  color: white;
}
.plan-room:focus-visible { z-index: 1; outline-offset: -4px; }
.photo-dialog h2 { padding-inline: 8px; font-size: 1.2rem; }

.photo-controls[hidden] { display: none; }

/* Content proportions match the Cove House property templates. */
.rooms, .floor-plan { margin-block: clamp(56px, 9vw, 130px); }
.section-head { padding-top: 24px; }
.plan-frame { border-radius: var(--radius); }
dialog { border-radius: var(--radius); }
@media (max-width: 700px) {
  :root { --wrap: calc(100% - 40px); }
  .top { padding-inline: 20px; }
  .details, .details-spaces ul { grid-template-columns: minmax(0, 1fr); }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(88px, 28vw, 170px); gap: 4px; border-radius: 15px; }
  .room-grid > :nth-child(n), :is(.holon, .city-demo, .garden) .room-grid > :nth-child(n) { grid-column: span 1; }
  .garden .room-grid > :last-child { grid-column: 1 / -1; }
  .stage-caption { inset-inline: 20px; }
  .chapters { inset-inline: 20px; gap: 4px; }
  .chapters a { font-size: .8125rem; padding-inline: clamp(5px, 2vw, 12px); }
  .stage-disclosure { inset-inline-start: 20px; bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .property-tour.tour-ready, .entrance-scroll.entrance-ready { height: auto; }
  .property-stage { position: relative; }
  .scene-film, .scene-frames { display: none; }
  .tour-ready .tour-pane { position: relative; inset: auto; opacity: 1; pointer-events: auto; }
  .tour-ready .tour-anchors { inset: 0; }
  .tour-ready .tour-anchors > :not(:first-child) { transform: none; }
  .tour-ready .tour-pane.active .stage-caption { opacity: 1; }
  .tour-ready .tour-pane:not(.active) .stage-caption { visibility: visible; }
  .tour-progress, .chapters { display: none; }
}


.header-tools {
  position: fixed;
  inset-block-start: 24px;
  inset-inline-end: max(20px, 5vw);
  z-index: 7;
}
.header-tools summary {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  list-style: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}
.header-tools summary::-webkit-details-marker { display: none; }
.header-menu-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 1px 3px #000a);
  transition: transform 600ms cubic-bezier(.4, 0, .2, 1);
}
.header-menu-loop {
  stroke-dasharray: 12 63;
  stroke-dashoffset: 0;
  transition: stroke-dasharray 600ms cubic-bezier(.4, 0, .2, 1),
              stroke-dashoffset 600ms cubic-bezier(.4, 0, .2, 1);
}
.header-tools[open] .header-menu-icon { transform: rotate(-45deg); }
.header-tools[open] .header-menu-loop {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}
.header-tools-panel {
  position: absolute;
  inset-block-start: calc(100% + 6px);
  inset-inline-end: 0;
  width: 208px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 18px;
  color: var(--ink);
  background: #f5f5ef;
  box-shadow: 0 12px 32px rgba(15, 26, 23, .2);
}
@media (prefers-reduced-motion: no-preference) {
  .header-tools[open] .header-tools-panel { animation: reveal-header-tools 180ms ease-out both; }
  @keyframes reveal-header-tools {
    from { opacity: 0; transform: translateY(-4px); }
  }
}
.header-language-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 10px;
  border-block-end: 1px solid var(--line);
}
.header-language-label {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 600;
}
.demo-language {
  display: flex;
  direction: ltr;
  gap: 2px;
  padding: 2px;
  background: var(--surface);
  border-radius: 999px;
}
.demo-language button, .demo-share button {
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 1.2;
}
.demo-language button {
  min-width: 36px;
  min-height: 30px;
  padding-inline: 4px;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 700;
}
.demo-language button[aria-pressed="true"] { color: white; background: var(--ink); }
.header-tools summary:focus-visible { outline-color: white; }
.header-tools .header-tools-panel button:focus-visible { outline-color: var(--accent); outline-offset: -2px; }
.demo-share {
  display: grid;
  gap: 2px;
  margin-block-start: 5px;
}
.demo-share button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-inline: 4px;
  border-radius: 9px;
  font-size: .9375rem;
  font-weight: 600;
}
.demo-share svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 8px;
  background: var(--surface);
}
.demo-share button:hover { background: var(--surface); }
.share-status:not(:empty) {
  display: block;
  padding: 4px 8px;
  color: var(--muted);
  font-size: .8125rem;
}
#property-share-url {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
html[lang="en"] .photo-controls button { transform: scaleX(-1); }

@media (max-width: 700px) {
  .arrival-image { object-position: 47% 50%; }
}

/* Match the Cove House gallery: a 3 × 3 mosaic with a center tile that expands on scroll. */
.immersive .rooms { max-width: 1200px; }
.motion-gallery-track { position: relative; height: 185svh; }
.motion-gallery-sticky { position: sticky; top: 12svh; }
.immersive .motion-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  aspect-ratio: 16 / 9;
}
.immersive .motion-gallery-grid > :nth-child(n) { grid-column: span 1; }
.motion-gallery-feature { z-index: 2; transform: scale(var(--gallery-scale, 1)); transform-origin: center; }
.motion-gallery-feature:focus-visible { z-index: 2; }
.gallery-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.immersive .motion-gallery-extra {
  margin-top: 6px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  grid-auto-rows: clamp(100px, 18vw, 224px);
}
.immersive .motion-gallery-extra > :nth-child(n) { grid-column: span 1; }
@media (max-width: 600px) {
  .immersive .rooms { width: calc(100% - 36px); }
  .motion-gallery-track { height: 125svh; }
  .motion-gallery-sticky { top: 22svh; }
  .immersive .motion-gallery-grid { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-gallery-track { height: auto; }
  .motion-gallery-sticky { position: static; }
  .motion-gallery-feature { transform: none; }
}

.touch-layout { scroll-behavior: auto; }
.touch-layout .property-nav { background: #1c302c; backdrop-filter: none; }
.touch-layout .motion-gallery-track { height: auto; }
.touch-layout .motion-gallery-sticky { position: static; }
.touch-layout .chapters {
  inset-inline-end: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.touch-layout .chapters a { flex: none; }
