/* ==========================================================================
   BAB · 15-how-it-works.css
   "How it works": a light, warm section. Three steps on the left, a live
   illustration on the right that follows the selected step.
   ========================================================================== */
#welcome .bab-how{
  position:relative;overflow:hidden;color:#1B140B;
  background:
    radial-gradient(ellipse 55% 70% at 12% 0%,rgba(247,214,120,.65),rgba(247,214,120,0) 70%),
    radial-gradient(ellipse 50% 70% at 95% 100%,rgba(240,176,140,.5),rgba(240,176,140,0) 70%),
    #F8EDCF!important;
  padding:clamp(56px,7vw,104px) 0!important;border-top:0;
}
#welcome .bab-how:before,#welcome .bab-how:after{display:none!important}
#welcome .bab-how>.wrap{max-width:var(--bab-measure,1320px)}

.bh-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(32px,5vw,80px);align-items:start}

/* ---------- left: heading and steps ------------------------------------------ */
.bh-eyebrow{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:700;letter-spacing:.28em;color:#6B6455}
.bh-eyebrow:before{content:"";width:28px;height:1px;background:#6B6455}
#welcome .bab-how h2{
  margin:20px 0 0!important;color:#14110D!important;text-shadow:none!important;
  font-family:'Syne','Outfit',sans-serif;font-weight:800;
  font-size:clamp(32px,4vw,52px)!important;line-height:1.05!important;letter-spacing:-.025em!important;
}
.bh-sub{margin:16px 0 0;max-width:40ch;font-size:clamp(16px,1.4vw,18px);line-height:1.55;color:#4A4437}
.bh-steps{list-style:none;margin:clamp(28px,4vw,48px) 0 0;padding:0;border-bottom:1px solid rgba(20,17,13,.18)}
.bh-row{
  position:relative;display:block;width:100%;margin:0;padding:22px 0;border:0;border-top:1px solid rgba(20,17,13,.18);
  background:none;text-align:left;color:inherit;font:inherit;cursor:pointer;
}
.bh-row:focus-visible{outline:2px solid #14110D;outline-offset:4px}
.bh-bar{position:absolute;left:0;top:-1px;width:100%;height:2px;background:var(--c);transform:scaleX(0);transform-origin:left}
.bh-row.is-active .bh-bar{transform:scaleX(1);transition:transform 5.6s linear}
.bab-how.is-manual .bh-row.is-active .bh-bar{transition-duration:.5s}
.bh-head{display:flex;align-items:baseline;gap:22px}
.bh-n,.bh-t{font-family:'Syne','Outfit',sans-serif;font-weight:800;color:#A39B88;transition:color .4s ease}
.bh-n{font-size:22px;letter-spacing:-.01em;min-width:22px}
.bh-t{font-size:clamp(22px,2.4vw,32px);line-height:1.1;letter-spacing:-.015em}
.bh-row.is-active .bh-n{color:var(--c)}
.bh-row.is-active .bh-t{color:#14110D}
.bh-row:hover .bh-t{color:#14110D}
.bh-text{display:block;overflow:hidden;max-height:0;opacity:0;transition:max-height .7s var(--bab-ease),opacity .5s ease}
.bh-text>span{display:block;margin:12px 0 0 44px;max-width:430px;font-size:17px;line-height:1.55;color:#4A4437}
.bh-row.is-active .bh-text{max-height:160px;opacity:1}

/* ---------- right: the live panel --------------------------------------------- */
.bh-panel{
  display:grid;border-radius:32px;overflow:hidden;border:1px solid #E1D8C2;background:#FBF8F1;
  box-shadow:0 50px 90px -50px rgba(70,45,10,.45);
}
.bh-view{
  grid-area:1/1;display:flex;flex-direction:column;justify-content:space-between;
  padding:clamp(22px,3vw,40px) clamp(22px,3.2vw,44px) clamp(26px,3vw,44px);
  background:radial-gradient(ellipse 70% 46% at 50% 36%,var(--wash),rgba(251,248,241,0) 70%);
  opacity:0;visibility:hidden;transform:translateY(24px);
  transition:opacity .6s ease,transform .8s var(--bab-ease),visibility 0s linear .6s;
}
.bh-view.is-active{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.bh-art{width:100%;aspect-ratio:540/420;display:flex;align-items:center}
.bh-art svg{display:block;width:100%;height:auto;overflow:visible}
.bh-cap{margin-top:clamp(10px,2vw,20px)}
.bh-cap h3{
  margin:0;font-family:'Syne','Outfit',sans-serif;font-weight:800;color:#14110D;
  font-size:clamp(26px,2.9vw,38px);line-height:1.08;letter-spacing:-.02em;
}
.bh-cap p{margin:12px 0 0;max-width:44ch;font-size:16px;line-height:1.55;color:#4A4437}

/* example brief card */
.bh-brief{
  width:100%;padding:clamp(20px,2.6vw,32px);border-radius:22px;border:1px solid #E1D8C2;background:#fff;
  box-shadow:0 24px 50px -34px rgba(70,45,10,.5);
}
.bh-brief-k{font-size:11px;font-weight:700;letter-spacing:.22em;color:#1F4D3A}
.bh-brief-r{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:12px;padding:15px 18px;border-radius:12px;background:#F5F0E4}
.bh-brief-r:first-of-type{margin-top:20px}
.bh-brief-r span{color:#6B6455;font-size:15px}
.bh-brief-r b{font-weight:700;font-size:clamp(15px,1.4vw,17px);color:#14110D;text-align:right}

/* ---------- tablet and phone: steps first, illustration beneath ------------------ */
@media (max-width:900px){
  .bh-grid{grid-template-columns:1fr}
  .bh-text>span{margin-left:36px}
  .bh-head{gap:16px}
}

/* ---------- motion --------------------------------------------------------------- */
@media (prefers-reduced-motion:no-preference){
  .bh-view.is-active .bcursor{animation:babCursor 4.2s ease-in-out infinite alternate}
  .bh-view.is-active .bbox{animation:babBox 3.2s ease-in-out infinite alternate}

  html.bab-js #welcome .bab-how:not(.bab-in) :is(.bh-eyebrow,.bab-how h2,.bh-sub,.bh-row,.bh-panel){opacity:0}
  html.bab-js #welcome .bab-how.bab-in .bh-eyebrow{animation:babFadeUp .8s var(--bab-ease) backwards}
  html.bab-js #welcome .bab-how.bab-in h2{animation:babFadeUp .9s var(--bab-ease) .1s backwards}
  html.bab-js #welcome .bab-how.bab-in .bh-sub{animation:babFadeUp .8s var(--bab-ease) .25s backwards}
  html.bab-js #welcome .bab-how.bab-in .bh-row{animation:babFadeUp .9s var(--bab-ease) backwards}
  html.bab-js #welcome .bab-how.bab-in li:nth-child(1) .bh-row{animation-delay:.4s}
  html.bab-js #welcome .bab-how.bab-in li:nth-child(2) .bh-row{animation-delay:.52s}
  html.bab-js #welcome .bab-how.bab-in li:nth-child(3) .bh-row{animation-delay:.64s}
  html.bab-js #welcome .bab-how.bab-in .bh-panel{animation:babFadeUp 1s var(--bab-ease) .3s backwards}
}
@keyframes babCursor{0%{transform:translate(0,0)}45%{transform:translate(50px,-10px)}100%{transform:translate(95px,6px)}}
@keyframes babBox{from{transform:translateY(0)}to{transform:translateY(-6px)}}


/* ==== typography pass: warmer palette, calmer headline, clearer steps ==== */
.bh-eyebrow{color:#6B5A3A;letter-spacing:.3em}
.bh-eyebrow:before{background:#6B5A3A}
#welcome .bab-how h2{
  font-size:clamp(26px,2.7vw,40px)!important;line-height:1.08!important;letter-spacing:-.03em!important;
}
.bh-l1,.bh-l2{display:block;white-space:nowrap}
.bh-l2{color:#B8522B}
.bh-sub{color:#5A4B30;font-size:clamp(17px,1.5vw,19px);max-width:40ch;text-wrap:balance}
.bh-steps{border-bottom-color:rgba(27,20,11,.16)}
.bh-row{border-top-color:rgba(27,20,11,.16);padding:20px 0}
.bh-head{gap:18px;align-items:center}
.bh-n{
  display:inline-grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;
  border:1.5px solid #B7A98A;font-size:12px;letter-spacing:.04em;color:#7C6F52;min-width:0;
  transition:background .4s ease,color .4s ease,border-color .4s ease;
}
.bh-row.is-active .bh-n{background:var(--c);border-color:var(--c);color:#FFF9EA}
.bh-t{font-size:clamp(20px,1.9vw,27px);letter-spacing:-.02em;color:#7C6F52}
.bh-row.is-active .bh-t,.bh-row:hover .bh-t{color:#1B140B}
.bh-text>span{margin:10px 0 0 54px;max-width:440px;font-size:17px;color:#5A4B30}
.bh-sub,.bh-text>span,.bh-cap p{color:#5A4B30}
.bh-panel{background:#FFF9EA;border-color:rgba(27,20,11,.12);box-shadow:0 50px 90px -50px rgba(120,70,20,.4)}
.bh-view{background:radial-gradient(ellipse 70% 46% at 50% 36%,var(--wash),rgba(255,249,234,0) 70%)}
.bh-brief{border-color:rgba(27,20,11,.12)}
.bh-brief-r{background:#FAF0D8}
@media (max-width:900px){.bh-text>span{margin-left:54px}}
@media (max-width:600px){
  #welcome .bab-how h2{font-size:clamp(24px,7.4vw,30px)!important}
  .bh-b{display:block}
  .bh-n{width:32px;height:32px}
  .bh-text>span{margin-left:50px;font-size:16px}
}


/* ==== Sage and oat palette + bare step icons ==== */
#welcome .bab-how{
  color:#222820;
  background:
    radial-gradient(ellipse 55% 70% at 10% 0%,rgba(204,214,172,.6),rgba(204,214,172,0) 70%),
    radial-gradient(ellipse 50% 70% at 95% 100%,rgba(228,192,162,.42),rgba(228,192,162,0) 70%),
    #F2EADA!important;
}
#welcome .bab-how .bh-row{--c:#56653F!important}
#welcome .bab-how h2{color:#222820!important}
#welcome .bab-how .bh-l2{
  color:#56653F;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:500;
  font-size:1.22em;letter-spacing:-.01em;line-height:1.05;
}
.bh-eyebrow{color:#56653F}
.bh-eyebrow:before{background:#56653F}
.bh-sub,.bh-text>span,.bh-cap p{color:#4A5042}
.bh-steps{border-bottom-color:rgba(34,40,32,.15)}
.bh-row{border-top-color:rgba(34,40,32,.15)}
.bh-row:focus-visible{outline-color:#56653F}
.bh-t{color:#8D937F}
.bh-row.is-active .bh-t,.bh-row:hover .bh-t{color:#222820}
.bh-n{
  width:30px;height:30px;border:0;border-radius:0;background:none;color:#8D937F;
  transition:color .4s ease,transform .5s var(--bab-ease);
}
.bh-n svg{display:block}
.bh-row.is-active .bh-n{background:none;border-color:transparent;color:#56653F;transform:scale(1.08)}
.bh-text>span{margin-left:48px}
.bh-panel{background:#FBF8EE;border-color:rgba(34,40,32,.12);box-shadow:0 50px 90px -50px rgba(70,80,50,.35)}
.bh-view{background:radial-gradient(ellipse 70% 46% at 50% 36%,var(--wash),rgba(251,248,238,0) 70%)}
.bh-cap h3{color:#222820}
.bh-brief{border-color:rgba(34,40,32,.12);background:#FFFEF8}
.bh-brief-k{color:#56653F}
.bh-brief-r{background:#F1EBD8}
.bh-brief-r span{color:#4A5042}
.bh-brief-r b{color:#222820}
@media (max-width:900px){.bh-text>span{margin-left:48px}}
@media (max-width:600px){
  .bh-n{width:28px;height:28px}.bh-n svg{width:25px;height:25px}
  .bh-head{gap:14px}
  .bh-text>span{margin-left:42px}
}

/* less stretched type: DM Sans bold instead of wide Syne ExtraBold in this section */
#welcome .bab-how h2,.bh-n,.bh-t,.bh-cap h3{font-family:'DM Sans','Outfit',system-ui,sans-serif!important;font-weight:700!important}
#welcome .bab-how h2{font-size:clamp(32px,3.7vw,50px)!important;letter-spacing:-.03em!important;line-height:1.06!important}
.bh-t{font-size:clamp(21px,2.1vw,28px)!important;letter-spacing:-.02em!important}
.bh-n{letter-spacing:0!important}
.bh-cap h3{font-size:clamp(26px,2.8vw,38px)!important;letter-spacing:-.025em!important}

/* ==== orange pass: four steps, bullets with icons, warm orange palette ==== */
#welcome .bab-how .bh-row{--c:#B8480F!important}
#welcome .bab-how{
  background:
    radial-gradient(ellipse 60% 55% at 0% 0%,rgba(184,72,15,.16),rgba(184,72,15,0) 70%),
    radial-gradient(ellipse 55% 55% at 100% 100%,rgba(240,138,60,.26),rgba(240,138,60,0) 70%),
    #FBF1E6!important;
}
#welcome .bab-how:before{display:block!important;content:"";position:absolute;left:-210px;top:-210px;width:340px;height:290px;border-radius:50%;background:#B9500F;transform:rotate(-18deg);pointer-events:none;z-index:0}
#welcome .bab-how:after{display:block!important;content:"";position:absolute;right:-170px;bottom:-210px;width:540px;height:350px;border-radius:50%;background:linear-gradient(135deg,#F7A04B,#B8480F);transform:rotate(-12deg);pointer-events:none;z-index:0}
.bab-how .bh-grid{position:relative;z-index:1}
#welcome .bab-how .bh-l2{background:none;-webkit-text-fill-color:currentColor;color:#B8480F!important}
.bh-eyebrow{color:#C4510E}
.bh-eyebrow:before{background:#B8480F}
.bh-n{color:var(--c);border-color:var(--c);font-family:'DM Sans',system-ui,sans-serif;font-weight:700;font-size:14px}
.bh-row.is-active .bh-n{background:var(--c);border-color:var(--c);color:#fff}
.bh-t{color:#85756A}
.bh-row.is-active .bh-t,.bh-row:hover .bh-t{color:#B8480F}
.bh-bar{height:3px}
.bh-row.is-active .bh-text{max-height:320px}
.bh-text>.bh-pts{display:block;margin:6px 0 0 54px;max-width:460px}
.bh-pt{display:flex;gap:16px;align-items:flex-start;padding:9px 0}
.bh-pt>svg{flex:none;width:26px;height:26px;margin-top:2px;stroke:#B8480F;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bh-pt b{display:block;font-weight:700;font-size:16px;line-height:1.3;color:#1B140B}
.bh-pt em{display:block;font-style:normal;font-size:14.5px;line-height:1.4;color:#7A6A5E;margin-top:2px}
.bh-panel{border-color:rgba(27,20,11,.08);background:#FFFAF3}
.bh-panel>.bh-view{--vc:#B8480F}
.bh-brief-k{color:#C4510E!important}
.bh-brief-r{background:#FCEBDC}
.bh-sel{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:10px;padding:14px 16px;border:1px solid rgba(27,20,11,.14);border-radius:10px;background:#fff;font-size:15px;color:#5A4B40}
.bh-sel b{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#1B140B}
.bh-cap h3:after{content:"";display:block;width:56px;height:4px;border-radius:4px;background:#B8480F;margin-top:14px}
@media(max-width:600px){.bh-text>.bh-pts{margin-left:50px}}
.bh-sel b{white-space:nowrap}
.bh-sel svg,.bh-art .bh-sel svg{width:14px!important;height:14px!important;flex:none;display:inline-block}
@media(max-width:600px){#welcome .bab-how:before{left:-230px;top:-230px}#welcome .bab-how:after{right:-230px;bottom:-250px}}

/* corner blobs removed; animated background (shares the .bm-bg rules from 16-made-for.css) */
#welcome .bab-how:before,#welcome .bab-how:after{display:none!important;content:none!important}
#welcome .bab-how{position:relative;overflow:hidden}
#welcome .bab-how>.bm-bg{z-index:0}
#welcome .bab-how .bh-grid{position:relative;z-index:1}

/* bolder, darker type: label like WHO WE ARE, black titles */
#welcome .bab-how .bh-eyebrow{font-size:15px!important;font-weight:800!important;letter-spacing:.26em!important;color:#14110D!important;gap:12px}
#welcome .bab-how .bh-eyebrow:before{width:12px!important;height:12px!important;border-radius:50%;background:#B8480F!important;box-shadow:0 0 16px rgba(184,72,15,.55)}
#welcome .bab-how .bh-row:not(.is-active) .bh-t{color:#14110D!important;font-weight:800!important}
#welcome .bab-how .bh-row:not(.is-active) .bh-n{color:#14110D!important;font-weight:800!important}
#welcome .bab-how h2{color:#14110D!important;font-weight:800!important}
#welcome .bab-how .bh-sub{color:#2B2620!important;font-weight:500}
#welcome .bab-how .bh-pt b{color:#14110D!important;font-weight:800!important}
#welcome .bab-how .bh-pt em{color:#3B342B!important;font-weight:500}
