@font-face{font-family:'Cormorant Garamond';src:url('../fonts/cormorant.woff2') format('woff2');font-weight:400 600;font-style:normal;font-display:swap}
@font-face{font-family:'Cormorant Garamond';src:url('../fonts/cormorant-italic.woff2') format('woff2');font-weight:400 500;font-style:italic;font-display:swap}
@font-face{font-family:'Jost';src:url('../fonts/jost-light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Jost';src:url('../fonts/jost-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Jost';src:url('../fonts/jost-medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
:root{
  --stone:#EBE1CF; --plaster:#F4ECDC; --sand:#E1D4BC; --ink:#3B332A; --ink2:#6E6252; --taupe:#A9997E; --taupe-d:#8C7C63;
  --caramel:#8A5632; /* Dark Caramel Leather: accent */ --cognac:#754626; /* Deep Cognac Leather: hover / deep grounds */ --terra:#B67A54; --gold:#B08A52;
  --line:rgba(59,51,42,.16); --line-s:rgba(59,51,42,.08);
  --error:#8E4F2E; /* deep terra: 5.4:1 on --plaster */ --ease:cubic-bezier(.2,.7,.2,1);
  --serif:'Cormorant Garamond',Georgia,serif; --sans:'Jost','Inter',system-ui,sans-serif; --pad:clamp(22px,6vw,120px);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--stone);color:var(--ink);font-family:var(--sans);font-weight:300;line-height:1.62;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.04;letter-spacing:-.005em}
.k{font-family:var(--sans);font-weight:400;font-size:clamp(10px,1vw,12px);letter-spacing:.34em;text-transform:uppercase;color:var(--taupe-d)}
.wrap{padding-left:var(--pad);padding-right:var(--pad)}
::selection{background-color:rgba(138,86,50,.22);color:#22201E}
::-moz-selection{background-color:rgba(138,86,50,.22);color:#22201E}
/* Ivory type on dark grounds (photographs, the cognac inquiry aside): a solid caramel highlight keeps it legible. */
:is(.feature,.project-hero,.project-next,.inquiry__aside) ::selection{background-color:var(--caramel);color:#F7F4EE}
:is(.feature,.project-hero,.project-next,.inquiry__aside) ::-moz-selection{background-color:var(--caramel);color:#F7F4EE}
[data-r]{opacity:0;transform:translateY(30px);transition:opacity 1.1s cubic-bezier(.2,.7,.2,1),transform 1.1s cubic-bezier(.2,.7,.2,1)}
[data-r].in{opacity:1;transform:none}
[data-r][data-d="1"]{transition-delay:.1s}[data-r][data-d="2"]{transition-delay:.2s}[data-r][data-d="3"]{transition-delay:.3s}
@media(prefers-reduced-motion:reduce){[data-r]{opacity:1!important;transform:none!important}}

.hdr{position:fixed;top:0;inset-inline:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px var(--pad);transition:.5s;color:#fff}
.hdr::before{content:"";position:absolute;inset:0;background:rgba(244,236,220,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--line-s);opacity:0;transition:.5s;z-index:-1}
.hdr.solid{color:var(--ink)}.hdr.solid::before{opacity:1}
/* Header logo: one wordmark file (brand/logo-header-dark.svg, fill #a5a198) drawn twice, ivory over the
   opening film and ink on the solid header. The swap is an opacity crossfade, never a filter transition. */
.header-logo{position:relative;flex:none;display:block;line-height:0}
.header-logo img{height:clamp(20px,2.2vw,30px);width:auto;transition:opacity .5s var(--ease)}
.header-logo__light{filter:brightness(0) invert(1) drop-shadow(0 1px 14px rgba(18,16,14,.3))}
.header-logo__dark{position:absolute;top:0;inset-inline-start:0;filter:brightness(.36);opacity:0}
.hdr.solid .header-logo__light{opacity:0}
.hdr.solid .header-logo__dark{opacity:1}
/* Section links land a section's top edge on the fixed header's bottom edge. menu.js measures the live header into
   --hdr-h, and scroll-margin-top keeps native jumps (no script, find-in-page) on the same line. */
:is(#projects,#disciplines,#process,#studio,#contact){scroll-margin-top:var(--hdr-h,80px)}
.header-logo:focus-visible{outline:1px solid currentColor;outline-offset:6px}
.nav{display:flex;gap:30px;position:absolute;left:50%;transform:translateX(-50%)}
.nav a{font-size:12px;letter-spacing:.14em;text-transform:uppercase;opacity:.9;position:relative;padding:4px 0}
.nav a::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:0;height:1px;background:currentColor;transition:.4s}.nav a:hover::after{width:100%}
.nav a[aria-current]{opacity:1}.nav a[aria-current]::after{width:100%} /* Projects, on every projects/ page */
.cta-top{font-size:12px;letter-spacing:.14em;text-transform:uppercase;border:1px solid currentColor;padding:9px 16px;border-radius:100px;transition:.3s;opacity:.9}
.cta-top:hover{background:var(--caramel);color:#fff;border-color:var(--caramel)}
.menu-btn{display:block;background:none;border:0;color:inherit;font-family:var(--sans);font-size:12px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}

.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* ============ Opening film (#home): full-bleed, one encode per layout (main.js) ============ */
.hero{position:relative;height:100vh;height:100svh;overflow:hidden;isolation:isolate;background:var(--ink)}
.hero__media,.hero__still,.hero__still img,.hero__video{position:absolute;inset:0;width:100%;height:100%}
.hero__still img,.hero__video{max-width:none;object-fit:cover;object-position:center}
.hero__media{will-change:transform}
.hero__video{transition:opacity .6s var(--ease)}
.hero.is-still .hero__video{opacity:0} /* motion off: the still underneath stands in for the film */
/* Top scrim: keeps the ivory logo, EN / HE and Menu legible over bright footage. */
.hero::before{content:"";position:absolute;z-index:1;inset:0 0 auto;height:min(30vh,240px);background:linear-gradient(to bottom,rgba(18,16,14,.42),rgba(18,16,14,0));pointer-events:none}

/* ============ Projects portal banner (#projects): full-bleed photograph, centred "Projects", corner project title ============ */
/* Stacks above the opening film, which main.js pins so this banner rises over it like a curtain. Two sibling links:
   - the centred "Projects" (projects/index.html) stays unpositioned, so its ::after (the click layer) covers the
     whole banner;
   - the corner title (The Palm Residence) is raised above that layer.
   The photograph and its scrim sit at z-index -1 inside the banner's own stacking context, under the in-flow heading. */
/* Desktop height: the screen below the fixed header, the area a Projects link lands it in (menu.js), so the corner title
   is never cut off at the foot of the screen. */
.feature{position:relative;z-index:1;display:grid;place-items:center;height:calc(100vh - var(--hdr-h,80px));height:calc(100svh - var(--hdr-h,80px));overflow:hidden;background:var(--ink);color:#F7F4EE}
.feature::after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse 46% 34% at 50% 50%,rgba(18,16,14,.3),rgba(18,16,14,0)),linear-gradient(to top,rgba(18,16,14,.42),rgba(18,16,14,0) 45%);pointer-events:none}
/* Never zoomed at rest: the full width of the photograph stays in frame, as on The Palm Residence's own cover. 43% centres
   the crop where that cover centres it; main.js drifts it through 30-56% as the banner crosses the screen. */
.feature__media{position:absolute;z-index:-1;inset:0}
.feature__media img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 43%;transition:transform 1.6s cubic-bezier(.22,1,.36,1)}
/* Centred "Projects": the portal's focal word, an uppercase tracked serif. Padding at the start balances the tracking after
   the last letter, so the word's box and its glyphs share one centre. On hover a hairline draws out from that centre. */
.feature__heading{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(2.75rem,6.6vw,6.5rem);line-height:1;letter-spacing:.08em;text-transform:uppercase;text-shadow:0 2px 30px rgba(18,16,14,.35)}
.feature__link{padding-block:.06em;padding-inline-start:.08em;background:linear-gradient(currentColor,currentColor) 50% 100%/0 1px no-repeat;transition:background-size .9s var(--ease)}
.feature__link::after{content:"";position:absolute;z-index:1;inset:0}
.feature__link:is(:hover,:focus-visible){background-size:100% 1px}
.feature__link:focus-visible{outline:0}
.feature__link:focus-visible::after{outline:1px solid #F7F4EE;outline-offset:-14px}
.feature:has(a:is(:hover,:focus-visible)) .feature__media img{transform:scale(1.025)}
/* Corner title: the featured project's credit, a quiet caption under the centred word: 26px on phones, rising with the
   viewport (3.35vw) to a 32px cap from about 955px wide (5A), so "Projects" stays the focal title. */
.feature__title{position:absolute;z-index:2;inset-block-end:clamp(2rem,4.5vw,4.5rem);inset-inline-start:clamp(1.5rem,4.5vw,4.5rem);display:flex;align-items:center;gap:.3em;font-family:var(--serif);font-weight:400;font-size:clamp(1.625rem,3.35vw,2rem);line-height:1;letter-spacing:-.01em;color:#F7F4EE;text-shadow:0 2px 30px rgba(18,16,14,.3)}
.feature__arrow{flex:none;width:.6em;height:.18em;margin-top:.1em;fill:none;stroke:currentColor;stroke-width:1.25;transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
.feature__arrow path{vector-effect:non-scaling-stroke}
.feature__title:is(:hover,:focus-visible) .feature__arrow{transform:translateX(.22em)}
.feature__title:focus-visible{outline:1px solid #F7F4EE;outline-offset:8px}
[dir="rtl"] .feature__arrow{transform:scaleX(-1)}
[dir="rtl"] .feature__title:is(:hover,:focus-visible) .feature__arrow{transform:translateX(-.22em) scaleX(-1)}
html[lang="he"] :is(.feature__heading,.feature__title){font-weight:400;letter-spacing:0} /* outranks the Hebrew 300 heading weight: legible over the photograph */
html[lang="he"] .feature__link{padding-inline-start:0}
@media(max-width:768px){.feature{height:80vh;height:80svh}}
/* On phones the banner (80svh) is shorter than the pinned film (100svh), so the section after it must also
   stack above the film, on its own opaque ground, or the film shows below the banner until the pin ends. */
.pos{position:relative;z-index:1;background:var(--stone)}
@media(prefers-reduced-motion:reduce){.feature__media img,.feature__arrow,.hero__video{transition:none}}

.pos{padding:clamp(80px,12vw,170px) 0;text-align:center}
.pos.wrap,.disc-sec.wrap,.contact.wrap{padding-inline:var(--pad)}
/* Philosophy quote: four editorial lines set by <br> (pos.title in i18n.js; the longest, Hebrew line 3, fits from ~580px).
   On phones the breaks drop and the quote reflows as one balanced block. */
.pos h2{font-size:clamp(28px,4.6vw,60px);margin:22px auto 0;line-height:1.12;font-weight:400;text-wrap:balance}
@media(max-width:640px){.pos h2 br{display:none}}
.pos h2 em{font-style:italic;color:var(--caramel)}
.pos .sub{max-width:60ch;margin:26px auto 0;color:var(--ink2);font-size:clamp(15px,1.5vw,18px)}

.disc-sec{padding:clamp(80px,12vw,170px) 0;background:var(--plaster);border-top:1px solid var(--line-s)}
.disc-head{text-align:center;margin-bottom:clamp(40px,6vw,72px)}
.disc-head h2{font-size:clamp(28px,4.6vw,60px);font-weight:400;margin-top:14px}
.disc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.4vw,44px)}
.dcard{text-align:center}
.dcard .im{overflow:hidden;aspect-ratio:3/4;margin-bottom:22px;border-radius:500px 500px 0 0}
.dcard .im img{width:100%;height:100%;object-fit:cover;transition:transform 1.3s cubic-bezier(.2,.7,.2,1)}
.dcard:hover .im img{transform:scale(1.05)}
.dcard .n{font-family:var(--serif);font-style:italic;font-size:24px;color:var(--gold)}
.dcard h3{font-size:clamp(22px,2.2vw,30px);font-weight:400;margin:6px 0 12px}
.dcard p{font-size:14.5px;color:var(--ink2);max-width:34ch;margin:0 auto}

/* Founder attribution: name and role keep a 26 : 11 size ratio (both scaled x1.2 in 5A). */
.sign{margin-top:26px;font-family:var(--serif);font-style:italic;font-size:31.2px;color:var(--ink)}
.sign small{display:block;font-family:var(--sans);font-style:normal;font-size:13.2px;letter-spacing:.2em;text-transform:uppercase;color:var(--taupe-d);margin-top:6px}

.contact{padding:clamp(90px,13vw,190px) 0;text-align:center}
/* 5B: the monogram (482 x 576) and the "Let's begin" kicker are scaled up: the kicker is 1.4x the shared .k size. */
.contact .mono{width:66px;margin:0 auto 30px}
.contact .k{font-size:clamp(14px,1.4vw,16.8px)}
@media(max-width:767.98px){.contact .mono{width:56px;margin-bottom:28px}}
.contact h2{font-size:clamp(36px,6.4vw,104px);font-weight:400;margin:16px auto 10px;max-width:15ch;line-height:1.04}
.contact h2 em{font-style:italic;color:var(--caramel)}
.contact .avail{color:var(--taupe-d);font-size:13px;letter-spacing:.06em;margin-bottom:42px}
footer{border-top:1px solid var(--line);padding:34px var(--pad);display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--taupe-d)}
footer a:hover{color:var(--ink)}

@media(max-width:900px){.cta-top{display:none}
 /* The centred nav folds away except Projects, which joins EN / HE and Menu at the inline end. */
 .nav{position:static;transform:none;margin-inline-start:auto}.nav a:not(.nav__projects){display:none}
 .disc-grid{grid-template-columns:1fr;max-width:400px;margin:0 auto}}
@media(max-width:560px){
  footer{display:grid;justify-items:start;gap:18px;padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right));padding-bottom:max(34px,calc(env(safe-area-inset-bottom) + 24px))}
  footer > span:last-of-type{display:grid!important;gap:10px!important}footer a{white-space:nowrap}
}

/* GSAP motion-study layer, isolated from the original page */
html{scroll-behavior:auto}
body{--motion-progress:0}
.motion-study{position:fixed;z-index:100;inset-inline-start:22px;bottom:22px;display:flex;align-items:center;gap:12px;color:var(--ink);mix-blend-mode:multiply;pointer-events:none}
.motion-study span{font-size:9px;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap}
.motion-line{width:54px;height:1px;background:rgba(59,51,42,.22);overflow:hidden}
.motion-line i{display:block;width:100%;height:100%;background:var(--ink);transform:scaleX(0);transform-origin:left center}
.scroll-cue{position:absolute;z-index:3;bottom:30px;left:50%;width:1px;height:52px;background:rgba(255,255,255,.28);overflow:hidden}
.scroll-cue::after{content:"";position:absolute;inset:0;background:#fff;transform:translateY(-100%);animation:cue 2s cubic-bezier(.65,0,.35,1) infinite}
@keyframes cue{0%{transform:translateY(-100%)}50%,100%{transform:translateY(100%)}}
.dcard .im{clip-path:inset(0 0 0 0 round 400px 400px 0 0)}
.dcard .im img{will-change:transform}
.pos h2 .reveal-word{display:inline-block;opacity:.14;will-change:opacity}
.chapter-rail{position:fixed;z-index:55;right:22px;top:50%;transform:translateY(-50%);display:grid;gap:13px;mix-blend-mode:difference;color:#fff}
.chapter-rail a{display:flex;align-items:center;justify-content:flex-end;gap:13px;font-size:8px;letter-spacing:.18em;text-transform:uppercase;opacity:.4;transition:opacity .35s}
.chapter-rail a span{max-width:0;overflow:hidden;white-space:nowrap;transition:max-width .45s cubic-bezier(.16,1,.3,1)}
.chapter-rail a i{width:18px;height:1px;background:currentColor;transform-origin:left center;transition:transform .35s}
.chapter-rail a:hover,.chapter-rail a.active{opacity:1}.chapter-rail a:hover span,.chapter-rail a.active span{max-width:80px}.chapter-rail a.active i{transform:scaleX(1.45)}
.contact h2 .word{display:inline-block;overflow:hidden;vertical-align:top;margin-inline:.045em}.contact h2 .word-inner{display:inline-block;will-change:transform}
body.motion-ready [data-r]{opacity:1;transform:none;transition:none}

@media(max-width:900px){
  .chapter-rail{display:none!important}.motion-study{inset-inline-start:14px;bottom:max(14px,env(safe-area-inset-bottom))}
  .motion-study span{display:none}
  .hdr{padding-top:max(18px,env(safe-area-inset-top));padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right))}
  .scroll-cue{left:auto;right:24px;bottom:max(30px,calc(env(safe-area-inset-bottom) + 20px));height:42px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:smooth}.motion-study,.scroll-cue{display:none!important}
  .pos h2 .reveal-word{transform:none!important;opacity:1!important}
}

/* ============ Header: EN / HE toggle + Menu trigger ============ */
.hdr-end{display:flex;align-items:center;gap:26px}
.lang-toggle{display:inline-flex;align-items:center;gap:.5em;direction:ltr;font-family:'Jost',system-ui,sans-serif;font-weight:400;font-size:11px;letter-spacing:.14em;line-height:1}
.lang-toggle span{opacity:.45}
.lang-toggle button{position:relative;padding:5px 0;background:none;border:0;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer;opacity:.55;transition:opacity .3s}
.lang-toggle button:hover,.lang-toggle button[aria-pressed="true"]{opacity:1}
.lang-toggle button[aria-pressed="true"]::after{content:"";position:absolute;left:0;right:.14em;bottom:0;height:1px;background:currentColor}
.hdr .lang-toggle{font-size:12px}
@media(max-width:900px){.hdr,.hdr-end{gap:22px}}
/* Narrow phones: Projects, EN / HE and Menu close up and the wordmark steps down a size, so the row fits a 360px
   screen. Below that, Projects is reached from the menu overlay (03). */
@media(max-width:400px){.hdr,.hdr-end{gap:16px}.header-logo img{height:18px}}
@media(max-width:359.98px){.nav{display:none}}

/* ============ Full-screen navigation overlay (menu-reference.jpeg) ============ */
html.scroll-locked body{overflow:hidden} /* set by SiteScrollLock (menu.js) for the menu and the inquiry bubble */
.menu-overlay{position:fixed;inset:0;z-index:110;display:flex;align-items:center;justify-content:center;padding-top:15px;background:rgba(244,242,233,.975);-webkit-backdrop-filter:blur(36px);backdrop-filter:blur(36px);color:#22201E;opacity:0;visibility:hidden;transition:opacity .6s cubic-bezier(.2,.7,.2,1),visibility 0s linear .6s}
.menu-overlay.is-open{opacity:1;visibility:visible;transition:opacity .6s cubic-bezier(.2,.7,.2,1),visibility 0s}
.menu-overlay__top{position:absolute;top:0;inset-inline:0;height:86px;padding:0 66px;display:flex;align-items:center;justify-content:space-between}
.menu-overlay__brand{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:15px;letter-spacing:.06em;line-height:1;text-transform:uppercase;color:#5F5A53}
.menu-overlay__actions{display:flex;align-items:center;gap:25px}
.menu-overlay .lang-toggle{gap:.3em;font-size:10px;letter-spacing:.1em;color:#65635A}
.menu-overlay__close{display:grid;place-items:center;width:40px;height:40px;padding:0;background:none;border:0;color:#22201E;cursor:pointer}
.menu-overlay__close svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.menu-overlay__close:hover svg{transform:rotate(90deg)}
.menu-overlay__list{list-style:none;width:50vw}
.menu-overlay__list li{border-bottom:1px solid rgba(0,0,0,.17);opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.menu-overlay.is-open .menu-overlay__list li{opacity:1;transform:none}
.menu-overlay.is-open .menu-overlay__list li:nth-child(2){transition-delay:.05s}
.menu-overlay.is-open .menu-overlay__list li:nth-child(3){transition-delay:.1s}
.menu-overlay.is-open .menu-overlay__list li:nth-child(4){transition-delay:.15s}
.menu-overlay.is-open .menu-overlay__list li:nth-child(5){transition-delay:.2s}
.menu-overlay.is-open .menu-overlay__list li:nth-child(6){transition-delay:.25s}
.menu-overlay__link{display:grid;grid-template-columns:45px 1fr;align-items:baseline;transition:opacity .45s}
.menu-overlay__num{padding-inline-start:17px;font-family:'Jost',system-ui,sans-serif;font-weight:500;font-size:9px;letter-spacing:.12em;line-height:1;color:#6E6A63}
.menu-overlay__label{text-align:center;font-family:var(--serif);font-weight:400;font-size:clamp(34px,3.375vw,64px);line-height:1.19;color:#22201E;transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.menu-overlay__list:hover .menu-overlay__link{opacity:.38}
.menu-overlay__list .menu-overlay__link:hover,.menu-overlay__link:focus-visible{opacity:1}
.menu-overlay__link:hover .menu-overlay__label{transform:translateX(10px)}
@media(max-width:900px){
  .menu-overlay__top{height:64px;padding:0 22px}
  .menu-overlay__list{width:90vw}
  .menu-overlay__link{grid-template-columns:34px 1fr}
  .menu-overlay__num{padding-inline-start:4px}
  .menu-overlay__label{font-size:clamp(30px,8.6vw,40px)}
}
@media(prefers-reduced-motion:reduce){.menu-overlay,.menu-overlay__list li,.menu-overlay__label{transition:none}.menu-overlay__list li{transform:none}}

/* ============ Hebrew typography + RTL mirroring ============ */
html[lang="he"]{--serif:'Frank Ruhl Libre','Cormorant Garamond',Georgia,serif;--sans:'Heebo','Jost',system-ui,sans-serif}
html[lang="he"] :is(em,.sign){font-style:normal}
html[lang="he"] footer .sn-tlh{flex-basis:100%;max-width:none}
html[lang="he"] :is(h1,h2,h3,.sign){font-weight:300}
html[lang="he"] .k{letter-spacing:.14em}
html[lang="he"] :is(.nav a,.cta-top,.menu-btn,.contact-cta,footer,.sign small,.motion-study span,.chapter-rail a){letter-spacing:.04em}
html[lang="he"] .dcard .n{font-family:'Cormorant Garamond',Georgia,serif}
[dir="rtl"] .chapter-rail{right:auto;left:22px}
[dir="rtl"] :is(.chapter-rail a i,.motion-line i){transform-origin:right center}
[dir="rtl"] .menu-overlay__link:hover .menu-overlay__label{transform:translateX(-10px)}
@media(max-width:900px){
  [dir="rtl"] .scroll-cue{right:auto;left:24px}
}

/* ============ Studio: 50/50 full-bleed split (global page-end component, every page) ============ */
.studio-split{display:grid;grid-template-columns:1fr 1fr;min-height:85vh;background:var(--plaster)}
.studio-split__media{position:relative;margin:0;overflow:hidden;background:var(--sand)}
.studio-split__media img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 30%;will-change:transform}
.studio-split__body{display:flex;align-items:center;padding:clamp(3rem,6vw,7rem);text-align:start}
.studio-split__inner{width:100%;max-width:34rem}
.studio-split h2{font-size:clamp(34px,4vw,62px);font-weight:400;line-height:1.04;margin:22px 0 clamp(24px,2.6vw,36px);max-width:12ch}
.studio-split h2 em{font-style:italic;color:var(--caramel)}
.studio-split__inner>p:not(.k){color:var(--ink2);font-size:clamp(15px,1.2vw,17.5px);max-width:46ch}
.studio-split__inner>p:not(.k)+p{margin-top:16px}
.studio-split .sign{margin-top:clamp(30px,3.4vw,46px);padding-top:24px;border-top:1px solid var(--line)}
@media(max-width:991.98px){
  .studio-split{grid-template-columns:1fr;min-height:0}
  .studio-split__media{aspect-ratio:4/5;max-height:78svh}
  .studio-split__body{padding:clamp(56px,12vw,96px) var(--pad)}
}

/* ============ Start a Conversation (#contact) ============ */
.contact-cta{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;gap:22px;min-height:72px;padding:0 42px 0 46px;border:1px solid var(--ink);border-radius:100px;background:var(--ink);color:var(--stone);font:400 13px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;cursor:pointer;transition:border-color .7s var(--ease)}
.contact-cta::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--cognac);transform:scaleX(0);transform-origin:left center;transition:transform .7s var(--ease)}
.contact-cta:hover,.contact-cta:focus-visible{border-color:var(--cognac)}
.contact-cta:hover::before,.contact-cta:focus-visible::before{transform:scaleX(1)}
.contact-cta:focus-visible{outline:1px solid var(--ink);outline-offset:6px}
:is(.contact-cta,.inquiry__btn) .arrow{width:30px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1;transition:transform .6s var(--ease)}
:is(.contact-cta,.inquiry__btn):hover .arrow{transform:translateX(6px)}
[dir="rtl"] .contact-cta::before{transform-origin:right center}
[dir="rtl"] :is(.contact-cta,.inquiry__btn) .arrow{transform:scaleX(-1)}
[dir="rtl"] :is(.contact-cta,.inquiry__btn):hover .arrow{transform:translateX(-6px) scaleX(-1)}
.footer-a11y{padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}
.footer-a11y:hover{color:var(--ink)}

/* ============ Inquiry page-bubble (#inquiry-bubble, assets/js/inquiry.js) ============ */
.inquiry{--inq-max-h:90vh;position:fixed;inset:0;margin:auto;width:min(94vw,1040px);max-width:none;height:fit-content;max-height:var(--inq-max-h);padding:0;border:0;border-radius:20px;overflow:hidden;background:var(--plaster);color:var(--ink);box-shadow:0 50px 120px -40px rgba(38,30,22,.55),0 0 0 1px rgba(59,51,42,.06);opacity:0;transform:translateY(28px) scale(.975);transition:opacity .45s var(--ease),transform .45s var(--ease)}
@supports(height:100dvh){.inquiry{--inq-max-h:90dvh}}
.inquiry.is-open{opacity:1;transform:none;transition-duration:.7s}
.inquiry::backdrop{background:rgba(46,38,30,.4);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;transition:opacity .45s cubic-bezier(.2,.7,.2,1)}
.inquiry.is-open::backdrop{opacity:1;transition-duration:.6s}
.inquiry__scroll{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.56fr);max-height:var(--inq-max-h);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(59,51,42,.28) transparent}
.inquiry__main{padding:clamp(28px,4vw,48px)}
.inquiry__close{position:absolute;z-index:2;top:16px;inset-inline-end:16px;display:grid;place-items:center;width:52px;height:52px;padding:0;border:0;border-radius:50%;background:none;color:#F1ECE0;cursor:pointer}
.inquiry__close svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1;transition:transform .5s var(--ease)}
.inquiry__close path{vector-effect:non-scaling-stroke}
.inquiry__close:hover svg{transform:rotate(90deg)}
.inquiry__close:focus-visible{outline:1px solid currentColor;outline-offset:2px}
.inquiry__bar{display:flex;align-items:center;justify-content:space-between;gap:16px}
.inquiry__bar .lang-toggle{color:var(--ink2)}
.inquiry__title{font-size:clamp(32px,3.6vw,48px);font-weight:400;line-height:1.04;margin:16px 0 12px}
.inquiry__lede{color:var(--ink2);font-size:15px;max-width:46ch}
.inquiry__form{display:grid;gap:clamp(22px,2.4vw,28px);margin-top:clamp(26px,3vw,32px)}
.inquiry__fields{display:grid;grid-template-columns:1fr 1fr;gap:clamp(22px,2.4vw,28px) clamp(20px,2.6vw,32px)}
.field{display:grid;gap:8px;min-width:0;margin:0;padding:0;border:0}
.field>label,.field>legend{padding:0;font:400 10.5px/1.3 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--ink2)}
.field__req{margin-inline-start:.35em;color:var(--error)}
.inquiry :is(input[type="text"],input[type="email"],input[type="tel"],textarea){width:100%;padding:8px 0 10px;border:0;border-bottom:1px solid rgba(59,51,42,.3);border-radius:0;background:transparent;color:var(--ink);font:300 16px/1.45 var(--sans);transition:border-color .3s,box-shadow .3s}
.inquiry :is(input,textarea)::placeholder{color:rgba(110,98,82,.6);opacity:1}
.inquiry :is(input,textarea):focus{outline:none;border-bottom-color:var(--ink);box-shadow:0 1px 0 var(--ink)}
.inquiry [aria-invalid="true"]{border-bottom-color:var(--error);box-shadow:0 1px 0 var(--error)}
.inquiry textarea{min-height:5em;max-height:16em;resize:vertical;field-sizing:content}
[dir="rtl"] .inquiry :is(input[type="email"],input[type="tel"]){text-align:right}
.field__error{font-size:12.5px;line-height:1.4;color:var(--error)}
/* Project type: four arch-topped tiles standing on one baseline, the site's arch motif at form scale. */
.disciplines{display:block}
.disciplines legend{margin-bottom:12px}
.disciplines__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.arch{position:relative;display:flex;align-items:flex-end;justify-content:center;min-height:92px;padding:26px 10px 13px;border:1px solid rgba(59,51,42,.24);border-radius:50% 50% 0 0/44px 44px 0 0;text-align:center;font-size:12.5px;line-height:1.3;color:var(--ink2);cursor:pointer;transition:background-color .45s var(--ease),border-color .45s var(--ease),color .45s var(--ease)}
.arch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.arch:hover{border-color:var(--ink);color:var(--ink)}
.arch:has(input:checked){background:var(--ink);border-color:var(--ink);color:var(--stone)}
.arch:has(input:focus-visible){outline:1px solid var(--ink);outline-offset:3px}
.inquiry__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.inquiry__status{flex:1 1 200px}
.inquiry__actions .inquiry__btn{margin-inline-start:auto}
.inquiry__btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:56px;padding:0 30px 0 34px;border:1px solid var(--ink);border-radius:100px;background:var(--ink);color:var(--stone);font:400 12px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;cursor:pointer;transition:background-color .45s var(--ease),border-color .45s var(--ease),color .45s var(--ease)}
.inquiry__btn:hover{background:var(--cognac);border-color:var(--cognac)}
.inquiry__btn--ghost{background:transparent;color:var(--ink)}
.inquiry__btn--ghost:hover{background:var(--ink);border-color:var(--ink);color:var(--stone)}
.inquiry__btn:focus-visible{outline:1px solid var(--ink);outline-offset:4px}
.inquiry__done:focus{outline:none}
.inquiry__summary{margin:clamp(24px,3vw,34px) 0;border-top:1px solid var(--line)}
.inquiry__summary>div{display:grid;grid-template-columns:minmax(120px,.42fr) 1fr;gap:4px 20px;padding:13px 0;border-bottom:1px solid var(--line)}
.inquiry__summary dt{font:400 10.5px/1.75 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--ink2)}
.inquiry__summary dd{font-size:15px;overflow-wrap:anywhere;white-space:pre-line}
.inquiry__dispatch{display:flex;flex-wrap:wrap;gap:12px}
.inquiry__after{display:flex;gap:28px;margin-top:26px}
.inquiry__after button{padding:4px 0;border:0;border-bottom:1px solid currentColor;background:none;color:var(--ink2);font:400 11px/1.4 var(--sans);letter-spacing:.2em;text-transform:uppercase;cursor:pointer}
.inquiry__after button:hover{color:var(--ink)}
.inquiry__aside{display:flex;flex-direction:column;gap:28px;padding:96px clamp(28px,3.4vw,44px) clamp(28px,4vw,48px);background:var(--cognac);color:#F1ECE0}
.inquiry__aside .k,.inquiry__founder small,.inquiry__channels dt{color:var(--stone)}
.inquiry__founder{font-family:var(--serif);font-style:italic;font-size:28px;line-height:1.1}
.inquiry__founder small{display:block;margin-top:10px;font:400 10.5px/1.4 var(--sans);letter-spacing:.2em;text-transform:uppercase}
.inquiry__channels{display:grid;gap:18px;padding-top:26px;border-top:1px solid rgba(241,236,224,.24)}
.inquiry__channels dt{font:400 10.5px/1.4 var(--sans);letter-spacing:.2em;text-transform:uppercase}
.inquiry__channels dd{margin-top:4px;font-size:15px}
.inquiry__aside a{border-bottom:1px solid rgba(241,236,224,.32);transition:border-color .3s}
.inquiry__aside a:hover{border-color:currentColor}
.inquiry__aside a:focus-visible{outline:1px solid currentColor;outline-offset:3px}
.inquiry__cv{align-self:flex-start;margin-top:auto;padding-bottom:4px;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase}
html[lang="he"] .inquiry__founder{font-style:normal}
html[lang="he"] :is(.field>label,.field>legend,.inquiry__summary dt,.inquiry__channels dt,.inquiry__founder small,.inquiry__btn,.inquiry__after button,.inquiry__cv){letter-spacing:.04em}
/* Desktop: the scrollbar gutter sits beside the aside (inline-end in both directions), so let it read as aside. */
@media(min-width:860px){
  .inquiry{background:var(--cognac)}
  .inquiry__main{background:var(--plaster)}
  .inquiry__scroll{scrollbar-color:rgba(241,236,224,.4) transparent}
}
@media(max-width:859.98px){
  .inquiry{border-radius:16px}
  .inquiry__scroll{grid-template-columns:1fr}
  .inquiry__main{padding:26px 22px 32px}
  .inquiry__bar{padding-inline-end:52px}
  .inquiry__close{top:12px;inset-inline-end:12px;color:var(--ink);background:rgba(244,236,220,.94)}
  .inquiry__fields{grid-template-columns:1fr}
  .disciplines__row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .inquiry__actions .inquiry__btn{width:100%}
  .inquiry__aside{padding:34px 22px 38px}
}
@media(prefers-reduced-motion:reduce){.inquiry,.inquiry::backdrop,.arch,.contact-cta,.contact-cta::before{transition:none}}

/* ============ Light-canvas header (pages that open on the stone canvas, not on the film: projects/) ============ */
/* Ink logo, EN / HE and Menu from the first paint; menu.js adds the frosted panel (.solid) once the page scrolls. */
.hdr--light-canvas{color:var(--ink)}
.hdr--light-canvas .header-logo__light{opacity:0}
.hdr--light-canvas .header-logo__dark{opacity:1}

/* ============ Projects showcase (projects/index.html) ============ */
/* Reference cadence (PHASE2-ARCHITECTURE.md C2): content from 170px (135px mobile), 24px gutters, ~160px between
   rows (~48px mobile), caption 32px under the image. Four projects read as two portrait pairs; an odd one out takes project-card--wide. */
.projects-intro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:24px clamp(24px,4vw,64px);padding:clamp(135px,12vw,170px) var(--pad) clamp(56px,7vw,104px)}
.projects-intro h1{margin-top:18px;font-size:clamp(56px,8.4vw,128px);font-weight:400;line-height:.92;letter-spacing:-.02em}
.projects-intro__lede{max-width:30ch;font-family:var(--serif);font-size:clamp(20px,2vw,28px);line-height:1.32;color:var(--ink2)}
.projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(48px,11vw,160px) clamp(16px,1.7vw,24px);padding:0 var(--pad) clamp(96px,12vw,180px)}
.project-card--wide{grid-column:1/-1}
.project-card__link{display:block}
.project-card__link:focus-visible{outline:1px solid var(--ink);outline-offset:8px}
.project-card__media{position:relative;overflow:hidden;aspect-ratio:4/5;background:var(--sand)}
.project-card--wide .project-card__media{aspect-ratio:2/1}
.project-card__media img{width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .9s cubic-bezier(.22,1,.36,1);will-change:transform}
.project-card__link:is(:hover,:focus-visible) .project-card__media img{transform:scale(1.035)}
/* The Edition Penthouse: the TV (x 644-939 of 1535px) centred in the 4 : 5 frame, the same ratio on desktop and phone. */
.project-card--edition .project-card__media img{object-position:53.4% 50%}
.project-card__meta{margin-top:clamp(20px,2.2vw,32px)}
/* Title underline draws from the inline-start edge on hover (mirrors in RTL). */
.project-card__title{display:inline;font-size:clamp(24px,2vw,30px);font-weight:400;line-height:1.25;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .8s var(--ease)}
[dir="rtl"] .project-card__title{background-position:100% 100%}
.project-card__link:is(:hover,:focus-visible) .project-card__title{background-size:100% 1px}
.project-card__type{margin-top:10px;font-size:11px;font-weight:400;letter-spacing:.22em;text-transform:uppercase;color:var(--taupe-d)}
html[lang="he"] .project-card__type{font-size:12.5px;letter-spacing:.06em}
@media(max-width:767.98px){
  .projects-intro{grid-template-columns:1fr}
  .projects-grid{grid-template-columns:1fr}
  .project-card--wide .project-card__media{aspect-ratio:4/5}
}

/* ============ Projects view switch (projects/index.html, 5B) ============ */
/* A two-segment capsule at the inline end of the toolbar (it moves to the left in RTL). The pressed segment takes a
   caramel wash and keeps its drawing open: the rulers fanned out (List) or the blinds drawn up on the sunlit view (Grid).
   Hover (and keyboard focus) previews the other one. The hidden view takes no height; a shown view fades in. */
.projects-toolbar{display:flex;justify-content:flex-end;padding:0 var(--pad) clamp(20px,2.4vw,32px)}
.view-switch{display:inline-flex;border:1px solid rgba(34,32,30,.16);border-radius:999px;background:#F2EFE9}
.view-switch__btn{display:grid;place-items:center;width:72px;height:53px;padding:0;border:0;background:transparent;cursor:pointer;transition:background-color .3s var(--ease),box-shadow .3s var(--ease)}
.view-switch__btn:first-child{border-start-start-radius:999px;border-end-start-radius:999px}
.view-switch__btn:last-child{border-start-end-radius:999px;border-end-end-radius:999px}
.view-switch__btn+.view-switch__btn{border-inline-start:1px solid rgba(34,32,30,.16)}
.view-switch__btn[aria-pressed="true"]{background:rgba(138,86,50,.12);box-shadow:inset 0 0 0 1px rgba(138,86,50,.4),0 1px 3px rgba(34,32,30,.08)}
.view-switch__btn:focus-visible{outline:1px solid var(--ink);outline-offset:3px}
.vs-fan,.vs-window{display:block;overflow:visible;pointer-events:none} /* every click and hover lands on the button */
/* Each ruler turns on the brass pivot (5, 19), centred in the icon (viewBox y 5-33): a closed stack (7deg in all) when
   List is off, an open hand fan (28.5deg) when it is on or hovered, and a wider breath (35deg) when hovered while on.
   Each blade sits above the one in front of it, so every ruler's ticked top edge shows. */
.vs-ruler{transform-box:view-box;transform-origin:5px 19px;transform:rotate(var(--rest));transition:transform .38s cubic-bezier(.22,1,.36,1)}
/* Each pane row's blind draws up to its own head rail, uncovering the view; the light comes up with it. */
.vs-blind{transform-box:fill-box;transform-origin:center top;transition:transform .44s cubic-bezier(.22,1,.36,1)}
.vs-sunlight{opacity:0;transition:opacity .44s cubic-bezier(.22,1,.36,1)}
.view-switch__btn:is([aria-pressed="true"],:focus-visible) .vs-ruler{transform:rotate(var(--open))}
.view-switch__btn:is([aria-pressed="true"],:focus-visible) .vs-blind{transform:scaleY(.14)}
.view-switch__btn:is([aria-pressed="true"],:focus-visible) .vs-sunlight{opacity:1}
@media(hover:hover){
  .view-switch__btn:not([aria-pressed="true"]):hover{background:rgba(34,32,30,.04)}
  .view-switch__btn:hover .vs-ruler{transform:rotate(var(--open))}
  .view-switch__btn[aria-pressed="true"]:hover .vs-ruler{transform:rotate(var(--wide))}
  .view-switch__btn:hover .vs-blind{transform:scaleY(.14)}
  .view-switch__btn:hover .vs-sunlight{opacity:1}
}
/* ============ Projects list view (projects/index.html, 5B, the default) ============ */
/* Full-bleed frames stacked flush, each one a link. The photograph sits on a layer 16% taller than the frame, so its
   +/-6% drift (projects.js) never shows an edge, and the <img> inside keeps its own hover zoom. A soft centred scrim keeps
   the ivory title lockup legible without dulling the photograph. */
.project-list-item{position:relative;isolation:isolate;display:grid;place-items:center;height:clamp(540px,92vh,980px);overflow:hidden;color:#FAF8F4;text-align:center}
.project-list-item__media{position:absolute;z-index:-2;inset:-8% 0;background:var(--sand)}
.project-list-item__media img{width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .9s cubic-bezier(.22,1,.36,1)}
.project-list-item:is(:hover,:focus-visible) .project-list-item__media img{transform:scale(1.025)}
.project-list-item::after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse 70% 60% at 50% 50%,rgba(18,16,14,.26),rgba(18,16,14,.18) 50%,rgba(18,16,14,.08))}
.project-list-item:focus-visible{outline:1px solid #F7F4EE;outline-offset:-14px}
.project-list-item__caption{padding-inline:var(--pad)}
.project-list-item__title{font-size:clamp(36px,4.6vw,66px);font-weight:400;line-height:1.05;text-shadow:0 2px 30px rgba(18,16,14,.35)}
.project-list-item__type{margin-top:14px;font-size:12px;font-weight:400;letter-spacing:.2em;text-transform:uppercase;color:rgba(250,248,244,.88);text-shadow:0 1px 16px rgba(18,16,14,.4)}
html[lang="he"] .project-list-item__title{font-weight:400;letter-spacing:0} /* outranks the Hebrew 300 heading weight, as on the home banner */
html[lang="he"] .project-list-item__type{font-size:12.5px;letter-spacing:.06em}
@media(max-width:767.98px){.project-list-item{height:clamp(420px,74vh,680px)}}
@media(prefers-reduced-motion:reduce){
  .project-list-item__media img{transition:none}
  .project-list-item:is(:hover,:focus-visible) .project-list-item__media img{transform:none}
}
[data-projects-panel][hidden]{display:none!important} /* outranks .projects-grid / any display rule on a view */
[data-projects-panel].is-entering{animation:projects-view-in .28s ease} /* no fill: once faded in, the view renders exactly as before 5B */
@keyframes projects-view-in{from{opacity:0}}
@media(prefers-reduced-motion:reduce){
  .view-switch__btn,.vs-ruler,.vs-blind,.vs-sunlight{transition:none}
  [data-projects-panel].is-entering{animation:none}
}

/* ============ Project story (projects/<slug>.html, Phase 2D): a kit of self-contained blocks ============ */
/* Each block is one <section data-project-block="…"> (hero, intro-meta, gallery-full, gallery-diptych, gallery-offset,
   statement, next-project) that carries its own spacing, so blocks can be duplicated, reordered or removed without breaking the
   grid. Nothing here depends on :nth-child or on which block comes next. Rhythm (PHASE2-ARCHITECTURE.md C5): one unit of
   ~57px (45px on phones), used single or double; every gallery row pads one unit above and below, so two rows sit two
   units apart. Frame ratios come from --ratio, which a row (or, in an offset row, a figure) can override inline. */
.project-detail{--unit:clamp(45px,3.9vw,57px);--unit2:calc(var(--unit) * 2);--gutter:clamp(16px,1.7vw,24px)}

/* hero: full-bleed cover. Scrims keep the ivory header and the title legible over bright photographs. */
.project-hero{position:relative;height:100vh;height:100svh;min-height:520px;overflow:hidden;isolation:isolate;background:var(--ink);color:#F7F4EE}
.project-hero__media{position:absolute;inset:0;margin:0;will-change:transform}
.project-hero__media img{width:100%;height:100%;max-width:none;object-fit:cover}
.project-hero::before,.project-hero::after{content:"";position:absolute;z-index:1;inset-inline:0;pointer-events:none}
.project-hero::before{top:0;height:min(34vh,280px);background:linear-gradient(to bottom,rgba(18,16,14,.5),rgba(18,16,14,.3) 45%,rgba(18,16,14,0))}
.project-hero::after{bottom:0;height:62%;background:linear-gradient(to top,rgba(18,16,14,.6),rgba(18,16,14,.3) 55%,rgba(18,16,14,0))}
.project-hero__content{position:absolute;z-index:2;inset-inline:var(--pad);inset-block-end:clamp(48px,6.5vw,96px);max-width:min(100% - 64px,60rem)}
.project-hero .back-link{color:rgba(247,244,238,.88)}
.project-hero .back-link:hover{color:#fff}
.project-hero__title{margin-top:clamp(18px,2.2vw,30px);font-size:clamp(44px,6vw,96px);font-weight:400;line-height:.98;letter-spacing:-.015em;text-shadow:0 2px 30px rgba(18,16,14,.25)}
.project-hero__type{margin-top:18px;font-size:11px;font-weight:400;letter-spacing:.24em;text-transform:uppercase;color:rgba(247,244,238,.88)}
html[lang="he"] .project-hero__title{font-weight:400;letter-spacing:0} /* outranks the Hebrew 300 heading weight: legible over the photograph */
html[lang="he"] .project-hero__type{font-size:12.5px;letter-spacing:.06em}

/* intro-meta: hairline specification ledger (start half) + editorial lede and body (end half). */
.project-intro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--unit) clamp(32px,5vw,96px);padding:var(--unit2) var(--pad) var(--unit)}
.project-specs{align-self:start;max-width:30rem;margin:0;border-top:1px solid var(--line)}
.project-specs>div{display:grid;grid-template-columns:minmax(96px,.36fr) minmax(0,1fr);gap:4px 20px;padding:15px 0;border-bottom:1px solid var(--line)}
.project-specs dt{font-size:11px;font-weight:400;line-height:1.95;letter-spacing:.22em;text-transform:uppercase;color:var(--taupe-d)}
.project-specs dd{margin:0;font-size:14.5px;line-height:1.5;color:var(--ink)}
.project-intro__lede{max-width:34rem;font-family:var(--serif);font-size:clamp(24px,2.1vw,31px);font-weight:400;line-height:1.3;color:var(--ink)}
.project-intro__body{max-width:34rem;margin-top:clamp(22px,2.4vw,32px);font-size:clamp(15px,1.15vw,16.5px);color:var(--ink2)}
html[lang="he"] .project-specs dt{font-size:12.5px;letter-spacing:.06em}

/* Media: every gallery photograph is figure.project-media > div.project-media__frame > img (+ optional figcaption). */
.project-media{min-width:0;margin:0}
.project-media__frame{position:relative;overflow:hidden;aspect-ratio:var(--ratio,4/5);background:var(--sand)}
.project-media__frame img{width:100%;height:100%;max-width:none;object-fit:cover}
.project-media--natural .project-media__frame{aspect-ratio:auto;background:#D5CEC4} /* drawings: never cropped, shown at their own proportions */
.project-media--natural .project-media__frame img{height:auto;object-fit:contain}
.project-media__caption{max-width:60ch;margin-top:16px;font-size:13px;line-height:1.55;color:var(--ink2)}
/* Study caption (Concepts in Development): a serif title above the caption text. */
.project-study__title{margin-bottom:8px;font-size:clamp(22px,1.8vw,27px);font-weight:400;line-height:1.2;color:var(--ink)}
.project-gallery-row{padding-block:var(--unit)}

/* gallery-full: edge to edge, 16 : 9 (4 : 5 on phones), never taller than the screen. On a short screen that height
   cap also narrows the frame (aspect-ratio carries max-height over to the width), so the frame is centred, not left at
   the inline start. */
.project-gallery-row--full{--ratio:16/9}
.project-gallery-row--full .project-media__frame{max-height:100vh;max-height:100svh;margin-inline:auto}
.project-gallery-row--full .project-media__caption{padding-inline:var(--pad);max-width:calc(60ch + var(--pad) * 2)}
/* --inset: the same frame drawn in to the page margins, on exactly the outer edges of the diptych rows at every width
   (the same padding, and no height cap to narrow it on short screens). The caption sits on the photograph's edge. */
.project-gallery-row--inset{padding-inline:var(--pad)}
.project-gallery-row--inset .project-media__frame{max-height:none}
.project-gallery-row--inset .project-media__caption{padding-inline:0}

/* gallery-diptych: two frames of one ratio side by side (one column on phones). */
.project-gallery-row--diptych{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--unit) var(--gutter);align-items:start;padding-inline:var(--pad)}

/* gallery-offset: a wide frame in 7 parts and a detail frame in 4 parts, set one double unit lower. A pull-quote can
   stand in for either photograph: it auto-places into whichever side is free. Placement is by class, not source
   order; --mirror swaps the sides. Grid columns follow dir, so RTL mirrors itself. */
.project-gallery-row--offset{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:var(--unit) clamp(24px,6vw,104px);align-items:start;padding-inline:var(--pad)}
.project-media--wide{--ratio:3/2}
.project-quote{align-self:center;max-width:18ch;margin:0;font-family:var(--serif);font-size:clamp(26px,3vw,44px);font-weight:400;line-height:1.2;color:var(--ink)}
.project-quote::before{content:"";display:block;width:44px;height:1px;margin-bottom:clamp(20px,2.4vw,32px);background:var(--taupe)}
@media(min-width:768px){
  .project-gallery-row--offset>*{grid-row:1}
  .project-gallery-row--offset>.project-media--wide{grid-column:1}
  .project-gallery-row--offset>.project-media--detail{grid-column:2;margin-top:var(--unit2)}
  .project-gallery-row--mirror{grid-template-columns:minmax(0,4fr) minmax(0,7fr)}
  .project-gallery-row--mirror>.project-media--wide{grid-column:2}
  .project-gallery-row--mirror>.project-media--detail{grid-column:1}
}

/* statement: a pull-quote on its own row, in the end half (the column of the intro lede: same grid and gap), as the
   reference sets its text rows (C3). One column on phones. */
.project-gallery-row--statement{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(32px,5vw,96px);padding-inline:var(--pad)}
.project-gallery-row--statement>.project-quote{grid-column:2}

/* next-project: full-screen portal to the next case study (the whole stage is the link), plus View All Projects. */
.project-next{position:relative;height:100vh;height:100svh;min-height:520px;margin-top:var(--unit);overflow:hidden;isolation:isolate;background:var(--ink);color:#F7F4EE}
.project-next__link{position:absolute;inset:0;z-index:1;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--unit2) var(--pad);text-align:center}
.project-next__link::after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(18,16,14,.36);transition:background-color .9s var(--ease)}
.project-next__media{position:absolute;inset:0;z-index:-2;margin:0;will-change:transform}
.project-next__media img{width:100%;height:100%;max-width:none;object-fit:cover;transition:transform 1.6s cubic-bezier(.22,1,.36,1)}
.project-next__eyebrow{font-size:11px;font-weight:400;letter-spacing:.32em;text-transform:uppercase}
.project-next__title{margin-top:clamp(16px,1.8vw,24px);font-size:clamp(44px,6.4vw,104px);font-weight:400;line-height:1;letter-spacing:-.01em;text-shadow:0 2px 30px rgba(18,16,14,.3)}
.project-next__type{margin-top:18px;font-size:11px;font-weight:400;letter-spacing:.24em;text-transform:uppercase;color:rgba(247,244,238,.86)}
.project-next__arrow{width:44px;height:12px;margin-top:clamp(26px,3vw,40px);fill:none;stroke:currentColor;stroke-width:1;transition:transform .9s var(--ease)}
.project-next__link:is(:hover,:focus-visible)::after{background:rgba(18,16,14,.46)}
.project-next__link:is(:hover,:focus-visible) .project-next__media img{transform:scale(1.045)}
.project-next__link:is(:hover,:focus-visible) .project-next__arrow{transform:translateX(10px)}
.project-next__link:focus-visible{outline:1px solid #F7F4EE;outline-offset:-14px}
.project-next__all{position:absolute;z-index:2;left:50%;bottom:clamp(28px,4vw,52px);transform:translateX(-50%);padding:6px 0;border-bottom:1px solid rgba(247,244,238,.5);font-size:11px;font-weight:400;letter-spacing:.22em;text-transform:uppercase;white-space:nowrap;transition:border-color .4s}
.project-next__all:hover{border-color:#F7F4EE}
.project-next__all:focus-visible{outline:1px solid currentColor;outline-offset:4px}
[dir="rtl"] .project-next__arrow{transform:scaleX(-1)}
[dir="rtl"] .project-next__link:is(:hover,:focus-visible) .project-next__arrow{transform:translateX(-10px) scaleX(-1)}
html[lang="he"] .project-next__title{font-weight:400;letter-spacing:0}
html[lang="he"] :is(.project-next__eyebrow,.project-next__type,.project-next__all){font-size:12.5px;letter-spacing:.06em}

@media(max-width:767.98px){
  /* Clear of the accessibility button (fixed, bottom inline-start) and above the 92% reveal line on first paint. */
  .project-hero__content{inset-block-end:max(104px,calc(env(safe-area-inset-bottom) + 96px))}
  .project-intro{grid-template-columns:1fr}
  .project-gallery-row--full{--ratio:4/5}
  .project-gallery-row--diptych{grid-template-columns:1fr}
  .project-gallery-row--offset{grid-template-columns:1fr}
  .project-gallery-row--offset>.project-media--detail{width:64%;justify-self:end} /* the reference's staggered phone pair */
  .project-gallery-row--mirror>.project-media--detail{justify-self:start}
  .project-gallery-row--statement{grid-template-columns:1fr}
  .project-gallery-row--statement>.project-quote{grid-column:1}
  .project-next{height:80vh;height:80svh}
}
@media(prefers-reduced-motion:reduce){.project-next__media img,.project-next__arrow,.project-next__link::after{transition:none}}

.back-link{display:inline-flex;align-items:center;gap:14px;padding:6px 0;font-size:11px;font-weight:400;letter-spacing:.22em;text-transform:uppercase;color:var(--ink2);transition:color .4s}
.back-link:hover{color:var(--ink)}
.back-link:focus-visible{outline:1px solid currentColor;outline-offset:4px}
.back-link__arrow{width:30px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1;transition:transform .6s var(--ease)}
.back-link:hover .back-link__arrow{transform:translateX(-6px)}
[dir="rtl"] .back-link__arrow{transform:scaleX(-1)}
[dir="rtl"] .back-link:hover .back-link__arrow{transform:translateX(6px) scaleX(-1)}
html[lang="he"] .back-link{letter-spacing:.06em}
@media(prefers-reduced-motion:reduce){
  .project-card__media img,.project-card__title,.back-link__arrow{transition:none}
  .project-card__link:is(:hover,:focus-visible) .project-card__media img{transform:none}
}

/* ============ Our Process (#process, Phase 2E): sticky lead + a five-stair stone flight with walking heels (main.js) ============ */
/* Ink on paper (#22201E / #F2EFE9, the menu overlay's palette). The flight is an architectural elevation: each stair is a
   stone block (tread slab on top, its copy in the body below) that steps out on BOTH edges. Its inner wall moves
   --stair-inset further in per stair while its outer nosing reaches --stair-run further out, so the exposed end of every
   tread (.stair-terrace-anchor) is a real walking terrace and each riser drops from the nosing above. The bottom stair
   reaches --stair-last-run out, deep enough for both shoes. Geometry is in cqi (the stage is the size container), and
   logical properties mirror the whole flight in Hebrew. This CSS draws the flight fully built (no JS, reduced motion);
   main.js extrudes it stair by stair and walks the heels down it. */
.process{
  --p-paper:#F2EFE9;--p-ink:#22201E;--p-hair:rgba(34,32,30,.22);--p-muted:#6E6A63;
  --stair-run:clamp(60px,10.7cqi,92px);--stair-last-run:clamp(112px,18.4cqi,156px);--stair-inset:clamp(24px,5.6cqi,48px);
  --landing-rise:clamp(44px,7cqi,60px);--heel-h:clamp(56px,9.1cqi,76px);
  display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(96px,10vw,112px);padding-block:clamp(112px,12vw,176px);
  background:var(--p-paper);color:var(--p-ink);border-top:1px solid rgba(34,32,30,.08);
  overflow-x:clip /* clip, not hidden, so the lead column can stay sticky */
}
.process-lead-col{max-width:34rem}
/* "Our Process": an editorial serif heading rather than a tracked kicker (5A). It owns the gap above the lead. */
.process .process-eyebrow{margin-bottom:clamp(16px,1.5vw,22px);font-family:var(--serif);font-size:clamp(28px,2.2vw,32px);line-height:1.15;letter-spacing:.01em;text-transform:none;color:var(--p-muted)}
.process-lead{font-family:var(--serif);font-weight:400;font-size:clamp(21px,1.8vw,27px);line-height:1.36}
.process-lead-foot{display:flex;flex-wrap:wrap;align-items:center;gap:16px 40px;margin-top:clamp(30px,3.4vw,44px);padding-top:20px;border-top:1px solid var(--p-hair)}
.process-counter{font:400 11px/1 var(--sans);letter-spacing:.22em;color:var(--p-muted);font-variant-numeric:tabular-nums;unicode-bidi:isolate}
.process-counter__current{color:var(--p-ink)}
.process-cta{display:inline-flex;align-items:center;gap:14px;padding:6px 0 8px;border:0;border-bottom:1px solid currentColor;background:none;color:var(--p-ink);font:400 11.5px/1.2 var(--sans);letter-spacing:.24em;text-transform:uppercase;cursor:pointer}
.process-cta .arrow{width:28px;height:11px;flex:none;fill:none;stroke:currentColor;stroke-width:1;transition:transform .6s var(--ease)}
.process-cta:is(:hover,:focus-visible) .arrow{transform:translateX(6px)}
.process-cta:focus-visible{outline:1px solid currentColor;outline-offset:6px}
[dir="rtl"] .process-cta .arrow{transform:scaleX(-1)}
[dir="rtl"] .process-cta:is(:hover,:focus-visible) .arrow{transform:translateX(-6px) scaleX(-1)}

.process-staircase-stage{position:relative;max-width:880px;container-type:inline-size}
.process-stairs{list-style:none;display:grid;grid-auto-rows:1fr} /* equal rows: every riser has one height */
.process-entry-landing,.process-stair-step{position:relative;display:flex;flex-direction:column}
/* Top landing: the floor the walk starts from. Its nosing sits one run behind stair 01's. */
.process-entry-landing{height:var(--landing-rise);margin-inline-end:calc(4 * var(--stair-run) + var(--stair-last-run))}
.process-stair-step{
  --step-run:var(--stair-run);
  margin-inline-start:calc(var(--step-index) * var(--stair-inset));
  margin-inline-end:calc((3 - var(--step-index)) * var(--stair-run) + var(--stair-last-run))
}
.process-stair-step:last-child{--step-run:var(--stair-last-run);margin-inline-end:0}
/* Stone tread: a 7px cap with a crisp upper edge (the walking line), a hairline underside and a cantilevered shadow. */
.stair-tread-slab{position:absolute;z-index:1;top:0;inset-inline:0;height:7px;border-top:1.5px solid var(--p-ink);border-bottom:1px solid var(--p-hair);background:linear-gradient(180deg,#E3DDD2 0%,#D5CCBE 100%);box-shadow:0 10px 20px -10px rgba(34,32,30,.18)}
/* The exposed end of the tread, between the riser that drops onto it and its own nosing: where the heels stand. */
.stair-terrace-anchor{position:absolute;top:0;inset-inline-end:0;width:var(--step-run);height:0}
/* Riser: from the nosing above (one run in from this stair's own nosing) straight down onto this tread. */
.stair-riser{position:absolute;bottom:100%;inset-inline-end:var(--step-run);width:1.5px;height:100%;background:var(--p-ink);transform-origin:50% 0}
.process-stair-step:first-child .stair-riser{height:var(--landing-rise)}
/* The mass below each tread: a soft stone elevation with a crisp inline-start wall. */
.process-entry-landing::after,.stair-body{flex:1;margin-top:7px;background:linear-gradient(135deg,rgba(227,221,210,.38) 0%,rgba(242,239,233,.04) 80%);border-inline-start:1.5px solid var(--p-ink)}
.process-entry-landing::after{content:""}
.stair-body{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(20px,2.1vw,28px) clamp(18px,2.2vw,30px) clamp(30px,2.8vw,42px)}
.stair-index{font:500 10px/1 var(--sans);letter-spacing:.16em;color:var(--p-muted);font-variant-numeric:tabular-nums;transition:color .6s var(--ease)}
.process-stair-step.is-active .stair-index{color:var(--p-ink)}
.stair-title{margin-top:12px;font-size:clamp(24px,2.1vw,32px);font-weight:400;line-height:1.1}
.stair-text{max-width:44ch;margin-top:12px;font-size:clamp(14.5px,1.02vw,15.5px);line-height:1.68;color:rgba(34,32,30,.74)}

/* Heels: two legs in depth (near in front, far behind), each stacking the planted and the stepping pose. main.js writes
   each leg's physical x / y (hence left:0 in both directions) from the measured terraces and cross-fades the poses. The
   stepping pose sits with its toe under the planted toe tip, and each pose turns on its own pivot (planted: the ball of
   the foot; stepping: the toe). In Hebrew the pose box is mirrored, which mirrors those turns as well. */
.process-heels-layer{position:absolute;inset:0;z-index:2;pointer-events:none;visibility:hidden}
.process-staircase-stage.is-ready .process-heels-layer{visibility:visible}
.process-heel{position:absolute;top:0;left:0;height:var(--heel-h);aspect-ratio:172/171;transform-origin:50% 100%;will-change:transform}
.process-heel--near{z-index:4}
.process-heel--far{z-index:3;opacity:.84}
.process-heel__pose{position:absolute;inset:0}
[dir="rtl"] .process-heel__pose{transform:scaleX(-1)} /* toes point down the flight: right in LTR, left in RTL */
.heel-img{position:absolute;bottom:0;max-width:none;height:auto;will-change:transform,opacity}
/* The cut ends of the ankle lines fade out; the shoe itself stays fully opaque. */
.heel-img--planted{left:0;width:100%;transform-origin:63.37% 100%;-webkit-mask-image:linear-gradient(to top,#000 80%,transparent);mask-image:linear-gradient(to top,#000 80%,transparent)}
.heel-img--stepping{left:10.76%;width:93.02%;opacity:0;transform-origin:95.94% 100%;-webkit-mask-image:linear-gradient(to top,#000 86%,transparent);mask-image:linear-gradient(to top,#000 86%,transparent)}
.heel-contact-shadow{position:absolute;bottom:-3px;left:2%;width:66%;height:6px;border-radius:50%;background:radial-gradient(closest-side,rgba(34,32,30,.34),rgba(34,32,30,0));transform-origin:100% 50%}

html[lang="he"] .process-eyebrow{font-weight:400;letter-spacing:0} /* letter-spacing outranks html[lang="he"] .k */
html[lang="he"] :is(.process-cta,.process-counter){letter-spacing:.06em}
html[lang="he"] .process-cta{font-size:13px}
@media(min-width:1200px){
  .process{grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(48px,5vw,96px)}
  .process-lead-col{position:sticky;top:clamp(104px,15vh,150px);align-self:start}
}
/* Phones: a shoe needs a terrace about as long as itself, and the four outward steps come out of stair 01's width, so
   the heels are 36px tall on 36px terraces and the flight runs edge to edge (the copy keeps the page gutter). */
@media(max-width:767.98px){
  .process{--stair-run:36px;--stair-last-run:56px;--stair-inset:7px;--landing-rise:36px;--heel-h:36px;gap:104px}
  .process-staircase-stage{margin-inline:calc(var(--pad) * -1)}
  .stair-body{padding:20px 12px 28px var(--pad)}
  .stair-title{font-size:23px}
  .stair-text{font-size:14px;line-height:1.62}
  .heel-contact-shadow{height:4px;bottom:-2px}
}
@media(prefers-reduced-motion:reduce){.stair-index,.process-cta .arrow{transition:none}}
