/* ===== 1. HERO (dark, soft glow, before/after cards) ===== */
.hero{position:relative;overflow:hidden;min-height:100svh;display:flex;flex-direction:column;padding-top:5.5rem;padding-bottom:clamp(3rem,8vw,6rem);background:var(--ink);color:var(--cream)}
.hero::after{content:"";position:absolute;inset-inline:0;bottom:0;height:clamp(120px,22vh,220px);background:linear-gradient(to bottom,transparent,var(--ink));pointer-events:none;z-index:1}
.hero .container{position:relative;z-index:1}
.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:inherit}
.wordmark{height:22px;width:auto;aspect-ratio:923/154;color:inherit;display:block}
.glow{position:absolute;border-radius:50%;pointer-events:none;z-index:0;background:radial-gradient(circle,var(--glow-c) 0%,color-mix(in srgb,var(--glow-c) 55%,transparent) 30%,transparent 68%)!important}
.glow-1{--glow-c:var(--accent);width:70vw;height:70vw;max-width:980px;max-height:980px;top:-24vw;inset-inline-start:-20vw;opacity:.42}
.glow-2{--glow-c:var(--wine);width:64vw;height:64vw;max-width:900px;max-height:900px;bottom:-28vw;inset-inline-end:-18vw;opacity:.85}
.hero-stage{flex:1;display:grid;align-items:center;gap:clamp(1.5rem,4vw,3rem);padding-block:clamp(2rem,6vw,4rem) clamp(1rem,4vw,3rem);position:relative;text-align:center}
@media (min-width:900px){.hero-stage{grid-template-columns:clamp(200px,16vw,250px) minmax(0,1fr) clamp(200px,16vw,250px);column-gap:clamp(2.5rem,6vw,7rem);margin-inline:calc(50% - 50vw + clamp(2.5rem,5vw,6rem));width:auto}}
.hero-copy{position:relative;z-index:2}
.hero-copy{container-type:inline-size;position:relative;z-index:2;text-align:center;max-width:900px;margin-inline:auto;width:100%}
.hero-lines{display:inline-grid;gap:.15rem;margin:0 auto 1.75rem;justify-items:stretch;text-align:start;grid-template-columns:max-content}
.display{font-size:clamp(2rem,11.3cqw,6rem);line-height:1.08;font-weight:900;letter-spacing:-.01em;margin:0;white-space:nowrap}
.uline{position:relative;display:inline-block}
.uline span{position:relative;z-index:1}
.uline svg{position:absolute;inset-inline:-.02em;bottom:-.12em;height:.32em;width:104%;overflow:visible}
.uline path{fill:none;stroke:var(--accent);stroke-width:7;stroke-linecap:round;stroke-dasharray:200;stroke-dashoffset:0}
.uline.is-drawing path{animation:ulineIn .9s var(--ease) .5s both}
@keyframes ulineIn{from{stroke-dashoffset:200}to{stroke-dashoffset:0}}
.lead-line{font-family:var(--font-head);font-weight:400;font-size:clamp(1rem,4.9cqw,2.6rem);line-height:1.3;color:color-mix(in srgb,var(--cream) 90%,transparent);margin:0;white-space:nowrap;width:100%;text-align:justify;text-align-last:justify;text-justify:inter-word}
.lead-line .typed-box{display:inline;white-space:nowrap}
.lead-line .typed{font-weight:900;color:var(--cream)}
.caret{display:inline-block;width:.07em;height:.9em;background:var(--cream);margin-inline-start:.06em;vertical-align:-.08em;animation:caret 1s steps(2,start) infinite}
@keyframes caret{to{visibility:hidden}}
.hero-tag-m{display:none}
@media (max-width:899px){.hero{padding-top:calc(.9rem + env(safe-area-inset-top,0px));min-height:0;padding-bottom:2.25rem}
  /* phones (Sivan, 21.9): the wordmark, solid white, at the very top above the slides; the tagline under the buttons; no arrow */
  .hero::after{display:none} /* the bottom darkening gradient: with the short phone hero it fell right on the buttons and dimmed them (Sivan, 21.9) */
  .hero-foot{order:-1;margin:0;padding:0}
  .hero-foot .hero-logo{color:#fff;opacity:1;height:24px}
  .hero-foot .hero-trust,.hero-foot .hero-arrow{display:none}
  .hero-tag-m{display:block;margin:1.1rem auto 0;text-align:center;color:var(--cream);opacity:.85;font-family:var(--font-sans);font-weight:200;font-size:1rem;letter-spacing:.05em} /* phones: no top nav, and the hero is as tall as its content, not a full screen (Sivan, 21.9) */ .hero-stage{padding-block:1.75rem 1rem} /* phones (Sivan, 21.9): one line like desktop - the lead line spans exactly the headline width, justified, font set by fitLeadLine */ .lead-line{line-height:1.3}}
.hero-cta{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}
.hero .btn-ghost{color:var(--cream);border-color:color-mix(in srgb,var(--cream) 30%,transparent)}
.hero .btn-ghost:hover{border-color:color-mix(in srgb,var(--cream) 60%,transparent)}
.hero .hero-trust{margin-top:.9rem;min-height:1.5em;opacity:.9;color:var(--cream);font-family:var(--font-sans);font-weight:200;font-size:clamp(1rem,1.3vw,1.2rem);letter-spacing:.05em}
.hero-foot{position:relative;z-index:2;text-align:center;margin-top:clamp(1rem,3vh,2rem)}
.hero-arrow{width:20px;height:auto;margin:.6rem auto 0;color:color-mix(in srgb,var(--cream) 70%,transparent);fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;animation:heroArrow 1.8s ease-in-out infinite}
@keyframes heroArrow{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}
@media (prefers-reduced-motion:reduce){.hero-arrow{animation:none}}
.hero-logo{display:block;height:clamp(26px,2.6vw,36px);width:auto;aspect-ratio:923/154;color:var(--cream);margin:0 auto}
.ui-card{position:relative;width:100%;margin-inline:auto;aspect-ratio:4/3;border-radius:22px;box-shadow:0 40px 70px -30px rgba(28,15,31,.6);animation:float 7s ease-in-out infinite;transform:rotate(var(--r,0));background:var(--cream);color:var(--ink);overflow:hidden}
.hero-slides{display:none}
/* the hero rows drift at about half the collage's pace - the faster roll felt like cognitive load (Sivan, 21.9). desktop and phones alike */
.hero-slides .collage-row{animation-duration:110s}
.hero-slides .collage-row:nth-child(2){animation-duration:128s}
.hero-slides .collage-row:nth-child(3){animation-duration:118s}
/* desktop experiment (Sivan, 21.9): no cards - the client slides drift as a faint tilted layer behind the centred headline. `.hero--slides` is set by main.js (off with ?hero=cards) */
@media (min-width:900px){
  .hero--slides .ui-stack{display:none}
  .hero--slides .hero-stage{grid-template-columns:minmax(0,1fr);column-gap:0}
  .hero--slides .hero-copy{max-width:720px} /* one column now: without a cap the headline would jump to 96px */
  .hero--slides .hero-slides{display:block;position:absolute;top:-22%;bottom:-18%;left:50%;width:100vw;translate:-50% 0;z-index:0;overflow:hidden;direction:ltr;pointer-events:none; /* full viewport width: the stage has side margins, and the layer was cut off at the edges (Sivan, 21.9) */
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 10%,#000 76%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 10%,#000 76%,transparent 100%)}
  /* the quiet zone behind the text is a soft rounded rectangle (Sivan, 21.9: not an ellipse): the hero's own ink, blurred edges, hugging the copy block */
  .hero--slides .hero-copy::before{content:"";position:absolute;inset:-44px -96px;border-radius:88px;background:var(--ink);filter:blur(38px);opacity:.92;z-index:-1;pointer-events:none} /* a full-width band was tried and rejected the same day (Sivan, 21.9) */ /* blurred, so it reads as the shape of the fade and not as a drawn box (Sivan, 21.9) */
  .hero--slides .hero-slides .collage-rows{inset:-18% -22%;justify-content:center;transform:rotate(-8deg);gap:clamp(12px,1.2vw,18px)}
  .hero--slides .hero-slides .collage-row{gap:clamp(12px,1.2vw,18px)}
  /* every row the other way round (Sivan, 21.9): odd rows drift one way, even rows the other, each at its own pace */
  .hero--slides .hero-slides .collage-row:nth-child(odd){animation-direction:normal}
  .hero--slides .hero-slides .collage-row:nth-child(even){animation-direction:reverse}
  .hero--slides .hero-slides .collage-row:nth-child(4){animation-duration:122s;animation-delay:-14s}
  .hero--slides .hero-slides .collage-row:nth-child(5){animation-duration:136s;animation-delay:-27s}
  .hero--slides .hero-slides .collage-tile{width:clamp(170px,15vw,230px);opacity:.3;transform:none;border-radius:10px;box-shadow:0 14px 30px -18px rgba(0,0,0,.6);cursor:default}
  .hero--slides .hero-slides .collage-tile img{opacity:1}
}
.ui-stack{position:relative;width:100%;max-width:240px;margin-inline:auto}
@media (min-width:900px){.ui-stack{margin-bottom:32%}}
.ui-a{--r:-6deg}
.ui-b{--r:6deg;animation-delay:-3.5s}
.ui-glass{position:absolute;width:76%;top:58%;z-index:-1;background:color-mix(in srgb,var(--cream) 9%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid color-mix(in srgb,var(--cream) 22%,transparent);color:var(--cream);box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.ui-c{--r:5deg;inset-inline-end:-16%;animation-delay:-1.8s}
.ui-d{--r:-5deg;inset-inline-start:-16%;animation-delay:-5.2s}
.ui-glass .ui-tag{background:color-mix(in srgb,var(--cream) 14%,transparent);color:var(--cream)}
.ui-glass .slide-draft i,.ui-glass .slide-draft .bul::before{background:var(--cream)}
.ui-glass .slide-draft i{opacity:.42}.ui-glass .slide-draft .d-title{opacity:.7}
.ui-glass .f-title,.ui-glass .f-sub,.ui-glass .f-quote .ql,.ui-glass .f-who .ln{background:var(--cream)}
.ui-glass .f-tags i:nth-child(2),.ui-glass .f-tags i:nth-child(3){background:color-mix(in srgb,var(--cream) 22%,transparent)}
.ui-tag,.ui-badge{position:absolute;top:.85rem;inset-inline-start:.85rem;font-size:.66rem;font-weight:800;letter-spacing:.06em;padding:.3em .7em;border-radius:999px;z-index:3}
.ui-tag{background:color-mix(in srgb,var(--ink) 10%,transparent)}
.ui-badge{background:var(--neon);color:var(--ink)}
/* the slide designs itself: 6.5s loop, both states share the timeline; --ph offsets the second card */
.ui-auto *{animation-duration:6.5s;animation-iteration-count:infinite;animation-timing-function:var(--ease);animation-delay:calc(var(--ph,0) * -6.5s);animation-play-state:var(--ps,running)}
.ui-auto .ui-tag{animation-name:tagDraft}
.ui-auto .ui-badge{animation-name:tagFinal}
@keyframes tagDraft{0%,30%{opacity:1;transform:none}36%,90%{opacity:0;transform:translateY(-6px)}96%,100%{opacity:1;transform:none}}
@keyframes tagFinal{0%,34%{opacity:0;transform:translateY(6px)}40%,88%{opacity:1;transform:none}94%,100%{opacity:0;transform:translateY(6px)}}
.slide-draft,.slide-final{position:absolute;inset:0;padding:2.6rem 1.1rem 1.1rem}
.slide-draft{display:flex;flex-direction:column;gap:.5rem;animation-name:draftOut}
.slide-draft i{display:block;height:7px;border-radius:999px;background:var(--ink);opacity:.16;animation-name:bulOut}
.slide-draft .d-title{height:11px;width:60%;opacity:.4;margin-bottom:.35rem}
.slide-draft .bul{position:relative;margin-inline-start:14px}
.slide-draft .bul::before{content:"";position:absolute;inset-inline-start:-14px;top:0;width:7px;height:7px;border-radius:50%;background:var(--ink)}
.w55{width:55%}.w65{width:65%}.w70{width:70%}.w80{width:80%}.w90{width:90%}
.slide-draft .bul:nth-child(2){animation-delay:calc(var(--ph,0) * -6.5s + .05s)}.slide-draft .bul:nth-child(3){animation-delay:calc(var(--ph,0) * -6.5s + .1s)}.slide-draft .bul:nth-child(4){animation-delay:calc(var(--ph,0) * -6.5s + .15s)}.slide-draft .bul:nth-child(5){animation-delay:calc(var(--ph,0) * -6.5s + .2s)}.slide-draft .bul:nth-child(6){animation-delay:calc(var(--ph,0) * -6.5s + .25s)}
@keyframes draftOut{0%,30%{opacity:1}38%,90%{opacity:0}96%,100%{opacity:1}}
@keyframes bulOut{0%,30%{transform:none}38%,90%{transform:translateX(-40px) scale(.6)}96%,100%{transform:none}}
.slide-final{animation-name:finalIn;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto 1fr;gap:.45rem .6rem;align-content:start}
@keyframes finalIn{0%,34%{opacity:0;transform:scale(.96)}42%,88%{opacity:1;transform:none}94%,100%{opacity:0;transform:scale(.96)}}
.f-title{grid-column:1/-1;height:12px;width:70%;border-radius:999px;background:var(--ink);transform-origin:right;animation-name:growX}
.f-sub{grid-column:1/-1;height:7px;width:45%;border-radius:999px;background:var(--ink);opacity:.35;transform-origin:right;animation-name:growX}
@keyframes growX{0%,36%{transform:scaleX(0)}48%,90%{transform:scaleX(1)}96%,100%{transform:scaleX(0)}}
.f-img{border-radius:10px;background:linear-gradient(135deg,var(--wine),var(--lavender));min-height:52px;position:relative;overflow:hidden;animation-name:imgIn}
.f-img span{position:absolute;width:60%;height:60%;border-radius:50%;background:color-mix(in srgb,var(--cream) 35%,transparent);inset-inline-end:-15%;bottom:-20%;animation-name:blob}
@keyframes imgIn{0%,38%{opacity:0;transform:translateY(10px)}50%,90%{opacity:1;transform:none}96%,100%{opacity:0}}
@keyframes blob{0%,50%{transform:scale(.6)}70%{transform:scale(1.15)}90%{transform:scale(1)}100%{transform:scale(.6)}}
.f-chart{display:flex;align-items:flex-end;gap:5px;height:52px;padding-inline:4px}
.f-chart b{flex:1;border-radius:4px 4px 2px 2px;background:var(--accent);height:calc(var(--h) * 100%);transform-origin:bottom;animation-name:bar}
.f-chart b:nth-child(2){animation-delay:calc(var(--ph,0) * -6.5s + .12s)}.f-chart b:nth-child(3){animation-delay:calc(var(--ph,0) * -6.5s + .24s)}.f-chart b:nth-child(4){animation-delay:calc(var(--ph,0) * -6.5s + .36s)}
@keyframes bar{0%,42%{transform:scaleY(0)}56%,88%{transform:scaleY(1)}94%,100%{transform:scaleY(0)}}
.f-dot{position:absolute;top:.8rem;inset-inline-end:.8rem;width:12px;height:12px;border-radius:50%;background:var(--accent);animation-name:dotPulse}
@keyframes dotPulse{0%,40%{opacity:0;box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 40%,transparent)}50%{opacity:1}62%{box-shadow:0 0 0 10px transparent}74%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 40%,transparent)}86%{box-shadow:0 0 0 10px transparent;opacity:1}94%,100%{opacity:0}}
.f-num{grid-row:2;font-family:var(--font-head);font-weight:900;font-size:2rem;line-height:1;color:var(--accent);direction:ltr;animation-name:numIn;align-self:center}
@keyframes numIn{0%,40%{opacity:0;transform:translateY(8px)}52%,90%{opacity:1;transform:none}96%,100%{opacity:0}}
.f-ring{grid-row:2;width:56px;height:56px;justify-self:start;animation-name:imgIn}
.f-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.f-ring circle{fill:none;stroke:color-mix(in srgb,var(--ink) 12%,transparent);stroke-width:3.5}
.f-ring .arc{stroke:var(--ink);stroke-dasharray:97.4;stroke-dashoffset:calc(97.4 * .16);animation-name:arc}
@keyframes arc{0%,44%{stroke-dashoffset:97.4}60%,90%{stroke-dashoffset:calc(97.4 * .16)}96%,100%{stroke-dashoffset:97.4}}
.f-title.w80{width:80%}.f-title.w60{width:60%}
.f-dark{grid-column:1/-1;grid-row:1/-1;background:var(--ink);border-radius:12px;padding:.8rem .9rem;display:flex;flex-direction:column;gap:.45rem;animation-name:imgIn}
.f-big{display:block;height:11px;width:85%;border-radius:999px;background:var(--cream);transform-origin:right;animation-name:growX}
.f-big.w60{width:60%;opacity:.6}
.f-pills{display:flex;gap:5px;margin-top:.2rem}
.f-pills b{flex:1;height:16px;border-radius:999px;background:var(--accent);animation-name:imgIn}
.f-pills b:nth-child(2){animation-delay:calc(var(--ph,0) * -6.5s + .1s);background:color-mix(in srgb,var(--cream) 22%,transparent)}.f-pills b:nth-child(3){animation-delay:calc(var(--ph,0) * -6.5s + .2s);background:color-mix(in srgb,var(--cream) 22%,transparent)}
.f-hbars{display:flex;flex-direction:column;gap:5px;margin-top:auto}
.f-hbars i{display:block;height:6px;border-radius:999px;background:var(--accent-light);width:calc(var(--w) * 100%);transform-origin:right;animation-name:growX}
.f-hbars i:nth-child(2){animation-delay:calc(var(--ph,0) * -6.5s + .15s)}
.f-photo{grid-column:1/-1;border-radius:12px;min-height:58px;background:linear-gradient(120deg,var(--lavender),var(--accent-light));position:relative;overflow:hidden;animation-name:imgIn}
.f-photo span{position:absolute;width:45%;height:70%;border-radius:50%;background:color-mix(in srgb,var(--wine) 40%,transparent);inset-inline-start:8%;bottom:-25%;animation-name:blob}
.f-rows{grid-column:1/-1;display:flex;flex-direction:column;gap:.5rem;margin-top:.2rem}
.f-rows div{display:flex;align-items:center;gap:8px}
.f-rows .lbl{width:28px;height:6px;border-radius:999px;background:var(--ink);opacity:.35;flex:none}
.f-rows .bar{flex:none;width:calc(var(--w) * 70%);height:10px;border-radius:999px;background:var(--accent);transform-origin:right;animation-name:growX}
.f-rows div:nth-child(2) .bar{animation-delay:calc(var(--ph,0) * -6.5s + .12s);background:var(--ink)}.f-rows div:nth-child(3) .bar{animation-delay:calc(var(--ph,0) * -6.5s + .24s)}
.f-quote{grid-column:1/-1;grid-row:1/-1;display:flex;flex-direction:column;gap:.45rem;justify-content:center}
.f-quote .q{font-family:var(--font-head);font-weight:900;font-size:2.6rem;line-height:.6;color:var(--accent);animation-name:numIn}
.f-quote .ql{display:block;height:9px;border-radius:999px;background:var(--ink);opacity:.55;transform-origin:right;animation-name:growX}
.f-quote .ql:nth-child(3){animation-delay:calc(var(--ph,0) * -6.5s + .1s)}
.f-who{display:flex;align-items:center;gap:8px;margin-top:.3rem;animation-name:imgIn}
.f-who .av{width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,var(--wine),var(--lavender));flex:none}
.f-who .ln{display:block;height:6px;border-radius:999px;background:var(--ink);opacity:.35;width:50%}
.f-tags{grid-column:1/-1;display:flex;gap:5px;align-self:end}
.f-tags i{height:14px;border-radius:999px;background:var(--accent-light);flex:1;animation-name:imgIn}
.f-tags i:nth-child(2){animation-delay:calc(var(--ph,0) * -6.5s + .1s);background:color-mix(in srgb,var(--ink) 14%,transparent)}.f-tags i:nth-child(3){animation-delay:calc(var(--ph,0) * -6.5s + .2s);background:color-mix(in srgb,var(--ink) 14%,transparent)}
@keyframes float{0%,100%{transform:rotate(var(--r,0)) translateY(0)}50%{transform:rotate(var(--r,0)) translateY(-12px)}}
@media (max-width:899px){
  /* phones: headline + line + buttons only, the draft/final cards are gone (Sivan, 21.9). the lead line balances on two equal lines (or one) */
  .hero-stage{grid-template-columns:1fr;grid-template-areas:"slides" "copy";row-gap:0;padding-top:0}
  .ui-stack{display:none}
  /* instead of the cards: three tilted rows of real client slides drifting behind/above the headline, fading into the dark (Sivan, 21.9) */
  .hero-slides{display:block;grid-area:slides;position:relative;height:clamp(220px,62vw,270px);margin:-12px calc(-1 * var(--gutter)) .25rem;overflow:hidden;direction:ltr; /* pulled up: the slides sit centred between the wordmark and the headline (Sivan, 21.9) */
    -webkit-mask-image:linear-gradient(180deg,#000 0,#000 64%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 64%,transparent 100%)} /* no fade at the top, only into the headline (Sivan, 21.9) */
  /* nothing sliced at the top: the block turns around its top edge and starts low enough that the rising side still stays inside the box */
  .hero-slides .collage-rows{inset:0 -35% auto;justify-content:flex-start;padding-top:clamp(36px,10vw,44px);transform:rotate(-7deg);transform-origin:top center;gap:10px}
  .hero-slides .collage-row{gap:10px}
  .hero-slides .collage-tile{width:clamp(96px,27vw,120px);opacity:.42;transform:none;border-radius:8px;box-shadow:0 10px 24px -14px rgba(0,0,0,.6);cursor:default}
  .hero-slides .collage-tile img{opacity:1}
  .hero-copy{grid-area:copy}
}
@media (prefers-reduced-motion:reduce){.ui-card{animation:none}.ui-auto{--ps:paused;--ph:.6}.caret{animation:none}}

/* ===== 2. LOGOS ===== */
.logos{background:var(--ink);color:var(--cream);padding-block:clamp(2.5rem,6vw,4rem)}
.logos .eyebrow{text-align:center;margin-bottom:2rem;color:var(--cream);font-size:clamp(1.4rem,2.4vw,1.9rem)}

/* ===== 2.5 TYPES ===== */
.types-gallery{position:relative;overflow:hidden;margin-inline:calc(-1 * var(--gutter));padding-block:.5rem 1rem;touch-action:pan-y;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%)}
.types-track{display:flex;gap:1.25rem;width:max-content;padding-inline:var(--gutter);will-change:transform}
.types-track .type-card{flex:none;width:min(340px,78vw);user-select:none}

.type-card{position:relative;background:color-mix(in srgb,var(--cream) 7%,transparent);border:1px solid color-mix(in srgb,var(--cream) 16%,transparent);box-shadow:none;color:var(--cream);border-radius:var(--radius-lg);padding:clamp(1.5rem,3vw,2rem);padding-top:6.6rem;display:flex;flex-direction:column;gap:.5rem;transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.type-card:hover{transform:translateY(-6px);background:color-mix(in srgb,var(--cream) 10%,transparent);border-color:color-mix(in srgb,var(--cream) 26%,transparent)}
.type-card .h3{font-size:clamp(1.2rem,1.8vw,1.4rem)}
.type-card p{color:color-mix(in srgb,var(--cream) 78%,transparent);font-size:.98rem}
.type-icon{position:absolute;top:1.1rem;inset-inline-start:1.1rem;width:72px;height:72px;transition:transform .5s var(--ease)}
.type-icon svg{display:block}
.type-card:hover .type-icon{transform:scale(1.08)}

/* ===== 3. WORK ===== */
.work .section-head{max-width:900px;margin-bottom:2.5rem}
.head-fit{display:inline-grid;grid-template-columns:max-content;justify-items:stretch;text-align:start}
.head-fit .h2-fit{display:grid}
.section-head.centered .sub.sub-tuck{margin:-.3em 0 0;width:0;min-width:100%;box-sizing:border-box;padding-inline-start:var(--k-offset,0px);text-align:start;font-family:var(--font-note);font-size:clamp(1.05rem,1.55vw,1.35rem);line-height:1.2;color:var(--ink);max-width:none;white-space:nowrap}
.mini-cta{margin-top:clamp(2.5rem,6vw,4rem);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1.25rem;padding:clamp(1.5rem,3vw,2.25rem);border-radius:var(--radius-lg);background:var(--cream-2);text-align:center}
.mini-cta p{font-size:var(--fs-lead);font-weight:700;line-height:1.3;max-width:26ch}

/* ===== 3.5 NUMBERS ===== */
.numbers{background:var(--green);color:var(--cream);position:relative;overflow:hidden}
.numbers::before{content:"";position:absolute;inset-inline:0;top:0;height:10px;background:repeating-linear-gradient(90deg,var(--red) 0 22px,transparent 22px 44px);opacity:.9}
.numbers.section{padding-block:clamp(2.25rem,4.5vw,3.25rem)}
.numbers-grid{display:grid;gap:1.75rem 1rem;grid-template-columns:repeat(2,1fr);text-align:center}
.numbers-grid li{position:relative;padding-inline:.5rem}
@media (min-width:1024px){.numbers-grid li:not(:last-child)::after{content:"";position:absolute;top:12%;bottom:12%;inset-inline-end:-.5rem;width:1px;background:color-mix(in srgb,var(--cream) 18%,transparent)}}
@media (min-width:700px){.numbers-grid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1024px){.numbers-grid{grid-template-columns:repeat(5,1fr)}}
.num{font-size:var(--fs-num);font-weight:800;line-height:.9;letter-spacing:-.035em;font-variant-numeric:tabular-nums;direction:ltr;display:inline-flex;flex-direction:row-reverse;align-items:flex-start;justify-content:center}
.num .plus{color:var(--red);font-size:.55em;line-height:1.3;margin-right:.06em}
.num-label{margin:.6rem auto 0;font-size:var(--fs-body);opacity:.82;max-width:20ch;line-height:1.35}
/* phones: no numbers section - 7 years is in the story, 550+/300+ sit in the academy cards, and the two left over become chips in their own sections (Sivan, 21.9) */
.stat-chip{display:none}
.offer-note .on-phone{display:none}
@media (max-width:899px){
  .numbers{display:none}
  .stat-chip{display:inline-flex;align-items:baseline;gap:.35em;margin:0 auto;padding:.45em 1em .4em;border-radius:999px;background:var(--accent-light);color:var(--ink);font-family:var(--font-sans);font-weight:700;font-size:.95rem;line-height:1}
  .stat-chip b{font-family:var(--font-head);font-weight:800;font-size:1.15em;font-variant-numeric:tabular-nums;direction:ltr}
  .stat-chip .num-value{font-variant-numeric:tabular-nums;min-width:2ch;display:inline-block;text-align:end}
  .offer-note .on-desk{display:none}.offer-note .on-phone{display:inline}
  .work .section-head .stat-chip{margin-bottom:.9rem}
}

/* ===== 4. WHY ===== */
.section-head.centered{margin-inline:auto;text-align:center}
.academy-logo{display:block;margin:0 auto clamp(1rem,2vw,1.4rem);height:clamp(40px,4.4vw,60px);width:auto;max-width:80%} /* POWERSKILL ACADEMY logo replaces the eyebrow in #academy (Sivan, 27.9) */
.section-head.centered .sub{margin:1.4rem auto 0;text-align:center;max-width:60ch}
.section-head.centered .sub.sub-note{font-family:var(--font-note);font-size:clamp(1.25rem,1.9vw,1.6rem);color:var(--accent);margin-top:-.2rem}
/* Sivan, early on the page (19.9.2026): a compact ink card with a wine glow, like the big cards of the site but small; the cut-out
   photo stands on the card's bottom edge and rises above its top, with nothing boxed behind her */
.why-me{position:relative;max-width:1000px;margin:clamp(4rem,7vw,5.5rem) auto 0;padding:clamp(1.5rem,2.6vw,2.25rem) clamp(1.5rem,3vw,2.5rem);padding-inline-start:clamp(9.5rem,17.5%,12rem);min-height:172px;background:var(--ink);color:var(--cream);border-radius:999px; /* a pill, fully rounded (Sivan, 21.9) */box-shadow:0 40px 80px -44px rgba(28,15,31,.55);overflow:visible;display:flex;align-items:center}
.why-me::before{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(60% 120% at 92% 110%,color-mix(in srgb,var(--wine) 70%,transparent),transparent 70%);pointer-events:none}
/* the portrait in a circle (Sivan, 21.9): cut-out over a wine→lavender disc, thin light ring, sits on the card's start side */
.why-me-photo{position:absolute;top:50%;translate:0 -50%;inset-inline-start:clamp(1.25rem,2.6vw,2rem);width:clamp(6.75rem,12%,8.5rem);aspect-ratio:1;height:auto;z-index:1;border-radius:50%;object-fit:cover;object-position:50% 4%;background:linear-gradient(160deg,var(--wine),var(--lavender));box-shadow:0 0 0 4px var(--ink),0 0 0 6px color-mix(in srgb,var(--accent-light) 75%,transparent),0 26px 44px -20px rgba(0,0,0,.55)}
.why-me-text{position:relative;z-index:1;width:100%}
.why-me-line{font-size:clamp(1.05rem,1.4vw,1.3rem);line-height:1.55;font-weight:400;color:color-mix(in srgb,var(--cream) 88%,transparent);text-wrap:pretty}
.why-me-line strong{font-weight:800;color:var(--cream)}
.why-me-sign{margin-top:.7rem;font-family:var(--font-note);font-size:1.2rem;color:var(--accent-light)}
@media (max-width:759px){
  .why-me{padding:0 1.25rem 1.5rem;padding-top:clamp(3.25rem,14vw,3.75rem);margin-top:clamp(3.5rem,14vw,4.25rem);min-height:0;display:block;text-align:center;border-radius:var(--radius-lg)} /* phones: a rounded rectangle, the pill is desktop only (Sivan, 21.9) */
  .why-me-photo{top:0;translate:0 -50%;inset-inline-start:50%;transform:translateX(50%);width:clamp(4.5rem,22vw,5.25rem)} /* smaller on phones (Sivan, 21.9) */ /* half over the card's top edge, centred */
  .why-me-line{max-width:none}
}
.why-grid{display:grid;gap:1.25rem;grid-template-columns:1fr;align-items:center}
@media (min-width:800px){.why-grid{grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2.5vw,2rem)}}
.why-card{position:relative;background:rgba(255,255,255,.72);border:1px solid var(--line);border-radius:28px;padding:6rem clamp(1.6rem,3vw,2.5rem) clamp(2rem,3.4vw,3rem);display:flex;flex-direction:column;gap:.75rem;box-shadow:0 30px 60px -36px rgba(51,29,38,.45);transition:transform .6s var(--ease),box-shadow .6s var(--ease);will-change:transform}
.why-icon{position:absolute;top:1.4rem;inset-inline-start:1.4rem;width:58px;height:58px;border-radius:50%;background:var(--red);color:var(--cream);display:grid;place-items:center}
.why-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.why-card .h3{font-size:clamp(1.5rem,2.45vw,1.95rem)}
.why-card p{color:var(--ink-soft);font-size:clamp(1.05rem,1.25vw,1.15rem)}
@media (min-width:800px){
  .why-card{padding-top:clamp(5.25rem,5.8vw,6rem)}
  .why-grid:not(.is-animated) .why-card:nth-child(1){transform:rotate(-3deg) translateY(14px)}
  .why-grid:not(.is-animated) .why-card:nth-child(2){transform:translateY(-10px)}
  .why-grid:not(.is-animated) .why-card:nth-child(3){transform:rotate(3deg) translateY(14px)}
  .why-grid:not(.is-animated) .why-card:hover{transform:rotate(0) translateY(-6px)}
  .why-grid.is-animated .why-card{transition:box-shadow .6s var(--ease)} /* gsap owns the transform there (scrub + hover); a CSS transform transition would fight it */
  .why-card:hover{box-shadow:0 40px 70px -34px rgba(51,29,38,.55)}
}

/* ===== 5. ACADEMY: workshops + courses (offer cards) ===== */
.academy{background:var(--ink);color:var(--cream);position:relative;overflow:hidden}
.academy .glow-a{--glow-c:var(--wine);width:70vw;height:70vw;max-width:1000px;max-height:1000px;top:-35vw;inset-inline-start:50%;transform:translateX(50%);opacity:.8}
.academy .section-head{position:relative;margin-bottom:clamp(2rem,4vw,3rem)}
.academy .h2-fit{font-size:clamp(2.4rem,6vw,5rem)}
.academy .section-head .sub{color:color-mix(in srgb,var(--cream) 78%,transparent)}
.eyebrow-dot{display:flex;justify-content:center;margin-bottom:1rem}
.eyebrow-dot .lbl{display:inline-flex;align-items:center;gap:.6em;color:var(--cream);font-family:var(--font-head);font-weight:700;font-size:1.05rem;letter-spacing:.03em;padding:.55em 1.1em .5em;border-radius:999px;border:1px solid color-mix(in srgb,var(--cream) 22%,transparent);background:color-mix(in srgb,var(--cream) 8%,transparent);backdrop-filter:blur(8px)}
.eyebrow-dot .dot{width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 25%,transparent);animation:dotPulse 2.2s ease-in-out infinite} /* breathes: grows and shrinks with its halo (Sivan, 21.9) */
@keyframes dotPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 28%,transparent)}50%{transform:scale(1.12);box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 16%,transparent)}}
@media (prefers-reduced-motion:reduce){.eyebrow-dot .dot{animation:none}}
.offers{display:grid;gap:1.5rem;position:relative}
@media (min-width:800px){.offers{grid-template-columns:1fr 1fr;gap:clamp(1.5rem,3vw,2.5rem)}}
.offer{align-self:stretch;background:var(--cream);color:var(--ink);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 40px 80px -40px rgba(0,0,0,.7);transition:transform .6s var(--ease),box-shadow .6s var(--ease)}
.offer{cursor:pointer} /* the whole card follows its link (main.js, audit 24.9) */
.offer:hover{transform:translateY(-6px);box-shadow:0 60px 90px -40px rgba(0,0,0,.8)}
.offer-visual{position:relative;aspect-ratio:16/9;overflow:hidden}
/* the badge is centred with absolute positioning, not grid: Safari sizes the grid row by content when the box's height comes from aspect-ratio, so place-items:center left the badge at the top */
.offer-visual>.sessions-badge,.offer-visual>.play-badge{position:absolute;top:50%;left:50%;translate:-50% -50%}
.offer-visual-courses{background:linear-gradient(135deg,var(--accent) 0%,var(--wine) 100%)}
.offer-visual .u-tag{position:absolute;top:1rem;inset-inline-start:1rem;background:color-mix(in srgb,var(--ink) 72%,transparent);color:var(--cream);font-size:clamp(1rem,1.4vw,1.2rem);font-weight:800;letter-spacing:.02em;padding:.5em 1.1em;border-radius:999px;backdrop-filter:blur(8px)}
.offer-note{position:absolute;bottom:1rem;inset-inline-end:1rem;font-family:var(--font-note);color:var(--cream);font-size:1.1rem}
.sessions-badge{width:clamp(96px,24%,132px);aspect-ratio:1;border-radius:50%;background:var(--ink);color:var(--cream);display:grid;place-content:center;text-align:center;box-shadow:0 30px 50px -20px rgba(0,0,0,.6);animation:badgeFloat 6s ease-in-out infinite}
.sessions-badge strong{display:block;font-size:clamp(2.6rem,5vw,3.6rem);line-height:.9;color:var(--accent-light)}
.sessions-badge span{font-size:1rem}
.play-badge{width:clamp(96px,24%,132px);aspect-ratio:1;border-radius:50%;background:var(--cream);color:var(--ink);display:grid;place-items:center;box-shadow:0 30px 50px -20px rgba(0,0,0,.6);animation:badgeFloat 6s ease-in-out infinite}
.play-badge svg{width:44%;fill:currentColor}
/* offer visuals with a photo (Sivan, 23.9: "let's try"): the workshop card = a real group photo under a soft ink veil; the courses card = the studio cut-out on the gradient, the play badge on the laptop */
.offer-slides{position:absolute;inset:0;z-index:0}
.offer-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;display:block;z-index:0;opacity:0;transition:opacity .75s var(--ease)}
.offer-img.is-on{opacity:1}
@media (prefers-reduced-motion:reduce){.offer-img{transition:none}}
.has-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,color-mix(in srgb,var(--lavender) 22%,transparent),color-mix(in srgb,var(--wine) 78%,transparent));z-index:1;pointer-events:none} /* purplish fade over the photos (Sivan, 23.9) */
.offer-visual .u-tag,.offer-visual .offer-note,.offer-visual>.sessions-badge,.offer-visual>.play-badge{z-index:2}
.offer-visual-courses::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,color-mix(in srgb,var(--wine) 72%,transparent));z-index:1;pointer-events:none} /* the cream note sat on the cream desk of the branded scene - a wine veil at the bottom only */
.has-portrait>.play-badge{top:auto;left:auto;translate:none;inset-inline-start:8%;bottom:10%;width:clamp(72px,18%,100px)}
.has-photo>.sessions-badge{top:auto;left:auto;translate:none;inset-inline-start:1rem;bottom:1rem;width:clamp(64px,15%,84px)} /* small, bottom-start corner (Sivan, 23.9)*/
.has-photo>.sessions-badge strong{font-size:clamp(1.7rem,3vw,2.2rem)}
.has-photo>.sessions-badge span{font-size:.8rem}
.offer-visual-courses>.play-badge{display:none} /* the play circle hid the branded scenes (Sivan, 23.9) */
@media (max-width:899px){.has-photo>.sessions-badge{width:64px}} /* phones: the long note collided with the low badge */ /* off the face: bottom-start corner (the laptop side in rtl) */
@keyframes badgeFloat{50%{transform:translateY(-8px)}}
.offer-body{padding:clamp(1.5rem,3vw,2.25rem);display:flex;flex-direction:column;gap:.75rem;flex:1}
.offer-logo{display:block;align-self:flex-start;height:clamp(22px,2.2vw,28px);width:auto;max-width:70%} /* new POWERSKILL wordmark on the courses card (Sivan, 27.9) */
.offer-body .h3{font-size:clamp(1.35rem,2.2vw,1.7rem)}
.offer-body p{color:var(--ink-soft);flex:1}
.u-link{display:inline-flex;align-items:center;gap:.5em;font-weight:800;color:var(--ink);text-decoration:none;margin-top:.5rem;padding-bottom:.15em;border-bottom:2px solid var(--accent);align-self:flex-start;transition:gap .3s var(--ease)}
.u-link:hover{gap:.8em}
.u-link .ar{color:var(--accent)}

/* ===== 6. GIFTS ===== */
/* gifts (Sivan, 23.9): a clearly bounded card on the plain page cream (the section's own pink glow bled into the next section and the cream-2 box vanished on cream-2), copy on the start side, the animated gift with the two links under it on the other */
.gifts-box{background:rgba(255,255,255,.72);border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(1.25rem,2.4vw,2rem) clamp(1.5rem,3vw,2.75rem);display:grid;gap:clamp(1rem,2vw,1.75rem);position:relative;overflow:hidden;box-shadow:0 40px 80px -48px color-mix(in srgb,var(--wine) 55%,transparent)}
@media (min-width:900px){.gifts-box{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:clamp(1.5rem,3vw,2.5rem)}} /* a low wide strip: gift | copy | links (Sivan, 23.9) */
.gifts.section{padding-block:clamp(1.5rem,3vw,2.5rem)}
.gifts-box::after{content:"";position:absolute;inset-inline-end:-50px;bottom:-50px;z-index:0;width:170px;height:170px;border-radius:50%;background:url("../img/brand/patterns/checkered.svg") center/150px 150px repeat;opacity:.9;pointer-events:none} /* the brand book's checkered pattern (official file) peeking from a corner */ /* the brand's gingham circle peeking from a corner */
@media (max-width:899px){.gifts-box::after{width:120px;height:120px;inset-inline-end:-56px;bottom:-60px;opacity:.3}}
.gifts .h2{margin-bottom:.5rem;font-size:clamp(1.3rem,2.2vw,1.75rem);line-height:1.15}
.gifts .h2 .line:first-child{color:var(--accent)}
.gifts .h2 .line+.line{font-weight:400}
.gifts p{max-width:52ch;font-size:clamp(.95rem,1.1vw,1.05rem);margin:0}
.gifts-copy{position:relative;z-index:1}
.gift-icon{position:relative;z-index:1;width:clamp(96px,10vw,130px);justify-self:center;aspect-ratio:640/886;animation:gift-float 6s ease-in-out infinite}
.gift-icon::before{content:"";position:absolute;left:8%;right:8%;bottom:-4%;height:16%;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--accent) 34%,transparent),transparent);filter:blur(6px);animation:gift-shadow 6s ease-in-out infinite}
.gift-icon img{position:absolute;inset:0;width:100%;height:100%;display:block}
.gift-lid{animation:gift-lid 3.4s ease-in-out infinite;transform-origin:50% 60%}
.gift-sparks{animation:gift-sparks 3.4s ease-in-out infinite;transform-origin:50% 12%}
@keyframes gift-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes gift-shadow{0%,100%{transform:scaleX(1);opacity:.9}50%{transform:scaleX(.88);opacity:.6}}
@keyframes gift-lid{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-7%) rotate(-2.5deg)}60%{transform:translateY(-6%) rotate(-2deg)}}
@keyframes gift-sparks{0%,100%{opacity:.25;transform:scale(.85) translateY(2%)}50%{opacity:1;transform:scale(1.06) translateY(-3%)}}
@media (prefers-reduced-motion:reduce){.gift-icon,.gift-icon::before,.gift-lid,.gift-sparks{animation:none}}
.gifts-actions{position:relative;z-index:1;display:flex;flex-direction:column;align-items:stretch;gap:.5rem;width:clamp(200px,18vw,240px);justify-self:center}
@media (max-width:899px){.gifts-actions{width:min(100%,300px)}}
.gifts-actions .btn-ghost{background:#fff} /* solid fill: the gingham circle showed through the outline button (Sivan, 23.9) */ /* the two gifts live on their own landing pages; the links sit under the gift (Sivan, 23.9) */
.gifts-actions .btn{justify-content:center;text-align:center}

/* ===== 7. TESTIMONIALS: full quotes, drifting row ===== */
.testi-gallery{position:relative;overflow:hidden;margin-inline:calc(-1 * var(--gutter));margin-bottom:-3rem;padding-block:.5rem 4.5rem;cursor:grab;touch-action:pan-y;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%)}
.testi-gallery.is-dragging{cursor:grabbing}
.testi-track{display:flex;gap:1rem;width:max-content;padding-inline:var(--gutter);align-items:stretch;will-change:transform}
.testi{margin:0;flex:none;width:min(420px,84vw);align-self:flex-start;min-height:var(--testi-h,0px);background:var(--white);border-radius:var(--radius-lg);padding:clamp(1.5rem,3vw,2.25rem);display:flex;flex-direction:column;gap:1.25rem;border:1px solid var(--line);box-shadow:0 30px 60px -40px rgba(28,15,31,.35);user-select:none}
.testi figcaption{display:flex;align-items:center;gap:.9rem}
.testi .avatar{width:54px;height:54px;border-radius:50%;background:var(--accent-light);color:var(--ink);display:grid;place-items:center;flex:none}
.testi .avatar svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.testi .who{display:flex;flex-direction:column;line-height:1.25}
.testi .who strong{font-size:1.1rem}
.testi .who span{color:var(--ink-soft);font-size:var(--fs-small)}
.testi blockquote{margin:0;font-size:1rem;line-height:1.6;display:flex;flex-direction:column;gap:.7rem}
.testi-excerpt{font-size:1.12rem;font-weight:700;line-height:1.5}
.testi-full[hidden]{display:none}
.testi-full{display:flex;flex-direction:column;gap:.6rem;font-size:.95rem;color:var(--ink-soft);padding-top:.5rem;border-top:1px solid var(--line)}
.testi-toggle{align-self:flex-start;margin-top:auto;background:none;border:0;padding:0 0 .15em;font:inherit;font-weight:700;font-size:var(--fs-small);color:var(--ink);cursor:pointer;border-bottom:2px solid var(--accent)}
.testi-toggle:hover{color:var(--accent)}
.testi blockquote::before{content:"\201C";display:block;font-size:2.6rem;line-height:.5;color:var(--accent);font-weight:800;font-family:var(--font-head)}
/* ===== 8. PROCESS: pinned section, steps slide horizontally with the scroll ===== */
.process{position:relative;overflow-x:clip;overflow-y:visible} /* clip only sideways (the steps slide past the edges); the cards' soft shadow used to be cut dead at the section bottom = a line above the gifts (Sivan, 23.9) */
.process-pin{display:flex;flex-direction:column;gap:clamp(1.5rem,3vh,2.5rem);padding-block:clamp(5.5rem,11vh,7rem) clamp(2.5rem,5vh,3.5rem)}
.process .section-head{margin-bottom:0;max-width:900px}
.process .h2{font-size:clamp(1.7rem,3.9vw,3.1rem)}
.process-rail{position:relative;height:2px;background:var(--line);border-radius:2px;max-width:900px;margin:.5rem auto 0}
.process-fill{position:absolute;inset:0;background:var(--accent);border-radius:2px;transform-origin:right;transform:scaleX(var(--p,0))}
.rail-dot{position:absolute;top:50%;width:11px;height:11px;border-radius:50%;background:var(--cream);border:2px solid var(--line);transform:translate(50%,-50%);transition:background-color .35s,border-color .35s,box-shadow .35s,transform .35s var(--ease)}
.rail-dot.is-done{background:var(--accent);border-color:var(--accent)}
.rail-dot.is-active{background:var(--accent);border-color:var(--accent);transform:translate(50%,-50%) scale(1.25);box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 25%,transparent)}
.process-rail{overflow:visible;margin-top:1.4rem}
.steps{display:flex;gap:clamp(1rem,2vw,1.5rem);padding-inline:var(--gutter);width:max-content;will-change:transform;list-style:none;margin:0}
.step{position:relative;flex:none;width:min(520px,82vw);background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(1.5rem,3vw,2.25rem);display:flex;flex-direction:column;gap:.6rem;box-shadow:0 30px 60px -40px rgba(28,15,31,.35);opacity:.6;transform:scale(.96);transition:opacity .5s var(--ease),transform .5s var(--ease),box-shadow .5s}
.step.is-active{opacity:1;transform:none;box-shadow:0 40px 70px -36px rgba(28,15,31,.45)}
.step-num{font-family:var(--font-head);font-weight:900;font-size:clamp(2.4rem,5vw,3.6rem);line-height:.9;color:var(--accent);direction:ltr;align-self:flex-start;margin-bottom:.4rem}
.step .h3{font-size:clamp(1.3rem,2.2vw,1.7rem)}
.step p{color:var(--ink-soft);font-size:1.05rem;max-width:44ch}
.step .hl{font-style:normal;color:var(--ink);font-weight:700;background:linear-gradient(transparent 62%,color-mix(in srgb,var(--accent-light) 85%,transparent) 62%);padding:0 .1em}
/* static fallback: a swipeable row */
.process.is-static .process-pin{min-height:0}
.process.is-static .steps{width:auto;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:1rem}
.process.is-static .step{opacity:1;transform:none;scroll-snap-align:center;transition:none}
@media (max-width:899px){
  .process.is-static .steps{flex-direction:column;overflow:visible;gap:1rem;padding-inline:var(--gutter);padding-bottom:0}
  .process.is-static .step{width:auto}
  .process.is-static .process-pin{padding-top:var(--section)}
  /* vertical rail on the right of the stacked cards */
  .process.is-vertical .steps{position:relative;padding-inline-start:calc(var(--gutter) + 1.6rem)}
  .process.is-vertical .step{opacity:.6;transform:scale(.96);transition:opacity .6s var(--ease),transform .6s var(--ease),box-shadow .6s}
  .process.is-vertical .step.is-done{opacity:.85;transform:none}
  .process.is-vertical .step.is-active{opacity:1;transform:none;box-shadow:0 40px 70px -36px rgba(28,15,31,.45)}
  .process.is-vertical .process-rail{position:absolute;top:0;bottom:0;inset-inline-start:calc(var(--gutter) + .25rem);width:2px;height:auto;margin:0;max-width:none}
  .process.is-vertical .process-fill{transform-origin:top;transform:scaleY(var(--p,0))}
  .process.is-vertical .rail-dot{inset-inline-start:50%;transform:translate(50%,-50%)}
  .process.is-vertical .rail-dot.is-active{transform:translate(50%,-50%) scale(1.25)}
}

@media (min-width:900px){
  .process:not(.is-vertical) .step-num{font-size:clamp(2.8rem,5.6vw,4.2rem)}
  .process:not(.is-vertical) .step .h3{font-size:clamp(1.5rem,2.6vw,2rem)}
  .process:not(.is-vertical) .step p{font-size:1.18rem}
  .process:not(.is-vertical) .h2{font-size:clamp(1.9rem,4.3vw,3.4rem)}
}

/* ===== 8.5 FAQ ===== */
.faq .section-head{margin-bottom:2rem}

/* ===== 10. ABOUT: dark card + cut-out portrait + diagonal ribbons ===== */
.about{position:relative;overflow:hidden;padding-bottom:0}
.about-grid{display:grid;gap:1.5rem;align-items:end;position:relative}
@media (min-width:900px){.about-grid{grid-template-columns:1.15fr .85fr;align-items:center;gap:clamp(1rem,3vw,3rem)}}
.about-card{background:var(--ink);color:var(--cream);border-radius:40px;padding:clamp(2rem,4vw,3.5rem);box-shadow:0 50px 90px -40px rgba(28,15,31,.6);position:relative;overflow:hidden;z-index:5}
.about-card::after{content:"";position:absolute;width:60%;aspect-ratio:1;border-radius:50%;inset-inline-end:-25%;top:-35%;background:radial-gradient(circle,color-mix(in srgb,var(--wine) 90%,transparent),transparent 70%);pointer-events:none}
.about-hello{font-family:var(--font-note);font-size:clamp(1.6rem,2.8vw,2.4rem);color:var(--accent);margin-bottom:.1rem;line-height:1.1;position:relative}
.about .h2{margin-bottom:1rem;font-size:clamp(2rem,4.6vw,3.8rem);position:relative}
.about-body{display:flex;flex-direction:column;gap:1rem;position:relative}
.about-body p{max-width:56ch;font-size:1.02rem;line-height:1.65;color:color-mix(in srgb,var(--cream) 82%,transparent)}
.about-body p:first-child{font-weight:700;color:var(--cream)}
.about-photo{width:min(100%,360px);margin-inline:auto;position:relative;z-index:2}
.about-photo img{display:block;width:100%;height:auto;-webkit-mask-image:linear-gradient(to bottom,#000 55%,transparent 97%);mask-image:linear-gradient(to bottom,#000 55%,transparent 97%)}
@media (max-width:899px){.about-photo{width:min(60%,240px)}}
/* the ribbons float on the light background, clear of the dark contact section below: lifted a little, and the bottom padding grows with
   the viewport because the rotated band's low (left) end drops ~3.5vw below its box. no dark filler block under them any more */
.ribbons{position:relative;margin-top:clamp(-16.5rem,-18.5vw,-12.5rem);padding-block:3rem calc(3.25rem + 2.8vw);z-index:4}
@media (max-width:899px){.ribbons{margin-top:-10rem}}
.ribbon{position:relative;overflow:hidden;width:120%;margin-inline-start:-10%;transform:rotate(-4deg);padding-block:.4rem}
.ribbon-ink{background:transparent;color:color-mix(in srgb,var(--ink) 15%,transparent);font-family:var(--font-head);font-weight:900;font-size:clamp(2.3rem,5.2vw,4.8rem);line-height:1.1;margin-bottom:.1em;z-index:2}
.ribbon-accent{background:var(--accent);height:clamp(56px,7vw,92px);box-shadow:0 16px 32px -20px rgba(28,15,31,.45);z-index:1}
.ribbon-accent .ribbon-track{visibility:hidden}
.ribbon-track{display:inline-block;white-space:nowrap;animation:ribbonRun 60s linear infinite}
.ribbon-track-rev{animation-direction:reverse;animation-duration:40s}
@keyframes ribbonRun{to{transform:translateX(50%)}}
@media (prefers-reduced-motion:reduce){.ribbon-track{animation:none}}
.about .ph{color:var(--accent-light)}

/* ===== 11. CONTACT (bottom) ===== */
/* closing area (reference from Sivan, 17.9.2026): the lead form is a floating card that straddles the edge between the light page and a dark
   footer ground; everything that isn't the form (brand, contact details, site links) sits below it on the dark. --split = how much of the
   card rides over the light part. the pink glow belongs to the light strip only (it continues the about section's glow) */
.contact{--split:clamp(7rem,13vw,10.5rem);position:relative;z-index:1;color:var(--cream);padding-block:.5rem clamp(1.5rem,3vw,2.5rem);background:radial-gradient(45% 420px at 92% 0%,color-mix(in srgb,var(--accent-light) 32%,transparent),transparent 60%) top/100% var(--split) no-repeat,linear-gradient(to bottom,var(--cream) 0 var(--split),var(--ink) var(--split) 100%)}
.contact-grid{display:grid;gap:clamp(1.5rem,3.5vw,3rem);align-items:start;position:relative;overflow:hidden;max-width:1080px;margin-inline:auto;border-radius:36px;padding:clamp(1.25rem,2.4vw,2rem);background:linear-gradient(135deg,color-mix(in srgb,var(--wine) 88%,var(--ink)),color-mix(in srgb,var(--wine) 38%,var(--ink)));border:1px solid color-mix(in srgb,var(--cream) 14%,transparent);box-shadow:0 40px 80px -36px color-mix(in srgb,var(--wine) 80%,transparent),0 30px 60px -40px rgba(28,15,31,.55);will-change:transform}
.contact-grid::before{content:"";position:absolute;width:55%;aspect-ratio:1;border-radius:50%;inset-inline-start:-18%;top:-55%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 38%,transparent),transparent 70%);pointer-events:none}
.contact-grid>*{position:relative}
@media (max-width:640px){.contact-grid{border-radius:28px}}
@media (min-width:900px){.contact-grid{grid-template-columns:1fr 1.15fr}}
/* same width and inner padding as the card above, so the brand lines up with the card's text edge instead of hugging the page edge */
.contact-links{display:grid;gap:2rem;max-width:1080px;margin-inline:auto;padding:clamp(1.75rem,3.2vw,2.5rem) clamp(1.25rem,2.4vw,2rem) 0}
/* three equal columns: brand · צרו קשר · ניווט באתר (the blocks wrapper dissolves so its two blocks join the same grid) */
@media (min-width:900px){.contact-links{grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,3vw,3rem)}.contact-links .contact-blocks{display:contents}}
.contact-brand .wordmark{height:clamp(30px,2.6vw,38px)}
.contact-brand p{margin-top:.9rem;color:color-mix(in srgb,var(--cream) 72%,transparent);max-width:30ch}
.contact .h2{margin-bottom:1rem}
.contact .lead{color:rgba(242,235,226,.85);font-weight:400;margin-bottom:0}
.contact-blocks{display:grid;gap:2.5rem}
@media (min-width:560px){.contact-blocks{grid-template-columns:1fr 1fr}}
.contact-block .h3{margin-bottom:1rem;color:var(--cream)}
.contact-list{display:grid;gap:.5rem;font-weight:700}
.contact-list a,.site-nav a{color:var(--cream);text-decoration:none;opacity:.9}
.contact-list a:hover,.site-nav a:hover{opacity:1;text-decoration:underline;text-underline-offset:4px}
.contact-list a[href^="tel"],.contact-list a[href^="mailto"]{direction:ltr;display:inline-block}
.social{display:flex;gap:.6rem;margin-top:1.25rem}
.social a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1.5px solid rgba(242,235,226,.35);color:var(--cream);transition:background-color .25s,border-color .25s,transform .35s var(--ease)}
.social a:hover{background:var(--red);border-color:var(--red);transform:translateY(-2px)}
.social svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-nav{display:grid;grid-template-columns:1fr 1fr;gap:.5rem 1.5rem;font-size:.95rem}
.contact-card{background:var(--cream);color:var(--ink);border-radius:var(--radius-lg);padding:clamp(1.15rem,2.2vw,1.6rem)}
.contact-card-title{font-weight:700;font-size:clamp(1.05rem,1.5vw,1.25rem);line-height:1.3;margin-bottom:.9rem;color:var(--red-deep)}
.contact-card .btn{width:100%;margin-top:.9rem}
/* compact form inside the closing card */
.contact-card .form-grid{gap:.7rem}
.contact-card .field{gap:.25rem}
.contact-card .field input{padding:.65em .9em}
.contact-card .consent{margin-top:.7rem}
.contact-card .form-note:empty{display:none}
/* the heading starts level with the top of the form card */
.contact-side{padding-top:0}

/* ===== 12. FOOTER (slim) ===== */
.footer{background:var(--ink);color:var(--cream);position:relative;padding:0 var(--gutter) clamp(5.5rem,10vh,7rem)}
@media (min-width:900px){.footer{padding-bottom:clamp(1.75rem,3vw,2.5rem)}} /* the tall bottom padding is room for the floating dock, which exists only under 900px */
.footer-inner{position:relative;z-index:2;max-width:820px;margin:0 auto;display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--cream) 16%,transparent);background:color-mix(in srgb,var(--cream) 7%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--cream) 18%,transparent)}
@media (max-width:640px){.footer-inner{border-radius:24px;justify-content:center;text-align:center}}
.footer .brand{color:var(--cream)}
.footer .mark{color:var(--cream)}
.footer-copy{font-size:var(--fs-small);opacity:.92;margin:0}
.footer-copy a{color:inherit;margin-inline-start:.75em}
.footer-copy .footer-cookie{font:inherit;color:inherit;background:none;border:0;padding:0;margin-inline-start:.75em;text-decoration:underline;text-underline-offset:.15em;cursor:pointer} /* reopens the cookie card (a11y.js, 26.9) */

/* ---------- soft glow on the light sections ---------- */
/* process: px radii (the pinned section is ~3000px tall, so % radii made huge washes that stopped dead at both borders); the pink one is mirrored at the top of .gifts (Sivan, 23.9: "a cut band") */
.process{background:radial-gradient(50% 420px at 10% 140px,color-mix(in srgb,var(--lavender) 34%,transparent),transparent 62%),radial-gradient(45% 420px at 92% calc(100% - 120px),color-mix(in srgb,var(--accent-light) 32%,transparent),transparent 60%),var(--cream)}
.types{background:radial-gradient(45% 55% at 82% 30%,color-mix(in srgb,var(--accent) 38%,transparent),transparent 65%),radial-gradient(42% 50% at 12% 75%,color-mix(in srgb,var(--wine) 90%,transparent),transparent 62%),var(--ink);color:var(--cream)}
.types .h2{color:var(--cream)}
.why,.testimonials,.faq{background:radial-gradient(55% 60% at 88% 0%,color-mix(in srgb,var(--accent-light) 38%,transparent),transparent 62%),radial-gradient(45% 50% at 6% 100%,color-mix(in srgb,var(--lavender) 30%,transparent),transparent 60%),var(--cream)}
.work,.about{background:radial-gradient(55% 60% at 10% 0%,color-mix(in srgb,var(--lavender) 34%,transparent),transparent 62%),radial-gradient(45% 50% at 92% 100%,color-mix(in srgb,var(--accent-light) 32%,transparent),transparent 60%),var(--cream)}
.gifts{background:radial-gradient(45% 420px at 92% -120px,color-mix(in srgb,var(--accent-light) 32%,transparent),transparent 60%),var(--cream)} /* the mirror half of the process glow, same ellipse, centred 120px above the border - one continuous glow across the seam */

/* ---------- two-line headings where line 2 is scaled to line 1's width ---------- */
.h2-fit{display:inline-grid;justify-items:center;text-align:center;white-space:nowrap;font-size:clamp(1.6rem,3.6vw,2.8rem)}
.h2-fit .line{display:block;line-height:1}
.h2-fit .line+.line{color:var(--accent);line-height:.85;margin-top:-.22em}
/* hero → light band: the dark hero ends in a wide, shallow arc that dips into the light area below it (reference: Sivan's screenshot, 17.9.2026).
   .light-band (logos strip + why) is pulled up over the hero's empty bottom padding and the arc is cut out of it with a mask, so the real hero
   shows through (no seam against its glows), the hero keeps its original height and nothing inside it changes.
   the arc is a slice of a very wide ellipse (rx = full width, so the ends meet the edges at an angle instead of turning vertical like a bowl):
   at x = ±50% the ellipse sits at .866 of its ry, so ry = arch / .134 = 7.46 arch and its centre is 6.46 arch above the band */
.light-band{--arch:clamp(24px,4vw,64px);position:relative;z-index:2;margin-top:calc(-1 * var(--arch));--arc:radial-gradient(100% calc(var(--arch) * 7.46) at 50% calc(var(--arch) * -6.46),transparent calc(100% - 1px),#000 100%);-webkit-mask-image:var(--arc);mask-image:var(--arc);background:radial-gradient(55% 45% at 88% 12%,color-mix(in srgb,var(--accent-light) 38%,transparent),transparent 62%),radial-gradient(45% 40% at 6% 100%,color-mix(in srgb,var(--lavender) 30%,transparent),transparent 60%),var(--cream)}
.light-band>.why,.light-band>.logos{background:none}
/* clients strip on the light band: quiet light-grey marks (the files are white, so they are flattened to black and faded) */
.light-band>.logos{color:var(--ink);padding-block:calc(var(--arch) + clamp(1.1rem,2.2vw,1.75rem)) 0}
.light-band>.logos .eyebrow{color:var(--ink-soft);font-size:clamp(1.2rem,1.9vw,1.55rem);margin-bottom:1.25rem}
.light-band>.logos .eyebrow .num-value{font-family:var(--font-note);font-weight:400;font-size:1.3em;line-height:1;vertical-align:-.04em;color:var(--accent);display:inline-block;min-width:1.2ch;text-align:center;margin-inline:-.04em} /* FtOrik like the other notes (Sivan, 21.9) */ /* "מעל 50 ארגונים כבר יודעים": the figure in accent, counting up; fixed width so the line does not jitter */
.light-band>.logos .logo-img{filter:brightness(0);opacity:.26;height:27px;max-width:140px}
.light-band>.logos .logo-img.tall{height:42px}
.light-band>.logos .logo-img.xl{height:50px} /* squarish emblems (LinkX, מתנ"סים, בנק ישראל) need more height to read at all */
@media (min-width:900px){.light-band>.logos .logo-img{height:31px}.light-band>.logos .logo-img.tall{height:49px}.light-band>.logos .logo-img.xl{height:58px}}
.light-band>.logos .marquee-group{gap:clamp(2rem,4.5vw,3.75rem);padding-inline-end:clamp(2rem,4.5vw,3.75rem)}
.light-band>.why{padding-top:clamp(1.75rem,3.5vw,2.75rem)}
/* divider between the clients strip and the why section: a hairline that fades out at both ends, parted in the middle by a small
   round arrow in the brand magenta - it bobs gently and scrolls to the next section on click */
.band-divider{direction:ltr;display:flex;align-items:center;gap:1.1rem;width:min(680px,78%);margin:clamp(1.5rem,3vw,2.25rem) auto 0;text-decoration:none;color:var(--accent);--ln:color-mix(in srgb,var(--ink) 18%,transparent)}
.band-divider::before,.band-divider::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--ln))}
.band-divider::after{background:linear-gradient(90deg,var(--ln),transparent)}
.band-divider span{flex:none;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--white);border:1px solid color-mix(in srgb,var(--accent) 35%,transparent);box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 9%,transparent),0 14px 26px -14px color-mix(in srgb,var(--accent) 55%,transparent);transition:background .35s var(--ease),color .35s var(--ease),transform .35s var(--ease);animation:dividerBob 2.6s ease-in-out infinite}
.band-divider svg{width:18px;height:11px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.band-divider:hover span{background:var(--accent);color:#fff;animation-play-state:paused;transform:translateY(3px)}
.band-divider:focus-visible{outline:none}
.band-divider:focus-visible span{outline:3px solid var(--accent);outline-offset:3px}
@keyframes dividerBob{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
@media (prefers-reduced-motion:reduce){.band-divider span{animation:none}}
/* testimonials → about → contact: one continuous light ground. each glow that touches a section edge is mirrored exactly on the other side
   (same x, same colour strength, same radii - vertical radius in px, because % would follow each section's own height and break the match) */
.testimonials{background:radial-gradient(55% 60% at 88% 0%,color-mix(in srgb,var(--accent-light) 38%,transparent),transparent 62%),radial-gradient(45% 420px at 6% 100%,color-mix(in srgb,var(--lavender) 30%,transparent),transparent 60%),var(--cream)}
.about{background:radial-gradient(45% 420px at 6% 0%,color-mix(in srgb,var(--lavender) 30%,transparent),transparent 60%),radial-gradient(45% 420px at 92% 100%,color-mix(in srgb,var(--accent-light) 32%,transparent),transparent 60%),var(--cream)}

/* ===== 3b. CASE PANEL: a project's thinking + slide screenshots, opened under the grid by clicking a card (19.9.2026) =====
   clean surface on the cream ground: no glass, no glow. the client's slides keep the client's colours.
   open/close = grid-template-rows 0fr → 1fr on the wrap (height animates without JS measuring) + the panel rises 24px and fades in. */
.case-wrap{margin-top:clamp(.5rem,1vw,1rem)}
/* the stage: the site's big-card language (radius 40, soft deep shadow, a faint lavender glow in the corner), not a utility panel */
.case{position:relative;border-radius:40px;background:var(--cream);border:1px solid color-mix(in srgb,var(--ink) 7%,transparent);box-shadow:0 50px 90px -46px rgba(28,15,31,.45);overflow:visible} /* overflow visible: the floating nav is sticky; the collage clips itself */
.case::before{content:"";position:absolute;inset:0;border-radius:40px;pointer-events:none;background:radial-gradient(42% 55% at 100% 0%,color-mix(in srgb,var(--accent-light) 30%,transparent),transparent 70%)} /* explicit radius: with overflow visible an unrounded glow poked out of the top-right corner */
/* switching projects: the frame stays, the content slides sideways like a page turn (out toward the direction of travel, in from the other side) */
.case-head,.case-inner{transition:opacity .22s var(--ease),transform .26s var(--ease)}
.case.is-out .case-head,.case.is-out .case-inner{opacity:0;transform:translateX(calc(var(--dx,-18px) * 3.5))}
.case.is-in .case-head,.case.is-in .case-inner{animation:caseIn .5s var(--ease) both}
@keyframes caseIn{from{opacity:0;transform:translateX(calc(var(--dx,-18px) * -3.5))}to{opacity:1;transform:none}}
.case{touch-action:pan-y}
/* head row: client logo in a soft pill on the right, prev/next + counter on the left */
.case-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:clamp(1.1rem,1.8vw,1.4rem) clamp(1.5rem,3.2vw,2.75rem) 0}
.case-nav.case-nav-head{display:none} /* the way between projects is the floating bar (Sivan, 20.9), on every screen size */
.case-brand{display:flex;align-items:center;gap:.9rem;min-width:0;padding:.55rem 1.1rem .55rem .95rem;border-radius:999px;background:var(--cream-2);border:1px solid var(--line)}
.case-logo{height:clamp(20px,2vw,26px);width:auto;max-width:150px;object-fit:contain;filter:brightness(0);opacity:.88}
.case-client{font-family:var(--font-head);font-weight:800;font-size:1.05rem;line-height:calc(.9rem * 1.6)} /* same line box as .case-client-name, so a text-only pill (Blink) is as tall as a logo pill */
.case-client-name{font-size:.9rem;font-weight:700;color:var(--ink-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.case-logo+.case-client-name{padding-inline-start:.9rem;border-inline-start:1px solid var(--line)}
.case-nav{display:flex;align-items:center;gap:.6rem;flex:none}
.case-nav button[data-nav]{width:46px;height:46px;border-radius:50%;border:1.5px solid color-mix(in srgb,var(--ink) 16%,transparent);background:transparent;color:var(--ink);display:grid;place-items:center;cursor:pointer;transition:background-color .25s,color .25s,border-color .25s,transform .45s var(--ease)}
.case-nav button[data-nav] svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.case-nav button[data-nav]:hover{background:var(--accent);border-color:var(--accent);color:#fff;transform:translateY(-2px)}
.case-count{font-family:var(--font-head);font-weight:700;font-size:1rem;color:var(--ink-soft);min-width:3.4em;text-align:center;direction:ltr;letter-spacing:.02em}
.case-dots{display:inline-flex;gap:.45rem;align-items:center;padding-inline:.2rem}
.case-dot{width:9px;height:9px;padding:0;border:0;border-radius:999px;background:color-mix(in srgb,var(--ink) 18%,transparent);cursor:pointer;transition:width .35s var(--ease),background-color .25s}
.case-dot.is-on{width:26px;background:var(--accent)}
.case-dot:hover{background:color-mix(in srgb,var(--ink) 40%,transparent)}
.case-dot.is-on:hover{background:var(--accent)}
/* floating nav: a compact dark pill with the two ways to go, stuck to the bottom of the screen while the project is on screen */
.case-foot{position:sticky;bottom:1.25rem;z-index:6;display:flex;justify-content:center;align-items:flex-start;height:0;padding:0 1rem;margin:0;pointer-events:none}
.case-foot .case-nav{transform:translateY(calc(-100% - 1.1rem))} /* rests just inside the panel's bottom edge */
.case-foot .case-nav{pointer-events:auto;gap:.35rem;padding:.3rem;border-radius:999px;background:color-mix(in srgb,#fff 88%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid color-mix(in srgb,var(--ink) 12%,transparent);box-shadow:0 20px 40px -22px rgba(28,15,31,.4),0 0 0 1px color-mix(in srgb,#fff 60%,transparent);color:var(--ink)} /* light pill: on mobile the dark one looked like a second dock (Sivan, 20.9 evening) */
.case-foot .case-nav button[data-nav]{width:auto;height:40px;display:inline-flex;align-items:center;gap:.45em;padding:0 1rem;font-family:var(--font-sans);font-weight:700;font-size:.92rem;line-height:1;border-radius:999px;transition:background-color .25s,color .25s,border-color .25s,transform .35s var(--ease)}
.case-foot .case-nav button.is-next{background:var(--accent);border-color:var(--accent);color:#fff;padding-inline:1.1rem .85rem}
.case-foot .case-nav button.is-next:hover{background:color-mix(in srgb,var(--accent) 88%,var(--ink));border-color:transparent;transform:none}
.case-foot .case-nav button.is-prev{background:transparent;border-color:color-mix(in srgb,var(--ink) 18%,transparent);color:var(--ink);padding-inline:.85rem 1rem}
.case-foot .case-nav button.is-prev:hover{background:var(--cream-2);border-color:color-mix(in srgb,var(--ink) 30%,transparent);color:var(--ink);transform:none}
.case-foot .case-nav button svg{width:18px;height:18px}
.case-count b{color:var(--ink);font-weight:800;font-size:1.25em}
.case-inner{position:relative;display:grid;gap:clamp(1.5rem,3vw,2.5rem);align-items:stretch;padding:clamp(1rem,1.8vw,1.5rem) clamp(1.5rem,3.2vw,2.75rem) clamp(1.25rem,2.4vw,2rem)}
@media (min-width:900px){.case-text{padding-bottom:3.5rem;min-height:var(--case-text-h,auto);box-sizing:border-box} /* room for the resting floating bar under the button; one height for every project (equalizeCase) */}
@media (min-width:900px){.case-title{white-space:nowrap;font-size:var(--case-title-fs,clamp(1.5rem,2.2vw,2rem))} /* one line on desktop (Sivan, 20.9 evening); equalizeCase shrinks it only if the longest title would not fit */}
@media (min-width:900px){.case-inner{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);column-gap:clamp(1.25rem,2.5vw,2.5rem)}}
.case-text{padding-block:0}
.case-eyebrow{font-family:var(--font-note);font-size:clamp(1.1rem,1.4vw,1.3rem);line-height:1.2;color:var(--accent)}
.case-eyebrow span{color:inherit}
.case-type{margin:0 0 .6rem;font-size:.9rem}
.case-type span{display:inline-block;padding:.4em .9em .35em;border-radius:999px;background:var(--accent-light);color:var(--ink);font-family:var(--font-sans);font-weight:800;font-size:.85rem;letter-spacing:.01em}
.case-title{font-family:var(--font-head);font-size:clamp(1.5rem,2.2vw,2rem);font-weight:800;line-height:1.1;letter-spacing:-.01em;margin-top:0;text-wrap:balance}
.case-desc{margin-top:1rem;color:var(--ink-soft);font-size:clamp(1rem,1.15vw,1.1rem)}
.case-blocks{margin:clamp(1rem,1.6vw,1.4rem) 0 0;display:grid;gap:clamp(.75rem,1.2vw,1rem)}
.case-blocks dt{font-family:var(--font-head);font-weight:800;font-size:1.12rem;line-height:1.3;margin-bottom:.3rem}
.case-blocks dd{margin:0;color:var(--ink-soft);max-width:54ch;line-height:1.5;font-size:clamp(.95rem,1.05vw,1.05rem)}
.ul-short{position:relative;display:inline-block}
.ul-short svg{position:absolute;inset-inline:-.08em;bottom:-.22em;height:.3em;width:calc(100% + .16em);overflow:visible}
.ul-short path{fill:none;stroke:var(--accent);stroke-width:8;stroke-linecap:round}
.case-note{margin:.9rem 0 0;font-family:var(--font-note);color:var(--accent);font-size:clamp(1.1rem,1.4vw,1.3rem);line-height:1.3;max-width:28ch;transform:rotate(-2deg);transform-origin:right center}
.case-actions{margin-top:1.25rem;display:flex;gap:.75rem;flex-wrap:wrap}
.case-actions .btn-outline{color:var(--ink)}
/* the video link is plain text with an accent underline, not a button (Sivan, 20.9 evening) */
.case-link{display:inline;padding:.6em 0;margin:-.6em 0;border:0;background:none;cursor:pointer;font-family:var(--font-sans);font-weight:800;font-size:1rem;line-height:1.4;color:var(--ink);text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:.28em;transition:color .25s,text-decoration-color .25s}
.case-link:hover{color:var(--accent);text-decoration-color:var(--ink)}
/* media: a tilted collage of the slides (reference: Sivan, 19.9.2026). three rows drift in alternating directions, the whole thing fades
   toward the text side, and one slide at a time is lit. bleeds to the panel's edges (negative margins undo the inner padding). */
.case-inner{--cp:clamp(1.5rem,3.2vw,2.75rem)}
.case-collage{position:relative;align-self:stretch;height:auto;min-height:clamp(240px,26vw,340px);overflow:hidden;margin:calc(-1 * var(--cp)) 0 calc(-1 * var(--cp)) calc(-1 * var(--cp));border-radius:0 0 0 40px;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 62%,transparent 100%),linear-gradient(180deg,transparent 0,#000 12%,#000 88%,transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 62%,transparent 100%),linear-gradient(180deg,transparent 0,#000 12%,#000 88%,transparent 100%);-webkit-mask-composite:source-in;mask-composite:intersect}
.collage-rows{position:absolute;inset:-30% -45%;display:flex;flex-direction:column;justify-content:center;gap:clamp(10px,1.1vw,16px);transform:rotate(-12deg);direction:ltr} /* ltr: in the page's rtl the rows anchored to the right edge and translateX(-50%) carried them clean out of the box */
.collage-row{display:flex;gap:clamp(10px,1.1vw,16px);width:max-content;animation:rowDrift 60s linear infinite;animation-delay:-8s}
.collage-row:nth-child(2){animation-direction:reverse;animation-duration:70s;animation-delay:-31s}
.collage-row:nth-child(3){animation-duration:64s;animation-delay:-19s}
@keyframes rowDrift{to{transform:translateX(-50%)}}
.collage-tile{position:relative;flex:none;width:clamp(150px,14vw,215px);aspect-ratio:16/9;padding:0;border:0;border-radius:10px;overflow:hidden;background:var(--cream-2);box-shadow:0 18px 36px -22px rgba(0,0,0,.5);opacity:.74;transform:scale(.94);transition:opacity .7s var(--ease),transform .7s var(--ease),box-shadow .7s var(--ease);cursor:pointer;color:var(--cream)}
.collage-tile.is-video{cursor:pointer}
.collage-dup{display:contents} /* the loop copy of a row: inert, visual only */
.collage-tile img,.collage-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.collage-tile img:not(.is-loaded){opacity:0}.collage-tile img{transition:opacity .45s}.collage-tile.is-video img{opacity:1} /* the poster must win over :not(.is-loaded), or the video tile is a blank card until the video plays (Sivan, 20.9) */
.collage-tile video{opacity:0;transition:opacity .6s}.collage-tile video.is-ready{opacity:1}
.collage-tile .frame-tag{position:absolute;top:.55rem;inset-inline-end:.55rem;z-index:2;color:var(--cream);background:color-mix(in srgb,var(--ink) 78%,transparent);font-size:.75rem}
.collage-tile.is-hi{opacity:1;transform:scale(1.12) translateY(-4px);box-shadow:0 34px 64px -18px rgba(28,15,31,.7);z-index:2}
.collage-tile:hover{opacity:1}
.lightbox .lb-slide{object-fit:contain;background:var(--cream-2)}
@media (max-width:899px){
  .case{border-radius:28px}.case::before{border-radius:28px}
  .case-head{padding-inline:1.25rem;gap:.6rem}
  .case-brand{gap:.6rem;padding:.45rem .85rem .45rem .7rem}
  .case-client-name{white-space:normal;font-size:.8rem;line-height:1.15;max-width:9em}
  .case-head{padding-top:1rem}
  /* shorter: tighter type and spacing, no eyebrow, no second "next" button (the floating bar has it) */
  .case-eyebrow{display:none}
  .case-title{font-size:1.4rem;margin-top:0}
  .case-blocks{margin-top:1rem;gap:.7rem}.case-blocks dt{font-size:1rem;margin-bottom:.1rem}.case-blocks dd{font-size:.95rem;line-height:1.5}
  .case-note{margin-top:.8rem;font-size:1.05rem}
  .case-actions{margin-top:1rem}
  .case-foot{bottom:calc(env(safe-area-inset-bottom,0px) + 88px)}
  .case-foot .case-nav button[data-nav]{height:38px;font-size:.88rem}
  .case-collage{order:-1;height:min(52vw,240px);margin:0 -1.25rem 0;border-radius:0;-webkit-mask-image:linear-gradient(180deg,#000 0,#000 74%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 74%,transparent 100%);-webkit-mask-composite:source-over;mask-composite:add}
  .case-inner{padding-top:.5rem;padding-bottom:4.25rem;gap:.75rem}
  /* phones: the client pill sits centred and larger - it is the project's headline there (Sivan, 20.9 evening) */
  .case-head{justify-content:center}
  .case-brand{padding:.6rem 1.25rem .6rem 1.1rem;gap:.8rem}
  .case-brand .case-logo{height:26px;max-width:170px;opacity:1} /* .case-brand: the later .case-logo{height:15px} caption rule would win otherwise */
  .case-client{font-size:1.2rem;line-height:1.2}
  .case-client-name{font-size:.92rem}
  .case-text{padding-top:0;min-height:var(--case-text-h,auto);box-sizing:border-box} /* equalizeCase: one height for every project */
  .collage-rows{inset:-40% -70%;transform:rotate(-10deg)}
  .collage-tile{width:clamp(120px,34vw,150px)}
}
@media (prefers-reduced-motion:reduce){.collage-row{animation:none}.collage-tile{transition:none}}
/* phones: the projects side by side in a snap scroller (see scrollerMode in main.js); the next one peeks in at the edge, a rail below fills as you go */
.case-rail,.case-hint{display:none}
@media (max-width:899px){
  /* one project at a time, centred; the next one appears only as you swipe (Sivan, 21.9). the wrap keeps room below for the panel's soft shadow,
     otherwise overflow:hidden sliced it into a hard band under the text */
  .case-wrap.is-scroller{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin-inline:calc(-1 * var(--gutter));padding:.75rem var(--gutter) 5.5rem}
  .case-wrap.is-scroller::-webkit-scrollbar{display:none}
  .case-track{display:flex;gap:calc(2 * var(--gutter));width:max-content}
  .case-track .case{flex:none;width:calc(100vw - 2 * var(--gutter));scroll-snap-align:center;overflow:hidden;touch-action:pan-x pan-y}
  .case-track .case-foot{display:none}
  .case-track .case-inner{padding-bottom:1.35rem}
  .case-hint{display:flex;justify-content:center;align-items:center;gap:.5em;margin:-4.4rem 0 .6rem;position:relative;z-index:1;font-family:var(--font-note);font-size:1.15rem;color:var(--accent);line-height:1.2;transition:opacity .4s}
  .case-hint span{display:inline-block;animation:hintNudge 1.6s ease-in-out infinite}
  .case-hint.is-used{opacity:.45}
  @keyframes hintNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(-4px)}}
  .case-rail{display:block;position:relative;width:min(300px,72%);height:2px;margin:0 auto;background:var(--line);border-radius:2px}
  .case-rail-fill{position:absolute;inset:0;background:var(--accent);border-radius:2px;transform-origin:right;transform:scaleX(var(--p,0));transition:transform .15s linear}
  .case-rail .rail-dot{top:50%;padding:0;cursor:pointer}
}
@media (prefers-reduced-motion:reduce){.case-hint span{animation:none}}
.case-caption{margin:0;display:flex;align-items:center;gap:.7rem;font-size:var(--fs-small);line-height:1.4;color:var(--ink-soft)}
.case-logo{height:15px;width:auto;flex:none;filter:brightness(0);opacity:.72}
.case-pending{font-size:var(--fs-small);color:var(--ink-soft);padding:.8rem 1rem;border:1px dashed var(--line);border-radius:12px}
@media (prefers-reduced-motion:reduce){.case-head,.case-inner,.collage-tile img{transition:none;animation:none}}
/* desktop: less air between the testimonials and "נעים להכיר" (Sivan, 20.9 evening); mobile unchanged */
@media (min-width:900px){.testimonials.section{padding-bottom:clamp(1rem,2vw,1.5rem)}.about.section{padding-top:clamp(1.5rem,3vw,2.5rem)}}

/* ===== phone fixes (Sivan, 24.9.2026) ===== */
.offer-note{background:color-mix(in srgb,var(--ink) 58%,transparent);padding:.18em .7em .12em;border-radius:999px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)} /* a small plaque: the cream note drowned in the photo/desk (Sivan, 24.9) */
@media (max-width:899px){
  .has-photo::after{background:linear-gradient(180deg,color-mix(in srgb,var(--lavender) 18%,transparent) 0,color-mix(in srgb,var(--wine) 60%,transparent) 55%,color-mix(in srgb,var(--wine) 92%,transparent))}
  .offer-visual-courses::after{background:linear-gradient(180deg,transparent 40%,color-mix(in srgb,var(--wine) 90%,transparent))}
  .gifts-box{text-align:center;justify-items:center}
  .gifts p{margin-inline:auto}
  .gifts-actions{margin-inline:auto}
  .gifts .h2{text-align:center}
  .contact-links{text-align:center}
  .contact-brand{display:flex;flex-direction:column;align-items:center}
  .contact-block .h3{text-align:center}
  .contact-list{justify-items:center}
  .social{justify-content:center}
  .site-nav{grid-template-columns:1fr 1fr;justify-items:center;text-align:center}
  .footer{padding-top:1.5rem}
}

/* ===== brand book elements (24.9.2026): the mark in the dock and the footer, flower / diamond as quiet decorations ===== */
.footer-inner .brand{display:inline-flex;align-items:center;gap:.6rem}
.brand-mark{width:26px;height:26px;flex:none;fill:currentColor;color:var(--cream)}
.brand-el{position:absolute;pointer-events:none;fill:var(--accent-light);opacity:.16;z-index:0}
.brand-el-flower{width:clamp(120px,14vw,190px);height:auto;aspect-ratio:830/821;inset-inline-start:-34px;top:-38px;transform:rotate(-12deg)}
.brand-el-diamond{width:clamp(90px,10vw,140px);height:auto;aspect-ratio:830/821;inset-inline-end:-26px;bottom:-30px;transform:rotate(18deg);fill:var(--accent-light);opacity:.22}
.about-card>*:not(.brand-el),.contact-grid>*:not(.brand-el){position:relative;z-index:1}

/* ===== audit fixes 25.9.2026 (home page) ===== */
@media (max-width:899px){
  body.at-contact .dock{opacity:0;transform:translateY(120%);pointer-events:none} /* the dock covered "לתיאום שיחה" once the form was on screen */
  html.has-cookie .footer{padding-bottom:calc(clamp(5.5rem,10vh,7rem) + var(--cookie-h,0px))} /* dock + cookie banner hid the footer links */
  .case-client-name{overflow:visible;text-overflow:clip;max-width:12em} /* "L'Oréal Professionnel" was cut to "...fessionnel" */
  .case-rail .rail-dot::before{content:"";position:absolute;inset:-15px} /* 11px dots, 41px to tap */
  .testi-toggle{position:relative}
  .testi-toggle::before{content:"";position:absolute;inset:-10px -6px}
  .lightbox-close::before{content:"";position:absolute;inset:-6px}
  h2,h3,.h2,.h3{text-wrap:pretty} /* no single word alone on the last line */
}

