/* ============================================================
   MasterBizz: design system (built on the Sellsius system, retokened green)
   Rethink Sans + Instrument Serif · brand palette: red/burgundy/charcoal/slate/wisp
   ============================================================ */

:root{
  /* Master Bizz palette. Brand green from the logo (#006000) carries CTAs and accents;
     deep green-charcoal ink for dark sections; mint for status on dark; amber for "in progress".
     Contrast: green on white 7.86:1, white on green 7.86:1, ink on white 16.3:1. */
  --green:#006203;
  --green-dark:#004A00;
  --green-tint:#E6F3E6;
  --mint:#A4FBA6;
  --amber:#A4FBA6;  /* palette is dark green, light green, white: the old in-progress amber maps to light green */
  /* legacy token names used throughout the components; they map onto the green system */
  --red:var(--green);
  --red-dark:var(--green-dark);
  --red-tint:var(--green-tint);
  --orange:var(--amber);
  --ink:#0F2419;
  --ink-2:#17322A;
  --slate:#9DB8A6;
  --wisp:#D6EEDC;
  --body:#33463B;
  --muted:#5A6B60;
  --paper:#FFFFFF;
  --surface:#F4F7F4;
  --line:#E1E8E2;
  --line-dark:rgba(255,255,255,.12);
  --muted-dark:#A9C2B2;
  --ok-text:#0B6B3D;
  --ok-tint:#E6F6EC;
  --ok-line:#C7E8D5;
  --ok-on-dark:#7BD8A4;
  --shadow-card:0 20px 40px -20px rgb(15 36 25 / .18);
  --shadow-pop:0 30px 60px -25px rgb(15 36 25 / .28);
  --ease:cubic-bezier(.2,.6,.2,1);
  --ease-out:cubic-bezier(.2,.7,.2,1);
  --radius:20px;
  --radius-lg:28px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:"Rethink Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:17px;line-height:1.65;color:var(--body);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none}
/* Rethink Sans tops out at semibold here: its 700/800 spacing gets loose,
   so tracking is relaxed to suit 600 rather than 800. */
h1,h2,h3,h4{margin:0;color:var(--ink);font-weight:600;letter-spacing:-.019em;line-height:1.09}
h1{font-size:clamp(2.6rem,5.4vw,4.4rem)}
/* no orphan words on display type: balance wraps lines evenly where supported */
h1,h2{text-wrap:balance}
h2{font-size:clamp(1.9rem,3.6vw,2.9rem);letter-spacing:-.016em;line-height:1.13}
h3{font-size:clamp(1.15rem,1.8vw,1.35rem);font-weight:600;letter-spacing:-.008em;line-height:1.3}
p{margin:0}
b,strong{font-weight:600}
::selection{background:var(--red);color:#fff}

.wrap{max-width:1200px;margin-inline:auto;padding-inline:clamp(20px,4vw,48px)}
section{padding-block:clamp(52px,6vw,84px)}
.section-tight{padding-block:clamp(36px,4.5vw,56px)}
.bg-surface{background:var(--surface)}
.bg-dark{background:var(--ink);color:var(--muted-dark)}
.bg-dark h1,.bg-dark h2,.bg-dark h3{color:#fff}

/* ---------- accents & eyebrows ---------- */
em.accent{
  font-family:"Instrument Serif",Georgia,serif;
  font-style:italic;font-weight:400;color:var(--red);
  font-size:1.05em;letter-spacing:-.01em;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:12.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--red);margin-bottom:18px;
}
.eyebrow::before{content:"";width:18px;height:2px;background:var(--red);border-radius:2px}
.bg-dark .eyebrow{color:#A4FBA6}
.bg-dark .eyebrow::before{background:#A4FBA6}

.section-head{margin-bottom:clamp(26px,3.2vw,40px)}
.section-head.split{display:grid;grid-template-columns:1.2fr .8fr;gap:24px 64px;align-items:start}
.section-head .lede{font-size:clamp(1rem,1.4vw,1.125rem);color:var(--muted)}
.bg-dark .section-head .lede{color:var(--muted-dark)}
.bg-dark .link-arrow{color:#A4FBA6}
@media(max-width:820px){.section-head.split{grid-template-columns:1fr}}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 26px;border-radius:999px;
  font-size:15px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;
  transition:transform .3s var(--ease),background .3s var(--ease),border-color .3s var(--ease),color .3s var(--ease),box-shadow .3s var(--ease);
}
.btn .arr{transition:transform .3s var(--ease);display:inline-block}
.btn:hover .arr{transform:translateX(4px)}
/* red fill warming to orange on hover, white type throughout.
   Note: white on --orange is 2.6:1. Kept white for the cleaner look;
   --orange would need darkening to about #C25200 to reach AA with white. */
.btn-primary{
  background:var(--red);color:#fff;
  box-shadow:0 10px 24px -12px rgb(0 96 0 / .35);
}
.btn-primary:hover{
  background:var(--green-dark);color:#fff;transform:translateY(-2px);
  box-shadow:0 16px 30px -12px rgb(0 74 0 / .35);
}
.btn-ghost{border:1.5px solid var(--ink);color:var(--ink);background:transparent}
.btn-ghost:hover{background:var(--ink);color:#fff;transform:translateY(-2px)}
.bg-dark .btn-ghost{border-color:rgba(255,255,255,.4);color:#fff}
.bg-dark .btn-ghost:hover{background:#fff;color:var(--ink);border-color:#fff}
.btn-lg{padding:17px 34px;font-size:16px}
.btn-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center}

.link-arrow{font-weight:600;color:var(--red-dark);display:inline-flex;align-items:center;gap:6px;font-size:15px}
.link-arrow{transition:color .25s var(--ease)}
.link-arrow:hover{color:var(--green)}
.link-arrow .arr{transition:transform .3s var(--ease)}
.link-arrow:hover .arr{transform:translateX(4px)}

/* ---------- nav ---------- */
.nav{
  position:fixed;inset:0 0 auto 0;z-index:100;height:72px;
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;
  transition:border-color .3s,box-shadow .3s;
}
.nav.scrolled{border-bottom-color:var(--line);box-shadow:0 6px 24px -18px rgb(25 42 44 / .25)}
/* same container as .wrap so the logo lines up with every page's content */
.nav-inner{max-width:1200px;margin-inline:auto;height:100%;padding-inline:clamp(20px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:24px}
.nav-logo img{height:24px;width:auto}
.nav-links{display:flex;gap:32px;list-style:none;margin:0;padding:0}
.nav-links a{font-size:15px;font-weight:500;color:var(--ink);position:relative;padding-block:6px;white-space:nowrap}
.nav-links a::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background:var(--red);border-radius:2px;transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)}
.nav-links a:hover::after,.nav-links a[aria-current="page"]::after{transform:scaleX(1)}
.nav-links a[aria-current="page"]{color:var(--red);font-weight:600}
.nav-cta{display:flex;gap:12px;align-items:center}
.nav-cta .btn{padding:11px 20px;font-size:14px}
.nav-burger{display:none;width:44px;height:44px;border-radius:12px;position:relative;z-index:210}
.nav-burger span{position:absolute;left:11px;width:22px;height:2px;background:var(--ink);border-radius:2px;transition:transform .35s var(--ease),opacity .25s,top .35s var(--ease),background .3s}
.nav-burger span:nth-child(1){top:16px}
.nav-burger span:nth-child(2){top:22px}
.nav-burger span:nth-child(3){top:28px}
.nav-burger[aria-expanded="true"] span{background:#fff}
.nav-burger[aria-expanded="true"] span:nth-child(1){top:22px;transform:rotate(45deg)}
.nav-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-burger[aria-expanded="true"] span:nth-child(3){top:22px;transform:rotate(-45deg)}

.mobile-menu{
  position:fixed;inset:0;z-index:200;background:var(--ink);
  display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,8vw,64px);
  opacity:0;visibility:hidden;transition:opacity .4s var(--ease),visibility .4s;
}
.mobile-menu.open{opacity:1;visibility:visible}
.mobile-menu ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.mobile-menu a.mlink{font-size:clamp(1.9rem,8vw,2.6rem);font-weight:600;letter-spacing:-.02em;color:#fff;display:inline-block;padding-block:8px}
.mobile-menu a.mlink[aria-current="page"]{color:var(--red)}
.mobile-menu li{opacity:0;transform:translateY(18px);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.mobile-menu.open li{opacity:1;transform:none}
.mobile-menu .btn-row{margin-top:36px}
@media(max-width:1080px){
  .nav-links,.nav-cta{display:none}
  .nav-burger{display:block}
}

/* ---------- hero ---------- */
.hero{padding-top:calc(72px + clamp(56px,8vw,110px));padding-bottom:clamp(72px,9vw,120px);position:relative;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(36px,5vw,72px);align-items:center}
@media(max-width:960px){.hero-grid{grid-template-columns:1fr}}
.hero h1{color:#fff}
.hero .sub{margin-top:24px;font-size:clamp(1.05rem,1.5vw,1.2rem);max-width:54ch;color:var(--muted-dark)}
.hero .btn-row{margin-top:36px}
.hero .under{margin-top:26px;font-size:14px;color:var(--muted-dark);display:flex;align-items:center;gap:10px}
.hero .under::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 0 4px rgb(0 96 0 / .22);flex:none}
/* headline word-reveal */
.split-words .w{display:inline-block;overflow:hidden;vertical-align:top}
.split-words .w>span{display:inline-block;transform:translateY(115%);animation:wordUp .8s var(--ease-out) forwards;animation-delay:var(--wd,0s)}
@keyframes wordUp{to{transform:translateY(0)}}
.hero .wrap{position:relative;z-index:1}

/* ---------- hero with team photo (home) ---------- */
.hero-photo{padding-bottom:clamp(80px,10vw,132px);min-height:min(820px,92vh);display:flex;align-items:center}
.hero-photo > .wrap{width:100%}
.hero-photo .hero-copy{max-width:min(54%,600px)}
/* keep the paragraph inside the flat charcoal, well clear of the photo */
.hero-photo .sub{font-size:clamp(1rem,1.15vw,1.075rem);max-width:38ch;margin-top:22px}
.hero-photo .under{max-width:38ch;font-size:13.5px}
.hero-media{
  /* wide panel so the gradient has room to fade out gradually */
  position:absolute;inset:0 0 0 auto;width:68%;
  z-index:0;pointer-events:none;
}
.hero-media img{
  width:100%;height:100%;object-fit:cover;object-position:52% 16%;
  /* photo is a cool-lit office; nudge it toward the charcoal palette */
  filter:saturate(.82) contrast(1.04);
}
/* gradient overlay: photo dissolves into the charcoal field */
.hero-media .scrim{position:absolute;inset:0}
/* long, eased ramp: many stops so there is no visible seam or banding */
.hero-media .scrim.h{
  background:linear-gradient(90deg,
    var(--ink) 0%,
    var(--ink) 13%,
    rgba(25,42,44,.985) 21%,
    rgba(25,42,44,.95) 28%,
    rgba(25,42,44,.88) 35%,
    rgba(25,42,44,.77) 42%,
    rgba(25,42,44,.63) 49%,
    rgba(25,42,44,.48) 57%,
    rgba(25,42,44,.33) 65%,
    rgba(25,42,44,.20) 74%,
    rgba(25,42,44,.10) 83%,
    rgba(25,42,44,.03) 92%,
    rgba(25,42,44,0) 100%);
}
/* soften the top and bottom edges so the photo dissolves into the fold */
.hero-media .scrim.v{
  background:linear-gradient(to bottom,
    rgba(25,42,44,.80) 0%,
    rgba(25,42,44,.34) 7%,
    rgba(25,42,44,.08) 16%,
    rgba(25,42,44,0) 30%,
    rgba(25,42,44,0) 58%,
    rgba(25,42,44,.22) 76%,
    rgba(25,42,44,.62) 90%,
    var(--ink) 100%);
}
.hero-photo .proof-card{pointer-events:auto}

/* ---------- light variant of the photo hero (EOR) ---------- */
.hero-photo.light{background:var(--paper);color:var(--body)}
.hero-photo.light h1{color:var(--ink)}
.hero-photo.light .sub,
.hero-photo.light .under{color:var(--muted)}
.hero-photo.light .scrim.h{
  background:linear-gradient(90deg,
    #fff 0%,
    #fff 13%,
    rgba(255,255,255,.985) 21%,
    rgba(255,255,255,.95) 28%,
    rgba(255,255,255,.88) 35%,
    rgba(255,255,255,.77) 42%,
    rgba(255,255,255,.63) 49%,
    rgba(255,255,255,.48) 57%,
    rgba(255,255,255,.33) 65%,
    rgba(255,255,255,.20) 74%,
    rgba(255,255,255,.10) 83%,
    rgba(255,255,255,.03) 92%,
    rgba(255,255,255,0) 100%);
}
.hero-photo.light .scrim.v{
  background:linear-gradient(to bottom,
    rgba(255,255,255,.80) 0%,
    rgba(255,255,255,.34) 7%,
    rgba(255,255,255,.08) 16%,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0) 58%,
    rgba(255,255,255,.22) 76%,
    rgba(255,255,255,.62) 90%,
    #fff 100%);
}
/* frosted white glass reads better than smoked over a bright photo */
.proof-card.glass.light{
  background:linear-gradient(160deg,rgba(255,255,255,.80),rgba(255,255,255,.64));
  border-color:rgba(255,255,255,.92);
  box-shadow:0 28px 60px -28px rgba(25,42,44,.32);
  color:var(--body);
}
.proof-card.glass.light .pc-title{color:var(--ink)}
.proof-card.glass.light .pc-tag{color:var(--ink);background:var(--orange)}
.proof-card.glass.light .proof-row{
  background:rgba(255,255,255,.62);border-color:rgba(25,42,44,.10);
}
.proof-card.glass.light .avatar-initials{background:var(--red-tint);color:var(--red)}
.proof-card.glass.light .pr-name{color:var(--ink)}
.proof-card.glass.light .pr-role{color:var(--muted)}
.proof-card.handled .pr-pill{color:var(--ok-text);background:#D3EFDF}
.proof-card.glass.light .proof-foot{
  border-top-color:rgba(25,42,44,.16);color:var(--muted);
}
.proof-card.glass.light .proof-foot b{color:var(--ink)}

/* glassmorphic shortlist card, sitting low over the photo (legs/floor, never faces) */
/* wide, low-profile strip across the base of the photo */
.proof-card.glass{
  /* centred on the group, sitting across their legs: faces stay clear above */
  position:absolute;left:26%;right:5%;bottom:29%;width:auto;max-width:none;
  margin:0;padding:16px 18px;
  /* smoked glass: a charcoal tint under the blur keeps white text legible
     wherever the photo is bright */
  background:linear-gradient(160deg,rgba(25,42,44,.42),rgba(25,42,44,.30));
  -webkit-backdrop-filter:blur(20px) saturate(140%);
  backdrop-filter:blur(20px) saturate(140%);
  border:1px solid rgba(255,255,255,.24);
  box-shadow:0 28px 60px -28px rgba(0,0,0,.6);
  color:#fff;
  /* sits at 80% scale, rising into place on load */
  transform:scale(.8);transform-origin:50% 50%;
  animation:cardIn .9s var(--ease-out) .3s both;
}
@keyframes cardIn{
  from{opacity:0;transform:translateY(22px) scale(.74)}
  to{opacity:1;transform:translateY(0) scale(.8)}
}
/* three candidates side by side keeps the strip low over the legs */
.proof-card.glass .pc-head{margin-bottom:11px}
.proof-card.glass .pc-rows{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.proof-card.glass .proof-row{padding:9px 11px;gap:9px;min-width:0}
.proof-card.glass .proof-row + .proof-row{margin-top:0}
.proof-card.glass .proof-row > span:nth-child(2){min-width:0}
.proof-card.glass .avatar-initials{width:32px;height:32px;font-size:11px}
.proof-card.glass .pr-name{font-size:13px;white-space:nowrap}
.proof-card.glass .pr-role{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
/* the pill's meaning moves to the footer line at this size */
.proof-card.glass .pr-pill{display:none}
.proof-card.glass .proof-foot{margin-top:11px;padding-top:10px;font-size:11.5px}
.proof-card.glass .pc-title{color:#fff}
.proof-card.glass .pc-tag{color:var(--ink);background:var(--orange)}
.proof-card.glass .proof-row{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.10);
}
.proof-card.glass .avatar-initials{background:rgba(255,255,255,.18);color:#fff}
.proof-card.glass .pr-name{color:#fff}
.proof-card.glass .pr-role{color:rgba(255,255,255,.80)}
.proof-card.glass .pr-pill{color:var(--ink);background:rgba(255,255,255,.88)}
.proof-card.glass .proof-foot{
  border-top-color:rgba(255,255,255,.24);color:rgba(255,255,255,.84);
}
.proof-card.glass .proof-foot b{color:#fff}
.proof-card.glass .proof-badge{
  left:auto;right:-14px;bottom:-20px;
  background:var(--red);border-color:transparent;
}
.proof-card.glass .proof-badge .num{color:#fff}

@media(max-width:1180px){
  .hero-photo .hero-copy{max-width:min(58%,560px)}
  .hero-media{width:64%}
  .proof-card.glass{left:24%;right:4%}
}
/* stacked: copy, then photo panel with the card overlapping its base */
@media(max-width:960px){
  /* stack: copy first, photo panel beneath it */
  .hero-photo{
    padding-bottom:clamp(40px,6vw,56px);
    flex-direction:column;align-items:stretch;min-height:0;
  }
  .hero-photo > .wrap{order:1}
  .hero-photo .hero-copy{max-width:none}
  /* radius + aspect live on the image so the overlapping card is not clipped */
  .hero-media{
    order:2;
    position:relative;inset:auto;width:auto;height:auto;aspect-ratio:auto;
    margin:clamp(36px,6vw,52px) clamp(20px,4vw,48px) 0;
    overflow:visible;
  }
  .hero-media img{
    /* shorter than the desktop crop and height-capped: a 4/3 panel eats most
       of a phone screen before the reader reaches anything else */
    aspect-ratio:16/10;height:auto;max-height:min(42vh,330px);
    object-position:52% 12%;
    border-radius:var(--radius-lg);
  }
  .hero-media .scrim{border-radius:var(--radius-lg);bottom:auto;height:100%}
  .hero-media .scrim.h{
    background:linear-gradient(90deg,rgba(25,42,44,.34),rgba(25,42,44,.06) 60%,transparent);
  }
  /* in normal flow here, so no scale (it would leave a gap under the card) */
  .proof-card.glass{
    position:relative;right:auto;left:auto;bottom:auto;z-index:2;
    width:min(420px,94%);margin:-44px auto 0;
    transform:none;animation:cardInFlat .8s var(--ease-out) .2s both;
  }
  @keyframes cardInFlat{
    from{opacity:0;transform:translateY(16px)}
    to{opacity:1;transform:none}
  }
  /* stacked candidates read better than three cramped columns on a phone */
  .proof-card.glass .pc-rows{grid-template-columns:1fr;gap:7px}
  .proof-card.glass .pr-pill{display:inline-block}
  .proof-card.glass .pr-role{overflow:visible;text-overflow:clip}
}
@media(max-width:520px){
  /* the square lock is for the framed photo only: it fixed the cutout's
     container height and clipped the card */
  .hero-media:not(.cutout){aspect-ratio:1/1}
  .proof-card.glass{padding:18px}
}

/* hero proof card */
.proof-card{
  background:#fff;border-radius:var(--radius-lg);padding:26px;color:var(--body);
  box-shadow:var(--shadow-pop);max-width:430px;margin-left:auto;position:relative;
}
.proof-card .pc-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.proof-card .pc-title{font-size:14px;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.proof-card .pc-tag{font-size:11.5px;font-weight:600;color:var(--red);background:var(--red-tint);padding:4px 10px;border-radius:999px}
.proof-row{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;border:1px solid var(--line)}
.proof-row + .proof-row{margin-top:10px}
.proof-row .pr-name{font-size:14px;font-weight:600;color:var(--ink);line-height:1.3}
.proof-row .pr-role{font-size:12.5px;color:var(--muted);line-height:1.3}
.proof-row .pr-pill{margin-left:auto;font-size:11px;font-weight:600;color:var(--ok-text);background:#D3EFDF;padding:4px 9px;border-radius:999px;white-space:nowrap}
.proof-foot{margin-top:16px;padding-top:14px;border-top:1px dashed var(--line);display:flex;justify-content:space-between;align-items:center;font-size:12.5px;color:var(--muted)}
.proof-foot b{color:var(--ink)}
.float{animation:float 7s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@media(max-width:960px){.proof-card{margin-inline:auto}}

/* mini chip stack behind/over proof card */
.proof-badge{
  position:absolute;left:-34px;bottom:-22px;background:var(--ink);color:#fff;border-radius:16px;
  padding:12px 16px;font-size:13px;font-weight:600;box-shadow:var(--shadow-pop);display:flex;gap:9px;align-items:center;
  border:1px solid rgba(255,255,255,.14);
}
.proof-badge .num{color:#A4FBA6;font-weight:600}
@media(max-width:520px){.proof-badge{left:-6px}}

/* ---------- avatar initials ---------- */
.avatar-initials{
  width:44px;height:44px;border-radius:50%;flex:none;
  background:var(--red-tint);color:var(--red);
  display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:600;letter-spacing:.01em;
}

/* ---------- logo marquee ---------- */
.logobar{padding-block:34px;border-bottom:1px solid var(--line);overflow:hidden}
.logobar .lb-label{text-align:center;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:22px}
.marquee{display:flex;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
/* 14 logos make the track ~2340px, so the duration is set for a calm ~39px/s */
.marquee-track{display:flex;gap:clamp(44px,5vw,76px);align-items:center;flex:none;padding-right:clamp(44px,5vw,76px);animation:marquee 60s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes marquee{to{transform:translateX(-100%)}}
.wordmark{font-weight:600;font-size:clamp(1.05rem,1.6vw,1.3rem);letter-spacing:-.02em;color:#8AA6A3;white-space:nowrap;font-family:"Rethink Sans",sans-serif}
.wordmark.serif{font-family:Georgia,serif;font-weight:600;letter-spacing:0}

/* ---------- generic cards ---------- */
.card{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(24px,3vw,34px);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease);
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card);border-color:transparent}
/* icons sit bare: a tinted plate behind every glyph is a stock-template tell */
.card .icon{display:block;margin-bottom:16px}
.card .icon svg{width:26px;height:26px;stroke:var(--red);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.card h3{margin-bottom:10px}
.card p{font-size:15.5px;color:var(--muted)}
.card .link-arrow{margin-top:18px}
.card-dark{background:var(--ink);border-color:var(--ink)}
.card-dark h3{color:#fff}
.card-dark p{color:var(--muted-dark)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
@media(max-width:960px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid-3,.grid-2{grid-template-columns:1fr}}

/* ---------- chips / checks ---------- */
.chip{display:inline-block;font-size:12px;font-weight:600;color:var(--body);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:4px 12px}
.chip-row{display:flex;flex-wrap:wrap;gap:7px}
.check-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.check-list li{display:flex;gap:13px;align-items:flex-start;font-size:15.5px}
.check{
  width:22px;height:22px;border-radius:50%;flex:none;margin-top:2px;
  background:var(--red-tint);display:flex;align-items:center;justify-content:center;
}
.check svg{width:11px;height:11px;stroke:var(--red);stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}
.cross{width:22px;height:22px;border-radius:50%;flex:none;background:var(--surface);display:flex;align-items:center;justify-content:center}
.cross svg{width:10px;height:10px;stroke:#9FB5B2;stroke-width:2.6;fill:none;stroke-linecap:round}

/* ---------- comparison table ---------- */
.compare-scroll{overflow-x:auto;border-radius:var(--radius-lg);-webkit-overflow-scrolling:touch}
.compare{
  width:100%;min-width:760px;border-collapse:separate;border-spacing:0;
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;
}
.compare th,.compare td{padding:18px 22px;text-align:left;font-size:15px;border-bottom:1px solid var(--line);vertical-align:top}
.compare tr:last-child th,.compare tr:last-child td{border-bottom:none}
.compare thead th{font-size:14.5px;font-weight:600;color:var(--ink);padding-block:20px;background:var(--surface)}
.compare thead th img{height:18px;width:auto}
.compare tbody th{font-weight:600;color:var(--ink);width:20%;background:var(--paper)}
.compare td{color:var(--muted);width:26.6%}
.compare .col-us{background:linear-gradient(180deg,var(--red-tint),rgba(253,236,236,.25));color:var(--body);font-weight:500;position:relative}
.compare thead .col-us{background:var(--red-tint);border-top:3px solid var(--red)}
.compare .cell-flag{display:flex;gap:10px;align-items:flex-start}
.compare .cell-flag .check,.compare .cell-flag .cross{margin-top:1px}
.compare-note{margin-top:18px;font-size:13.5px;color:var(--muted)}
/* sticky label column on mobile scroll */
@media(max-width:820px){
  .compare tbody th,.compare thead th:first-child{position:sticky;left:0;z-index:2;box-shadow:6px 0 12px -10px rgb(25 42 44 / .25)}
  .compare thead th:first-child{background:var(--surface)}
}

/* two-column duel table (internal vs sellsius, on home + sdr) */
.duel{border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;background:var(--paper)}
.duel-head,.duel-row{display:grid;grid-template-columns:1.1fr 1fr 1fr}
.duel-head>div{padding:18px 24px;font-weight:600;font-size:14.5px;color:var(--ink);background:var(--surface);border-bottom:1px solid var(--line)}
.duel-head>div:last-child{background:var(--red-tint);border-top:3px solid var(--red);color:var(--red-dark)}
.duel-head>div:last-child img{height:16px}
.duel-row>div{padding:17px 24px;font-size:15px;border-bottom:1px solid var(--line);color:var(--muted)}
.duel-row:last-child>div{border-bottom:none}
.duel-row>div:first-child{font-weight:600;color:var(--ink)}
.duel-row>div:last-child{background:linear-gradient(180deg,rgba(253,236,236,.55),rgba(253,236,236,.2));color:var(--body);font-weight:500}
.duel-scroll{overflow-x:auto;border-radius:var(--radius-lg)}
@media(max-width:640px){
  .duel{min-width:560px}
}

/* ---------- process steps ---------- */
.steps{list-style:none;margin:0;padding:0;counter-reset:step}
.steps>li{display:grid;grid-template-columns:56px 1fr;gap:20px;position:relative;padding-bottom:clamp(28px,4vw,44px)}
.steps>li:last-child{padding-bottom:0}
.steps>li::before{
  counter-increment:step;content:counter(step,decimal-leading-zero);
  width:56px;height:56px;border-radius:50%;flex:none;
  background:var(--paper);border:1.5px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  font-weight:600;font-size:15px;color:var(--red);letter-spacing:-.02em;
  position:relative;z-index:1;
}
.steps>li::after{content:"";position:absolute;left:28px;top:56px;bottom:0;width:1.5px;background:var(--line)}
.steps>li:last-child::after{display:none}
.steps h3{margin-bottom:6px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.steps p{font-size:15.5px;color:var(--muted);max-width:62ch}
.step-pill{font-size:11.5px;font-weight:600;letter-spacing:.03em;color:var(--red);background:var(--red-tint);padding:4px 11px;border-radius:999px;white-space:nowrap}
.step-pill.alt{color:var(--muted);background:var(--surface);border:1px solid var(--line)}

/* horizontal 4-step row (EOR/SDR) */
.steps-row{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:step;list-style:none;margin:0;padding:0}
.steps-row>li{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:26px;position:relative;transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.steps-row>li:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}
/* the step number reads as a number, not a glyph on a plate */
.steps-row>li::before{
  counter-increment:step;content:counter(step,decimal-leading-zero);
  display:block;font-weight:600;font-size:1.05rem;color:var(--red);
  letter-spacing:.02em;margin-bottom:14px;
}
.steps-row h3{font-size:1.1rem;margin-bottom:8px}
.steps-row p{font-size:14.5px;color:var(--muted)}
.steps-row .step-pill{position:absolute;top:26px;right:22px}
@media(max-width:960px){.steps-row{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.steps-row{grid-template-columns:1fr}}

/* ---------- timeline duration bar ---------- */
.tl{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(26px,4vw,44px)}
.tl-title{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:26px}
.tl-title .t{font-weight:600;color:var(--ink);font-size:1.05rem;letter-spacing:-.015em}
.tl-title .d{font-size:13.5px;color:var(--muted)}
.tl-bar{display:flex;height:54px;border-radius:14px;overflow:hidden;background:var(--surface)}
.tl-seg{position:relative;overflow:hidden}
.tl-seg .tl-fill{position:absolute;inset:0;transform:scaleX(0);transform-origin:left;transition:transform 1.2s var(--ease-out)}
.tl-seg.s1{width:40%}
.tl-seg.s1 .tl-fill{background:var(--red);transition-delay:.1s}
.tl-seg.s2{width:60%}
.tl-seg.s2 .tl-fill{background:var(--orange);transition-delay:.75s}
.in-view .tl-fill{transform:scaleX(1)}
.tl-seg .tl-label{position:relative;z-index:1;height:100%;display:flex;align-items:center;padding-inline:18px;font-size:13px;font-weight:600;color:#fff;white-space:nowrap;opacity:0;transition:opacity .5s .9s}
.tl-seg.s2 .tl-label{transition-delay:1.5s}
.in-view .tl-label{opacity:1}
.tl-ticks{display:flex;justify-content:space-between;margin-top:12px;font-size:12.5px;font-weight:600;color:var(--muted)}
.tl-ticks .tick{display:flex;flex-direction:column;gap:2px}
.tl-ticks .tick small{font-weight:500;color:var(--muted)}
.tl-legend{display:flex;gap:26px;flex-wrap:wrap;margin-top:22px}
.tl-legend .lg{display:flex;gap:10px;align-items:center;font-size:13.5px;color:var(--body)}
.tl-legend .dot{width:12px;height:12px;border-radius:4px;flex:none}
.tl-foot{margin-top:16px;font-size:13px;color:var(--muted)}
/* mobile: labels leave the bar and stack below (JS builds .tl-mobile) */
.tl-mobile{display:none}
@media(max-width:700px){
  .tl-bar{height:38px}
  .tl-seg .tl-label{display:none}
  .tl-mobile{display:flex;flex-direction:column;gap:9px;margin-top:14px}
  .tl-m-row{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:600;color:var(--body);text-align:left}
  .tl-m-row .dot{width:12px;height:12px;border-radius:4px;flex:none}
  .tl-legend{display:none}
}

/* ---------- talent cards ---------- */
.talent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:960px){.talent-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.talent-grid{grid-template-columns:1fr}}
.talent{display:flex;flex-direction:column;gap:0}
.talent .t-top{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.talent .avatar-initials{width:52px;height:52px;font-size:16px}
.talent .t-name{font-size:1.05rem;font-weight:600;color:var(--ink);letter-spacing:-.015em;line-height:1.25}
.talent .t-role{font-size:13.5px;color:var(--muted)}
.talent .t-meta{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted);border-block:1px solid var(--line);padding-block:11px;margin-bottom:14px}
.talent .t-meta b{color:var(--ink);font-weight:600}
.talent .chip-row{margin-bottom:14px}
.talent .t-about{font-size:14px;color:var(--muted);line-height:1.6}

/* ---------- FAQ ---------- */
.faq{max-width:820px;margin-inline:auto;display:flex;flex-direction:column;gap:12px}
.faq details{background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:box-shadow .3s var(--ease)}
.faq details[open]{box-shadow:var(--shadow-card)}
.faq summary{
  list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:20px 24px;font-weight:600;color:var(--ink);font-size:16px;letter-spacing:-.01em;
}
.faq summary::-webkit-details-marker{display:none}
.faq .chev{width:30px;height:30px;border-radius:50%;background:var(--surface);flex:none;display:flex;align-items:center;justify-content:center;transition:transform .35s var(--ease),background .3s}
.faq .chev svg{width:12px;height:12px;stroke:var(--ink);stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round}
.faq details[open] .chev{transform:rotate(180deg);background:var(--red-tint)}
.faq details[open] .chev svg{stroke:var(--red)}
.faq .faq-body{padding:0 24px 22px;font-size:15px;color:var(--muted);max-width:66ch}
.faq .faq-body a{color:var(--red);font-weight:600}

/* ---------- stats ---------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:left}
@media(max-width:820px){.stats{grid-template-columns:repeat(2,1fr)}}
.stat .num{font-size:clamp(2.4rem,4.5vw,3.6rem);font-weight:600;letter-spacing:-.022em;color:var(--ink);line-height:1;font-variant-numeric:tabular-nums}
.bg-dark .stat .num{color:#fff}
.stat .num .red{color:var(--red)}
.stat .lbl{font-weight:600;font-size:15px;color:var(--ink);margin-top:10px;letter-spacing:-.01em}
.bg-dark .stat .lbl{color:#fff}
.stat .sub{font-size:13.5px;color:var(--muted);margin-top:3px}
.bg-dark .stat .sub{color:var(--muted-dark)}

/* ---------- testimonials ---------- */
.quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media(max-width:820px){.quote-grid{grid-template-columns:1fr}}
.quote{display:flex;flex-direction:column;gap:22px;padding:clamp(28px,3.5vw,40px)}
.quote .qmark{font-family:"Instrument Serif",Georgia,serif;font-size:64px;line-height:.6;color:var(--red);height:26px}
.quote blockquote{margin:0;font-size:clamp(1.05rem,1.5vw,1.25rem);color:var(--ink);font-weight:500;letter-spacing:-.015em;line-height:1.5}
.quote .who{display:flex;align-items:center;gap:12px;margin-top:auto}
.quote .who .avatar-initials{width:40px;height:40px;font-size:12.5px}
.quote .who .nm{font-weight:600;color:var(--ink);font-size:14.5px}
.quote .who .co{font-size:13px;color:var(--muted)}

/* ---------- blog cards ---------- */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:960px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.post-grid{grid-template-columns:1fr}}
.post{display:flex;flex-direction:column;padding:0;overflow:hidden}
.post .cover{
  aspect-ratio:16/9;padding:24px;display:flex;flex-direction:column;justify-content:flex-end;
  background:var(--surface);position:relative;overflow:hidden;
}
.post .cover .cv-title{
  font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:clamp(1.3rem,2vw,1.6rem);
  color:var(--ink);letter-spacing:-.01em;line-height:1.15;position:relative;z-index:1;
}
.post .cover.tint-red{background:var(--red-tint)}
.post .cover.tint-red .cv-title{color:var(--red-dark)}
.post .cover.tint-dark{background:var(--ink)}
.post .cover.tint-dark .cv-title{color:#fff}
.post .post-body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:10px;flex:1}
.post .cat{font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--red)}
.post h3{font-size:1.12rem;line-height:1.35;letter-spacing:-.015em}
.post .desc{font-size:14px;color:var(--muted);flex:1}
.post .link-arrow{font-size:14px}

/* featured post */
.featured{display:grid;grid-template-columns:1.25fr .75fr;gap:20px;margin-bottom:clamp(36px,5vw,56px)}
@media(max-width:900px){.featured{grid-template-columns:1fr}}
.featured .post .cover{aspect-ratio:16/8}
.featured .post .cover .cv-title{font-size:clamp(1.7rem,3vw,2.4rem)}
.latest-list{display:flex;flex-direction:column;padding:clamp(20px,2.5vw,28px)}
.latest-list .ll-head{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding-bottom:14px;border-bottom:1px solid var(--line)}
.latest-list a.ll-item{padding-block:16px;border-bottom:1px solid var(--line);display:block}
.latest-list a.ll-item:last-child{border-bottom:none}
.latest-list .ll-cat{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--red)}
.latest-list .ll-title{font-weight:600;color:var(--ink);font-size:15px;line-height:1.4;margin-top:4px;transition:color .25s}
.latest-list a.ll-item:hover .ll-title{color:var(--red)}

/* filter pills */
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:clamp(28px,4vw,40px)}
.filters button{
  font-size:13.5px;font-weight:600;color:var(--body);background:var(--paper);
  border:1px solid var(--line);border-radius:999px;padding:9px 18px;
  transition:all .25s var(--ease);
}
.filters button:hover{border-color:var(--ink);color:var(--ink)}
.filters button.active{background:var(--ink);border-color:var(--ink);color:#fff}
.post.hidden{display:none}

/* ---------- newsletter ---------- */
.newsletter{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:clamp(32px,5vw,56px);display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center;
}
@media(max-width:820px){.newsletter{grid-template-columns:1fr}}
.newsletter h3{font-size:clamp(1.4rem,2.4vw,1.9rem);letter-spacing:-.025em;margin-bottom:10px}
.newsletter p{font-size:15px;color:var(--muted)}
.nl-form{display:flex;gap:10px}
.nl-form input{
  flex:1;min-width:0;padding:15px 20px;border-radius:999px;border:1.5px solid var(--line);
  font:inherit;font-size:15px;background:var(--paper);color:var(--ink);outline:none;transition:border-color .25s;
}
.nl-form input:focus{border-color:var(--red)}
.nl-small{font-size:12.5px;color:var(--muted);margin-top:10px}
@media(max-width:520px){.nl-form{flex-direction:column}}

/* ---------- contact ---------- */
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(32px,5vw,72px);align-items:start}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr}}
.contact-side .item{display:flex;gap:16px;align-items:flex-start;padding-block:18px;border-bottom:1px solid var(--line)}
.contact-side .item:last-child{border-bottom:none}
/* same here: the glyph carries it, no plate. Fixed width keeps the rows aligned. */
.contact-side .item .icon{width:24px;flex:none;display:block;margin-top:2px}
.contact-side .item .icon svg{width:24px;height:24px;stroke:var(--red);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.contact-side .item .t{font-weight:600;color:var(--ink);font-size:15px}
.contact-side .item .d{font-size:14px;color:var(--muted)}
.contact-side .item a{color:var(--red);font-weight:600}
.form-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(26px,3.5vw,40px);box-shadow:var(--shadow-card)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-grid .full{grid-column:1/-1}
@media(max-width:560px){.form-grid{grid-template-columns:1fr}}
.field label{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:7px}
.field input,.field select,.field textarea{
  width:100%;padding:13px 16px;border-radius:12px;border:1.5px solid var(--line);
  font:inherit;font-size:15px;color:var(--ink);background:var(--paper);outline:none;
  transition:border-color .25s;appearance:none;
}
.field textarea{resize:vertical;min-height:110px}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--red)}
.field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235F7477' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.form-success{display:none;text-align:center;padding:40px 20px}
.form-success .big{font-size:44px;margin-bottom:12px}
.form-success h3{margin-bottom:8px}
.form-success p{color:var(--muted);font-size:15px}
.form-card.sent form{display:none}
.form-card.sent .form-success{display:block}

/* ---------- CTA band ---------- */
.cta-band{position:relative;overflow:hidden}
.cta-inner{position:relative;z-index:1;text-align:center;max-width:760px;margin-inline:auto}
.cta-inner h2{font-size:clamp(2.1rem,4.4vw,3.4rem)}
.cta-inner .sub{margin-top:18px;font-size:clamp(1rem,1.5vw,1.15rem);color:var(--muted-dark)}
.cta-inner .btn-row{margin-top:36px;justify-content:center}

/* ---------- ribbon banner (EOR+Recruitment etc.) ---------- */
.ribbon{
  background:var(--ink);border-radius:var(--radius-lg);padding:clamp(30px,4.5vw,52px);
  display:grid;grid-template-columns:1.4fr .6fr;gap:28px;align-items:center;position:relative;overflow:hidden;
}
.ribbon h3{color:#fff;font-size:clamp(1.35rem,2.4vw,1.8rem);letter-spacing:-.02em;margin-bottom:12px}
.ribbon p{color:var(--muted-dark);font-size:15.5px;position:relative;z-index:1}
.ribbon .btn-row{justify-content:flex-end;position:relative;z-index:1}
@media(max-width:820px){.ribbon{grid-template-columns:1fr}.ribbon .btn-row{justify-content:flex-start}}

/* ---------- footer ---------- */
footer{background:var(--ink);color:var(--muted-dark);padding-top:clamp(44px,5.5vw,68px)}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:clamp(32px,4vw,48px)}
@media(max-width:900px){.foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.foot-grid{grid-template-columns:1fr}}
.foot-brand img{height:24px;filter:brightness(0) invert(1)}
.foot-brand p{margin-top:18px;font-size:14.5px;max-width:34ch;line-height:1.7}
.foot-social{margin-top:22px;display:flex;gap:10px}
.foot-social a{
  width:40px;height:40px;border-radius:50%;border:1px solid var(--line-dark);
  display:flex;align-items:center;justify-content:center;transition:all .3s var(--ease);
}
.foot-social a:hover{background:var(--red);border-color:var(--red);transform:translateY(-3px)}
.foot-social svg{width:17px;height:17px;fill:#fff}
.foot-col .fc-head{font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#fff;margin-bottom:20px}
.foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.foot-col a{font-size:14.5px;color:var(--muted-dark);transition:color .25s}
.foot-col a:hover{color:#fff}
.foot-bottom{border-top:1px solid var(--line-dark);padding-block:26px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px}

/* ---------- reveal animation ---------- */
.rv{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease-out),transform .7s var(--ease-out);transition-delay:var(--d,0s)}
.rv.in-view{opacity:1;transform:none}

/* container for stagger groups: JS assigns --d to .rv children */

/* ---------- reduced motion ---------- */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rv{opacity:1;transform:none;transition:none}
  .split-words .w>span{transform:none;animation:none}
  .marquee-track{animation:none}
  .float{animation:none}
  .tl-seg .tl-fill{transform:scaleX(1);transition:none}
  .tl-seg .tl-label{opacity:1;transition:none}
  .proof-card.glass{animation:none;opacity:1}
  *{scroll-behavior:auto!important}
}

/* ============================================================
   Colour blocks and accents
   Professional but not solemn: flat colour sections, coloured
   icon tiles and warm type accents. No decorative glows.
   ============================================================ */

/* section blocks */
.bg-cream{background:var(--surface)}
.bg-wisp{background:var(--surface)}

/* coloured icon tiles */

/* coloured initials */
.avatar-initials.a-o{background:var(--red-tint);color:var(--red)}

/* stat numbers rotate through the palette */
.stat .num .orange{color:var(--red)}

/* an accent phrase can run warm instead of red */
em.accent.alt{color:var(--red)}
.bg-dark em.accent.alt{color:#A4FBA6}

/* the hero card carries a warm edge so it reads as the bright spot */

/* timeline legend swatches */
.tl-legend .dot.d-o{background:var(--orange)}

/* testimonials sit on their own colour, not plain white */
.quote-grid .quote{background:var(--surface);border-color:transparent}

/* extra blog cover tints */
.post .cover.tint-orange{background:var(--red-tint)}
.post .cover.tint-orange .cv-title{color:var(--red-dark)}
.post .cover.tint-orange .cv-ring{border-color:rgba(164,251,166,.35)}
.post .cover.tint-cream{background:var(--surface)}
.post .cover.tint-cream .cv-title{color:var(--ink)}
.post .cover.tint-wisp .cv-ring{border-color:rgba(30,107,102,.18)}

/* solid colour band: charcoal type on orange, never white (2.6:1 fails) */
.ribbon.warm{background:var(--ink)}
.ribbon.warm h3{color:#fff}
.ribbon.warm p{color:var(--muted-dark)}

/* comparison table: our column runs warm so it reads as the answer */
.duel-head>div:last-child{background:var(--red-tint);border-top:3px solid var(--red);color:var(--red-dark)}
.duel-row>div:last-child{background:rgba(253,233,236,.55)}

/* ---------- status: green means handled ----------
   Used on the proof cards only, where a row is a task that is done.
   Not a decorative colour: never use it for blocks or headings. */
.proof-card.handled .proof-row{
  background:var(--ok-tint);border-color:var(--ok-line);
}
.proof-card.handled .proof-row .check{background:#D3EFDF}
.proof-card.handled .proof-row .check svg{stroke:var(--ok-text)}
.proof-card.glass.light .pr-pill{color:var(--ok-text);background:#D3EFDF}
.proof-card.handled .proof-foot b{color:var(--ok-text)}
/* the tag stops competing: charcoal, not red, next to green rows */
.proof-card.handled .pc-tag{color:#fff;background:var(--ink)}

/* on the dark cards the same meaning reads as a light green */
.proof-card.glass .proof-row .check{background:rgba(123,216,164,.22)}
.proof-card.glass .proof-row .check svg{stroke:var(--ok-on-dark)}
.proof-card.glass .proof-foot b{color:var(--ok-on-dark)}
.hero-photo:not(.light) .proof-card.glass .pr-pill{background:rgba(123,216,164,.92);color:#0A3D24}

/* ---------- colour on the hero card: three accents, nothing more ----------
   a red status dot, red initials on the lead candidate, green for "ready". */
.proof-card.glass .pc-title{display:inline-flex;align-items:center;gap:8px}
.proof-card.glass .pc-title::before{
  content:"";width:7px;height:7px;border-radius:50%;background:var(--red);flex:none;
  box-shadow:0 0 0 3px rgba(0,96,0,.25);
}
/* the compliance card is a "handled" state, so its dot is green, not red */
.proof-card.handled .pc-title::before{
  background:var(--ok-text);box-shadow:0 0 0 3px rgba(11,107,61,.22);
}
.proof-card.glass .pc-tag{color:var(--ink);background:var(--orange)}

/* ---------- satellites: small facts that animate off the card ---------- */
.sat{
  position:absolute;z-index:3;display:inline-flex;align-items:center;gap:8px;
  padding:9px 14px;border-radius:999px;
  font-size:12.5px;font-weight:600;white-space:nowrap;
  /* solid fills on purpose: these move, and a moving backdrop-filter janks */
  box-shadow:0 16px 30px -16px rgba(0,0,0,.5);
  opacity:0;transform:translateY(12px) scale(.94);
  animation:satIn .7s var(--ease-out) forwards, satFloat 7s ease-in-out infinite;
}
.sat .dot{width:8px;height:8px;border-radius:50%;flex:none}
.sat-ready{
  left:20%;top:-20px;background:#fff;color:var(--ink);
  animation-delay:1.05s, 1.75s;
}
.sat-ready .tick{width:15px;height:15px;flex:none;stroke:var(--ok-text);stroke-width:3;fill:none}
.sat-speed{
  /* sits under the gap between the two footer lines: clear of both
     "All three are interview-ready" on the left and "Top 1%" on the right */
  left:38%;bottom:-26px;background:var(--ink);color:#fff;
  border:1px solid rgba(255,255,255,.16);
  animation-delay:1.3s, 2.1s;
}
/* soft yellow, pulsing: this one is in progress, not done */
.sat-speed .dot{background:#F5C451;animation:dotPulse 1.9s ease-in-out infinite}
@keyframes dotPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(245,196,81,.55);transform:scale(1)}
  50%{box-shadow:0 0 0 6px rgba(245,196,81,0);transform:scale(1.14)}
}
@keyframes satIn{to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes satFloat{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-6px) scale(1)}
}
/* the card stacks under the photo on small screens: satellites would crowd it */
@media(max-width:820px){.sat{display:none}}
@media(prefers-reduced-motion:reduce){
  .sat{opacity:1;transform:none;animation:none}
  .sat-speed .dot{animation:none}
}

/* on a light fold the white satellite needs its own edge */
.hero-photo.light .sat-ready{border:1px solid var(--line)}
/* the green metric needs the darker green once the card is white */
.proof-card.glass.light .proof-foot b{color:var(--ok-text)}

/* ---------- the lead candidate gets selected ----------
   Beat 4 of the hero: card lands (0.3s), satellites rise (1.05s / 1.3s), then this
   row turns green, a speedline traces its edge and a tick lands beside the name. */
.proof-row.row-pick{position:relative;overflow:visible}
.proof-card.glass .proof-row.row-pick{
  animation:rowPick .55s var(--ease) 2.25s forwards;
}
@keyframes rowPick{
  to{background:var(--ok-tint);border-color:var(--ok-line)}
}
.proof-row.row-pick .avatar-initials{
  animation:avatarPick .55s var(--ease) 2.25s forwards;
}
@keyframes avatarPick{
  to{background:#fff;color:var(--ok-text)}
}
/* tick beside the name, not on the avatar */
.pr-name .name-tick{
  display:inline-block;vertical-align:-2px;margin-left:6px;
  width:13px;height:13px;stroke:var(--ok-text);stroke-width:3.4;fill:none;
  stroke-linecap:round;stroke-linejoin:round;
  opacity:0;transform:scale(.4);
  animation:tickIn .4s var(--ease-out) 2.62s forwards;
}
@keyframes tickIn{to{opacity:1;transform:scale(1)}}
/* the speedline: one lap of the row's edge */
.proof-row .speedline{
  position:absolute;inset:0;width:100%;height:100%;
  overflow:visible;pointer-events:none;
}
.proof-row .speedline rect{
  fill:none;stroke:#2FAE6B;stroke-width:2;stroke-linecap:round;
  stroke-dasharray:66 364;stroke-dashoffset:430;opacity:0;
  animation:speedline 3.4s linear 2.2s infinite;
}
/* a lap, then a beat of rest, so it reads as a pulse rather than a spinner */
@keyframes speedline{
  0%{stroke-dashoffset:430;opacity:0}
  4%{opacity:1}
  26%{stroke-dashoffset:0;opacity:1}
  32%{stroke-dashoffset:0;opacity:0}
  100%{stroke-dashoffset:0;opacity:0}
}
/* the card sits behind a backdrop-filter, so a permanently repainting child is
   expensive: main.js pauses the loop whenever the hero is off screen. */
.hero-photo.anim-idle .speedline rect,
.hero-photo.anim-idle .sat-speed .dot,
.hero-photo.anim-idle .sat{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){
  .proof-card.glass .proof-row.row-pick{animation:none;background:var(--ok-tint);border-color:var(--ok-line)}
  .pr-name .name-tick{animation:none;opacity:1;transform:none}
  .proof-row .speedline{display:none}
}

/* avatars take a photo when one exists, and fall back to initials when not */
.avatar-initials{overflow:hidden}
.avatar-initials img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.avatar-initials:has(img){background:none}

/* light type on the orange leg, per the client. Note: 2.6:1, decorative label;
   the same day range is repeated in the ticks below the bar. */
.tl-seg.s2 .tl-label{color:#fff}

/* ---------- client logos in the marquee ----------
   Two independent axes, both custom properties.

   --lh  optical height. Long wordmarks need LESS height than compact marks or
         they dominate the strip (source ratios here run 1.56 to 4.79).

   --lo/--lb/--lc  optical weight. Equalised by measured "ink mass"
         ((255 - mean luminance) / 255 x ink coverage), not by luminance alone:
         a bold wordmark at mid-grey reads heavier than a thin one at the same
         grey. Measured mass ran 0.063 (Merchant Capital) to 0.255 (PrimeSource),
         a 4x spread, so the light marks are pushed up and the heavy ones pulled
         back until they sit at a similar weight. */
.marquee-track img{
  height:var(--lh,26px);width:auto;flex:none;
  /* full colour, per the client: greyscale + tone tiers retired. The optical
     HEIGHT tiers below stay, so wordmarks and badges still balance. */
}
.marquee-track img.lg-wide{--lh:21px}
.marquee-track img.lg-midtall{--lh:29px}
.marquee-track img.lg-tall{--lh:34px}
@media(max-width:640px){
  .marquee-track img{--lh:22px}
  .marquee-track img.lg-wide{--lh:18px}
  .marquee-track img.lg-tall{--lh:28px}
}

/* ---------- service cards: image over a solid colour panel ---------- */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:960px){.svc-grid{grid-template-columns:1fr;max-width:480px;margin-inline:auto}}
.svc-card{
  display:flex;flex-direction:column;border-radius:22px;overflow:hidden;
  background:var(--paper);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.svc-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-card)}
.svc-media{aspect-ratio:4/3;overflow:hidden;background:var(--surface)}
.svc-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .7s var(--ease)}
.svc-card:hover .svc-media img{transform:scale(1.05)}
.svc-body{flex:1;padding:clamp(22px,2.3vw,30px);display:flex;flex-direction:column;gap:11px}
.svc-body h3{font-size:clamp(1.24rem,1.8vw,1.55rem);line-height:1.22}
.svc-body p{font-size:15px;color:var(--muted)}
.svc-body .link-arrow{margin-top:auto;padding-top:8px}
/* the three panels: warm, charcoal, brand tint */
.svc-card.p-warm .svc-body{background:var(--surface)}
.svc-card.p-tint .svc-body{background:var(--red-tint)}
.svc-card.p-ink .svc-body{background:var(--ink)}
.svc-card.p-ink h3{color:#fff}
.svc-card.p-ink p{color:var(--muted-dark)}
/* on charcoal the brand red drops to 3.5:1, so type shifts to the soft red */
.svc-card.p-ink em.accent{color:#A4FBA6}
.svc-card.p-ink .link-arrow{color:#A4FBA6}
@media(prefers-reduced-motion:reduce){
  .svc-card,.svc-media img{transition:none}
  .svc-card:hover .svc-media img{transform:none}
}

/* ---------- CRM-style dashboard card (SDR hero) ----------
   Anatomy borrowed from Apollo's "Deals Stats" strip and HubSpot's
   label-over-number tiles: KPI + green delta, then a trend to prove direction. */
.proof-card.crm{padding:18px 20px 16px}
.crm-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
.crm-kpis .kpi{
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);
  border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:5px;
}
.crm-kpis .k-lab{font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.crm-kpis .k-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.crm-kpis .k-row b{font-size:1.15rem;font-weight:600;color:#fff;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.crm-kpis .k-up{font-size:10.5px;font-weight:600;color:var(--ok-on-dark);white-space:nowrap}
/* eight weeks, trending up: the last bar is the current one */
.crm-chart{display:flex;align-items:flex-end;gap:5px;height:42px;margin-bottom:12px}
.crm-chart span{
  flex:1;height:var(--h,50%);border-radius:4px 4px 2px 2px;
  background:linear-gradient(180deg,rgba(123,216,164,.85),rgba(123,216,164,.30));
  transform:scaleY(0);transform-origin:bottom;
  animation:barGrow .7s var(--ease-out) forwards;
}
.crm-chart span:nth-child(1){animation-delay:.55s}
.crm-chart span:nth-child(2){animation-delay:.62s}
.crm-chart span:nth-child(3){animation-delay:.69s}
.crm-chart span:nth-child(4){animation-delay:.76s}
.crm-chart span:nth-child(5){animation-delay:.83s}
.crm-chart span:nth-child(6){animation-delay:.90s}
.crm-chart span:nth-child(7){animation-delay:.97s}
.crm-chart span:nth-child(8){animation-delay:1.04s}
.crm-chart span.now{background:linear-gradient(180deg,#7BD8A4,rgba(123,216,164,.55))}
@keyframes barGrow{to{transform:scaleY(1)}}
@media(max-width:820px){
  .crm-kpis{grid-template-columns:1fr;gap:8px}
  .crm-kpis .k-row b{font-size:1.05rem}
  .crm-chart{height:34px}
}
@media(prefers-reduced-motion:reduce){
  .crm-chart span{transform:scaleY(1);animation:none}
}

/* ---------- article pages ---------- */
.art-head{padding-top:calc(72px + clamp(36px,4.5vw,64px));padding-bottom:clamp(20px,2.6vw,32px)}
.art-back{font-size:14px;margin-bottom:clamp(20px,2.4vw,30px)}
.art-back .arr{transition:transform .3s var(--ease)}
.art-back:hover .arr{transform:translateX(-4px)}
.art-head .cat{display:block;font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--red-dark);margin-bottom:14px}
.art-head h1{font-size:clamp(1.95rem,3.7vw,3rem);max-width:30ch}
.art-meta{margin-top:16px;font-size:14px;color:var(--muted)}

.article{max-width:68ch;margin-inline:auto;font-size:17.5px;line-height:1.75;color:var(--body)}
.article > * + *{margin-top:1.1em}
.article h2{font-size:clamp(1.3rem,2.1vw,1.65rem);margin-top:2em;letter-spacing:-.014em}
.article h3{font-size:clamp(1.06rem,1.6vw,1.24rem);margin-top:1.7em}
.article h2 + p,.article h3 + p{margin-top:.6em}
.article strong{color:var(--ink)}
.article a{color:var(--red-dark);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.article a:hover{text-decoration-thickness:2px}
.article ul,.article ol{padding-left:1.25em}
.article li + li{margin-top:.5em}
.article blockquote{
  margin-inline:0;padding:4px 0 4px 22px;border-left:3px solid var(--red);
  font-size:1.08em;color:var(--ink);
}
.article table{width:100%;border-collapse:collapse;font-size:15.5px;margin-top:.4em}
.article th,.article td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:top}
.article thead th{background:var(--surface);font-weight:600;color:var(--ink);white-space:nowrap}
.article tbody tr:last-child td{border-bottom:none}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:16px}
.table-scroll table{min-width:520px}
.table-scroll th:first-child,.table-scroll td:first-child{padding-left:20px}

.art-foot{max-width:68ch;margin:clamp(34px,4.5vw,52px) auto 0;padding-top:clamp(24px,3vw,32px);border-top:1px solid var(--line)}
@media(max-width:640px){
  .article{font-size:16.5px}
  .article table{font-size:14.5px}
}
.article blockquote ul{margin-top:0;padding-left:1.1em}
.article blockquote p{margin-bottom:.5em;font-weight:600}
.article blockquote li + li{margin-top:.45em}

/* a five-column comparison table does not fit the 68ch prose measure, so it
   breaks out to the full content width and only scrolls on small screens */
@media(min-width:900px){
  .article .table-scroll{
    position:relative;left:50%;transform:translateX(-50%);
    width:calc(100vw - 2 * clamp(20px,4vw,48px));
    max-width:1104px;
  }
  .article .table-scroll table{min-width:0}
  .article .table-scroll th,.article .table-scroll td{padding:14px 18px}
}

/* ---------- mini pipeline readout inside the SDR ribbon ----------
   Same language as the SDR hero dashboard, sized for a band: one KPI,
   one delta, one trend. Everything keys off .in-view so it plays on scroll. */
.ribbon{grid-template-columns:1.15fr .85fr}
.ribbon .btn-row{justify-content:flex-start;margin-top:24px}
.crm-mini{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);
  border-radius:18px;padding:20px 22px;position:relative;z-index:1;
}
.cm-head{display:flex;align-items:center;gap:9px;font-size:12.5px;font-weight:600;color:rgba(255,255,255,.78)}
.cm-dot{
  width:8px;height:8px;border-radius:50%;background:#F5C451;flex:none;
  animation:dotPulse 1.9s ease-in-out infinite;
}
.cm-live{
  margin-left:auto;font-size:10.5px;font-weight:600;letter-spacing:.04em;
  color:var(--ink);background:var(--orange);padding:3px 9px;border-radius:999px;
}
.cm-row{display:flex;align-items:baseline;gap:10px;margin:10px 0 16px;flex-wrap:wrap}
.cm-num{font-size:clamp(2rem,3.4vw,2.6rem);font-weight:600;color:#fff;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
.cm-up{font-size:12.5px;font-weight:600;color:var(--ok-on-dark)}
.cm-chart{display:flex;align-items:flex-end;gap:6px;height:54px}
.cm-chart span{
  flex:1;height:var(--h,50%);border-radius:5px 5px 2px 2px;
  background:linear-gradient(180deg,rgba(123,216,164,.8),rgba(123,216,164,.26));
  transform:scaleY(0);transform-origin:bottom;
  transition:transform .65s var(--ease-out);
  transition-delay:calc(var(--i,0) * 70ms);
}
.crm-mini.in-view .cm-chart span{transform:scaleY(1)}
.cm-chart span.now{background:linear-gradient(180deg,#7BD8A4,rgba(123,216,164,.5))}
.cm-foot{margin-top:14px;padding-top:12px;border-top:1px dashed rgba(255,255,255,.18);font-size:12px;color:rgba(255,255,255,.62)}
@media(max-width:820px){
  .ribbon{grid-template-columns:1fr}
  .crm-mini{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){
  .cm-dot{animation:none}
  .cm-chart span{transform:scaleY(1);transition:none}
}

/* ---------- trust badge above a hero headline ----------
   Lands first, then the tick strokes itself in: the only moving part, so it
   reads as a confirmation rather than decoration. */
.badge{
  display:inline-flex;align-items:center;gap:9px;
  padding:8px 16px 8px 11px;border-radius:999px;
  font-size:13px;font-weight:600;color:#fff;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.20);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  margin-bottom:clamp(18px,2.2vw,26px);
  opacity:0;transform:translateY(10px);
  animation:badgeIn .6s var(--ease-out) .1s forwards;
}
.badge-tick{width:18px;height:18px;flex:none;fill:none;stroke:var(--ok-on-dark);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.badge-tick circle{opacity:.5}
.badge-tick path{stroke-dasharray:20;stroke-dashoffset:20;animation:tickDraw .5s var(--ease-out) .6s forwards}
@keyframes badgeIn{to{opacity:1;transform:none}}
@keyframes tickDraw{to{stroke-dashoffset:0}}
/* light folds: the pill needs a real edge and darker type */
.hero-photo.light .badge,.hero-light .badge{
  color:var(--ink);background:var(--surface);border-color:var(--line);
}
.hero-photo.light .badge-tick,.hero-light .badge-tick{stroke:var(--ok-text)}
@media(prefers-reduced-motion:reduce){
  .badge{opacity:1;transform:none;animation:none}
  .badge-tick path{stroke-dashoffset:0;animation:none}
}

/* ============================================================
   Mobile corrections (kept last so nothing appended earlier
   can out-order them)
   ============================================================ */

/* Nothing may force a wider layout than the screen on a phone.
   `clip` rather than `hidden`: hidden on html/body makes iOS Safari create a
   scroll container, which can kill vertical scrolling and upset the fixed nav.
   The hidden line is only a fallback for browsers without clip support. */
html{overflow-x:hidden}
@supports (overflow-x:clip){html{overflow-x:clip}body{overflow-x:clip}}

@media(max-width:960px){
  /* The scrims are built for a side-by-side fold. Stacked, a left-to-right
     wash just bleaches the photo, so both variants fade from the bottom instead. */
  .hero-media .scrim.h,
  .hero-photo.light .scrim.h{background:none}
  .hero-media .scrim.v,
  .hero-photo.light .scrim.v{
    background:linear-gradient(to top,rgba(25,42,44,.55) 0%,rgba(25,42,44,.12) 26%,transparent 52%);
  }
  .hero-photo.light .scrim.v{
    background:linear-gradient(to top,rgba(255,255,255,.62) 0%,rgba(255,255,255,.14) 26%,transparent 52%);
  }

  /* the card is in normal flow here: let its text wrap rather than push the
     pill past the card edge */
  .hero-photo .proof-card.glass{
    position:relative;left:auto;right:auto;bottom:auto;
    width:min(420px,94%);margin:-44px auto 0;
  }
  .proof-card.glass .pr-name,
  .proof-card.glass .pr-role{white-space:normal;overflow:visible;text-overflow:clip}
  .proof-card.glass .proof-row{align-items:center}
  .proof-card.glass .pr-pill{flex:none}
  /* the footer line stacks rather than squeezing two ends onto one row */
  .proof-card.glass .proof-foot{flex-wrap:wrap;gap:4px 12px}
}

/* ---------- mobile: nothing may be sized by its own content ----------
   Grid and flex children default to min-width:auto, so a long candidate name or
   a pill refuses to shrink and pushes the whole card past the screen edge.
   Safari enforces that minimum more strictly than Chromium, which is why this
   shows on a phone but not in a desktop browser at the same width. */
@media(max-width:960px){
  .proof-card,.proof-card *,
  .crm-kpis,.crm-kpis *,
  .crm-mini,.crm-mini *,
  .proof-row,.proof-row *{min-width:0}

  /* the card takes its width from the parent, never from its contents */
  .hero-photo .proof-card.glass{width:auto;margin:-40px 14px 0}

  /* long strings break rather than widen the box */
  .proof-card .pr-name,.proof-card .pr-role,
  .proof-foot span,.proof-foot b,
  .cm-foot,.k-lab{overflow-wrap:anywhere}

  /* belt and braces on the media itself */
  .hero-media,.hero-media img,.proof-card.glass{max-width:100%}
}

/* ---------- mobile: insets come from the parent, not the children ----------
   Margins on a child can overflow if anything miscomputes its width, which is
   what was happening on iOS. Padding on the section cannot: a child with
   width:auto resolves against the padded content box. The local overflow clip
   is a hard stop so nothing in the fold can bleed off the page either way. */
@media(max-width:960px){
  .hero-photo{padding-inline:clamp(16px,4.5vw,28px);overflow-x:clip}
  .hero-photo > .wrap{padding-inline:0;max-width:100%}
  .hero-media{margin-inline:0;width:auto;max-width:100%}
  .hero-photo .proof-card.glass{margin-inline:10px;width:auto;max-width:calc(100% - 20px)}
}

/* ---------- client round 1 ---------- */

/* the main USP: "Top 1%" at display scale, the 1% in red, one accent only */
.usp{line-height:1.14}
.usp .usp-big{
  display:block;font-size:clamp(3.6rem,8vw,6.4rem);line-height:.95;
  font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-weight:400;
  letter-spacing:-.012em;margin-bottom:12px;
}
.usp .usp-pct{color:var(--red)}

/* tighter flow into the USP section: the default section gap read as dead air */
.section-snug{padding-block:clamp(44px,5.5vw,72px) clamp(56px,7vw,96px)}
.section-snug .section-head{margin-bottom:clamp(28px,3.5vw,44px)}
.logobar{padding-block:26px}

/* orange pill for a CTA sitting on charcoal, where red link text drowned */
.btn-orange{background:var(--orange);color:var(--ink)}
.btn-orange:hover{background:#BEFFC0;color:var(--ink);transform:translateY(-2px);box-shadow:none}

/* Top 1% tag: green plate, white type, tick draws itself in after the card
   lands (card settles ~1.2s; the draw starts just after). Specificity matches
   the glass/light overrides that set the default tag orange. */
.proof-card .pc-tag.ok,
.proof-card.glass .pc-tag.ok,
.proof-card.glass.light .pc-tag.ok{
  color:#fff;background:#0B6B3D;
  display:inline-flex;align-items:center;gap:6px;
}
.pc-tag.ok .tag-tick{width:12px;height:12px;flex:none;fill:none;stroke:#fff;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.pc-tag.ok .tag-tick path{stroke-dasharray:26;stroke-dashoffset:26;animation:tickDraw .5s var(--ease-out) 1.3s forwards}
@media(prefers-reduced-motion:reduce){
  .pc-tag.ok .tag-tick path{animation:none;stroke-dashoffset:0}
}

/* ---------- fold 1: cutout portrait with the shortlist card over him ---------- */
.hero-media.cutout{overflow:visible}
.hero-media.cutout .cut{
  position:absolute;right:6%;bottom:0;height:92%;width:auto;max-width:none;
  filter:drop-shadow(0 30px 40px rgba(25,42,44,.14));
}
/* the card sits across his folded arms, in front */
.hero-photo .hero-media.cutout ~ * .proof-card.glass,
.hero-media.cutout .proof-card.glass{left:18%;right:26%;bottom:20%}
@media(max-width:960px){
  /* stacked: the full cutout stands in flow above the card, overlapping it by
     a fixed 64px so his torso "rises out" of the graphic at every width and
     no dead air can open above him (the old absolute stage caused both). */
  /* block flow, not nested flex: flex was mis-sizing the container and the
     section clip then cut the card's bottom rows off */
  .hero-media.cutout{
    margin:4px 0 0;border-radius:0;min-height:0;display:block;height:auto;aspect-ratio:auto;
  }
  .hero-media.cutout .cut{
    aspect-ratio:auto;max-height:none;object-fit:contain;border-radius:0;
    position:relative;inset:auto;transform:none;
    display:block;width:min(62%,330px);height:auto;
    margin:0 7% -64px auto;
    z-index:0;
    filter:drop-shadow(0 16px 24px rgba(25,42,44,.14));
  }
  .hero-media.cutout .proof-card.glass{
    position:relative;inset:auto;margin:0;width:auto;max-width:none;z-index:2;
  }
}

/* ---------- mouse-reactive dot field behind the cutout ---------- */
.hero-media.cutout .dotfield{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.hero-media.cutout .cut{z-index:1}
.hero-media.cutout .proof-card.glass{
  z-index:2;
  /* a backdrop blur над an animating canvas re-blurs every frame; over this
     white fold plain translucent white looks the same and costs nothing */
  -webkit-backdrop-filter:none;backdrop-filter:none;
  background:linear-gradient(160deg,rgba(255,255,255,.94),rgba(255,255,255,.87));
}

/* ---------- duel table: segmented toggle below 820px ---------- */
.duel-toggle{display:none}
@media(max-width:820px){
  .duel-toggle{
    display:flex;gap:0;margin-bottom:14px;
    background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:4px;
  }
  .duel-toggle button{
    flex:1;padding:10px 14px;border-radius:999px;
    font-size:14px;font-weight:600;color:var(--muted);
    transition:background .25s var(--ease),color .25s var(--ease);
  }
  .duel-toggle button[aria-pressed="true"]{background:var(--ink);color:#fff}
  /* one column at a time: no horizontal scroll */
  .duel-scroll{overflow:visible;border-radius:var(--radius-lg)}
  .duel{min-width:0}
  .duel-head{display:none}
  .duel-row{grid-template-columns:1.05fr 1fr}
  .duel.show-b .duel-row>div:nth-child(2){display:none}
  .duel.show-a .duel-row>div:nth-child(3){display:none}
  .duel.show-a .duel-row>div:last-child{background:none;font-weight:400;color:var(--muted)}
}

/* ---------- EOR compare: one provider at a time below 820px ---------- */
@media(max-width:820px){
  .compare-toggle button{font-size:13px;padding:9px 8px}
  .compare-scroll{overflow:visible}
  .compare{min-width:0}
  .compare thead{display:none}
  .compare tbody th{position:static;box-shadow:none;width:42%}
  .compare.show-1 td:nth-of-type(2),.compare.show-1 td:nth-of-type(3),
  .compare.show-2 td:nth-of-type(1),.compare.show-2 td:nth-of-type(3),
  .compare.show-3 td:nth-of-type(1),.compare.show-3 td:nth-of-type(2){display:none}
  .compare td{width:auto}
  /* competitor columns read neutral when shown alone */
  .compare.show-2 .col-us,.compare.show-3 .col-us{background:none}
}

/* ---------- salary thermometer (recruitment) ---------- */
.salary-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(32px,5vw,72px);align-items:center}
.salary-grid .lede{margin-top:14px}
.salary-note{margin-top:22px;font-size:13.5px;color:var(--muted);line-height:1.55;max-width:46ch}
.ast{color:var(--red);font-weight:600}
.salary-note .ast{margin-right:4px}
.therm-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(22px,3vw,34px);box-shadow:var(--shadow-card)}
.seg{display:flex;gap:0;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:4px}
.seg button{flex:1;padding:10px 14px;border-radius:999px;font-size:14px;font-weight:600;color:var(--muted);transition:background .25s var(--ease),color .25s var(--ease)}
.seg button[aria-pressed="true"]{background:var(--ink);color:#fff}
.therm-body{display:grid;grid-template-columns:auto auto 1fr;gap:clamp(18px,3vw,36px);align-items:stretch;margin-top:clamp(22px,3vw,32px)}
.therm{display:flex;flex-direction:column;align-items:center;padding-top:6px}
.therm-tube{width:22px;flex:1;min-height:180px;border-radius:999px;background:var(--surface);border:1px solid var(--line);position:relative;overflow:hidden}
.therm-fill{position:absolute;left:0;right:0;bottom:-2px;height:34%;border-radius:999px 999px 0 0;
  background:linear-gradient(to top,var(--red) 0%,var(--orange) 100%);transition:height .7s var(--ease)}
.therm-fill::after{content:"";position:absolute;inset:0 auto 0 4px;width:5px;border-radius:999px;background:rgba(255,255,255,.35)}
.therm-bulb{width:42px;height:42px;border-radius:50%;background:var(--red);margin-top:-10px;position:relative;z-index:1;
  box-shadow:0 0 0 6px var(--red-tint);transition:transform .5s var(--ease)}
.therm-card.hot .therm-bulb{transform:scale(1.08)}
.therm-levels{display:flex;flex-direction:column;justify-content:center;gap:10px}
.therm-levels button{text-align:left;padding:12px 16px;border-radius:14px;border:1px solid var(--line);background:var(--paper);
  font-size:14px;font-weight:600;color:var(--muted);line-height:1.2;min-width:150px;transition:border-color .25s var(--ease),background .25s var(--ease),color .25s var(--ease)}
.therm-levels button small{display:block;font-weight:400;font-size:12px;margin-top:3px;color:var(--muted)}
.therm-levels button:hover{border-color:var(--muted-dark)}
.therm-levels button:focus-visible,.seg button:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.therm-levels button[aria-pressed="true"]{border-color:var(--red);background:var(--red-tint);color:var(--ink)}
.therm-out{display:flex;flex-direction:column;justify-content:center;border-left:1px solid var(--line);padding-left:clamp(18px,3vw,36px)}
.therm-out .role-name{font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.therm-out .price{font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:clamp(2.3rem,4.2vw,3.5rem);line-height:1.05;color:var(--ink);margin-top:8px;letter-spacing:-.01em}
.therm-out .price b{font-weight:400;color:var(--red)}
.therm-out .usd{margin-top:10px;font-size:15px;color:var(--body)}
.therm-out .usd b{font-weight:600;color:var(--ink)}
.therm-out .per{margin-top:6px;font-size:14px;color:var(--muted)}
.therm-out .band{display:inline-flex;align-items:center;gap:8px;margin-top:18px;font-size:13px;color:var(--body)}
.therm-out .band i{width:10px;height:10px;border-radius:50%;background:var(--orange);display:inline-block}
@media(max-width:960px){.salary-grid{grid-template-columns:1fr;gap:28px}}
@media(max-width:640px){
  .therm-body{grid-template-columns:auto 1fr}
  .therm-out{grid-column:1/-1;border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:18px}
  .therm-levels button{min-width:0}
  .seg button{padding:9px 8px;font-size:13px}
}


/* ---------- Master Bizz nav wordmark: PNG mark + type ---------- */
.nav-logo{display:inline-flex;align-items:center}
.nav-logo img{height:30px;width:auto;display:block}
footer .nav-logo img{height:28px}
@media(max-width:520px){.nav-logo img{height:26px}}
/* ---------- report card (hero visual) ---------- */
.proof-card.report{width:min(440px,100%)}
.proof-card.report .pc-rows{display:flex;flex-direction:column;gap:12px}
.rep-row{display:grid;grid-template-columns:128px 1fr auto;align-items:center;gap:12px;font-size:13.5px}
.rep-row .lbl{color:var(--muted)}
.rep-row .bar{height:10px;border-radius:999px;background:var(--surface);overflow:hidden;position:relative}
.rep-row .bar i{position:absolute;inset:0 auto 0 0;width:0;border-radius:999px;background:var(--green);transition:width 1.2s var(--ease)}
.rep-row.warn .bar i{background:var(--amber)}
.rep-row .val{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;min-width:52px;text-align:right}
/* a card whose labels run long ("Management accounting") and whose values are short words */
.rep-wide .rep-row{grid-template-columns:156px 1fr auto}
.rep-wide .rep-row .val{min-width:0}
.in-view .rep-row .bar i{width:var(--w)}
.rep-total{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;margin-top:4px;font-size:14px}
.rep-total b{color:var(--green);font-weight:600}
.pc-sub{font-size:12.5px;color:var(--muted)}
/* dark hero variant keeps the card white */
.hero.bg-dark .proof-card.report{background:var(--paper);color:var(--ink)}
/* ---------- credential badges ---------- */
.badges{display:flex;gap:18px;flex-wrap:wrap;align-items:center}
.badges img{width:92px;height:92px}
/* ---------- two-path chooser (new vs existing business) ---------- */
.paths{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media(max-width:820px){.paths{grid-template-columns:1fr}}
.path{padding:clamp(24px,3vw,36px);display:flex;flex-direction:column;gap:14px}
.path .tag{font-size:12.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--green)}
.path h3{font-size:clamp(1.35rem,2vw,1.7rem)}
.path ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;color:var(--body);font-size:15px}
.path ul li{padding-left:22px;position:relative}
.path ul li::before{content:"";position:absolute;left:0;top:9px;width:10px;height:10px;border-radius:50%;background:var(--green-tint);box-shadow:inset 0 0 0 2px var(--green)}
/* ---------- FAQ schema-friendly answer lists ---------- */
.answer-first{font-size:1.05rem;color:var(--ink);font-weight:500;max-width:70ch}
/* NAP block on contact */
.nap{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:820px){.nap{grid-template-columns:1fr}}
.nap .card{padding:26px}
.nap .card b{display:block;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;font-weight:600}
.nap .card a{color:var(--green-dark);font-weight:600}

/* ---------- Master Bizz: photo-free hero panel. Report card centred, particle field behind ---------- */
.hero-media.panel{display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:0 0 0 var(--radius-lg)}
.hero-media.panel .dotfield{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.hero-media.panel .proof-card{position:relative;inset:auto;margin:0;z-index:1;max-width:min(440px,86%)}
.hero.bg-dark .hero-media.panel .proof-card.glass.light{background:rgba(255,255,255,.96);color:var(--ink)}
@media(max-width:960px){
  .hero-media.panel{width:auto;margin:8px 0 0;aspect-ratio:auto;min-height:0;padding:28px clamp(16px,4vw,28px);border-radius:var(--radius-lg)}
  .hero-media.panel .proof-card{max-width:440px;width:100%}
  .hero-media.panel{aspect-ratio:auto}
}

/* nav: wordmark never touches the links */
.nav-inner>.nav-logo{flex:none;width:auto;min-width:0;margin-right:8px}
.nav-inner>nav{margin-inline:auto}

/* nav density: six links plus two buttons need more room than Sellsius's five */
@media(max-width:1380px){.nav-cta .btn-ghost{display:none}}
@media(max-width:1240px){.nav-links{gap:22px}.nav-links a{font-size:14.5px}}
@media(max-width:1120px){
  .nav-links{display:none}
  .nav-cta{display:none}
  .nav-burger{display:flex}
}

/* accent italics and light marks on dark ground use the brand light green */
.bg-dark .accent,.bg-dark em.accent,.cta-band .accent,.hero.bg-dark .accent{color:#A4FBA6}
.bg-dark .stat .num .red,.bg-dark .usp-pct{color:#A4FBA6}

/* ---------- dotted first fold: grid spans the whole hero; tint fades right to left ---------- */
.hero.dotted{position:relative;isolation:isolate;background:linear-gradient(90deg,#fff 28%,var(--green-tint) 100%)}
.hero.dotted.bg-dark{background:linear-gradient(90deg,var(--ink) 30%,#1A3A2E 100%)}
.hero.dotted>.dotfield{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.hero.dotted .wrap{position:relative;z-index:1}
.hero.dotted .hero-media{z-index:1}
.hero.dotted .hero-media.panel{background:none !important;border-radius:0}
.hero.dotted .hero-media.panel .dotfield{display:none}

/* lead form extras carried over from the current site */
.field input[type="file"]{padding:12px 14px;font-size:14px;color:var(--muted);background:var(--surface);border:1px dashed var(--line);border-radius:12px;width:100%}
.field .hint{display:block;font-size:12.5px;color:var(--muted);margin-top:6px}
.form-grid .privacy{font-size:12.5px;color:var(--muted);margin:0;text-align:center}
.review-ask{margin-top:22px;text-align:center;font-size:14.5px;color:var(--muted)}
.quote .chip-row{margin-top:-6px}

/* ---------- services dropdown ---------- */
.nav-dd{position:relative}
.nav-dd-btn{display:inline-flex;align-items:center;gap:5px;font-size:15px;font-weight:500;color:var(--ink);padding-block:6px;position:relative;white-space:nowrap;background:none;border:0;cursor:pointer;font-family:inherit}
.nav-dd-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--ease)}
.nav-dd-btn::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background:var(--green);border-radius:2px;transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)}
.nav-dd:hover .nav-dd-btn::after,.nav-dd-btn[aria-expanded="true"]::after,.nav-dd-btn[aria-current="page"]::after{transform:scaleX(1)}
.nav-dd-btn[aria-current="page"]{color:var(--green);font-weight:600}
.nav-dd:hover .nav-dd-btn svg,.nav-dd-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.nav-dd-menu{position:fixed;top:72px;left:0;right:0;margin:0;padding:0;list-style:none;background:var(--paper);border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:0 30px 60px -30px rgb(15 36 25 / .25);
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s var(--ease),transform .2s var(--ease),visibility 0s linear .2s;z-index:300}
.nav-dd-menu::before{content:"";position:absolute;inset:-14px 0 auto 0;height:14px}
.nav-dd:hover .nav-dd-menu,.nav-dd:focus-within .nav-dd-menu,.nav-dd-btn[aria-expanded="true"]+.nav-dd-menu{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.nav-dd-menu a{display:block;padding:18px 16px 20px;border-radius:16px;color:var(--ink);line-height:1.3;transition:background .2s var(--ease)}
.nav-dd-menu a:hover,.nav-dd-menu a:focus-visible{background:var(--surface)}
.nav-dd-menu a b{display:block;font-weight:600;font-size:15.5px;letter-spacing:-.01em}
.nav-dd-menu a span{display:block;font-size:13.5px;color:var(--muted);margin-top:5px;line-height:1.45}
.nav.scrolled .nav-dd-menu,.nav-dd-menu{backdrop-filter:none}
/* five top links plus a dropdown fit wider than six links did */
@media(max-width:1120px){.nav-links{display:flex}.nav-cta{display:flex}.nav-burger{display:none}}
@media(max-width:1000px){.nav-links,.nav-cta{display:none}.nav-burger{display:flex}}

/* ---------- mobile menu: light card under the header, accordion for services ---------- */
.mobile-menu{background:rgba(15,36,25,.42);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:block;padding:84px 12px 12px;overflow-y:auto}
.mobile-menu .mm-card{background:var(--paper);color:var(--ink);border-radius:24px;padding:10px 12px 12px;width:100%;max-width:560px;margin-inline:auto;box-shadow:var(--shadow-pop);transform:translateY(-10px);transition:transform .35s var(--ease)}
.mobile-menu.open .mm-card{transform:none}
.mobile-menu .mm-card>ul{gap:0}
.mobile-menu .mm-card>ul>li{opacity:1;transform:none;border-bottom:1px solid var(--line)}
.mobile-menu .mm-card>ul>li:last-child{border-bottom:0}
.mobile-menu a.mlink,.mobile-menu .mm-acc-btn{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:1.25rem;font-weight:500;letter-spacing:-.01em;color:var(--ink);padding:18px 12px;background:none;border:0;font-family:inherit;text-align:left;cursor:pointer}
.mobile-menu a.mlink[aria-current="page"]{color:var(--green);font-weight:600}
.mobile-menu .mm-acc-btn svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease)}
.mobile-menu .mm-acc-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.mobile-menu .mm-acc-panel{list-style:none;margin:0;padding:0;display:block;max-height:0;overflow:hidden;transition:max-height .35s var(--ease),padding .35s var(--ease)}
.mobile-menu .mm-acc-btn[aria-expanded="true"]+.mm-acc-panel{max-height:420px;padding-bottom:8px}
.mobile-menu .mm-acc-panel>li{opacity:1;transform:none;transition:none}
.mobile-menu .mm-acc-panel a.mlink.sub{font-size:1.02rem;font-weight:500;color:var(--body);padding:11px 12px 11px 30px;position:relative}
.mobile-menu .mm-acc-panel a.mlink.sub::before{content:"";position:absolute;left:13px;top:50%;width:6px;height:6px;border-radius:50%;background:var(--green-tint);box-shadow:inset 0 0 0 1.5px var(--green);transform:translateY(-50%)}
.mobile-menu .mm-cta{display:flex;justify-content:center;width:100%;margin-top:10px}
.mobile-menu .mm-foot{display:flex;justify-content:space-between;gap:12px;margin-top:8px;padding:14px 12px 4px;border-top:1px solid var(--line);font-size:14.5px}
.mobile-menu .mm-foot a{color:var(--muted);font-weight:500}
.nav .nav-burger{z-index:320}

/* header stays visible and solid above the dimmed backdrop while the mobile menu is open */
html.menu-open .nav{z-index:310;background:var(--paper);border-bottom-color:var(--line)}
html.menu-open .nav .nav-logo img{filter:none}
/* the X stays ink on the white header while the card menu is open */
html.menu-open .nav-burger span{background:var(--ink)}

/* consulting band: single column, button sits under the copy in the brand light green */
.ribbon.warm{display:block;padding:clamp(28px,4vw,48px)}
.ribbon.warm p{max-width:68ch}
.ribbon.warm .btn-row{justify-content:flex-start;margin-top:26px}
.btn-light{background:#A4FBA6;color:var(--ink);box-shadow:none}
.btn-light:hover{background:#BEFFC0;color:var(--ink);transform:translateY(-2px)}

/* nav items share one baseline: the Services button takes the links' metrics exactly */
.nav-links{align-items:center}
.nav-links>li{display:flex;align-items:center}
.nav-dd-btn{line-height:inherit;padding:6px 0;margin:0;vertical-align:baseline;letter-spacing:inherit}
.nav-dd-btn svg{margin-top:1px}

/* ---------- full-width services panel ---------- */
.nav-dd{position:static}
.nav-dd-menu .dd-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;height:auto;padding-block:18px 22px}
.nav-dd-menu .dd-grid>li{display:block}
.nav-dd-menu .dd-ico{display:flex;width:40px;height:40px;border-radius:12px;background:var(--green-tint);align-items:center;justify-content:center;margin-bottom:14px}
.nav-dd-menu .dd-ico svg{width:22px;height:22px;stroke:var(--green);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-dd-menu::before{display:none}
/* coolicons: every inline icon shares one stroke treatment */
.card .icon svg,.contact-side .item .icon svg{stroke-width:1.8}
.nav-dd-btn svg,.chev svg,.mm-acc-btn svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.faq .chev svg{width:16px;height:16px;stroke-width:2.2}
@media(max-width:1240px){.nav-dd-menu .dd-grid{grid-template-columns:repeat(2,1fr)}}
/* tiles are inside .nav-links: undo the top-link rules that leak into them */
.nav-dd-menu .dd-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.nav-dd-menu a{white-space:normal;font-size:inherit;font-weight:400;padding:18px 16px 20px;position:static}
.nav-dd-menu a::after{display:none}
.nav-dd-menu a[aria-current="page"]{color:var(--ink)}
@media(max-width:1240px){.nav-dd-menu .dd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* file input: native button restyled as a small light-green pill */
.field input[type="file"]::file-selector-button{font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);background:#A4FBA6;border:0;border-radius:999px;padding:8px 14px;margin-right:12px;cursor:pointer;transition:background .2s var(--ease)}
.field input[type="file"]::file-selector-button:hover{background:#BEFFC0}
.field input[type="file"]{padding:8px 10px;color:var(--muted);border:1px solid var(--line);background:var(--paper)}
.field input[type="file"]:focus-visible{outline:2px solid var(--green);outline-offset:2px}
/* the sample "attention" bar reads as light green on the white card */
.rep-row.warn .bar i{background:#A4FBA6}

/* ---------- people: a photograph beside the words ----------
   Owners in their own businesses, never stand-ins for the MasterBizz team.
   Graded a touch toward the green system so the photos sit in the palette. */
.photo-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(24px,4.5vw,64px);align-items:center;margin-bottom:clamp(26px,3.2vw,40px)}
.photo-split .section-head{margin-bottom:0}
.photo-split.flip .photo{order:2}
.photo{margin:0;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:5/4;background:var(--line)}
.photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.86) contrast(1.03)}
.contact-photo{margin-top:24px;aspect-ratio:16/9}
@media(max-width:820px){
  .photo-split{grid-template-columns:1fr;gap:22px}
  .photo-split.flip .photo{order:0}
  .photo{aspect-ratio:16/10}
}

/* ---------- home hero: a photo card with the report over it ----------
   The owners on the right, the sample report hanging off the photo's lower
   corner, the certification chip on its top edge. The box is the photo's
   frame; card and chip are placed against it, so they follow it at any width. */
.hero-media.panel.stage{display:block;overflow:visible;pointer-events:none}
.hero-media.stage .hero-box{
  /* right edge on the page gutter, like the copy on the left; never into the copy column */
  position:absolute;right:clamp(20px,(100vw - 1104px) / 2,400px);top:clamp(88px,13vh,150px);bottom:clamp(72px,10vh,120px);
  width:min(46%,560px);
}
.hero-media.stage .hero-shot{position:absolute;inset:0;margin:0;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-pop);background:var(--line)}
.hero-media.stage .hero-shot img{width:100%;height:100%;object-fit:cover;object-position:80% 22%;filter:saturate(.88) contrast(1.03)}
.hero-media.stage .proof-card{
  position:absolute;left:-16%;right:auto;bottom:-7%;z-index:2;
  width:min(400px,86%);max-width:none;margin:0;padding:22px;
  background:#fff;color:var(--body);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);
  box-shadow:var(--shadow-pop);pointer-events:auto;
}
.hero-media.stage .proof-card .pc-title,.hero-media.stage .proof-card .rep-row .val{color:var(--ink)}
.hero-media.stage .hero-chip{
  position:absolute;left:-10%;top:-26px;z-index:2;
  display:flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;
  background:#fff;border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow-pop);
  font-size:12.5px;line-height:1.25;color:var(--muted);white-space:nowrap;
}
.hero-media.stage .hero-chip img{width:34px;height:34px}
.hero-media.stage .hero-chip b{display:block;color:var(--ink);font-weight:600;font-size:13px}
@media(max-width:1180px){.hero-media.stage .hero-box{width:min(52%,560px)}.hero-media.stage .proof-card{width:min(360px,90%)}}
@media(max-width:960px){
  /* stacked: photo in flow, the report card overlapping its base, chip tucked in the corner */
  /* the hero's own padding is the gutter, so the photo lines up with the headline above it */
  .hero-media.panel.stage{position:relative;width:auto;margin:8px 0 0;padding:0;min-height:0}
  .hero-media.stage .hero-box{position:relative;inset:auto;width:auto}
  .hero-media.stage .hero-shot{position:relative;inset:auto;aspect-ratio:16/10;max-height:min(46vh,360px)}
  .hero-media.stage .proof-card{position:relative;inset:auto;width:min(440px,94%);margin:-44px auto 0}
  .hero-media.stage .hero-chip{left:12px;top:12px}
}
/* services: a wide photo above the three cards */
.band-photo{aspect-ratio:21/8;margin-bottom:clamp(26px,3.2vw,40px)}
.band-photo img{object-position:50% 28%}
@media(max-width:820px){.band-photo{aspect-ratio:16/10}}

/* who we work with (Meir's customer profiles, 6 Oct 2026) */
.industries .path .icon{margin-bottom:2px}
.industries-more{margin-top:28px;font-size:16.5px;color:var(--body);display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline}

/* blog photos (6 Oct 2026) */
.post .cover.has-photo{padding:0}
.post .cover.has-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease-out, ease)}
.post:hover .cover.has-photo img{transform:scale(1.03)}
.art-photo{max-width:900px;margin:0 auto clamp(28px,4vw,48px)}
.art-photo img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
@media (prefers-reduced-motion: reduce){.post .cover.has-photo img{transition:none}}

/* who we work with: industry explorer (tabs + a sample report per industry; manufacturing is a live landed-cost calculator) */
.ix{margin-top:4px}
.ix-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.ix-tab{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:var(--radius);border:1px solid var(--line);background:var(--paper);
  text-align:left;cursor:pointer;font:inherit;color:var(--ink);transition:background .25s var(--ease),border-color .25s var(--ease),color .25s var(--ease),transform .25s var(--ease)}
.ix-tab svg{width:28px;height:28px;flex:none;fill:none;stroke:var(--green);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:stroke .25s var(--ease)}
.ix-tab b{display:block;font-weight:600;font-size:16px;letter-spacing:-.01em}
.ix-tab small{display:block;margin-top:2px;color:var(--muted);font-size:13px;transition:color .25s var(--ease)}
.ix-tab:hover{border-color:var(--slate);transform:translateY(-1px)}
.ix-tab[aria-selected="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.ix-tab[aria-selected="true"] svg{stroke:var(--mint)}
.ix-tab[aria-selected="true"] small{color:var(--muted-dark)}
.ix-tab:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.ix-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(24px,4vw,56px);align-items:center;
  background:var(--surface);border-radius:var(--radius-lg);padding:clamp(22px,4vw,48px)}
.ix-panel[hidden]{display:none}
.ix-panel:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.ix-panel.enter{animation:ixIn .45s var(--ease-out) both}
@keyframes ixIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.ix-copy h3{font-size:clamp(1.45rem,2.3vw,1.95rem);line-height:1.15;letter-spacing:-.02em;margin-bottom:12px}
.ix-copy p{color:var(--muted);font-size:16px}
.ix-copy ul{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:9px;color:var(--body);font-size:15px}
.ix-copy li{position:relative;padding-left:22px}
.ix-copy li::before{content:"";position:absolute;left:0;top:7px;width:10px;height:10px;border-radius:50%;background:var(--green-tint);box-shadow:inset 0 0 0 2px var(--green)}
.ix-try{margin-top:18px;font-size:14.5px;color:var(--green);font-weight:600}
.ix-report{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow-card)}
.ix-report .pc-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}
.ix-report .pc-title{font-size:14px;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.ix-report .pc-rows{display:flex;flex-direction:column;gap:12px}
.ix-report .pc-sub{font-size:12px;color:var(--muted)}
.ix-panel.on .rep-row .bar i{width:var(--w)}
.ix-note{margin-top:14px;font-size:13px;line-height:1.5;color:var(--muted)}
.ix-margin{border-top:0;padding-top:4px;margin-top:0}
.ix-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.ix-f{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;font-size:12px;color:var(--muted);min-width:0}
.ix-f:last-child{grid-column:1 / -1}
.ix-in{display:flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:10px;padding:0 10px;background:var(--surface);transition:border-color .2s var(--ease),background .2s var(--ease)}
.ix-in:focus-within{border-color:var(--green);background:var(--paper)}
.ix-in i{font-style:normal;color:var(--muted);font-size:14px}
.ix-in input{flex:1;width:0;min-width:0;border:0;background:transparent;font:inherit;font-size:15px;font-weight:600;color:var(--ink);padding:9px 0;font-variant-numeric:tabular-nums;outline:none;-moz-appearance:textfield;appearance:textfield}
.ix-in input::-webkit-outer-spin-button,.ix-in input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ix-calc .rep-row .bar i{transition:width .5s var(--ease)}
.ix-calc [data-v="margin"].neg{color:#B42318}
@media(max-width:860px){
  .ix-panel{grid-template-columns:1fr}
  .ix-tabs{gap:8px}
  .ix-tab{flex-direction:column;align-items:flex-start;gap:8px;padding:12px}
  .ix-tab b{font-size:14px;line-height:1.2}
  .ix-tab small{display:none}
}
@media(max-width:420px){.ix-fields{grid-template-columns:1fr}.ix-f:last-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.ix-panel.enter{animation:none}.ix-tab{transition:none}}

/* phones: the hero photo stays visible above its report card */
@media(max-width:960px){
  .hero-media.stage .hero-shot{aspect-ratio:4/3;max-height:none}
  .hero-media.stage .proof-card{margin-top:-28px}
}
/* phones: long stacks become swipe rows that peek at the next card */
@media(max-width:820px){
  .snap-row{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:84%;gap:14px;
    overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:clamp(20px,4vw,48px);
    margin-inline:calc(-1 * clamp(20px,4vw,48px));padding:4px clamp(20px,4vw,48px) 14px;scrollbar-width:none}
  .snap-row::-webkit-scrollbar{display:none}
  .snap-row > *{scroll-snap-align:start;min-width:0}
  .snap-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
  .quote-grid.snap-row{grid-auto-columns:88%}
  .snap-row .quote blockquote{display:-webkit-box;-webkit-line-clamp:9;-webkit-box-orient:vertical;overflow:hidden}
}
/* phones: a slim action bar once the hero has scrolled away */
.m-bar{display:none}
@media(max-width:820px){
  .m-bar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:60;display:grid;grid-template-columns:auto auto 1fr;gap:8px;
    padding:8px;border-radius:999px;background:rgba(15,36,25,.94);box-shadow:0 18px 40px -12px rgb(15 36 25 / .45);
    transform:translateY(140%);transition:transform .35s var(--ease-out);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
  .m-bar.show{transform:none}
  .m-bar a{display:flex;align-items:center;justify-content:center;gap:8px;height:46px;border-radius:999px;font-size:14.5px;font-weight:600;color:#fff;text-decoration:none;padding:0 16px}
  .m-bar a svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .m-bar .mb-icon{width:46px;padding:0;background:rgba(255,255,255,.10)}
  .m-bar .mb-go{background:var(--mint);color:var(--ink)}
  .m-bar a:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
}
@media(max-width:820px) and (prefers-reduced-motion:reduce){.m-bar{transition:none}}
.ix-report .pc-tag{display:inline-flex;align-items:center;gap:6px;flex:none;font-size:11.5px;font-weight:600;padding:5px 11px;border-radius:999px;color:#fff;background:var(--green)}
.ix-report .pc-tag .tag-tick{width:12px;height:12px;flex:none;fill:none;stroke:#fff;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.ix-report .pc-tag .tag-tick path{stroke-dasharray:none;stroke-dashoffset:0;animation:none}

/* example cards floating on photos: what the client's own report would show (tagged "Example") */
.photo.has-card{position:relative}
.img-card{position:absolute;left:clamp(12px,2vw,22px);bottom:clamp(12px,2vw,22px);z-index:2;width:min(320px,calc(100% - 24px));
  background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.8);border-radius:18px;padding:14px 16px 12px;
  box-shadow:0 18px 40px -14px rgb(15 36 25 / .38);opacity:0;transform:translateY(14px);
  transition:opacity .6s var(--ease-out) .35s,transform .6s var(--ease-out) .35s}
.photo.in-view .img-card{opacity:1;transform:none}
.ic-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
.ic-ind{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--green)}
.ic-ind svg{width:15px;height:15px;fill:none;stroke:var(--green);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ic-tag{font-size:10.5px;font-weight:600;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:2px 8px}
.ic-h{margin:0 0 4px;font-size:15px;font-weight:600;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.ic-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:7px;padding-top:7px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.ic-row b{flex:none;color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.ic-row b.flag{background:var(--mint);color:var(--ink);padding:1px 8px;border-radius:999px}
.band-photo .img-card{width:min(340px,calc(100% - 24px))}
@media(max-width:640px){.img-card{padding:12px 13px 10px;border-radius:16px}.ic-h{font-size:14px}.ic-row{font-size:12px}}
@media(prefers-reduced-motion:reduce){.img-card{opacity:1;transform:none;transition:none}}
@media(max-width:820px){
  /* phones and small tablets: the card hangs below the photo instead of covering the people in it */
  .photo.has-card{aspect-ratio:auto;overflow:visible;border-radius:0;background:none}
  .photo.has-card img{display:block;aspect-ratio:5/4;border-radius:var(--radius-lg);background:var(--line)}
  .band-photo.has-card img{aspect-ratio:16/10}
  .photo.has-card .img-card{position:relative;left:auto;bottom:auto;width:auto;max-width:440px;margin:-34px 14px 0}
}

/* glass treatment for the example cards: frosted, lifts slightly on hover (static after it lands, so the blur never repaints on scroll) */
.photo.has-card .img-card{background:rgba(255,255,255,.58);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);
  border:1px solid rgba(255,255,255,.6);box-shadow:0 24px 50px -18px rgb(15 36 25 / .45),inset 0 1px 0 rgba(255,255,255,.7)}
.photo.has-card .ic-row{border-top-color:rgba(15,36,25,.12)}
.photo.has-card .ic-tag{border-color:rgba(15,36,25,.16);background:rgba(255,255,255,.5)}
@media(hover:hover){.photo.in-view .img-card{transition:opacity .6s var(--ease-out) .35s,transform .45s var(--ease-out)}.photo.has-card:hover .img-card{transform:translateY(-4px)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.photo.has-card .img-card{background:rgba(255,255,255,.94)}}
@media(max-width:820px){.photo.has-card .img-card{background:rgba(255,255,255,.72)}}
.photo.has-card .img-card{background:rgba(255,255,255,.7)}
.photo.has-card .ic-row{color:var(--body)}
@media(max-width:820px){.photo.has-card .img-card{background:rgba(255,255,255,.8)}}
