/* The industry pages (/industries/<slug>), on top of services.css: the open header from the homepage,
   and the sections only these pages have. Pages are generated by scripts/industries/build.mjs. */

/* header: open, no bar, like the homepage */
body.ind .hdr{position:absolute;pointer-events:auto;padding:calc(env(safe-area-inset-top,0px) + clamp(16px,1.8vw,28px)) clamp(16px,2.4vw,40px) 0}
body.ind .hdr-in{max-width:none;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none}
body.ind .logo-word{display:inline;font-size:clamp(20px,1.5vw,26px)}
body.ind .logo-mark{width:clamp(22px,1.6vw,28px)}
body.ind .nav{gap:clamp(8px,2.4vw,44px)}
body.ind .nav>a,body.ind .nav-dd-t{position:relative;font-family:"Figtree",var(--sans);font-size:clamp(15px,1.1vw,18px);font-weight:500;letter-spacing:-.01em;
  color:var(--fg-faint);padding:10px 4px;border-radius:0;background:none;white-space:nowrap;transition:color .25s}
body.ind .nav>a::after,body.ind .nav-dd-t::after{content:"";position:absolute;left:4px;right:4px;bottom:0;height:2px;border-radius:2px;background:var(--fg);
  transform:scaleX(0);transition:transform .3s cubic-bezier(.16,1,.3,1)}
body.ind .nav>a:hover,body.ind .nav-dd-t:hover,body.ind .nav-dd:hover .nav-dd-t{color:var(--fg);background:none}
body.ind .nav>a:hover::after,body.ind .nav-dd:hover .nav-dd-t::after{transform:scaleX(1)}
body.ind .hdr-end{justify-self:end;display:flex;align-items:center;gap:8px}
body.ind .hdr-sign,body.ind .hdr-book{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:999px;line-height:1;white-space:nowrap;
  padding:clamp(10px,.75vw,12px) clamp(15px,1.1vw,19px);font-family:"Figtree",var(--sans);font-size:clamp(15px,1.05vw,17px);font-weight:500;letter-spacing:-.01em}
body.ind .hdr-sign{color:var(--fg);background:rgba(11,42,32,.055);transition:background .25s}
body.ind .hdr-sign:hover{background:rgba(11,42,32,.09)}
body.ind .hdr-sign svg{width:14px;height:14px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
body.ind .hdr-book{color:#fff;background:linear-gradient(180deg,#2C8C75,var(--brand));box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 8px 18px -10px rgba(35,122,102,.8);
  transition:transform .3s cubic-bezier(.16,1,.3,1),filter .2s}
body.ind .hdr-book:hover{transform:translateY(-1px);filter:brightness(1.05)}
@media(max-width:760px){
  body.ind .hdr-in{grid-template-columns:1fr auto}
  body.ind .nav{display:none}
}
@media(max-width:560px){body.ind .hdr-sign,body.ind .hdr-book{font-size:14px;padding:10px 13px}}

/* hero: the industry's photo behind the headline */
.pg-hero h1,.sec-head h2,.svc h2,.band h2{font-family:"Figtree",var(--sans);font-weight:500}
.svc h2,.svc-intro{font-family:"Figtree",var(--sans);font-weight:600}

.ind-head{margin-bottom:clamp(36px,4vw,72px)}

/* how it starts */
.steps3{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(12px,1.2vw,20px);margin-top:clamp(28px,2.6vw,44px)}
@media(min-width:860px){.steps3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.steps3 li{padding:clamp(22px,2vw,32px);border-radius:clamp(18px,1.6vw,26px);background:#fff}
.step-n{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-size:14px;font-weight:600;color:var(--fg);background:var(--tint);box-shadow:inset 0 0 0 1px var(--line)}
.steps3 h3{margin-top:clamp(14px,1.2vw,20px);font-family:"Figtree",var(--sans);font-size:clamp(19px,1.5vw,24px);font-weight:500;letter-spacing:-.02em}
.steps3 p{margin-top:8px;font-size:clamp(15px,1.05vw,17px);line-height:1.55;color:var(--fg-dim)}

/* other industries */
.ind-more-sec{padding-top:0}
.ind-more{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:clamp(22px,2vw,34px)}
.ind-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 16px 10px 12px;border-radius:999px;background:#fff;
  font-family:"Figtree",var(--sans);font-size:15px;font-weight:500;letter-spacing:-.01em;
  box-shadow:0 0 0 1px var(--line);transition:box-shadow .25s,color .25s,transform .3s cubic-bezier(.16,1,.3,1)}
.ind-chip:hover{color:var(--brand);box-shadow:0 0 0 1px rgba(35,122,102,.4);transform:translateY(-1px)}
.ind-chip-ic{display:block;width:24px;height:24px;border-radius:7px;object-fit:cover}

/* The header sits on the hero photo, which is always darkened, so it is light on dark in both themes. */
body.ind .logo{color:#fff}
body.ind .nav>a,body.ind .nav-dd-t{color:rgba(255,255,255,.72)}
body.ind .nav>a:hover,body.ind .nav-dd-t:hover,body.ind .nav-dd:hover .nav-dd-t,body.ind .nav-dd-t[aria-current],body.ind .nav>a[aria-current]{color:#fff}
body.ind .nav>a::after,body.ind .nav-dd-t::after{background:#fff}
body.ind .hdr-sign{color:#fff;background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
body.ind .hdr-sign:hover{background:rgba(255,255,255,.22)}

/* a split hero (the service group pages): the words on the left, a large rounded picture on the right, on a soft
   wash with a faint dot grid. The header above it is ink by day. */
.pg-hero.split{background:#F7F8F6;padding:calc(env(safe-area-inset-top,0px) + clamp(120px,10vw,168px)) 0 clamp(60px,6vw,110px)}
.pg-hero.split::before{background:radial-gradient(circle,rgba(11,15,13,.11) 1px,rgba(11,15,13,0) 1.5px) 0 0/22px 22px;
  -webkit-mask-image:linear-gradient(90deg,transparent 30%,#000 75%);mask-image:linear-gradient(90deg,transparent 30%,#000 75%)}
.pg-hero.split .shell{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(36px,4.4vw,80px);align-items:center;text-align:left}
@media(min-width:900px){.pg-hero.split .shell{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}}
body.ind .pg-hero.split h1{font-size:clamp(40px,4.6vw,76px);font-weight:600;letter-spacing:-.04em;line-height:1.02;max-width:12ch}
.pg-hero.split .pg-sub{max-width:40ch;font-size:clamp(17px,1.3vw,21px);line-height:1.6}
.pg-hero.split .cta-row{justify-content:flex-start;margin-top:clamp(30px,2.8vw,48px)}
body.ind .pg-hero.split .btn-cta{font-size:clamp(17px,1.25vw,20px);padding:clamp(16px,1.2vw,20px) clamp(28px,2.2vw,38px)}
.pg-split-card{margin:0;border-radius:clamp(24px,2.2vw,38px);overflow:hidden;aspect-ratio:5/4;background:#1A201D;
  box-shadow:0 60px 110px -50px rgba(35,122,102,.45),0 24px 50px -30px rgba(11,15,13,.35)}
.pg-split-card img{display:block;width:100%;height:100%;object-fit:cover}
html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .logo{color:#0B0B0C}
html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .nav>a,html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .nav-dd-t{color:#767680}
html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .nav>a:hover,html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .nav-dd-t:hover,
html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .nav-dd:hover .nav-dd-t,html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .nav-dd-t[aria-current]{color:#0B0B0C}
html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .nav>a::after,html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .nav-dd-t::after{background:#0B0B0C}
html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .hdr-sign{color:#0B0B0C;background:rgba(11,42,32,.055)}
html:not([data-theme="dark"]) body.ind:has(.pg-hero.split) .hdr-sign:hover{background:rgba(11,42,32,.09)}

/* ---------------- page sections ----------------
   Each industry page picks its own sections and order from this set (see scripts/industries/data.mjs).
   Photos lead: most sections are built around one or more of the page's images. */
.sec h2.big{font-family:"Figtree",var(--sans);font-weight:500;font-size:clamp(30px,3.4vw,56px);letter-spacing:-.03em;line-height:1.06;text-wrap:balance}

/* lead: one big statement and the detail beside it */
.lead{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(18px,3vw,64px);align-items:end}
@media(min-width:900px){.lead{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}}
.lead p{font-size:clamp(16px,1.2vw,20px);line-height:1.6;color:var(--fg-dim)}
.lead p + p{margin-top:14px}

/* feature: a large photo with the words beside it */
.feat{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(22px,3.4vw,72px);align-items:center}
@media(min-width:900px){.feat{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.feat.flip figure{order:2}}
.feat figure{margin:0;border-radius:clamp(20px,1.8vw,30px);overflow:hidden;box-shadow:0 40px 80px -50px rgba(14,40,32,.6)}
.feat figure img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.feat p{margin-top:clamp(12px,1vw,18px);font-size:clamp(16px,1.15vw,19px);line-height:1.6;color:var(--fg-dim)}
.points{list-style:none;counter-reset:pt;margin-top:clamp(18px,1.6vw,28px);display:grid;gap:clamp(12px,1vw,16px)}
.points li{counter-increment:pt;display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;font-size:clamp(15px,1.05vw,17px);line-height:1.5}
.points li::before{content:counter(pt);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:13px;font-weight:600;
  color:var(--fg);background:var(--tint);box-shadow:inset 0 0 0 1px var(--line)}
.points b{font-weight:500}
.points span{color:var(--fg-dim)}

/* mosaic: one tall photo and two beside it, words over the pictures */
.mosaic{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(10px,1vw,16px);margin-top:clamp(28px,2.6vw,44px)}
@media(min-width:860px){.mosaic{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));height:clamp(560px,52vw,760px)}
  .mosaic .tile:first-child{grid-row:1/3}}
.tile{position:relative;isolation:isolate;overflow:hidden;border-radius:clamp(18px,1.6vw,26px);min-height:280px;color:#fff;background:#0E1512}
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform 1.4s cubic-bezier(.16,1,.3,1)}
.tile:hover img{transform:scale(1.04)}
.tile::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,14,12,0) 35%,rgba(8,14,12,.82) 100%)}
.tile-body{position:absolute;left:0;right:0;bottom:0;padding:clamp(18px,2vw,30px)}
.tile h3{font-family:"Figtree",var(--sans);font-size:clamp(20px,1.7vw,28px);font-weight:500;letter-spacing:-.02em;line-height:1.15}
.tile p{margin-top:6px;font-size:clamp(14px,1vw,16px);line-height:1.5;color:rgba(255,255,255,.82);max-width:46ch}

/* band: a full-width photo with a glass caption */
.band-img{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(460px,62vw,720px);display:flex;align-items:flex-end;color:#fff;background:#0E1512}
.band-img > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.band-img::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,14,12,0) 30%,rgba(8,14,12,.55) 100%)}
.band-card{margin:0 0 clamp(24px,4vw,64px);max-width:560px;padding:clamp(22px,2.4vw,36px);border-radius:clamp(20px,1.8vw,28px);
  background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.band-card h2{font-family:"Figtree",var(--sans);font-size:clamp(26px,2.6vw,42px);font-weight:500;letter-spacing:-.03em;line-height:1.08}
.band-card p{margin-top:12px;font-size:clamp(15px,1.1vw,18px);line-height:1.55;color:rgba(255,255,255,.86)}

/* timeline: how the work moves, step by step */
.tl{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-top:clamp(28px,2.6vw,44px);position:relative}
.tl li{position:relative;padding:0 0 clamp(22px,2vw,30px) 44px}
.tl li::before{content:"";position:absolute;left:11px;top:6px;bottom:-6px;width:2px;background:linear-gradient(180deg,var(--line-2),var(--line))}
.tl li:last-child::before{display:none}
.tl li::after{content:"";position:absolute;left:4px;top:4px;width:16px;height:16px;border-radius:50%;background:var(--bg);box-shadow:inset 0 0 0 4px var(--fg)}
@media(min-width:960px){
  .tl{grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:clamp(16px,1.6vw,28px)}
  .tl li{padding:36px 0 0}
  .tl li::before{left:20px;right:-28px;top:7px;bottom:auto;width:auto;height:2px;background:linear-gradient(90deg,var(--line-2),var(--line))}
  .tl li::after{left:0;top:0}
}
.tl-when{display:block;font-family:"Figtree",var(--sans);font-size:13px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--fg-faint)}
.tl h3{margin-top:6px;font-family:"Figtree",var(--sans);font-size:clamp(18px,1.4vw,22px);font-weight:500;letter-spacing:-.015em;line-height:1.2}
.tl p{margin-top:6px;font-size:clamp(14px,1vw,16px);line-height:1.55;color:var(--fg-dim)}
.tl-img{margin:clamp(28px,2.6vw,44px) 0 0;border-radius:clamp(20px,1.8vw,30px);overflow:hidden}
.tl-img img{display:block;width:100%;height:clamp(240px,30vw,440px);object-fit:cover}

/* compare: today, and with the system */
.cmpx{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(12px,1.2vw,20px);margin-top:clamp(28px,2.6vw,44px)}
@media(min-width:860px){.cmpx{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}}
.cmpx figure{margin:0;border-radius:clamp(18px,1.6vw,26px);overflow:hidden;min-height:280px}
.cmpx figure img{width:100%;height:100%;object-fit:cover;display:block}
.cmpx-col{padding:clamp(22px,2vw,32px);border-radius:clamp(18px,1.6vw,26px);background:#fff;box-shadow:0 0 0 1px var(--line)}
.cmpx-col.now{background:#F4F4F2;box-shadow:none}
.cmpx-col h3{font-family:"Figtree",var(--sans);font-size:clamp(18px,1.4vw,22px);font-weight:500}
.cmpx-col ul{list-style:none;margin-top:14px;display:grid;gap:12px}
.cmpx-col li{display:flex;gap:10px;font-size:clamp(14px,1.02vw,16px);line-height:1.5;color:var(--fg-dim)}
.cmpx-col li::before{content:"";flex:none;width:8px;height:8px;margin-top:8px;border-radius:50%;background:#B9B9B4}
.cmpx-col:not(.now) li{color:var(--fg)}
.cmpx-col:not(.now) li::before{background:var(--fg)}

/* cards: a photo each, then the words */
.cards3{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(14px,1.4vw,22px);margin-top:clamp(28px,2.6vw,44px)}
@media(min-width:860px){.cards3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.card3{border-radius:clamp(20px,1.8vw,28px);overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 30px 60px -44px rgba(14,40,32,.45)}
.card3 img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.card3 div{padding:clamp(18px,1.8vw,28px)}
.card3 h3{font-family:"Figtree",var(--sans);font-size:clamp(19px,1.5vw,24px);font-weight:500;letter-spacing:-.02em;line-height:1.2}
.card3 p{margin-top:8px;font-size:clamp(14px,1.02vw,16px);line-height:1.55;color:var(--fg-dim)}

/* stack: a photo that stays put while the list scrolls beside it */
.stack{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(24px,3.4vw,72px)}
@media(min-width:900px){.stack{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.stack figure{position:sticky;top:40px}}
.stack figure{margin:0;border-radius:clamp(20px,1.8vw,30px);overflow:hidden}
.stack figure img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.stack-list{list-style:none;margin-top:clamp(20px,2vw,32px);border-top:1px solid var(--line)}
.stack-list li{padding:clamp(18px,1.8vw,26px) 0;border-bottom:1px solid var(--line)}
.stack-list h3{font-family:"Figtree",var(--sans);font-size:clamp(19px,1.5vw,24px);font-weight:500;letter-spacing:-.02em}
.stack-list p{margin-top:6px;font-size:clamp(15px,1.05vw,17px);line-height:1.55;color:var(--fg-dim)}

/* tools: the software they already run */
.tools{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(18px,2.4vw,48px);align-items:center;padding:clamp(24px,3vw,48px);border-radius:clamp(20px,1.8vw,30px);background:#F4F4F2}
@media(min-width:900px){.tools{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}}
.tools h2{font-family:"Figtree",var(--sans);font-size:clamp(24px,2.2vw,36px);font-weight:500;letter-spacing:-.025em;line-height:1.1}
.tools p{margin-top:10px;font-size:clamp(15px,1.05vw,17px);line-height:1.55;color:var(--fg-dim)}
.tool-chips{display:flex;flex-wrap:wrap;gap:8px}
.tool-chips span{padding:9px 14px;border-radius:999px;background:#fff;font-family:"Figtree",var(--sans);font-size:15px;font-weight:500;box-shadow:0 0 0 1px var(--line)}
.sec .intro{margin-top:clamp(10px,.9vw,16px);font-size:clamp(15px,1.1vw,18px);line-height:1.55;color:var(--fg-dim);max-width:60ch}

/* green is kept for the call-to-action buttons; the washes and the closing band are neutral */
body.ind .sec.wash{background:#F6F6F4}
/* the closing band: an open, full-width section (a soft wash with a faint sage glow), the headline on the left and the words and button on the right */
body.ind .sec:has(> .shell > .band){padding:clamp(72px,8vw,148px) 0;border-top:1px solid var(--line);
  background:radial-gradient(48% 90% at 0% 100%,rgba(35,122,102,.09),rgba(35,122,102,0) 70%),radial-gradient(40% 70% at 100% 0%,rgba(214,196,160,.14),rgba(214,196,160,0) 70%),#F7F8F6}
body.ind .band{max-width:none;margin:0;padding:0;border-radius:0;background:none;box-shadow:none;color:var(--fg);text-align:left;
  display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(16px,1.6vw,24px) clamp(32px,6vw,120px)}
@media(min-width:900px){
  body.ind .band{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  body.ind .band h2{grid-row:1 / span 2}
}
body.ind .band h2{margin:0;max-width:16ch;font-size:clamp(28px,2.8vw,46px);font-weight:600;letter-spacing:-.03em;line-height:1.08;color:var(--fg)}
body.ind .band p{margin:0;max-width:44ch;font-size:clamp(17px,1.3vw,21px);line-height:1.6;color:var(--fg-dim)}
body.ind .band .cta-row{justify-content:flex-start;margin-top:clamp(8px,1vw,16px)}
body.ind .band .btn-ghost{background:transparent;color:var(--fg);box-shadow:0 0 0 1px var(--line-2)}
body.ind .band .btn-ghost:hover{box-shadow:0 0 0 1px var(--fg)}
/* two white sections in a row share their gap instead of doubling it */
body.ind .sec:not(.wash) + .sec:not(.wash):not(.ind-more-sec){padding-top:clamp(12px,1.8vw,36px)}
body.ind .sec:not(.wash) + .sec:not(.wash):has(> .shell > .band){padding-top:clamp(72px,8vw,148px)}
/* the first section under an industry hero gets a full gap, now the opening statement is gone */
body.ind .stage + .sec{padding-top:clamp(64px,7vw,128px)}

/* How it works: the three service groups as cards */
.how-cards{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(12px,1.2vw,20px);margin-top:clamp(28px,2.6vw,44px)}
@media(min-width:860px){.how-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
.how-card{display:flex;flex-direction:column;height:100%;padding:clamp(22px,2vw,32px);border-radius:clamp(18px,1.6vw,26px);background:#fff;
  box-shadow:0 0 0 1px var(--line);transition:transform .4s cubic-bezier(.16,1,.3,1),box-shadow .3s}
.how-card:hover{transform:translateY(-3px);box-shadow:0 0 0 1px var(--line-2),0 30px 60px -40px rgba(0,0,0,.35)}
.how-card h3{font-family:"Figtree",var(--sans);font-size:clamp(20px,1.6vw,26px);font-weight:500;letter-spacing:-.02em}
.how-card p{margin-top:8px;font-size:clamp(15px,1.05vw,17px);line-height:1.55;color:var(--fg-dim)}
.how-go{margin-top:auto;padding-top:clamp(18px,1.6vw,26px);display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:500;color:var(--fg)}
.how-go svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
.how-card:hover .how-go{color:var(--brand)}
.how-card:hover .how-go svg{transform:translateX(3px)}

/* service pages: "Learn more" in ink, like the rest of the non-button text */
body.ind .group .see{color:var(--fg)}
