/* Aseto Developers – Buying with us. Ported from the Claude Design "Buying With Us" page (20 Nov 2026).
   Loaded after aseto-home.css. JS: aseto-buying.js (hero, process, services accordion, FAQ, reveals). */
.bh{background:#F9F7F7;color:#504C4B;font-family:Roboto,sans-serif}
.bh-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.bh-eyebrow{font:500 12px/1 Roboto,sans-serif;letter-spacing:.32em;text-transform:uppercase;color:#8A7A52}
.bh-label{font:500 14px/1.2 Roboto,sans-serif;color:#2B2827}

/* word-by-word rise (hero h1 on load via --in; the photo's h2 via JS) */
.bh-words,.bh-hero__h2{display:flex;flex-wrap:wrap;column-gap:.24em}
.bh-words>span,.bh-hero__h2>span{display:inline-block;overflow:hidden;padding:.06em 0;margin-bottom:-.06em}
.bh-words>span>span,.bh-hero__h2>span>span{display:inline-block}
.bh-words>span>span{transform:translateY(calc((1 - var(--in,0)) * 110%));transition:transform 1.1s cubic-bezier(.2,.8,.2,1)}
.bh-words>span:nth-child(1)>span{transition-delay:.05s}.bh-words>span:nth-child(2)>span{transition-delay:.095s}.bh-words>span:nth-child(3)>span{transition-delay:.14s}
.bh-words>span:nth-child(4)>span{transition-delay:.185s}.bh-words>span:nth-child(5)>span{transition-delay:.23s}.bh-words>span:nth-child(6)>span{transition-delay:.275s}
.bh-words>span:nth-child(7)>span{transition-delay:.32s}.bh-words>span:nth-child(8)>span{transition-delay:.365s}.bh-words>span:nth-child(9)>span{transition-delay:.41s}
.bh-words>span:nth-child(10)>span{transition-delay:.455s}.bh-words>span:nth-child(11)>span{transition-delay:.5s}
.bh-fade{opacity:var(--in,0);transition:opacity .9s}

/* hero: copy fades back while the photo rises and grows to full screen (420vh of scroll) */
.bh-hero{position:relative;height:420vh}
.bh-hero__stick{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.bh-hero__copy{position:absolute;inset:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;gap:clamp(36px,6vh,64px);padding:clamp(120px,20vh,200px) clamp(16px,5vw,80px) calc(clamp(48px,9vh,96px) + var(--bh-nav,81px));background:#F9F7F7;opacity:var(--hco,1);transform:translate3d(0,calc(var(--hty,0) * 1vh),0) scale(var(--hsc,1));transform-origin:50% 30%;will-change:transform,opacity}
.bh-hero__head{display:flex;flex-direction:column;gap:clamp(20px,3vh,32px);max-width:1360px}
.bh-hero h1{margin:0;max-width:21ch;font:500 clamp(36px,5.4vw,92px)/1.04 Poppins,sans-serif;letter-spacing:-.04em;color:#2B2827}
.bh-hero__foot{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:28px 64px;padding-top:28px;border-top:1px solid #E4DED6;opacity:var(--in,0);transform:translateY(calc((1 - var(--in,0)) * 14px));transition:opacity .9s .7s,transform .9s .7s}
.bh-hero__foot p{flex:0 1 460px;margin:0;font:400 clamp(16px,1.3vw,19px)/1.65 Roboto,sans-serif;color:#504C4B;text-wrap:pretty}
.bh-hero__links{display:flex;flex-wrap:wrap;gap:12px 32px;font:500 12px/1 Roboto,sans-serif;letter-spacing:.22em;text-transform:uppercase}
.bh .bh-hero__links a{color:#2B2827}
.bh .bh-hero__links a:hover{color:#8A7A52}
.bh-hero__photo{position:absolute;left:50%;top:50%;width:100vw;height:100%;transform:translate3d(-50%,calc(-50% + var(--pty,100) * 1vh),0) scale(var(--psc,.6));border-radius:calc(var(--prd,24) * 1px);overflow:hidden;background:#E9E4DD;will-change:transform;box-shadow:0 30px 80px -30px rgba(43,40,39,.35)}
.bh-hero__photo img{width:100%;height:100%;object-fit:cover;object-position:60% 55%;display:block;transform:scale(var(--pis,1.12))}
.bh-hero__over{position:absolute;left:6%;top:36%;width:min(36%,560px);display:flex;flex-direction:column;gap:clamp(12px,1.6vw,20px);pointer-events:none}
.bh-hero__over [data-tl]{opacity:0}
.bh-hero__h2{margin:0;font:500 clamp(34px,4.4vw,76px)/1.02 Poppins,sans-serif;letter-spacing:-.04em;color:#2B2827}
.bh-hero__h2 [data-tw]{transform:translateY(110%)}
@media (max-width:760px){.bh-hero__over{left:20px;right:20px;top:14%;width:auto}}

/* process: sticky picture left, steps right; below 900px the picture moves into each step */
.bh-proc{padding:clamp(96px,16vh,180px) clamp(16px,5vw,80px) clamp(40px,8vh,80px)}
.bh-proc__in{max-width:1360px;margin:0 auto;display:flex;flex-wrap:wrap;gap:40px 24px;align-items:flex-start}
.bh-proc__side{flex:1 1 360px;position:sticky;top:clamp(72px,11vh,110px)}
.bh-proc__pic{position:relative;margin-left:-2%;width:104%;max-width:700px;aspect-ratio:3/2}
.bh-proc__pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:0;transform:scale(1.06);transition:opacity .9s ease,transform 1.6s cubic-bezier(.2,.8,.2,1)}
.bh-proc__pic img.is-on{opacity:1;transform:scale(1)}
.bh-proc__pic span{position:absolute;left:2%;bottom:0;display:inline-flex;align-items:center;height:26px;padding:0 12px;border-radius:999px;border:1px solid #E4DED6;background:#F9F7F7;font:500 11px/1 Roboto,sans-serif;letter-spacing:.22em;color:#8A7A52}
.bh-steps{flex:1 1 460px;position:relative;max-width:760px;list-style:none;margin:0;padding:0}
.bh-steps__line{position:absolute;left:15px;top:12px;bottom:clamp(56px,9vh,88px);width:1px;background:#E4DED6;display:block}
.bh-steps__line--on{background:#AB9667;transform-origin:50% 0;transform:scaleY(0)}
.bh-steps li{position:relative;padding:0 0 clamp(56px,9vh,88px) clamp(48px,5vw,72px);opacity:.18;transform:translateY(18px)}
.bh-steps [data-dot]{position:absolute;left:10px;top:8px;width:11px;height:11px;background:#E4DED6;display:block;transition:background .4s}
.bh-steps li.is-lit [data-dot]{background:#AB9667}
.bh-steps [data-sm]{display:none;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;margin-bottom:12px}
.bh-steps__n{font:500 12px/1 Roboto,sans-serif;letter-spacing:.26em;color:#8A7A52}
.bh-steps h3{margin:14px 0 0;font:500 clamp(24px,2.3vw,36px)/1.12 Poppins,sans-serif;letter-spacing:-.025em;color:#2B2827}
.bh-steps p{margin:14px 0 0;max-width:52ch;font:400 clamp(16px,1.2vw,18px)/1.7 Roboto,sans-serif;color:#504C4B;text-wrap:pretty}
@media (max-width:899px){
  .bh-proc__side{position:static;flex-basis:100%}
  .bh-proc__pic{display:none}
  .bh-steps [data-sm]{display:block}
}

/* tinted bands (services, FAQ) */
.bh-band{background:#F2EFEB;padding:clamp(88px,14vh,160px) clamp(16px,5vw,80px)}
.bh-band__in{max-width:1360px;margin:0 auto;display:flex;flex-wrap:wrap;gap:40px 24px;align-items:flex-start}
.bh-band__in--col{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:clamp(40px,7vh,72px)}
.bh-head{display:flex;flex-wrap:wrap;gap:18px 24px;align-items:flex-start}
.bh-head .bh-label{flex:.74 1 300px}
.bh-head h2{flex:1 1 460px;margin:0;max-width:18ch;font:500 clamp(32px,3.6vw,56px)/1.05 Poppins,sans-serif;letter-spacing:-.035em;color:#2B2827;text-wrap:balance}
.bh-head--side{flex:.74 1 300px;flex-direction:column}
.bh-head--side .bh-label{flex:none}
.bh-head--side h2{flex:none;max-width:12ch}

/* services: stacked image cards. Closed = narrow grey strip with its number and icon; open = full colour photo with the text. */
.bh-acc{display:flex;gap:10px;height:clamp(420px,58vh,540px)}
.bh-acc__panel{position:relative;isolation:isolate;overflow:hidden;min-width:0;flex:1 1 0%;border-radius:14px;background:#E9E4DD;cursor:pointer;outline-offset:3px;box-shadow:0 2px 10px rgba(43,40,39,.06);transition:flex-grow 620ms cubic-bezier(.23,1,.32,1)}
.bh-acc__panel.is-active{flex-grow:7.5;cursor:default}
.bh-acc__panel:focus-visible{outline:2px solid #AB9667}
.bh-acc__media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:grayscale(1) contrast(1.02) brightness(1.03);transform:scale(1.04);transition:filter 620ms cubic-bezier(.23,1,.32,1),transform 900ms cubic-bezier(.23,1,.32,1)}
.bh-acc__panel.is-active .bh-acc__media{filter:none;transform:scale(1)}
.bh-acc__veil{position:absolute;inset:0;z-index:1;opacity:0;background:linear-gradient(to top,rgba(30,27,25,.9) 0%,rgba(30,27,25,.45) 36%,rgba(30,27,25,0) 64%);transition:opacity 620ms cubic-bezier(.23,1,.32,1)}
.bh-acc__panel.is-active .bh-acc__veil{opacity:1}
.bh-acc__tab{position:absolute;z-index:2;left:0;right:0;top:18px;bottom:22px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;color:#504C4B;opacity:1;transition:opacity 260ms cubic-bezier(.23,1,.32,1)}
.bh-acc__tab span{font:500 12px/1 Roboto,sans-serif;letter-spacing:.16em;padding:7px 9px;border-radius:999px;background:rgba(249,247,247,.9)}
.bh-acc__tab svg{width:40px;height:40px;padding:9px;border-radius:50%;background:rgba(249,247,247,.92);color:#8A7A52;box-sizing:border-box}
.bh-acc__panel.is-active .bh-acc__tab{opacity:0}
.bh-acc__body{position:absolute;z-index:3;left:0;bottom:0;width:min(380px,62vw);box-sizing:border-box;padding:clamp(20px,2vw,28px);display:flex;flex-direction:column;gap:12px;color:#F9F7F7;opacity:0;transform:translateY(14px);transition:opacity 620ms cubic-bezier(.23,1,.32,1),transform 620ms cubic-bezier(.23,1,.32,1);pointer-events:none}
.bh-acc__panel.is-active .bh-acc__body{opacity:1;transform:none;transition-delay:140ms}
.bh-acc__num{display:flex;align-items:center;gap:12px;color:#D9C79F;font:500 12px/1 Roboto,sans-serif;letter-spacing:.22em}
.bh-acc__num svg{width:22px;height:22px}
.bh-acc__body h3{margin:0;font:500 clamp(20px,1.7vw,26px)/1.2 Poppins,sans-serif;letter-spacing:-.02em;color:#F9F7F7}
.bh-acc__body p{margin:0;max-width:40ch;font:400 14.5px/1.55 Roboto,sans-serif;color:#E4DED6;text-wrap:pretty}
@media (max-width:1024px){
  .bh-acc{height:auto;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .bh-acc::-webkit-scrollbar{display:none}
  .bh-acc__panel,.bh-acc__panel.is-active{flex:0 0 84%;height:420px;scroll-snap-align:start;cursor:default}
  .bh-acc__panel .bh-acc__media{filter:none;transform:none}
  .bh-acc__panel .bh-acc__veil{opacity:1}
  .bh-acc__panel .bh-acc__tab{opacity:0}
  .bh-acc__panel .bh-acc__body{opacity:1;transform:none;width:100%}
}
@media (prefers-reduced-motion:reduce){.bh-acc *,.bh-acc__panel{transition-duration:1ms!important}}

/* "Every plot checked" */
.bh-plot{padding:clamp(96px,16vh,180px) clamp(16px,5vw,80px)}
.bh-plot__in{max-width:1000px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center}
.bh-plot__icon{width:76px;height:76px;border-radius:50%;border:1px solid #CFC2A0;display:flex;align-items:center;justify-content:center;background:#F9F7F7}
.bh-plot h2{margin:0;max-width:24ch;font:500 clamp(28px,3.4vw,54px)/1.15 Poppins,sans-serif;letter-spacing:-.03em;color:#2B2827;text-wrap:balance}
.bh-plot p{margin:0;max-width:46ch;font:400 clamp(16px,1.2vw,18px)/1.7 Roboto,sans-serif;color:#6A6461;text-wrap:pretty}

/* FAQ: one open at a time, height animated with grid rows */
.bh-faq{flex:1 1 460px;max-width:760px;border-bottom:1px solid #E4DED6}
.bh-faq__item{border-top:1px solid #E4DED6}
.bh-faq button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0;background:none;border:0;cursor:pointer;text-align:left;font:500 clamp(18px,1.5vw,22px)/1.35 Poppins,sans-serif;letter-spacing:-.01em;color:#2B2827}
.bh-faq button:hover{color:#8A7A52}
.bh-faq button span{flex:none;font:300 26px/1 Poppins,sans-serif;color:#AB9667;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.bh-faq button[aria-expanded=true] span{transform:rotate(45deg)}
.bh-faq__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s cubic-bezier(.2,.8,.2,1)}
.bh-faq__a>div{overflow:hidden}
.bh-faq button[aria-expanded=true]+.bh-faq__a{grid-template-rows:1fr}
.bh-faq__a p{margin:0 0 28px;max-width:64ch;font:400 16px/1.7 Roboto,sans-serif;color:#504C4B;text-wrap:pretty}
.bh-faq__note{margin:0;padding:24px 0 28px;border-top:1px solid #E4DED6;font:italic 400 13.5px/1.6 Roboto,sans-serif;color:#8C857E;text-wrap:pretty}

/* next step */
.bh-next{padding:clamp(96px,16vh,180px) clamp(16px,5vw,80px)}
.bh-next__in{max-width:1360px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:32px 64px}
.bh-next__in>div{flex:1 1 520px;display:flex;flex-direction:column;gap:20px}
.bh-next h2{margin:0;max-width:16ch;font:500 clamp(36px,4.6vw,76px)/1.02 Poppins,sans-serif;letter-spacing:-.04em;color:#2B2827;text-wrap:balance}
.bh-next p{margin:0;max-width:46ch;font:400 clamp(16px,1.2vw,18px)/1.7 Roboto,sans-serif;color:#6A6461}
.bh .bh-next .ah-btn{height:54px;padding:0 30px}
.bh .bh-next .ah-btn:hover{background:#AB9667;color:#1E1B19!important}

/* without JS: show the hero copy and every step */
.bh:not(.js){--in:1}
.bh:not(.js) .bh-steps li{opacity:1;transform:none}

/* reveal on scroll (JS adds .is-shown); visible without JS */
.bh.js [data-rv]{opacity:0;transform:translateY(24px);transition:opacity 1s,transform 1s}
.bh.js [data-rv].is-shown{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  .bh{--in:1}
  .bh-hero{height:auto}
  .bh-hero__stick{position:relative;height:auto;overflow:visible}
  .bh-hero__copy{position:relative;inset:auto;opacity:1;transform:none}
  .bh-hero__photo{position:relative;left:auto;top:auto;width:auto;height:60vh;margin:0 clamp(16px,5vw,80px);transform:none;border-radius:14px}
  .bh-hero__photo img{transform:none}
  .bh-hero__over [data-tl],.bh-hero__h2 [data-tw]{opacity:1;transform:none}
  .bh-steps li{opacity:1;transform:none}
  .bh-steps__line--on{transform:none}
}
