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

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}
/* A full band that ends its section meets the next section directly: the section's bottom
   padding under a full-bleed image read as a stray grey strip. */
section:has(> .wrap > .benefits > .band-3-full:last-child){padding-bottom:0}
.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:#fff}
.band-3-full .b-overlay h2,.band-3-full .b-overlay h3{color:#fff;font-size:clamp(25px,2.8vw,37px);font-weight:650;margin-bottom:16px;letter-spacing:-0.024em;line-height:1.05}
.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)}
.cardgrid.one{grid-template-columns:1fr;max-width:780px;margin-inline:auto}
.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}
/* No image zoom on hover (Siim, 26 Sep): the border and the arrow are the cue. Premium
   means subtle; a zooming photo reads as a template. */
.mini.svc .svc-img{width:100%;aspect-ratio:16/11;object-fit:cover}
.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(--ink);padding-bottom:3px;border-bottom:2px solid var(--accent);align-self:flex-start;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(--ink);border-bottom-color:var(--accent-d)}
.mini.svc p a.tlink{white-space:nowrap}
/* BIG ICON CARD: .mini.big-ic > .bic(svg) + h3 + p [+ .svc-more]
   For a card that has no photograph to carry it (the pricing trio on /services/, the
   discipline router on /services/architectural-visualization/). Those shipped as bare
   text boxes next to sections of full-frame image cards and read as unfinished. The
   icon is the same 24px line-art the .drivers and .craft-col icons already draw, scaled
   into a tile rather than a new visual language. Markup is written by
   pages/_service.py icon_cards(); do not hand-roll a second version. */
.mini.big-ic{display:flex;flex-direction:column}
.mini.big-ic .bic{width:clamp(72px,6vw,88px);height:clamp(72px,6vw,88px);flex:0 0 auto;border-radius:16px;background:var(--wash-lt);color:var(--ink);display:flex;align-items:center;justify-content:center;margin-bottom:clamp(20px,2.2vw,26px);transition:background .25s,color .25s}
.mini.big-ic .bic svg{width:58%;height:58%;stroke-width:1.4}
.mini.big-ic:hover .bic{background:var(--accent);color:#fff}
/* Icon cards that are not links (the licence on /free-renders/, Siim 12 Oct): the icon sits
   in red on a light red tile from the start, and nothing reacts on hover. */
.cardgrid.ic-tint .mini.big-ic .bic,.cardgrid.ic-tint .mini.big-ic:hover .bic{background:rgba(200,16,46,.08);color:var(--accent)}
.cardgrid.ic-tint .mini:hover{border-color:var(--hair)}
/* The free render library shows its images two across on desktop, one on phones (Siim,
   12 Oct: three across read too small for picking a picture to download). */
.cardgrid.fr-grid{grid-template-columns:repeat(2,1fr)}@media(max-width:600px){.cardgrid.fr-grid{grid-template-columns:1fr}}
/* Free texture library (/free-textures/, 12 Oct 2026): the same chip filter, by material. */
.wrap-wide:has(#ft-all:checked) .tst-filters label[for=ft-all],.wrap-wide:has(#ft-wood:checked) .tst-filters label[for=ft-wood],.wrap-wide:has(#ft-stone:checked) .tst-filters label[for=ft-stone],.wrap-wide:has(#ft-concrete:checked) .tst-filters label[for=ft-concrete],.wrap-wide:has(#ft-brick:checked) .tst-filters label[for=ft-brick],.wrap-wide:has(#ft-metal:checked) .tst-filters label[for=ft-metal],.wrap-wide:has(#ft-fabric:checked) .tst-filters label[for=ft-fabric],.wrap-wide:has(#ft-ground:checked) .tst-filters label[for=ft-ground]{background:var(--ink);border-color:var(--ink);color:#fff}
.wrap-wide:has(#ft-all:checked) .tst-filters label[for=ft-all] .n,.wrap-wide:has(#ft-wood:checked) .tst-filters label[for=ft-wood] .n,.wrap-wide:has(#ft-stone:checked) .tst-filters label[for=ft-stone] .n,.wrap-wide:has(#ft-concrete:checked) .tst-filters label[for=ft-concrete] .n,.wrap-wide:has(#ft-brick:checked) .tst-filters label[for=ft-brick] .n,.wrap-wide:has(#ft-metal:checked) .tst-filters label[for=ft-metal] .n,.wrap-wide:has(#ft-fabric:checked) .tst-filters label[for=ft-fabric] .n,.wrap-wide:has(#ft-ground:checked) .tst-filters label[for=ft-ground] .n{color:rgba(255,255,255,.7)}
.wrap-wide:has(#ft-all:focus-visible) .tst-filters label[for=ft-all],.wrap-wide:has(#ft-wood:focus-visible) .tst-filters label[for=ft-wood],.wrap-wide:has(#ft-stone:focus-visible) .tst-filters label[for=ft-stone],.wrap-wide:has(#ft-concrete:focus-visible) .tst-filters label[for=ft-concrete],.wrap-wide:has(#ft-brick:focus-visible) .tst-filters label[for=ft-brick],.wrap-wide:has(#ft-metal:focus-visible) .tst-filters label[for=ft-metal],.wrap-wide:has(#ft-fabric:focus-visible) .tst-filters label[for=ft-fabric],.wrap-wide:has(#ft-ground:focus-visible) .tst-filters label[for=ft-ground]{outline:2px solid var(--accent);outline-offset:2px}
.wrap-wide:has(#ft-wood:checked) .ft-grid>[data-cat]:not([data-cat=wood]),.wrap-wide:has(#ft-stone:checked) .ft-grid>[data-cat]:not([data-cat=stone]),.wrap-wide:has(#ft-concrete:checked) .ft-grid>[data-cat]:not([data-cat=concrete]),.wrap-wide:has(#ft-brick:checked) .ft-grid>[data-cat]:not([data-cat=brick]),.wrap-wide:has(#ft-metal:checked) .ft-grid>[data-cat]:not([data-cat=metal]),.wrap-wide:has(#ft-fabric:checked) .ft-grid>[data-cat]:not([data-cat=fabric]),.wrap-wide:has(#ft-ground:checked) .ft-grid>[data-cat]:not([data-cat=ground]){display:none}
.mini.big-ic .svc-more{margin-top:auto}