
/* ═══════════════════ BRAND FONTS (from PDF — Document fonts) ═══════════════════ */
/* Almoni (AlmoniDLAAA)  — primary Hebrew: nav, titles, body, headlines, footer */
@font-face{font-family:'Almoni';font-style:normal;font-weight:400;font-display:swap;src:url('assets/web/fonts/almoni-regular.woff2') format('woff2');}
@font-face{font-family:'Almoni';font-style:normal;font-weight:700;font-display:swap;src:url('assets/web/fonts/almoni-bold.woff2') format('woff2');}
/* Bronova — Latin display + big numbers: LIVING BY THE SEA / THE PROJECT / 123 / 5 / For A DESIGN Style / EXTRA TIME */
@font-face{font-family:'Bronova';font-style:normal;font-weight:400;font-display:swap;src:url('assets/web/fonts/bronova-regular.woff2') format('woff2');}
/* FbAbsolutiConHeb — developers (יזמים) section body/emphasis */
@font-face{font-family:'Absoluti';font-style:normal;font-weight:400;font-display:swap;src:url('assets/web/fonts/absoluti-regular.woff2') format('woff2');}
@font-face{font-family:'Absoluti';font-style:normal;font-weight:500;font-display:swap;src:url('assets/web/fonts/absoluti-medium.woff2') format('woff2');}
/* OronMFO — developers "מבית אפריקה ישראל מגורים" subtitle */
@font-face{font-family:'Oron';font-style:normal;font-weight:500;font-display:swap;src:url('assets/web/fonts/oron-medium.woff2') format('woff2');}
:root{
  --navy:#1b1a4e;
  --navy-deep:#14143d;
  --gold:#d4a437;
  --blue-light:#c6e6f3;
  --blue-bg:#e8f4fa;
  --cream:#ffffff;
  --ink:#1a1a1a;
  /* ── uniformity tokens (shared design system) ── */
  --fs-section-title:clamp(1.6rem,2.6vw,2.4rem);   /* every section heading */
  --fs-body:clamp(1rem,1.05vw,1.1rem);             /* every body paragraph */
  --fs-lead:clamp(1.1rem,1.4vw,1.35rem);           /* lead / caption line */
  --radius-media:14px;                             /* contained photos (not full-bleed banners) */
  --shadow-media:0 2px 8px rgba(20,20,61,.05),0 16px 36px -12px rgba(20,20,61,.22),0 46px 88px -36px rgba(20,20,61,.40);
  --container:1200px;                              /* section content max-width */
  --gutter:clamp(24px,4vw,64px);                   /* horizontal section padding */
  --section-pad:clamp(2.5rem,6vh,5rem);            /* vertical section padding */
}
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--cream);color:var(--ink);
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;line-height:1.5;
  -webkit-text-size-adjust:100%;
}
img{display:block;max-width:100%;height:auto;}
a{color:inherit;text-decoration:none;}

/* ═══════════════════════ HERO ═══════════════════════ */
.hero{
  position:relative;
  width:100%;
  height:100svh;           /* full viewport — was aspect-ratio:1082/648 which grew taller than the screen on wide monitors → video cut at the bottom */
  min-height:560px;
  overflow:hidden;
  background:var(--blue-light);
}
.hero__bg{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;object-position:center 35%;
}

/* ── top nav overlay (logo left, menu right) ── */
.nav{
  position:absolute;top:0;right:0;left:0;
  z-index:5;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.9vw 4vw 0;
}
.nav__logo{
  flex:0 0 auto;order:2;
}
.nav__logo img{
  width:auto;height:5vw;min-height:58px;max-height:86px;
}
.nav__menu{
  display:flex;align-items:center;gap:1.9vw;
  flex:0 1 auto;order:1;
  padding-bottom:0.6vw;
}
.nav__menu a{
  color:var(--navy);
  font-weight:500;
  font-size:1.18vw;
  letter-spacing:0.01em;
  white-space:nowrap;
  position:relative;
  padding:0.3em 0;
  transition:color .25s ease;
}
.nav__menu a::after{
  content:"";position:absolute;right:0;bottom:0;left:auto;
  width:0;height:2px;background:var(--gold);
  transition:width .28s cubic-bezier(.4,0,.2,1);
}
.nav__menu a:hover{color:var(--navy-deep);}
.nav__menu a:hover::after{width:100%;}

/* ── headline "LIVING BY THE SEA" ── */
.hero__headline{
  position:absolute;z-index:4;
  left:auto;right:7%;bottom:12.5%;
  text-align:right;
  color:#fff;
  font-family:'Bronova',serif;
  font-weight:400;
  font-size:4.8vw;
  line-height:1.06;
  letter-spacing:0.14em;
  direction:ltr;
  text-shadow:0 2px 26px rgba(20,20,61,.30);
}
/* The "LIVING BY THE SEA" title is now baked into BOTH hero videos (desktop + phone) →
   hide the duplicate HTML overlay (and its accent bar) everywhere. */
.hero__headline, .hero__accent{ display:none !important; }

/* ── decorative accent bars (gold + light-blue) ── */
.hero__accent{
  position:absolute;z-index:4;
  right:6.5%;left:auto;bottom:6.5%;
  width:9vw;height:2.4vw;
  pointer-events:none;
}
.hero__accent span{position:absolute;display:block;}
.hero__accent .bar-blue{
  top:0;left:0;
  width:62%;height:40%;
  background:var(--blue-light);
}
.hero__accent .bar-gold{
  bottom:0;right:0;
  width:62%;height:40%;
  background:var(--gold);
}

/* ── mobile-only hero pieces (hidden on desktop) ── */
.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none;z-index:1;}
.hero__vid-d{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;z-index:1;display:block;}
.hero__scrim{position:absolute;inset:0;z-index:2;pointer-events:none;display:none;
  background:linear-gradient(to bottom,rgba(20,20,61,.42) 0%,rgba(20,20,61,0) 22%),
             linear-gradient(to top,rgba(20,20,61,.62) 0%,rgba(20,20,61,0) 42%);}
.nav__toggle{display:none;}
.hero__scroll{display:none;}

@media (max-width:768px){
  .hero{aspect-ratio:auto;height:100svh;min-height:560px;}
  .hero__bg{display:none;}
  .hero__vid-d{display:none;}
  .hero__video{display:block;}
  .hero__scrim{display:block;}

  .nav{padding:calc(env(safe-area-inset-top,0px) + 16px) 22px 0;align-items:center;z-index:60;}
  .nav__logo{order:1;position:relative;z-index:50;}
  .nav__logo img{width:118px;height:auto;min-height:0;max-height:none;filter:brightness(0) invert(1);}
  .nav__toggle{order:2;z-index:50;position:relative;display:flex;flex-direction:column;justify-content:center;
    gap:5px;width:46px;height:46px;padding:11px;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent;}
  .nav__toggle span{display:block;width:100%;height:2px;border-radius:2px;background:#fff;
    transition:transform .4s cubic-bezier(.16,1,.3,1),opacity .2s ease;}

  .nav__menu{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:.18em;padding:0;background:rgba(20,20,61,.82);
    -webkit-backdrop-filter:blur(20px) saturate(1.1);backdrop-filter:blur(20px) saturate(1.1);
    opacity:0;visibility:hidden;transform:translateY(-10px);
    transition:opacity .4s ease,transform .55s cubic-bezier(.16,1,.3,1),visibility .4s;}
  .nav__menu a{color:#fff;font-weight:500;font-size:27px;letter-spacing:.02em;padding:.42em 0;}
  .nav__menu a::after{right:50%;left:auto;transform:translateX(50%);background:var(--gold);}
  .nav.is-open .nav__menu{opacity:1;visibility:visible;transform:none;}
  .nav.is-open .nav__toggle span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .nav.is-open .nav__toggle span:nth-child(2){opacity:0;}
  .nav.is-open .nav__toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  .hero__headline{right:24px;left:auto;bottom:15%;font-size:42px;line-height:1.04;letter-spacing:.1em;z-index:5;}
  .hero__accent{right:25px;left:auto;bottom:10.5%;width:66px;height:18px;z-index:5;}

  .hero__scroll{display:block;position:absolute;left:50%;bottom:22px;transform:translateX(-50%);
    width:24px;height:38px;border:2px solid rgba(255,255,255,.7);border-radius:14px;z-index:5;}
  .hero__scroll span{position:absolute;left:50%;top:7px;width:3px;height:7px;border-radius:2px;background:#fff;
    transform:translateX(-50%);animation:heroScroll 1.6s ease-in-out infinite;}
}
@keyframes heroScroll{0%{opacity:0;transform:translate(-50%,0);}30%{opacity:1;}70%{opacity:1;}100%{opacity:0;transform:translate(-50%,12px);}}

/* ═══════════════════════ THE PROJECT — PDF page 2 (full-bleed dusk render + title overlay + white strip) ═══════════════════════ */
.project{
  position:relative;width:100%;min-height:100svh;
  display:flex;flex-direction:column;background:var(--cream);overflow:hidden;
}
/* dusk render — top 78.9% of the screen. Shown un-distorted (no squish) + un-cropped (contain);
   the sides are filled with a blurred copy so it still reads full-bleed. */
.proj__media{position:relative;flex:none;height:80svh;width:100%;overflow:hidden;}
.proj__bg-pic{position:absolute;inset:0;display:block;}   /* <picture> fills .proj__media; img inside fills it (mobile gets the portrait night render via <source>) */
.proj__bg{width:100%;height:100%;object-fit:cover;object-position:center;display:block;}   /* 16:9 render — fills full width edge-to-edge (minimal top/bottom crop, no squish, no bars) */
/* logo + title overlay — top-left, lines right-aligned to x≈25.6% (RTL) */
.proj__head{position:absolute;top:6svh;left:0;width:17vw;text-align:right;z-index:3;}   /* narrower → title sits further left, clear of the towers (per client) */
.proj__logo{display:inline-block;width:11.5vw;height:auto;margin:0 0 1.1vw;
  filter:brightness(0) invert(1);}   /* navy logo → white, to match the white title over the image */
.proj__title{
  margin:0;font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:2.6vw;line-height:0.95;letter-spacing:-.01em;color:#fff;   /* significantly smaller + tighter line spacing (per client) */
  text-shadow:0 2px 20px rgba(0,0,0,.32);
}
/* brand rectangles — top-right corner (teal sits upper-left of gold) */
.proj__rect{position:absolute;z-index:3;height:2.1svh;}
.proj__rect--teal{left:86.7vw;top:5.9svh;width:6.6vw;background:#a8dcec;}
.proj__rect--gold{left:93.4vw;top:8.1svh;width:6.5vw;background:var(--gold);}
/* bottom-left brand bars (PDF): a teal+gold pair, then a white pair lower toward the corner */
.proj__rect--teal2{left:13.2vw;top:58.9svh;width:4.7vw;height:1.5svh;background:#a8dcec;}
.proj__rect--gold2{left:8.4vw;top:60.5svh;width:4.7vw;height:1.5svh;background:var(--gold);}
.proj__rect--white1{left:6.6vw;top:71.1svh;width:4.7vw;height:1.4svh;background:#fff;}
.proj__rect--white2{left:1.8vw;top:72.6svh;width:4.7vw;height:1.5svh;background:#fff;}
/* render credit — lower-right, over the image */
.proj__credit{position:absolute;top:74.9svh;right:2.4vw;z-index:3;
  font-family:'Almoni',sans-serif;font-weight:400;font-size:.899vw;
  color:rgba(255,255,255,.88);letter-spacing:.01em;}
/* white strip with the descriptive paragraph */
.proj__strip{flex:1 1 auto;padding-top:2.5svh;background:var(--cream);}
.proj__p{margin:0 auto;width:88vw;text-align:center;
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:1.667vw;line-height:1.4;color:#1b1a4e;}   /* ≈24px @1440 — aligned with the other paragraphs */
@media (max-width:768px){
  .proj__media{height:72svh;}
  .proj__head{top:10svh;left:auto;right:6vw;width:62vw;}   /* anchored right + lowered so the logo clears the brand rects above it (per client) */
  .proj__logo{width:22vw;margin-bottom:3vw;}
  .proj__title{font-size:9.5vw;line-height:1.0;}
  /* brand rects — shrunk ~33% so they read as accents, not blocks (per client) */
  .proj__rect{height:1svh;}
  .proj__rect--teal{left:70vw;top:5svh;width:12vw;}
  .proj__rect--gold{left:82vw;top:7.2svh;width:12vw;}   /* right edge kept at 94vw so the headline sits beneath it */
  .proj__rect--teal2{left:11vw;top:53svh;width:11vw;height:1svh;}
  .proj__rect--gold2{left:5vw;top:55.5svh;width:11vw;height:1svh;}
  .proj__rect--white1{left:11vw;top:61svh;width:11vw;height:1svh;}
  .proj__rect--white2{left:5vw;top:63.5svh;width:11vw;height:1svh;}
  .proj__credit{font-size:2.6vw;top:67svh;right:4vw;}
  .proj__p{font-size:3.5vw;line-height:1.5;max-width:90vw;}
}

/* ═══════════════════════ WELLNESS / NUMBERS (canvas, fits 1 viewport) ═══════════════════════ */
.well{
  min-height:100svh;position:relative;
  display:flex;align-items:center;justify-content:center;
  padding:0;background:var(--cream);overflow:hidden;
}
.well__canvas{
  position:relative;
  aspect-ratio:2845/1900;
  width:min(96vw, calc(100svh * 2845 / 1900));
  container-type:size;
}
.well__stats,.well__body,.well__caption,
.c-yoga,.c-kids,.c-lounge,.well .bar{position:absolute;}

/* ── title (Almoni-Bold — matches the PDF) ── */
.well__caption{left:8.7%;width:40%;top:4.8%;text-align:center;}   /* lowered + slightly smaller per client */
.well__caption p{
  position:relative;margin:0;color:#170d2b;font-family:'Almoni',sans-serif;font-weight:400;line-height:1.08;font-size:2.45cqw;
}
.well__caption p span{font-weight:400;}

/* title-rule bars (below the title): blue(angled) + navy-main(angled) + navy-small */
.well .tr{height:.8%;}
.well .tr.blue{left:13.5%;width:16.5%;top:14.6%;clip-path:polygon(0 0,100% 0,calc(100% - 13px) 100%,0 100%);}
.well .tr.n-main{left:30.5%;width:14.5%;top:13.3%;clip-path:polygon(13px 0,100% 0,100% 100%,0 100%);}
.well .tr.n-small{left:23%;width:4.6%;top:13.5%;}

/* ── numbers / stats block (pushed down → gap under the title) ── */
.well__stats{left:14%;top:22.5%;width:30%;}   /* lowered per client (gap under the title) */
.well__stats .divider{
  position:absolute;top:0;height:13cqw;width:3px;   /* TOP segment — flanks the 1·2·3 row */
  background-image:radial-gradient(circle,#170d2b 1.7px,transparent 1.8px);
  background-size:3px 1.05cqw;background-repeat:repeat-y;background-position:center top;  /* dotted — each column split into 2 segments w/ a small gap, like the PDF */
}
.well__stats .divider.d1,.well__stats .divider.d1b{left:24%;}      /* pushed outward so they clear the wide labels (פארק אורבני / WELLNESS ZONE) */
.well__stats .divider.d2,.well__stats .divider.d2b{left:76%;}
.well__stats .divider.d1b,.well__stats .divider.d2b{top:14cqw;height:12cqw;}   /* BOTTOM segment — flanks the 5, small gap above matches the row→5 gap */
.well__row{display:flex;direction:ltr;justify-content:space-between;padding:0 5%;}
.well__stat{
  flex:0 0 auto;width:0;overflow:visible;
  display:flex;flex-direction:column;align-items:center;text-align:center;
}
.well__stat .num,.well__five .num{
  font-family:'Bronova',serif;font-weight:400;
  color:#170d2b;line-height:.9;font-size:11.13cqw;   /* EXACT PDF: 171pt */
}
.well__stat .lbl{
  font-family:'Almoni',sans-serif;font-weight:700;color:#170d2b;white-space:nowrap;
  font-size:2.012cqw;margin-top:-2.78cqw;   /* PDF: AlmoniDLAAA-Bold 20.6pt = 2.012% page width; tight gap number→label (PDF ratio ≈0.08) */
}
.well__five{
  width:60%;margin:4.6cqw auto 0;   /* lowered so the 5 aligns with the left/right dots + more gap between the rows */
  display:flex;flex-direction:column;align-items:center;text-align:center;
}
.well__five .lbl5{
  font-family:'Almoni',sans-serif;color:#170d2b;line-height:1.1;margin-top:-1cqw;   /* more breathing room below the 5 (per client) */
  font-size:2.012cqw;font-weight:700;   /* PDF: "מתחמי" AlmoniDLAAA-Bold 20.6pt = 2.012% page width */
}
.well__five .lbl5 b{
  display:block;font-weight:400;letter-spacing:.06em;font-size:1.748cqw;white-space:nowrap;   /* WELLNESS ZONE — AlmoniDLAAA Regular 17.9pt = 1.748% page width */
}

/* ── paragraph (Almoni — exact PDF text/breaks/position) ── */
.well__body{
  left:7%;top:65.5%;width:40%;   /* widened (font kept) so the 3 lines wrap exactly like the PDF; clears the collage at 48.3% */
  text-align:center;color:#170d2b;font-family:'Almoni',sans-serif;
  font-size:1.78cqw;line-height:1.3;font-weight:400;margin:0;   /* ≈24px — aligned with the other paragraphs (per client) */
}

/* ── accent bars ── */
.well .bar{display:block;}
.well .bar.blue{background:var(--blue-light);}
.well .bar.gold{background:var(--gold);}
.well .bar.navy{background:#170d2b;}

/* bottom bars — anchored to the LEFT SCREEN edge (vw, relative to the full-width section), leftmost bleeds off the edge. Descending staircase like the PDF. */
.well .bb{position:absolute;}
.well .bb.g{left:19.5vw;width:10.5vw;top:84%;height:1.4%;}
.well .bb.bw{left:10vw;width:9.5vw;top:85.3%;height:1.3%;}
.well .bb.bs{left:-3vw;width:13vw;top:86.6%;height:1.4%;}

/* ── image collage ── */
.well__canvas img{object-fit:cover;display:block;}
.well__collage{display:contents;}
.c-yoga{left:48.3%;top:2.7%;width:26.9%;height:47.6%;object-position:center 30%;}
.c-kids{left:48.3%;top:53.3%;width:26.9%;height:28.6%;object-position:38% center;}
.c-lounge{left:77.3%;top:28.0%;width:22.7%;height:45.8%;object-position:60% center;}

/* ── #wellness mobile: canvas → vertical flow (heading → stats → list → collage) ── */
@media (max-width:768px){
  .well{min-height:auto;display:block;padding:3.4rem 0;}
  .well__canvas{position:static;width:100%;max-width:none;height:auto;aspect-ratio:auto;
    container-type:normal;display:flex;flex-direction:column;align-items:stretch;gap:1.35rem;padding:0 22px;}
  .well__stats,.well__body,.well__caption,.well__collage,
  .c-yoga,.c-kids,.c-lounge,.well .bar{position:static;}
  .well .bar{display:none;}

  /* heading (from caption) */
  .well__caption{order:1;left:auto;top:auto;width:auto;}
  .well__caption p{font-size:1.42rem;line-height:1.32;font-weight:700;}
  .well__caption p span{font-weight:700;}

  /* stats: 1 · 2 · 3 then 5 */
  .well__stats{order:2;left:auto;top:auto;width:100%;}
  .well__stats .divider{display:none;}   /* canvas-only dividers (position:absolute, never reset) overlaid the whole section on mobile — the 1·2·3 row reads fine without them */
  .well__stat .num{font-size:3.7rem;}
  .well__stat .lbl{font-size:.86rem;margin-top:.2rem;}
  .well__five{width:auto;margin:1rem auto 0;}
  .well__five .num{font-size:3.7rem;}
  .well__five .lbl5{font-size:.92rem;margin-top:.25rem;}
  .well__five .lbl5 b{font-size:.8rem;}

  /* list paragraph */
  .well__body{order:3;left:auto;top:auto;width:auto;font-size:1rem;line-height:1.6;}

  /* collage grid: yoga tall left, kids/lounge stacked right */
  .well__collage{display:grid;order:4;grid-template-columns:1.02fr .98fr;grid-auto-rows:116px;gap:.55rem;}
  .well__collage img{width:100%;height:100%;border-radius:10px;}
  .c-yoga{grid-row:span 2;height:100%;}
  .c-kids,.c-lounge{height:116px;}
}

/* ═══════════════════════ DESIGNER BIO — דניאל חסון (canvas, fits 1 viewport) ═══════════════════════ */
.bio{
  min-height:100svh;
  display:flex;align-items:center;justify-content:center;
  padding:2vh 0;background:var(--cream);overflow:hidden;
}
.bio__canvas{
  position:relative;
  aspect-ratio:2845/1440;
  width:min(96vw, calc(94svh * 2845 / 1440));
  container-type:size;
}
.bio__kicker,.bio__intro,.bio__title,.bio__body,.bio__photo,.bio__sign,.bio .bar{position:absolute;}

/* section title — top, centered (matches the site's section-title pattern, e.g. "המיקום") */
.bio__kicker{
  left:0;width:100%;top:5%;text-align:center;margin:0;
  color:#170d2b;font-family:'Almoni',sans-serif;font-weight:400;
  font-size:2.7cqw;letter-spacing:.01em;line-height:1;
}

/* text column — right edge at 56% (right:44%) */
.bio__intro{
  right:44.0%;top:14.9%;
  white-space:nowrap;text-align:right;
  color:#170d2b;font-weight:400;font-size:1.62cqw;line-height:1.3;margin:0;
  -webkit-text-stroke:.013em #170d2b;
}
.bio__title{
  right:44.0%;top:21.0%;width:52%;
  text-align:right;color:#170d2b;font-weight:400;
  font-size:min(2.42cqw,2.4rem);line-height:1.3;letter-spacing:.01em;margin:0;   /* capped at canonical section-title max */
  -webkit-text-stroke:.013em #170d2b;
}
.bio__body{
  right:37%;top:29%;width:49%;
  text-align:right;color:#170d2b;font-family:'Almoni',sans-serif;font-weight:400;
  font-size:1.76cqw;line-height:1.28;margin:0;   /* EXACT PDF: 27pt=1.76cqw */
}

/* portrait — right side, bleeds to edge, no frame/shadow (slightly smaller per request) */
.bio__photo{left:70.5%;top:18%;width:29.5%;height:80%;}   /* lowered + contain → full head/hair with clear headroom above */
.bio__photo img{width:100%;height:100%;object-fit:contain;object-position:center top;display:block;mix-blend-mode:multiply;}   /* contain → full head/hair shown, never cropped; white bg blends (cutout look) */

/* signature — below the paragraph, right edge aligned to the paragraph start (right:37%) */
.bio__sign{right:37%;top:60%;width:12%;}
.bio__sign img{width:100%;height:auto;display:block;}

/* accent bars */
.bio .bar{display:block;}
.bio .bar.gold{background:var(--gold);}
.bio .bar.navy{background:#170d2b;}
.bio .bar.blue{background:var(--blue-light);}
/* top-right cluster */
.bio .t-blue{left:87%;width:5%;top:7.6%;height:1.5%;}
.bio .t-gold{left:92%;width:4.7%;top:9%;height:1.5%;}   /* simple gold rect (was a distorted thin line + square) — matches PDF */
/* bottom-left cluster */
.bio .b-gold{left:11.9%;width:16.8%;top:78.1%;height:2.64%;}
.bio .b-navyL{left:3.48%;width:5.73%;top:81.6%;height:2.64%;}
.bio .b-navyR{left:31.8%;width:5.41%;top:81.0%;height:2.36%;}
.bio .b-blueR{left:36.5%;width:4.36%;top:83.3%;height:2.29%;}
.bio .b-blueL{left:6.5%;width:5.06%;top:88.6%;height:2.29%;}

/* ── #designer mobile: canvas → editorial profile (eyebrow → title → portrait → body → signature) ── */
@media (max-width:768px){
  .bio{min-height:auto;display:block;padding:3.4rem 0;}
  .bio__canvas{position:static;width:100%;max-width:none;height:auto;aspect-ratio:auto;
    container-type:normal;display:flex;flex-direction:column;align-items:stretch;gap:1.1rem;padding:0 22px;}
  .bio__intro,.bio__title,.bio__body,.bio__photo,.bio__sign,.bio .bar{position:static;}
  .bio .bar{display:none;}

  .bio__intro{order:1;right:auto;top:auto;width:auto;white-space:normal;
    font-size:.92rem;font-weight:600;line-height:1.4;letter-spacing:.01em;-webkit-text-stroke:0;}
  .bio__title{order:2;right:auto;top:auto;width:auto;font-size:1.46rem;font-weight:500;line-height:1.34;-webkit-text-stroke:0;margin:0;}
  .bio__title br{display:none;}
  .bio__photo{order:3;left:auto;top:auto;width:72%;max-width:296px;height:auto;aspect-ratio:3/4;
    margin:.35rem auto;align-self:center;border-radius:12px;overflow:hidden;box-shadow:0 20px 44px -24px rgba(23,13,43,.55);}
  .bio__photo img{border-radius:12px;}
  .bio__body{order:4;right:auto;top:auto;width:auto;font-size:.97rem;line-height:1.62;text-align:right;}
  .bio__sign{order:5;left:auto;top:auto;width:118px;align-self:flex-end;margin-top:.1rem;}
}

/* ═══════════════════════ LOCATION — accordion cards + wide map ═══════════════════════ */
.loc{
  min-height:100svh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2.6vh;
  padding:4vh 0;background:var(--cream);overflow:hidden;
}
/* title + cards keep their proportions via a width-matched inline-size container */
.loc__top{
  width:min(60vw, 980px);   /* widened to align edge-to-edge with the map below */
  container-type:inline-size;
}

/* title "המיקום" centered above the cards */
.loc__title{
  margin:0 0 1.35cqw;text-align:center;
  color:#000000;          /* EXACT PDF: section title "המיקום" is black */
  font-family:'Almoni','Heebo',sans-serif;
  font-weight:400;
  font-size:clamp(1.6rem,2.6vw,2.4rem);
  letter-spacing:.01em;
  line-height:1;
}
/* distance cards as one image (1:1 from PDF) */
.loc__cardsimg{width:100%;}
.loc__cardsimg img{width:100%;height:auto;display:block;}

/* row of 8 distance cards → skiper-style hover-expand (one card is always open) */
.loc__cards{
  display:flex;direction:rtl;gap:.7cqw;
  align-items:center;justify-content:center;
  width:100%;
}
.loc__card{
  position:relative;flex:0 0 auto;
  width:7.2cqw;height:27cqw;                /* collapsed strip; height fixed for every card */
  border:0;padding:0;margin:0;background:#e7e4df;
  border-radius:var(--radius-media);overflow:hidden;
  cursor:pointer;font:inherit;color:inherit;
  opacity:0;transform:translateY(22px);     /* entrance start state (revealed on scroll) */
  transition:width 1.05s cubic-bezier(.16,1,.3,1),
             box-shadow 1.05s cubic-bezier(.16,1,.3,1),
             opacity .7s ease,
             transform .7s cubic-bezier(.16,1,.3,1);
  will-change:width,transform;
  -webkit-tap-highlight-color:transparent;
}
.loc__cards.in .loc__card{opacity:1;transform:translateY(0);}   /* staggered reveal — delay set per card in JS */
.loc__card:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}
.loc__card.is-active{                       /* the one expanded card */
  width:31cqw;
  box-shadow:0 22px 52px -22px rgba(23,13,43,.55);
}
.loc__card .ph{position:absolute;inset:0;}
.loc__card .ph img{
  position:absolute;inset:0;
  width:100%;height:100%;object-fit:cover;display:block;
  transition:opacity .9s ease;
}
.loc__card .ph .w{opacity:0;}               /* wide layer */
.loc__card.is-active .ph .w{opacity:1;}     /* clean opacity crossfade vertical → wide on expand */
/* gradient + label live only on the active card */
.loc__card .grad{
  position:absolute;inset:0;display:block;
  background:linear-gradient(to top, rgba(23,13,43,.74) 0%, rgba(23,13,43,.24) 44%, transparent 70%);
  opacity:0;transition:opacity .8s ease;
}
.loc__card.is-active .grad{opacity:1;}
.loc__card .label{
  position:absolute;inset:auto 0 0 0;
  display:flex;flex-direction:column;align-items:flex-end;gap:.8cqw;
  padding:1.5cqw 1.6cqw 1.85cqw;text-align:right;pointer-events:none;
  opacity:0;transform:translateY(1cqw);
  transition:opacity .8s ease .08s, transform 1s cubic-bezier(.16,1,.3,1) .08s;
}
.loc__card.is-active .label{opacity:1;transform:none;}
.loc__card .tag{
  background:var(--gold);color:#170d2b;
  font-weight:800;font-size:1.46cqw;line-height:1;
  padding:.58cqw .76cqw;border-radius:.4cqw;
  white-space:nowrap;   /* EXACT PDF: flat tag, no shadow */
}
.loc__card .desc{
  color:#fff;font-weight:600;font-size:1.28cqw;line-height:1.3;
  max-width:26cqw;text-shadow:0 2px 12px rgba(23,13,43,.72);
}

/* wide accessibility map (header "מפת נגישות חיפה" baked into the image) */
.loc__map{
  width:min(60vw, 980px);
  border-radius:var(--radius-media);overflow:hidden;
  box-shadow:var(--shadow-media);
}
.loc__map img{
  width:100%;height:auto;display:block;
}

/* ── LOCATION MAP screens (separate full-screen scrolls) ── */
.locmap{
  min-height:100svh;display:flex;align-items:center;justify-content:center;
  background:var(--cream);padding:0;
}
.locmap img{
  display:block;width:100%;height:auto;   /* full-bleed, whole map visible, like the PDF */
}
/* mobile: maps collapse to their own (landscape) height and sit flush — no full-screen empty bands */
@media (max-width:768px){
  .locmap{min-height:auto;padding:0;display:block;}
  .locmap img{width:100%;height:auto;display:block;}
}
/* desktop: map 2 now a 16:9 image — full width like map 1 (fits the viewport, no bottom cut) */
@media (min-width:769px){ #location-map2 img{width:100%;} }

/* arrows are desktop-only (mobile keeps native swipe) */
.loc__nav{display:none;}

@keyframes locFanIn{ from{opacity:0;} to{opacity:1;} }   /* static: staggered FADE-in, no movement (per request) */
/* ── #location DESKTOP: row of 8 cards (cropped strip + tag + caption); HOVER opens the card to the full wide image ── */
@media (min-width:769px){
  .loc{justify-content:flex-start;padding:clamp(1.4rem,3vh,2.6rem) 0;gap:0;}
  .loc__top{width:85vw;max-width:1500px;container-type:normal;margin-inline:auto;flex:1 1 auto;display:flex;flex-direction:column;}   /* EXACT PDF: card band = 85% of page width; fills height so title sits at top, cards center */
  .loc__title{margin:0;}   /* title pinned to the top of the screen */
  .loc__cards{margin-block:auto;}   /* cards vertically centered in the remaining space */
  .loc__gallery{position:relative;width:100%;}
  .loc__cards{display:flex;direction:rtl;flex-wrap:nowrap;gap:0;width:100%;justify-content:center;align-items:flex-start;overflow:visible;height:auto;}   /* EXACT PDF: cards are flush, no gaps. height:auto so the box includes the captions → margin-block:auto centers the FULL block (was clipped to image height → captions hung at the section bottom) */
  .loc__card{
    flex:1 1 0;min-width:0;height:auto;position:relative;display:flex;flex-direction:column;
    background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;   /* flush — no card frame/shadow, no text clipping (part of the page, like the PDF) */
    margin:0;padding:0;cursor:pointer;text-align:right;
    transition:flex-grow 1.05s cubic-bezier(.22,1,.36,1);   /* slow, elegant easeOutQuint open/close */
    will-change:flex-grow;
  }
  /* fan-in reveal */
  .js .loc__gallery .loc__card{opacity:0;}
  .loc__cards.in .loc__card{animation:locFanIn .6s var(--e-pop) both;}
  .loc__cards.in .loc__card:nth-child(1){animation-delay:0s;}
  .loc__cards.in .loc__card:nth-child(2){animation-delay:.07s;}
  .loc__cards.in .loc__card:nth-child(3){animation-delay:.14s;}
  .loc__cards.in .loc__card:nth-child(4){animation-delay:.21s;}
  .loc__cards.in .loc__card:nth-child(5){animation-delay:.28s;}
  .loc__cards.in .loc__card:nth-child(6){animation-delay:.35s;}
  .loc__cards.in .loc__card:nth-child(7){animation-delay:.42s;}
  .loc__cards.in .loc__card:nth-child(8){animation-delay:.49s;}
  /* fixed-height image box: cropped vertical (.v) by default, full wide (.w) on hover */
  .loc__card .ph{position:relative;width:100%;height:clamp(300px,28.4vw,480px);flex:0 0 auto;overflow:hidden;border-radius:0;}   /* EXACT PDF aspect 1:2.67 at 85vw/8 card width */
  .loc__card .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .95s cubic-bezier(.22,1,.36,1);}   /* crossfade synced with the slow expand */
  .loc__card .ph .v{display:block;opacity:1;}
  .loc__card .ph .w{display:block;opacity:0;}
  .loc__card .grad{display:none;}
  .loc__card .label{display:block;flex:0 0 auto;height:clamp(120px,11.2vw,170px);overflow:hidden;padding:.6rem .12rem 0;text-align:center;   /* FIXED caption height → every card is a constant total height, so the row never reflows while a card expands on hover (kills the vertical jitter + text-hover flicker). centered under the image, like the PDF */
    position:static;opacity:1;transform:none;pointer-events:none;}
  .loc__card .tag{display:inline-block;margin:0 0 .5rem;background:#ddae44;color:#18003e;   /* EXACT PDF gold + navy text */
    font-family:'Almoni',sans-serif;font-weight:700;
    font-size:clamp(1rem,1.62vw,1.55rem);line-height:.7;padding:.1em .56em;border-radius:0;white-space:nowrap;}   /* EXACT PDF: big bold, flat sharp bar, tight */
  .loc__card:nth-child(2) .tag,.loc__card:nth-child(3) .tag,.loc__card:nth-child(5) .tag{background:#c2e2ef;}   /* EXACT PDF blue */
  .loc__card .desc{display:block;color:#18003e;font-family:'Almoni',sans-serif;font-weight:400;text-shadow:none;   /* AlmoniDLAAA regular — exact PDF weight, flat (no shadow) like the PDF */
    font-size:clamp(1rem,1.55vw,1.45rem);line-height:1.28;}   /* EXACT PDF size (was 1.6x too small) */
  /* HOVER → widen only (SAME height, stays in place) and reveal the full wide image */
  .loc__card:hover{flex-grow:12;z-index:3;}
  .loc__card:hover .ph .v{opacity:0;}
  .loc__card:hover .ph .w{opacity:1;object-fit:cover;}
  .loc__cards:hover .loc__card:not(:hover) .label{opacity:0;transition:opacity .55s ease;}   /* hide neighbours' captions while one is open */
  /* HOVER caption → stays BELOW the image, but shifts to the right (indented) instead of centered */
  .loc__card:hover .label{text-align:right;padding-right:1em;transition:padding .28s ease;}
  .loc__nav{display:none;}
}

/* ── #location mobile: editorial "proximity index" — full-width vertical list (no side-scroll) ── */
@media (max-width:768px){
  .loc{min-height:auto;display:block;gap:0;padding:3rem 0 1.4rem;}
  .loc__top{width:100%;container-type:normal;}
  .loc__title{font-size:1.7rem;font-weight:400;color:#170d2b;text-align:center;letter-spacing:.01em;margin:0 0 1.5rem;}
  .loc__title::after{content:"";display:block;width:46px;height:2px;background:var(--gold);margin:.6rem auto 0;border-radius:2px;}

  /* the list */
  .loc__cards{display:flex;flex-direction:column;direction:rtl;gap:0;width:auto;
    overflow:visible;padding:0 22px;scroll-snap-type:none;}
  .loc__cards::-webkit-scrollbar{display:none;}

  /* each place = one editorial row: [thumb · right] [name · middle] [gold time · left] */
  .loc__card{display:flex;flex-direction:row;align-items:center;gap:15px;
    width:100%;max-width:none;height:auto;aspect-ratio:auto;
    padding:13px 2px;margin:0;border-radius:0;background:transparent;box-shadow:none;
    opacity:1;transform:none;will-change:auto;cursor:default;transition:none;
    border-bottom:1px solid rgba(23,13,43,.13);}
  .loc__card:last-child{border-bottom:0;}
  .loc__cards.in .loc__card{opacity:1;transform:none;}
  .loc__card.is-active{width:100%;box-shadow:none;}

  /* thumbnail — right (leading), 16:9 landscape using the WIDE crop */
  .loc__card .ph{position:relative;inset:auto;order:0;flex:0 0 auto;
    width:112px;aspect-ratio:16/9;border-radius:12px;overflow:hidden;
    box-shadow:0 8px 20px -10px rgba(23,13,43,.5);}
  .loc__card .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
  .loc__card .ph .v{display:none;}
  .loc__card .ph .w{display:block;opacity:1;}
  .loc__card .grad{display:none;}

  /* text block fills middle→left */
  .loc__card .label{position:relative;inset:auto;order:1;flex:1 1 auto;
    display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;
    padding:0;text-align:right;opacity:1;transform:none;pointer-events:auto;}
  /* place name — right of the block, next to the thumb */
  .loc__card .desc{order:0;color:#18003e;font-family:'Almoni','Heebo',sans-serif;
    font-weight:500;font-size:1.04rem;line-height:1.24;text-shadow:none;max-width:none;flex:1 1 auto;}
  /* gold time chip — far left = the row's "value"; blue for drive (cards 4–7) */
  .loc__card .tag{order:1;flex:0 0 auto;background:var(--gold);color:#170d2b;
    font-weight:700;font-size:.86rem;line-height:1;white-space:nowrap;padding:.46rem .72rem;border-radius:8px;}
  .loc__card:nth-child(n+4):nth-child(-n+7) .tag{background:#c2e2ef;}

  .loc__map{width:calc(100% - 44px);margin:0 22px;border-radius:14px;overflow:hidden;}
}

/* ═══════════════════════ ENVIRONMENT (canvas — 1024×1130pt band) ═══════════════════════ */
.env{
  display:flex;flex-direction:column;align-items:center;
  background:var(--cream);overflow:hidden;
  padding:clamp(2.5rem,3.5vw,3rem) 0;
}
/* centered content column (below the banner) */
.env__canvas{
  width:min(92vw,1080px);
  display:flex;flex-direction:column;gap:clamp(.9rem,1.6vw,1rem);
}

/* small "הסביבה" label centered above banner */
.env__label{
  margin:0 0 clamp(.8rem,1.6vw,1rem);
  text-align:center;color:#170d2b;
  font-family:'Almoni','Heebo',sans-serif;
  font-weight:400;
  font-size:var(--fs-section-title);
  letter-spacing:.01em;
  line-height:1;
}

/* full-bleed video banner — 3:1 (~1500×500), headline baked in */
.env__banner{
  width:100vw;margin:0 0 clamp(.7rem,1.5vw,1.2rem);
}
.env__banner img,.env__banner video{
  width:100%;height:auto;
  display:block;
}
/* desktop: env is TWO full-viewport slides —
   (1) #environment: heading + BIG banner + intro paragraph
   (2) #env-life: BIG photo collage + closing paragraph
   Mobile (max-width:768) keeps both as a continuous stack (tuned below). */
@media (min-width:769px){
  .env{min-height:100svh;justify-content:center;}

  /* part 1 */
  .env--intro{gap:clamp(.3rem,.8vh,.7rem);padding:clamp(.6vh,1.4vh,2vh) 0;}
  .env--intro .env__label{margin:0;}
  /* contained banner ~90% — leaves room for the intro paragraph on one screen */
  .env--intro .env__banner{width:72%;max-width:1040px;margin:0 auto;display:block;}   /* −20% (per request) */
  .env--intro .env__banner video,.env--intro .env__banner img{
    width:100%;height:auto;
    border-radius:0;display:block;}
  .env--intro .env__p1{max-width:min(82vw,1160px);margin:clamp(.2rem,.6vh,.5rem) 0 0;text-align:center;
    font-size:clamp(1.3rem,1.63vw,1.52rem);line-height:1.5;}

  /* part 2 — EXACT PDF: collage spans 7.1%..93.3% of page; cols right(big img) 41.4% · center(blue panel) 19% · left(2 stacked) 22.5% */
  .env--life{gap:clamp(.9rem,2.2vh,1.7rem);padding:clamp(2vh,4vh,5vh) 0;}
  .env--life .env__collage{width:86.2vw;max-width:1240px;margin:0 auto;
    grid-template-columns:41.4fr 19fr 22.5fr;   /* EXACT PDF: right(img) 41.4% · center(panel) 19% · left(stack) 22.5% */
    grid-template-rows:2.21fr 1.82fr;height:clamp(300px,31.25vw,450px);
    column-gap:1.65vw;row-gap:.25vw;}
  .env--life .env__words{font-size:3vw;font-weight:400;line-height:0.92;
    background:#c2e2ef;text-align:center;align-items:center;justify-content:center;padding:0 1vw;}   /* smaller + centered + tighter line-spacing (per client) */
  /* decorative accent bars — EXACT PDF positions (collage-relative) */
  .env--life .env__collage{position:relative;overflow:visible;}
  .env--life .env__bar{display:block;position:absolute;z-index:3;height:.55vw;border-radius:0;}
  .env--life .eb1{left:86.2%;width:4.3%;top:5%;background:#c2e2ef;}      /* blue, top-right */
  .env--life .eb2{left:90.5%;width:4.4%;top:8.5%;background:#ddae44;}    /* gold, stepped */
  .env--life .eb3{left:92.2%;width:4.3%;top:18.2%;background:#18003e;}   /* navy */
  .env--life .eb4{left:96.5%;width:4.3%;top:21.5%;background:#18003e;}   /* navy, stepped */
  .env--life .eb5{left:22.2%;width:4.6%;top:63%;background:#ddae44;}     /* gold, lower-left */
  .env--life .env__p2{max-width:min(94vw,1340px);margin:clamp(1rem,2.4vh,1.8rem) 0 0;text-align:center;
    font-size:clamp(1.3rem,1.63vw,1.52rem);line-height:1.55;}   /* widened so 'החוף והטיילת' pull up onto line 2 (no orphan last line) — per client */
}

/* body paragraph 1 */
.env__p1{
  text-align:center;color:#170d2b;
  font-weight:400;margin:0;
  font-size:var(--fs-body);line-height:1.6;
}

/* photo collage — horizontal floating cards (RTL: big photo right · words center · stack left) */
.env__collage{
  display:grid;
  grid-template-columns:1.2fr 1.6fr 1.2fr;
  grid-template-rows:repeat(2,clamp(140px,16vw,200px));
  gap:clamp(.6rem,1.1vw,1rem);
}
.env__photoC{grid-column:1;grid-row:1 / -1;}   /* rightmost — big dog, full height */
.env__photoA{grid-column:3;grid-row:1;}         /* left top — family */
.env__photoB{grid-column:3;grid-row:2;}         /* left bottom — small dog */
.env__photoA,.env__photoB,.env__photoC{
  border-radius:0;overflow:hidden;
  box-shadow:none;
}   /* no hover lift/shadow — static like the PDF */
.env__photoA img,.env__photoB img,.env__photoC img{
  width:100%;height:100%;object-fit:cover;display:block;
}

.env__box{display:none;}
.env__bar{display:none;}   /* decorative accent bars — positioned on desktop only */

/* "בת גלים. בית. שכונה. קהילה." tagline — plain text, no box */
.env__words{
  grid-column:2;grid-row:1 / -1;
  margin:0;text-align:right;color:#18003e;
  display:flex;flex-direction:column;justify-content:center;
  font-weight:700;
  background:transparent;border-radius:0;
  padding:0 clamp(.5rem,1vw,.8rem);
  font-size:clamp(2.8rem,7.8vw,9.5rem);line-height:1.0;
  box-shadow:none;
}

/* body paragraph 2 */
.env__p2{
  text-align:center;color:#170d2b;
  font-weight:400;margin:0;
  font-size:var(--fs-body);line-height:1.6;
}

/* ── #environment mobile tweaks ── */
@media (max-width:768px){
  .env__label{font-weight:600;}
  .env--life .env__label::after{content:"";display:block;width:46px;height:2px;background:var(--gold);margin:.55rem auto 0;border-radius:2px;}
  /* render the baked-in illustration at its natural aspect — never stretch/squish (was forced 1280/514 → distortion) */
  .env__banner video,.env__banner img{aspect-ratio:auto;height:auto;max-height:none;object-fit:contain;}
  .env__banner{margin-bottom:1.8rem;}   /* keep original phone gap (desktop-only change above) */
  .env__p1,.env__p2{text-align:center;font-size:.97rem;}
  /* collapse horizontal cards back to vertical stack on phones */
  .env__collage{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:clamp(.55rem,1.6vw,.85rem);}
  .env__words{grid-column:1 / -1;grid-row:auto;box-shadow:none;margin-bottom:clamp(.3rem,1.4vw,.7rem);text-align:center;align-items:center;background:#c2e2ef;padding:clamp(.9rem,3.5vw,1.5rem) clamp(.8rem,3vw,1.2rem);}
  .env__photoC{grid-column:1 / -1;grid-row:auto;height:172px;box-shadow:none;}
  .env__photoA{grid-column:auto;grid-row:auto;height:118px;box-shadow:none;}
  .env__photoB{grid-column:auto;grid-row:auto;height:118px;box-shadow:none;}
  /* the two env sections flow continuously on mobile (join ≈ original 1rem gap) */
  .env--intro{padding-bottom:.5rem;}
  .env--life{padding-top:.5rem;}
  .env--life .env__collage{margin-bottom:1rem;}
}

/* ═══════════════════════ GALLERY — coverflow carousel ═══════════════════════ */
.gallery{
  display:flex;flex-direction:column;align-items:center;
  background:var(--cream);overflow:hidden;
  padding:clamp(3rem,4.5vw,4.5rem) 0;
}
.gallery__head{text-align:center;margin:0 0 clamp(1.5rem,2.8vw,2.4rem);}
.gallery__title{
  margin:0;color:#170d2b;
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:clamp(1.6rem,2.6vw,2.4rem);line-height:1;letter-spacing:.01em;
}
.gallery__rule{display:block;width:clamp(44px,4vw,56px);height:2px;background:#170d2b;margin:.75rem auto 0;}

/* coverflow stage */
.cgal{position:relative;width:min(100vw,1640px);}
.cgal__stage{
  position:relative;height:clamp(440px,52vw,760px);
  perspective:2000px;transform-style:preserve-3d;
}
.cgal__slide{
  position:absolute;top:50%;left:50%;margin:0;
  width:min(80vw,1180px);aspect-ratio:16/10;
  border-radius:22px;overflow:hidden;
  transform:translate(-50%,-50%);
  transition:transform .7s cubic-bezier(.16,1,.3,1),opacity .7s cubic-bezier(.16,1,.3,1),box-shadow .7s cubic-bezier(.16,1,.3,1);
  box-shadow:0 10px 28px rgba(20,20,61,.16);
  will-change:transform,opacity;
  cursor:pointer;-webkit-user-select:none;user-select:none;
}
.cgal__slide img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;}
/* positions assigned by JS via data-pos */
.cgal__slide[data-pos="0"]{
  transform:translate(-50%,-50%) scale(1);opacity:1;z-index:5;cursor:default;
  box-shadow:0 22px 60px rgba(20,20,61,.30),0 6px 18px rgba(20,20,61,.18);
}
.cgal__slide[data-pos="r1"]{transform:translate(-50%,-50%) translateX(60%) translateZ(-340px) scale(.78);opacity:.3;z-index:4;}
.cgal__slide[data-pos="l1"]{transform:translate(-50%,-50%) translateX(-60%) translateZ(-340px) scale(.78);opacity:.3;z-index:4;}
.cgal__slide[data-pos="r2"]{transform:translate(-50%,-50%) translateX(95%) translateZ(-560px) scale(.66);opacity:0;z-index:3;}
.cgal__slide[data-pos="l2"]{transform:translate(-50%,-50%) translateX(-95%) translateZ(-560px) scale(.66);opacity:0;z-index:3;}
.cgal__slide[data-pos="hide"]{transform:translate(-50%,-50%) translateZ(-650px) scale(.6);opacity:0;z-index:1;pointer-events:none;}

/* side navigation arrows — glass pills */
.cgal__nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:10;
  display:flex;align-items:center;justify-content:center;
  width:clamp(44px,3.4vw,54px);height:clamp(44px,3.4vw,54px);
  border:1px solid rgba(27,26,78,.12);border-radius:50%;
  background:rgba(255,255,255,.78);
  -webkit-backdrop-filter:blur(8px) saturate(1.1);backdrop-filter:blur(8px) saturate(1.1);
  color:var(--navy);cursor:pointer;
  box-shadow:0 6px 20px rgba(20,20,61,.16),0 2px 6px rgba(20,20,61,.10);
  transition:transform .35s cubic-bezier(.16,1,.3,1),background .35s ease,color .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.cgal__nav svg{width:42%;height:42%;display:block;}
.cgal__nav--prev{left:clamp(6px,1.6vw,26px);}
.cgal__nav--next{right:clamp(6px,1.6vw,26px);}
.cgal__nav:hover{
  background:var(--navy);color:#fff;border-color:var(--navy);
  transform:translateY(-50%) scale(1.07);
  box-shadow:0 12px 30px rgba(20,20,61,.28),0 4px 10px rgba(20,20,61,.18);
}
.cgal__nav:active{transform:translateY(-50%) scale(.97);}
.cgal__nav:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}

/* dots */
.gallery__dots{
  display:flex;align-items:center;justify-content:center;gap:8px;
  margin:clamp(1.3rem,2.4vw,2rem) auto 0;
}
.gallery__dot{
  display:block;height:7px;width:7px;border:0;padding:0;
  -webkit-appearance:none;appearance:none;
  border-radius:6px;background:rgba(212,164,55,.32);cursor:pointer;
  transition:width .4s cubic-bezier(.16,1,.3,1),background .4s ease;
}
.gallery__dot.is-active{background:var(--gold);width:30px;}
.gallery__dot:hover:not(.is-active){background:rgba(212,164,55,.6);}

/* mobile: single full-bleed slide, swipeable */
@media (max-width:768px){
  .gallery{padding:3rem 0;}
  .gallery__title{font-size:1.5rem;font-weight:500;}
  .gallery__rule{width:34px;margin-top:.6rem;}
  .cgal{width:100%;}
  .cgal__stage{height:52svh;max-height:500px;perspective:none;}
  .cgal__slide{width:88vw;aspect-ratio:auto;height:100%;border-radius:16px;}
  .cgal__slide[data-pos="0"]{box-shadow:0 12px 30px rgba(20,20,61,.20);}
  .cgal__slide[data-pos="r1"]{transform:translate(-50%,-50%) translateX(104%) scale(.94);opacity:0;}
  .cgal__slide[data-pos="l1"]{transform:translate(-50%,-50%) translateX(-104%) scale(.94);opacity:0;}
  .cgal__slide[data-pos="r2"],.cgal__slide[data-pos="l2"]{opacity:0;}
  .cgal__nav{display:flex;width:42px;height:42px;}   /* arrows on mobile too (+ swipe + dots) */
  .cgal__nav--prev{left:8px;}
  .cgal__nav--next{right:8px;}
  .gallery__dots{margin-top:1.2rem;gap:7px;}
}

/* ═══════════════════════ INTERIOR GALLERY — גלריית פנים (boho-style horizontal parallax) ═══════════════════════ */
.igal{
  position:relative;width:100%;min-height:100svh;
  background:var(--cream);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:clamp(3rem,4.5vw,4.5rem) 0;
  overflow:hidden;
}
.igal__head{text-align:center;margin:0 0 clamp(1.6rem,3vw,2.6rem);}
.igal__stage{
  position:relative;width:100%;height:clamp(360px,42vw,560px);
  overflow:hidden;cursor:grab;
  -webkit-user-select:none;user-select:none;touch-action:pan-y;
}
.igal__stage.dragging{cursor:grabbing;}
/* flex track — forced LTR so transform math stays predictable on this RTL page */
.igal__track{
  display:flex;direction:ltr;gap:clamp(1rem,2vw,2rem);height:100%;align-items:center;
  padding:0 6vw;will-change:transform;
}
/* each slide carries its image's exact aspect-ratio (inline) → card width is defined even
   before the image loads, and the image fills it exactly with no excess background */
.igal__slide{
  flex-shrink:0;height:84%;width:auto;position:relative;overflow:hidden;margin:0;
  border-radius:14px;cursor:zoom-in;
  box-shadow:0 22px 50px -18px rgba(20,20,61,.34),0 6px 16px rgba(20,20,61,.14);
}
.igal__slide img{
  display:block;width:100%;height:100%;max-width:none;
  object-fit:cover;pointer-events:none;
}
.igal__nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:6;
  display:flex;align-items:center;justify-content:center;
  width:clamp(44px,3.4vw,56px);height:clamp(44px,3.4vw,56px);border-radius:50%;
  cursor:pointer;color:var(--navy);
  border:1px solid rgba(27,26,78,.12);background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:blur(8px) saturate(1.1);backdrop-filter:blur(8px) saturate(1.1);
  box-shadow:0 6px 20px rgba(20,20,61,.16),0 2px 6px rgba(20,20,61,.10);
  transition:transform .35s cubic-bezier(.16,1,.3,1),background .35s ease,color .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.igal__nav svg{width:40%;height:40%;display:block;}
.igal__nav--prev{left:clamp(8px,1.6vw,26px);}
.igal__nav--next{right:clamp(8px,1.6vw,26px);}
.igal__nav:hover{background:var(--navy);color:#fff;border-color:var(--navy);transform:translateY(-50%) scale(1.07);box-shadow:0 12px 30px rgba(20,20,61,.28),0 4px 10px rgba(20,20,61,.18);}
.igal__nav:active{transform:translateY(-50%) scale(.97);}
.igal__nav:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}
@media (max-width:768px){
  .igal{min-height:auto;padding:1.8rem 0;}   /* was min-height:100svh (base) → centered content left a huge empty gap above/below; now the section hugs its content */
  .igal__stage{height:34svh;max-height:330px;}   /* smaller stage → renders no longer overflow the screen sides */
  .igal__track{padding:0 16px;gap:1rem;}
  .igal__slide{height:66%;border-radius:12px;}   /* even the widest render now fits within the screen (with side margin) — no side-cropping */
  .igal__nav{width:44px;height:44px;}
  .igal__nav--prev{left:8px;}
  .igal__nav--next{right:8px;}
}

/* ═══════════════════════ DWELLINGS — הדירות (flow: full-bleed banner + tilt cards + spec banner) ═══════════════════════ */
.dw{
  background:var(--cream);
  padding:var(--section-pad) 0;
  overflow:hidden;
}
.dw__canvas{
  display:flex;flex-direction:column;
  width:100%;
  gap:clamp(1.7rem,2.8vw,2.4rem);
}
/* dwellings screen 1 = label + banner + cards, fills one full viewport so the tech-spec
   sits on its own screen (no peek from below) */
.dw__top{display:flex;flex-direction:column;gap:clamp(1.7rem,2.8vw,2.4rem);}
@media (min-width:769px){
  .dw__top{min-height:calc(100svh - var(--section-pad));justify-content:flex-start;gap:clamp(.7rem,1.6vw,1.3rem);}   /* top-align (was center) → taller sofa banner no longer pushes the 2nd card row below the fold */
}

/* small "הדירות" label centered top */
.dw__label{
  text-align:center;margin:0;
  color:#170d2b;
  font-family:'Almoni','Heebo',sans-serif;
  font-weight:400;
  font-size:clamp(1.6rem,2.6vw,2.4rem);
  letter-spacing:.01em;
  line-height:1;
}

/* full-bleed banner photo (orange beach cushions on teal) with overlay */
.dw__hero{
  position:relative;
  width:min(86vw, 1280px);
  margin-inline:auto;       /* contained with side margins (per request — smaller than full-bleed, same aspect) */
  aspect-ratio:5000/1465;   /* matches the sofa banner's natural aspect → no squeeze */
  overflow:hidden;
  border-radius:14px;
}
.dw__banner{
  position:absolute;inset:0;
  overflow:hidden;
}
.dw__banner img{
  width:100%;height:100%;
  object-fit:cover;display:block;   /* box matches the image's natural aspect → no squeeze, no crop */
}
.dw__hero::after{content:none;}   /* baked-in banner image is self-contained — no overlay gradient */

/* "OPPORTUNITY" small caps over banner, left */
.dw__opp{
  position:absolute;z-index:2;
  left:clamp(24px,7vw,116px);
  bottom:clamp(86px,11.6vw,168px);
  margin:0;
  font-family:'Bronova',serif;font-weight:400;
  color:#fff;
  font-size:clamp(.62rem,.95vw,.9rem);line-height:1;
  letter-spacing:.2em;
}

/* "For A / DESIGN / Style" three lines over banner */
.dw__title{
  position:absolute;z-index:2;
  left:clamp(22px,7vw,112px);
  bottom:clamp(18px,2.2vw,32px);
  margin:0;
  font-family:'Bronova',serif;font-weight:400;
  color:#fff;
  font-size:clamp(1.5rem,2.7vw,2.4rem);line-height:.86;   /* smaller / more elegant per client */
  letter-spacing:.01em;
  direction:ltr;text-align:left;
}
.dw__title .style-line{
  display:inline-block;vertical-align:middle;
  width:clamp(18px,1.9vw,30px);height:2px;
  background:#fff;
  margin:0 .5ch .5ch 0;
}
/* OPPORTUNITY / For A DESIGN Style + accent bars are baked into the banner image → hide HTML overlays */
.dw__opp,.dw__title{display:none;}

/* 2 rows × 5 clickable tilt cards → open floor-plan modal */
.dw__cards{
  width:100%;max-width:1200px;
  margin:0 auto;
  padding:0 clamp(20px,3vw,40px);
  display:flex;flex-direction:column;
  gap:clamp(12px,1.2vw,18px);
}
.dw__row{
  display:flex;direction:rtl;
  gap:clamp(12px,1.2vw,18px);
}
.dw__card{
  flex:1 1 0;min-width:0;
  position:relative;
  min-height:clamp(82px,7vw,108px);
  background:#170d2b;
  color:var(--gold);
  border-radius:clamp(9px,.8vw,13px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  font-family:'Almoni','Heebo',sans-serif;
  font-weight:700;
  font-size:clamp(1.33rem,2.23vw,2.03rem);   /* PDF 32.6pt, reduced 30% per client */
  line-height:1.1;
  white-space:nowrap;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  box-shadow:0 10px 24px -16px rgba(23,13,43,.55);
  transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(var(--s,1));
  transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .34s cubic-bezier(.16,1,.3,1);
  will-change:transform;
}
.dw__card-t{display:block;position:relative;z-index:1;
  transition:transform .34s cubic-bezier(.16,1,.3,1);}
.dw__card--mini .dw__card-t:first-child{font-size:1.75vw;}   /* "מיני פנטהאוז" longest label — kept proportionally smaller (−30% with the rest) */
.dw__card::before{ /* glare sweep on hover (React Bits GlareHover, ported to vanilla CSS) */
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(-30deg,
    hsla(0,0%,0%,0) 60%,
    rgba(255,255,255,.22) 70%,
    hsla(0,0%,0%,0),
    hsla(0,0%,0%,0) 100%);
  background-size:275% 275%,100% 100%;
  background-repeat:no-repeat;
  background-position:-100% -100%,0 0;
  transition:background-position .9s ease;
}
.dw__card:hover::before,.dw__card:focus-visible::before{
  background-position:100% 100%,0 0;
}
.dw__card::after{ /* blue mini accent bar */
  content:"";position:absolute;left:50%;
  bottom:clamp(8px,.8vw,12px);
  transform:translateX(-50%);
  width:clamp(24px,2.6vw,38px);height:3px;   /* bigger horizontal accent line (PDF ≈2.6% page width) */
  background:var(--blue-light);
  transition:opacity .3s ease;
}
.dw__card-cta{ /* "תוכנית «" hover hint */
  position:absolute;left:0;right:0;
  bottom:clamp(7px,.7vw,11px);
  font-size:clamp(.6rem,.72vw,.74rem);
  font-weight:500;letter-spacing:.04em;
  color:var(--gold);
  opacity:0;transform:translateY(5px);
  transition:opacity .3s ease,transform .34s cubic-bezier(.16,1,.3,1);
  pointer-events:none;
}
.dw__card:hover,.dw__card:focus-visible{
  outline:none;
  box-shadow:0 22px 40px -20px rgba(23,13,43,.6),0 0 0 1px rgba(212,164,55,.5) inset;
}
.dw__card:focus-visible{box-shadow:0 22px 40px -20px rgba(23,13,43,.6),0 0 0 2px var(--gold) inset;}
/* square plan cards on desktop — 2 rows of 5 (per client; was 4/3/3) — unwrap the row wrappers into one 5-col grid */
@media (min-width:769px){
  .dw__cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(14px,1.53vw,24px);max-width:952px;}   /* cards −15% (per client): max-width 1120→952, gap 1.8→1.53vw → both rows fit above the fold without cropping the (taller) sofa banner */
  .dw__row{display:contents;}
  .dw__card{flex:none;width:auto;aspect-ratio:1.5;min-height:0;font-size:clamp(1.13rem,1.9vw,1.73rem);}   /* text −15% to stay proportional inside the smaller cards (was clamp(1.33rem,2.23vw,2.03rem)) */
  .dw__card--mini .dw__card-t:first-child{font-size:1.49vw;}   /* "מיני פנטהאוז" mini label −15% (was 1.75vw) */
}

/* full-bleed technical-spec banner (aqua, enlarged paragraph text) */
.dw__specs{
  position:relative;
  width:100%;
  background:#d9eff7;   /* תכלת בהיר (לבקשת הלקוח) */
  padding:clamp(1rem,2vw,1.7rem) 0;
  margin-top:clamp(.4rem,1vw,1rem);
}
/* legal disclaimer — bottom-LEFT paragraph (one column wide, under "גימורים"), not full-bleed; font ~30% smaller than body */
.dw__disclaimer{
  position:absolute;bottom:1.8svh;left:9.5vw;width:26vw;margin:0;
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:clamp(.66rem,.72vw,.78rem);line-height:1.5;
  color:rgba(27,26,78,.6);text-align:right;
}
@media (max-width:768px){
  .dw__disclaimer{position:static;left:auto;right:auto;margin:1rem 0 .4rem;font-size:.62rem;text-align:right;display:none;}   /* show only when the accordion is open, below all the spec text */
  .dw__specs.is-open .dw__disclaimer{display:block;}
}
.dw__specs-title{
  width:80.9vw;margin:0 auto clamp(.8rem,1.4vw,1.3rem);   /* same band as the grid → title right-edge aligns with the columns */
  padding:0;
  text-align:right;
  color:#ddae44;                            /* EXACT PDF: gold #ddae44 */
  font-family:'Almoni','Heebo',sans-serif;
  font-weight:400;                          /* EXACT PDF: AlmoniDLAAA Regular */
  font-size:2.669vw;                        /* EXACT PDF: 27.3pt = 2.669% page width */
  line-height:1;letter-spacing:.01em;
}
/* decorative brand bars — exact crop from the PDF, bleeding off the LEFT page edge like the mockup */
.dw__specs-deco{
  position:absolute;top:clamp(1.6rem,3vw,2.8rem);left:0;
  width:clamp(220px,32.5vw,480px);height:auto;pointer-events:none;z-index:1;
}
@media (max-width:768px){ .dw__specs-deco{display:none;} }
.dw__specs-grid{
  width:80.9vw;margin:0 auto;
  padding:0;
  display:grid;
  grid-template-columns:27.4vw 24.6vw 26.4vw;   /* EXACT PDF column widths (RTL: במתחם · בדירה · גימורים) — drives matching line-wrap per bullet */
  direction:rtl;
  column-gap:1.25vw;
  align-items:start;
}
/* nudge the rightmost column (במתחם) + the section title rightward together (per client) — keeps them aligned, widens the gap to the middle column */
@media (min-width:769px){
  .dw__specs-title{position:relative;left:1.6vw;}                 /* title is a SplitText el (transform locked) → shift via offset */
  .dw__specs-grid>.dw__col:first-child{transform:translateX(1.6vw)!important;}
}
.dw__col h4{
  margin:0 0 .6rem 0;
  color:#000000;                            /* EXACT PDF: black */
  font-family:'Almoni','Heebo',sans-serif;
  font-weight:700;                          /* EXACT PDF: AlmoniDLAAA-Bold */
  font-size:1.415vw;                        /* EXACT PDF: 14.5pt = 1.415% page width */
  line-height:1.1;
}
.dw__col ul{
  margin:0;padding:0;list-style:none;
  color:#000000;                            /* EXACT PDF: black */
  font-family:'Almoni','Heebo',sans-serif;
  font-weight:400;                          /* EXACT PDF: AlmoniDLAAA Regular */
  font-size:1.415vw;                        /* EXACT PDF: 14.5pt = 1.415% page width */
  line-height:1.32;                         /* EXACT PDF: within a wrapped bullet, lines are tight (19.1/14.5≈1.32) */
}
.dw__col li{
  padding-right:.35rem;                     /* minimal text inset — bullet hangs in the gutter so text uses ~full column width (matches PDF wrap) */
  position:relative;
  margin:0;                                 /* EXACT PDF: dense list — every line (wrapped or new bullet) is a uniform line-height apart, NO extra gap */
}
.dw__col li::before{
  content:"•";
  position:absolute;
  right:-.75rem;top:0;
  color:#000000;   /* EXACT PDF: black bullets */
  font-size:1.1em;line-height:1.4;
}
/* "שוט אשפה..." fills the full column on ONE line in the PDF — keep it single-line (tiny overflow into the gutter, like the PDF) */
@media (min-width:769px){ .dw__col:first-child ul:last-of-type li:last-child{white-space:nowrap;} }

/* ── uniform section-heading pattern (desktop): canonical centered gold underline under every section title ── */
@media (min-width:769px){
  .bio__kicker::after,.loc__title::after,.env__label::after,.dw__label::after{
    content:"";display:block;width:clamp(44px,4vw,56px);height:2px;
    background:var(--gold);margin:.75rem auto 0;
  }
  .loc__title::after{background:#18003e;width:clamp(50px,4.3vw,62px);}   /* EXACT PDF: navy underline (not gold), ~61px */
}
.dw__col h4 + ul{margin-bottom:1rem;}
.dw__col .sub{margin-top:1.1rem;}

/* floor-plan modal (desktop) */
.dwm{
  position:fixed;inset:0;z-index:10050;
  display:flex;align-items:center;justify-content:center;
  padding:clamp(16px,3vw,48px);
}
.dwm[hidden]{display:none;}
.dwm__scrim{
  position:absolute;inset:0;
  background:rgba(15,15,46,.78);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  opacity:0;transition:opacity .3s ease;
}
.dwm.is-open .dwm__scrim{opacity:1;}
.dwm__box{
  position:relative;margin:0;
  width:auto;max-width:min(1180px,94vw);
  background:var(--cream);border-radius:16px;overflow:hidden;
  box-shadow:0 40px 90px -30px rgba(15,15,46,.7);
  opacity:0;transform:translateY(14px) scale(.97);
  transition:opacity .35s ease,transform .45s cubic-bezier(.16,1,.3,1);
}
.dwm.is-open .dwm__box{opacity:1;transform:none;}
.dwm__vp{position:relative;overflow:hidden;touch-action:none;cursor:grab;
  display:flex;align-items:center;justify-content:center;max-height:78vh;background:#fff;}
.dwm__img{
  display:block;
  max-width:100%;max-height:78vh;width:auto;height:auto;
  background:#fff;
  transform-origin:center center;
  transform:translate(var(--dx,0px),var(--dy,0px)) scale(var(--dz,1));
  will-change:transform;user-select:none;-webkit-user-drag:none;
}
.dwm__zoom{position:absolute;right:10px;bottom:10px;z-index:3;display:flex;flex-direction:column;gap:8px;}
.dwm__zbtn{width:42px;height:42px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(23,13,43,.86);color:#fff;font:300 1.55rem/1 'Almoni','Heebo',sans-serif;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.35);transition:background .2s,transform .2s;}
.dwm__zbtn:hover{background:#170d2b;}
.dwm__zbtn:active{transform:scale(.94);}
.dwm__cap{
  margin:0;padding:.85rem 1.2rem;text-align:center;
  background:#170d2b;color:var(--gold);
  font-family:'Almoni','Heebo',sans-serif;font-weight:700;
  font-size:clamp(1rem,1.3vw,1.18rem);letter-spacing:.02em;
}
.dwm__close{
  position:absolute;top:12px;left:12px;z-index:2;
  width:42px;height:42px;border:0;border-radius:50%;
  background:rgba(23,13,43,.55);color:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  transition:background .3s ease,transform .3s cubic-bezier(.16,1,.3,1);
}
.dwm__close:hover{background:#170d2b;transform:rotate(90deg);}
.dwm__close:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}
.dwm__close svg{width:20px;height:20px;}
/* ── gallery lightbox (click a render → open big) — shared by both .igal galleries ── */
.iglb{position:fixed;inset:0;z-index:10060;display:flex;align-items:center;justify-content:center;
  background:rgba(13,11,30,.93);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  opacity:0;transition:opacity .35s ease;padding:max(16px,4vw);}
.iglb[hidden]{display:none;}
.iglb.is-open{opacity:1;}
.iglb__scrim{position:absolute;inset:0;cursor:zoom-out;}
.iglb__img{position:relative;z-index:1;max-width:92vw;max-height:86svh;width:auto;height:auto;
  object-fit:contain;border-radius:12px;box-shadow:0 30px 90px -20px rgba(0,0,0,.6);
  transform:scale(.95);transition:transform .4s cubic-bezier(.16,1,.3,1);}
.iglb.is-open .iglb__img{transform:none;}
.iglb__close{position:absolute;top:max(14px,3vw);left:max(14px,3vw);z-index:3;
  width:46px;height:46px;border-radius:50%;border:0;cursor:pointer;background:rgba(255,255,255,.92);
  color:#170d2b;font-size:1.25rem;line-height:1;display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.35);transition:transform .3s ease,background .3s ease;}
.iglb__close:hover{background:#fff;transform:rotate(90deg);}
.iglb__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:52px;height:52px;border-radius:50%;border:0;cursor:pointer;background:rgba(255,255,255,.9);
  color:#170d2b;display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.35);transition:transform .3s ease,background .3s ease;}
.iglb__nav:hover{background:#fff;}
.iglb__nav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
.iglb__nav--next{right:max(10px,2.5vw);}   /* media-control intuition: › on the right = next */
.iglb__nav--prev{left:max(10px,2.5vw);}
.iglb__close:focus-visible,.iglb__nav:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}
@media (max-width:768px){ .iglb__nav{width:44px;height:44px;} .iglb__nav svg{width:21px;height:21px;} .iglb__close{width:42px;height:42px;} }
@media (prefers-reduced-motion:reduce){
  .dwm__scrim,.dwm__box{transition:opacity .2s ease;}
  .dwm__box{transform:none;}
  .dwm__close:hover{transform:none;}
  .dw__card{transition:box-shadow .3s ease;}
}

/* ── #dwellings mobile: label → cover-banner w/ overlay → 2-col type grid → specs accordion ── */
@media (max-width:768px){
  .dw{min-height:auto;display:block;padding:3.2rem 0;overflow:visible;}
  .dw__canvas{position:static;width:100%;max-width:none;height:auto;aspect-ratio:auto;
    container-type:normal;display:flex;flex-direction:column;align-items:stretch;gap:1.15rem;padding:0 22px;}

  /* small "הדירות" label */
  .dw__label{order:1;position:static;left:auto;right:auto;top:auto;font-size:1.18rem;letter-spacing:.04em;}

  /* hero banner with OPPORTUNITY / For A DESIGN Style overlaid */
  /* banner box matches the image's natural 2834:812 aspect → the baked-in text+bars show full & undistorted (was height:212px → forced the 3.49:1 image into a 1.63:1 box = severe squish) */
  /* full-bleed: banner spans the entire screen width (breaks out of the 22px canvas padding) */
  .dw__hero{display:block;order:2;position:relative;width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);height:auto;aspect-ratio:5000/1465;
    border-radius:0;overflow:hidden;box-shadow:0 18px 42px -26px rgba(23,13,43,.55);}
  .dw__banner{position:absolute;inset:0;left:0;right:0;top:0;width:100%;height:100%;}
  .dw__hero::after{content:none;}   /* self-contained banner (text baked in) — drop the darkening overlay for clarity */
  .dw__opp{position:absolute;z-index:2;left:22px;right:auto;top:auto;bottom:146px;
    font-size:.82rem;letter-spacing:.2em;}
  .dw__title{position:absolute;z-index:2;left:22px;right:auto;top:auto;bottom:26px;
    font-size:2.7rem;line-height:.86;}
  .dw__title .style-line{width:26px;height:2.5px;margin:0 .42rem .42rem 0;}

  /* apartment-type cards: single 2-col grid (rows dissolve via display:contents) */
  .dw__cards{order:3;position:static;left:auto;right:auto;top:auto;height:auto;
    display:grid;grid-template-columns:1fr 1fr;gap:10px;}
  .dw__row{display:contents;}
  .dw__card{font-size:.95rem;line-height:1.18;padding:.78rem .4rem 1.05rem;border-radius:9px;
    transform:none;box-shadow:none;cursor:default;}
  .dw__card::after{bottom:.5rem;width:20px;height:2.5px;opacity:1;}
  .dw__card-cta{display:none;}
  .dw__card--mini .dw__card-t:first-child{font-size:.95rem;}   /* override leaked desktop 1.75vw (=6.8px @390) → match the other card labels */

  /* technical-spec accordion (collapsed by default) */
  .dw__specs{order:4;position:static;left:auto;right:auto;top:auto;height:auto;
    background:var(--blue-bg);border-radius:14px;padding:.2rem 1.15rem;}
  .dw__specs-title{font-size:1.16rem;margin:0;padding:1.05rem 0;cursor:pointer;
    display:flex;align-items:center;justify-content:space-between;-webkit-tap-highlight-color:transparent;}
  .dw__specs-title::after{content:"";flex:0 0 auto;width:10px;height:10px;margin-bottom:3px;
    border-right:2px solid #170d2b;border-bottom:2px solid #170d2b;
    transform:rotate(45deg);transition:transform .35s cubic-bezier(.16,1,.3,1);}
  .dw__specs.is-open .dw__specs-title::after{transform:rotate(-135deg);}
  .dw__specs-title:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:4px;}
  .dw__specs-grid{display:block;direction:rtl;gap:0;
    overflow:hidden;max-height:0;opacity:0;
    transition:max-height .45s cubic-bezier(.16,1,.3,1),opacity .35s ease;}
  .dw__specs.is-open .dw__specs-grid{max-height:2600px;opacity:1;padding-bottom:1.1rem;}
  .dw__col{margin:0;}
  .dw__col h4{font-size:1rem;margin:.9rem 0 .42rem;}
  .dw__col-spacer{display:none;}
  .dw__col ul{font-size:.9rem;line-height:1.5;}
  .dw__col li{padding-right:.95rem;margin:0 0 .35rem;}
  .dw__col li::before{right:.2rem;}   /* bullet INSIDE the column — the grid's overflow:hidden clips the desktop -.75rem gutter bullet */
  .dw__col h4 + ul{margin-bottom:.4rem;}
  .dw__col .sub{margin-top:.7rem;}
}

/* ═══════════════════════ DEVELOPERS — היזמים (flow grid) ═══════════════════════ */
.dev{
  position:relative;
  background:var(--cream);
  padding:clamp(1.8rem,3.4vh,2.6rem) 0 clamp(1.8rem,3.4vh,2.6rem);
  overflow:hidden;
}
.dev__canvas{
  width:80.4vw;max-width:none;
  margin:0 auto;
  padding:0;
  direction:ltr;                      /* fix column order; children re-set rtl */
  display:grid;
  grid-template-columns:38.1vw 1px 37.1vw;   /* EXACT PDF: Africa(left) 38.1% · divider · Zemach(right) 37.1% */
  grid-template-areas:
    "label   label   label"
    "rule    rule    rule"
    "caption caption caption"
    "afrika  divider zemach"
    "gold    gold    gold";
  column-gap:2.55vw;   /* EXACT PDF: ~5.2% gap between the two company columns (split around the divider) */
  align-items:start;
}
/* two staggered gold bars below the tagline, bleeding off the right page edge — cropped from the PDF (canvas is LTR → flex-end = right) */
.dev__gold{grid-area:gold;width:100vw;margin-left:calc(50% - 50vw);
  margin-top:clamp(1rem,2.4vh,1.8rem);display:flex;justify-content:flex-end;pointer-events:none;}
.dev__gold img{width:min(56vw,880px);height:auto;display:block;}
@media (max-width:768px){ .dev__gold{display:none;} }

/* "היזמים" label + short underline */
.dev__label{
  grid-area:label;direction:rtl;
  text-align:center;margin:0 0 clamp(.5rem,.8vw,.7rem);
  color:#170d2b;
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:clamp(1.6rem,2.6vw,2.4rem);letter-spacing:.01em;line-height:1;
}
.dev__rule{
  grid-area:rule;justify-self:center;
  width:clamp(44px,4vw,56px);height:1.5px;
  background:#170d2b;          /* thin navy underline like the PDF (was gold) */
  margin:0 0 clamp(1.1rem,1.8vw,1.5rem);
}

/* two company columns */
.dev__col{text-align:right;direction:rtl;}
.dev__col--afrika{grid-area:afrika;}
.dev__col--zemach{grid-area:zemach;}

.dev__logo{display:block;width:auto;height:auto;margin:0 0 clamp(1.1rem,1.7vw,1.6rem) auto;}
/* desktop: logos sized to match the PDF — אפריקה lockup (wordmark + "מבית אפריקה" badge) is wider than צמח */
@media (min-width:769px){
  .dev__logo--afrika{height:6vw;max-height:90px;width:auto;}   /* both logos same HEIGHT → bodies start at the same line */
  .dev__logo--zemach{height:6vw;max-height:90px;width:auto;}
}

/* Afrika cyan badge (white text) */
.dev__badge{
  display:inline-block;margin:0 0 clamp(.8rem,1.2vw,1rem);
  background:#00ADEF;color:#fff;
  font-family:'Oron','Almoni',sans-serif;font-weight:500;
  font-size:clamp(.95rem,1.05vw,1.08rem);line-height:1.15;letter-spacing:.01em;
  padding:.5rem .85rem;border-radius:4px;
}

/* Zemach heading line */
.dev__head{
  margin:0 0 clamp(.5rem,.9vw,.8rem);
  font-family:'Almoni','Heebo',sans-serif;font-weight:700;   /* EXACT PDF: AlmoniDLAAA-Bold */
  font-size:1.855vw;line-height:1.26;color:#18003e;           /* EXACT PDF: 19pt = 1.855% page width, navy */
}

/* רקע: / צורך: run-in lead labels (inline bold prefix → keeps both columns same anatomy) */
.dev__lead{
  display:block;margin:0 0 .18rem;     /* רקע:/צורך: each on its own line, like the PDF */
  font-family:'Absoluti','Almoni',sans-serif;font-weight:700;
  color:var(--navy);
}

/* body paragraphs */
.dev__body{
  margin:0 0 clamp(.6rem,1vw,.9rem);
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;   /* EXACT PDF: AlmoniDLAAA Regular */
  font-size:1.65vw;line-height:1.15;color:#18003e;            /* ~8 lines like the PDF; tighter line-height per client */
  text-align:justify;                                          /* EXACT PDF: paragraphs are justified — every line fills the column up to the divider */
}
.dev__body b,.dev__lead{font-weight:700;}                     /* EXACT PDF: company name opens bold (אפריקה התחדשות עירונית, / צמח המרמן) */

/* vertical divider between the two companies */
.dev__divider{
  grid-area:divider;align-self:stretch;justify-self:center;
  width:1px;margin:.4rem 0;
  background:linear-gradient(to bottom,transparent,#d2d2dc 12%,#d2d2dc 88%,transparent);
}

/* closing caption */
.dev__caption{
  grid-area:caption;justify-self:center;direction:rtl;
  max-width:none;margin:0 0 clamp(1.4rem,2.4vw,2rem);   /* caption sits ABOVE the two columns (like the PDF) */
  text-align:center;
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;   /* EXACT PDF: AlmoniDLAAA Regular */
  font-size:2.171vw;line-height:1.26;color:#18003e;           /* EXACT PDF: 22.2pt = 2.171% page width, navy */
}

/* ── #developers mobile: label → key-message intro → two collapsible company cards ── */
@media (max-width:768px){
  .dev{min-height:auto;display:block;padding:3.2rem 0;overflow:visible;}
  .dev__canvas{position:static;width:100%;max-width:none;height:auto;aspect-ratio:auto;
    container-type:normal;display:flex;flex-direction:column;align-items:stretch;gap:.95rem;padding:0 22px;}

  .dev__label{order:1;position:static;left:auto;right:auto;top:auto;font-size:1.18rem;letter-spacing:.04em;}
  .dev__rule{order:2;position:static;left:auto;top:auto;transform:none;
    width:34px;height:2px;background:#170d2b;margin:.15rem auto .15rem;}
  /* lift the key message up as the framing intro */
  .dev__caption{order:3;position:static;left:auto;right:auto;top:auto;
    font-size:1.08rem;line-height:1.42;color:var(--navy);margin:0 0 .2rem;
    max-width:30ch;margin-inline:auto;}
  .dev__divider{display:none;}

  /* company accordion cards */
  .dev__col{position:static;left:auto;right:auto;top:auto;text-align:right;
    background:var(--blue-bg);border-radius:14px;padding:1.05rem 1.15rem;}
  .dev__col--afrika{order:4;}
  .dev__col--zemach{order:5;}

  .dev__head-row{display:flex;align-items:center;justify-content:center;gap:1.1rem;
    cursor:pointer;-webkit-tap-highlight-color:transparent;}
  .dev__head-row::after{content:"";flex:0 0 auto;width:11px;height:11px;margin-bottom:3px;
    border-right:2px solid #170d2b;border-bottom:2px solid #170d2b;
    transform:rotate(45deg);transition:transform .35s cubic-bezier(.16,1,.3,1);}
  .dev__col.is-open .dev__head-row::after{transform:rotate(-135deg);}
  .dev__head-row:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:6px;}
  .dev__logo{margin:0;background:#fff;border-radius:9px;padding:9px 13px;
    box-shadow:0 8px 22px -12px rgba(23,13,43,.45);}
  .dev__logo--afrika{width:150px;}
  .dev__logo--zemach{width:142px;}

  .dev__text{overflow:hidden;max-height:0;opacity:0;
    transition:max-height .55s cubic-bezier(.16,1,.3,1),opacity .4s ease;}
  .dev__col.is-open .dev__text{max-height:3200px;opacity:1;padding-top:.9rem;}
  .dev__badge{display:inline-block;font-size:.8rem;line-height:1.2;padding:.42rem .72rem;margin:0 0 .85rem;}
  .dev__head{font-size:1rem;line-height:1.32;margin:0 0 .7rem;}
  .dev__lead{display:block;font-size:1rem;margin:.75rem 0 .12rem;font-weight:700;}
  .dev__body{font-size:.9rem;line-height:1.52;text-align:right;margin:0 0 .55rem;}
}

/* ═══════════════════════ CONTACT — צור קשר (canvas 1024×555pt) ═══════════════════════ */
.contact{
  min-height:100svh;
  display:flex;align-items:center;justify-content:center;
  padding:2vh 0;background:var(--cream);overflow:hidden;
}
.contact__canvas{
  position:relative;
  aspect-ratio:1024/555;
  width:min(98vw, calc(94svh * 1024 / 555));
  container-type:size;
}
.contact__title,
.contact__form,
.contact__photo,
.contact__consent,
.contact__submit,
.contact__brand,
.contact__disclaimer,
.contact__footer{position:absolute;}

/* "צור קשר" title centered top */
.contact__title{
  left:0;right:0;top:.72%;
  text-align:center;margin:0;
  color:#170d2b;
  font-family:'Almoni','Heebo',sans-serif;
  font-weight:400;
  font-size:clamp(1.6rem,2.6vw,2.4rem);
  line-height:1;
  letter-spacing:.01em;
}

/* form area: left side, 4 stacked light-blue inputs */
.contact__form{
  left:7.62%;width:38.57%;top:12.07%;height:59.55%;
}
.contact__field{
  position:absolute;left:0;right:0;
  background:var(--blue-bg);
  border:0;outline:0;
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:1.79cqw;
  color:#170d2b;
  text-align:right;direction:rtl;
  padding:0 1.76cqw 0 1.76cqw;
  margin:0;
  width:100%;
  appearance:none;
}
.contact__field::placeholder{color:#170d2b;opacity:1;}
.contact__field:focus{box-shadow:inset 0 0 0 2px var(--blue-light);}
.contact__field.is-error{box-shadow:inset 0 0 0 2px #c84747;}
.contact__field--name   {top:0%;       height:16.94%;}
.contact__field--phone  {top:20.27%;   height:16.94%;}
.contact__field--email  {top:40.85%;   height:16.64%;}
.contact__field--msg    {top:61.18%;   height:31.12%; padding-top:1.4cqw; resize:none; line-height:1.4;}

/* consent text (small) — sits between textarea and submit button */
.contact__consent{
  left:7.62%;width:38.57%;top:68.29%;
  margin:0;
  color:#170d2b;
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:.83cqw;line-height:1.35;
  text-align:right;
  display:flex;align-items:flex-start;gap:.55cqw;
  cursor:pointer;
  user-select:none;
}
.contact__consent input{
  flex:0 0 auto;
  width:.85cqw;height:.85cqw;margin:.18cqw 0 0 0;
  accent-color:#170d2b;
  appearance:auto;
}
.contact__consent span{flex:1 1 auto;}
.contact__consent.is-error{color:#ff9b9b;}                                   /* unchecked-on-submit: clear "required" feedback */
.contact__consent.is-error input{outline:2px solid #ff9b9b;outline-offset:2px;}

/* submit button — navy bar, spans form width */
.contact__submit{
  left:7.62%;width:38.57%;top:71.53%;height:10.09%;
  background:#170d2b;
  color:var(--cream);
  border:0;cursor:pointer;
  font-family:'Almoni','Heebo',sans-serif;font-weight:700;
  font-size:2.81cqw;line-height:1;
  letter-spacing:.01em;
  display:flex;align-items:center;justify-content:center;
  margin:0;padding:0;
  transition:background .25s ease;
}
.contact__submit:hover{background:var(--navy-deep);}
.contact__submit:active{transform:translateY(1px);}
.contact__submit.is-sent{background:#1a5e3a;cursor:default;}

/* photo on the right */
.contact__photo{
  left:49.22%;width:42.19%;top:12.07%;height:69.19%;
  overflow:hidden;
}
.contact__photo img{
  width:100%;height:100%;
  object-fit:cover;display:block;
}

/* brand line "בת גלים חיפה | *5403" — under submit, centered on form */
.contact__brand{
  left:7.62%;width:38.57%;top:82.34%;
  margin:0;
  color:#170d2b;
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:1.66cqw;line-height:1;
  letter-spacing:.01em;
  display:flex;align-items:center;justify-content:center;gap:.7cqw;
  direction:rtl;
}
.contact__brand .bg-sep{opacity:.6;}
.contact__brand .bg-tel{direction:ltr;unicode-bidi:isolate;}

/* disclaimer — small, centered in middle band, single line */
.contact__disclaimer{
  left:20%;right:20%;top:90.81%;
  text-align:center;margin:0;
  color:#170d2b;
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:1.10cqw;line-height:1.3;
  letter-spacing:.005em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:clip;
}

/* navy footer bar — full width, copyright + spin + 2026 centered */
.contact__footer{
  left:0;right:0;top:94.23%;height:5.77%;
  background:#170d2b;
  color:var(--cream);
  display:flex;align-items:center;justify-content:center;
  gap:2.0cqw;
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:1.29cqw;line-height:1;
  letter-spacing:.01em;
  direction:rtl;
}
.contact__spin{
  font-family:'Bronova','Heebo',serif;
  letter-spacing:.06em;
  font-size:1.18cqw;
  text-transform:lowercase;
  direction:ltr;
}
.contact__brand span[dir="ltr"]{display:inline-block;}
/* footer legal links (privacy + accessibility) + consent inline link */
.contact__footer a.contact__legal{color:inherit;text-decoration:none;opacity:.8;cursor:pointer;
  transition:opacity .25s var(--e),color .25s var(--e);}
.contact__footer a.contact__legal:hover{color:var(--gold);opacity:1;text-decoration:underline;text-underline-offset:3px;}
.contact__consent a{color:var(--gold);text-decoration:underline;text-underline-offset:2px;cursor:pointer;}

/* inline success message after submit (replaces form) */
.contact__success{
  position:absolute;
  left:7.62%;width:38.57%;top:30%;
  text-align:center;
  font-family:'Almoni','Heebo',sans-serif;font-weight:700;
  font-size:2.2cqw;color:#170d2b;
  display:none;
}
.contact.is-sent .contact__success{display:block;}
.contact.is-sent .contact__form,
.contact.is-sent .contact__consent,
.contact.is-sent .contact__submit{display:none;}

/* ── #contact mobile: immersive dark-glass form (matches the desktop treatment) ── */
@media (max-width:768px){
  .contact{position:relative;display:block;min-height:100svh;padding:0;background:#0e0d2a;overflow:hidden;}
  .contact .contact__bg{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%;z-index:0;}
  .contact .contact__scrim{display:block;position:absolute;inset:0;z-index:1;
    background:
      radial-gradient(135% 70% at 82% 10%, rgba(46,46,120,.36), transparent 55%),
      linear-gradient(180deg, rgba(14,13,42,.56) 0%, rgba(14,13,42,.74) 46%, rgba(10,9,32,.97) 100%);}

  .contact__canvas{position:relative;z-index:2;width:100%;max-width:none;min-height:100svh;height:auto;aspect-ratio:auto;
    container-type:normal;display:flex;flex-direction:column;align-items:center;justify-content:center;
    padding:clamp(3.5rem,9vh,5rem) 16px clamp(5.5rem,13vh,7rem);gap:0;}

  .contact__title{display:none;}
  .contact__photo{display:none;}

  .contact .contact__card{display:flex;flex-direction:column;position:relative;width:100%;max-width:440px;
    padding:1.6rem 1.35rem 1.5rem;border-radius:20px;background:rgba(255,255,255,.09);
    -webkit-backdrop-filter:blur(20px) saturate(125%);backdrop-filter:blur(20px) saturate(125%);
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 28px 70px -28px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.18);}

  .contact .contact__head{display:block;text-align:center;margin:0 0 1.2rem;}
  .contact__hl{margin:0 0 .5rem;color:#fff;font-family:'Almoni','Heebo',sans-serif;font-weight:400;font-size:1.45rem;line-height:1.18;}
  .contact__sub{margin:0;color:rgba(255,255,255,.74);font-family:'Almoni','Heebo',sans-serif;font-weight:400;font-size:.92rem;line-height:1.5;}

  .contact__form{position:static;left:auto;width:auto;top:auto;height:auto;display:flex;flex-direction:column;gap:9px;margin:0;padding:0;}
  .contact__field{position:static;left:auto;right:auto;top:auto;width:100%;height:50px;
    font-size:1rem;border-radius:11px;padding:0 1rem;background:rgba(255,255,255,.10);color:#fff;
    border:1px solid rgba(255,255,255,.18);box-shadow:none;}
  .contact__field::placeholder{color:rgba(255,255,255,.6);opacity:1;}
  .contact__field--name,.contact__field--phone,.contact__field--email{height:50px;}
  .contact__field--msg{height:88px;line-height:1.45;padding-top:.8rem;resize:none;}
  .contact__field:focus{background:rgba(255,255,255,.15);border-color:var(--gold);box-shadow:0 0 0 3px rgba(212,164,55,.28);}
  .contact__field.is-error{border-color:#ff9090;box-shadow:0 0 0 3px rgba(255,90,90,.25);}

  .contact__consent{position:static;left:auto;width:auto;top:auto;margin:.95rem 0;padding:0;
    font-size:.76rem;line-height:1.42;color:rgba(255,255,255,.66);gap:.5rem;}
  .contact__consent input{width:15px;height:15px;margin:.16rem 0 0;accent-color:var(--gold);}
  .contact__consent a{color:var(--gold);}

  .contact__submit{position:static;left:auto;width:100%;top:auto;height:54px;margin:0;
    background:var(--gold);color:#170d2b;border-radius:13px;font-size:1.15rem;font-weight:700;letter-spacing:.01em;
    box-shadow:0 16px 34px -14px rgba(212,164,55,.6);}
  .contact__submit:active{transform:translateY(1px);}
  .contact__submit.is-sent{background:#3ec07a;color:#0b2a17;box-shadow:none;}

  .contact__success{position:static;left:auto;width:auto;top:auto;text-align:center;color:#fff;font-weight:700;font-size:1.15rem;padding:1rem 0;}

  .contact__brand{position:static;left:auto;width:auto;top:auto;margin:1rem 0 0;justify-content:center;color:rgba(255,255,255,.8);font-size:.98rem;gap:.55rem;}
  .contact__brand .bg-sep{opacity:.4;}
  .contact__brand .bg-tel{color:var(--gold);font-weight:500;}

  .contact__disclaimer{position:absolute;left:0;right:0;top:auto;bottom:3.4rem;
    text-align:center;white-space:normal;color:rgba(255,255,255,.5);
    font-size:.7rem;line-height:1.45;letter-spacing:0;padding:0 7vw;margin:0;}
  .contact__footer{position:absolute;left:0;right:0;top:auto;bottom:0;height:auto;
    background:rgba(0,0,0,.34);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
    padding:.95rem 18px;gap:.9rem;font-size:.78rem;color:rgba(255,255,255,.72);flex-wrap:wrap;}
  .contact__footer a.contact__legal{color:rgba(255,255,255,.78);display:inline-flex;align-items:center;min-height:44px;padding:.35rem .15rem;-webkit-tap-highlight-color:transparent;}
  .contact__spin{font-size:.76rem;color:rgba(255,255,255,.72);}
}

/* new contact elements — hidden by default (mobile keeps original layout) */
.contact__bg,.contact__scrim,.contact__head{display:none;}
.contact__card{display:contents;}

/* ════════════ CONTACT — desktop immersive (dark full-bleed photo + frosted glass form) ════════════ */
@media (min-width:769px){
  .contact{display:block;position:relative;min-height:100svh;padding:0;background:#0e0d2a;overflow:hidden;}
  .contact__bg{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%;z-index:0;}
  .contact__scrim{display:block;position:absolute;inset:0;z-index:1;
    background:
      radial-gradient(125% 100% at 78% 20%, rgba(44,44,118,.32), transparent 55%),
      linear-gradient(180deg, rgba(14,13,42,.52) 0%, rgba(14,13,42,.72) 50%, rgba(10,9,32,.95) 100%);}

  .contact__canvas{position:relative;z-index:2;aspect-ratio:auto;width:100%;max-width:none;height:auto;min-height:100svh;
    container-type:normal;display:flex;align-items:center;justify-content:center;
    padding:clamp(4.5rem,9vh,7rem) clamp(24px,5vw,72px) clamp(5rem,10vh,7.5rem);}

  .contact__title{display:none;}
  .contact__photo{display:none;}

  .contact__card{display:flex;flex-direction:column;position:relative;width:min(94vw,540px);
    padding:clamp(1.9rem,2.8vw,2.7rem) clamp(1.7rem,2.4vw,2.4rem) clamp(1.6rem,2.2vw,2.1rem);
    border-radius:22px;background:rgba(255,255,255,.085);
    -webkit-backdrop-filter:blur(22px) saturate(125%);backdrop-filter:blur(22px) saturate(125%);
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 34px 90px -34px rgba(0,0,0,.75),inset 0 1px 0 rgba(255,255,255,.20);}

  .contact__head{display:block;text-align:center;margin:0 0 clamp(1.3rem,2vw,1.7rem);}
  .contact__hl{margin:0 0 .55rem;color:#fff;font-family:'Almoni','Heebo',sans-serif;font-weight:400;
    font-size:clamp(1.5rem,2.2vw,2rem);line-height:1.16;letter-spacing:.005em;}
  .contact__sub{margin:0;color:rgba(255,255,255,.74);font-family:'Almoni','Heebo',sans-serif;font-weight:400;
    font-size:clamp(.95rem,1.05vw,1.05rem);line-height:1.5;}

  .contact__form{position:static;left:auto;width:auto;top:auto;height:auto;
    display:flex;flex-direction:column;gap:clamp(.55rem,.85vw,.75rem);margin:0;}
  .contact__field{position:static;left:auto;right:auto;top:auto;width:100%;height:50px;
    font-size:1rem;border-radius:11px;padding:0 1rem;background:rgba(255,255,255,.10);color:#fff;
    border:1px solid rgba(255,255,255,.18);box-shadow:none;
    transition:border-color .25s var(--e),background .25s var(--e),box-shadow .25s var(--e);}
  .contact__field::placeholder{color:rgba(255,255,255,.6);opacity:1;}
  .contact__field--name,.contact__field--phone,.contact__field--email{height:50px;}
  .contact__field--msg{height:88px;line-height:1.45;padding-top:.8rem;resize:none;}
  .contact__field:focus{background:rgba(255,255,255,.15);border-color:var(--gold);box-shadow:0 0 0 3px rgba(212,164,55,.28);}
  .contact__field.is-error{border-color:#ff9090;box-shadow:0 0 0 3px rgba(255,90,90,.25);}

  .contact__consent{position:static;left:auto;width:auto;top:auto;margin:clamp(.85rem,1.3vw,1.1rem) 0;
    font-size:.78rem;line-height:1.42;color:rgba(255,255,255,.66);gap:.5rem;}
  .contact__consent input{width:15px;height:15px;margin:.16rem 0 0;accent-color:var(--gold);}

  .contact__submit{position:static;left:auto;width:100%;top:auto;height:54px;
    background:var(--gold);color:#170d2b;border-radius:13px;
    font-size:clamp(1.05rem,1.2vw,1.2rem);font-weight:700;letter-spacing:.01em;
    box-shadow:0 16px 34px -14px rgba(212,164,55,.62);
    transition:opacity .8s var(--e),transform .24s var(--e),box-shadow .3s var(--e),background .25s var(--e);}
  .contact__submit:hover{background:#e4b950;transform:translateY(-2px);box-shadow:0 22px 44px -16px rgba(212,164,55,.72);}
  .contact__submit:active{transform:translateY(0);}
  .contact__submit.is-sent{background:#3ec07a;color:#0b2a17;box-shadow:none;}

  .contact__brand{position:static;left:auto;width:auto;top:auto;margin:clamp(1rem,1.5vw,1.25rem) 0 0;
    justify-content:center;color:rgba(255,255,255,.8);font-size:1.02rem;gap:.6rem;}
  .contact__brand .bg-sep{opacity:.4;}
  .contact__brand .bg-tel{color:var(--gold);font-weight:500;}

  .contact__success{position:static;left:auto;width:auto;top:auto;
    text-align:center;color:#fff;font-weight:700;font-size:1.25rem;padding:1.2rem 0;}
  .contact.is-sent .contact__head{display:none;}

  .contact__disclaimer{position:absolute;left:0;right:0;top:auto;bottom:clamp(3.2rem,6vh,4rem);
    text-align:center;white-space:normal;color:rgba(255,255,255,.5);
    font-size:.72rem;line-height:1.4;letter-spacing:0;padding:0 8vw;overflow:visible;text-overflow:clip;}
  .contact__footer{position:absolute;left:0;right:0;top:auto;bottom:0;height:auto;
    background:rgba(0,0,0,.32);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
    padding:.95rem 0;gap:2rem;color:rgba(255,255,255,.72);font-size:.82rem;}
  .contact__spin{color:rgba(255,255,255,.72);font-size:.8rem;}
}

/* ── UNIFORM body-paragraph size across EVERY section (client: body text must be identical down the page).
   Single source of truth — overrides the per-section vw/cqw values that drifted (23.5–24.3px). = 24px @1440. Desktop only; mobile keeps its own rem sizes. ── */
@media (min-width:769px){
  .proj__p, .well__body, .bio__body, .dev__body,
  .env--intro .env__p1, .env--life .env__p2{ font-size:clamp(1.3rem, 1.667vw, 1.55rem); }
}

/* ════════════ MOTION · REVEAL LAYER — elegant-luxury (transform/opacity only) ════════════
   Pure-CSS reveals gated by .js (no-JS shows all). A section/band gets .is-in when it scrolls
   into view → its children cascade in. Synced to the snap deck so each "slide" comes alive. */
:root{--e:cubic-bezier(.16,1,.3,1);--e-pop:cubic-bezier(.34,1.42,.5,1);}

/* hidden — rise (bigger + slight scale for a more dynamic "pop") */
.js .proj__title,.js .proj__p,.js .proj__logo,
.js .well__stat,.js .well__body,.js .well__caption,
.js .bio__intro,.js .bio__title,.js .bio__body,.js .bio__sign,
.js .loc__title,
.js .env__label,.js .env__p1,.js .env__words,.js .env__p2,.js .env__photoA,.js .env__photoB,.js .env__photoC,
.js .gallery__title,
.js .dw__label,.js .dw__title,.js .dw__opp,.js .dw__cards,.js .dw__specs-title,.js .dw__col,
.js .dev__label,.js .dev__col,.js .dev__caption,
.js .contact__title,.js .contact__form,.js .contact__brand,.js .contact__head{
  opacity:0;transform:translateY(44px) scale(.97);transition:opacity .7s var(--e),transform .8s var(--e-pop);}
/* hidden — zoom (feature images) — bigger, more dramatic */
.js .proj__bg,.js .contact__photo{
  opacity:0;transform:scale(1.12);transition:opacity .95s var(--e),transform 1.2s var(--e);}
/* hidden — fade (full-bleed / coverflow / CTA) */
.js .env__banner,.js .dw__hero,.js .cgal,.js .contact__bg{opacity:0;transition:opacity 1s var(--e);}
.js .contact__submit{opacity:0;transition:opacity .8s var(--e),transform .24s var(--e),box-shadow .3s var(--e);}
/* hidden — line draws */
.js .gallery__rule,.js .dev__rule{transform:scaleX(0);transform-origin:right;transition:transform .9s var(--e);}
/* yoga dividers: kept STATIC + always visible (the scaleX reveal stayed stuck at 0 because .is-in sits on .well, so `.is-in .well .divider` never matched) */
.js .dev__divider{transform:scaleY(0);transform-origin:top;transition:transform .9s var(--e);}

/* ── SplitText: section titles reveal char-by-char (vanilla port of React Bits SplitText) ── */
.js .splitt{opacity:1!important;transform:none!important;}              /* parent stays put; the chars carry the motion */
.js .splitt .sc{display:inline-block;opacity:0;transform:translateY(.9em) scale(.55);
  transition:opacity .5s var(--e),transform .6s var(--e-pop);will-change:transform,opacity;}
.is-in .splitt .sc{opacity:1;transform:none;}

/* ── TextType: typewriter caret (vanilla port of React Bits TextType) ── */
.type-cursor{display:inline-block;margin-inline-start:.06em;font-weight:300;color:var(--gold);animation:typeBlink .85s steps(1,end) infinite;}
@keyframes typeBlink{50%{opacity:0;}}
@media (prefers-reduced-motion:reduce){.type-cursor{display:none;}}

/* ── directional variety: side photos slide in from the sides instead of just rising ── */
.js .env__photoC{transform:translateX(-52px) scale(.96);}              /* big dog → from the left */
.js .env__photoA{transform:translateX(52px) scale(.96);}               /* family → from the right */
.js .bio__sign{transform:translateX(-28px);}                           /* signature draws in from the left */
/* env-life accent bars: slide in from the sides while the photos rise */
.js .env__bar{opacity:0;transition:opacity .7s var(--e),transform .9s var(--e);will-change:transform,opacity;}
.js .eb1,.js .eb2,.js .eb3,.js .eb4{transform:translateX(120px);}      /* right-side bars → slide in from the right */
.js .eb5{transform:translateX(-120px);}                                /* left-side bar → slide in from the left */

/* revealed */
.is-in .proj__title,.is-in .proj__p,.is-in .proj__logo,
.is-in .well__stat,.is-in .well__body,.is-in .well__caption,
.is-in .bio__intro,.is-in .bio__title,.is-in .bio__body,.is-in .bio__sign,
.is-in .loc__title,
.is-in .env__label,.is-in .env__p1,.is-in .env__words,.is-in .env__p2,.is-in .env__photoA,.is-in .env__photoB,.is-in .env__photoC,
.is-in .gallery__title,
.is-in .dw__label,.is-in .dw__title,.is-in .dw__opp,.is-in .dw__cards,
.is-in .dev__label,.is-in .dev__col,.is-in .dev__caption,
.is-in .contact__title,.is-in .contact__form,.is-in .contact__brand,
.is-in .proj__bg,.is-in .contact__photo,
.is-in .env__banner,.is-in .dw__hero,.is-in .cgal,.is-in .contact__submit,.is-in .contact__head,.is-in .contact__bg{opacity:1;transform:none;}
.is-in .env__bar{opacity:1;transform:none;}
.dw__specs.is-in .dw__specs-title,.dw__specs.is-in .dw__col{opacity:1;transform:none;}
.is-in .gallery__rule,.is-in .dev__rule,.is-in .dev__divider{transform:none;}

/* stagger */
.is-in .proj__title{transition-delay:.06s;}.is-in .proj__p{transition-delay:.18s;}
.is-in .well__stat:nth-child(1){transition-delay:.1s;}.is-in .well__stat:nth-child(2){transition-delay:.2s;}.is-in .well__stat:nth-child(3){transition-delay:.3s;}
.is-in .well__body{transition-delay:.34s;}.is-in .well__caption{transition-delay:.44s;}
.is-in .bio__title{transition-delay:.1s;}.is-in .bio__body{transition-delay:.22s;}.is-in .bio__sign{transition-delay:.4s;}
.is-in .env__banner{transition-delay:.05s;}.is-in .env__p1{transition-delay:.15s;}
.is-in .env__photoC{transition-delay:.2s;}.is-in .env__words{transition-delay:.28s;}.is-in .env__photoA{transition-delay:.32s;}.is-in .env__photoB{transition-delay:.4s;}.is-in .env__p2{transition-delay:.44s;}
.is-in .eb1{transition-delay:.34s;}.is-in .eb2{transition-delay:.42s;}.is-in .eb3{transition-delay:.5s;}.is-in .eb4{transition-delay:.58s;}.is-in .eb5{transition-delay:.46s;}
.is-in .gallery__rule{transition-delay:.12s;}.is-in .cgal{transition-delay:.2s;}
.is-in .dw__hero{transition-delay:.05s;}.is-in .dw__title{transition-delay:.15s;}.is-in .dw__opp{transition-delay:.25s;}.is-in .dw__cards{transition-delay:.32s;}
.dw__specs.is-in .dw__col{transition-delay:.12s;}
.is-in .dev__rule{transition-delay:.1s;}.is-in .dev__col--afrika{transition-delay:.2s;}.is-in .dev__col--zemach{transition-delay:.3s;}.is-in .dev__divider{transition-delay:.26s;}.is-in .dev__caption{transition-delay:.5s;}
.is-in .contact__bg{transition-delay:0s;}.is-in .contact__head{transition-delay:.1s;}.is-in .contact__photo{transition-delay:.05s;}.is-in .contact__form{transition-delay:.18s;}.is-in .contact__submit{transition-delay:.32s;}.is-in .contact__brand{transition-delay:.44s;}

/* hero load entrance */
.js .hero__bg{opacity:0;transition:opacity 1.4s var(--e);}
.js .hero.is-in .hero__bg{opacity:1;}
.js .nav,.js .hero__headline .l1,.js .hero__headline .l2,.js .hero__scroll{opacity:0;transform:translateY(26px);transition:opacity .8s var(--e),transform .8s var(--e);}
.js .hero__accent span{opacity:0;transform:scaleX(0);transform-origin:left;transition:opacity .8s var(--e),transform 1s var(--e);}
.js .hero.is-in .nav{opacity:1;transform:none;transition-delay:.15s;}
.js .hero.is-in .hero__headline .l1{opacity:1;transform:none;transition-delay:.45s;}
.js .hero.is-in .hero__headline .l2{opacity:1;transform:none;transition-delay:.62s;}
.js .hero.is-in .hero__accent span{opacity:1;transform:scaleX(1);transition-delay:.85s;}
.js .hero.is-in .hero__scroll{opacity:1;transform:none;transition-delay:1.1s;}
@media (min-width:769px) and (prefers-reduced-motion:no-preference){
  .js .hero.is-in .hero__bg{animation:bgKen 26s ease-in-out 1.6s infinite alternate;}}
@keyframes bgKen{from{transform:scale(1.015);}to{transform:scale(1.09);}}

/* hover micro-interactions */
.dev__logo{transition:transform .5s var(--e),opacity .6s var(--e);}
.dev__logo:hover{transform:scale(1.05);}
.contact__submit:hover{transform:translateY(-2px);}
.contact__submit:active{transform:translateY(0);}

/* reduced motion — show all reveal elements statically, no animation (layout transforms untouched) */
@media (prefers-reduced-motion:reduce){
  .js .proj__title,.js .proj__p,.js .proj__logo,
  .js .well__stat,.js .well__body,.js .well__caption,.js .well .divider,
  .js .bio__intro,.js .bio__title,.js .bio__body,.js .bio__sign,
  .js .loc__title,
  .js .env__label,.js .env__p1,.js .env__words,.js .env__p2,.js .env__photoA,.js .env__photoB,.js .env__photoC,.js .env__banner,
  .js .gallery__title,.js .gallery__rule,.js .cgal,
  .js .dw__label,.js .dw__title,.js .dw__opp,.js .dw__cards,.js .dw__hero,.js .dw__specs-title,.js .dw__col,
  .js .dev__label,.js .dev__col,.js .dev__caption,.js .dev__rule,.js .dev__divider,
  .js .contact__title,.js .contact__form,.js .contact__brand,.js .contact__submit,.js .contact__head,.js .contact__bg,
  .js .proj__bg,.js .bio__photo,.js .contact__photo,
  .js .hero__bg,.js .nav,.js .hero__headline .l1,.js .hero__headline .l2,.js .hero__accent span,.js .hero__scroll{
    opacity:1!important;transform:none!important;transition:none!important;animation:none!important;}}

/* ════════════ ATMOSPHERE · desktop depth pass — kills the flat white-slide feel (mobile stays as-is, ≥769px) ════════════ */
@media (min-width:769px){
  /* light coastal sections — gentle sea-glass gradients instead of flat cream */
  /* all regular content sections → flat white background (per request) */
  .well{background:#fff;}
  .bio{background:#fff;}
  .loc{background:#fff;}
  .env{background:#fff;}
  .dw{background:#fff;}
  .dev{background:#fff;}

  /* GALLERY (גלרית חוץ) → one big image on WHITE, like the rest of the page */
  .gallery{background:var(--cream);min-height:100svh;justify-content:center;padding:clamp(1rem,2vh,2rem) 0;}
  .gallery__title{color:#170d2b;}
  .gallery__rule{background:#170d2b;}

  /* one big image at a time — each slide takes its image's EXACT aspect-ratio (inline),
     the image fills it edge-to-edge (no excess background, no crop), crossfade */
  .cgal{width:min(1520px,95vw);}
  .cgal__stage{height:80vh;max-height:900px;perspective:none;transform-style:flat;}
  .cgal__slide{width:auto;height:80vh;max-height:900px;max-width:94vw;
    border-radius:16px;overflow:hidden;background:#fff;
    box-shadow:0 30px 70px -28px rgba(20,20,61,.30);}
  .cgal__slide img{width:100%;height:100%;object-fit:cover;display:block;}
  .cgal__slide[data-pos="0"]{transform:translate(-50%,-50%) scale(1);opacity:1;z-index:5;}
  .cgal__slide[data-pos="r1"],
  .cgal__slide[data-pos="l1"],
  .cgal__slide[data-pos="r2"],
  .cgal__slide[data-pos="l2"],
  .cgal__slide[data-pos="hide"]{transform:translate(-50%,-50%) scale(1.04);opacity:0;z-index:1;}

  /* filmic grain — one subtle fixed layer for depth & cohesion (never blocks clicks) */
  body::after{content:"";position:fixed;inset:0;z-index:50;pointer-events:none;opacity:.02;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}
}

/* ════════════ ELEVATION · stronger depth on light sections (≥769px) — floating shadows + raised panels ════════════ */
@media (min-width:769px){
  /* wellness collage — lift the photos off the page (square corners, no rounding) */
  .well__collage img{border-radius:0;
    box-shadow:var(--shadow-media);}

  /* designer portrait — cutout style: no frame, no shadow (matches PDF) */
  .bio__photo{border-radius:0;overflow:hidden;
    box-shadow:none;}

  /* location cards: flush, NO shadow — images are part of the page, text below (like the PDF) */
  .loc__card{box-shadow:none;}
  .loc__card.is-active{box-shadow:none;}

  /* environment photos — flat, no shadow / no hover effect (matches PDF) */
  .env__photoA,.env__photoB,.env__photoC,
  .env__photoA:hover,.env__photoB:hover,.env__photoC:hover{
    box-shadow:none;}
  .env__words{box-shadow:none;}

  /* dwellings apartment cards */
  .dw__card{box-shadow:var(--shadow-media);}

  /* technical-spec slide — fill the viewport so the next section can't peek below it */
  .dw__specs{min-height:100svh;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;}

  /* developers — match PDF: logos + text directly on the white page, NO card frames, thin vertical divider between the two companies */
  .dev{min-height:100svh;display:flex;align-items:center;}
  .dev__canvas{align-items:stretch;}
  .dev__col{background:transparent;border-radius:0;padding:0;box-shadow:none;}
  .dev__divider{display:block;}
}

/* ════════════ ADDITIONS · section pager · ambient glow · lead CTA ════════════ */
/* — section pager (vertical dots, desktop) — */
.pager{position:fixed;top:50%;right:18px;transform:translateY(-50%);z-index:70;
  display:flex;flex-direction:column;gap:13px;align-items:center;}
.pager a{position:relative;width:9px;height:9px;border-radius:50%;
  background:rgba(150,150,175,.5);box-shadow:0 0 0 1px rgba(255,255,255,.3);
  transition:background .35s var(--e),transform .35s var(--e),box-shadow .35s var(--e);}
.pager a:hover{background:var(--gold);transform:scale(1.3);}
.pager a.is-active{background:var(--gold);box-shadow:0 0 0 4px rgba(212,164,55,.22);}
.pager a::after{content:attr(data-label);position:absolute;right:20px;top:50%;
  transform:translateY(-50%) translateX(6px);white-space:nowrap;
  background:rgba(14,13,42,.94);color:#fff;font:500 12px/1 'Almoni','Heebo',sans-serif;
  padding:6px 10px;border-radius:6px;opacity:0;pointer-events:none;
  transition:opacity .3s var(--e),transform .3s var(--e);}
.pager a:hover::after{opacity:1;transform:translateY(-50%) translateX(0);}
@media (max-width:768px){.pager{display:none;}}

/* — ambient glow in the pure-dark sections (desktop, breathing life) — */
@media (min-width:769px){
  .project{overflow:hidden;}
  .project,.gallery{position:relative;}
  .project>*,.gallery>*{position:relative;z-index:1;}
}
@media (min-width:769px) and (prefers-reduced-motion:no-preference){
  .project::before,.gallery::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
    background:radial-gradient(38% 38% at 33% 30%, rgba(122,126,228,.20), transparent 70%);
    animation:ambientGlow 17s ease-in-out infinite alternate;}
  .gallery::before{background:radial-gradient(42% 42% at 50% 42%, rgba(96,104,210,.22), transparent 68%);}
  .contact__bg{animation:contactBreathe 26s ease-in-out infinite alternate;}
}
@keyframes ambientGlow{0%{transform:translate(-7%,-5%) scale(1);opacity:.5;}100%{transform:translate(9%,8%) scale(1.32);opacity:1;}}
@keyframes contactBreathe{from{transform:scale(1.02);}to{transform:scale(1.09);}}

/* — floating lead CTA — */
.lead-fab{position:fixed;right:22px;bottom:22px;z-index:70;
  display:inline-flex;align-items:center;gap:.55rem;
  background:var(--gold);color:#170d2b;text-decoration:none;
  font:700 1rem/1 'Almoni','Heebo',sans-serif;padding:.85rem 1.3rem;border-radius:40px;
  box-shadow:0 14px 30px -10px rgba(212,164,55,.55),0 4px 12px rgba(20,20,61,.2);
  opacity:0;transform:translateY(20px) scale(.96);pointer-events:none;
  transition:opacity .5s var(--e),transform .5s var(--e),box-shadow .3s var(--e);}
.lead-fab.show{opacity:1;transform:none;pointer-events:auto;}
.lead-fab:hover{transform:translateY(-3px);
  box-shadow:0 22px 44px -12px rgba(212,164,55,.66),0 6px 16px rgba(20,20,61,.24);}
.lead-fab::before{content:"";width:8px;height:8px;border-radius:50%;background:#170d2b;
  animation:fabPulse 2.2s ease-out infinite;}
@keyframes fabPulse{0%{box-shadow:0 0 0 0 rgba(23,13,43,.45);}100%{box-shadow:0 0 0 9px rgba(23,13,43,0);}}
@media (prefers-reduced-motion:reduce){.lead-fab::before{animation:none;}}

/* ════════════ HERO · white nav + cinematic headline one-shot (desktop only) ════════════
   Nav: solid-white panel over the looping video for clean contrast.
   Headline "LIVING BY THE SEA" plays a one-shot timed sequence on load:
     0–1s   hidden  (initial pause while video establishes)
     1–2s   fade-in + rise   (1 s)
     2–6s   fully visible    (4 s hold)
     6–7s   fade-out + drift (1 s)
     7s+    stays hidden     (cinematic — viewer absorbs once, then the film carries the mood)
   Mobile preserves the original staggered .l1/.l2 entrance via .is-in. */
@media (min-width:769px){
  .nav{
    background:rgba(255,255,255,.96);
    padding:1.2vw 4vw;
    box-shadow:0 6px 24px -8px rgba(20,20,61,.16);
  }
  /* video + poster start BELOW the nav so nothing important is hidden behind the white bar.
     --hero-nav-h is set in JS from the live nav height (ResizeObserver) — fallback clamp covers no-JS. */
  .hero__bg,.hero__vid-d{
    top:var(--hero-nav-h, clamp(94px, 7.4vw, 128px));
    height:calc(100% - var(--hero-nav-h, clamp(94px, 7.4vw, 128px)));
  }
}
/* headline + accent bars cinematic one-shot — ALL widths (enter slide-in from right → 4s hold → exit slide-out).
   cancel children's staggered entrance so the parent keyframe controls the whole cycle. */
.js .hero__headline .l1,.js .hero__headline .l2{opacity:1;transform:none;transition:none;}
.js .hero__accent span{opacity:1;transform:none;transition:none;}
.js .hero.is-in .hero__headline,
.js .hero.is-in .hero__accent{animation:heroHeadlineSeq 7s cubic-bezier(.16,1,.3,1) both;}
@keyframes heroHeadlineSeq{
  0%,14.286%   {opacity:0;transform:translateX(8vw);}
  28.571%      {opacity:1;transform:translateX(0);}
  85.714%      {opacity:1;transform:translateX(0);}
  100%         {opacity:0;transform:translateX(8vw);}
}
@media (prefers-reduced-motion:reduce){
  .js .hero.is-in .hero__headline,
  .js .hero.is-in .hero__accent{animation:none!important;opacity:1!important;transform:none!important;}
}

/* ════════════ FLOATING BARS · gentle hover-in-place on the active section ════════════
   Every decorative colored rectangle across the page gets a soft drop-shadow + slow
   alternating Y-axis lift (~5px). The animation is PAUSED by default; an IntersectionObserver
   adds .section-active to the currently-most-visible section (≥50% in view), which switches
   that section's bars to running. Result: bars only "breathe" on the slide you're on. */
@media (min-width:769px){
  .bar,
  .hero__accent .bar-blue,.hero__accent .bar-gold,
  .project__accent .b1,.project__accent .b2,.project__accent .g1{
    box-shadow:0 3px 8px -2px rgba(20,20,61,.20),0 6px 14px -4px rgba(20,20,61,.14);
    will-change:transform,box-shadow;
  }
}
@media (min-width:769px) and (prefers-reduced-motion:no-preference){
  .bar,
  .hero__accent .bar-blue,.hero__accent .bar-gold,
  .project__accent .b1,.project__accent .b2,.project__accent .g1{
    animation:none;   /* floating gold/navy bars made STATIC per request — no hover/drift */
  }
  /* skip the vertical dividers — they already have a scaleX reveal that would conflict */
  .well .divider{animation:none;box-shadow:none;}
  /* organic stagger by color/role so the wave feels alive, not robotic */
  .bar.gold ,.hero__accent .bar-gold{animation-duration:2.8s;animation-delay:-1.1s;}
  .bar.navy                         {animation-duration:3.4s;animation-delay:-2.3s;}
  .bar.blue ,.hero__accent .bar-blue{animation-duration:3.1s;animation-delay:-.6s;}
  .bar.blue-d                       {animation-duration:2.9s;animation-delay:-1.7s;}
  .project__accent .b1              {animation-duration:3.0s;animation-delay:-.9s;}
  .project__accent .b2              {animation-duration:2.7s;animation-delay:-1.9s;}
  .project__accent .g1              {animation-duration:3.3s;animation-delay:-.4s;}
  /* gate: only the active section's bars run */
  .section-active .bar,
  .section-active .hero__accent .bar-blue,
  .section-active .hero__accent .bar-gold,
  .section-active .project__accent .b1,
  .section-active .project__accent .b2,
  .section-active .project__accent .g1{animation-play-state:running;}
}
@keyframes barFloat{
  0%  {transform:translateY(0);   box-shadow:0 3px 8px -2px rgba(20,20,61,.20),0 6px 14px -4px rgba(20,20,61,.14);}
  100%{transform:translateY(-9px);box-shadow:0 11px 22px -2px rgba(20,20,61,.14),0 22px 38px -6px rgba(20,20,61,.22);}
}

/* ════════════ contextual section motifs — line-art in the dead space of each section (desktop ≥769px) ════════════
   each section gets one minimal hand-drawn-feel motif tied to its theme, faint, behind/clear of content, gently alive. */
.motif{display:none !important;}  /* removed per client — sun/coffee/etc. line-art icons are not the project's graphic language */
.js .motif{opacity:0;transition:opacity 1.5s var(--e);}
.js .is-in .motif{opacity:1;}
.motif svg{display:block;width:100%;height:100%;overflow:visible;}
.motif :is(path,line,circle,polyline,ellipse,rect){fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
.motif--blue :is(path,line,circle,polyline,ellipse,rect){stroke:var(--blue-light);}
.motif--gold :is(path,line,circle,polyline,ellipse,rect){stroke:var(--gold);}
.motif--navy :is(path,line,circle,polyline,ellipse,rect){stroke:#3a3979;}
@media (prefers-reduced-motion:no-preference){
  .motif--bob{animation:mBob 7.5s ease-in-out infinite alternate;}
  .motif--sway{animation:mSway 11s ease-in-out infinite alternate;}
}
@keyframes mBob{from{transform:translateY(3px);}to{transform:translateY(-7px);}}
@keyframes mSway{from{transform:translate(-4px,2px);}to{transform:translate(6px,-7px);}}
@keyframes mPulse{from{transform:scale(1);}to{transform:scale(1.06);}}
@keyframes mNeedle{from{transform:rotate(-16deg);}to{transform:rotate(24deg);}}

@media (min-width:769px){
  /* project — waves (sea), top dead band above the headline, behind content */
  .project .motif--waves{top:11%;right:6%;width:min(25vw,320px);height:80px;z-index:0;}
  .project .motif--waves :is(path){stroke-width:1.9;}
  .project .motif--waves path{stroke-opacity:.6;}
  .project .motif--waves .wgold{stroke:var(--gold);stroke-opacity:.74;}

  /* contact — coffee cup (let's meet), open-sea dead area right of the glass card */
  .contact .motif--coffee{bottom:12.5%;right:6%;width:108px;height:134px;z-index:2;}
  .contact .motif--coffee :is(path){stroke-width:1.8;stroke-opacity:.8;}

  /* developers — skyline (the builders), bottom-left dead corner, behind the cards */
  .dev{position:relative;}
  .dev__canvas{position:relative;z-index:1;}
  .dev .motif--skyline{bottom:7%;left:3.5%;width:min(21vw,262px);height:86px;z-index:0;}
  .dev .motif--skyline :is(path,line){stroke-width:1.7;stroke-opacity:.56;}
  .dev .motif--skyline line{stroke-opacity:.4;}

  /* wellness — sun (leisure), top-left dead corner */
  .well{position:relative;}
  .well .motif--sun{top:4.5%;left:2.6%;width:114px;height:114px;}
  .well .motif--sun circle{stroke:#2f2e63;stroke-width:2.2;stroke-opacity:.5;}
  .well .motif--sun line{stroke:var(--gold);stroke-width:2.6;stroke-opacity:.95;}

  /* designer/architect — building facade sketch, far-left vertical margin (clear of the existing accent bars) */
  .bio{position:relative;}
  .bio .motif--facade{top:25%;left:1.8%;width:64px;height:139px;}
  .bio .motif--facade :is(rect,line){stroke-width:1.6;stroke-opacity:.5;}
  .bio .motif--facade line{stroke-opacity:.4;}

  /* location — compass (navigation), top-left dead corner */
  .loc{position:relative;}
  .loc .motif--compass{top:6%;left:3.5%;width:108px;height:108px;}
  .loc .motif--compass :is(circle,line){stroke-width:1.7;stroke-opacity:.5;}
  .loc .motif--compass .needle{stroke:var(--gold);stroke-opacity:.78;stroke-width:1.9;
    transform-box:view-box;transform-origin:50px 50px;}

  /* environment — gulls in the navy sky of the banner, top-right */
  .env--intro{position:relative;}
  .env--intro .motif--birds{top:6%;right:15%;width:min(19vw,210px);height:62px;z-index:2;}
  .env--intro .motif--birds :is(path){stroke:#dcf0f8;stroke-width:2.2;stroke-opacity:.92;}

  /* בית·שכונה·קהילה — house (home), top-left dead corner */
  .env--life{position:relative;}
  .env--life .motif--house{top:4%;left:3.5%;width:90px;height:82px;}
  .env--life .motif--house :is(path,rect){stroke-width:1.7;stroke-opacity:.52;}

  /* gallery — sailboat on the horizon, top-left dead corner, behind content */
  .gallery .motif--boat{top:8%;left:4.5%;width:118px;height:100px;z-index:0;}
  .gallery .motif--boat :is(path,line){stroke-width:1.8;stroke-opacity:.62;}
  .gallery .motif--boat .horizon{stroke:var(--gold);stroke-opacity:.5;}

}
@media (min-width:769px) and (prefers-reduced-motion:no-preference){
  .contact .motif--coffee .steam{animation:mSteam 3.6s ease-in-out infinite;}
  .contact .motif--coffee .s2{animation-delay:.7s;}
  .contact .motif--coffee .s3{animation-delay:1.4s;}
  .well .motif--sun svg{animation:mPulse 5.5s ease-in-out infinite alternate;transform-origin:50% 50%;}
  .loc .motif--compass .needle{animation:mNeedle 26s ease-in-out infinite alternate;}
}
@keyframes mSteam{0%{opacity:0;transform:translateY(4px);}30%{opacity:.62;}100%{opacity:0;transform:translateY(-10px);}}
@media (max-width:768px){.motif{display:none!important;}}
@media (prefers-reduced-motion:reduce){.motif{animation:none!important;}.well .motif--sun svg,.loc .motif--compass .needle{animation:none!important;}}

/* ════════════ map lightbox — fullscreen zoom/pan of the location map ════════════ */
.loc__map{cursor:zoom-in;}
.mapm{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;
  background:rgba(10,10,30,.93);opacity:0;transition:opacity .3s var(--e);overflow:hidden;}
.mapm[hidden]{display:none;}
.mapm.is-open{opacity:1;}
.mapm__scrim{position:absolute;inset:0;}
.mapm__vp{position:relative;z-index:1;width:100%;height:100%;overflow:hidden;
  touch-action:none;display:flex;align-items:center;justify-content:center;}
.mapm__img{max-width:100%;max-height:100%;display:block;user-select:none;-webkit-user-drag:none;
  transform-origin:center center;transform:translate(var(--mx,0px),var(--my,0px)) scale(var(--mz,1));
  will-change:transform;border-radius:6px;box-shadow:0 30px 90px rgba(0,0,0,.6);}
.mapm__close{position:absolute;top:16px;left:16px;z-index:3;width:46px;height:46px;border-radius:50%;
  border:0;cursor:pointer;background:rgba(255,255,255,.92);color:#170d2b;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.4);transition:transform .25s var(--e),background .25s;}
.mapm__close:hover{background:#fff;transform:rotate(90deg);}
.mapm__close svg{width:17px;height:17px;stroke:currentColor;stroke-width:2.2;fill:none;}
.mapm__zoom{position:absolute;bottom:24px;right:16px;z-index:3;display:flex;flex-direction:column;gap:10px;}
.mapm__zbtn{width:48px;height:48px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(255,255,255,.92);color:#170d2b;font:300 1.7rem/1 'Almoni','Heebo',sans-serif;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.4);transition:transform .2s var(--e),background .25s;}
.mapm__zbtn:hover{background:#fff;}
.mapm__zbtn:active{transform:scale(.94);}
.mapm__hint{position:absolute;top:18px;right:18px;z-index:3;
  font:400 .8rem/1 'Almoni','Heebo',sans-serif;color:rgba(255,255,255,.7);
  background:rgba(0,0,0,.3);padding:7px 12px;border-radius:20px;pointer-events:none;
  transition:opacity .4s var(--e);}
@media (prefers-reduced-motion:reduce){.mapm{transition:none;}}



/* ── ARCHITECT page (replaces ENVIRONMENT) — bat galim | תכנון ואדריכלות ── */
#environment.env--arch{min-height:100svh;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;padding:0;position:relative;overflow:hidden}
.env--arch .arch__banner{width:100%;line-height:0}
.env--arch .arch__banner img{width:100%;height:auto;display:block}
.env--arch .arch__p{max-width:1240px;margin:clamp(2.6rem,7.5vh,4.6rem) auto 0;padding:0 clamp(1.4rem,4vw,2.4rem);text-align:right;font-size:clamp(1.5rem,1.9vw,1.85rem);line-height:1.5}
.env--arch .arch-br{display:inline}
.env--arch .arch__p b{font-weight:700;color:inherit}
.env--arch .arch__bars{position:absolute;height:clamp(13px,1.9svh,17px);z-index:3}
.env--arch .arch__bars--blue{left:0;bottom:15.5%;width:2.74%;min-width:34px;background:#bedae5}
.env--arch .arch__bars--gold{left:11.5%;bottom:13%;width:18.1%;background:#d6a838}
.env--arch .arch__bars--navy{left:0;bottom:9.8%;width:5.5%;min-width:70px;background:#16102b}
@media(max-width:768px){#environment.env--arch{justify-content:flex-start;min-height:auto;padding-bottom:clamp(2.5rem,7vh,4rem)}.env--arch .arch__bars{display:none}.env--arch .arch-br{display:none}.env--arch .arch__p{max-width:none;padding:0 5vw;font-size:clamp(1.05rem,4vw,1.2rem);letter-spacing:normal;word-spacing:normal}}



/* ═══ ESSENTIALS CSS VARIABLES — customize per project ═══ */
.essentials-scope{
  --acc: #d4a437;
  --acc-soft: rgba(212,164,55,.13);
  --ess-ease: cubic-bezier(.16,1,.3,1);
}

/* ═══ GLOBAL FOCUS + REDUCED MOTION ═══ */
*:focus-visible{
  outline:2px solid #d4a437;
  outline-offset:3px;
  border-radius:2px;
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
  .blur-reveal{filter:none!important}
}

/* ═══ CINEMATIC BLUR-FOCUS REVEAL (optional, opt-in utility) ═══
   Add `.blur-reveal` to any hero element or background layer.
   On load, it starts out-of-focus and sharpens over 2.4s.
   Auto-activated by essentials JS — no extra code needed. */
.blur-reveal{
  filter:blur(14px);
  transition:filter 2.4s cubic-bezier(.22,.6,.36,1);
}
.blur-reveal.in-focus{filter:blur(0)}

/* ═══ CONSENT CHECKBOX (drop into your form) ═══ */
.ess-consent{
  display:flex;gap:10px;align-items:flex-start;
  font-size:.78rem;line-height:1.55;
  color:rgba(255,255,255,.7);
  cursor:pointer;margin-top:6px;
  font-family:'Almoni','Heebo',sans-serif;font-weight:300;
}
.ess-consent input[type=checkbox]{
  appearance:none;-webkit-appearance:none;
  width:15px;height:15px;flex-shrink:0;margin-top:3px;
  border:1px solid rgba(255,255,255,.4);
  background:transparent;cursor:pointer;
  position:relative;
  transition:border-color .25s,background .25s;
}
.ess-consent input[type=checkbox]:checked{
  border-color:#d4a437;
  background:#d4a437;
}
.ess-consent input[type=checkbox]:checked::after{
  content:'';position:absolute;
  left:4px;top:1px;width:4px;height:9px;
  border:solid #fff;border-width:0 1.5px 1.5px 0;
  transform:rotate(45deg);
}
.ess-consent a{color:#d4a437;text-decoration:underline;text-underline-offset:3px}

/* ═══ ACCESSIBILITY BUTTON (bottom-left) ═══ */
#a11y-btn{
  position:fixed;bottom:24px;left:24px;z-index:9999;
  width:52px;height:52px;border-radius:50%;
  background:rgba(10,20,32,.95);
  border:1.5px solid #d4a437;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 28px rgba(0,0,0,.5);
  transition:transform .35s cubic-bezier(.16,1,.3,1),background .3s;
  animation:a11y-pulse 3.5s ease-in-out infinite;
}
#a11y-btn:hover{transform:scale(1.07);background:#d4a437}
#a11y-btn svg{width:24px;height:24px;fill:#d4a437;transition:fill .3s}
#a11y-btn:hover svg{fill:#0a1420}
@keyframes a11y-pulse{
  0%,100%{box-shadow:0 10px 28px rgba(0,0,0,.5),0 0 0 0 rgba(212,164,55,.13)}
  50%{box-shadow:0 10px 28px rgba(0,0,0,.5),0 0 0 14px transparent}
}

/* ═══ A11Y PANEL ═══ */
#a11y-panel{
  position:fixed;bottom:92px;left:24px;z-index:9998;
  width:min(360px,calc(100vw - 48px));
  max-height:calc(100vh - 140px);
  background:linear-gradient(180deg,rgba(10,20,32,.98) 0%,rgba(5,15,25,.98) 100%);
  backdrop-filter:blur(24px);
  border:1px solid rgba(212,164,55,.13);
  box-shadow:0 24px 80px rgba(0,0,0,.7);
  overflow:hidden;
  opacity:0;pointer-events:none;
  transform:translateY(18px) scale(.97);
  transform-origin:bottom left;
  transition:opacity .4s cubic-bezier(.16,1,.3,1),transform .45s cubic-bezier(.16,1,.3,1);
}
#a11y-panel.open{opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}

.a11y-head{
  padding:20px 22px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:space-between;
}
.a11y-title{
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:.95rem;color:#fff;
}
.a11y-title-sub{
  display:block;
  font-family:'Bronova','Almoni',serif;font-style:italic;font-weight:300;
  font-size:.65rem;color:#d4a437;letter-spacing:.2em;
  text-transform:uppercase;margin-top:3px;direction:ltr;
}
.a11y-close{
  width:30px;height:30px;border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
  background:transparent;cursor:pointer;
  color:rgba(255,255,255,.55);
  display:flex;align-items:center;justify-content:center;
  transition:color .25s,border-color .25s,background .25s;
  font-family:inherit;
}
.a11y-close:hover{color:#d4a437;border-color:#d4a437;background:rgba(212,164,55,.13)}
.a11y-close svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.8;fill:none}

.a11y-body{
  padding:16px 18px;overflow-y:auto;max-height:calc(100vh - 280px);
  scrollbar-width:thin;scrollbar-color:rgba(212,164,55,.13) transparent;
}
.a11y-body::-webkit-scrollbar{width:4px}
.a11y-body::-webkit-scrollbar-thumb{background:rgba(212,164,55,.13)}
.a11y-section{margin-bottom:16px}
.a11y-section-title{
  font-family:'Bronova','Almoni',serif;font-style:italic;font-weight:300;
  font-size:.62rem;letter-spacing:.22em;color:#d4a437;
  text-transform:uppercase;margin-bottom:8px;padding:0 4px;direction:ltr;text-align:left;
}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-grid.full{grid-template-columns:1fr}
.a11y-opt{
  display:flex;align-items:center;gap:10px;padding:10px 13px;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.06);
  cursor:pointer;
  font-family:'Almoni','Heebo',sans-serif;font-size:.76rem;font-weight:300;
  color:rgba(255,255,255,.7);
  transition:background .25s,border-color .25s,color .25s;
  text-align:right;
}
.a11y-opt:hover{background:rgba(212,164,55,.13);border-color:#d4a437;color:#fff}
.a11y-opt.active{background:rgba(212,164,55,.13);border-color:#d4a437;color:#d4a437}
.a11y-opt svg{width:15px;height:15px;flex-shrink:0;stroke:currentColor;stroke-width:1.4;fill:none}
.a11y-opt-label{flex:1}

.a11y-foot{
  padding:14px 18px;border-top:1px solid rgba(255,255,255,.08);
  display:flex;gap:10px;align-items:center;justify-content:space-between;
}
.a11y-reset{
  flex:1;padding:10px;
  background:transparent;
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.6);
  font-family:'Almoni','Heebo',sans-serif;font-size:.72rem;font-weight:400;letter-spacing:.05em;
  cursor:pointer;
  transition:color .25s,border-color .25s;
}
.a11y-reset:hover{color:#d4a437;border-color:#d4a437}
.a11y-statement{
  font-family:'Bronova','Almoni',serif;font-style:italic;font-weight:300;
  font-size:.7rem;color:rgba(255,255,255,.45);
  text-decoration:none;transition:color .25s;direction:ltr;letter-spacing:.05em;
}
.a11y-statement:hover{color:#d4a437}

/* ═══ A11Y STATE CLASSES ═══ */
html.a11y-contrast{filter:contrast(1.5) saturate(1.3) brightness(1.08)}
html.a11y-invert{filter:invert(1) hue-rotate(180deg)}
html.a11y-invert img,html.a11y-invert video,html.a11y-invert canvas,html.a11y-invert svg{filter:invert(1) hue-rotate(180deg)}
html.a11y-gray{filter:grayscale(1) contrast(1.1)}
html.a11y-big-text{zoom:1.18}
html.a11y-bigger-text{zoom:1.38}
body.a11y-spacing *,body.a11y-spacing *::before,body.a11y-spacing *::after{
  letter-spacing:.08em!important;word-spacing:.15em!important;line-height:1.9!important;
}
body.a11y-links a{
  text-decoration:underline!important;text-underline-offset:4px;
  text-decoration-thickness:2px;text-decoration-color:#d4a437!important;
  background:rgba(212,164,55,.13)!important;padding:2px 4px!important;
}
body.a11y-no-anim *,body.a11y-no-anim *::before,body.a11y-no-anim *::after{
  animation:none!important;animation-duration:0s!important;
  transition-duration:0s!important;
}
body.a11y-readable *{
  font-family:Arial,sans-serif!important;font-style:normal!important;letter-spacing:normal!important;
}
body.a11y-readable h1,body.a11y-readable h2,body.a11y-readable h3{font-weight:700!important}

/* ═══ SHARED DIALOG ═══ */
.ess-dialog{
  position:fixed;inset:0;z-index:10000;
  background:rgba(0,10,18,.88);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  display:flex;align-items:center;justify-content:center;padding:24px;
  opacity:0;pointer-events:none;transition:opacity .4s cubic-bezier(.16,1,.3,1);
}
.ess-dialog.open{opacity:1;pointer-events:auto}
.ess-dialog-content{
  background:#F8F5EF;color:#001625;
  padding:48px 44px 40px;max-width:720px;width:100%;
  max-height:85vh;overflow-y:auto;position:relative;
  transform:translateY(16px) scale(.98);
  transition:transform .5s cubic-bezier(.16,1,.3,1);
}
.ess-dialog.open .ess-dialog-content{transform:translateY(0) scale(1)}
.ess-dialog-content h2{
  font-family:'Bronova','Almoni',serif;font-weight:300;font-style:italic;
  font-size:2rem;color:#001625;letter-spacing:-.015em;margin-bottom:8px;
}
.ess-dialog-eyebrow{
  display:block;
  font-family:'Bronova','Almoni',serif;font-style:italic;font-weight:300;
  font-size:.7rem;letter-spacing:.26em;text-transform:uppercase;
  color:#d4a437;margin-bottom:14px;
}
.ess-dialog-mark{width:60px;height:1px;background:#d4a437;margin:22px 0 20px}
.ess-dialog-content h3{
  font-family:'Almoni','Heebo',sans-serif;font-weight:400;
  font-size:.92rem;color:#001625;letter-spacing:.04em;
  margin-top:22px;margin-bottom:8px;text-transform:uppercase;
}
.ess-dialog-content p,.ess-dialog-content li{
  font-family:'Almoni','Heebo',sans-serif;font-weight:300;
  font-size:.92rem;color:rgba(0,22,37,.72);
  line-height:1.75;margin-bottom:6px;
}
.ess-dialog-content ul{padding-right:20px;margin-bottom:10px}
.ess-dialog-content strong{font-weight:500;color:#001625}
.ess-dialog-content a{color:#d4a437;text-decoration:underline;text-underline-offset:3px}
.ess-dialog-close{
  position:absolute;top:20px;left:20px;
  padding:8px 16px;border-radius:100px;
  font-family:'Bronova','Almoni',serif;font-style:italic;font-weight:300;
  font-size:.68rem;letter-spacing:.22em;
  color:rgba(0,22,37,.6);
  border:1px solid rgba(0,22,37,.18);
  background:transparent;cursor:pointer;
  transition:border-color .3s,color .3s,background .3s;direction:ltr;
}
.ess-dialog-close:hover{border-color:#d4a437;color:#d4a437;background:rgba(212,164,55,.13)}
