/* v-story: one paper world under a fixed canvas, real text in sticky copy blocks on top */
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
body{overflow-x:clip}
.peek{display:none !important}

#world{position:fixed; inset:0; width:100%; height:100%; z-index:0; display:none; pointer-events:auto}
html.gl #world{display:block}
.story{position:relative; pointer-events:none}   /* no z-index: copy must blend with the canvas */
.story a,.story button,.story .copy{pointer-events:auto}
.shell > section:not(.act),.shell > footer{position:relative; z-index:3}
#motion{background:var(--board)}

.act{position:relative}
html.gl .act-hero{height:250svh}
html.gl .act-cloud{height:170svh}
html.gl .act-street{height:240svh}
html.gl .act-land{height:190svh}
.act-copy{position:sticky; top:0; height:100svh; display:flex; align-items:center;
  padding:110px var(--gut) 60px}
html:not(.gl) .act-copy{position:relative; height:auto; min-height:70svh}
.copy{max-width:min(620px,48vw); display:flex; flex-direction:column; gap:clamp(16px,2.4vw,26px);
  will-change:opacity,transform}
/* a soft paper scrim only behind the copy, never full frame */
html.gl .copy{position:relative}
html.gl .copy::before{content:""; position:absolute; inset:-60px -80px; z-index:-1; pointer-events:none;
  background:radial-gradient(closest-side, color-mix(in srgb, var(--board) 82%, transparent), transparent)}

.act-hero .copy{max-width:min(760px,60vw)}
.act-hero .hero-title{font-size:clamp(3.2rem,9.4vw,9rem)}
.act-hero .hero-cta{justify-content:flex-start}
.act-street .act-copy{align-items:flex-end; padding-bottom:12vh}
.peak-title{font-size:clamp(2.8rem,8vw,7.5rem); line-height:.95}
.act-land .act-copy{align-items:center}
.land-copy{max-width:min(560px,46vw)}
.land-copy .body-copy{font-size:1rem}
.land-copy .quote-mark{margin-bottom:-.2em}

/* ---------- project panels (one per project) ---------- */
.proj{position:relative; height:115svh}
html:not(.gl) .proj{display:none}
.proj .act-copy{align-items:center}
.proj-name{font-family:var(--display); font-style:italic; font-weight:400; margin:0;
  font-size:clamp(2.6rem,6.6vw,6.2rem); line-height:.95; text-wrap:balance}
html[lang="he"] .proj-name{font-family:var(--display-he); font-style:normal; font-weight:500}
.proj-kicker{font-size:clamp(1.05rem,1.6vw,1.3rem); color:var(--ink-soft); margin:0}
.proj-facts{display:flex; flex-wrap:wrap; gap:10px 22px; color:var(--ink-faint); font-size:.9375rem; margin:0; padding:0; list-style:none}
.proj-facts b{color:var(--ink); font-weight:500}
.proj-intro{color:var(--ink-soft); line-height:1.7; margin:0; max-width:46ch}
.proj-open{align-self:flex-start}
.proj .concept{align-self:flex-start}
.work-fallback{display:none}
html:not(.gl) .work-fallback{display:block; padding-block:clamp(60px,9vw,120px)}

/* project index: a strip of names on the trailing edge while the work plays */
.proj-index{position:fixed; z-index:30; inset-inline-start:var(--gut); bottom:26px;
  display:flex; flex-direction:row; flex-wrap:wrap; gap:8px 20px; opacity:0; visibility:hidden; transition:opacity .4s, visibility .4s}
.proj-index.on{opacity:1; visibility:visible}
.proj-index button{font-size:.875rem; color:var(--ink-faint); text-align:end; padding:2px 0; transition:color .25s}
.proj-index button:hover{color:var(--ink)}
.proj-index button.on{color:var(--ink); text-decoration:underline 1px var(--flame); text-underline-offset:5px}
html:not(.gl) .proj-index{display:none}
html.gl.hovering #world{cursor:pointer}

@media (max-width:820px){
  .act-copy{align-items:flex-end !important; padding:90px 20px 40px}
  .copy,.act-hero .copy,.land-copy{max-width:100%}
  html.gl .copy::before{inset:-40px -20px -40px -20px}
  .proj-index{display:none}
  .act-hero .act-copy{align-items:flex-end}
  .proj-intro{display:none}
}

/* ---------- type: poster-condensed Hebrew + her Didone italic + an editorial body ---------- */
:root{
  --display-he:"IBM Plex Sans Hebrew",sans-serif;
  --body-he:"IBM Plex Sans Hebrew","SF Hebrew",-apple-system,sans-serif;
  --body:"IBM Plex Sans Hebrew",-apple-system,BlinkMacSystemFont,sans-serif;
  --display:"Bodoni Moda","Bodoni 72",Didot,serif;
}
html[lang="he"] .d1,html[lang="he"] .d2,html[lang="he"] .d3,html[lang="he"] .proj-name,html[lang="he"] .cs-title,
html[lang="he"] .work-name,html[lang="he"] .cap-head h3,html[lang="he"] .motion-card h3{
  font-family:var(--display-he); font-weight:700; letter-spacing:-.035em; line-height:.92}
html[lang="he"] .d2{font-size:clamp(3.4rem,8.4vw,8rem)}
html[lang="he"] .d3{font-size:clamp(2.2rem,4.4vw,3.8rem)}
html[lang="he"] .peak-title{font-size:clamp(4.6rem,15vw,15rem); line-height:.8}
html[lang="he"] .proj-name{font-size:clamp(4rem,11vw,11rem); line-height:.82}
html[lang="he"] .cs-title{font-size:clamp(4rem,12vw,10rem)}
html[lang="he"] .work-name{font-size:clamp(2.4rem,6vw,4.6rem)}
html[lang] .act-hero .hero-title{font-family:var(--display); font-style:italic; font-weight:400; letter-spacing:-.035em;
  font-size:clamp(3.6rem,12.5vw,13rem); line-height:.82}
.hero-title .ghost{transform:translate(.045em,.035em)}
.hero-eyebrow{font-family:var(--display-he); font-weight:500; font-size:clamp(1.1rem,1.6vw,1.5rem); line-height:1.2; color:var(--ink)}
html[lang="en"] .hero-eyebrow{font-family:var(--display); font-style:italic}
.proj-name{font-size:clamp(3rem,8vw,8rem); line-height:.88; letter-spacing:-.02em}
html[lang="en"] .d2{font-size:clamp(2.8rem,6.6vw,6.4rem); letter-spacing:-.03em}
html[lang="en"] .peak-title{font-size:clamp(3.4rem,10vw,10rem); letter-spacing:-.04em}
body{font-weight:400}
.lede{font-weight:300; font-size:clamp(1.1rem,1.6vw,1.4rem); line-height:1.55}
.copy{max-width:min(720px,52vw)}

/* the paste-up frame: a hairline sheet edge with crop marks at the four corners */
.frame{position:fixed; inset:14px; z-index:25; pointer-events:none; border:1px solid color-mix(in srgb, var(--ink) 12%, transparent)}
.frame i{position:absolute; width:18px; height:18px}
.frame i::before,.frame i::after{content:""; position:absolute; background:var(--flame)}
.frame i::before{width:18px; height:1px; top:0; left:0} .frame i::after{width:1px; height:18px; top:0; left:0}
.frame i:nth-child(1){top:-9px; left:-9px} .frame i:nth-child(2){top:-9px; right:-9px; transform:scaleX(-1)}
.frame i:nth-child(3){bottom:-9px; left:-9px; transform:scaleY(-1)} .frame i:nth-child(4){bottom:-9px; right:-9px; transform:scale(-1)}
html:not(.gl) .frame{display:none}
html[lang="he"] .peak-title{font-size:clamp(3.6rem,11vw,11rem); line-height:.86}
html[lang="he"] .proj-name{font-size:clamp(3rem,7.6vw,7.4rem); line-height:.9}
html[lang="he"] .d2{font-size:clamp(2.6rem,6vw,5.6rem)}
.hdr{padding-inline:calc(var(--gut) + 6px); top:14px}

/* ================= studio at night: the dark is the design ================= */
:root[data-theme="dark"]{
  --board:#0D0A0F; --plane:#151117; --plane-2:#1C171F; --ink:#F2ECE6; --ink-soft:#B9AFB3; --ink-faint:#7D7379;
  --rule:#2E2731; --rule-soft:#211C24; --flame:#FF6A2B; --tape:rgba(230,220,200,.18)}
#themeBtn{display:none !important}
body::before{display:none}                    /* the old registration grid; the mat carries it now */
html.gl .story::before{content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(120% 90% at 50% 45%, transparent 52%, rgba(4,2,6,.62) 100%)}
.grain{position:fixed; inset:-50%; z-index:24; pointer-events:none; opacity:.07; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation:grain 1s steps(6) infinite}
@keyframes grain{0%{transform:translate(0,0)}20%{transform:translate(-3%,2%)}40%{transform:translate(2%,-3%)}60%{transform:translate(-2%,-1%)}80%{transform:translate(3%,2%)}100%{transform:translate(0,0)}}
html.gl .copy::before{background:radial-gradient(closest-side, rgba(13,10,15,.72), transparent)}
.hdr.stuck{background:color-mix(in srgb, var(--board) 70%, transparent)}

/* gallery + about acts */
html.gl .act-art{height:300svh}
html.gl .act-about{height:190svh}
.art-copy{align-self:flex-end; max-width:min(520px,40vw)}
.act-art .act-copy{align-items:flex-end; padding-bottom:9vh}
.hint{font-size:.875rem; color:var(--ink-faint); margin:0}
.art-fallback{display:none}
html:not(.gl) .art-fallback{display:block}
.act-about .act-copy{align-items:flex-start; padding-top:16vh}
.about-copy{max-width:min(470px,36vw); gap:18px}
.about-copy .belief{font-family:var(--display-he); font-weight:700; font-size:clamp(1.6rem,2.6vw,2.4rem); line-height:1.05; letter-spacing:-.02em; margin:0; color:var(--ink)}
html[lang="en"] .about-copy .belief{font-family:var(--display); font-style:italic; font-weight:400}
.about-copy .body-copy{font-size:.95rem; line-height:1.65}
.about-copy .body-copy p{margin:0 0 .7em}
.about-copy .cap-grid{margin-top:6px; gap:18px; grid-template-columns:repeat(3,1fr)}
.about-copy .cap-head{margin-bottom:8px} .about-copy .cap-head h3{font-size:1rem; font-weight:600}
.about-copy .cap-list{gap:5px} .about-copy .cap-list li,.about-copy .rate{font-size:.8125rem}
.cap-head .spark{display:none}

/* motion: a typographic index, not a grid of cards */
#motion{background:var(--board); padding-block:clamp(90px,12vw,180px)}
#motion .sec-head{margin-bottom:clamp(30px,4vw,56px)}
.motion-grid{display:block; border:0; background:none; border-top:1px solid var(--rule)}
.motion-card{display:grid; grid-template-columns:1fr auto; align-items:baseline; gap:24px; min-height:0; background:none !important;
  padding:clamp(18px,2.4vw,30px) 0; border-bottom:1px solid var(--rule); transition:padding .5s var(--ease), color .3s}
.motion-card .play{display:none}
.motion-card h3{font-size:clamp(1.9rem,4.6vw,4.2rem) !important; line-height:1; transition:color .3s}
.motion-card:hover{padding-inline-start:clamp(10px,2vw,28px)}
.motion-card:hover h3{color:var(--flame)}
.motion-card .dur{margin:0; font-size:.9375rem}

/* contact: the last screen holds */
.contact-sec{background:var(--board) !important; border-top:1px solid var(--rule-soft); padding-block:clamp(100px,14vw,200px)}
.contact-sec .d2{font-size:clamp(3rem,9vw,9rem) !important; line-height:.9}
.flip{font-size:clamp(2.6rem,9vw,8.4rem); line-height:.95}
.ftr{background:var(--board)}
@media (max-width:820px){
  .art-copy,.about-copy{max-width:100%}
  .act-about .act-copy{align-items:flex-end; padding-top:0}
  .about-copy .cap-grid,.about-copy .body-copy p:nth-child(n+2){display:none}
}

/* about: the copy inverts against whatever is behind it, black on her photo, white on the dark */
html.gl .act-about .act-copy{mix-blend-mode:difference}
html.gl .act-about .copy::before{display:none}
html.gl .act-about .copy,html.gl .act-about .copy *{color:#fff !important}
html.gl .act-about .copy .spark{background-color:#fff}
html.gl .act-about .copy{transition:opacity .2s linear}
