/* r65 /programs/ hero v2: the four programs as four sculptures standing in one lit hall.
   Title on top, the hall at the bottom of the first screen, each sculpture links to its program. Smoke spills into Impact. */
.b8-hero{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;min-height:100svh;padding:clamp(120px,15vh,170px) 0 clamp(30px,5vh,56px);text-align:center}
.b8-in{position:relative;z-index:3;max-width:1100px;margin:0 auto}
.b8-in .eyebrow{justify-content:center}
.b8-h{margin:22px auto 0;font-size:clamp(40px,5vw,84px);font-weight:500;line-height:1;letter-spacing:-.05em;color:#F3F5F0;padding-bottom:.08em}
.b8-h span,.b8-h em{display:block;white-space:nowrap;font-style:normal}
.b8-sub{margin:22px auto 0;max-width:32em;font-size:clamp(16.5px,1.25vw,19px);line-height:1.6;color:rgba(243,245,240,.72);text-wrap:pretty}
/* the hall */
.b8-hall{position:relative;z-index:3;flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:clamp(10px,2vw,32px);width:100%;max-width:1360px;margin:clamp(24px,4vh,48px) auto 0;padding:0 var(--gut,24px);min-height:clamp(300px,44svh,520px)}
.b8-hall::before{content:"";position:absolute;left:4%;right:4%;bottom:clamp(64px,9vh,92px);height:2px;background:linear-gradient(90deg,transparent,rgba(130,255,31,.55),transparent);filter:blur(.3px);box-shadow:0 0 30px 6px rgba(130,255,31,.18)}
.b8-hall::after{content:"";position:absolute;left:0;right:0;bottom:clamp(20px,5vh,50px);height:clamp(90px,14vh,150px);background:radial-gradient(50% 60% at 50% 60%,rgba(130,255,31,.16),transparent 75%);pointer-events:none;z-index:-1}
.b8-s{position:relative;display:flex;flex-direction:column;align-items:center;height:100%;text-decoration:none;color:#F3F5F0}
.b8-img{position:relative;flex:1;display:flex;align-items:flex-end;justify-content:center;width:100%;min-height:0}
.b8-img img{display:block;max-width:100%;max-height:clamp(220px,36svh,440px);width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 26px 30px rgba(0,0,0,.55)) brightness(.92);transition:transform .9s cubic-bezier(.22,1,.36,1),filter .6s}
.b8-img::after{content:"";position:absolute;left:18%;right:18%;bottom:-6px;height:16px;border-radius:50%;background:radial-gradient(closest-side,rgba(130,255,31,.0),transparent);transition:background .6s}
.b8-s:hover .b8-img img,.b8-s:focus-visible .b8-img img{transform:translateY(-10px);filter:drop-shadow(0 34px 40px rgba(0,0,0,.6)) drop-shadow(0 0 28px rgba(130,255,31,.25)) brightness(1.04)}
.b8-s:hover .b8-img::after{background:radial-gradient(closest-side,rgba(130,255,31,.5),transparent)}
.b8-l{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:clamp(26px,4vh,40px)}
.b8-l i{font-style:normal;font-size:12.5px;font-weight:600;color:#82FF1F}
.b8-l b{font-size:clamp(15px,1.15vw,18px);font-weight:600;letter-spacing:-.01em}
.b8-l u{text-decoration:none;font-size:13px;color:rgba(243,245,240,.55);opacity:0;transform:translateY(-4px);transition:opacity .4s,transform .4s}
.b8-s:hover .b8-l u,.b8-s:focus-visible .b8-l u{opacity:1;transform:none;color:#82FF1F}
.b8-hall:hover .b8-s:not(:hover) .b8-img img{filter:drop-shadow(0 26px 30px rgba(0,0,0,.55)) brightness(.7)}
@media (max-width:999px){
  .b8-hall{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px;min-height:0}
  .b8-hall::before{display:none}
  .b8-img{height:clamp(170px,24svh,260px)}
  .b8-img img{max-height:100%}
  .b8-l{margin-top:16px}
  .b8-l u{opacity:1;transform:none}
}
@media (max-width:640px){
  .b8-hero{padding-top:118px}
  .b8-h{font-size:min(calc((100vw - 44px) / 9.3),44px)}
  .b8-img{height:clamp(140px,20svh,190px)}
  .b8-l b{font-size:14.5px}
  .b8-l u{display:none}
}
/* fit the whole hall on one screen */
.b8-hero{padding-top:clamp(110px,13vh,150px);padding-bottom:clamp(24px,3.5vh,44px)}
.b8-hall{margin-top:clamp(18px,3vh,40px);min-height:0}
.b8-img img{max-height:clamp(200px,33svh,420px)}
.b8-l{margin-top:clamp(18px,2.6vh,30px)}
.b8-hall::before{bottom:clamp(54px,7.5vh,76px)}
@media (max-width:999px){.b8-img img{max-height:100%}.b8-hall::before{display:none}}
@media (max-width:999px){.b8-img{flex:none;height:clamp(170px,25svh,260px)}}
@media (max-width:640px){.b8-h{font-size:min(calc((100vw - 40px) / 10.9),44px)}.b8-img{height:clamp(118px,16svh,150px)}.b8-hall{row-gap:22px;margin-top:22px}.b8-l{margin-top:10px}.b8-sub{font-size:15.5px}}
/* r67 the hall: sculptures at full brightness (only dimmed while another one is hovered) */
.b8-img img{filter:drop-shadow(0 22px 26px rgba(0,0,0,.4))}

/* r70 (Vedran 21.11) "Pick the one you're in": the smoke fills the whole picture side, top to bottom, and the sculpture
   (the same homepage render as everywhere) stands whole on its plinth in front of it */
.b9-pi{position:relative;overflow:hidden}
.b9-pi .ab-smoke{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;-webkit-mask:linear-gradient(90deg,transparent,#000 34%);mask:linear-gradient(90deg,transparent,#000 34%)}
.b9-pi::before{content:"";position:absolute;left:10%;right:2%;bottom:-6%;height:46%;z-index:0;pointer-events:none;background:radial-gradient(50% 55% at 55% 70%,rgba(130,255,31,.30),rgba(130,255,31,.08) 50%,transparent 75%);filter:blur(12px)}
.b9-pi::after{content:"";position:absolute;left:24%;right:12%;bottom:14px;height:20px;z-index:0;border-radius:50%;pointer-events:none;background:radial-gradient(closest-side,rgba(130,255,31,.45),transparent);filter:blur(5px)}
.b5-pc .b9-pi img{position:absolute;inset:auto;left:0;right:0;top:26px;bottom:18px;margin:0 auto;width:92%;height:calc(100% - 44px);z-index:1;object-fit:contain;object-position:55% 100%;-webkit-mask:none;mask:none;mix-blend-mode:normal;filter:drop-shadow(0 20px 24px rgba(0,0,0,.5))}
.b5-pc:hover .b9-pi img{transform:translateY(-6px) scale(1.02)}
@media (max-width:640px){.b9-pi{height:230px}.b5-pc .b9-pi img{top:18px;bottom:12px;height:calc(100% - 30px)}.b9-pi .ab-smoke{-webkit-mask:linear-gradient(180deg,#000 70%,transparent);mask:linear-gradient(180deg,#000 70%,transparent)}}

/* r81 mobile pass (21.11): the whole hall fits the first phone screen, all four sculptures with their names (the second row ran
   past the fold on a 6.1" iPhone and under the chat button). The sculptures size with the screen height, a touch tighter rhythm. */
@media (max-width:640px){
  .b8-hero{padding-top:92px}
  .b8-h{margin-top:16px}
  .b8-sub{margin-top:14px}
  .b8-hall{flex:none;margin-top:18px}
  .b8-img{height:clamp(88px,calc((100svh - 450px) / 2),150px)}
}
/* c43 (Vedran 24.11: "the numbers on that line look weird - put them in a circle that covers the line"): each number is a dark disc with
   a lime ring sitting exactly on the line (the line's height is measured from the first disc, programs/index.html) */
.b8-hall::before{bottom:var(--ly,clamp(54px,7.5vh,76px))}
.b8-l{gap:8px}
.b8-l i{position:relative;z-index:1;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-size:12.5px;font-weight:600;letter-spacing:0;color:#82FF1F;background:#0B0C0B;box-shadow:inset 0 0 0 1.5px rgba(130,255,31,.75),0 0 0 6px #0B0C0B,0 0 24px rgba(130,255,31,.28);transition:background-color .35s,color .35s}
.b8-s:hover .b8-l i,.b8-s:focus-visible .b8-l i{background:#82FF1F;color:#0B0C0B}
@media (max-width:999px){.b8-l i{box-shadow:inset 0 0 0 1.5px rgba(130,255,31,.75),0 0 20px rgba(130,255,31,.22)}}
/* c43: Proof - four programs, four results */
.b8r-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:1320px;margin:0 auto}
.b8r-c{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:22px;color:#F3F5F0;text-decoration:none;background:linear-gradient(180deg,rgba(243,245,240,.05),rgba(243,245,240,.012));box-shadow:inset 0 0 0 1px rgba(243,245,240,.1);transition:box-shadow .4s,transform .6s cubic-bezier(.22,1,.36,1)}
.b8r-c:hover{box-shadow:inset 0 0 0 1px rgba(130,255,31,.45),0 30px 80px -40px rgba(130,255,31,.35);transform:translateY(-4px)}
.b8r-img{position:relative;display:block;aspect-ratio:16/10;overflow:hidden}
.b8r-img img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
.b8r-img:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(11,12,11,.85))}
.b8r-c:hover .b8r-img img{transform:scale(1.05)}
.b8r-b{display:flex;flex-direction:column;flex:1;padding:4px 22px 22px;margin-top:-18px;position:relative}
.b8r-p{display:flex;align-items:center;gap:10px;font-size:13.5px;font-weight:500;color:rgba(243,245,240,.72)}
.b8r-p i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-style:normal;font-size:11px;font-weight:600;color:#82FF1F;background:#0B0C0B;box-shadow:inset 0 0 0 1.3px rgba(130,255,31,.7)}
.b8r-n{display:block;margin-top:22px;font-size:clamp(44px,4.2vw,64px);font-weight:500;line-height:1;letter-spacing:-.05em;color:#82FF1F;padding-bottom:.06em}
.b8r-l{display:block;margin-top:6px;font-size:15px;font-weight:500;color:#F3F5F0}
.b8r-s{display:block;margin-top:14px;font-size:14.5px;line-height:1.5;color:rgba(243,245,240,.6);text-wrap:pretty}
.b8r-f{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:22px;border-top:1px solid rgba(243,245,240,.08);margin-bottom:14px}
.b8r-s{margin-bottom:22px}
.b8r-f img{height:18px;width:auto;max-width:96px;filter:brightness(0) invert(1);opacity:.85}
.b8r-f em{font-style:normal;font-size:12.5px;color:rgba(243,245,240,.5)}
.b8r-c u{text-decoration:none;font-size:14px;font-weight:500;color:rgba(243,245,240,.72);transition:color .3s}
.b8r-c:hover u{color:#82FF1F}
@media (max-width:1100px){.b8r-g{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.b8r-g{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 calc(var(--gut,20px) * -1);padding:0 var(--gut,20px) 4px;scrollbar-width:none}.b8r-g::-webkit-scrollbar{display:none}.b8r-c{flex:0 0 82vw;scroll-snap-align:center}}
.b8r-f{min-height:56px}.b8r-l{text-wrap:balance}
