/* ==========================================================================
   Homepage look for the other pages (13 Nov 2026).

   The pages were built on the boussole's system (Figtree headings, teal
   underline under every <em>). The homepage the team signed off uses Recoleta
   headings, no underlines, rounded photos with a frosted label, and plain
   paper / cream sections. This layer brings the pages over to that look.

   1. site-wide: no underline under emphasised words (the user's rule).
   2. body.hx pages (redesigned one by one): the homepage's components, all
      prefixed hx- so nothing else on the page can pick them up.
   No new colours, no new typefaces: Recoleta is the homepage's own file.
   ======================================================================= */
@font-face{font-family:'Recoleta';src:url(../fonts/Recoleta-Regular.otf) format('opentype');
  font-weight:400;font-style:normal;font-display:swap}

/* 1 ---------------------------------------------------------------------- */
em,.d1 em,.d2 em,.d3 em,.dark .d2 em,.dark .d3 em,.rail .d2 em,.site .d2 em,
.hero .d1 em,.stats .d2 em,h2 em{box-shadow:none !important;padding-bottom:0}

/* 2 ---------------------------------------------------------------------- */
body.hx{--rec:'Recoleta',Georgia,serif}
.hx-sec{padding:clamp(72px,9vw,128px) 0;background:var(--paper)}
.hx-sec.cream{background:var(--cream)}
.hx-wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}

/* headings: Recoleta bold, tight, the emphasised words in teal */
.hx-h1,.hx-h2,.hx-h3{font-family:var(--rec);font-weight:700;color:var(--ink);margin:0;
  letter-spacing:-.026em;text-wrap:balance}
.hx-h1{font-size:clamp(44px,6.2vw,88px);line-height:.98}
.hx-h2{font-size:clamp(33px,4.3vw,60px);line-height:1.04}
.hx-h3{font-size:clamp(23px,2.3vw,33px);line-height:1.12}
.hx-h1 em,.hx-h2 em,.hx-h3 em{font-style:normal;color:var(--teal-txt)}
.hx-h1 sup,.hx-name sup{font-size:.36em;vertical-align:1.15em;line-height:0;margin-left:2px;font-family:var(--sans);font-weight:500}
/* the product name, as on the homepage cards */
.hx-name{font:500 13px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--teal-txt);margin:0 0 18px}
.hx-name sup{font-size:.7em;vertical-align:.6em}
.hx-lead{font:400 clamp(17px,1.35vw,19.5px)/1.55 var(--sans);color:var(--ink);letter-spacing:-.008em;margin:24px 0 0;max-width:46ch}
.hx-lead b{font-weight:600}
.hx-det{margin-top:22px;max-width:52ch}
.hx-det p{font:400 16px/1.65 var(--sans);color:#4B5551;margin:0 0 14px}
.hx-det b{font-weight:600;color:var(--ink)}
.hx-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}

/* split: text one side, a rounded photo the other */
.hx-split{display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(40px,6vw,96px);align-items:center}
.hx-split.rev .hx-ph{order:-1}
.hx-ph{position:relative;margin:0;border-radius:24px;overflow:hidden;background:#E8E2D4;aspect-ratio:7/6}
.hx-ph img{width:100%;height:100%;object-fit:cover;display:block}
.hx-ph.tall{aspect-ratio:4/5}
/* the frosted label the homepage puts on its photos */
.hx-seg{position:absolute;left:18px;top:18px;padding:8px 14px 7px;border-radius:999px;
  font:500 11.5px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--teal-deep);
  background:rgba(255,253,248,.78);-webkit-backdrop-filter:blur(10px) saturate(1.3);backdrop-filter:blur(10px) saturate(1.3)}

/* hero: room under the fixed bar */
.hx-hero{padding:clamp(112px,10vw,150px) 0 clamp(64px,8vw,112px);background:var(--paper)}

/* figures: big numbers in quiet cards */
.hx-figs{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.hx-fig{background:var(--paper);border:1px solid var(--hair);border-radius:20px;padding:26px 24px 22px}
.hx-sec:not(.cream) .hx-fig{background:var(--cream);border-color:transparent}
.hx-fig b{display:block;font:700 clamp(40px,4.4vw,60px)/1 var(--rec);letter-spacing:-.03em;color:var(--teal-txt)}
.hx-fig b small{font-size:.5em;margin-left:4px;letter-spacing:0}
/* 23 Nov 2026: a word instead of a figure (CARBIO particle size, kept unquantified on purpose) */
.hx-fig b.w{font-size:clamp(30px,3.2vw,44px);letter-spacing:-.02em}
.hx-fig span{display:block;margin-top:12px;font:500 16px/1.3 var(--sans);color:var(--ink)}
.hx-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.hx-chips li{list-style:none;padding:9px 16px;border-radius:999px;border:1px solid var(--hair);
  font:500 14.5px/1 var(--sans);color:var(--ink);background:var(--paper)}
.hx-chips{padding:0}

/* rows: three effects, one per line, hairline between */
.hx-rows{list-style:none;margin:30px 0 0;padding:0;border-top:1px solid var(--hair)}
.hx-rows li{display:grid;grid-template-columns:minmax(150px,.8fr) 1.2fr;gap:20px;padding:18px 0;border-bottom:1px solid var(--hair);align-items:baseline}
.hx-rows b{font:600 17px/1.3 var(--sans);color:var(--ink)}
.hx-rows span{font:400 15.5px/1.5 var(--sans);color:#4B5551}

/* cards: the other ingredients, photo on top like the homepage blog cards */
.hx-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(16px,2vw,28px);margin-top:44px}
.hx-card{display:block;text-decoration:none;color:var(--ink);border:1px solid rgba(20,32,30,.16);border-radius:22px;overflow:hidden;background:var(--paper);transition:border-color .3s,transform .5s cubic-bezier(.2,.7,.3,1)}
.hx-card .hx-ph{border-radius:0;aspect-ratio:16/9}
.hx-card .hx-ph img{transition:transform 1s cubic-bezier(.2,.7,.3,1)}
.hx-card .tx{padding:24px 26px 26px}
.hx-card .hx-h3{font-size:clamp(23px,2vw,30px)}
.hx-card p{font:400 15.5px/1.55 var(--sans);color:#4B5551;margin:10px 0 0}
.hx-card .go{display:inline-flex;align-items:center;gap:10px;margin-top:18px;font:500 15px/1 var(--sans);color:var(--teal-txt)}
.hx-card .go i{font-style:normal;transition:transform .3s}
.hx-card:hover{border-color:var(--teal)}
.hx-card:hover .hx-ph img{transform:scale(1.04)}
.hx-card:hover .go i{transform:translateX(4px)}
.hx-card:focus-visible{outline:2px solid var(--teal);outline-offset:3px}

/* closing call to action: centred, cream */
.hx-cta{text-align:center}
.hx-cta .hx-lead{margin-left:auto;margin-right:auto}
.hx-cta .hx-acts{justify-content:center}

@media(max-width:900px){
  .hx-split,.hx-split.rev{grid-template-columns:1fr;gap:36px}
  .hx-split.rev .hx-ph{order:0}
  .hx-cards{grid-template-columns:1fr}
}
@media(max-width:600px){
  .hx-figs{gap:10px}
  .hx-fig{padding:20px 18px 18px;border-radius:16px}
  .hx-rows li{grid-template-columns:1fr;gap:6px}
  .hx-acts .btn{flex:1 1 auto;justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){.hx-card,.hx-card .hx-ph img{transition:none}.hx-card:hover .hx-ph img{transform:none}}

/* CARBIO (13 Nov 2026): additions only.
   A wide figure card for the headline number, a small line under a figure,
   and a looping lab film in the rounded photo frame with the homepage's
   frosted pause button. */
.hx-figs .hx-wide{grid-column:1/-1}
.hx-fig.hx-wide b{font-size:clamp(56px,6.2vw,92px)}
.hx-fig .hx-sub{display:block;margin-top:4px;font:400 14.5px/1.4 var(--sans);color:#4B5551}
.hx-ph video{width:100%;height:100%;object-fit:cover;display:block}
.hx-pause{position:absolute;right:16px;bottom:16px;width:44px;height:44px;padding:0;border-radius:50%;
  display:grid;place-items:center;cursor:pointer;color:var(--teal-deep);
  background:rgba(255,253,248,.78);border:1px solid rgba(255,255,255,.85);box-shadow:0 10px 26px rgba(4,24,21,.18);
  -webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%)}
.hx-pause svg{width:14px;height:14px;fill:currentColor}
.hx-pause .iy,.hx-pause.play .ip{display:none}
.hx-pause.play .iy{display:block}
.hx-pause:focus-visible{outline:2px solid var(--teal-txt);outline-offset:3px}
@media(max-width:600px){.hx-pause{right:12px;bottom:12px}}

/* Careers and open application (13 Nov 2026): additions only.
   A hero headline sized for a half column, the four qualities as cards, a
   closing line with its one button, the offers as a scannable list grouped
   by contract, and the shared application form (parts/job-form*.html) in the
   homepage's type: Recoleta heading, Inter labels in sentence case instead
   of small mono capitals. Computed: body text #4B5551 on cream #F7F4EB
   7.03:1, teal-txt #15695F on cream 5.93:1, white on teal-deep 11.30:1. */
.hx-hero .hx-fit{font-size:clamp(42px,5.2vw,78px)}
.hx-hero .hx-det{margin-top:18px}
.hx-hero .hx-chips{margin-top:20px}

.hx-quals{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(12px,1.4vw,18px);margin-top:44px}
.hx-qual{background:var(--cream);border-radius:20px;padding:28px 24px 26px}
.hx-qual b{display:block;font:700 clamp(23px,2vw,28px)/1.1 var(--rec);letter-spacing:-.02em;color:var(--ink)}
.hx-qual p{margin:12px 0 0;font:400 16px/1.55 var(--sans);color:#4B5551}
.hx-after{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 28px;
  margin-top:36px;padding-top:28px;border-top:1px solid var(--hair)}
.hx-after p{margin:0;font:700 clamp(21px,1.9vw,26px)/1.2 var(--rec);letter-spacing:-.015em;color:var(--ink)}

.hx-jobs{margin-top:48px}
.hx-jgrp{display:flex;align-items:baseline;gap:14px;margin:0;font:500 13px/1 var(--mono);
  letter-spacing:.16em;text-transform:uppercase;color:var(--teal-txt)}
.hx-jgrp span{font-weight:400;letter-spacing:.08em;color:#4B5551}
.hx-jlist{list-style:none;margin:16px 0 0;padding:0;border-top:1px solid rgba(20,32,30,.16)}
.hx-jlist+.hx-jgrp{margin-top:52px}
.hx-job{display:grid;grid-template-columns:1fr auto 44px;align-items:center;gap:28px;
  padding:22px 4px 22px 0;border-bottom:1px solid rgba(20,32,30,.16);color:var(--ink);text-decoration:none;
  transition:padding .35s cubic-bezier(.2,.7,.3,1)}
.hx-job b{font:400 clamp(20px,1.75vw,25px)/1.25 var(--rec);letter-spacing:-.01em;transition:color .25s}
.hx-job .m{font:400 15px/1.3 var(--sans);color:#4B5551;white-space:nowrap}
.hx-job i{font-style:normal;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  border:1px solid rgba(20,32,30,.16);background:var(--paper);color:var(--teal-txt);font-size:17px;
  transition:background .25s,color .25s,border-color .25s}
.hx-job:hover{padding-left:10px}
.hx-job:hover b{color:var(--teal-txt)}
.hx-job:hover i{background:var(--teal-deep);border-color:var(--teal-deep);color:#fff}
.hx-job:focus-visible{outline:2px solid var(--teal-txt);outline-offset:4px;border-radius:6px}

body.hx #postuler{background:var(--cream)}
body.hx #postuler .lbl{font:500 13px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--teal-txt)}
body.hx #postuler h2{font-family:var(--rec);font-weight:700;font-size:clamp(33px,4.3vw,60px);line-height:1.04;
  letter-spacing:-.026em;color:var(--ink);text-wrap:balance}
body.hx #postuler h2 em{font-style:normal;color:var(--teal-txt)}
body.hx #postuler .sub{font:400 clamp(17px,1.35vw,19.5px)/1.55 var(--sans);color:var(--ink);max-width:46ch}
body.hx .f>span:first-child{font:500 15px/1.35 var(--sans);letter-spacing:0;text-transform:none;color:var(--ink);margin-bottom:8px}
body.hx .f>span:first-child b{color:var(--teal-txt)}
body.hx .f .hint{font:400 14.5px/1.5 var(--sans);color:#4B5551}
body.hx .f .drop{font:400 15px/1.5 var(--sans);letter-spacing:0;text-transform:none;color:#4B5551}
body.hx .f input,body.hx .f textarea{border-color:rgba(20,32,30,.22)}

@media(max-width:1060px){.hx-quals{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){
  .hx-quals{grid-template-columns:1fr}
  .hx-qual{padding:22px 20px 20px;border-radius:16px}
  .hx-job{grid-template-columns:1fr 40px;gap:6px 16px;padding:18px 0}
  .hx-job .m{grid-row:2;grid-column:1}
  .hx-job i{grid-row:1/3;grid-column:2;width:40px;height:40px}
  .hx-job:hover{padding-left:0}
  .hx-after{flex-direction:column;align-items:stretch}
  .hx-after .btn{justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){.hx-job,.hx-job b,.hx-job i{transition:none}}
