/* ═══════════════════════════════════════════════════════════
   עידן נדל״ן v2 — "The Trivida Cut"
   Alabaster & espresso acts · champagne accent · Hebrew RTL
   ═══════════════════════════════════════════════════════════ */

:root {
  --paper:   #FAF8F0;  /* warm white-cream */
  --paper-2: #EFEAD9;  /* cream */
  --night:   #12271C;  /* deep forest green */
  --night-2: #1B3526;
  --ink:     #1D2620;  /* green-black ink */
  --ink-soft:#5F6E63;
  --on-night:#EFEDE2;
  --on-night-soft:#9CB2A3;
  --champagne:      #2F6247;  /* dark green accent (var names kept for stability) */
  --champagne-deep: #1F4432;
  --champagne-soft: rgba(47,98,71,.12);
  --sage: #A9CCB7;             /* light green accent for dark surfaces */
  --line:       rgba(29,38,32,.12);
  --line-night: rgba(239,237,226,.16);
  --shadow: 0 24px 70px rgba(29,38,32,.14);
  --radius: 20px;
  --font-display: "Rubik", sans-serif;
  --font-body: "Rubik", sans-serif;
  --nav-h: 76px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--champagne); color: #FFFDF6; }

:focus-visible {
  outline: 2px solid var(--champagne-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.t-accent { font-style: normal; font-weight: 300; color: var(--champagne); }

/* ── Film grain ────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.2s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ── Custom cursor ─────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 3000;
  border-radius: 50%;
  translate: -50% -50%;
  display: none;
}
.cursor-dot { width: 9px; height: 9px; background: var(--champagne-deep); }
.cursor-ring {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(47, 98, 71, .6);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s, background-color .3s;
}
.cursor-ring.is-active {
  width: 74px; height: 74px;
  border-color: rgba(47, 98, 71, .95);
  background: rgba(169, 204, 183, .16);
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}

/* ── Preloader ─────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--paper);
  display: grid;
  place-items: center;
}
.preloader__inner { text-align: center; }
.preloader__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  background: linear-gradient(105deg, var(--ink) 40%, var(--champagne) 50%, var(--ink) 60%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldSweep 1.8s ease-in-out infinite;
}
@keyframes goldSweep {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
.preloader__count {
  margin-block-start: 18px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.preloader__bar {
  width: min(240px, 50vw);
  height: 1.5px;
  margin: 14px auto 0;
  background: var(--line);
  overflow: hidden;
}
.preloader__bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--champagne);
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s, border-color .3s;
  will-change: transform;
}
.btn--gold {
  background: linear-gradient(135deg, #3F7A5A, #24523B);
  color: #FFFDF6;
  padding: 15px 30px;
  box-shadow: 0 10px 26px rgba(31, 68, 50, .28);
}
.btn--gold:hover { box-shadow: 0 16px 38px rgba(31, 68, 50, .4); }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }
.btn--ghost-night {
  border: 1px solid rgba(238, 241, 232, .4);
  color: var(--on-night);
  padding: 16px 32px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost-night:hover { border-color: var(--on-night); }

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: clamp(20px, 4vw, 56px);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s, transform .45s var(--ease-out);
}
.nav--hidden { transform: translateY(-110%); }
.nav--solid {
  background: rgba(250, 248, 240, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--on-night);
  text-shadow: 0 1px 18px rgba(15, 31, 23, .55);
  transition: color .4s, text-shadow .4s;
}
.nav--solid .nav__logo { text-shadow: none; }
.nav--solid .nav__logo { color: var(--ink); }
.nav__links {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  font-weight: 500;
  font-size: .98rem;
}
.nav__links a {
  position: relative;
  padding-block: 6px;
  color: rgba(238, 241, 232, .8);
  transition: color .3s;
}
.nav--solid .nav__links a { color: var(--ink-soft); }
.nav__links a:hover { color: inherit; }
.nav__links a::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 1.5px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 12px 24px; font-size: .95rem; }

/* ── Hero — film first, content column at inline-start ─── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--night);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
.hero__tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(15, 31, 23, .62), rgba(15, 31, 23, .25) 38%, transparent 60%),
    radial-gradient(140% 100% at 50% 50%, transparent 55%, rgba(15, 31, 23, .35) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-inline-start: clamp(24px, 6vw, 88px);
  margin-inline-end: auto;
  text-align: start;
  color: var(--on-night);
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(238, 241, 232, .85);
  margin-block-end: 24px;
}
.hero__kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--sage);
  flex-shrink: 0;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: .98;
  color: #FFFDF6;
  text-shadow: 0 4px 44px rgba(15, 31, 23, .4);
}
.hero__sub {
  margin-block-start: 18px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--sage);
  text-shadow: 0 2px 24px rgba(15, 31, 23, .45);
}
.hero__support {
  margin-block-start: 16px;
  max-width: 46ch;
  font-weight: 300;
  font-size: clamp(.98rem, 1.5vw, 1.1rem);
  color: rgba(238, 241, 232, .88);
  text-shadow: 0 2px 18px rgba(15, 31, 23, .5);
}
.hero__actions {
  margin-block-start: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__cue {
  margin-block-start: clamp(28px, 6vh, 60px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(238, 241, 232, .7);
  font-size: .82rem;
  letter-spacing: .08em;
}
.hero__cue-line {
  width: 44px;
  height: 1.5px;
  background: linear-gradient(to left, rgba(238, 241, 232, .8), transparent);
  overflow: hidden;
  position: relative;
}
.hero__cue-line::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 40%;
  background: var(--sage);
  animation: cueSlide 1.8s ease-in-out infinite;
}
@keyframes cueSlide {
  0% { transform: translateX(120%); }
  100% { transform: translateX(-300%); }
}

/* ── Section head ──────────────────────────────────────── */
.section-head { max-width: 1200px; margin-inline: auto; }
.section-head--center { text-align: center; }
.section-head__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--champagne-deep);
  margin-block-end: 18px;
}
.section-head__kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--champagne);
  flex-shrink: 0;
}
.section-head--center .section-head__kicker { justify-content: center; }
.section-head__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1.12;
}
.section-head__sub {
  margin-block-start: 14px;
  font-weight: 300;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section-head--night .section-head__title { color: var(--on-night); }
.section-head--night .section-head__sub { color: var(--on-night-soft); }
.section-head--night .section-head__kicker { color: var(--sage); }
.section-head--night .t-accent { color: var(--sage); }

/* ── Stats ─────────────────────────────────────────────── */
.stats {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: clamp(44px, 7vh, 84px);
}
.stats__grid {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat__num.is-empty { color: var(--champagne); opacity: .65; }
.stat__label {
  margin-block-start: 10px;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
}

/* ── Mission ───────────────────────────────────────────── */
.mission {
  padding: clamp(110px, 20vh, 220px) clamp(24px, 6vw, 80px);
  max-width: 1250px;
  margin-inline: auto;
}
.mission__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 4rem);
  line-height: 1.4;
  text-align: center;
}
.mission__text .w {
  display: inline-block;
  opacity: .13;
  will-change: opacity;
}
.mission__text .w.t-accent { color: var(--champagne); font-weight: 300; }

/* ── Pillars ───────────────────────────────────────────── */
.pillars { padding: clamp(80px, 14vh, 160px) clamp(20px, 4vw, 56px); }
.pillars .section-head { text-align: center; margin-block-end: clamp(44px, 7vh, 80px); }
.pillars .section-head__kicker { justify-content: center; }
.pillars__grid {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.pillar {
  position: relative;
  background: #FDFCF6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px) clamp(22px, 2.4vw, 32px);
  box-shadow: 0 10px 30px rgba(23, 19, 16, .06);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.pillar::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--champagne), var(--champagne-deep));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--ease-out);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__index {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.9rem;
  color: rgba(47, 98, 71, .5);
  display: block;
  margin-block-end: 16px;
  font-variant-numeric: tabular-nums;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-block-end: 10px;
  line-height: 1.25;
}
.pillar p { color: var(--ink-soft); font-size: .98rem; font-weight: 300; line-height: 1.7; }

/* ── Story ─────────────────────────────────────────────── */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  max-width: 1250px;
  margin-inline: auto;
  padding: clamp(80px, 14vh, 170px) clamp(20px, 4vw, 56px);
}
.story__media { position: relative; min-height: 500px; }
.story__photo {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #FDFCF6;
}
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__photo--a {
  width: 68%;
  aspect-ratio: 3 / 4;
  inset-block-start: 0;
  inset-inline-start: 0;
  rotate: -2deg;
}
.story__photo--b {
  width: 52%;
  aspect-ratio: 3 / 4;
  inset-block-end: 0;
  inset-inline-end: 0;
  rotate: 1.5deg;
}
.story__text .section-head__title { margin-block-end: 26px; }
.story__text p:not(.section-head__kicker) {
  color: var(--ink-soft);
  font-weight: 300;
  margin-block-end: 18px;
  max-width: 56ch;
}
.story__text p:first-of-type { color: var(--ink); font-weight: 400; }

/* ── Marquee ───────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding-block: clamp(30px, 6vh, 70px);
  border-block-start: 1px solid var(--line);
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--ink);
  opacity: .3;
  padding-inline-end: .5em;
}

/* ── Properties — NIGHT act ────────────────────────────── */
.properties { background: var(--paper); }
.act-shell {
  background: var(--night);
  color: var(--on-night);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  transform-origin: center top;
  padding: clamp(80px, 12vh, 140px) clamp(20px, 4vw, 56px) clamp(80px, 12vh, 120px);
}
.ghost-word {
  position: absolute;
  inset-block-start: clamp(10px, 3vh, 40px);
  inset-inline-end: -2%;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(8rem, 24vw, 22rem);
  line-height: 1;
  color: var(--on-night);
  opacity: .05;
  pointer-events: none;
  user-select: none;
}
.properties .section-head { margin-block-end: clamp(40px, 7vh, 70px); position: relative; }

/* hive grid */
.hive {
  max-width: 1250px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--night-2);
  padding: 0;
  text-align: start;
  display: block;
  width: 100%;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), filter .8s;
}
.tile--coming img { filter: blur(10px) brightness(.5) saturate(.6); transform: scale(1.08); }
.tile__badge {
  position: absolute;
  z-index: 2;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(15, 31, 23, .55);
  color: var(--on-night);
  border: 1px solid var(--line-night);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tile__badge--available { background: rgba(47, 98, 71, .9); color: #14110C; border-color: transparent; }
.tile__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(15, 31, 23, .85), rgba(15, 31, 23, .1) 55%, transparent);
  opacity: 0;
  transition: opacity .5s;
}
.tile__meta {
  position: absolute;
  z-index: 2;
  inset-inline: 16px;
  inset-block-end: 14px;
  translate: 0 12px;
  opacity: 0;
  transition: translate .5s var(--ease-out), opacity .5s;
}
.tile__meta h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: #FFFDF6; }
.tile__meta .addr { font-size: .88rem; font-weight: 300; color: var(--on-night-soft); margin-block-start: 2px; }
.tile__meta .view { font-size: .82rem; font-weight: 600; color: var(--sage); margin-block-start: 8px; display: inline-block; }
.tile:not(.tile--coming):hover img,
.tile:not(.tile--coming):focus-visible img { transform: scale(1.06); }
.tile:not(.tile--coming):hover .tile__shade,
.tile:not(.tile--coming):focus-visible .tile__shade { opacity: 1; }
.tile:not(.tile--coming):hover .tile__meta,
.tile:not(.tile--coming):focus-visible .tile__meta { opacity: 1; translate: 0 0; }
.tile--coming { cursor: default; }
.tile--coming .tile__center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--on-night-soft);
  font-weight: 300;
  letter-spacing: .12em;
  font-size: .9rem;
}
@media (min-width: 900px) {
  .tile--featured { grid-column: span 2; grid-row: span 2; }
}

/* ── Theater ───────────────────────────────────────────── */
.theater {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: var(--night);
}
.theater__backdrop { position: absolute; inset: 0; }
.theater__close {
  position: absolute;
  z-index: 20;
  inset-block-start: 20px;
  inset-inline-end: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(24, 43, 33, .8);
  color: var(--on-night);
  border: 1px solid var(--line-night);
  font-size: 1rem;
  transition: background-color .3s, rotate .35s var(--ease-out);
}
.theater__close:hover { background: var(--on-night); color: var(--night); rotate: 90deg; }
/* the video lives in the free zone beside the panel — full, sharp, uncropped */
.theater__stage {
  position: absolute;
  inset-block: 3vh;
  inset-inline-end: 2vw;
  inset-inline-start: calc(min(440px, 92vw) + 2vw);
}
.theater__stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* never crops the real footage */
  opacity: 0;
  transition: opacity .7s ease;
}
.theater__stage video.is-active { opacity: 1; }
.theater__panel {
  position: absolute;
  z-index: 10;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(440px, 92vw);
  overflow-y: auto;
  background: rgba(24, 43, 33, .82);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-inline-end: 1px solid var(--line-night);
  color: var(--on-night);
  padding: clamp(24px, 4vh, 44px) clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.theater__status {
  align-self: flex-start;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--champagne);
  color: #14110C;
}
.theater__status--sold { background: transparent; border: 1px solid var(--line-night); color: var(--on-night-soft); }
.theater__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; }
.theater__addr { color: var(--on-night-soft); font-weight: 300; font-size: .98rem; }
.theater__price { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: #FFFDF6; }
.theater__lastdeal { font-size: .9rem; font-weight: 300; color: var(--sage); }
.theater__desc { color: var(--on-night-soft); font-weight: 300; font-size: .98rem; }
.theater__features { display: flex; flex-wrap: wrap; gap: 8px; }
.theater__features li {
  font-size: .84rem;
  font-weight: 400;
  color: var(--on-night);
  background: rgba(238, 241, 232, .08);
  border: 1px solid var(--line-night);
  border-radius: 999px;
  padding: 5px 13px;
}
.theater__specs { display: flex; gap: 16px; color: var(--on-night-soft); font-size: .92rem; font-weight: 300; }
.theater__scenes { display: flex; gap: 8px; flex-wrap: wrap; }
.scene-pill {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-night);
  color: var(--on-night);
  background: transparent;
  font-size: .9rem;
  font-weight: 500;
  transition: background-color .3s, color .3s, border-color .3s;
}
.scene-pill:hover { border-color: var(--on-night); }
.scene-pill.is-active { background: var(--on-night); color: var(--night); border-color: var(--on-night); font-weight: 600; }
.theater__cta { margin-block-start: 6px; width: 100%; }
.theater__wa {
  width: 100%;
  border: 1px solid var(--line-night);
  color: var(--on-night);
  border-radius: 999px;
  padding: 14px;
  font-weight: 500;
  transition: border-color .3s;
}
.theater__wa:hover { border-color: var(--on-night); }

/* ── Booking — the calendar ────────────────────────────── */
.booking { padding: clamp(90px, 15vh, 180px) clamp(20px, 4vw, 56px); background: var(--paper); }
.booking .section-head { margin-block-end: clamp(40px, 7vh, 70px); }
.booking__embed { max-width: 1000px; margin-inline: auto; }
.booking__embed iframe { width: 100%; height: min(72vh, 760px); border: 0; border-radius: var(--radius); background: #fff; }
.booking__layout {
  max-width: 1250px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

/* month grid */
.booking__cal {
  background: #FDFCF6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(23, 19, 16, .08);
  padding: clamp(20px, 2.6vw, 34px);
}
.cal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-end: 18px;
}
.cal__titlebox { display: flex; align-items: baseline; gap: 14px; }
.cal__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.cal__today {
  font-size: .82rem;
  font-weight: 600;
  color: var(--champagne-deep);
  border-block-end: 1px solid currentColor;
  padding-block-end: 1px;
}
.cal__nav {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
  transition: background-color .3s, color .3s, border-color .3s;
}
.cal__nav:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-block-end: 8px;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal__day {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 500;
  font-size: .98rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  border: 1px solid transparent;
  transition: background-color .25s, border-color .25s, color .25s;
}
.cal__day:not(:disabled):hover { background: var(--champagne-soft); }
.cal__day:disabled { color: rgba(23, 19, 16, .28); cursor: default; }
.cal__day--closed:disabled { text-decoration: none; }
.cal__day--today { border-color: var(--champagne); }
.cal__day--full:disabled { color: rgba(23, 19, 16, .35); text-decoration: line-through; }
.cal__day--selected,
.cal__day--selected:not(:disabled):hover {
  background: linear-gradient(135deg, #3F7A5A, #24523B);
  color: #FFFDF6;
  font-weight: 600;
}
.cal__day .cal__dot {
  position: absolute;
  inset-block-end: 7px;
  inset-inline-start: 50%;
  translate: -50% 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--champagne);
}
[dir="rtl"] .cal__day .cal__dot { translate: 50% 0; }
.cal__day--selected .cal__dot { background: #FFFDF6; }
.cal__legend {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-block-start: 18px;
  font-size: .82rem;
  color: var(--ink-soft);
}
.cal__legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--free { background: var(--champagne); }
.dot--full { background: rgba(23, 19, 16, .3); }
.dot--closed { background: transparent; border: 1px solid rgba(23, 19, 16, .3); }

/* side column */
.booking__side { display: flex; flex-direction: column; gap: 20px; }
.booking__portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}
.booking__portrait img { width: 100%; height: 100%; object-fit: cover; }

.slots {
  background: #FDFCF6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.slots__title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-block-end: 14px; }
.slots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 8px;
}
.slot {
  padding: 10px 6px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: .95rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: center;
  transition: background-color .25s, color .25s, border-color .25s;
}
.slot:hover { border-color: var(--champagne); background: var(--champagne-soft); }
.slot.is-selected {
  background: linear-gradient(135deg, #3F7A5A, #24523B);
  color: #FFFDF6;
  border-color: transparent;
  font-weight: 600;
}
.slots__empty { color: var(--ink-soft); font-weight: 300; font-size: .95rem; }

.bform {
  background: #FDFCF6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.bform__property {
  font-weight: 600;
  font-size: .9rem;
  color: var(--champagne-deep);
  background: var(--champagne-soft);
  border: 1px solid rgba(47, 98, 71, .35);
  border-radius: 10px;
  padding: 8px 14px;
  margin-block-end: 12px;
}
.bform__summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  margin-block-end: 16px;
  padding-block-end: 14px;
  border-block-end: 1px solid var(--line);
}
.bform form { display: grid; gap: 14px; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  margin-block-end: 6px;
}
.field input, .field select {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--champagne);
  box-shadow: 0 0 0 4px var(--champagne-soft);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bform__error { color: #A33B22; font-size: .88rem; font-weight: 500; }
.bform__submit { width: 100%; }

.bsuccess {
  background: #FDFCF6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  padding: 34px 22px;
}
.bsuccess__icon {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #FFFDF6;
  background: linear-gradient(135deg, #3F7A5A, #24523B);
  box-shadow: 0 14px 34px rgba(31, 68, 50, .35);
}
.bsuccess h4 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.bsuccess p { color: var(--ink-soft); font-weight: 300; margin-block-start: 8px; }

/* ── Footer — night ────────────────────────────────────── */
.footer { background: var(--paper); }
.act-shell--footer {
  text-align: center;
  padding: clamp(56px, 9vh, 90px) 24px clamp(30px, 4vh, 46px);
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--on-night);
}
.footer__tagline {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--sage);
  margin-block-start: 8px;
  margin-block-end: 26px;
}
.footer__contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--on-night-soft);
  font-size: .95rem;
  font-weight: 300;
  margin-block-end: 26px;
}
.footer__contact a { color: var(--on-night); font-weight: 500; transition: color .3s; }
.footer__contact a:hover { color: var(--champagne); }
.footer__contact .soon { opacity: .55; }
.footer__legal { color: var(--on-night-soft); font-size: .82rem; font-weight: 300; }
.footer__credit { color: rgba(238, 241, 232, .35); font-size: .74rem; font-weight: 300; margin-block-start: 8px; }

/* ── Floating CTA ──────────────────────────────────────── */
.float-cta {
  position: fixed;
  inset-block-end: 26px;
  inset-inline-end: 26px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3F7A5A, #24523B);
  color: #FFFDF6;
  font-weight: 500;
  font-size: .98rem;
  box-shadow: 0 14px 36px rgba(31, 68, 50, .38);
  opacity: 0;
  translate: 0 16px;
  pointer-events: none;
  transition: opacity .45s var(--ease-out), translate .45s var(--ease-out), box-shadow .3s;
}
.float-cta.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.float-cta:hover { box-shadow: 0 18px 44px rgba(31, 68, 50, .5); }
.float-cta__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #CFF5D6;
  box-shadow: 0 0 0 0 rgba(207, 245, 214, .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(207, 245, 214, .6); }
  70% { box-shadow: 0 0 0 9px rgba(207, 245, 214, 0); }
  100% { box-shadow: 0 0 0 0 rgba(207, 245, 214, 0); }
}
.float-cta__label { white-space: nowrap; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }

body.modal-open { overflow: hidden; }

/* ── Reveal primitives ─────────────────────────────────── */
.reveal-up, .reveal-chip { opacity: 0; }
[data-split] .w { display: inline-block; will-change: transform, opacity; }
[data-split] { visibility: hidden; }
[data-split].is-split { visibility: visible; }
.mask-img { clip-path: inset(100% 0 0 0); }
.mask-img img { transform: scale(1.12); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .booking__layout { grid-template-columns: 1fr; }
  .booking__portrait { display: none; }
}

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .hero { align-items: flex-end; }
  .hero__content {
    margin-inline: 0;
    max-width: none;
    width: 100%;
    padding: 0 20px calc(env(safe-area-inset-bottom, 0px) + 84px);
  }
  .hero__tint {
    background:
      linear-gradient(to top, rgba(15, 31, 23, .82), rgba(15, 31, 23, .3) 45%, transparent 70%);
  }
  .hero__cue { margin-block-start: 22px; }
  .story { grid-template-columns: 1fr; }
  .story__media {
    min-height: 0;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 12px;
    align-items: start;
    margin-block-end: 16px;
  }
  .story__photo { position: static; width: 100%; rotate: 0deg; border-width: 4px; }
  .theater__panel {
    inset-block-start: auto;
    inset-block-end: 0;
    inset-inline: 0;
    width: 100%;
    max-height: 55vh;
    border-inline-end: 0;
    border-block-start: 1px solid var(--line-night);
    border-radius: 22px 22px 0 0;
  }
  .theater__stage { inset: 2vh 3vw 50vh 3vw; }
  .float-cta {
    inset-inline: 14px;
    inset-block-end: 14px;
    justify-content: center;
    padding-block: 17px;
  }
  .float-cta__label { max-width: none; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .pillars__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .field--row { grid-template-columns: 1fr; }
  .hero__support { display: none; }
  .slots__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Reduced motion (media query OR html.reduced via ?nomotion) ── */
html.reduced .reveal-up, html.reduced .reveal-chip { opacity: 1 !important; transform: none !important; }
html.reduced [data-split] { visibility: visible; }
html.reduced .mission__text .w { opacity: 1 !important; }
html.reduced .mask-img { clip-path: none; }
html.reduced .mask-img img { transform: none; }
html.reduced .marquee__track { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .grain { animation: none; }
  .reveal-up, .reveal-chip { opacity: 1 !important; }
  [data-split] { visibility: visible; }
  .mask-img { clip-path: none; }
  .mask-img img { transform: none; }
}
