/* ============================================================
   LEO HOUSE TEL AVIV — luxury residential, immersive scroll
   Type: Cormorant Garamond (display serif) + Jost (geometric sans)
   ============================================================ */

:root {
  --bone:   #F2ECE0;
  --paper:  #E8E0D1;
  --ink:    #15130E;
  --ink-2:  #2A261D;
  --stone:  #8B8069;
  --taupe:  #C2B59C;
  --gold:   #EEC617;
  --gold-deep: #C9A40C;
  --brass:  #EEC617;
  --clay:   #9C5F44;
  --line:   rgba(21, 19, 14, 0.14);
  --line-light: rgba(242, 236, 224, 0.20);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', system-ui, -apple-system, sans-serif;

  --pad: clamp(20px, 5vw, 96px);
  --maxw: 1680px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  overflow-x: hidden;
  font-weight: 300;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- typographic primitives ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.body-copy {
  font-size: clamp(0.95rem, 1.05vw, 1.08rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 46ch;
}
.body-copy.on-dark { color: rgba(242,236,224,0.78); }

/* ============================================================
   WORDMARK / LOGO
   ============================================================ */
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark .leo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo { display: block; }
.nav-logo img { height: clamp(48px, 5.5vw, 70px); width: auto; display: block; }
.footer-logo img { height: clamp(60px, 7vw, 88px); width: auto; display: block; }

.wordmark .tlv {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  margin-top: 0.32em;
  padding-left: 0.1em;
}

/* ============================================================
   NAV — solid yellow brand header
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: clamp(12px, 1.4vw, 20px) var(--pad);
  background: var(--gold);
  color: var(--ink);
  border-bottom: 1px solid rgba(21,19,14,0.14);
  transition: padding 0.5s var(--ease);
}
.nav .nav-logo { justify-self: start; }
.nav-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 48px);
}
.nav-pill a {
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 500;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  letter-spacing: 0.08em;
  color: var(--ink);
  position: relative;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.nav-pill a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 1.5px; background: var(--ink);
  transition: right 0.35s var(--ease);
}
.nav-pill a:hover::after { right: 0; }
.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.1vw, 1.12rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.4s, color 0.4s;
}
.nav-cta:hover { background: var(--ink); color: var(--gold); }
.nav-cta [data-counter] { display: none; }
.nav-menu-btn { display: none; }

@media (max-width: 980px) {
  .nav-pill { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-cta { padding: 10px 20px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-parallax { position: absolute; inset: 0; height: 120%; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero-kb {
  transform-origin: 60% 45%;
  animation: heroKenBurns 30s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.10) translate3d(-1.4%, -1.2%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-kb { animation: none; }
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0.05) 60%, rgba(0,0,0,0.62) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--pad);
  padding-bottom: clamp(40px, 6vw, 90px);
  color: var(--bone);
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: rgba(242,236,224,0.85);
  margin-bottom: clamp(20px, 3vw, 38px);
}
.hero-eyebrow .dot { width: 7px; height: 7px; background: var(--brass); }
.hero h1 {
  font-size: clamp(3.4rem, 13vw, 13rem);
  line-height: 0.84;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--gold); }
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: clamp(26px, 4vw, 52px);
  padding-top: 26px;
  border-top: 1px solid rgba(242,236,224,0.28);
}
.hero-foot .meta { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(242,236,224,0.82); }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(242,236,224,0.7); }
.scroll-cue .line { width: 46px; height: 1px; background: rgba(242,236,224,0.6); position: relative; overflow: hidden; }
.scroll-cue .line::after { content:''; position:absolute; inset:0; background: var(--brass); transform: translateX(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%{transform:translateX(-100%)} 50%{transform:translateX(0)} 100%{transform:translateX(100%)} }

/* ============================================================
   SECTION SHELLS
   ============================================================ */
section { position: relative; }
.section-pad { padding: clamp(80px, 11vw, 200px) var(--pad); }
.dark { background: var(--ink); color: var(--bone); }
.dark .body-copy { color: rgba(242,236,224,0.78); }
.paper { background: var(--paper); }

.wrap { max-width: var(--maxw); margin: 0 auto; }

.section-label {
  display: flex; align-items: center; gap: 14px;
  color: var(--stone);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.section-label .idx { font-size: 0.72rem; letter-spacing: 0.3em; }
.section-label .bar { flex: 1; height: 1px; background: var(--line); max-width: 120px; }
.dark .section-label { color: var(--taupe); }
.dark .section-label .bar { background: var(--line-light); }

/* big editorial statement */
.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5.4vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.statement em { font-style: italic; color: var(--gold); }
/* on light backgrounds, emphasis = ink text with the brand gold highlight underline */
.paper .statement em,
section:not(.dark):not(.paper) .statement em {
  color: var(--ink);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 0.14em;
  background-position: 0 0.92em;
  background-repeat: no-repeat;
}
/* gold highlight marker utility */
.gold-mark {
  color: var(--ink);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 0.14em;
  background-position: 0 0.88em;
  background-repeat: no-repeat;
}
.dark .gold-mark { color: var(--gold); background-image: none; }

/* two-column editorial */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: end;
}
.editorial.top { align-items: start; }
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   INTRO / TEL AVIV — full bleed image band
   ============================================================ */
.fullbleed { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.fullbleed > img { position: absolute; inset: 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.fullbleed .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.05) 55%, rgba(0,0,0,0.3)); }
.fullbleed .caption {
  position: absolute; left: var(--pad); bottom: clamp(40px,6vw,80px); right: var(--pad);
  color: var(--bone); z-index: 2;
}

/* ============================================================
   IMAGE + TEXT SPLIT
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 90svh; }
.split.rev { grid-template-columns: 0.95fr 1.05fr; }
.split-media { position: relative; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.split-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 7vw, 130px) var(--pad); }
@media (max-width: 900px) {
  .split, .split.rev { grid-template-columns: 1fr; min-height: 0; }
  .split-media { height: 64svh; }
  .split.rev .split-media { order: -1; }
}

/* ============================================================
   RESIDENCES
   ============================================================ */
.res-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 30px; margin-bottom: clamp(40px,5vw,72px); }
.res-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.res-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-2);
  min-height: 360px;
}
.res-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); filter: brightness(0.9); }
.res-card:hover img { transform: scale(1.06); filter: brightness(0.7); }
.res-card .rc-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(22px, 2vw, 34px);
  color: var(--bone);
  min-height: inherit;
}
.res-card .rc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.res-card .rc-no { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold); }
.res-card .rc-floor { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.85; border:1px solid rgba(242,236,224,0.4); padding: 5px 10px; border-radius: 100px; }
.res-card .rc-name { font-family: var(--serif); font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.1; margin-bottom: 12px; }
.res-card .rc-stats { display: flex; gap: 18px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; flex-wrap: wrap; }
.res-card .rc-stats span { display:flex; flex-direction: column; gap: 2px; }
.res-card .rc-stats b { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--gold); }
.res-card[data-href] .rc-inner::after {
  content: 'View Specification →';
  position: absolute; right: clamp(22px,2vw,34px); bottom: clamp(22px,2vw,34px);
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.res-card[data-href]:hover .rc-inner::after { opacity: 1; transform: none; }
/* spans */
.res-card.c4 { grid-column: span 4; }
.res-card.c6 { grid-column: span 6; }
.res-card.c8 { grid-column: span 8; min-height: 460px; }
.res-card.tall { min-height: 520px; }
@media (max-width: 900px) {
  .res-card, .res-card.c4, .res-card.c6, .res-card.c8 { grid-column: span 12; min-height: 420px; }
}

/* ============================================================
   GALLERY STRIP (horizontal)
   ============================================================ */
.strip { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 4px; -webkit-overflow-scrolling: touch; }
.strip::-webkit-scrollbar { height: 0; }
.strip figure { position: relative; flex: 0 0 auto; width: min(72vw, 640px); scroll-snap-align: start; }
.strip figure img { width: 100%; height: 70svh; object-fit: cover; }
.strip figcaption { position: absolute; left: 22px; bottom: 22px; color: var(--bone); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }

/* lifestyle triptych */
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.triptych figure { position: relative; overflow: hidden; background: var(--ink-2); }
.triptych figure img { width: 100%; height: clamp(380px, 56svh, 640px); object-fit: cover; transition: transform 1.2s var(--ease); }
.triptych figure:hover img { transform: scale(1.05); }
.triptych figcaption { position: absolute; left: 20px; bottom: 18px; color: var(--bone); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(0,0,0,0.6); }
.triptych figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0) 45%); pointer-events: none; }
@media (max-width: 760px) { .triptych { grid-template-columns: 1fr; } .triptych figure img { height: 60svh; } }

/* ============================================================
   SPEC LIST (high standard)
   ============================================================ */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.spec-item { background: var(--ink); padding: clamp(28px, 3vw, 44px); }
.spec-item .num { font-family: var(--serif); font-size: 0.9rem; color: var(--brass); letter-spacing: 0.1em; }
.spec-item h4 { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.75rem); margin: 16px 0 14px; }
.spec-item ul { list-style: none; }
.spec-item li { font-size: 0.86rem; font-weight: 300; line-height: 1.5; color: rgba(242,236,224,0.7); padding: 9px 0; border-top: 1px solid var(--line-light); display: flex; gap: 10px; }
.spec-item li b { font-weight: 400; color: var(--bone); }
.spec-item li::before { content: ''; flex: 0 0 5px; height: 5px; background: var(--brass); margin-top: 8px; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: 1fr; } }

/* ============================================================
   AMENITY FEATURE PILLS
   ============================================================ */
.feature-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.feature-row .pill { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-2); }
.dark .feature-row .pill { border-color: var(--line-light); color: rgba(242,236,224,0.82); }

/* ============================================================
   LOCATION MAP
   ============================================================ */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,5vw,90px); align-items: center; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-list { columns: 2; column-gap: 50px; }
.loc-list .loc-item { break-inside: avoid; display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-light); cursor: pointer; transition: border-color 0.4s, padding-left 0.4s var(--ease); -webkit-tap-highlight-color: transparent; }
.loc-list .loc-item .n { font-family: var(--serif); color: var(--brass); font-size: 0.95rem; width: 24px; flex: 0 0 24px; transition: transform 0.4s var(--ease); }
.loc-list .loc-item .t { font-size: 0.92rem; font-weight: 300; transition: color 0.3s; }
.loc-list .loc-item .d { margin-left: auto; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--taupe); text-transform: uppercase; }
.loc-list .loc-item:hover { padding-left: 8px; border-color: rgba(238,198,23,0.4); }
.loc-list .loc-item:hover .t { color: var(--bone); }
.loc-list .loc-item.active { padding-left: 12px; border-color: var(--gold); }
.loc-list .loc-item.active .n { color: var(--ink); background: var(--gold); border-radius: 50%; width: 26px; height: 26px; flex: 0 0 26px; display: inline-flex; align-items: center; justify-content: center; transform: translateY(2px); }
.loc-list .loc-item.active .t { color: var(--gold); }

/* interactive map */
.map-interactive { position: relative; width: 100%; border: 1px solid var(--line-light); overflow: hidden; background: var(--ink-2); line-height: 0; }
.map-interactive img { width: 100%; height: auto; display: block; }
.pin-hot {
  position: absolute;
  width: 6.5%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: none; background: transparent; padding: 0; margin: 0;
  cursor: pointer; border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}
.pin-hot:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.pin-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  box-shadow: 0 0 0 4px rgba(238,198,23,0.18), 0 6px 22px rgba(0,0,0,0.4);
  pointer-events: none;
}
.pin-hot:hover .pin-ring { opacity: 0.55; transform: scale(0.85); }
.pin-hot.active .pin-ring { opacity: 1; transform: scale(1); }
/* pulsing halo on active */
.pin-hot.active::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: pinpulse 1.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes pinpulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr !important; } .pin-hot { width: 9%; } }
@media (max-width: 600px) { .loc-list { columns: 1; } }

/* ============================================================
   DEVELOPERS / PARTNERS
   ============================================================ */
.partners { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(30px,4vw,70px); }
@media (max-width: 900px) { .partners { grid-template-columns: 1fr; } }
.partner h3 { font-size: clamp(1.6rem,2.4vw,2.4rem); margin-bottom: 18px; }
.partner .role { font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass); margin-bottom: 22px; }

/* ============================================================
   CONTACT / REGISTER
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,120px); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form-field { position: relative; margin-bottom: 28px; }
.form-field label { display:block; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--taupe); margin-bottom: 10px; }
.form-field input, .form-field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-light);
  color: var(--bone); font-family: var(--sans); font-size: 1.05rem; font-weight: 300; padding: 8px 0 14px; outline: none;
  transition: border-color 0.4s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--brass); }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(242,236,224,0.3); }
.btn-submit {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--brass); color: var(--ink); border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 20px 40px; border-radius: 100px; margin-top: 12px;
  transition: transform 0.4s var(--ease), background 0.4s;
}
.btn-submit:hover { transform: translateY(-3px); background: var(--bone); }
.form-note { font-size: 0.78rem; color: var(--taupe); margin-top: 20px; line-height: 1.7; }
.contact-aside .lead { color: var(--bone); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0E0C09; color: rgba(242,236,224,0.7); padding: clamp(60px,7vw,110px) var(--pad) 40px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer-top .wordmark .leo { font-size: 2.4rem; color: var(--bone); }
.footer-top .wordmark .tlv { color: var(--brass); }
.footer-cols { display: flex; gap: clamp(40px,5vw,90px); flex-wrap: wrap; }
.footer-col h5 { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--taupe); margin-bottom: 16px; font-weight: 400; }
.footer-col p, .footer-col a { font-size: 0.9rem; font-weight: 300; line-height: 1.9; display: block; }
.footer-col a:hover { color: var(--brass); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 30px; font-size: 0.74rem; letter-spacing: 0.08em; color: var(--stone); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: 0.12s; }
  .reveal-d2 { transition-delay: 0.24s; }
  .reveal-d3 { transition-delay: 0.36s; }
  .js .clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
  .js .clip.in { clip-path: inset(0 0 0 0); }
}

/* utility */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 34px; } .mt-l { margin-top: 60px; }
.muted { color: var(--stone); }
.brass { color: var(--brass); }
.serif { font-family: var(--serif); }
.divider { height: 1px; background: var(--line); margin: clamp(50px,6vw,90px) 0; }
.dark .divider { background: var(--line-light); }

/* ============================================================
   FULL-BLEED VIDEO (Tel Aviv)
   ============================================================ */
.fullbleed > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Tel Aviv aerial loop — two stacked videos crossfaded for a seamless loop.
   A slight centred zoom crops the thin black bars baked into the source's
   left edge and bottom. */
.fullbleed > video.tlv-vid {
  transform: scale(1.04);
  transform-origin: center center;
  opacity: 0;
  transition: opacity 0.85s linear;
  will-change: opacity;
}
.fullbleed > video.tlv-vid.is-active { opacity: 1; }

/* ============================================================
   PARTNER / FOOTER — Israel Levy logos
   ============================================================ */
.partner-logo {
  display: block;
  height: 58px;
  width: auto;
  margin-top: 30px;
}
.footer-logo { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); flex-wrap: wrap; }
.footer-logo-rule { width: 1px; align-self: stretch; min-height: 56px; background: var(--line-light); }
.footer-partner-logo { height: clamp(40px, 4.6vw, 58px); width: auto; display: block; }
@media (max-width: 560px) {
  .footer-logo-rule { display: none; }
}

/* ============================================================
   AMBIENCE / BACKGROUND MUSIC CONTROL
   ============================================================ */
.ambience {
  position: fixed;
  right: clamp(18px, 2.4vw, 38px);
  bottom: clamp(18px, 2.4vw, 38px);
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 14px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: rgba(242, 236, 224, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  box-shadow: 0 10px 34px rgba(21, 19, 14, 0.18);
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
              border-color 0.45s var(--ease), box-shadow 0.45s var(--ease),
              opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.ambience.is-ready { opacity: 1; transform: translateY(0); }
.ambience:not(.is-ready) { opacity: 0; transform: translateY(14px); }
.ambience:hover { box-shadow: 0 14px 40px rgba(21, 19, 14, 0.26); }
.ambience .eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; width: 18px; }
.ambience .eq span {
  flex: 1;
  background: var(--ink);
  border-radius: 2px;
  height: 30%;
  transform-origin: bottom;
  transition: background 0.45s var(--ease);
}
.ambience.playing { background: var(--gold); border-color: var(--gold); }
.ambience.playing .eq span { background: var(--ink); animation: eqbar 1s var(--ease) infinite; }
.ambience.playing .eq span:nth-child(1) { animation-delay: -0.8s; }
.ambience.playing .eq span:nth-child(2) { animation-delay: -0.35s; }
.ambience.playing .eq span:nth-child(3) { animation-delay: -0.6s; }
.ambience.playing .eq span:nth-child(4) { animation-delay: -0.1s; }
.ambience:not(.playing) .eq span:nth-child(1) { height: 40%; }
.ambience:not(.playing) .eq span:nth-child(2) { height: 70%; }
.ambience:not(.playing) .eq span:nth-child(3) { height: 30%; }
.ambience:not(.playing) .eq span:nth-child(4) { height: 55%; }
@keyframes eqbar {
  0%, 100% { height: 22%; }
  20% { height: 90%; }
  45% { height: 45%; }
  70% { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ambience.playing .eq span { animation: none; height: 60%; }
}
.ambience .eq-label { display: inline-flex; flex-direction: column; line-height: 1.05; text-align: left; }
.ambience .eq-label .lab {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
}
.ambience .eq-label .state { font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.01em; }
.ambience.playing .eq-label .lab { opacity: 0.7; }
@media (max-width: 600px) {
  .ambience { padding: 10px; gap: 0; }
  .ambience .eq-label { display: none; }
}
