/* components part 3 of 11 — split for the host's 16KB FTP ceiling.
   Generated by split_for_ftp.py; edit the prototype, not this. */


/* WHAT IS */
/* Image column runs to the viewport edge; the copy column keeps --gut.
   The bleed sits on the ROW (a direct child of .wrap) — never on the media,
   where 50% would resolve against the grid column instead of the page. */
.whatis-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,5.5vw,80px);align-items:stretch;width:var(--bleed);max-width:none;margin-left:calc(50% - var(--bleed)/2);padding-left:var(--edge)}
.whatis-grid+.whatis-grid{margin-top:clamp(40px,5vw,66px)}
.whatis-grid.rev{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-left:0;padding-right:var(--edge)}
.whatis-copy{align-self:center;max-width:var(--measure);min-width:0}
.whatis-copy .lead{font-size:20px;color:var(--ink);font-weight:600;line-height:1.5;letter-spacing:-0.01em;margin-bottom:20px}
.whatis-copy p{color:var(--body);line-height:1.66;font-size:16.5px;margin-bottom:16px}
.whatis-copy h3{font-size:19px;font-weight:700;letter-spacing:-0.015em;margin:26px 0 8px}
.whatis-media{position:relative;border-radius:0;overflow:hidden;min-height:clamp(320px,32vw,480px)}
/* A/B: rounded INNER corners only. The edge that touches the viewport stays square —
   rounding that side would read as a rendering fault rather than a design choice. */
/* Justified body copy A/B. Never justify without hyphens:auto — unhyphenated
   justification stretches word spacing and opens vertical rivers, which is why the
   default here stays ragged-right. Headings are left out entirely. */
body.just .whatis-copy p,body.just .b-txt p,body.just .case-copy p,body.just .hero-sub,
body.just .craft-col p,body.just .mini.svc p{text-align:justify;hyphens:auto;-webkit-hyphens:auto;text-wrap:pretty}@media(max-width:700px){body.just .whatis-copy p,body.just .b-txt p,body.just .case-copy p,
body.just .hero-sub,body.just .craft-col p,body.just .mini.svc p{text-align:left}}
body.inner-round .whatis-grid .whatis-media{border-radius:0 14px 14px 0}
body.inner-round .whatis-grid.rev .whatis-media{border-radius:14px 0 0 14px}
body.inner-round .band-1 .b-img,body.inner-round .band-2 .b-img{border-radius:0 14px 14px 0}
body.inner-round .hero-media img.hero-img,body.inner-round .hero-media video.hero-img{border-radius:14px 0 0 14px}@media(max-width:860px){body.inner-round .whatis-grid .whatis-media,body.inner-round .whatis-grid.rev .whatis-media,body.inner-round .band-1 .b-img,body.inner-round .band-2 .b-img,body.inner-round .hero-media img.hero-img,body.inner-round .hero-media video.hero-img{border-radius:0}}
.whatis-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}@media(max-width:820px){.whatis-media{min-height:0;aspect-ratio:4/3}.whatis-media img{position:static;height:auto}.whatis-grid.rev .whatis-copy{order:-1}}
.whatis-quote{background:var(--grey);border-left:3px solid var(--accent);border-radius:0 10px 10px 0;padding:22px 26px;margin:22px 0;font-size:17px;line-height:1.6;color:var(--ink);font-weight:500;font-style:normal}
.whatis-wide{width:100%;border-radius:6px;aspect-ratio:21/9;object-fit:cover;margin:clamp(40px,5vw,60px) 0 0}
.whatis-copy .inline-img{width:100%;border-radius:6px;aspect-ratio:16/10;object-fit:cover;margin:26px 0 4px}
.whatis-more{margin-top:clamp(40px,5vw,64px);display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,4vw,56px)}
.whatis-more h3{font-size:19px;font-weight:700;letter-spacing:-0.015em;margin-bottom:8px}
.whatis-more p{color:var(--body);line-height:1.66;font-size:16px}
.def-list{list-style:none;margin-top:clamp(38px,5vw,56px)}
.def-list li{padding:16px 0;border-top:1px solid var(--hair);display:grid;grid-template-columns:190px 1fr;gap:18px}
.def-list li:last-child{border-bottom:1px solid var(--hair)}
.def-list .term{font-family:var(--disp);font-weight:700;color:var(--ink);font-size:15.5px;letter-spacing:-0.01em}
.def-list .desc{color:var(--muted);font-size:16px;line-height:1.6}
.whatis-jump{margin-top:30px;font-size:16.5px;color:var(--body);line-height:1.66;max-width:70ch}@media(max-width:820px){.whatis-grid,.whatis-grid.rev{grid-template-columns:1fr;gap:34px;padding-inline:0}.whatis-copy{padding-inline:var(--gut);max-width:none}.whatis-media img{position:static;aspect-ratio:4/3}.whatis-more{grid-template-columns:1fr;gap:24px}.def-list li{grid-template-columns:1fr;gap:5px}}

/* BENEFIT bands */
.benefits{display:flex;flex-direction:column;gap:clamp(46px,6vw,84px)}
.band{display:grid;align-items:center;gap:clamp(24px,3vw,48px)}
.band-1,.band-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:var(--bleed);max-width:none;margin-left:calc(50% - var(--bleed)/2);padding-right:var(--edge)}
.b-txt{max-width:var(--measure);margin-left:auto;min-width:0}
.band-1 .b-txt,.band-2 .b-txt{order:2}
.b-txt h3{font-size:clamp(27px,3vw,40px);font-weight:700;margin-bottom:16px;letter-spacing:-0.028em;line-height:1.04}
.b-txt p{color:var(--body);margin-bottom:12px;line-height:1.72}
.b-num{font-family:var(--disp);font-size:15px;font-weight:800;letter-spacing:.02em;color:var(--accent);margin-bottom:16px}
.b-img{object-fit:cover;border-radius:0;width:100%}
.band-1 .b-img,.band-2 .b-img{aspect-ratio:3/2}
/* band 03 — full-bleed image with text overlaid */
.band-3-full{position:relative;overflow:hidden;min-height:clamp(420px,52vw,640px);display:flex;align-items:flex-end;width:var(--vw);margin-left:calc(50% - var(--vw)/2);border-radius:0}
.band-3-full .b-full{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.band-3-full::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,19,16,.88),rgba(20,19,16,.2) 58%,rgba(20,19,16,.05));z-index:1}
.band-3-full .b-overlay{position:relative;z-index:2;padding:clamp(30px,5vw,62px);padding-left:max(clamp(30px,5vw,62px),var(--edge-vp));max-width:calc(660px + var(--over))}@media(max-width:700px){
  .hero-media img.hero-img,.hero-media video.hero-img,.b-img,.whatis-media,.whatis-media img{border-radius:0}}
.band-3-full .b-overlay .b-num{color:var(--accent)}
.band-3-full .b-overlay h2,.band-3-full .b-overlay h3{color:#fff;font-size:clamp(27px,3vw,40px);font-weight:700;margin-bottom:16px;letter-spacing:-0.028em;line-height:1.04}
.band-3-full .b-overlay p{color:rgba(255,255,255,.86);line-height:1.72;font-size:16.5px}@media(max-width:860px){
  .band-1,.band-2{grid-template-columns:minmax(0,1fr);gap:0;padding-right:0}
  .band-1 .b-txt,.band-2 .b-txt{display:contents;margin-left:0}
  .band-1 .b-num,.band-2 .b-num{order:1;padding-inline:var(--gut);margin-bottom:12px}
  .band-1 .b-txt h3,.band-2 .b-txt h3{order:2;padding-inline:var(--gut);margin-bottom:22px}
  .band-1 .b-img,.band-2 .b-img{order:3;margin-bottom:22px}
  .band-1 .b-txt p,.band-2 .b-txt p{order:4;padding-inline:var(--gut)}}

/* CARD GRID */
.cardgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2vw,26px)}
.cardgrid.two{grid-template-columns:repeat(2,1fr)}
.mini{border:1px solid var(--hair);border-radius:12px;padding:clamp(26px,2.6vw,34px);background:var(--white);transition:.25s}
/* Border cue only — the lift plus an image zoom made the whole row jump. */
.mini:hover{border-color:var(--faint)}
.bg-grey .mini{background:var(--white)}
.mini h3{font-size:20px;font-weight:700;letter-spacing:-0.02em;margin-bottom:10px;line-height:1.12}
.mini p{font-size:16px;color:var(--body);line-height:1.62}
/* image cards (services + industries) */
.mini.svc{padding:0;overflow:hidden;display:flex;flex-direction:column}
.mini.svc .svc-img{width:100%;aspect-ratio:16/11;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.mini.svc:hover .svc-img{transform:scale(1.05)}
.mini.svc .svc-body{padding:clamp(22px,2.4vw,30px);display:flex;flex-direction:column;flex:1}
.mini.svc h3{margin-bottom:9px}
.svc-more{display:inline-flex;align-items:center;gap:7px;margin-top:auto;padding-top:16px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);transition:gap .2s}
.svc-more svg{width:14px;height:14px}
.mini.svc:hover .svc-more{gap:11px}
.svc-more:hover,.mini.svc:hover .svc-more{color:var(--accent-d)}
.mini.svc p a.tlink{white-space:nowrap}
/* before/after split on a service card image */
/* --pos, and the .ba-* internals below, so this component IS the comparison slider
   rather than a picture of one. It reuses .ba-range / .ba-knob verbatim -- those are
   bare class selectors, so they work anywhere -- and is driven by the same [data-ba]
   handler the clay-to-final slider uses. Nothing new to load. */
.svc-split{position:relative;width:100%;aspect-ratio:16/11;overflow:hidden;--pos:50%;
  user-select:none;background:#e8e7e2}
.svc-split img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.mini.svc:hover .svc-split img{transform:scale(1.04)}
.svc-split .after{clip-path:inset(0 0 0 var(--pos))}
/* The divider and the two labels sit above the card's stretched link, so without this
   they swallow clicks on their own strip of the virtual-staging card. Nothing binds
   them; they are decoration. */
.svc-split .sdiv,.svc-split .slab{pointer-events:none}
/* Smaller than the .ba knob: this one sits in a 480px card, not a 1500px block. */
.svc-split .ba-knob{width:38px;height:38px}
.svc-split .ba-knob svg{width:16px;height:16px}
.svc-split .sdiv{position:absolute;top:0;bottom:0;left:var(--pos);width:2px;background:#fff;transform:translateX(-1px);z-index:3;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.svc-split .slab{position:absolute;bottom:12px;font-size:9.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#fff;background:rgba(20,18,14,.55);backdrop-filter:blur(4px);padding:5px 11px;border-radius:999px;z-index:4}
.svc-split .slab.l{left:12px}.svc-split .slab.r{right:12px}
/* why-us image cards */
.mini.why{padding:0;overflow:hidden}
.mini.why .why-img{width:100%;aspect-ratio:16/9;object-fit:cover;filter:grayscale(.12);transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.mini.why:hover .why-img{filter:grayscale(0)}
.mini.why .why-body{padding:clamp(22px,2.4vw,30px)}
/* why-us — 4-in-a-row, full-image cards */
.cardgrid.four{grid-template-columns:repeat(4,1fr)}
.cardgrid.four .mini.why h3{font-size:18px}@media(max-width:900px){.cardgrid.four{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.cardgrid.four{grid-template-columns:1fr}}
/* industries — 2-col horizontal ICP cards (circle left, text right) */
.cardgrid.ind{grid-template-columns:repeat(2,1fr)}
.cardgrid.ind .mini.svc{display:flex;flex-direction:row;align-items:center;gap:clamp(18px,2vw,28px);padding:clamp(22px,2.4vw,30px);overflow:visible;text-align:left}