
  *{margin:0;padding:0;box-sizing:border-box}
  html,body{height:100%;overflow:hidden;background:#f3ede5}
  body{overscroll-behavior:none}

  /* smooth cross-page navigation to/from the category & project pages (Chromium View Transitions) */
  @view-transition{ navigation:auto; }
  @media (prefers-reduced-motion: no-preference){
    ::view-transition-old(root){ animation:vt-out .24s ease both; }
    ::view-transition-new(root){ animation:vt-in .34s cubic-bezier(.22,.61,.36,1) both; }
  }
  @keyframes vt-out{ to{ opacity:0; } }
  @keyframes vt-in{ from{ opacity:0; } }

  /* full-viewport hero. the <canvas> is ONE block: the scroll-scrubbed video clips.
     everything that should be pickable on its own (closing screen: background, photo,
     logo, texts, container) is real DOM, layered over the canvas. */
  #hero{position:fixed;inset:0;z-index:1;touch-action:none;background:#f3ede5}
  #stage{position:absolute;inset:0;width:100%;height:100%;display:block}

  /* ---- closing "logo lockup": real DOM so a visual picker can select each part ---- */
  #closer{position:fixed;inset:0;z-index:8;display:none}   /* fully out of layout while clips play */
  #closer.is-active{display:block}
  /* which parts a visual picker can hit. .closer__frame is an arch-shaped
     (clip-path) transparent hit target so clicking the picture selects it and
     clicking beside it falls through to the background. */
  .closer__bg,.closer__frame,.closer__text{pointer-events:auto}
  .closer__photo,.closer__logo{pointer-events:none}
  .closer__bg{position:fixed;inset:0;background:#d9c5b0;opacity:0}
  /* the beige layer ABOVE the clip-3 caption: fills everything below the arch's bottom edge.
     as the arch shrinks this beige climbs up and covers the caption — it never fades. */
  .closer__cover{position:fixed;inset:0;background:#d9c5b0;opacity:0;z-index:4;pointer-events:none;will-change:clip-path;transform:translateZ(0)}
  /* the closing shape: static full-screen beige veil, arch hole punched by an SVG mask whose only
     per-frame change is ONE transform matrix -> the photo below never moves or scales. */
  .closer__arch{position:fixed;inset:0;width:100%;height:100%;z-index:4;pointer-events:none}
  .closer__photo{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;
                 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
                 -webkit-mask-position:center;mask-position:center;
                 will-change:opacity;backface-visibility:hidden}
  .closer__frame{position:fixed;left:50%;top:50%;z-index:5;background:transparent;
                 width:10px;height:10px;
                 transform-origin:50% 50%;will-change:transform;backface-visibility:hidden}
  .closer__logo{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;
                background:#3f2c1a;                                  /* darker + thicker-looking lines */
                filter:drop-shadow(0 0 .9px #3f2c1a) drop-shadow(0 0 .9px #3f2c1a);
                -webkit-mask:url(/assets/closer-lines.png) center/100% 100% no-repeat;
                mask:url(/assets/closer-lines.png) center/100% 100% no-repeat}
  /* one centred content block under the closing logo — heading, sub, tagline, two CTAs.
     position driven by transform (GPU) + an eased Y so the rise/exit glides, never steps. */
  .closer__panel{position:fixed;left:50%;top:0;transform:translate3d(-50%,0,0);z-index:7;will-change:transform;
                 display:flex;flex-direction:column;align-items:center;text-align:center;
                 width:min(640px,90vw);opacity:0;pointer-events:none;
                 color:#312019;font-family:"Assistant",system-ui,sans-serif}
  .closer__h{margin:0;font-weight:700;line-height:1.18;letter-spacing:.01em;
             font-size:clamp(20px,2.8vw,40px)}
  .closer__sub{margin:clamp(8px,1.3vw,16px) 0 0;font-weight:400;line-height:1.5;
               font-size:clamp(13px,1.3vw,19px);color:#3f2d1f}
  .closer__tags{margin:clamp(8px,1.2vw,14px) 0 0;font-weight:300;letter-spacing:normal;white-space:normal;
                font-size:clamp(12px,1.05vw,15.5px);line-height:1.6;color:#6b4a2e}
  .closer__ctas{display:flex;flex-wrap:wrap;gap:clamp(10px,1.4vw,18px);justify-content:center;
                margin-top:clamp(14px,2vw,24px)}
  .closer__cta{border:0;border-radius:999px;cursor:pointer;text-decoration:none;font-family:inherit;font-weight:600;
               letter-spacing:.02em;font-size:clamp(12px,1.1vw,16px);
               padding:clamp(10px,1.3vh,15px) clamp(20px,2.6vw,36px);
               transition:transform .2s ease,background .2s ease,box-shadow .2s ease;text-decoration:none;display:inline-block}
  .closer__cta--primary{background:#3a2c1e;color:#fff;box-shadow:0 12px 28px -10px rgba(20,12,4,.5)}
  .closer__cta--primary:hover{transform:translateY(-2px);background:#4a3826}
  .closer__cta--wa{background:transparent;color:#3a2c1e;border:1.5px solid rgba(58,44,30,.5)}
  .closer__cta--wa:hover{transform:translateY(-2px);background:rgba(58,44,30,.08)}
  .closer__panel.on{pointer-events:auto}
  /* once the brown textured area fades in behind the closer text, everything on it turns white */
  .closer__h,.closer__sub,.closer__tags{transition:color .6s ease}
  .closer__panel .closer__h,.closer__panel .closer__sub,.closer__panel .closer__tags{
    color:#fff;text-shadow:0 2px 18px rgba(20,12,4,.35)}
  .closer__panel .closer__cta,.closer__panel .talk{--b:#efe6da;--o:#3f2d1f}

  /* ---- site header: drops in slowly as you scroll into the "5 reasons" area ---- */
  #siteHeader{position:fixed;top:clamp(14px,2.6vh,30px);left:0;right:0;z-index:15;
    --bar-h:60px; --mark-h:41px;
    display:none;flex-direction:column;align-items:center;gap:clamp(20px,2.6vw,34px);
    opacity:0;pointer-events:none;transform:translateY(-120%)}
  #siteHeader.is-active{display:flex}
  #siteHeader.ready{pointer-events:auto}
  .hd__bar{position:relative;width:min(1040px,96vw);height:var(--bar-h);
    background:rgba(239,230,218,.8);border-radius:999px;
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    display:flex;align-items:center;justify-content:space-between;
    padding:0 clamp(20px,3vw,52px);direction:rtl;
    filter:drop-shadow(0 10px 26px rgba(74,52,33,.16));
    -webkit-mask:radial-gradient(circle calc(var(--bar-h)*0.82) at 50% 100%, transparent 99%, #000 100%);
    mask:radial-gradient(circle calc(var(--bar-h)*0.82) at 50% 100%, transparent 99%, #000 100%)}
  .hd__group{display:flex;align-items:center;flex:0 1 auto;min-width:0;
    gap:clamp(10px,1.6vw,32px);list-style:none;margin:0;padding:0}
  .hd__group a{color:#3f2d1f;text-decoration:none;font-family:"Assistant",system-ui,sans-serif;
    font-weight:400;font-size:clamp(12.5px,1vw,17px);letter-spacing:.02em;white-space:nowrap}
  .hd__group a:hover{opacity:.6}
  .hd__spacer{flex:0 0 clamp(88px,11vw,170px)}
  .hd__mark{height:var(--mark-h);width:auto;margin-top:-66px;transform:translate(-3px,0);pointer-events:none;user-select:none;position:relative;z-index:1}
  .hd__word{display:none}   /* brand wordmark text removed from the header — mark only */

  /* ---- "5 reasons" — an editorial, whitespace-rich section revealed BEHIND the opening logo
         arch. brand colours only; glass = brand tone + blur/opacity, never a white box. ---- */
  #reasons{position:fixed;inset:0;z-index:7;transform:translateY(100%);
    background:#9B6848;overflow:hidden;overscroll-behavior:contain;display:none;
    font-family:"Assistant",system-ui,sans-serif;color:#3f2d1f}
  #reasons.is-active{display:block}
  @media(min-width:701px){ #reasons{overflow:hidden} }   /* never a scrollbar — the area stays inside the screen */
  /* warm woven texture (#9B6848) — the whole "5 reasons" area sits on this */
  .rz__texture, .closer__tex{
    background-color:#9B6848;
    background-image:
      repeating-linear-gradient(45deg,  rgba(255,244,228,.05) 0 2px, transparent 2px 5px),
      repeating-linear-gradient(-45deg, rgba(0,0,0,.05)       0 2px, transparent 2px 5px),
      radial-gradient(130% 120% at 80% 6%,  rgba(255,240,216,.14), transparent 58%),
      radial-gradient(130% 120% at 14% 98%, rgba(0,0,0,.22),       transparent 55%);
    background-size:7px 7px,7px 7px,100% 100%,100% 100%}
  .rz__texture{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:1}
  /* the two brand-mark shapes — larger, they run BEHIND the cards too */
  .rz__mark, .closer__mark{position:absolute;z-index:0;pointer-events:none;user-select:none;
    height:min(112vh,1040px);width:auto;
    filter:brightness(0) invert(1) sepia(.4) saturate(1.5) brightness(.95)}
  .rz__mark{opacity:1}
  .rz__mark--l, .closer__mark--l{left:0;bottom:0;top:auto;transform:translate(-28%,24%)}
  .rz__mark--r, .closer__mark--r{right:0;top:2%;transform:translate(22%,0)}
  @media(max-width:1000px){
    .rz__mark, .closer__mark{height:64vh}
    .rz__mark--l, .closer__mark--l{transform:translate(-44%,28%)}
    .rz__mark--r, .closer__mark--r{transform:translate(42%,0)}
  }
  /* copies INSIDE the closer layer: they fade in DURING the close so the textured world appears
     while the words are still rising. #reasons carries the identical texture + marks underneath,
     so when the closer fades away the handoff is invisible. */
  .closer__tex{position:fixed;inset:0;z-index:5;pointer-events:none;opacity:0}   /* above #closerCover (z4) so it fades in over the beige during the hold */
  .closer__mark{position:fixed;z-index:6;opacity:0}
  .rz__stage{position:relative;z-index:1;height:100%;overflow:hidden;display:flex;align-items:center;justify-content:center}
  .rz__inner{width:min(1240px,94vw);max-height:100%;margin:0 auto;
    padding:clamp(60px,7.5vh,92px) clamp(20px,4vw,48px) clamp(14px,2vh,24px)}
  .rz__title{text-align:center;font-weight:300;letter-spacing:.01em;line-height:1.14;
    font-size:clamp(22px,2.8vw,40px);margin:0 0 clamp(16px,2.6vh,28px);color:#f4ead9;
    text-shadow:0 2px 20px rgba(20,12,4,.35);
    opacity:0;transform:translateY(14px)}
  .rz__title b{font-weight:700;color:#f8dfb8}
  .rz__title::after{content:"";display:block;width:clamp(60px,8vw,120px);height:3px;border-radius:2px;
    background:var(--rz-accent,#dba36b);margin:clamp(12px,1.8vw,20px) auto 0}
  .rz__stage.head .rz__title{opacity:1;transform:none}
  .rz__grid{list-style:none;margin:0 auto;padding:0;max-width:1280px;
    display:grid;grid-template-columns:repeat(6,1fr);
    gap:clamp(14px,2vh,26px) clamp(16px,2vw,28px)}
  .rz__item{grid-column:span 2;position:relative;overflow:hidden;
    display:flex;flex-direction:column;align-items:center;text-align:center;
    padding:clamp(26px,3.2vh,42px) clamp(24px,2.8vw,38px) clamp(28px,3.4vh,44px);
    border-radius:clamp(16px,1.8vw,24px);
    background:linear-gradient(160deg,rgba(247,239,228,.16),rgba(247,239,228,.07));
    border-top:3px solid var(--rz-accent,#dba36b);
    -webkit-backdrop-filter:blur(6px) saturate(1.04);backdrop-filter:blur(6px) saturate(1.04);
    border-inline:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16);
    box-shadow:0 16px 40px -20px rgba(20,12,4,.5);
    color:#f2e7d8;
    opacity:0;transform:translateY(14px);
    transition:background .4s ease,border-color .4s ease,box-shadow .4s ease,transform .4s cubic-bezier(.2,.7,.2,1)}
  .rz__item:nth-child(4){grid-column:2 / span 2}
  .rz__item:nth-child(5){grid-column:4 / span 2}
  .rz__rule{display:block;width:10px;height:10px;border-radius:50%;background:var(--rz-accent,#dba36b);
    margin:0 auto clamp(14px,1.8vw,20px);box-shadow:0 0 0 5px rgba(219,163,110,.22)}
  .rz__item h3{margin:0;font-weight:700;font-size:clamp(19px,1.8vw,26px);line-height:1.3;color:#fbf3e7}
  .rz__item p{margin:clamp(9px,1.2vw,14px) 0 0;font-weight:300;font-size:clamp(14.5px,1.2vw,17px);
    line-height:1.6;color:rgba(242,231,216,.9)}
  /* faint diagonal reflection that sweeps once on hover, then is gone */
  .rz__item::after{content:"";position:absolute;inset:-40% -60%;pointer-events:none;
    background:linear-gradient(115deg,transparent 43%,rgba(255,255,255,.14) 50%,transparent 57%);
    transform:translateX(-115%);opacity:0}
  @media(hover:hover){
    .rz__item:hover{transform:translateY(-6px);
      background:linear-gradient(160deg,rgba(247,239,228,.26),rgba(247,239,228,.12));border-color:rgba(255,255,255,.32);
      box-shadow:0 22px 48px -22px rgba(20,12,4,.55);transition-delay:0s}
    .rz__item:hover .rz__rule{transform:scale(1.35);box-shadow:0 0 0 7px rgba(219,163,110,.3)}
    .rz__item:hover::after{opacity:1;transform:translateX(115%);
      transition:transform .95s ease,opacity .3s ease}
  }
  @media(max-width:1000px){
    /* 2 columns (3 rows) so all 5 cards + title + button still fit the screen — never a scrollbar */
    .rz__grid{grid-template-columns:repeat(2,1fr);max-width:600px;gap:clamp(10px,1.6vh,16px) clamp(10px,2.2vw,16px)}
    .rz__item,.rz__item:nth-child(4){grid-column:auto}
    .rz__item:nth-child(5){grid-column:1 / -1;max-width:56%;margin:0 auto}
    .rz__inner{padding:clamp(78px,12vh,110px) clamp(16px,4vw,28px) clamp(12px,2vh,22px)}
    .rz__title{font-size:clamp(19px,5vw,26px);margin:0 0 clamp(12px,2vh,18px)}
    .rz__item{padding:clamp(14px,2.2vh,20px) clamp(12px,3.4vw,18px)}
    .rz__item h3{font-size:clamp(14.5px,4vw,17px)}
    .rz__item p{font-size:clamp(12.5px,3.4vw,14.5px);margin-top:clamp(5px,.9vh,8px)}
    .rz__rule{margin:0 auto clamp(8px,1.2vh,12px)}
    .rz__cta{margin-top:clamp(10px,1.8vh,16px)}
  }
  /* short viewports: pull everything in so title + 5 cards + button still fit without a scrollbar */
  @media(min-width:1001px) and (max-height:860px){
    .rz__inner{padding:clamp(84px,11vh,116px) clamp(20px,4vw,48px) clamp(20px,3vh,34px)}
    .rz__title{font-size:clamp(19px,2.3vw,28px);margin:0 0 clamp(12px,2vh,20px)}
    .rz__title::after{margin:clamp(7px,1vh,11px) auto 0}
    .rz__grid{gap:clamp(10px,1.6vh,18px) clamp(12px,1.4vw,20px)}
    .rz__item{padding:clamp(15px,2vh,22px) clamp(14px,1.8vw,22px)}
    .rz__rule{margin:0 auto clamp(8px,1.1vh,13px)}
    .rz__item p{margin-top:clamp(5px,.8vh,8px)}
    .rz__cta{margin-top:clamp(12px,2vh,20px)}
  }
  @media(prefers-reduced-motion:reduce){
    .rz__title,.rz__item,.rz__rule{transition:none !important}
    .rz__title,.rz__item{opacity:1 !important;transform:none !important}
    .rz__item::after{display:none}
  }

  /* ---- categories — a premium furniture-catalogue section. desktop: 3 image-dominant cards
         side by side. mobile: a native swipe carousel with a peek of the next card. ---- */
  #cats{position:fixed;inset:0;z-index:9;transform:translateY(100%);
    background:#c9b7a3;overflow:hidden;display:none;
    font-family:"Assistant",system-ui,sans-serif;color:#3f2d1f}
  #cats.is-active{display:block}
  .ct__head{position:absolute;top:clamp(150px,20vh,206px);left:0;right:0;z-index:3;
    text-align:center;direction:rtl;pointer-events:none;padding:0 24px}
  .ct__head h2{margin:0;font-weight:300;font-size:clamp(22px,2.9vw,42px);letter-spacing:.01em;
    line-height:1.14;color:#3f2d1f;
    opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
  .ct__head h2 b{font-weight:700}
  .ct__head p{margin:clamp(10px,1.4vw,16px) 0 0;font-weight:300;line-height:1.55;
    font-size:clamp(12px,1.15vw,17px);color:#6b5744;
    opacity:0;transform:translateY(12px);transition:opacity .6s ease .12s,transform .6s cubic-bezier(.2,.7,.2,1) .12s}
  #cats.reveal .ct__head h2,#cats.reveal .ct__head p{opacity:1;transform:none}

  .ct__viewport{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
    padding-top:clamp(268px,36vh,400px);padding-bottom:clamp(104px,16vh,170px);user-select:none}
  .ct__track{display:grid;grid-template-columns:repeat(3,1fr);
    gap:clamp(16px,2.2vw,38px);width:min(1120px,86vw);margin:0 auto;direction:rtl}
  .ct__card{position:relative;display:block;width:100%;aspect-ratio:83/108;
    border-radius:clamp(12px,1.3vw,20px);overflow:hidden;cursor:pointer;isolation:isolate;
    background:#3a2c1e;color:#f2e7d8;text-decoration:none;
    box-shadow:0 24px 54px -26px rgba(30,18,8,.5);
    opacity:0;transform:translateY(18px);
    transition:opacity .55s ease,transform .55s cubic-bezier(.2,.7,.2,1),box-shadow .38s ease}
  #cats.reveal .ct__card{opacity:1;transform:translateY(0);transition-delay:calc(var(--i,0) * 100ms),calc(var(--i,0) * 100ms),0s}
  .ct__inner{position:absolute;inset:0;overflow:hidden;z-index:0}
  .ct__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
    transition:transform .45s cubic-bezier(.2,.7,.2,1)}
  .ct__inner::after{content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(0deg,rgba(24,16,8,.72) 0%,rgba(24,16,8,.18) 42%,rgba(24,16,8,.05) 100%)}
  .ct__num{position:absolute;top:clamp(14px,1.6vw,24px);inset-inline-start:clamp(16px,1.8vw,26px);z-index:2;
    font-weight:300;font-size:clamp(22px,2.4vw,38px);line-height:1;color:#f4ead9;opacity:.6;
    letter-spacing:.02em;text-shadow:0 2px 16px rgba(0,0,0,.4)}
  /* glass label over the lower portion of the image */
  .ct__label{position:absolute;left:clamp(12px,1.4vw,20px);right:clamp(12px,1.4vw,20px);
    bottom:clamp(12px,1.4vw,20px);z-index:2;
    padding:clamp(14px,1.7vw,22px) clamp(16px,1.8vw,24px);
    border-radius:clamp(10px,1vw,15px);text-align:start;direction:rtl;
    background:rgba(28,19,10,.34);
    -webkit-backdrop-filter:blur(7px) saturate(1.04);backdrop-filter:blur(7px) saturate(1.04);
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 12px 30px -16px rgba(0,0,0,.5);
    overflow:hidden;isolation:isolate;
    transition:background .38s ease,border-color .38s ease,box-shadow .38s ease}
  /* same radial "ink" reveal as the buttons, but a faint transparent wash */
  .ct__label > *{position:relative;z-index:1}
  .ct__ink{position:absolute;top:0;left:0;z-index:0;border-radius:50%;pointer-events:none;
    width:var(--ci-d,12px);height:var(--ci-d,12px);
    transform:translate(-50%,-50%) translate(var(--ci-x,50%),var(--ci-y,50%)) scale(var(--ci-s,0));
    background:rgba(255,255,255,.16);
    transition:transform .95s cubic-bezier(.22,.61,.36,1)}
  @media(prefers-reduced-motion:reduce){ .ct__ink{transition:none;display:none} }
  .ct__name{display:block;font-weight:700;font-size:clamp(16px,1.5vw,23px);letter-spacing:.02em;color:#fbf3e7}
  .ct__name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ct__sub{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
    min-height:3em;   /* always two lines tall -> all three label boxes are identical */
    margin:clamp(5px,.7vw,9px) 0 0;font-weight:300;line-height:1.5;
    font-size:clamp(11.5px,.92vw,14px);color:rgba(242,231,216,.82)}
  .ct__cta{display:inline-flex;align-items:center;gap:.4em;margin-top:clamp(9px,1.1vw,14px);
    font-weight:500;font-size:clamp(11.5px,.92vw,14px);color:#f4ead9;letter-spacing:.02em}
  .ct__cta i{font-style:normal;transition:transform .38s cubic-bezier(.2,.7,.2,1)}
  .ct__dots{position:absolute;left:0;right:0;bottom:clamp(20px,4vh,40px);z-index:4;
    display:none;gap:9px;justify-content:center;direction:rtl}
  .ct__dots b{width:7px;height:7px;border-radius:50%;background:#3f2d1f;opacity:.3;
    transition:opacity .3s,width .3s;cursor:pointer}
  .ct__dots b.on{opacity:.85;width:20px;border-radius:4px}

  @media(hover:hover){
    .ct__card:hover{transform:translateY(-5px);box-shadow:0 34px 66px -28px rgba(30,18,8,.6)}
    .ct__card:hover .ct__photo{transform:scale(1.025)}
    .ct__card:hover .ct__label{background:rgba(28,19,10,.46);border-color:rgba(255,255,255,.26);
      box-shadow:0 18px 38px -18px rgba(0,0,0,.58)}
    .ct__card:hover .ct__cta i{transform:translateX(-4px)}
  }
  @media(max-width:1000px){
    #cats{overflow:visible}
    .ct__head{top:clamp(126px,17vh,168px)}
    .ct__viewport{display:block;padding:clamp(200px,29vh,252px) 0 clamp(60px,10vh,96px);
      overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
      -webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
    .ct__track{display:flex;grid-template-columns:none;width:auto;margin:0;
      gap:clamp(12px,3.5vw,18px);padding-inline:9vw}
    .ct__card{flex:0 0 82vw;width:82vw;aspect-ratio:5/6;scroll-snap-align:center}
    .ct__dots{display:flex}
  }
  @media(prefers-reduced-motion:reduce){
    .ct__head h2,.ct__head p,.ct__card,.ct__photo,.ct__cta i{transition:none !important}
    .ct__head h2,.ct__head p,.ct__card{opacity:1 !important;transform:none !important}
  }

  /* category detail overlay — placeholder until real category pages exist */
  #catModal{position:fixed;inset:0;z-index:22;display:none;
    background:rgba(28,18,8,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
    align-items:center;justify-content:center;padding:24px}
  #catModal.on{display:flex}
  .cm__box{position:relative;width:min(680px,92vw);max-height:88vh;overflow:auto;
    border-radius:28px;background:linear-gradient(180deg,#4a3826,#241b10);color:#efe6da;
    box-shadow:0 40px 90px -20px rgba(0,0,0,.6);direction:rtl;
    font-family:"Assistant",system-ui,sans-serif}
  .cm__img{width:100%;height:min(46vh,340px);object-fit:cover;display:block;background:#3a2c1e}
  .cm__t{padding:22px clamp(22px,4vw,40px) 6px;font-weight:700;
    font-size:clamp(20px,2.4vw,30px);letter-spacing:.05em}
  .cm__d{padding:0 clamp(22px,4vw,40px);font-weight:300;line-height:1.6;
    font-size:clamp(13px,1.2vw,16px);color:#d8c6b0}
  .cm__note{padding:16px clamp(22px,4vw,40px) 26px;font-weight:300;font-size:12px;
    color:#b09a82;letter-spacing:.03em}
  .cm__x{position:absolute;top:14px;left:14px;width:38px;height:38px;border:0;border-radius:50%;
    background:rgba(0,0,0,.35);color:#efe6da;font-size:20px;line-height:1;cursor:pointer}
  .cm__x:hover{background:rgba(0,0,0,.55)}

  /* ---- per-clip caption: SplitText-style — each character eases up + fades in ---- */
  #clipCap{position:fixed;left:0;right:0;top:50%;transform:translateY(-50%);z-index:8;
    display:flex;flex-direction:column;align-items:center;gap:clamp(8px,1.2vh,14px);
    padding:0 24px;direction:rtl;text-align:center;pointer-events:none;
    opacity:0;transition:opacity .3s ease;
    font-family:"Assistant",system-ui,sans-serif;
    text-shadow:0 2px 22px rgba(20,12,4,.55),0 1px 4px rgba(20,12,4,.4)}
  #clipCap.show{opacity:1}
  .cc__logo{width:clamp(40px,5vh,64px);height:auto;margin-bottom:clamp(2px,.6vh,6px);
    filter:drop-shadow(0 2px 14px rgba(20,12,4,.5))}
  .cc__main{color:#fff;font-weight:700;letter-spacing:.01em;line-height:1.15;
    font-size:clamp(23px,3.4vw,50px);white-space:nowrap}
  .cc__sub{color:#f1e9dd;font-weight:300;line-height:1.4;
    font-size:clamp(12px,1.35vw,19px);max-width:min(90vw,640px)}
  .cc__ch{display:inline-block;opacity:0;transform:translateY(42px);
    transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1);
    transition-delay:calc(var(--i) * 42ms)}
  .cc__w{display:inline-block;opacity:0;transform:translateY(26px);
    transition:opacity .55s cubic-bezier(.16,1,.3,1),transform .55s cubic-bezier(.16,1,.3,1);
    transition-delay:calc(200ms + var(--i) * 55ms)}
  #clipCap.show .cc__ch,#clipCap.show .cc__w{opacity:1;transform:translateY(0)}
  /* safety net: once the entrance has had time (or the closer starts covering the
     words), force the end state so an interrupted / restarted per-char stagger can
     never leave the caption invisible at the end of clip 3 */
  #clipCap.settled .cc__ch,#clipCap.settled .cc__w,#clipCap.settled .cc__cta{
    opacity:1 !important;transform:none !important;transition-delay:0s !important}
  @media(prefers-reduced-motion:reduce){
    .cc__ch,.cc__w,.cc__cta{transition:none !important;transition-delay:0s !important}
    #clipCap.show .cc__ch,#clipCap.show .cc__w,#clipCap.show .cc__cta{opacity:1 !important;transform:none !important}
  }
  .cc__cta{pointer-events:none;margin-top:clamp(4px,1vh,10px);
    border:0;border-radius:999px;cursor:pointer;
    background:#efe6da;color:#3a2c1e;
    font-family:inherit;font-weight:600;letter-spacing:.02em;
    font-size:clamp(13px,1.15vw,17px);
    padding:clamp(9px,1.2vh,14px) clamp(20px,2.4vw,34px);
    box-shadow:0 12px 30px -8px rgba(20,12,4,.5);
    opacity:0;transform:translateY(18px);
    transition:opacity .5s ease .35s,transform .5s ease .35s,background .25s ease}
  #clipCap.show .cc__cta{pointer-events:auto;opacity:1;transform:translateY(0)}
  #clipCap.show .cc__cta:hover{transform:translateY(-2px);background:#fff}
  #clipCap.gone{display:none}

  /* ---- "דברו איתנו" button — appears in sections without their own CTA; click reveals the phone ---- */
  .talk{display:inline-flex;align-items:center;gap:.5em;cursor:pointer;text-decoration:none;
    border:0;border-radius:999px;font-family:inherit;font-weight:600;letter-spacing:.02em;
    font-size:clamp(12px,1.05vw,15px);
    padding:clamp(11px,1.4vh,15px) clamp(22px,2.8vw,38px);
    background:#3f2d1f;color:#fbf3ea;
    box-shadow:0 14px 34px -16px rgba(20,12,4,.4)}
  .talk .talk__num{display:none;font-weight:700;direction:ltr;unicode-bidi:isolate}
  .talk.show .talk__label{display:none}
  .talk.show .talk__num{display:inline}
  .rz__cta{margin-top:clamp(16px,2.5vw,28px);text-align:center}
  .ab__talk{margin-top:clamp(22px,3vw,38px)}
  .ct__talk{position:absolute;left:50%;transform:translateX(-50%);z-index:4;
    bottom:clamp(24px,5vh,52px)}
  @media(max-width:1000px){ .ct__talk{bottom:clamp(56px,9vh,84px)} }
  /* the deals CTA + talk button both sit in the section's own bottom flow (see .dl__body) so
     they stack, never overlap */
  .dl__talk{flex:0 0 auto;position:relative}

  /* ---- every button on the site: border + text only, NO fill.
         --b is the colour that contrasts with whatever it sits on (dark brown on light sections,
         warm beige on the photo / brown / dark-footer sections); --o is the other one.
         on hover the ink blob grows in --b and the text flips to --o. ---- */
  .pj__cta,.closer__cta,.closer__cta--primary,#skipBtn,.cc__cta,.talk,.dl__cta,.ft__form button{
    position:relative;overflow:hidden;isolation:isolate}
  .btn-label{position:relative;z-index:2}
  .btn-ink{position:absolute;top:0;left:0;z-index:1;border-radius:50%;pointer-events:none;
    width:var(--ink-d,12px);height:var(--ink-d,12px);
    transform:translate(-50%,-50%) translate(var(--ink-x,50%),var(--ink-y,50%)) scale(var(--ink-s,0));
    background:var(--b,#3f2d1f);opacity:1;
    transition:transform .45s cubic-bezier(.3,.1,.2,1)}   /* fills slowly */
  .pj__cta,.closer__cta,.closer__cta--primary,#skipBtn,#skipBtn.show,.cc__cta,#clipCap.show .cc__cta,
  .talk,.talk:hover,.talk.show,.dl__cta,.ft__form button{
    --b:#3f2d1f;--o:#efe6da;
    background:transparent !important;color:var(--b) !important;
    border:1px solid var(--b) !important;box-shadow:none !important;
    -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
    transition:color .2s ease 0s !important}
  .pj__cta:hover,.closer__cta:hover,.closer__cta--primary:hover,#skipBtn:hover,#skipBtn.show:hover,
  .cc__cta:hover,#clipCap.show .cc__cta:hover,.talk:hover,.dl__cta:hover,.ft__form button:hover{
    background:transparent !important;color:var(--o) !important;border-color:var(--b) !important;transform:none}
  .btn-label,.talk .talk__label,.talk .talk__num{color:inherit !important}
  /* light-on-dark contexts: the hero photo, the brown reasons area, the dark footer */
  #clipCap .cc__cta,#skipBtn,#reasons .talk,#siteFooter .ft__form button{--b:#efe6da;--o:#3f2d1f}
  #clipCap .cc__cta,#skipBtn{text-shadow:0 1px 12px rgba(20,12,4,.55)}
  #clipCap .cc__cta:hover,#skipBtn:hover{text-shadow:none}
  @media(prefers-reduced-motion:reduce){ .btn-ink{transition:none;display:none} }

  /* ---- small "skip" control, bottom-right ---- */
  #skipBtn{position:fixed;right:clamp(14px,2.4vw,28px);bottom:clamp(14px,2.4vh,26px);z-index:9;
    border:1px solid rgba(255,255,255,.5);border-radius:999px;cursor:pointer;
    background:rgba(30,20,10,.34);color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
    font-family:"Assistant",system-ui,sans-serif;font-weight:500;letter-spacing:.03em;
    font-size:clamp(11px,1vw,14px);padding:8px 16px;
    opacity:0;transition:opacity .4s ease,background .25s ease}
  #skipBtn.show{opacity:.9}
  #skipBtn.show:hover{opacity:1;background:rgba(30,20,10,.55)}
  #skipBtn.gone{display:none}

  /* ---- brand mark, top-right, over the hero clips ---- */
  #cornerLogo{position:fixed;top:clamp(12px,2.4vh,26px);right:clamp(16px,2.6vw,36px);z-index:9;
    height:clamp(40px,6vh,66px);width:auto;pointer-events:none;user-select:none;
    filter:drop-shadow(0 4px 14px rgba(20,12,4,.35));
    opacity:0;transition:opacity .5s ease}
  #cornerLogo.show{opacity:1}
  #cornerLogo.gone{display:none}

  /* ---- room progress counter, bottom-left, over the hero clips ---- */
  #roomCount{position:fixed;left:clamp(16px,2.8vw,36px);bottom:clamp(16px,2.8vh,30px);z-index:9;
    font-family:"Assistant",system-ui,sans-serif;font-weight:300;letter-spacing:.16em;
    font-size:clamp(13px,1.15vw,17px);color:#f1e9dd;
    text-shadow:0 2px 14px rgba(20,12,4,.55),0 1px 4px rgba(20,12,4,.4);
    pointer-events:none;user-select:none;opacity:0;transition:opacity .4s ease}
  #roomCount.show{opacity:.92}
  #roomCount.gone{display:none}
  #roomCount b{font-weight:700;font-size:1.35em;letter-spacing:.02em}

  /* ---- projects — tall editorial plates fly in from the top-right and line into a row;
         the intro sentence + CTA sit centered underneath, below every card. ---- */
  #projects{position:fixed;inset:0;z-index:12;transform:translateY(100%);
    background:#c9b7a3;               /* continues the categories area's colour */
    overflow:hidden;display:none;
    font-family:"Assistant",system-ui,sans-serif;color:#fbf3ea}
  #projects.is-active{display:block}
  /* intro sits centered, BELOW the row of cards */
  .pj__intro{position:absolute;left:0;right:0;bottom:clamp(20px,3.6vh,40px);z-index:6;
    text-align:center;direction:rtl;pointer-events:none;color:#3f2d1f}
  .pj__lead{display:block;font-weight:300;line-height:1.5;
    font-size:clamp(14px,1.5vw,21px);color:#3f2d1f;
    opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
  #projects.reveal .pj__lead{opacity:1;transform:none}

  .pj__wrap{position:absolute;left:0;right:0;top:0;bottom:clamp(78px,11vh,118px);perspective:1700px;perspective-origin:50% 14%}
  .pj__stage{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d;
    transform:translate(-50%,-50%)}
  .pj__card{position:absolute;left:0;top:0;
    width:clamp(84px,8vw,128px);height:min(52vh,50vw,420px);
    margin-left:calc(clamp(84px,8vw,128px) / -2);
    margin-top:calc(min(52vh,50vw,420px) / -2);
    border-radius:999px;overflow:hidden;cursor:pointer;opacity:0;
    border:1px solid rgba(255,247,235,.08);
    background:linear-gradient(168deg,#8a7057 0%,#6f5940 55%,#584534 100%);
    box-shadow:0 22px 52px -26px rgba(30,17,7,.42);
    will-change:transform,opacity;backface-visibility:hidden;
    filter:grayscale(.5) brightness(.9);                    /* softly desaturated until the cursor lights it */
    transition:filter .42s ease,border-color .38s ease,box-shadow .38s ease}
  .pj__inner{position:absolute;inset:0;z-index:1;overflow:hidden;border-radius:inherit}
  .pj__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
    transition:transform .42s cubic-bezier(.2,.7,.2,1)}
  /* legibility scrim so the meta always reads over any photo */
  .pj__card::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
    background:linear-gradient(180deg,rgba(20,12,6,.42) 0%,rgba(20,12,6,.06) 34%,rgba(20,12,6,.5) 100%)}
  /* a very faint cursor light, not a glow */
  .pj__card::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;
    transition:opacity .4s ease;
    background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,240,220,.16),transparent 72%)}
  .pj__card:focus-visible{outline:2px solid #fbf3ea;outline-offset:4px}
  .pj__meta{position:absolute;left:10%;right:10%;bottom:clamp(46px,7vh,74px);z-index:4;
    text-align:center;direction:rtl;pointer-events:none;
    opacity:.72;transition:opacity .4s ease}
  .pj__mname{display:block;font-weight:400;font-size:clamp(9px,.92vw,12px);letter-spacing:.04em;
    color:rgba(251,243,234,.9)}
  .pj__mgo{display:block;margin-top:5px;font-weight:500;font-size:clamp(9px,.9vw,11.5px);
    letter-spacing:.02em;color:#fbf3ea}
  .pj__mgo::before{content:"";display:block;width:20px;height:1px;margin:0 auto 6px;
    background:rgba(251,243,234,.5)}
  @media(hover:hover){
    .pj__card:hover{z-index:5;border-color:var(--bc,#c99a6b);
      box-shadow:0 40px 82px -22px rgba(18,9,3,.55)}
    .pj__card:hover::after{opacity:1}
    .pj__card:hover .pj__img{transform:scale(1.028)}
    .pj__card:hover .pj__meta{opacity:1}
  }
  .pj__cta{display:inline-flex;align-items:center;margin-top:clamp(16px,2.4vw,28px);
    pointer-events:auto;
    border:0;border-radius:999px;cursor:pointer;background:#3f2d1f;color:#fbf3ea;opacity:0;
    font-family:inherit;font-weight:600;letter-spacing:.02em;font-size:clamp(12px,1.1vw,16px);
    padding:clamp(10px,1.4vh,14px) clamp(20px,2.6vw,34px);
    box-shadow:0 16px 38px -14px rgba(28,14,4,.45);transition:transform .28s ease,background .25s ease}
  .pj__cta:hover{transform:translateY(-2px);background:#4a3626}
  #pjToast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);z-index:30;
    background:rgba(20,12,6,.92);color:#fbf3ea;font-family:"Assistant",system-ui,sans-serif;
    font-size:13px;padding:12px 22px;border-radius:999px;opacity:0;pointer-events:none;
    transition:opacity .3s ease,transform .3s ease}
  #pjToast.on{opacity:1;transform:translate(-50%,0)}
  @media(max-width:0px){
    #projects{overflow:visible}
    .pj__intro{left:0;right:0;width:auto;transform:none;top:auto;bottom:clamp(16px,4vh,32px);text-align:center}
    .pj__wrap{position:absolute;inset:0;perspective:none;
      overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
      -webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;
      display:flex;align-items:center}
    .pj__stage{position:static;transform:none !important;width:max-content;height:auto;
      display:flex;gap:clamp(12px,3.5vw,20px);
      padding:clamp(176px,27vh,244px) 14vw clamp(96px,14vh,140px);transform-style:flat}
    .pj__card{position:relative !important;left:auto;top:auto;margin:0 !important;
      transform:none !important;opacity:1 !important;filter:none !important;
      flex:0 0 64vw;width:64vw;height:auto;aspect-ratio:3/4;scroll-snap-align:center;
      border-radius:999px}
    .pj__meta{bottom:clamp(16px,4vw,26px);opacity:1}
    .pj__mname{font-size:clamp(11px,3vw,14px)}
    .pj__mgo{font-size:clamp(11px,2.8vw,13px)}
  }
  @media(prefers-reduced-motion:reduce){
    .pj__lead,.pj__img,.pj__meta{transition:none !important}
    .pj__lead{opacity:1 !important;transform:none !important}
  }

  /* ---- deals area — a 4-column masonry of image tiles + offer tiles, brand colours.
         rises on scroll and pushes the projects strip out; tiles stagger in. ---- */
  #deals{position:fixed;inset:0;z-index:11;transform:translateY(100%);
    background:#efe6da;overflow:hidden;display:none;
    font-family:"Assistant",system-ui,sans-serif;color:#3f2d1f}
  #deals.is-active{display:block}
  /* looping marquee strip across the top of the deals area */
  .dl__strip{position:absolute;left:0;right:0;top:clamp(84px,11vh,124px);z-index:6;overflow:hidden;
    height:clamp(46px,6vh,58px);background:#8a5a3c;color:#f6e9dd;
    display:flex;align-items:center;white-space:nowrap;direction:ltr}   /* LTR container -> track is LEFT-anchored, extends rightward off-screen; translateX(-50%) always pulls filled content in from the right (no empty gap). items stay rtl for Hebrew. */
  .dl__strip__track{display:flex;flex:none;width:max-content;align-items:center;direction:ltr;
    animation:dlStrip 135s linear infinite;will-change:transform}
  .dl__strip__item{flex:none;display:inline-flex;align-items:center;white-space:nowrap;line-height:1;direction:rtl;
    font-weight:600;letter-spacing:.04em;font-size:clamp(13px,1.2vw,17px);
    padding-inline:clamp(12px,1.8vw,26px)}
  .dl__strip__item::after{content:"";display:inline-block;flex:none;
    width:1.15em;height:1.15em;margin-inline-start:clamp(12px,1.8vw,26px);opacity:.75;
    background:currentColor;
    -webkit-mask:url(/assets/site-logo-mark.png) center/contain no-repeat;
    mask:url(/assets/site-logo-mark.png) center/contain no-repeat}
  @keyframes dlStrip{from{transform:translateX(0)}to{transform:translateX(-50%)}}
  /* body: everything below the strip, laid out top-to-bottom so the CTA always lands
     BELOW the grid, never floating over it. */
  .dl__body{position:absolute;left:0;right:0;top:clamp(150px,20vh,190px);bottom:0;z-index:2;
    display:flex;flex-direction:column;align-items:center;min-height:0;
    padding:0 clamp(16px,3vw,40px) clamp(16px,2.4vh,26px);gap:clamp(8px,1.4vh,14px)}
  .dl__head{flex:0 0 auto;text-align:center;direction:rtl;pointer-events:none}
  .dl__head span{display:block;font-weight:600;letter-spacing:.26em;font-size:clamp(10px,1vw,13px);color:#8a5a3c;
    opacity:0;transform:translateY(10px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
  .dl__head h2{margin:clamp(6px,1vw,10px) 0 0;font-weight:300;letter-spacing:.01em;
    font-size:clamp(19px,2.4vw,32px);color:#3f2d1f;
    opacity:0;transform:translateY(12px);transition:opacity .6s ease .1s,transform .6s cubic-bezier(.2,.7,.2,1) .1s}
  .dl__head h2 b{font-weight:700}
  #deals.reveal .dl__head span,#deals.reveal .dl__head h2{opacity:1;transform:none}

  /* the checkerboard, restored: TEXT/IMAGE tiles alternate across and down — row-major fill
     over --dl-cols columns x 2 rows means the top/bottom relationship flips from one tile
     to the next. */
  .dl__grid{flex:1 1 auto;min-height:0;width:100%;max-width:1280px;
    display:grid;grid-template-columns:repeat(var(--dl-cols,5),1fr);grid-template-rows:1fr 1fr;
    gap:clamp(2px,.3vw,6px);direction:rtl;
    border-radius:clamp(14px,1.6vw,22px);overflow:hidden;
    box-shadow:0 24px 56px -30px rgba(50,32,18,.4)}
  .dl__tile{position:relative;overflow:hidden;opacity:0;will-change:opacity,transform}
  .dl__tile--txt{background:#f6efe3;direction:rtl;
    display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
    padding:clamp(12px,1.8vw,26px);transition:background .34s ease}
  .dl__tile--txt .dl__big{font-weight:700;line-height:1;color:#8a5a3c;letter-spacing:.01em;
    font-size:clamp(15px,1.8vw,28px)}
  .dl__tile--txt .dl__mid{display:block;font-weight:600;margin-top:clamp(4px,.7vw,9px);
    font-size:clamp(11px,.9vw,14px);color:#3f2d1f}
  .dl__tile--txt .dl__desc{display:block;font-weight:300;margin-top:clamp(3px,.5vw,6px);
    line-height:1.4;font-size:clamp(9.5px,.78vw,11.5px);color:#6b5744}
  .dl__tile--img{background:linear-gradient(160deg,#ddccb6,#c3ad92)}
  .dl__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
    transition:transform .4s cubic-bezier(.2,.7,.2,1)}
  .dl__tile--img::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;
    background:rgba(24,15,7,.14);transition:opacity .34s ease}
  @media(hover:hover){
    .dl__tile--img:hover .dl__img{transform:scale(1.026)}
    .dl__tile--img:hover::after{opacity:1}
    .dl__tile--txt:hover{background:#faf4ea}
  }

  /* CTA sits in normal flow, below the grid — never overlaps a tile */
  .dl__cta{flex:0 0 auto;position:relative;display:inline-flex;align-items:center;
    pointer-events:auto;overflow:hidden;isolation:isolate;
    font-weight:600;letter-spacing:.02em;font-size:clamp(12.5px,1vw,14.5px);
    padding:11px clamp(22px,2.4vw,30px);border-radius:999px;
    border:1px solid #3f2d1f;color:#3f2d1f;background:transparent;
    transition:color .5s ease,border-color .5s ease}
  .dl__cta:hover{background:#8a5a3c;border-color:#8a5a3c;color:#fff}

  @media(max-width:900px){
    #deals{overflow-y:auto}
    .dl__strip{position:relative;top:auto;margin-top:clamp(84px,13vh,116px)}   /* clear the fixed header pill */
    .dl__body{position:relative;top:auto;bottom:auto;padding:clamp(24px,5vh,40px) 16px clamp(40px,7vh,64px)}
    .dl__grid{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(5,minmax(120px,1fr));
      max-width:420px}
    .dl__tile--txt{padding:clamp(14px,4vw,20px)}
  }
  @media(prefers-reduced-motion:reduce){
    .dl__head span,.dl__head h2{transition:none !important;opacity:1 !important;transform:none !important}
  }

  /* ---- about — an editorial two-column: a premium bedroom image on the left,
         the condensed brand story on the right. clears space at the top for the header. ---- */
  #about{position:fixed;inset:0;z-index:13;transform:translateY(100%);
    background:#efe6da;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;display:none;
    font-family:"Assistant",system-ui,sans-serif;color:#3f2d1f}
  #about.is-active{display:block}
  .ab__inner{min-height:100%;display:grid;grid-template-columns:34% 1fr;align-items:center;
    direction:ltr;padding:clamp(66px,8vh,92px) clamp(20px,3.4vw,48px) clamp(16px,2.4vh,26px)}
  /* left side: a circle carrying the logo mark (no wordmark) */
  .ab__figure{justify-self:center;align-self:center;margin:0;
    width:min(80%,clamp(220px,24vw,360px));aspect-ratio:1;border-radius:50%;
    background:#c9ab97;overflow:hidden;display:flex;align-items:center;justify-content:center}
  .ab__mark{width:60%;height:60%;object-fit:contain;
    opacity:0;will-change:opacity,transform;
    transform:translate3d(var(--lx,0px),var(--ly,0px),0) translateX(var(--enterX,-26px)) scale(var(--enterS,.97));
    transition:transform .3s cubic-bezier(.22,.61,.36,1)}
  .ab__col{display:flex;flex-direction:column;justify-content:center;direction:rtl;
    padding:clamp(8px,1.6vh,18px) clamp(20px,3.6vw,48px);max-width:900px}
  .ab__eyebrow{font-weight:600;letter-spacing:.24em;font-size:clamp(10px,1vw,13px);color:#8a5a3c;
    opacity:0;transform:translateY(10px);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.7,.2,1)}
  .ab__title{margin:clamp(4px,1vw,10px) 0 clamp(8px,1.3vw,14px);font-weight:300;line-height:1.1;
    letter-spacing:.01em;font-size:clamp(24px,3.2vw,42px);color:#3f2d1f;
    opacity:0;transform:translateY(14px);transition:opacity .55s ease .06s,transform .55s cubic-bezier(.2,.7,.2,1) .06s}
  .ab__p{margin:0 0 clamp(8px,1.05vw,12px);font-weight:300;line-height:1.52;
    font-size:clamp(11.5px,.95vw,14px);color:#4a3624;
    opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s cubic-bezier(.2,.7,.2,1)}
  .ab__p:nth-of-type(1){transition-delay:.12s}
  .ab__p:nth-of-type(2){transition-delay:.2s}
  .ab__promise{margin:clamp(8px,1.2vw,14px) 0 0;padding-top:clamp(10px,1.4vw,16px);
    border-top:1px solid rgba(120,86,54,.28);
    font-weight:400;line-height:1.42;font-size:clamp(14px,1.4vw,19px);color:#5a3d26;
    opacity:0;transform:translateY(14px);transition:opacity .55s ease .28s,transform .55s cubic-bezier(.2,.7,.2,1) .28s}
  .ab__sign{margin-top:clamp(6px,1vw,10px);font-weight:700;letter-spacing:.05em;
    font-size:clamp(11px,1vw,14px);color:#8a5a3c;
    opacity:0;transform:translateY(12px);transition:opacity .5s ease .36s,transform .5s cubic-bezier(.2,.7,.2,1) .36s}
  .ab__talk{align-self:flex-start}
  #about.reveal .ab__eyebrow,#about.reveal .ab__title,#about.reveal .ab__p,
  #about.reveal .ab__promise,#about.reveal .ab__sign{opacity:1;transform:none}
  /* short desktop viewports: pull it in further so the whole area fits with no scrollbar */
  @media(min-width:901px) and (max-height:900px){
    .ab__inner{padding:clamp(56px,7vh,76px) clamp(20px,3.4vw,48px) clamp(12px,2vh,20px)}
    .ab__figure{width:min(64%,clamp(180px,18vw,280px))}
    .ab__col{padding:clamp(4px,1.2vh,12px) clamp(18px,3.4vw,44px)}
    .ab__title{font-size:clamp(20px,2.6vw,32px);margin:clamp(3px,.8vw,8px) 0 clamp(6px,1vw,11px)}
    .ab__p{margin-bottom:clamp(6px,.85vw,10px);line-height:1.4;font-size:clamp(10.5px,.85vw,12.5px)}
    .ab__promise{font-size:clamp(12.5px,1.2vw,16px);padding-top:clamp(6px,1vw,11px)}
  }
  @media(max-width:900px){
    .ab__inner{grid-template-columns:1fr;align-items:start;padding-top:clamp(70px,11vh,110px);gap:clamp(20px,4vh,32px)}
    .ab__figure{width:min(220px,54vw)}
    .ab__col{justify-content:flex-start;max-width:none;
      padding:clamp(4px,2vh,16px) clamp(24px,7vw,44px) clamp(48px,9vh,72px)}
  }
  @media(prefers-reduced-motion:reduce){
    .ab__mark,.ab__eyebrow,.ab__title,.ab__p,.ab__promise,.ab__sign{transition:none !important}
    .ab__mark,.ab__eyebrow,.ab__title,.ab__p,.ab__promise,.ab__sign{opacity:1 !important;transform:none !important}
  }

  /* ---- site footer — a quiet dark band that rises from below and pushes the about screen up ---- */
  #siteFooter{position:fixed;left:0;right:0;bottom:0;height:60vh;min-height:460px;max-height:680px;z-index:14;transform:translateY(100%);
    background:#241a12;color:#e9ddce;overflow:hidden;display:none;
    border-radius:clamp(18px,2.4vw,30px) clamp(18px,2.4vw,30px) 0 0;
    font-family:"Assistant",system-ui,sans-serif;direction:rtl}
  #siteFooter.is-active{display:block}
  .ft__inner{position:relative;height:100%;display:flex;flex-direction:column;justify-content:center;
    padding:clamp(106px,5vh + 76px,128px) clamp(28px,6vw,96px) clamp(18px,3vh,28px)}   /* whole footer content ~2cm lower */
  /* RIGHT = big contact form  |  LEFT = centred brand above 3 wide columns */
  .ft__inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1.3fr);gap:clamp(32px,6vw,96px);align-content:start}
  .ft__form > b{display:block;font-weight:600;letter-spacing:.05em;color:#f4ead9;
    font-size:clamp(14px,1.35vw,19px);margin-bottom:clamp(14px,2vh,22px)}
  .ft__form form{display:grid;gap:clamp(10px,1.4vh,15px);max-width:560px}
  .ft__form-row{display:grid;grid-template-columns:1fr 1fr;gap:clamp(10px,1.4vh,15px)}
  .ft__form input,.ft__form textarea{width:100%;font:inherit;font-size:clamp(14px,1.05vw,16px);color:#f4ead9;
    background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:11px;
    padding:13px 15px;direction:rtl}
  .ft__form input::placeholder,.ft__form textarea::placeholder{color:#b0a08c}
  .ft__form textarea{min-height:112px;resize:vertical}
  .ft__form input:focus,.ft__form textarea:focus{outline:2px solid rgba(200,160,110,.5);outline-offset:1px}
  .ft__form button{justify-self:start;font:inherit;font-weight:600;letter-spacing:.02em;font-size:clamp(14px,1.05vw,16px);cursor:pointer;
    border-radius:999px;padding:12px clamp(28px,3.2vw,42px)}
  .ft__form-status{margin:2px 0 0;font-size:clamp(12px,.95vw,14px);line-height:1.4}
  .ft__form-status.ok{color:#9fd0a6}
  .ft__form-status.err{color:#e0a48a}
  .ft__side{display:flex;flex-direction:column;align-items:stretch}
  .ft__logo{display:block;margin:clamp(8px,2vh,22px) auto clamp(22px,4vh,38px);
    height:clamp(26px,3vw,42px);width:auto;filter:brightness(0) invert(1);opacity:.92}
  .ft__grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:clamp(22px,3.5vw,56px);
    align-items:start;font-size:clamp(13px,1.05vw,15.5px);line-height:1.6;width:100%}
  .ft__col{display:flex;flex-direction:column;gap:clamp(8px,1.1vh,13px)}
  .ft__col b{font-weight:600;letter-spacing:.12em;margin-bottom:clamp(4px,.8vh,9px);color:#f4ead9;
    font-size:clamp(12px,1vw,14.5px)}
  .ft__col a,.ft__col span{color:#c3b39d;text-decoration:none;font-weight:300}
  .ft__col a{transition:color .25s ease}
  .ft__col a:hover{color:#fff}
  .ft__ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}
  .ft__copy{margin-top:clamp(18px,3.4vh,30px);padding-top:clamp(12px,2vh,18px);
    border-top:1px solid rgba(255,255,255,.1);
    font-weight:300;font-size:clamp(10px,.8vw,12px);color:#9c8c78;text-align:center;letter-spacing:.02em}
  @media(max-width:820px){
    #siteFooter{height:auto;max-height:none;min-height:0;position:relative}
    .ft__inner{grid-template-columns:1fr;gap:clamp(24px,5vh,36px);
      padding:clamp(26px,6vh,40px) clamp(24px,7vw,40px) clamp(20px,5vh,32px)}
    .ft__side{align-items:flex-start}
    .ft__logo{margin-inline:0}
    .ft__grid{grid-template-columns:1fr 1fr;gap:clamp(20px,6vw,30px)}
    .ft__grid .ft__col:last-child{grid-column:1 / -1}
    .ft__form form{max-width:none}
  }

  /* preloader: the brand name under the logo mark, which fills with colour (not a bare line) as frames load. */
  #load{position:fixed;inset:0;z-index:10;background:#f3ede5;
        display:grid;place-items:center;transition:opacity .6s ease}
  #load.done{opacity:0;pointer-events:none}
  #load .ld__box{display:flex;flex-direction:column;align-items:center;gap:clamp(10px,1.6vh,16px)}
  #load .ld__logo{position:relative;display:block;width:clamp(46px,6vh,64px);height:clamp(46px,6vh,64px)}
  #load .ld__logo-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
  #load .ld__base{opacity:.16;filter:grayscale(1)}
  #load .ld__fill{clip-path:inset(0 100% 0 0);transition:clip-path .2s linear}
  #load .ld__word{font:600 clamp(14px,1.8vw,18px)/1 "Assistant",system-ui,sans-serif;
                   letter-spacing:.03em;color:#3f2d1f;opacity:.82}

/* crossed-out old price: a diagonal strike through the number after "במקום" */
.old-price{position:relative;display:inline-block;text-decoration:none;opacity:.85}
.old-price::after{content:"";position:absolute;left:-3px;right:-3px;top:50%;height:2px;
  background:currentColor;border-radius:2px;transform:rotate(-14deg);transform-origin:center}

/* deals: the two buttons sit side by side — one outlined, one filled */
.dl__btns{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(10px,1.4vw,18px)}
.dl__btns .dl__cta,.dl__btns .dl__talk{margin:0;padding:11px clamp(22px,2.4vw,32px);font-size:clamp(12.5px,1vw,14.5px)}
#deals .dl__talk{background:var(--b) !important;color:var(--o) !important}
#deals .dl__talk .btn-ink{display:none}
#deals .dl__talk{transition:background .35s ease,color .35s ease !important}
#deals .dl__talk:hover{background:transparent !important;color:var(--b) !important}

/* deals tiles are links now: price + title only */
a.dl__tile{color:inherit;text-decoration:none;cursor:pointer}
.dl__btns{flex-wrap:nowrap !important;flex-direction:row !important}
.dl__btns .dl__cta,.dl__btns .dl__talk{white-space:nowrap}

/* deals tile: big price, small struck-through old price beside it, title underneath */
#deals .dl__tile--txt .dl__big{font-size:clamp(22px,2.6vw,42px);display:flex;align-items:baseline;flex-wrap:wrap;gap:.35em}
#deals .dl__tile--txt .dl__was{font-size:clamp(11px,.95vw,15px);font-weight:500;color:#7b6a58;opacity:1}
#deals .dl__tile--txt .dl__mid{margin-top:clamp(6px,.9vw,12px);font-size:clamp(12px,1vw,16px)}

/* about: bigger, bolder, more readable — made room by narrowing the logo column and widening the text column; no visible scrollbar */
#about{scrollbar-width:none;-ms-overflow-style:none}
#about::-webkit-scrollbar{display:none}
@media(min-width:901px){
  .ab__inner{grid-template-columns:24% 1fr}
  .ab__figure{width:min(78%,clamp(170px,17vw,280px))}
  .ab__col{max-width:1100px}
  .ab__p{font-weight:500;color:#3a2a1b;line-height:1.5;
    font-size:clamp(13px,min(1.2vw,2.15vh),19px);margin-bottom:clamp(6px,1.1vh,12px)}
  .ab__promise{font-weight:700;font-size:clamp(15px,min(1.5vw,2.6vh),22px)}
  .ab__title{font-weight:500;font-size:clamp(24px,min(3vw,5vh),42px)}
}
@media(min-width:901px) and (max-height:900px){
  .ab__p{font-size:clamp(13px,min(1.2vw,2.15vh),19px);line-height:1.45;margin-bottom:clamp(5px,.9vh,10px)}
  .ab__promise{font-size:clamp(14px,min(1.4vw,2.4vh),20px)}
  .ab__title{font-size:clamp(22px,min(2.8vw,4.6vh),38px)}
}
@media(max-width:900px){ .ab__p{font-weight:500;color:#3a2a1b;font-size:15px;line-height:1.55} }

/* about: bigger still */
@media(min-width:901px){
  .ab__col{max-width:1180px}
  .ab__p,.ab__p:nth-of-type(n){font-size:clamp(15px,min(1.45vw,2.75vh),25px);line-height:1.5;font-weight:500;margin-bottom:clamp(7px,1.3vh,14px)}
  .ab__promise{font-size:clamp(17px,min(1.8vw,3.2vh),28px)}
  .ab__title{font-size:clamp(28px,min(3.4vw,5.6vh),52px)}
}
@media(min-width:901px) and (max-height:900px){
  .ab__p,.ab__p:nth-of-type(n){font-size:clamp(15px,min(1.45vw,2.75vh),25px);line-height:1.45}
  .ab__promise{font-size:clamp(16px,min(1.7vw,3vh),26px)}
  .ab__title{font-size:clamp(26px,min(3.2vw,5.2vh),48px)}
}

/* closer text: rises from below with the closing shape, always white; a soft brown glow keeps it readable over the beige before the brown arrives */
.closer__panel .closer__h,.closer__panel .closer__sub,.closer__panel .closer__tags{color:#fff;text-shadow:0 1px 3px rgba(63,45,31,.55),0 2px 22px rgba(63,45,31,.6)}

/* deals: breathing room around the two buttons */
@media(min-width:901px){
  #deals .dl__body{padding-bottom:clamp(28px,5vh,56px);gap:clamp(10px,1.6vh,18px)}
  #deals .dl__btns{margin-top:clamp(14px,2.6vh,30px);padding-bottom:clamp(6px,1.2vh,14px);gap:clamp(14px,1.8vw,26px)}
}

/* deals "דברו איתנו" (filled): same ink-blob hover as every other button — a beige blob grows from the cursor and the text flips to dark */
#deals .dl__talk .btn-ink{display:block;background:var(--o)}
#deals .dl__talk:hover{background:var(--b) !important;color:var(--b) !important}

/* header nav: every word sits in a thin capsule; hover fills it with the site's ink blob */
.hd__bar{width:min(1180px,97vw);background:rgba(243,236,225,.96);padding:0 clamp(12px,1.6vw,26px)}
.hd__group{gap:clamp(4px,.55vw,10px)}
.hd__group a{--b:#3f2d1f;--o:#efe6da;position:relative;display:inline-block;overflow:hidden;isolation:isolate;
  padding:clamp(5px,.55vw,8px) clamp(10px,1vw,17px);border:1px solid rgba(63,45,31,.5);border-radius:999px;
  font-weight:600;font-size:clamp(12.5px,1.02vw,16.5px);letter-spacing:.01em;color:#3f2d1f;background:transparent;
  transition:color .3s ease .12s,border-color .3s}
.hd__group a:hover{opacity:1;color:#efe6da;border-color:#3f2d1f}
.hd__group a .btn-label{color:inherit !important}

/* the 'skip' control is removed */
#skipBtn,#skipBtn.show{display:none !important}

/* about: line-by-line reveal */
.ab__p.lined{opacity:1 !important;transform:none !important;transition:none !important}
.ab__ln{display:block;opacity:0;transform:translateY(14px);
  transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1);transition-delay:0s}
#about.lines-go .ab__ln{transition-delay:calc(var(--i,0) * 110ms)}
#about.lines-go .ab__ln{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){ .ab__ln{opacity:1 !important;transform:none !important;transition:none !important} }

/* hero enters with a fade once everything has loaded: the loader dissolves slowly while the stage fades up */
#load{transition:opacity 1.1s ease}
#stage{opacity:0;transition:opacity 1.4s ease}
body:has(#load.done) #stage{opacity:1}
@media(prefers-reduced-motion:reduce){#stage{opacity:1;transition:none}}

/* hero: only the logo above the text, much bigger; the top-right corner logo is gone */
#cornerLogo{display:none !important}
#clipCap .cc__logo{width:clamp(110px,19vh,210px);margin-bottom:clamp(6px,1.2vh,14px)}

/* home categories: centred name with the button underneath, no description */
.ct__sub{display:none !important}
.ct__label{text-align:center;display:flex;flex-direction:column;align-items:center}
.ct__name{text-align:center}
.ct__cta{margin-top:clamp(8px,1vh,12px)}

/* deals heading: bigger, bolder */
#deals .dl__head h2,#deals .dl__title{font-weight:500;font-size:clamp(30px,4.2vw,62px);line-height:1.05;letter-spacing:.005em;color:#3f2d1f}
#deals .dl__head h2 b{font-weight:800;color:#8a5a3c}

/* deals tile: big package title on top, the price underneath */
#deals .dl__tile--txt{align-items:flex-start;gap:clamp(6px,.8vw,12px)}
#deals .dl__tile--txt .dl__mid{order:1;margin:0;font-weight:700;line-height:1.15;font-size:clamp(17px,1.75vw,28px);color:#3f2d1f}
#deals .dl__tile--txt .dl__big{order:2;font-size:clamp(20px,2vw,32px);color:#8a5a3c}
#deals .dl__tile--txt .dl__was{font-size:clamp(11px,.9vw,14px)}

/* hero tagline: heavier, whiter, with a soft dark glow so it stands out over the photo */
#clipCap .cc__sub{color:#fff;font-weight:700;font-size:clamp(17px,1.9vw,28px);letter-spacing:.01em;
  text-shadow:0 2px 4px rgba(40,26,14,.6),0 3px 22px rgba(40,26,14,.65)}

/* closer buttons: first = white fill + dark text (hover: hollow, light text); second = hollow + light text (hover: white fill + dark text, via the ink circle) */
#closerCtaMain,#closerCtaMain:hover{transition:background .3s ease,color .3s ease,border-color .3s ease !important}
#closerCtaMain{background:#fff !important;color:#3f2d1f !important;border:1px solid #fff !important}
#closerCtaMain .btn-ink{display:none}
#closerCtaMain:hover{background:transparent !important;color:#efe6da !important;border-color:#efe6da !important}
#closerCtaMain .btn-label,#closerTalk .btn-label{color:inherit !important}
#closerTalk{background:transparent !important;color:#efe6da !important;border:1px solid #efe6da !important;transition:color .2s ease 0s !important}
#closerTalk .btn-ink{background:#fff}
#closerTalk:hover{background:transparent !important;color:#3f2d1f !important;border-color:#fff !important}

/* deals: calmer section heading; package title always on ONE line (size follows the tile width) */
#deals .dl__head h2,#deals .dl__title{font-size:clamp(22px,2.7vw,40px)}
#deals .dl__tile--txt{container-type:inline-size}
#deals .dl__tile--txt .dl__mid{white-space:nowrap;font-size:clamp(10px,6.4cqw,26px)}

/* hero tagline: always ONE line, warm gold */
#clipCap .cc__sub{white-space:nowrap;max-width:96vw;color:#f6d3a0;font-size:clamp(12px,2.2vw,30px);
  text-shadow:0 2px 4px rgba(40,26,14,.7),0 3px 22px rgba(40,26,14,.7)}

/* "לצפייה במיטות": the white fill is cleared by a CIRCLE growing from the cursor (same feel as the ink hover, reversed) */
@property --hole{syntax:"<length>";inherits:false;initial-value:0px}
#closerCtaMain{background:transparent !important;position:relative;isolation:isolate;overflow:hidden;
  --hole:calc(var(--ink-d, 12px) / 2 * var(--ink-s, 0));
  transition:--hole .5s cubic-bezier(.3,.1,.2,1),color .2s ease .12s,border-color .3s ease !important}
#closerCtaMain::before{content:"";position:absolute;inset:-1px;z-index:-1;border-radius:inherit;background:#fff;
  -webkit-mask-image:radial-gradient(circle at var(--ink-x,50%) var(--ink-y,50%),transparent var(--hole),#000 calc(var(--hole) + 1px));
  mask-image:radial-gradient(circle at var(--ink-x,50%) var(--ink-y,50%),transparent var(--hole),#000 calc(var(--hole) + 1px))}
#closerCtaMain:hover{background:transparent !important}

/* hero tagline: a bit smaller */
#clipCap .cc__sub{font-size:clamp(11px,1.6vw,22px)}


/* ================= RESPONSIVE ================= */
.hd__burger{display:none}
.ab__more{display:none}

/* header: hamburger on phones and tablets */
@media(max-width:860px){
  #siteHeader{--bar-h:52px}
  .hd__bar{width:min(94vw,460px);height:auto;min-height:52px;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;
    border-radius:26px;padding:0 16px;-webkit-mask:none;mask:none;background:rgba(243,236,225,.97)}
  .hd__bar::before{content:"";position:absolute;left:16px;top:9px;width:34px;height:34px;
    background:url(/assets/site-logo-mark.png) center/contain no-repeat;pointer-events:none}
  .hd__mark,.hd__word,.hd__spacer{display:none !important}
  .hd__burger{display:flex;order:0;align-items:center;gap:5px;height:52px;padding:0;margin:0;border:0;background:none;
    color:#3f2d1f;font:600 15px "Assistant",system-ui,sans-serif;cursor:pointer;flex-wrap:wrap;width:auto}
  .hd__burger i{display:block;width:22px;height:2px;border-radius:2px;background:#3f2d1f;margin-inline-end:0}
  .hd__burger{flex-direction:row}
  .hd__burger i{position:absolute;right:16px}
  .hd__burger i:nth-of-type(1){top:19px}.hd__burger i:nth-of-type(2){top:25px}.hd__burger i:nth-of-type(3){top:31px}
  .hd__burger span{margin-inline-start:34px}
  .hd__group{display:none;order:1;flex:1 0 100%;flex-direction:column;align-items:stretch;gap:8px;padding:2px 0 12px;width:100%}
  #siteHeader.menu-open .hd__group{display:flex}
  .hd__group li{display:block}
  .hd__group a{display:block;text-align:center;font-size:16px;padding:11px 14px}
}

/* projects: smaller cards on tablets and phones */
@media(max-width:0px){
  .pj__card{flex:0 0 34vw;width:34vw;min-width:150px}
  .pj__stage{padding-top:clamp(150px,22vh,210px);padding-bottom:clamp(90px,13vh,130px)}
}
@media(max-width:0px){
  .pj__card{flex:0 0 46vw;width:46vw;min-width:0}
}

/* about: "read more" on phones and tablets */
@media(max-width:900px){
  .ab__col:not(.is-open) .ab__p:nth-of-type(n+3),.ab__col:not(.is-open) .ab__promise{display:none}
  .ab__more{display:inline-flex;align-self:flex-start;margin:6px 0 10px;padding:8px 18px;border:1px solid rgba(63,45,31,.55);
    border-radius:999px;background:transparent;color:#3f2d1f;font:600 14px "Assistant",system-ui,sans-serif;cursor:pointer}
}

/* 5 reasons: the brown background always covers the whole area, even when the cards need more height */
@media(max-width:700px){
  #reasons{overflow-y:auto;overflow-x:hidden}
  #reasons .rz__texture{position:sticky;top:0;width:100%;height:100vh;height:100svh}
  #reasons .rz__stage{margin-top:-100vh;margin-top:-100svh;height:auto;min-height:100vh;min-height:100svh}
  .rz__mark--l,.closer__mark--l{transform:translate(-44%,0)}
}

/* categories: smaller cards that fit the screen on tablets / phones */
@media(max-width:1000px){
  .ct__viewport{padding-top:clamp(140px,21vh,190px);padding-bottom:clamp(50px,8vh,80px)}
  .ct__card{flex:0 0 min(62vw,38vh);width:min(62vw,38vh);aspect-ratio:4/5}
  .ct__track{padding-inline:calc(50vw - min(31vw,19vh))}
}

/* deals on tablets / phones: only as many rows as there are deals (no empty space), checkerboard kept */
@media(max-width:900px){
  #deals .dl__grid{grid-template-rows:none;grid-auto-rows:minmax(120px,auto)}
  #deals .dl__tile:nth-child(4n+3){order:2}
  #deals .dl__tile:nth-child(4n+4){order:1}
  #deals .dl__body{padding-bottom:clamp(24px,5vh,40px)}
}

/* no scroll bars anywhere (everything still scrolls) */
html,body,*{scrollbar-width:none;-ms-overflow-style:none}
*::-webkit-scrollbar,html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}

/* 5 reasons: also let the section scroll-free but fully covered by the brown on every size */
#reasons .rz__texture{min-height:100%}

/* categories on phones / tablets: narrow cards, the middle one centred and full size, the side ones a little smaller */
@media(max-width:1000px){
  .ct__card{flex:0 0 min(50vw,31vh);width:min(50vw,31vh);aspect-ratio:3/4}
  .ct__track{padding-inline:calc(50vw - min(25vw,15.5vh));gap:clamp(10px,2.6vw,16px)}
  #cats.reveal .ct__card{transform:scale(.86);opacity:.82;transition:transform .35s ease,opacity .35s ease}
  #cats.reveal .ct__card.is-center{transform:none;opacity:1}
  .ct__name{font-size:clamp(14px,3.6vw,19px)}
  .ct__cta{font-size:clamp(11px,2.8vw,13px)}
}

/* deals: each deal is a group; on desktop the group is invisible (the checkerboard grid is unchanged) */
.dl__deal{display:contents}
/* phones / tablets: one deal under the other, all the same narrow width, picture first */
@media(max-width:900px){
  #deals .dl__grid{display:flex;flex-direction:column;gap:16px;width:min(88vw,340px);max-width:340px;margin-inline:auto;
    grid-template-columns:none;grid-template-rows:none;overflow:visible;border-radius:0;box-shadow:none;flex:0 0 auto}
  #deals .dl__deal{display:flex;flex-direction:column-reverse;border-radius:18px;overflow:hidden;
    box-shadow:0 18px 40px -26px rgba(50,32,18,.45);background:#f6efe3}
  #deals .dl__tile--img{aspect-ratio:4/3;width:100%;order:0}
  #deals .dl__tile--txt{order:0;align-items:center;text-align:center;padding:14px 12px}
}

/* phones / tablets: categories + projects strips sized to sit fully inside the screen */
@media(max-width:1000px){
  .ct__viewport{padding-top:calc(clamp(126px,17vh,168px) + 74px);padding-bottom:clamp(60px,9vh,90px)}
  .ct__card{flex:0 0 min(56vw,36vh);width:min(56vw,36vh);aspect-ratio:3/4}
  .ct__track{padding-inline:calc(50vw - min(28vw,18vh))}
}
@media(max-width:0px){
  .pj__stage{padding-top:clamp(120px,17vh,160px);padding-bottom:clamp(110px,16vh,150px)}
  .pj__wrap{touch-action:pan-x pan-y}
}

@media(max-width:1000px){ .ct__viewport{cursor:grab} }
@media(max-width:600px){ .pj__wrap{cursor:grab} }
.is-dragging{scroll-snap-type:none !important;cursor:grabbing !important;user-select:none}
.is-dragging *{pointer-events:none}

/* ===== tablets / phones: ALL projects sit inside the screen (4 per row, no sideways scrolling) ===== */
@media(max-width:0px){
  #projects .pj__wrap{overflow:hidden;display:flex;align-items:center;justify-content:center;scroll-snap-type:none}
  #projects .pj__stage{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(8px,2.4vw,16px);
    width:min(92vw,720px);padding:clamp(110px,15vh,150px) 0 clamp(130px,18vh,170px)}
  #projects .pj__card{flex:none;width:100%;min-width:0;aspect-ratio:3/4}
  #projects .pj__meta{display:none}
}
/* deals on phones / tablets: smaller cards */
@media(max-width:900px){
  #deals .dl__grid{width:min(64vw,250px);max-width:250px;gap:12px}
  #deals .dl__tile--img{aspect-ratio:5/4}
  #deals .dl__tile--txt{padding:10px 8px}
}

/* deals: the grid always fits the screen width; pictures are shown whole (never cropped) */
#deals .dl__grid{grid-template-columns:repeat(var(--dl-cols,4),minmax(0,1fr));width:100%;max-width:min(1280px,96vw)}
#deals .dl__tile{min-width:0}
#deals .dl__tile--img{background:#f6efe3}
#deals .dl__img{object-fit:contain;object-position:center}
@media(max-width:900px){ #deals .dl__grid{grid-template-columns:none} }

/* tablets: the deal cards go 2 per row (phones keep one under the other) */
@media(min-width:601px) and (max-width:900px){
  #deals .dl__grid{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:16px;width:min(92vw,640px);max-width:640px}
  #deals .dl__deal{flex:0 0 calc(50% - 8px);width:calc(50% - 8px)}
}


/* phones: deal cards 2 per row, smaller */
@media(max-width:600px){
  #deals .dl__grid{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:10px;width:min(94vw,400px);max-width:400px}
  #deals .dl__deal{flex:0 0 calc(50% - 5px);width:calc(50% - 5px);border-radius:14px}
  #deals .dl__tile--img{aspect-ratio:1/1}
  #deals .dl__tile--txt{padding:8px 6px;gap:4px}
  #deals .dl__tile--txt .dl__mid{white-space:normal;font-size:12px;line-height:1.2}
  #deals .dl__tile--txt .dl__big{font-size:16px;flex-wrap:wrap;justify-content:center}
  #deals .dl__tile--txt .dl__was{font-size:10px}
}

/* tablets: the projects keep the DESKTOP layout (one row, zig-zag, 3D entrance) with narrower pills */
@media(min-width:601px) and (max-width:1000px){
  .pj__card{width:clamp(44px,6.4vw,128px);margin-left:calc(clamp(44px,6.4vw,128px) / -2);
    height:min(46vh,44vw,420px);margin-top:calc(min(46vh,44vw,420px) / -2)}
}

/* phones: the footer is never taller than the screen (so About slides away with no empty strip); it scrolls inside if needed */
@media(max-width:820px){
  #siteFooter{max-height:100vh;max-height:100svh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
}

/* footer: sized by its content (never cut), no scrolling */
#siteFooter{height:auto !important;min-height:0 !important;max-height:100vh !important;max-height:100svh !important;overflow:hidden !important}
#siteFooter .ft__inner{height:auto;padding-top:clamp(52px,7vh,84px)}

/* About: the text appears ONLY through the line-by-line writing (nothing is shown before the area is reached) */
#about:not(.lines-go) .ab__p,#about:not(.lines-go) .ab__promise{opacity:0 !important}

/* deals (desktop): the grid takes the shape of the pictures (tall rectangles) so they fit exactly, no beige around them */
@media(min-width:901px){
  #deals .dl__grid{flex:0 0 auto;width:auto;max-width:96vw;height:min(62vh,760px);
    aspect-ratio:calc(var(--dl-cols,4) * 0.62 / 2);grid-template-rows:1fr 1fr}
  #deals .dl__img{object-fit:cover;object-position:center}
  #deals .dl__tile--img{background:#d9c7b0}
}

/* tablets: footer columns (navigation / categories / contact) sit side by side in one row */
@media(min-width:601px) and (max-width:820px){
  .ft__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ft__grid .ft__col:last-child{grid-column:auto}
}

/* phones: the designs area is identical to the tablet / desktop one (one row, zig-zag), just narrower pills */
@media(max-width:600px){
  .pj__card{width:clamp(28px,8vw,128px);margin-left:calc(clamp(28px,8vw,128px) / -2);
    height:min(40vh,56vw,420px);margin-top:calc(min(40vh,56vw,420px) / -2)}
  /* footer: navigation / categories / contact side by side in ONE row */
  .ft__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .ft__grid .ft__col:last-child{grid-column:auto}
  .ft__col{min-width:0;overflow-wrap:anywhere}
  .ft__col a,.ft__col span,.ft__col b{font-size:11.5px;line-height:1.5}
}
