/* Fonts are self-hosted (variable fonts, SIL Open Font License, from Google Fonts),
   so visitors' browsers never contact a third party. */
@font-face {
  font-family: "Assistant"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/assistant-hebrew.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Assistant"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/assistant-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(fonts/frank-ruhl-libre-hebrew.woff2) format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(fonts/frank-ruhl-libre-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --sand: #F3ECE2;
  --ink: #24211D;
  --ink-2: #4A443D;
  --muted: #776F65;
  --line: #E7DED1;
  --accent: #B5603A;
  --accent-2: #9A4D2B;
  --accent-soft: #F6E7DD;
  --olive: #5F6B49;
  --wa: #1E9E52;
  --wa-2: #178244;
  --dark: #1E1C19;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(36, 33, 29, .06), 0 12px 36px rgba(36, 33, 29, .08);
  --font-head: "Frank Ruhl Libre", Georgia, serif;
  --font-body: "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.i {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.draft-ribbon {
  background: #FFE7A3; color: #5A4300; text-align: center;
  font-size: 14px; font-weight: 600; padding: 6px 16px;
}

/* Buttons */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 700; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent; background: none; color: inherit;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(30, 158, 82, .32); }
.btn-wa:hover { background: var(--wa-2); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { --h: 58px; padding: 0 28px; font-size: 18px; }
.btn-link { padding: 0 8px; color: inherit; text-decoration: underline; text-underline-offset: 5px; font-weight: 600; }
.btn-icon { width: var(--h); padding: 0; border-color: var(--line); background: var(--surface); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92svh, 860px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--dark); color: #fff;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 18, 15, .5) 0%, rgba(20, 18, 15, 0) 24%),
    linear-gradient(0deg, rgba(20, 18, 15, .88) 0%, rgba(20, 18, 15, .55) 38%, rgba(20, 18, 15, 0) 70%);
}
.hero-top { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; }
.tag {
  font-weight: 700; font-size: 15px; letter-spacing: .04em;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-body { padding-block: 48px clamp(40px, 6vw, 72px); }
.eyebrow, .rented-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px; padding: 6px 16px; border-radius: 999px;
  font-size: 16px; font-weight: 600;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #86E3A6; box-shadow: 0 0 0 4px rgba(134, 227, 166, .25); }
.rented-badge { display: none; background: var(--accent); }
.hero h1 { font-size: clamp(40px, 6.4vw, 80px); max-width: 17ch; text-wrap: balance; }
.hero-place { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); opacity: .92; }
.hero-stats { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stats li {
  padding: 7px 16px; border-radius: 999px; font-size: 16px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-stats strong { font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-inline-end: 14px; }
.price-num { font-family: var(--font-head); font-size: clamp(36px, 4vw, 48px); font-weight: 700; line-height: 1; }
.price-unit { font-size: 17px; opacity: .85; }

/* Section nav */
.secnav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 243, .88);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.secnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.secnav-in::-webkit-scrollbar { display: none; }
.secnav a {
  flex: none; padding: 7px 15px; border-radius: 999px;
  color: var(--ink-2); font-size: 16px; font-weight: 600; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.secnav a:hover { background: var(--sand); }
.secnav a.is-active { background: var(--ink); color: #fff; }
.secnav a.secnav-cta { margin-inline-start: auto; background: var(--wa); color: #fff; }
.secnav a.secnav-cta:hover { background: var(--wa-2); }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 80px); }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.kicker { margin-bottom: 10px; color: var(--accent); font-size: 15px; font-weight: 700; letter-spacing: .05em; }
.section h2 { font-size: clamp(32px, 4.4vw, 52px); text-wrap: balance; }
.lead { margin-top: 14px; color: var(--muted); font-size: clamp(18px, 1.6vw, 20px); }

/* Gallery */
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 215px);
}
.gallery a { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(n+6) { display: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.gallery a:hover img { transform: scale(1.045); }
.gallery a[data-more]::after {
  content: attr(data-more); position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(20, 18, 15, .55); color: #fff;
  font-family: var(--font-head); font-size: 32px; font-weight: 700;
}
.gallery-more { margin-top: 24px; display: flex; justify-content: center; }

/* Video */
.section-dark { background: var(--dark); color: #F4EFE8; }
.section-dark .kicker { color: #E7A07B; }
.section-dark .lead { color: #B9B0A4; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.video-frame.is-portrait { aspect-ratio: 9 / 16; width: min(420px, 100%); max-height: 82svh; margin-inline: auto; }
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-play {
  position: absolute; inset: 0; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  font: inherit; font-size: 18px; font-weight: 700; color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .08));
}
.disc {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35); transition: transform .2s;
}
.disc .i { width: 36px; height: 36px; transform: translateX(3px); }
.video-play:hover .disc { transform: scale(1.06); }
.video-frame.is-playing .video-play { display: none; }

/* Facts */
.facts {
  list-style: none; padding: 0; margin: 0 0 clamp(44px, 6vw, 80px);
  display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr);
}
.facts li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
}
.f-ico {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-2);
}
.f-ico .i { width: 22px; height: 22px; }
.f-label { font-size: 14px; color: var(--muted); line-height: 1.3; }
.f-val { font-size: 18px; font-weight: 700; line-height: 1.35; }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose h3, .highlights h3 { font-size: 26px; margin-bottom: 16px; }
.prose p { color: var(--ink-2); margin-bottom: 16px; }
.highlights { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .i { color: var(--olive); stroke-width: 2.2; margin-top: .22em; }

/* Costs */
.section-sand { background: var(--sand); }
.costs-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.costs-grid .section-head { margin-bottom: 0; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.cost-list { margin: 0; }
.cost-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cost-row:first-child { padding-top: 0; }
.cost-row dt { color: var(--muted); }
.cost-row dd { margin: 0; font-weight: 700; text-align: end; }
.cost-row small { font-size: 15px; font-weight: 400; color: var(--muted); }
.cost-main dd { font-family: var(--font-head); font-size: 32px; line-height: 1.1; color: var(--accent-2); }
.fine { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* Location */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.loc-grid .section-head { margin-bottom: 0; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nearby { list-style: none; margin: 0; padding: 6px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.nearby li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 24px; }
.nearby li + li { border-top: 1px solid var(--line); }
.nb-time { color: var(--olive); font-weight: 700; white-space: nowrap; }

/* Contact */
.contact-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 28px; color: #fff;
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(181, 96, 58, .6), transparent 60%),
    radial-gradient(60% 90% at 0% 100%, rgba(95, 107, 73, .45), transparent 60%),
    var(--ink);
}
.contact-card .kicker { color: #F0B795; }
.contact-card .lead { color: rgba(255, 255, 255, .8); }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }

.foot { padding: 32px 0 40px; text-align: center; color: var(--muted); font-size: 15px; }

/* Mobile action bar */
.mbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95); border-top: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(110%); transition: transform .3s ease;
}
.mbar.is-on { transform: none; }
.mbar-price { margin-inline-end: auto; display: flex; flex-direction: column; line-height: 1.15; }
.mbar-price b { font-family: var(--font-head); font-size: 24px; }
.mbar-price small { color: var(--muted); font-size: 14px; }
.mbar .btn { --h: 46px; font-size: 16px; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; color: #fff; background: rgba(14, 13, 11, .97);
}
.lightbox::backdrop { background: rgba(14, 13, 11, .9); }
.lb-top { position: absolute; top: 0; inset-inline: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.lb-count { font-weight: 600; opacity: .8; padding-inline-start: 6px; }
.lb-stage { position: absolute; inset: 70px 88px 76px; touch-action: pan-y; }
.lb-stage img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1);
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn .i { width: 24px; height: 24px; }
.lb-prev, .lb-next { position: absolute; top: 50%; translate: 0 -50%; }
.lb-prev { inset-inline-start: 20px; }
.lb-next { inset-inline-end: 20px; }
.lb-cap { position: absolute; bottom: 0; inset-inline: 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); text-align: center; font-size: 17px; opacity: .9; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 50;
  translate: -50% 16px; opacity: 0; pointer-events: none;
  padding: 10px 20px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 16px; font-weight: 600; transition: opacity .25s, translate .25s;
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* When rented: add class="is-rented" to <body> */
.is-rented .rented-badge { display: inline-flex; }
.is-rented .eyebrow, .is-rented .mbar, .is-rented .hero-cta .btn-wa { display: none; }

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .secnav a.secnav-cta { display: none; }
  .secnav a { padding: 7px 12px; }
  .about-grid, .costs-grid, .loc-grid, .contact-card { grid-template-columns: 1fr; }
  .foot { padding-bottom: 110px; }
}
@media (min-width: 901px) {
  .mbar { display: none; }
}
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .facts li { padding: 12px 14px; grid-template-columns: 1fr; row-gap: 2px; }
  .f-ico { grid-row: auto; width: 36px; height: 36px; margin-bottom: 6px; }
  body { font-size: 17px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 36vw; gap: 8px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .price { width: 100%; }
  .lb-stage { inset: 64px 0 72px; }
  .lb-prev, .lb-next { display: none; }
  .contact-actions .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.contact-name { margin-top: 18px; font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
