/* =========================================================
   HUMANBOTS — BRANDING PAGE ONLY
   Loads after global.css and service.css. Labels, titles,
   buttons, hero base, word-fill, split layout, process
   timeline and inline CTAs come from service.css; this file
   only holds what is unique here:
   1. Hero with floating brand pieces
   2. Brand studio (scroll story)
   3. Testimonials slider
   4. Service card drawings (.hbb-ill)
   (The card grid and client slider come from service.css.)
========================================================= */


/* =========================================================
   1. HERO
========================================================= */

.hbb-hero{
  min-height:100svh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:radial-gradient(circle at 50% 50%, rgba(255,77,22,.08), transparent 38%), #000;
}
.hbb-hero-copy{position:relative;z-index:2}
.hbb-hero-copy .svc-hero-copy{max-width:660px}

.hbb-piece{
  position:absolute;
  z-index:1;
  padding:17px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--card);
  box-shadow:0 20px 55px rgba(0,0,0,.35);
  pointer-events:none;
  will-change:transform;
}
.hbb-piece small{display:block;color:#555;font-size:9px;text-transform:uppercase}

.hbb-piece--type{left:4%;top:24%;width:210px}
.hbb-piece--type strong{
  display:block;
  margin-top:18px;
  color:#eee;
  font-family:var(--font-display);
  font-size:44px;
  font-weight:600;
  line-height:.9;
  letter-spacing:-.05em;
}
.hbb-piece--type span{display:block;margin-top:8px;color:#666;font-size:12px}

.hbb-piece--color{right:5%;top:25%;width:180px}
.hbb-swatches{display:flex;gap:8px;margin-top:13px}
.hbb-swatches i{
  width:38px;
  height:58px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:9px;
}

.hbb-piece--id{left:6%;bottom:14%;width:230px}
.hbb-piece--id .hbb-mark{margin-bottom:26px}
.hbb-piece--id strong{display:block;color:#eee;font-size:18px;font-weight:500;letter-spacing:-.03em}
.hbb-piece--id span{display:block;margin-top:4px;color:#666;font-size:10px}

.hbb-piece--pack{right:6%;bottom:12%;width:210px;height:160px;overflow:hidden}
.hbb-pack-box{
  position:absolute;
  right:18px;
  bottom:-15px;
  width:92px;
  height:125px;
  display:grid;
  place-items:center;
  border-radius:8px 8px 0 0;
  background:var(--orange);
  color:#fff;
  font-family:var(--font-display);
  font-size:34px;
  font-weight:700;
  transform:rotate(-5deg);
}
.hbb-pack-lines{position:absolute;left:17px;bottom:25px}
.hbb-pack-lines i{display:block;height:1px;margin-top:9px;background:rgba(255,255,255,.14)}
.hbb-pack-lines i:first-child{width:70px}
.hbb-pack-lines i:last-child{width:42px}

/* round orange "H" mark, used in the hero and the studio */
.hbb-mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--orange);
  color:#fff;
  font-family:var(--font-display);
  font-size:12px;
  font-weight:700;
}


/* =========================================================
   2. BRAND STUDIO (pinned while you scroll, 5 stages)
========================================================= */

.hbb-studio{
  position:relative;
  height:330vh;
  border-top:1px solid var(--soft-line);
}
.hbb-studio-stage{
  position:sticky;
  top:0;
  height:100svh;
  display:flex;
  align-items:center;
  padding-top:80px;
  overflow:hidden;
}
.hbb-studio-wrap{
  display:grid;
  grid-template-columns:340px minmax(0,1fr);
  gap:70px;
  align-items:center;
}
.hbb-studio-side .svc-lede{margin-top:18px}

/* step list (also jump links) */
.hbb-steps{
  position:relative;
  margin:36px 0 0;
  padding:0 0 0 26px;
  list-style:none;
}
.hbb-steps::before{
  content:"";
  position:absolute;
  left:5px;
  top:8px;
  bottom:8px;
  width:1px;
  background:var(--line);
}
.hbb-steps button{
  position:relative;
  display:block;
  padding:0 0 20px;
  border:0;
  background:none;
  color:#d8d8d8;
  font:inherit;
  font-size:16px;
  font-weight:500;
  text-align:left;
  opacity:.3;
  cursor:pointer;
  transition:opacity .25s ease;
}
.hbb-steps li:last-child button{padding-bottom:0}
.hbb-steps button:hover{opacity:.7}
.hbb-steps button.is-on{opacity:1}
.hbb-steps button::before{
  content:"";
  position:absolute;
  left:-25px;
  top:6px;
  width:9px;
  height:9px;
  border:1px solid #333;
  border-radius:50%;
  background:#151515;
  transition:background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hbb-steps button.is-on::before{
  background:var(--orange);
  border-color:var(--orange);
  box-shadow:0 0 12px rgba(255,77,22,.35);
}
.hbb-steps .svc-mono{display:block;margin-bottom:3px;color:#555;font-size:9px}
.hbb-steps button.is-on .svc-mono{color:var(--orange)}

/* the board */
.hbb-board{
  position:relative;
  height:min(600px, 72svh);
  border:1px solid var(--line);
  border-radius:18px;
  background:
    radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--card);
  overflow:hidden;
  box-shadow:0 30px 100px rgba(0,0,0,.45);
}
.hbb-board-bar{
  position:relative;
  z-index:20;
  height:48px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid var(--soft-line);
  background:rgba(5,5,5,.94);
  color:#777;
  text-transform:uppercase;
}
.hbb-board-bar span:first-child{display:flex;align-items:center;gap:8px}
.hbb-board-bar span:first-child::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--orange);
  box-shadow:0 0 8px rgba(255,77,22,.4);
}
.hbb-board-bar span:last-child{color:var(--orange);text-align:right}
.hbb-board-canvas{position:absolute;inset:48px 0 0}
.hbb-board-progress{
  position:absolute;
  left:0;
  bottom:0;
  z-index:30;
  height:2px;
  width:0;
  background:var(--orange);
}

/* every layer fades in when its stage is reached */
.hbb-layer{
  position:absolute;
  opacity:0;
  visibility:hidden;
  transform:translateY(20px) scale(.97);
  transition:opacity .5s var(--ease), transform .6s var(--ease), visibility .5s;
}
.hbb-layer.is-on{opacity:1;visibility:visible;transform:none}

/* stage 1: discovery notes */
.hbb-note{
  width:170px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#090909;
}
.hbb-note small{display:block;margin-bottom:6px;color:var(--orange);font-size:9px;text-transform:uppercase}
.hbb-note span{color:#aaa;font-size:13px;line-height:1.4}
.hbb-note.n1{left:8%;top:12%;rotate:-5deg}
.hbb-note.n2{right:7%;top:20%;rotate:4deg;transition-delay:.08s}
.hbb-note.n3{left:20%;bottom:12%;rotate:3deg;transition-delay:.16s}

/* stage 2: positioning card */
.hbb-position{
  left:50%;
  top:50%;
  translate:-50% -50%; /* separate from transform, which animates the fade-in */
  width:min(420px, 76%);
  padding:26px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#050505;
}
.hbb-position small{display:block;margin-bottom:11px;color:var(--orange);font-size:9px;text-transform:uppercase}
.hbb-position strong{
  display:block;
  color:#f1f1f1;
  font-family:var(--font-display);
  font-size:32px;
  font-weight:600;
  line-height:1;
  letter-spacing:-.045em;
}
.hbb-position p{margin-top:12px;color:var(--dim);font-size:13px;line-height:1.6}

/* stage 3: identity */
.hbb-identity{inset:9% 8% 10%}
.hbb-identity .hbb-mark{width:96px;height:96px;border-radius:20px;font-size:36px}
.hbb-type{position:absolute;left:125px;top:4px}
.hbb-type small{display:block;margin-bottom:8px;color:#555;font-size:9px;text-transform:uppercase}
.hbb-type strong{
  color:#ededed;
  font-family:var(--font-display);
  font-size:58px;
  font-weight:600;
  line-height:.85;
  letter-spacing:-.05em;
}
.hbb-identity .hbb-swatches{position:absolute;right:0;top:0;margin:0}
.hbb-identity .hbb-swatches i{width:45px;height:95px;border-radius:11px}
.hbb-type-sample{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:#888;
  font-size:13px;
  line-height:1.6;
}
.hbb-type-sample b{display:block;color:#eee;font-family:var(--font-display);font-size:22px;letter-spacing:-.03em}

/* stage 4: application */
.hbb-apply{inset:8%}
.hbb-poster{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:56%;
  padding:24px;
  border-radius:16px;
  background:var(--orange);
}
.hbb-poster small{color:rgba(255,255,255,.7);font-size:9px;text-transform:uppercase}
.hbb-poster b{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  color:#fff;
  font-family:var(--font-display);
  font-size:clamp(28px, 3vw, 46px);
  font-weight:600;
  line-height:.92;
  letter-spacing:-.05em;
}
.hbb-mini{
  position:absolute;
  right:0;
  width:39%;
  height:47%;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#090909;
}
.hbb-mini.m1{top:0}
.hbb-mini.m2{bottom:0}
.hbb-mini .hbb-mark{background:#fff;color:#000}
.hbb-mini p{position:absolute;left:18px;bottom:18px;color:#aaa;font-size:13px;line-height:1.4}
.hbb-mini i{display:block;height:7px;margin-bottom:8px;border-radius:999px;background:#1c1c1c}
.hbb-mini i:nth-child(1){width:70%}
.hbb-mini i:nth-child(2){width:92%}
.hbb-mini i:nth-child(3){width:55%;background:var(--orange)}

/* stage 5: brand ready (covers the board) */
.hbb-final{
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:#050505;
  z-index:10;
}
.hbb-final .hbb-mark{width:62px;height:62px;margin:0 auto 20px;font-size:22px;box-shadow:0 0 45px rgba(255,77,22,.15)}
.hbb-final .svc-title{margin-top:10px;font-size:clamp(30px, 3.6vw, 48px)}
.hbb-final .svc-lede{margin-top:16px;max-width:460px;font-size:14px}
.hbb-final .svc-btn{margin-top:22px}


/* =========================================================
   3. TESTIMONIALS
========================================================= */

.hbb-quotes-count{margin-top:18px;color:#555}
.hbb-quotes-count b{color:var(--orange);font-weight:500}

/* every slide sits in the same grid cell, so the box is as tall as the longest quote */
.hbb-quotes{
  display:grid;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.hbb-quote{
  grid-area:1 / 1;
  margin:0;
  display:grid;
  grid-template-columns:170px minmax(0,1fr);
  gap:50px;
  align-items:end;
  padding:56px 0 50px;
  opacity:0;
  visibility:hidden;
  transform:translateY(18px);
  transition:opacity .45s ease, transform .45s ease, visibility .45s;
}
.hbb-quote.is-on{opacity:1;visibility:visible;transform:none}

.hbb-avatar{
  width:58px;
  height:58px;
  margin-bottom:16px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,77,22,.3);
  border-radius:50%;
  color:var(--orange);
  font-size:13px;
  font-weight:700;
}
.hbb-quote-name{display:block;color:#eee;font-size:14px;font-weight:500}
.hbb-quote-role{display:block;margin-top:5px;color:#555;font-size:9px;line-height:1.5;text-transform:uppercase}

.hbb-quote blockquote{
  margin:0;
  color:#efefef;
  font-family:var(--font-display);
  font-size:clamp(26px, 3.4vw, 44px);
  font-weight:500;
  line-height:1.1;
  letter-spacing:-.04em;
}
.hbb-quote blockquote em{color:var(--orange);font-style:normal}
.hbb-quote .svc-tags{margin-top:24px}

.hbb-quotes-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:26px;
}
.hbb-dots{display:flex;gap:7px}
.hbb-dots button{
  width:24px;
  height:2px;
  padding:0;
  border:0;
  background:#262626;
  cursor:pointer;
  transition:width .3s ease, background .3s ease;
}
.hbb-dots button[aria-current="true"]{width:46px;background:var(--orange)}
.hbb-arrows{display:flex;gap:8px}
.hbb-arrows button{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:50%;
  background:none;
  color:#888;
  font-size:15px;
  cursor:pointer;
  transition:color .25s ease, border-color .25s ease;
}
.hbb-arrows button:hover{color:var(--orange);border-color:rgba(255,77,22,.45)}


/* =========================================================
   RESPONSIVE
========================================================= */

/* the floating pieces step back once they would crowd the headline */
@media (max-width:1180px){
  .hbb-piece{opacity:.35}
  .hbb-piece--type{left:-40px}
  .hbb-piece--color{right:-40px}
  .hbb-piece--id{left:-50px}
  .hbb-piece--pack{right:-50px}
}

@media (max-width:980px){
  .hbb-studio-wrap{grid-template-columns:1fr;gap:20px}
  .hbb-studio-side .svc-lede{display:none}
  .hbb-steps{display:flex;gap:6px;margin-top:16px;padding:0}
  .hbb-steps::before{display:none}
  .hbb-steps li{flex:1}
  .hbb-steps button{width:100%;padding:0;font-size:12px;text-align:center}
  .hbb-steps button::before{position:relative;left:auto;top:auto;display:block;margin:0 auto 6px}
  .hbb-steps .svc-mono{display:none}
  .hbb-board{height:min(480px, 56svh)}
}

@media (max-width:700px){
  .hbb-piece{opacity:.28;scale:.7}
  .hbb-piece--type{left:-70px;top:14%}
  .hbb-piece--color{right:-60px;top:15%}
  .hbb-piece--id{left:-70px;bottom:8%}
  .hbb-piece--pack{right:-60px;bottom:6%}


  .hbb-studio{height:300vh}
  .hbb-studio-stage{padding-top:90px}
  .hbb-studio-side .svc-title{font-size:34px}
  .hbb-steps button{font-size:10px}
  .hbb-board{height:min(420px, 52svh);min-height:340px}
  .hbb-board-bar span:last-child{max-width:55%;font-size:9px}
  .hbb-note{width:130px;padding:10px}
  .hbb-note span{font-size:11px}
  .hbb-note.n2{right:4%;top:30%}
  .hbb-note.n3{left:8%}
  .hbb-position{padding:20px}
  .hbb-position strong{font-size:24px}
  .hbb-identity{inset:8%}
  .hbb-identity .hbb-mark{width:62px;height:62px;font-size:24px}
  .hbb-type{left:80px}
  .hbb-type strong{font-size:38px}
  .hbb-identity .hbb-swatches{top:84px;left:0;right:auto}
  .hbb-identity .hbb-swatches i{width:36px;height:56px}
  .hbb-type-sample b{font-size:17px}
  .hbb-type-sample{font-size:11px}
  .hbb-apply{inset:6%}
  .hbb-poster{width:60%;padding:16px}
  .hbb-poster b{left:16px;bottom:16px;font-size:24px}
  .hbb-mini{width:35%;padding:12px}
  .hbb-mini p{left:12px;bottom:12px;font-size:11px}
  .hbb-final .svc-btn{width:100%}

  .hbb-quote{grid-template-columns:1fr;gap:26px;padding:40px 0}
  .hbb-quote > div:first-child{order:2;display:grid;grid-template-columns:48px 1fr;column-gap:12px;align-items:center}
  .hbb-avatar{width:48px;height:48px;margin:0;grid-row:1 / 3}
  .hbb-quote blockquote{font-size:27px}
}

@media (prefers-reduced-motion:reduce){
  .hbb-piece{transform:none !important}
  .hbb-studio{height:auto}
  .hbb-studio-stage{position:relative;height:auto;padding:110px 0 70px}
}

/* Preserve the studio's active-step treatment with readable inactive labels. */
.hbb-steps button{opacity:.65}
.hbb-steps button:hover{opacity:.85}
.hbb-steps button.is-on{opacity:1}


/* =========================================================
   4. SERVICE CARD DRAWINGS (animated inline SVG, one per card)
========================================================= */
.hbb-art{height:170px}
.hbb-no{display:block;margin-bottom:14px;color:var(--orange)}
.hbb-ill{display:block;width:100%;max-width:320px;height:auto;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.hbb-ill .ill-muted{stroke:var(--bento-detail)}
.hbb-ill .ill-hot{stroke:var(--orange)}
.hbb-ill .ill-panel{fill:var(--bento-raised);stroke:var(--bento-detail)}
.hbb-ill .ill-soft{fill:#2a2a2a;stroke:none}
.hbb-ill .ill-hot-fill{fill:var(--orange);stroke:none}
.hbb-ill text{stroke:none}
.hbb-ill-axis{fill:#5a5a5a;font-family:var(--font-mono, monospace);font-size:8px;letter-spacing:.08em;text-transform:uppercase}
/* strategy: your dot moves into the open space on the map */
.hbb-ill-zone{fill:rgba(255,77,22,.06);stroke:var(--orange);stroke-dasharray:4 5;animation:hbb-spin 14s linear infinite;transform-box:fill-box;transform-origin:center}
.hbb-ill-move{animation:hbb-move 5s ease-in-out infinite}
.hbb-ill-halo{stroke:var(--orange);transform-box:fill-box;transform-origin:center;animation:hbb-halo 2.5s ease-out infinite}
@keyframes hbb-move{0%,12%{transform:translate(132px,104px)}50%,88%{transform:translate(226px,40px)}100%{transform:translate(132px,104px)}}
@keyframes hbb-halo{from{transform:scale(1);opacity:.9}to{transform:scale(2.6);opacity:0}}
@keyframes hbb-spin{to{transform:rotate(360deg)}}
/* identity: the mark is drawn on its construction grid, swatches and type follow */
.hbb-ill-grid{opacity:.7}
.hbb-ill-draw{stroke-width:7;stroke-dasharray:160;stroke-dashoffset:160;animation:hbb-draw 5s ease-in-out infinite}
.hbb-ill-sw{stroke:none;transform-box:fill-box;transform-origin:center;animation:hbb-pop 5s ease-in-out infinite}
.hbb-sw1{fill:var(--orange);animation-delay:.6s}.hbb-sw2{fill:#f2f2f2;animation-delay:.8s}.hbb-sw3{fill:#2a2a2a;stroke:var(--bento-detail);stroke-width:1;animation-delay:1s}
.hbb-ill-type{fill:#fff;font-family:var(--font-display);font-size:34px;font-weight:700;letter-spacing:-.04em}
@keyframes hbb-draw{0%,8%{stroke-dashoffset:160}45%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:160}}
@keyframes hbb-pop{0%,25%{transform:scale(.4);opacity:0}40%,85%{transform:scale(1);opacity:1}100%{transform:scale(.4);opacity:0}}
/* voice: the message writes itself while the voice wave plays */
.hbb-ill-line{fill:#3a3a3a;transform-box:fill-box;transform-origin:left;animation:hbb-type 5s ease-in-out infinite}
.hbb-l1{fill:#fff}.hbb-l2{animation-delay:.5s}.hbb-l3{fill:var(--orange);animation-delay:1s}
.hbb-ill-wave path{stroke-width:5;transform-box:fill-box;transform-origin:center;animation:hbb-wave 1.2s ease-in-out infinite}
.hbb-ill-wave path:nth-child(2){animation-delay:.15s}.hbb-ill-wave path:nth-child(3){animation-delay:.3s}.hbb-ill-wave path:nth-child(4){animation-delay:.45s}.hbb-ill-wave path:nth-child(5){animation-delay:.6s}
@keyframes hbb-type{0%,5%{transform:scaleX(0)}30%,85%{transform:scaleX(1)}100%{transform:scaleX(0)}}
@keyframes hbb-wave{0%,100%{transform:scaleY(.35)}50%{transform:scaleY(1)}}
/* packaging: the branded box glows and a business card slides out */
.hbb-ill-lid{stroke-width:2.4;animation:hbb-glow 2.6s ease-in-out infinite}
.hbb-ill-mark{fill:var(--orange);font-family:var(--font-display);font-size:26px;font-weight:800;transform:skewY(-24deg);transform-origin:160px 112px}
.hbb-ill-card{animation:hbb-slide 5s ease-in-out infinite}
@keyframes hbb-glow{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes hbb-slide{0%,15%{transform:translate(-60px,10px) rotate(-8deg);opacity:0}45%,85%{transform:translate(0,0) rotate(-4deg);opacity:1}100%{transform:translate(-60px,10px) rotate(-8deg);opacity:0}}
/* digital: the same mark lights up on site, phone and social post in turn */
.hbb-ill-dot{fill:#2a2a2a;animation:hbb-light 4.5s ease-in-out infinite}
.hbb-d2{animation-delay:1.5s}.hbb-d3{animation-delay:3s}
.hbb-ill-link{stroke-dasharray:4 6;animation:hbb-flow 1.6s linear infinite;opacity:.8}
@keyframes hbb-light{0%,100%{fill:#2a2a2a}10%,40%{fill:var(--orange)}}
@keyframes hbb-flow{to{stroke-dashoffset:-20}}
/* guidelines: rules are ticked off, then a page turns */
.hbb-ill-tick{stroke:var(--orange);stroke-width:2.4;stroke-dasharray:24;stroke-dashoffset:24;animation:hbb-tick 6s ease-in-out infinite}
.hbb-t2{animation-delay:.5s}.hbb-t3{animation-delay:1s}
.hbb-ill-page{fill:var(--bento-surface);stroke:var(--orange);transform-origin:160px 80px;animation:hbb-turn 6s ease-in-out infinite;opacity:0}
@keyframes hbb-tick{0%,10%{stroke-dashoffset:24}25%,70%{stroke-dashoffset:0}80%,100%{stroke-dashoffset:24}}
@keyframes hbb-turn{0%,70%{transform:scaleX(1);opacity:0}72%{opacity:.95}88%{transform:scaleX(-1);opacity:.95}92%,100%{transform:scaleX(-1);opacity:0}}
.svc-card:hover .hbb-ill .ill-panel{stroke:#5a5a5a}
@media (max-width:650px){.hbb-art{height:150px}}
@media (prefers-reduced-motion:reduce){
  .hbb-ill *,.hbb-ill g{animation:none !important}
  .hbb-ill-move{transform:translate(226px,40px)}
  .hbb-ill-draw,.hbb-ill-tick{stroke-dashoffset:0}
  .hbb-ill-page{display:none}
  .hbb-d1{fill:var(--orange)}
}

/* =========================================================
   4b. HOW TO GET STARTED: pinned, cards scroll sideways
   branding.js sets the section height and moves .hbb-hs-track;
   without it (or with reduced motion) the row is swipeable.
========================================================= */
.hbb-hs{position:relative}
.hbb-hs-sticky{position:sticky;top:0;min-height:100svh;display:flex;flex-direction:column;justify-content:center;gap:clamp(28px, 4vh, 48px);padding:110px 0 40px;overflow:hidden}
.hbb-hs-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:40px;align-items:end}
.hbb-hs-head .svc-tags{margin-top:16px}
.hbb-hs-viewport{overflow:hidden}
.hbb-hs-track{display:flex;gap:18px;width:max-content;margin:0;padding:0 max(20px, calc((100vw - 1180px) / 2));list-style:none;will-change:transform}
.hbb-hs-card .svc-mono{color:var(--orange);text-transform:uppercase}
.hbb-hs-top{display:flex;justify-content:space-between;align-items:center}
.hbb-hs-card{position:relative;display:flex;flex-direction:column;gap:20px;width:min(390px, 78vw);padding:16px 16px 26px;border:1px solid rgba(255,255,255,.07);border-radius:22px;background:linear-gradient(180deg,#0e0e0e,#070707);box-shadow:inset 0 1px 0 rgba(255,255,255,.04);transition:border-color .35s ease,transform .35s ease}
.hbb-hs-card:hover{border-color:rgba(255,77,22,.35);transform:translateY(-3px)}
.hbb-hs-card > .hbb-hs-top,.hbb-hs-card > div:last-child{padding:0 10px}
.hbb-hs-top{padding-top:8px !important}
.hbb-hs-step{display:flex;gap:4px}
.hbb-hs-step i{width:14px;height:3px;border-radius:2px;background:#262626}
.hbb-hs-card:nth-child(1) .hbb-hs-step i:nth-child(-n+1),.hbb-hs-card:nth-child(2) .hbb-hs-step i:nth-child(-n+2),.hbb-hs-card:nth-child(3) .hbb-hs-step i:nth-child(-n+3),.hbb-hs-card:nth-child(4) .hbb-hs-step i{background:var(--orange)}
.hbb-hs-art{display:grid;place-items:center;height:150px;border-radius:14px;background:radial-gradient(circle at 50% 60%,rgba(255,77,22,.12),transparent 62%),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px) 0 0/22px 22px,linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px) 0 0/22px 22px,#0a0a0a;border:1px solid rgba(255,255,255,.05)}
.hbb-hs-card h3{margin-bottom:10px;color:#fff;font-size:clamp(20px, 1.7vw, 23px);font-weight:600;line-height:1.15;letter-spacing:-.035em}
.hbb-hs-card p{color:var(--dim);font-size:14px;line-height:1.7}
.hbb-hs-cta{justify-content:space-between;min-height:100%;padding:28px}
.hbb-hs-cta > div:last-child{padding:0}
.hbb-hs-bar{width:160px;height:3px;margin:0 auto;border-radius:3px;background:#1c1c1c;overflow:hidden}
.hbb-hs-bar i{display:block;height:100%;width:100%;background:var(--orange);transform:scaleX(0);transform-origin:left}
/* step drawings */
.hbb-hs-ill{width:auto;max-width:min(280px, 100%);height:86%;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round}
.hbb-hs-ill text{stroke:none}
.hs-panel{fill:#121212;stroke:#2c2c2c;stroke-width:1.5}
.hs-field{fill:#0b0b0b;stroke:#262626}
.hs-type{fill:#e8e8e8;transform-box:fill-box;transform-origin:left;animation:hs-type 5s ease-in-out infinite}
.hs-t2{fill:#7a7a7a;animation-delay:.7s}
.hs-send{fill:var(--orange);transform-box:fill-box;transform-origin:center;animation:hs-press 5s ease-in-out infinite}
.hs-send-arrow{stroke:#fff;stroke-width:2;animation:hs-press 5s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes hs-type{0%,8%{transform:scaleX(0)}35%,88%{transform:scaleX(1)}100%{transform:scaleX(0)}}
@keyframes hs-press{0%,55%{transform:scale(1)}62%{transform:scale(.88)}70%,100%{transform:scale(1)}}
.hs-bar{fill:#e8e8e8}.hs-dim{fill:#2e2e2e}
.hs-hit{fill:rgba(255,77,22,.16);stroke:var(--orange);stroke-width:1;opacity:0;animation:hs-hit 5s ease-in-out infinite}
.hs-lens{animation:hs-lens 5s ease-in-out infinite}
.hs-glass{fill:rgba(255,255,255,.03);stroke:#fff;stroke-width:2.5}
.hs-handle{stroke:var(--orange);stroke-width:5}
@keyframes hs-lens{0%,100%{transform:translate(80px,40px)}40%,75%{transform:translate(118px,70px)}}
@keyframes hs-hit{0%,38%{opacity:0}48%,78%{opacity:1}90%,100%{opacity:0}}
.hs-ring{stroke-width:2}
.hs-left{stroke:#7a7a7a;animation:hs-left 5s ease-in-out infinite}
.hs-right{stroke:var(--orange);fill:rgba(255,77,22,.06);animation:hs-right 5s ease-in-out infinite}
.hs-tag{fill:#5a5a5a;font-family:var(--font-mono, monospace);font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.hs-agree{transform-box:fill-box;transform-origin:center;animation:hs-agree 5s ease-in-out infinite}
.hs-agree circle{fill:var(--orange)}
.hs-agree path{stroke:#fff;stroke-width:2.6}
@keyframes hs-left{0%,10%{transform:translateX(70px)}45%,85%{transform:translateX(118px)}100%{transform:translateX(70px)}}
@keyframes hs-right{0%,10%{transform:translateX(210px)}45%,85%{transform:translateX(162px)}100%{transform:translateX(210px)}}
@keyframes hs-agree{0%,45%{transform:scale(0);opacity:0}55%,85%{transform:scale(1);opacity:1}100%{transform:scale(0);opacity:0}}
.hs-base{stroke:#2c2c2c;stroke-width:2}
.hs-block{fill:#1b1b1b;stroke:#333;transform-box:fill-box;animation:hs-drop 5.5s ease-in-out infinite}
.hs-b2{animation-delay:.2s}.hs-b3{animation-delay:.4s}.hs-b4{animation-delay:.7s}.hs-b5{animation-delay:.9s}
.hs-top{fill:var(--orange);stroke:none;animation-delay:1.2s}
.hs-mark{fill:#fff;font-family:var(--font-display);font-size:17px;font-weight:800;animation:hs-drop 5.5s ease-in-out infinite;animation-delay:1.2s}
@keyframes hs-drop{0%,4%{transform:translateY(-40px);opacity:0}16%,86%{transform:translateY(0);opacity:1}96%,100%{transform:translateY(0);opacity:0}}
.hbb-hs-cta{border-color:transparent;background:var(--orange)}
.hbb-hs-cta:hover{border-color:transparent}
.hbb-hs-cta .svc-mono{color:#1c0e08}
.hbb-hs-cta h3{margin-bottom:24px;color:#fff;font-size:clamp(24px, 2.2vw, 30px)}
.hbb-hs-btn{background:#000;color:#fff}
.hbb-hs-btn:hover{background:#111}
/* swipe fallback: no JS, reduced motion */
.hbb-hs:not(.is-pinned) .hbb-hs-sticky{position:relative;min-height:0;padding:90px 0 70px}
.hbb-hs:not(.is-pinned) .hbb-hs-viewport{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.hbb-hs:not(.is-pinned) .hbb-hs-viewport::-webkit-scrollbar{display:none}
.hbb-hs:not(.is-pinned) .hbb-hs-card{scroll-snap-align:center}
.hbb-hs:not(.is-pinned) .hbb-hs-foot{display:none}
@media (max-width:950px){
  .hbb-hs-head{grid-template-columns:1fr;gap:16px}
}
@media (max-width:650px){
  .hbb-hs-sticky{gap:22px;padding:96px 0 28px}
  .hbb-hs-head .svc-lede{display:none}
  .hbb-hs-head .svc-tags{display:none}
  .hbb-hs-track{gap:12px;padding:0 15px}
  .hbb-hs-card{width:80vw;gap:16px;padding:14px 14px 20px}
  .hbb-hs-art{height:112px}
  .hbb-hs-ill{width:196px;height:98px;max-width:100%}
  .hbb-hs-card > div:last-child{padding:0 6px}
  .hbb-hs-card h3{font-size:20px}
  .hbb-hs-card p{font-size:13.5px}
}
@media (max-height:700px) and (min-width:651px){
  .hbb-hs-sticky{padding-top:96px}
  .hbb-hs-head .svc-tags{display:none}
  .hbb-hs-art{height:120px}
}


/* =========================================================
   4c. PORTFOLIO: real client projects, linking to /work/
========================================================= */
.hbb-work-head{margin-bottom:36px}
.hbb-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hbb-work-card{position:relative;display:block;aspect-ratio:2/3;overflow:hidden;border-radius:6px;background:#111;color:#fff;text-decoration:none}
.hbb-work-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.hbb-work-card:hover img{transform:scale(1.05)}
.hbb-work-cap{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;align-items:flex-end;gap:12px;padding:90px 20px 18px;background:linear-gradient(to top,rgba(0,0,0,.96) 0%,rgba(0,0,0,.8) 45%,transparent 100%)}
.hbb-work-cap b{display:block;font-size:18px;font-weight:600;letter-spacing:-.02em}
.hbb-work-cap small{display:block;margin-top:3px;color:#aaa;font-size:12px}
.hbb-work-cap i{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.12);font-style:normal;transition:background .3s ease,transform .3s ease}
.hbb-work-card:hover .hbb-work-cap i{background:var(--orange);transform:rotate(45deg)}
.hbb-work-all{display:flex;justify-content:center;margin-top:36px}
@media (max-width:950px){.hbb-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:650px){
  .hbb-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hbb-work-head{margin-bottom:24px}
  .hbb-work-cap{padding:40px 12px 12px}
  .hbb-work-cap b{font-size:14px}
  .hbb-work-cap small{display:none}
  .hbb-work-cap i{width:26px;height:26px;font-size:12px}
  .hbb-work-all .svc-btn{width:100%}
}


/* =========================================================
   5. PHONES: smaller type and tighter spacing on this page
   (branding.css only loads here, so these don't affect other services)
========================================================= */
@media (max-width:650px){
  .svc-hero{padding:112px 0 32px}
  .hbb-hero{min-height:88svh}
  .svc-h1{margin:14px 0 18px;font-size:clamp(29px, 8.6vw, 36px);line-height:1.02;letter-spacing:-.04em}
  .svc-hero-copy{font-size:14px;line-height:1.65}
  .svc-actions{margin-top:24px;gap:10px}
  .svc-btn{min-height:44px;font-size:11px}
  .svc-chips{margin-top:20px}
  .svc-chips li{font-size:12px}
  .hbb-piece{opacity:.16}

  .svc-label{font-size:10px}
  .svc-statement{margin-top:18px;font-size:clamp(25px, 7.4vw, 31px);line-height:1.1;letter-spacing:-.035em}
  .svc-fill{height:125vh}

  .svc-section{padding:54px 0 58px}
  .svc-head{gap:16px;margin-bottom:30px}
  .svc-title{margin-top:10px;font-size:clamp(26px, 7.6vw, 31px);line-height:1.05;letter-spacing:-.04em}
  .svc-lede{font-size:14px;line-height:1.7}
  .svc-tags span{font-size:9px}

  .svc-card{min-height:0;gap:24px;padding:22px}
  .svc-card h3{font-size:20px}
  .hbb-art{height:130px}

  .svc-step{padding:16px 0 28px}
  .svc-step-body h3{font-size:21px}
  .svc-step-body p{font-size:14px}

  .hbb-studio-side .svc-title{font-size:27px}
  .hbb-final .svc-title{font-size:27px}
  .hbb-quote blockquote{font-size:21px}
}

/* =========================================================
   6. LAPTOPS AND LARGER: type a step smaller than the shared
   service sizes (owner asked for less oversized headings)
========================================================= */
@media (min-width:651px){
  .svc-h1{font-size:clamp(38px, 4.9vw, 64px)}
  .svc-hero-copy{font-size:16px}
  .svc-statement{font-size:clamp(32px, 4.5vw, 58px)}
  .svc-title{font-size:clamp(30px, 3.5vw, 46px)}
  .svc-lede{font-size:14px}
  .svc-card h3{font-size:clamp(19px, 1.7vw, 21px)}
  .svc-step-body h3{font-size:clamp(22px, 2vw, 28px)}
  .hbb-studio-side .svc-title{font-size:clamp(28px, 3vw, 40px)}
  .hbb-final .svc-title{font-size:clamp(28px, 3vw, 40px)}
  .hbb-quote blockquote{font-size:clamp(24px, 2.8vw, 36px)}
}

/* =========================================================
   7. NO DIVIDER LINES BETWEEN SECTIONS (owner request)
========================================================= */
.svc-section,.svc-fill,.hbb-studio,.hbm-clients{border-top:0;border-bottom:0}
@media (prefers-reduced-motion:reduce){
  .hbb-hs-ill *{animation:none !important}
  .hs-hit,.hs-agree{opacity:1}
  .hs-lens{transform:translate(118px,70px)}
  .hs-left{transform:translateX(118px)}
  .hs-right{transform:translateX(162px)}
}
