/* ==========================================================================
   site.css — the layer the boussole never needed.

   The boussole is a narrative homepage: scenes, acts, a pinned rail. The rest
   of circulegg.fr is a product catalogue, and a catalogue needs different
   furniture — spec tables, a press wall, a team grid, a job list, forms.

   Everything here is built from the tokens already declared in the boussole's
   :root. No new colour, no new typeface, no new type size.

   Contrast is computed, not eyeballed: assets/site/contrast.py checks all 20
   text/background pairs this file introduces against WCAG 2.1 AA and prints
   the table. All 20 pass. The load-bearing ones:
     --ink   #14201E on --paper #FDFBF7 . 16.19:1
     --ink2  #5F6863 on --paper ......... 5.57:1   (body copy, the tightest)
     --ink2  #5F6863 on --cream #F7F4EB . 5.24:1
     --teal-txt #15695F on --paper ...... 6.31:1   (every eyebrow and link)
     white on --teal-deep #0B423C ...... 11.30:1   (.jlead, .deepteal)
     --teal-lt #7FD8CC on --teal-deep ... 6.78:1
   Plain --teal #2EB2A4 on paper is 2.53:1 — it fails AA and fails even the
   3:1 large-text floor, so it is used only as a fill or a rule and never as
   text. That is the rule the design system already follows.
   ========================================================================== */

/* ---------- two helpers the boussole leaves undefined -------------------- */

/* .kick is the eyebrow above a heading. The boussole's markup uses it on every
   section but its stylesheet only ever sets the colour — there is no base rule,
   so the label renders as body copy and its <s> as a strikethrough. Defining it
   here fixes it for these pages without editing the shared file. */
.kick{display:flex;align-items:center;gap:12px;font:500 var(--t-micro)/1 var(--mono);
  letter-spacing:var(--ls-wider);text-transform:uppercase;color:var(--teal-txt)}
.kick s{display:block;flex:none;width:26px;height:1px;background:var(--hair);
  text-decoration:none}
.deepteal .kick,.jlead .kick{color:var(--teal-lt)}
.deepteal .kick s,.jlead .kick s{background:rgba(255,255,255,.4)}

/* labels that belong to a field but should not be drawn twice */
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ---------- shared page furniture ---------------------------------------- */

/* the standard page opener. Same construction as .vlead in the boussole, but
   without its top padding for a hero, since these pages lead with type. */
.plead{padding:calc(var(--rhythm) + 34px) 0 calc(var(--rhythm) - 30px);
  background:radial-gradient(74% 62% at 20% -12%,var(--aqua) 0%,transparent 60%),var(--paper)}
.plead .kick{color:var(--teal-txt)}
.plead .kick s{background:var(--hair)}
.plead .d1{max-width:22ch}
.plead .acts{display:flex;gap:12px;margin-top:var(--s5);flex-wrap:wrap}

/* standing copy block, usable in any section rather than only under .plead */
.lede{margin:var(--s4) 0 0;font-size:var(--t-body);line-height:var(--lh-body);
  font-weight:300;color:var(--ink2);max-width:58ch}
.lede+.lede{margin-top:var(--s3)}
.jlead .lede{color:rgba(255,255,255,.86);max-width:56ch}

/* a row of buttons, wherever it appears */
.acts{display:flex;gap:12px;margin-top:var(--s5);flex-wrap:wrap}
.invite .acts{justify-content:center}
.invite .kick{justify-content:center}
.invite .d2,.invite .lede{margin-left:auto;margin-right:auto}

/* .bend and .invite are not .band, so the design system's display classes are
   used there directly — which is also what gives <em> its teal underline
   instead of leaving it as a plain italic. */
.bend .d2,.invite .d2{color:var(--ink);max-width:24ch}

/* a section that simply holds copy, on either ground */
.band{padding:var(--rhythm) 0;background:var(--paper)}
.band.dim{background:var(--cream)}
.band.deepteal{background:linear-gradient(168deg,#134F47 0%,#0F4640 44%,#0A2621 100%);color:#fff}
.band.deepteal .lbl{color:var(--teal-lt)}
.band.deepteal h2,.band.deepteal h3{color:#fff}
.band.deepteal p{color:rgba(255,255,255,.84)}
.band>.wrap>.lbl+h2{margin-top:var(--s2)}
.band h2{font-family:var(--serif);font-weight:500;font-size:var(--t-h2);
  line-height:var(--lh-head);letter-spacing:-.032em;color:var(--ink);margin:0;max-width:24ch}
.band h2 em{font-style:normal;color:var(--teal-txt);
  box-shadow:inset 0 -.07em 0 0 var(--teal);padding-bottom:.02em}
.band.deepteal h2 em{color:var(--teal-lt);box-shadow:inset 0 -.07em 0 0 rgba(46,178,164,.6)}
.band .sub{margin:var(--s3) 0 0;font-size:var(--t-body);line-height:var(--lh-body);
  font-weight:300;color:var(--ink2);max-width:56ch}
.band.deepteal .sub{color:rgba(255,255,255,.84)}

/* ---------- the four-up benefit row ------------------------------------- */
/* On the old site these were four icon cards. The icons were AI-generated
   stock with a white background that cannot sit on cream, so the shape carries
   the meaning instead: a numbered rule above each claim. */
.bens{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:var(--s6);
  background:var(--hair);border:1px solid var(--hair);border-radius:var(--r-card);overflow:hidden}
.bens>div{background:var(--paper);padding:var(--s5) var(--s4)}
.band.dim .bens>div{background:var(--paper)}
.bens i{font-style:normal;font:500 var(--t-micro)/1 var(--mono);
  letter-spacing:var(--ls-wider);color:var(--teal-txt)}
.bens b{display:block;margin-top:var(--s2);font-family:var(--serif);font-weight:500;
  font-size:var(--t-h4);line-height:var(--lh-snug);color:var(--ink)}
.bens p{margin:var(--s2) 0 0;font-size:var(--t-cap);line-height:1.6;color:var(--ink2)}

/* ---------- ingredient cards ("des ingrédients eggstra-ordinaires") ------ */
.ings{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:var(--s6)}
.ing{position:relative;display:flex;flex-direction:column;justify-content:flex-end;
  min-height:390px;padding:var(--s5);border-radius:var(--r-card);overflow:hidden;
  text-decoration:none;background:var(--sand);
  transition:transform .55s cubic-bezier(.2,.7,.3,1)}
.ing:hover{transform:translateY(-6px)}
.ing img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ing .ov{position:absolute;inset:0;background:linear-gradient(180deg,
  rgba(10,38,33,.14) 26%,rgba(10,38,33,.62) 66%,rgba(10,38,33,.9) 100%)}
.ing .tx{position:relative;z-index:2;color:#fff}
.ing .lbl{color:var(--teal-lt)}
.ing h3{font-family:var(--serif);font-weight:500;font-size:var(--t-h3);
  margin:var(--s2) 0 0;color:#fff}
.ing h3 sup{font-size:.42em;vertical-align:.7em;margin-left:.06em}
.ing p{margin:var(--s2) 0 0;font-size:var(--t-ui);line-height:1.55;
  color:rgba(255,255,255,.86);max-width:34ch}
.ing .go{position:absolute;right:var(--s4);bottom:var(--s4);z-index:3;width:40px;height:40px;
  border-radius:50%;background:rgba(253,251,247,.94);display:grid;place-items:center;
  color:var(--ink);font-size:var(--t-cap);
  transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.ing:hover .go{transform:translateX(7px)}
/* a card with no photograph yet: the teal ground stands in, not a grey box */
.ing.noph{background:linear-gradient(150deg,#1B7A70,#0B423C)}
.ing.noph.orange{background:linear-gradient(150deg,#B4633A,#6E3A20)}

/* ---------- claims row (circular economy / vegetarian / biosourced) ------ */
.claims{display:flex;flex-wrap:wrap;gap:10px;margin-top:var(--s5)}
.claims span{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;
  border:1px solid var(--hair);border-radius:var(--r-pill);background:var(--paper);
  font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wide);
  text-transform:uppercase;color:var(--teal-txt)}
.claims span::before{content:'';width:7px;height:7px;border-radius:50%;
  background:var(--teal);flex:none}
.band.deepteal .claims span{background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.26);color:var(--teal-lt)}

/* ---------- the spec table ---------------------------------------------- */
/* Same construction as .proofspec .spec in the boussole, lifted out of its
   parent so any page can use it. */
.sp{list-style:none;margin:var(--s5) 0 0;padding:0}
.sp li{display:flex;justify-content:space-between;align-items:baseline;gap:24px;
  padding:17px 0;border-bottom:1px solid var(--hair)}
.sp li:first-child{border-top:1px solid var(--ink)}
.sp b{font-family:var(--serif);font-weight:400;font-size:var(--t-h3);color:var(--ink)}
.sp em{font-style:normal;font:400 var(--t-cap)/1.35 var(--mono);color:var(--ink2);
  letter-spacing:var(--ls-snug);text-align:right}
.sp li.hi b{color:var(--teal-txt)}
.sp li.hi em{color:var(--ink);font-weight:500}
.band.deepteal .sp li{border-bottom-color:rgba(255,255,255,.18)}
.band.deepteal .sp li:first-child{border-top-color:rgba(255,255,255,.5)}
.band.deepteal .sp b{color:#fff}
.band.deepteal .sp em{color:rgba(255,255,255,.72)}
.band.deepteal .sp li.hi b{color:var(--teal-lt)}

/* ---------- the demand counter ----------------------------------------- */
.demand{display:flex;align-items:baseline;gap:var(--s4);margin-top:var(--s5);flex-wrap:wrap}
.demand b{font-family:var(--serif);font-weight:400;font-size:clamp(58px,8.4vw,128px);
  line-height:.9;letter-spacing:var(--ls-tight);color:var(--teal-txt);
  font-variant-numeric:tabular-nums lining-nums}
.band.deepteal .demand b{color:var(--teal-lt)}
.demand i{font-style:normal;font-size:var(--t-body);line-height:1.5;font-weight:300;
  color:var(--ink2);max-width:22ch}
.band.deepteal .demand i{color:rgba(255,255,255,.84)}

/* ---------- press: the logo wall and the quote cards -------------------- */
.logos{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(26px,3.6vw,56px);
  margin-top:var(--s5)}
.logos img{height:clamp(24px,2.3vw,34px);width:auto;opacity:.62;
  filter:grayscale(1) contrast(.9);transition:opacity .35s,filter .35s}
.logos img:hover{opacity:1;filter:grayscale(0) contrast(1)}
.band.deepteal .logos img{filter:grayscale(1) brightness(0) invert(1);opacity:.7}
.band.deepteal .logos img:hover{opacity:1}

/* the old site put these eight press quotes in an auto-rotating carousel.
   A static wall reads faster, needs no controls, and satisfies WCAG 2.2.2
   by removal rather than by adding a pause button. */
.press{columns:3;column-gap:20px;margin-top:var(--s6)}
.press figure{break-inside:avoid;margin:0 0 20px;padding:var(--s4);
  background:var(--paper);border:1px solid var(--hair);border-radius:var(--r-card)}
.band.dim .press figure{background:var(--paper)}
.press blockquote{margin:0;font-family:var(--serif);font-weight:400;
  font-size:var(--t-h4);line-height:1.34;letter-spacing:-.018em;color:var(--ink);
  hanging-punctuation:first last}
.press figcaption{margin-top:var(--s3);padding-top:var(--s2);
  border-top:1px solid var(--hair);display:flex;justify-content:space-between;
  align-items:baseline;gap:14px;font:500 var(--t-micro)/1.4 var(--mono);
  letter-spacing:var(--ls-wide);text-transform:uppercase;color:var(--teal-txt)}
.press figcaption time{color:var(--ink2);text-transform:none;letter-spacing:var(--ls-snug);
  font-weight:400;white-space:nowrap}

/* the two press-kit downloads */
.kit{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:var(--s6)}
.kit a{display:flex;gap:var(--s4);align-items:flex-start;padding:var(--s4);
  text-decoration:none;background:var(--paper);border:1px solid var(--hair);
  border-radius:var(--r-card);transition:transform .5s cubic-bezier(.2,.7,.3,1),border-color .3s}
.kit a:hover{transform:translateY(-4px);border-color:var(--teal)}
.kit .ph{flex:none;width:96px;border-radius:var(--r-hair);overflow:hidden;background:var(--sand)}
.kit .ph img{width:100%;display:block}
.kit h3{font-family:var(--serif);font-weight:500;font-size:var(--t-h4);color:var(--ink);margin:0}
.kit p{margin:var(--s1) 0 0;font-size:var(--t-cap);line-height:1.6;color:var(--ink2)}
.kit em{display:block;margin-top:var(--s2);font-style:normal;
  font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wide);
  text-transform:uppercase;color:var(--teal-txt)}

/* ---------- the team grid ---------------------------------------------- */
.tgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:var(--s6)}
.tcard{text-align:left}
.tcard .ph{position:relative;border-radius:var(--arch);overflow:hidden;aspect-ratio:.86;
  background:var(--aqua)}
.tcard .ph img{width:100%;height:100%;object-fit:cover;object-position:top center;
  transition:transform 1.1s cubic-bezier(.2,.7,.3,1)}
.tcard:hover .ph img{transform:scale(1.05)}
.tcard b{display:block;margin-top:var(--s3);font-family:var(--serif);font-weight:500;
  font-size:var(--t-h4);color:var(--ink)}
.tcard span{display:block;margin-top:4px;font-size:var(--t-cap);line-height:1.5;color:var(--ink2)}
.tcard em{display:inline-block;margin-top:var(--s2);font-style:normal;
  font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wide);
  text-transform:uppercase;color:var(--teal-txt)}
/* No new portraits exist yet. The old page's cards cannot be reused: the name,
   role and site are baked into each PNG in the previous brand's typeface, and
   they sit too low to crop away without cutting the face. So the tile carries
   the initial on a brand ground and the name is set as real text — which also
   means it is finally selectable, translatable and readable by a screen reader.
   Swap .mono for an <img> when the shoot happens; nothing else changes. */
.tcard .mono{position:absolute;inset:0;display:grid;place-items:center;
  font-family:var(--serif);font-weight:500;font-size:clamp(46px,5vw,76px);
  line-height:1;color:var(--teal-deep);background:linear-gradient(150deg,var(--aqua),#C9E6DF)}
.tcard:nth-child(3n+2) .mono{background:linear-gradient(150deg,var(--butter),var(--butter-d));
  color:#5A4413}
.tcard:nth-child(3n+3) .mono{background:linear-gradient(150deg,#CFDCC7,var(--sage));
  color:#33402C}

/* the founders read larger — they are the face of the company */
.tgrid.lead{grid-template-columns:repeat(3,1fr);margin-bottom:var(--rhythm)}
.tgrid.lead .ph{aspect-ratio:.94}
.tgrid.lead b{font-size:var(--t-h3)}

/* ---------- the values list -------------------------------------------- */
.vals{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--s5) var(--s6);
  margin-top:var(--s6)}
.vals>div{border-top:1px solid var(--ink);padding-top:var(--s3)}
.vals b{display:block;font-family:var(--serif);font-weight:500;font-size:var(--t-h3);
  color:var(--ink)}
.vals p{margin:var(--s2) 0 0;font-size:var(--t-body);line-height:var(--lh-body);
  font-weight:300;color:var(--ink2);max-width:46ch}
.band.deepteal .vals>div{border-top-color:rgba(255,255,255,.5)}

/* ---------- the job list ----------------------------------------------- */
.jobs{margin-top:var(--s6);border-top:1px solid var(--ink)}
.jobs a{display:grid;grid-template-columns:1fr auto auto auto;gap:var(--s4);
  align-items:center;padding:var(--s4) 0;border-bottom:1px solid var(--hair);
  text-decoration:none;transition:padding-left .4s cubic-bezier(.2,.7,.3,1)}
.jobs a:hover{padding-left:12px}
.jobs b{font-family:var(--serif);font-weight:500;font-size:var(--t-h4);color:var(--ink);
  transition:color .3s}
.jobs a:hover b{color:var(--teal-txt)}
.jobs .tag{font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wide);
  text-transform:uppercase;padding:8px 14px;border-radius:var(--r-pill);
  background:var(--aqua);color:var(--teal-deep);white-space:nowrap}
.jobs .tag.stage{background:var(--sand);color:#6B4A25}
.jobs .meta{font:400 var(--t-cap)/1 var(--mono);color:var(--ink2);white-space:nowrap}
.jobs .go{width:36px;height:36px;border-radius:50%;background:var(--teal);color:#04231F;
  display:grid;place-items:center;font-size:var(--t-cap);flex:none;
  transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.jobs a:hover .go{transform:translateX(6px)}

/* ---------- a job page ------------------------------------------------- */
.jlead{padding:calc(var(--rhythm) + 34px) 0 var(--s6);
  background:linear-gradient(168deg,#134F47 0%,#0F4640 46%,#0A2621 100%);color:#fff}
.jlead .lbl{color:var(--teal-lt)}
.jlead h1{font-family:var(--serif);font-weight:500;font-size:var(--t-h1);
  line-height:var(--lh-display);letter-spacing:var(--ls-tight);color:#fff;
  margin:var(--s2) 0 0;max-width:24ch}
.jlead .lede{margin:var(--s4) 0 0;font-size:var(--t-body);line-height:var(--lh-body);
  font-weight:300;color:rgba(255,255,255,.86);max-width:56ch}
.jfacts{display:flex;flex-wrap:wrap;gap:var(--s2);margin-top:var(--s5)}
.jfacts span{padding:10px 18px;border-radius:var(--r-pill);
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.26);
  font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wide);
  text-transform:uppercase;color:#fff}

.jbody{padding:var(--rhythm) 0;background:var(--paper)}
.jbody .wrap{display:grid;grid-template-columns:1.25fr .75fr;gap:var(--s6);align-items:start}
.jmain h2{font-family:var(--serif);font-weight:500;font-size:var(--t-h3);
  line-height:var(--lh-snug);letter-spacing:-.022em;color:var(--ink);
  margin:var(--rhythm) 0 0;max-width:26ch}
.jmain>h2:first-child{margin-top:0}
.jmain h3{font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wider);
  text-transform:uppercase;color:var(--teal-txt);margin:var(--s5) 0 0}
.jmain p{margin:var(--s3) 0 0;font-size:var(--t-body);line-height:var(--lh-body);
  font-weight:300;color:var(--ink2);max-width:56ch}
.jmain ul{margin:var(--s3) 0 0;padding:0;list-style:none;max-width:58ch}
.jmain li{position:relative;padding:0 0 0 26px;margin-top:var(--s2);
  font-size:var(--t-body);line-height:var(--lh-body);font-weight:300;color:var(--ink2)}
.jmain li::before{content:'';position:absolute;left:0;top:.62em;width:9px;height:1px;
  background:var(--teal)}
.jmain strong{font-weight:600;color:var(--ink)}
.jmain .claim{margin:var(--s5) 0 0}

/* the practical-info card and the process, in the side column */
.jside{position:sticky;top:104px}
.jcard{background:var(--cream);border-radius:var(--r-card);padding:var(--s5)}
.jcard+.jcard{margin-top:var(--s3)}
.jcard h3{font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wider);
  text-transform:uppercase;color:var(--teal-txt);margin:0}
.jcard dl{margin:var(--s3) 0 0}
.jcard dt{font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wide);
  text-transform:uppercase;color:var(--ink2);margin-top:var(--s3)}
.jcard dd{margin:6px 0 0;font-size:var(--t-ui);line-height:1.5;color:var(--ink)}
.jcard ol{margin:var(--s3) 0 0;padding:0;list-style:none;counter-reset:step}
.jcard ol li{counter-increment:step;position:relative;padding-left:34px;margin-top:var(--s3)}
.jcard ol li::before{content:counter(step);position:absolute;left:0;top:-2px;
  width:24px;height:24px;border-radius:50%;background:var(--teal);color:#04231F;
  display:grid;place-items:center;font:500 var(--t-micro)/1 var(--mono)}
.jcard ol b{display:block;font-size:var(--t-ui);color:var(--ink);font-weight:500}
.jcard ol span{display:block;margin-top:3px;font-size:var(--t-cap);line-height:1.5;color:var(--ink2)}
.jcard .btn{margin-top:var(--s4)}

/* ---------- forms ------------------------------------------------------ */
.form{margin-top:var(--s6)}
.fr{display:grid;grid-template-columns:1fr 1fr;gap:var(--s3)}
.fr.one{grid-template-columns:1fr}
.f{display:block;margin-top:var(--s3)}
.f span{display:block;font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wide);
  text-transform:uppercase;color:var(--ink2);margin-bottom:9px}
.f span b{color:var(--clay);font-weight:500}
.f input,.f textarea,.f select{width:100%;padding:14px 17px;border-radius:12px;
  border:1px solid var(--hair);background:#fff;color:var(--ink);
  font:400 var(--t-ui)/1.5 var(--sans);transition:border-color .25s,box-shadow .25s}
.f textarea{min-height:112px;resize:vertical}
.f input:focus,.f textarea:focus,.f select:focus{outline:none;border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(46,178,164,.22)}
.f .hint{margin-top:7px;font-size:var(--t-cap);line-height:1.5;color:var(--ink2);
  text-transform:none;letter-spacing:normal;font-family:var(--sans);font-weight:300}
.drop{margin-top:9px;padding:var(--s5);border:1px dashed var(--hair);border-radius:12px;
  background:#fff;text-align:center;font-size:var(--t-cap);color:var(--ink2)}
.form .btn{margin-top:var(--s5)}

/* ---------- contact --------------------------------------------------- */
.people{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:var(--s6)}
.person{padding:var(--s5);background:var(--paper);border:1px solid var(--hair);
  border-radius:var(--r-card)}
.person .lbl{color:var(--teal-txt)}
.person b{display:block;margin-top:var(--s2);font-family:var(--serif);font-weight:500;
  font-size:var(--t-h4);color:var(--ink)}
.person a{display:inline-block;margin-top:var(--s2);font-size:var(--t-ui);
  color:var(--teal-txt);text-decoration:none;border-bottom:1px solid var(--teal);
  word-break:break-all}
.person a:hover{color:var(--ink)}
.addr{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:var(--s5)}
.addr div{padding:var(--s4);border-top:1px solid var(--ink)}
.addr .lbl{color:var(--teal-txt)}
.addr p{margin:var(--s2) 0 0;font-size:var(--t-ui);line-height:1.6;color:var(--ink)}

/* ---------- the contents page ----------------------------------------- */
.toc{margin-top:var(--s6)}
.toc h2{font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wider);
  text-transform:uppercase;color:var(--teal-txt);margin:var(--rhythm) 0 var(--s3)}
.toc>h2:first-child{margin-top:0}
.toc ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}
.toc li{border-bottom:1px solid var(--hair)}
.toc a{display:flex;align-items:baseline;gap:var(--s4);padding:var(--s3) 0;
  text-decoration:none;transition:padding-left .4s cubic-bezier(.2,.7,.3,1)}
.toc a:hover{padding-left:12px}
.toc b{font-family:var(--serif);font-weight:500;font-size:var(--t-h4);color:var(--ink);
  flex:none;transition:color .3s}
.toc a:hover b{color:var(--teal-txt)}
.toc span{font-size:var(--t-cap);color:var(--ink2);line-height:1.5}
.toc em{margin-left:auto;font-style:normal;font:400 var(--t-micro)/1 var(--mono);
  color:var(--ink2);white-space:nowrap;flex:none}

/* ---------- a note the founder needs to see -------------------------- */
/* Used where the old site's content depends on an asset or a fact I could not
   source. Deliberately loud: it is not meant to survive to production. */
.todo{margin:var(--s5) 0 0;padding:var(--s4);border-left:3px solid var(--clay);
  background:var(--sand);border-radius:0 var(--r-hair) var(--r-hair) 0}
.todo b{display:block;font:500 var(--t-micro)/1 var(--mono);letter-spacing:var(--ls-wide);
  text-transform:uppercase;color:#8A4A22}
.todo p{margin:var(--s2) 0 0;font-size:var(--t-cap);line-height:1.6;color:var(--ink)}
.todo ul{margin:var(--s2) 0 0;padding:0 0 0 18px}
.todo li{margin-top:4px;font-size:var(--t-cap);line-height:1.6;color:var(--ink)}
.plead .todo{max-width:74ch}

/* ---------- the legal notice ------------------------------------------ */
/* Long-form text on the job-page grid: the reading column, plus a sommaire in
   the side column. Links get the teal used on the contact page — the
   browser's default blue is a forbidden colour. */
.legal a:not(.btn){color:var(--teal-txt);text-decoration:none;
  border-bottom:1px solid var(--teal);overflow-wrap:anywhere}
.legal .jmain h2{scroll-margin-top:104px}
.legal .jmain .jcard{margin-top:var(--s4)}
.legal .jcard p{margin:var(--s3) 0 0;font-size:var(--t-cap);line-height:1.6;color:var(--ink2)}
.legal .jcard ol a{display:block;border-bottom:0;color:inherit}
.legal .jcard ol a:hover b{color:var(--teal-txt)}
.legal .fine{margin:var(--s6) 0 0;font-size:var(--t-cap);color:var(--ink2)}
/* a law or article number must not split at its hyphen */
.legal .nw{white-space:nowrap}
/* "Directeur de la publication" wraps on a phone; the base rule's /1 would
   set its two lines touching */
.legal .jcard dt{line-height:1.35}

/* ---------- the nav over a light page lead ---------------------------- */
/* The bar is built for the homepage, where it floats over a dark video hero:
   .nl is white, the mark is white and the light wordmark is the visible one.
   Its own script only flips that to dark once you have scrolled past the hero.
   These catalogue pages open on .plead, which is cream — so white-on-cream is
   unreadable for the whole first screen. They therefore start in the same
   treatment .solid gives, and the script's later .solid/.dock agrees with it.

   body.job is deliberately excluded: a job page opens on .jlead, which is the
   deep-teal gradient, so there the original white nav is the correct one.

   :not(.mopen) keeps the mobile drawer's white-on-teal state intact. */
body.pg nav.top:not(.mopen){background:rgba(253,251,247,.9);
  border-bottom-color:var(--hair);box-shadow:0 1px 20px rgba(20,32,30,.05)}
body.pg nav.top:not(.mopen) .nl,
body.pg nav.top:not(.mopen) .brand b{color:var(--ink)}
body.pg nav.top:not(.mopen) .brand .mk{background:var(--teal)}
body.pg nav.top:not(.mopen) .brand .wm .wl{opacity:0}
body.pg nav.top:not(.mopen) .brand .wm .wd{opacity:1}
body.pg nav.top:not(.mopen) .mburger span{background:var(--ink)}

/* the current tab. body.pg's ink rule above is more specific than
   nav.top .nl.here, so on these pages it needs the same prefix to show. */
nav.top .nl.here{color:var(--teal-txt)}
nav.top.solid .nl.here,nav.top.dock .nl.here{color:var(--teal-txt)}
body.pg nav.top:not(.mopen) .nl.here{color:var(--teal-txt)}
/* the phone menu opens on deep teal, where --teal-txt drops to 1.9:1; the
   light teal reads at 6.78:1. Scoped to the phone menu's width (NAV_BREAK in
   build.py): on a computer an open mega-menu is cream, and there --teal-txt
   is the right one. */
@media(max-width:1300px){nav.top.mopen .nl.here{color:var(--teal-lt)}}

/* the bar holds nine items since Blog joined it: 18px between them instead
   of 26px lets the right half fit beside the centred logo (530px of 539px).
   A label never wraps; the drawer sets its own gap of 0. */
nav.top .nset{gap:18px}
nav.top .nl{white-space:nowrap}

/* ---------- the blog ------------------------------------------------- */
/* Index: the Circul'Egg news story as one large photo card, then the
   Reggenerate articles as cards that open on that site (linked, not copied,
   so the same text is never published twice). Article: the job-page grid,
   the text in .jmain and the sommaire in .jside, like the legal notice. */
.kick a{color:inherit;text-decoration:none;border-bottom:1px solid var(--hair)}
.kick a:hover{border-bottom-color:var(--teal)}
.bph{display:block;overflow:hidden;border-radius:var(--r-card);background:var(--sand)}
.bph img{display:block;width:100%;height:100%;object-fit:cover;
  transition:transform .8s cubic-bezier(.2,.7,.3,1)}
a:hover .bph img{transform:scale(1.035)}
.bmeta{display:block;font:500 var(--t-micro)/1.5 var(--mono);letter-spacing:var(--ls-wide);
  text-transform:uppercase;color:var(--teal-txt)}

/* index: the lead story */
.bfeat{margin-top:var(--s6)}
.bfeat a{display:grid;grid-template-columns:1.2fr 1fr;gap:var(--s6);align-items:center;
  text-decoration:none;color:var(--ink)}
.bfeat .bph{aspect-ratio:3/2}
.bfeat h2{margin:var(--s2) 0 0;font-family:var(--serif);font-weight:500;font-size:var(--t-h3);
  line-height:var(--lh-snug);letter-spacing:-.022em;color:var(--ink);max-width:24ch;transition:color .3s}
.bfeat a:hover h2{color:var(--teal-txt)}
.bfeat p{margin:var(--s3) 0 0;font-size:var(--t-ui);line-height:1.6;font-weight:300;
  color:var(--ink2);max-width:48ch}
.bfeat .btn{margin-top:var(--s4)}
.bfeat a:hover .btn i{transform:translateX(5px)}

/* the Reggenerate articles */
.bcards{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--s5) 20px;margin-top:var(--s5)}
.bcard a{display:block;height:100%;text-decoration:none;color:var(--ink)}
.bcard .bph{aspect-ratio:4/3;margin-bottom:var(--s3)}
.bcard h3{margin:var(--s1) 0 0;font-family:var(--serif);font-weight:500;font-size:var(--t-h4);
  line-height:1.3;letter-spacing:-.012em;color:var(--ink);transition:color .3s}
.bcard a:hover h3{color:var(--teal-txt)}
.bout{display:inline-block;margin-top:var(--s2);font:500 var(--t-cap)/1.4 var(--sans);
  color:var(--teal-txt);border-bottom:1px solid var(--teal)}
.bout i{font-style:normal}
.bfeat a:focus-visible,.bcard a:focus-visible{outline:2px solid var(--teal-txt);
  outline-offset:6px;border-radius:var(--r-card)}

/* the article */
.plead.bpost{padding-bottom:var(--s5)}
.plead.bpost .d1{font-size:clamp(36px,4.6vw,66px);max-width:24ch}
.pmeta{margin:var(--s3) 0 0;font:500 var(--t-micro)/1.5 var(--mono);letter-spacing:var(--ls-wide);
  text-transform:uppercase;color:var(--ink2)}
.pcover{margin:var(--s5) 0 0;aspect-ratio:21/9;overflow:hidden;border-radius:var(--r-card);
  background:var(--sand)}
.pcover img{display:block;width:100%;height:100%;object-fit:cover}
.bmeta time,.pmeta time{white-space:nowrap}
.jbody.bpost{padding-top:var(--s5)}
.bpost .jmain h2{margin-top:var(--s6);scroll-margin-top:104px}
.bpost .jmain>h2:first-child{margin-top:0}
.bpost .jmain blockquote{margin:var(--s4) 0 0;padding-left:var(--s3);border-left:2px solid var(--teal);
  font-family:var(--serif);font-weight:400;font-size:var(--t-h4);line-height:1.42;
  letter-spacing:-.012em;color:var(--ink);max-width:44ch;hanging-punctuation:first}
.bpost .jcard ol a{display:block;color:inherit;text-decoration:none}
.bpost .jcard ol a:hover b{color:var(--teal-txt)}

/* ---------- mobile ---------------------------------------------------- */
@media(max-width:1080px){
  .bens{grid-template-columns:repeat(2,1fr)}
  .press{columns:2}
  .tgrid{grid-template-columns:repeat(3,1fr)}
  .jbody .wrap{grid-template-columns:1fr;gap:var(--s6)}
  .jside{position:static}
  /* on one column the sommaire is only useful above the text it indexes */
  .legal .jside{order:-1}
  .bcards{grid-template-columns:repeat(2,1fr)}
  .bfeat a{gap:var(--s5)}
  /* on one column the article's sommaire would sit after the text it indexes */
  .bpost .jtoc{display:none}
}
@media(max-width:820px){
  .plead{padding:calc(var(--rhythm) + 10px) 0 calc(var(--rhythm) - 40px)}
  .bens,.ings,.kit,.vals,.people,.addr,.fr{grid-template-columns:1fr}
  .press{columns:1}
  .tgrid,.tgrid.lead{grid-template-columns:repeat(2,1fr)}
  .demand b{font-size:clamp(50px,15vw,74px)}
  /* the title takes its own row, the tag and the meta share the next one.
     The tag must not stretch across its 1fr column — a pill is sized by its
     label, not by the grid. */
  .jobs a{grid-template-columns:auto 1fr;gap:var(--s2) var(--s3);padding:var(--s3) 0}
  .jobs b{grid-column:1/-1}
  .jobs .tag{justify-self:start}
  .jobs .meta{justify-self:end}
  .jobs .go{display:none}
  .toc a{flex-wrap:wrap;gap:var(--s1)}
  .toc em{margin-left:0;width:100%}
  .bfeat a{grid-template-columns:1fr;gap:var(--s4)}
  .pcover{aspect-ratio:16/10}
}
@media(max-width:560px){
  .tgrid,.tgrid.lead{grid-template-columns:1fr}
  .bcards{grid-template-columns:1fr}
}

/* respect the visitor's setting — the design system does this too */
@media(prefers-reduced-motion:reduce){
  .ing,.kit a,.jobs a,.toc a,.tcard .ph img{transition:none}
  .ing:hover,.kit a:hover{transform:none}
  .bph img,.bfeat h2,.bcard h3{transition:none}
  a:hover .bph img{transform:none}
}

/* ---------- circulegg-tout.html: the page divider ---------------------- */
/* Only used by the single-scroll review build, where seventeen pages run
   together and you need to know which one you are looking at. */
.pgmark{padding:var(--s6) 0;background:var(--night);position:relative}
.pgmark .lbl{color:var(--teal-lt)}
.pgmark h2{margin:var(--s2) 0 0;font-family:var(--serif);font-weight:500;
  font-size:var(--t-h2);line-height:var(--lh-head);letter-spacing:var(--ls-tight);color:#fff}
/* in the combined file the sticky job sidebar fights seventeen page breaks */
body.tout .jside{position:static}

/* ---------- the privacy policy draft (19 Nov 2026, Builder brief task 03) ---------- */
/* One plain line under the lede says the page is a draft for legal review, and
   every fact Circul'Egg still has to supply is a highlighted [À COMPLÉTER] mark.
   Both are meant to disappear once a lawyer or DPO has approved the text.
   Butter ground, ink text: 13.6:1. */
.plead .draft{margin:var(--s4) 0 0;max-width:62ch;font-size:var(--t-cap);line-height:1.6;color:var(--ink)}
mark.tbc{background:var(--butter);color:var(--ink);padding:1px 5px;border-radius:4px;
  -webkit-box-decoration-break:clone;box-decoration-break:clone}

/* ---------- forms sent by forms.js (19 Nov 2026, Builder brief task 10) ---------- */
/* the spam trap: out of sight and out of the tab order */
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
/* consent box under the application form */
.fconsent{display:flex;gap:12px;align-items:flex-start;margin:var(--s4) 0 var(--s4);
  font-size:var(--t-cap);line-height:1.55;color:var(--ink);cursor:pointer}
.fconsent input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--teal-deep);cursor:pointer}
.fconsent a{color:var(--teal-txt);text-decoration:underline;text-underline-offset:3px}
.cf-slot:empty{display:none}
.cf-slot{margin:0 0 var(--s4)}
/* thank-you and error lines (the thank-you keeps the look of the old mockup line) */
.fmsg{margin:var(--s4) 0 0;padding:15px 20px;border-radius:12px;font-size:var(--t-ui);line-height:1.5}
.fmsg.ok{background:var(--aqua);color:var(--teal-deep)}
.fmsg.fail{background:var(--sand);color:var(--ink)}
.form button[disabled]{opacity:.7;cursor:progress}
