/* ==========================================================================
   FAREVA redesign concept: "The fill line"
   Tokens first, then base, then components in page order.
   ========================================================================== */

:root {
  /* brand */
  --ink: #221417;
  --red: #7A232E;          /* the logo fill and the live site's primary */
  --red-deep: #5E1A23;     /* pressed and hover on red */
  --oxblood: #2B0E13;      /* dark sections: the live site's hover #3D1217, deepened */
  --oxblood-2: #3A141B;    /* raised surfaces on oxblood */
  --oxblood-3: #200A0E;    /* the footer */
  --paper: #F3F2EF;        /* page ground: coated spec-sheet paper */
  --white: #FFFFFF;
  --muted: #6E5F61;        /* 5.4:1 on paper */
  --blush: #D8C6C8;        /* secondary text on oxblood, 10.9:1 */
  --line: #DDD8D4;
  --line-strong: #C9C1BD;
  --line-dark: rgba(255, 255, 255, .14);
  --notice: #FFF1A6;       /* the concept notice only */

  /* sectors: light fills panels and marks on oxblood, deep marks small things on light grounds */
  --s-household: #F28C00; --s-household-d: #B35F00;
  --s-beauty: #F4D2A5;    --s-beauty-d: #A9773F;
  --s-makeup: #E8A0A6;    --s-makeup-d: #B0555F;
  --s-pharma: #CFCE74;    --s-pharma-d: #7A7A1F;
  --s-api: #3A87B1;       --s-api-d: #2B6A8E;

  /* type */
  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.35rem, 4.3vw, 4rem);
  --fs-h2: clamp(1.9rem, 3.2vw, 2.9rem);
  --fs-h3: 1.375rem;
  --fs-lede: clamp(1.125rem, 1.4vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  /* layout */
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 10vw, 140px);
  --radius-s: 3px;
  --radius: 6px;
  --radius-l: 10px;
  --shadow: 0 28px 56px -32px rgba(43, 14, 19, .5);
  --utility-h: 36px;
  --masthead-h: 76px;

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}
@media (max-width: 900px) { :root { --masthead-h: 64px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* on html, never body: body overflow breaks position: sticky */
  scroll-padding-top: calc(var(--masthead-h) + 20px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 560; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
b, strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
table { border-collapse: collapse; }
.num { font-stretch: 125%; font-variant-numeric: lining-nums; font-weight: 520; letter-spacing: -.01em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.network :focus-visible, .contact :focus-visible, .site-footer :focus-visible,
.menu :focus-visible, .utility :focus-visible { outline-color: var(--white); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 300;
  padding: 10px 16px; border-radius: var(--radius-s);
  background: var(--ink); color: var(--white); text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* sector swatch: a small square in the sector colour, never a circle */
.sw { display: inline-block; flex: none; width: .72em; height: .72em; vertical-align: -.02em; background: var(--c, var(--red)); }
.sw--household { --c: var(--s-household); }
.sw--beauty { --c: var(--s-beauty); box-shadow: inset 0 0 0 1px rgba(169, 119, 63, .45); }
.sw--makeup { --c: var(--s-makeup); }
.sw--pharma { --c: var(--s-pharma); box-shadow: inset 0 0 0 1px rgba(122, 122, 31, .35); }
.sw--api { --c: var(--s-api); }
.sw--corporate { --c: var(--red); }

.link { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.link:hover { color: var(--red-deep); text-decoration-thickness: 2px; }

.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--muted); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: var(--radius-s);
  font-weight: 560; font-size: .96875rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-deep); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--red); }
.btn--light:hover { background: var(--paper); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); color: var(--ink);
  transition: border-color .2s, background-color .2s, opacity .2s, transform 160ms var(--ease-out);
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* ---------- section heads ---------- */
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.section-head h2 { font-size: var(--fs-h2); font-stretch: 118%; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 64px; }
.section-head--split > * { min-width: 0; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   LOADER: the frame draws, fills with Fareva red, the wordmark rises
   ========================================================================== */
.loader { display: none; }
.js .loader { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.js body:not(.is-loading) .loader { visibility: hidden; }
.loader__curtain { position: absolute; inset: 0; background: var(--paper); }
.loader__edge { position: absolute; left: 0; top: 100%; width: 100%; height: 9vh; fill: var(--paper); }
.loader__stage {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 30px;
}
.loader__mono { width: 92px; height: 92px; overflow: visible; }
.loader__frame { fill: none; stroke: var(--red); stroke-width: 8; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__fill { fill: var(--red); }
.loader__f { fill: var(--red); }
.loader__f--knock { fill: var(--paper); }
.loader__word { width: 208px; height: auto; fill: var(--red); overflow: hidden; }
.loader__word-ref { display: none; }
.loader__letter { will-change: transform; }

/* ==========================================================================
   CONCEPT NOTICE + HEADER
   ========================================================================== */
.concept-note { background: var(--notice); color: var(--ink); font-size: .84375rem; line-height: 1.4; }
.concept-note p { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: 9px 0; text-align: center; }
.concept-note a { font-weight: 600; text-underline-offset: 2px; white-space: nowrap; }

.site-header { position: sticky; top: calc(var(--utility-h) * -1); z-index: 100; }
.utility { height: var(--utility-h); background: var(--oxblood); color: var(--blush); font-size: .8125rem; }
.utility__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility__links { display: flex; gap: 22px; }
.utility a { text-decoration: none; transition: color .2s; }
.utility a:hover { color: var(--white); }
.lang { display: flex; gap: 2px; }
.lang a { padding: 2px 6px; border-radius: 2px; }
.lang a[aria-current="true"] { color: var(--white); font-weight: 600; }

.masthead {
  height: var(--masthead-h); background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
@supports (backdrop-filter: blur(8px)) { .masthead { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); } }
.is-scrolled .masthead { box-shadow: 0 10px 30px -22px rgba(43, 14, 19, .45); }
.masthead__inner { height: 100%; display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.brand { display: block; flex: none; color: var(--red); }
.brand__logo { width: clamp(132px, 12vw, 164px); height: auto; aspect-ratio: 259 / 27; fill: currentColor; transition: width .3s var(--ease-out); }
.is-scrolled .brand__logo { width: clamp(124px, 11vw, 148px); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__trigger, .nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  font-size: .96875rem; font-weight: 520; text-decoration: none; color: var(--ink);
  border-radius: var(--radius-s); transition: color .2s, background-color .2s;
}
.nav__trigger svg { width: 10px; height: 10px; transition: transform 200ms var(--ease-out); }
.nav__trigger:hover, .nav__link:hover, .nav__trigger[aria-expanded="true"] { color: var(--red); }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.masthead__cta { flex: none; }

.dropdown {
  position: absolute; left: -12px; top: calc(100% + 14px); z-index: 5;
  width: max-content; max-width: 420px;
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s linear 150ms;
}
.dropdown.is-open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s;
}
.dropdown__inner { padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dropdown__links a {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline;
  padding: 12px 14px; border-radius: var(--radius-s); text-decoration: none; font-weight: 560; font-size: .96875rem;
  transition: background-color .15s;
}
.dropdown__links a:not(:has(.sw)) { grid-template-columns: 1fr; }
.dropdown__links a span { grid-column: -2 / -1; display: block; margin-top: 2px; font-weight: 400; font-size: .84375rem; color: var(--muted); }
.dropdown__links a:hover { background: var(--paper); }
.dropdown--sectors { max-width: 440px; }

.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; }
.menu-toggle__bars { position: absolute; left: 11px; top: 16px; width: 22px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { bottom: 0; }

@media (max-width: 1080px) { .nav__trigger, .nav__link { padding: 0 9px; font-size: .9375rem; } }
@media (max-width: 960px) {
  .nav, .masthead__cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .utility__links a:not(:first-child) { display: none; }
}

/* full-screen menu (phones): a modal dialog, clip-path reveal */
.menu {
  position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column;
  padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom));
  background: var(--oxblood); color: var(--white);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .55s cubic-bezier(.7, 0, .2, 1) .14s, visibility 0s linear .7s;
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--masthead-h); flex: none; }
.menu__brand svg { width: 132px; height: auto; aspect-ratio: 259 / 27; fill: var(--white); }
.menu__close { position: relative; width: 44px; height: 44px; margin-right: -10px; }
.menu__close span, .menu__close span::before { position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; background: var(--white); transform: rotate(45deg); }
.menu__close span::before { content: ""; left: 0; top: 0; transform: rotate(90deg); }
.menu__nav { margin-top: 4vh; }
.menu__nav li, .menu__foot { opacity: 0; transform: translateY(26px); transition: opacity .2s, transform .2s; }
.menu.is-open .menu__nav li, .menu.is-open .menu__foot {
  opacity: 1; transform: none;
  transition: opacity .5s cubic-bezier(.2, .8, .2, 1) calc(.3s + var(--i) * .06s), transform .75s cubic-bezier(.2, .8, .2, 1) calc(.3s + var(--i) * .06s);
}
.menu__nav a {
  display: block; padding: 10px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 520; font-stretch: 118%; line-height: 1.15; text-decoration: none;
}
.menu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 20px; }
.menu__foot .btn { justify-self: start; }
.menu__foot p { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--blush); font-size: .9375rem; }
.menu__foot p a { text-decoration: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 5vw, 64px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-block: 12px; }
.hero__title { font-size: var(--fs-display); font-stretch: 118%; font-weight: 530; line-height: 1.03; letter-spacing: -.022em; }
.hero__lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* five sector panels: tall swatches that fill as the page opens */
.panels { --open: 3.2; display: flex; gap: 8px; min-height: clamp(460px, 62vh, 640px); container-type: inline-size; }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--c-light, var(--line)); }
.panel[data-sector="household"] { --c-light: var(--s-household); }
.panel[data-sector="beauty"] { --c-light: var(--s-beauty); }
.panel[data-sector="makeup"] { --c-light: var(--s-makeup); }
.panel[data-sector="pharma"] { --c-light: var(--s-pharma); }
.panel[data-sector="api"] { --c-light: var(--s-api); }
.panel__link { position: absolute; inset: 0; display: block; color: var(--ink); text-decoration: none; }
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
/* the spine: a solid label, so the name never sits on a pale texture */
.panel__label {
  position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 10px;
  padding: 12px 8px; background: var(--white); font-size: .875rem; font-weight: 580; line-height: 1;
  writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
}
.panel__label .sw { width: 10px; height: 10px; }
/* the note that opens with a panel. It's sized to the open panel from the start (the panels' width
   doesn't change while one grows), so the words never re-wrap mid-animation; it used to stretch with
   the panel (left/right: 10px) and the text reflowed all the way open */
.panel__more {
  position: absolute; left: 54px; bottom: 10px;
  width: calc((100cqw - 32px) * var(--open) / (var(--open) + 4) - 64px);
  padding: 14px 16px; background: var(--white); font-size: .9375rem; line-height: 1.45;
  pointer-events: none;
  clip-path: inset(100% 0 0 0); /* at rest: drained */
  transition: clip-path 220ms var(--ease-in-out); /* leaving: drains fast, before the panel narrows */
}
.panel__more-text { display: block; opacity: 0; transform: translateY(8px); transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .panel { transition: flex-grow .6s var(--ease-out); }
  /* one open panel at a time: hover wins, keyboard focus opens one only while the pointer is elsewhere */
  .panels:hover .panel:hover, .panels:not(:hover) .panel:focus-within { flex-grow: var(--open); }
  .panel:hover .panel__img { transform: scale(1.04); }
  /* once the panel is mostly open, the box fills from the bottom (the page's fill line), then the words rise into it */
  .panels:hover .panel:hover .panel__more, .panels:not(:hover) .panel:focus-within .panel__more {
    clip-path: inset(0 0 0 0);
    transition: clip-path 520ms var(--ease-drawer) 200ms;
  }
  .panels:hover .panel:hover .panel__more-text, .panels:not(:hover) .panel:focus-within .panel__more-text {
    opacity: 1; transform: none;
    transition: opacity 360ms var(--ease-out) 400ms, transform 520ms var(--ease-out) 400ms;
  }
}
/* intro: each panel fills from the bottom, like a container on the line */
.js .is-intro .panel { clip-path: inset(100% 0 0 0); }
.js .is-intro .hero__copy > * { opacity: 0; transform: translateY(22px); }
.hero.is-filled .panel {
  clip-path: inset(0 0 0 0);
  transition: clip-path .95s var(--ease-drawer) calc(var(--i) * 90ms), flex-grow .6s var(--ease-out);
}
.hero.is-filled .hero__copy > * { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.hero.is-filled .hero__copy > :nth-child(2) { transition-delay: .08s; }
.hero.is-filled .hero__copy > :nth-child(3) { transition-delay: .16s; }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .panels { min-height: 360px; }
}
@media (max-width: 640px) {
  .panels { flex-direction: column; min-height: 0; gap: 6px; }
  .panel { flex: none; height: 76px; }
  .panel__label { writing-mode: horizontal-tb; transform: none; top: auto; bottom: 50%; translate: 0 50%; padding: 10px 12px; }
  .panel__more { display: none; }
}

/* ==========================================================================
   FACTS
   ========================================================================== */
.facts { padding-bottom: clamp(56px, 7vw, 96px); }
.facts__row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 28px 24px 28px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact dd { font-size: 1.05rem; color: var(--ink); }
.fact dd .num { display: block; font-size: clamp(2.4rem, 4vw, 3.5rem); line-height: 1; color: var(--red); }
.fact dt { font-size: .9375rem; color: var(--muted); }
.facts__source { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 760px) {
  .facts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   THE FILL LINE
   ========================================================================== */
.fill { padding: var(--section) 0; background: var(--white); }
.fill__intro { display: grid; gap: 18px; max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.fill__intro h2 { font-size: var(--fs-h2); font-stretch: 118%; }
.fill__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.fill__stage { order: 2; }
.steps { order: 1; }
.vessel {
  position: sticky; top: calc(var(--masthead-h) + 7vh);
  width: min(100% - 132px, 520px); margin-left: auto; margin-right: 132px; /* room for the marks */
}
/* the frame: the monogram's square, wall and gap included */
.vessel__window {
  position: relative; aspect-ratio: 1; overflow: hidden;
  outline: 10px solid var(--red); outline-offset: 14px;
  background: #f4f2ee;
}
.vessel__window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vessel__real {
  -webkit-mask-image: linear-gradient(to top, #000 calc(var(--fill) * 100%), transparent calc(var(--fill) * 100% + .35%));
  mask-image: linear-gradient(to top, #000 calc(var(--fill) * 100%), transparent calc(var(--fill) * 100% + .35%));
}
/* the fill line itself */
.vessel__meniscus {
  position: absolute; left: 0; right: 0; bottom: calc(var(--fill) * 100%); height: 0;
  border-top: 1.5px solid var(--red); opacity: calc(min(1, var(--fill) * 30) * (1 - max(0, var(--fill) - .985) * 66));
}
.vessel__box { position: relative; }
.vessel__marks { position: absolute; top: 0; bottom: 0; left: calc(100% + 24px); width: 96px; }
.vessel__marks li {
  position: absolute; left: 0; bottom: calc(var(--at) * 100%); transform: translateY(50%);
  display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 560; color: var(--muted);
  transition: color .3s;
}
.vessel__marks li::before { content: ""; width: 14px; height: 1.5px; background: currentColor; }
.vessel__marks li.is-reached { color: var(--red); }
/* French stage names are longer (Viabilisation, Conditionnement): reserve more room beside the frame */
.vessel__marks li { white-space: nowrap; }
:lang(fr) .vessel { width: min(100% - 172px, 520px); margin-right: 172px; }
:lang(fr) .vessel__marks { width: 140px; }
.vessel__caption { margin-top: 44px; font-size: .8125rem; line-height: 1.45; color: var(--muted); max-width: 46ch; }

.step { position: relative; min-height: 62vh; padding: 8px 0 0 64px; opacity: calc(.38 + var(--near, 1) * .62); transition: opacity .2s linear; }
.step:last-child { min-height: 48vh; }
.step__n {
  position: absolute; left: 0; top: 4px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1.5px solid var(--red); color: var(--red); font-weight: 600; font-stretch: 125%;
  transition: background-color .3s, color .3s;
}
.step.is-active .step__n { background: var(--red); color: var(--white); }
.step h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-stretch: 118%; margin-bottom: 14px; }
.step p { max-width: 50ch; color: var(--ink); }
.step__note { margin-top: 12px; font-size: var(--fs-small); color: var(--muted) !important; }
/* no JS: every step is readable, and the stage shows the finished products */
html:not(.js) .step { opacity: 1; }
html:not(.js) .vessel { --fill: 1 !important; }

@media (max-width: 900px) {
  .fill__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fill__stage { order: 1; position: sticky; top: calc(var(--masthead-h) + 12px); z-index: 2; background: var(--white); padding: 14px 0 18px; }
  .vessel { --vw: min(58vw, 36vh, 330px); position: relative; top: 0; width: var(--vw); margin: 0 0 0 max(15px, calc((100% - var(--vw) - 100px) / 2 + 15px)); }
  .vessel__window { outline-width: 7px; outline-offset: 8px; }
  .vessel__marks { left: calc(100% + 15px); width: 84px; }
  :lang(fr) .vessel { --vw: min(50vw, 34vh, 300px); width: var(--vw); margin-right: 0; margin-left: max(15px, calc((100% - var(--vw) - 134px) / 2 + 15px)); }
  :lang(fr) .vessel__marks { width: 118px; }
  .vessel__marks li { font-size: .75rem; gap: 6px; }
  .vessel__marks li::before { width: 10px; }
  .vessel__caption { display: none; }
  .steps { order: 2; }
  .step { min-height: 44vh; padding-left: 52px; }
  .step:last-child { min-height: 30vh; }
  .fill__caption-m { display: block; }
}

/* ==========================================================================
   SECTORS
   ========================================================================== */
.sectors { padding: var(--section) 0; }
.tabs {
  position: relative; display: flex; gap: 6px; margin-bottom: 36px;
  border-bottom: 1px solid var(--line-strong); overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px;
  font-weight: 560; font-size: 1rem; color: var(--muted); white-space: nowrap; transition: color .2s;
}
.tab[aria-selected="true"], .tab:hover { color: var(--ink); }
.tabs__ink {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: var(--w, 0px); background: var(--red);
  transform: translateX(var(--x, 0px)); transition: transform 280ms var(--ease-in-out), width 280ms var(--ease-in-out);
}
.sector { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.sector[hidden] { display: none; }
.sector.is-entering .sector__body > * { animation: sector-in 420ms var(--ease-out) both; }
.sector.is-entering .sector__body > :nth-child(2) { animation-delay: 30ms; }
.sector.is-entering .sector__body > :nth-child(3) { animation-delay: 60ms; }
.sector.is-entering .sector__body > :nth-child(n + 4) { animation-delay: 90ms; }
.sector.is-entering .sector__media img { animation: media-in 700ms var(--ease-drawer) both; }
@keyframes sector-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes media-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.sector__media { position: sticky; top: calc(var(--masthead-h) + 24px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.sector__media img { width: 100%; height: 100%; object-fit: cover; }
.sector__body { display: grid; gap: 28px; }
.sector__title { font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-stretch: 118%; }
.sector__lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.sector__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.sector__figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 18px 16px 18px 0; }
.sector__figures div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.sector__figures dd { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-stretch: 125%; font-weight: 520; line-height: 1; color: var(--red); }
.sector__figures dt { font-size: .875rem; line-height: 1.35; color: var(--muted); }
.sector__lists { display: grid; gap: 24px; }
.sector__lists h4 { margin-bottom: 12px; font-size: .9375rem; font-weight: 600; }
.sq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.sq-list li { position: relative; padding-left: 20px; }
.sq-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--c, var(--red)); }
.sector[data-sector="household"] { --c: var(--s-household-d); }
.sector[data-sector="beauty"] { --c: var(--s-beauty-d); }
.sector[data-sector="makeup"] { --c: var(--s-makeup-d); }
.sector[data-sector="pharma"] { --c: var(--s-pharma-d); }
.sector[data-sector="api"] { --c: var(--s-api-d); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 6px 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--white); font-size: .875rem; line-height: 1.3; }
.scale { font-size: 1.1rem; color: var(--muted); }
.scale .num { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--red); margin-right: 4px; }
.scale .num + .num { margin-left: 4px; }
.scale__note { margin-top: 8px; font-size: .9375rem; color: var(--muted); max-width: 44ch; }
.sector__foot { padding-top: 20px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
@media (max-width: 900px) {
  .sector { grid-template-columns: minmax(0, 1fr); }
  .sector__media { position: relative; top: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .sq-list { grid-template-columns: minmax(0, 1fr); }
  .sector__figures div + div { padding-left: 10px; }
  .sector__figures div { padding-right: 8px; }
}

/* ==========================================================================
   SOLUTIONS: a real table, sticky first column on phones, scroll hints
   ========================================================================== */
.solutions { padding: var(--section) 0; background: var(--white); }
.compare { position: relative; }
.compare__scroll { position: relative; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; } /* positioned, so visually-hidden text inside stays clipped */
.compare__table { width: 100%; min-width: 860px; table-layout: fixed; }
.compare__table col:first-child { width: 17%; }
.compare__table th, .compare__table td { padding: 20px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare__table thead th { padding-top: 0; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.compare__table thead th:first-child { width: 17%; }
.compare__name { display: block; font-size: clamp(1.35rem, 2vw, 1.75rem); font-stretch: 118%; font-weight: 560; letter-spacing: -.012em; }
.compare__tag { display: block; margin-top: 6px; font-size: .875rem; font-weight: 400; color: var(--muted); }
.compare__table tbody th { font-size: .875rem; font-weight: 600; color: var(--muted); }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table tbody th, .compare__table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); }
.compare__hint {
  position: absolute; top: 0; bottom: 0; width: 56px; display: grid; place-items: center; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.compare__hint svg { width: 16px; height: 16px; color: var(--red); }
.compare__hint--l { left: 17%; background: linear-gradient(to right, var(--white), rgba(255, 255, 255, 0)); }
.compare__hint--r { right: 0; background: linear-gradient(to left, var(--white), rgba(255, 255, 255, 0)); }
.compare.can-left .compare__hint--l, .compare.can-right .compare__hint--r { opacity: 1; }
.compare.can-right.is-nudging .compare__hint--r svg { animation: nudge 2.4s var(--ease-in-out) 2; }
@keyframes nudge { 0%, 40%, 100% { transform: none; } 20% { transform: translateX(3px); } }

.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.stages li { display: grid; gap: 6px; font-size: .75rem; font-weight: 560; color: var(--muted); }
.stages li::before { content: ""; height: 26px; border: 1.5px solid var(--line-strong); background: transparent; }
.stages li.is-ours { color: var(--ink); }
.stages li.is-ours::before { border-color: var(--red); background: var(--red); }
.stages li.is-optional::before { background: linear-gradient(to top, var(--red) 50%, transparent 50%); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 20px; font-size: var(--fs-small); color: var(--muted); }
.legend__key { display: inline-block; width: 14px; height: 14px; margin-right: -14px; vertical-align: -2px; border: 1.5px solid var(--line-strong); }
.legend__key--ours { border-color: var(--red); background: var(--red); }
.legend__key--opt { border-color: var(--red); background: linear-gradient(to top, var(--red) 50%, transparent 50%); }
.legend { gap: 8px 26px; }
.legend__key { margin-right: 0; }

/* ==========================================================================
   SUPPORT AND QUALITY
   ========================================================================== */
.support { padding: var(--section) 0; }
.support__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(32px, 6vw, 96px); }
.support__head { align-self: start; position: sticky; top: calc(var(--masthead-h) + 32px); }
.support__quote { margin-top: 10px; padding: 22px 0 0 22px; border-left: 3px solid var(--red); }
.support__quote p { font-size: 1.25rem; line-height: 1.45; font-weight: 520; color: var(--ink); }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { display: grid; align-content: start; gap: 12px; padding: 28px 26px 30px; background: var(--paper); }
.service__icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 6px; }
.service h3 { font-size: 1.1875rem; font-stretch: 112%; }
.service p { color: var(--muted); font-size: 1rem; }
.standards { grid-column: 2; margin-top: 48px; }
.standards__title { font-size: 1.1875rem; font-stretch: 112%; margin-bottom: 18px; }
.standards__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.standards__list li { display: grid; gap: 4px; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); }
.standards__list b { font-stretch: 112%; font-weight: 600; }
.standards__list span { font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.standards__note { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 1000px) {
  .support__grid { grid-template-columns: minmax(0, 1fr); }
  .support__head { position: relative; top: 0; }
  .standards { grid-column: 1; }
  .standards__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .standards__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   NETWORK MAP (oxblood)
   ========================================================================== */
.network { padding: var(--section) 0; background: var(--oxblood); color: var(--white); }
.network .lede { color: var(--blush); }
.network__views {
  position: relative; display: inline-flex; padding: 4px; gap: 0; border: 1px solid var(--line-dark); border-radius: var(--radius-s);
}
.seg { position: relative; z-index: 1; height: 38px; padding: 0 18px; font-size: .9375rem; font-weight: 560; color: var(--blush); transition: color .25s; }
.seg[aria-pressed="true"] { color: var(--oxblood); }
.seg__ink {
  position: absolute; left: 4px; top: 4px; bottom: 4px; width: var(--w, 0px); background: var(--white); border-radius: 2px;
  transform: translateX(var(--x, 0px)); transition: transform 260ms var(--ease-in-out), width 260ms var(--ease-in-out);
}
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 22px; }
.filters__sectors { display: contents; border: 0; padding: 0; margin: 0; }
.chip-toggle {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px;
  border: 1px solid var(--line-dark); border-radius: var(--radius-s); font-size: .9375rem; font-weight: 520; color: var(--white);
  transition: background-color .2s, color .2s, border-color .2s, transform 160ms var(--ease-out);
}
.chip-toggle:hover { border-color: rgba(255, 255, 255, .4); }
.chip-toggle:active { transform: scale(.97); }
.chip-toggle[aria-pressed="true"] { background: var(--white); color: var(--oxblood); border-color: var(--white); }
.select { position: relative; display: inline-flex; align-items: center; }
.select select {
  appearance: none; height: 40px; padding: 0 40px 0 14px; border: 1px solid var(--line-dark); border-radius: var(--radius-s);
  background: transparent; color: var(--white); font-size: .9375rem; font-weight: 520; cursor: pointer;
}
.select select option { color: var(--ink); }
.select svg { position: absolute; right: 14px; width: 11px; height: 11px; pointer-events: none; }
.filters__reset { height: 40px; padding: 0 6px; font-size: .9375rem; color: var(--blush); text-decoration: underline; text-underline-offset: 3px; }
.filters__reset:hover { color: var(--white); }

.network__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 20px; }
.map { position: relative; aspect-ratio: 16 / 10; background: #33121A; border: 1px solid var(--line-dark); overflow: hidden; }
.map-svg { width: 100%; height: 100%; }
.map-land { fill: rgba(255, 255, 255, .07); stroke: #33121A; stroke-width: .7px; vector-effect: non-scaling-stroke; }
.map-land.has-site { fill: rgba(255, 255, 255, .15); }
.map-sites .marker { cursor: pointer; transition: opacity .25s; }
.marker__hit { fill: transparent; }
.marker rect.part { stroke: #33121A; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.marker .ring { fill: none; stroke: var(--white); stroke-width: 1.5px; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .2s; }
.marker.is-hot .ring, .marker.is-selected .ring { opacity: 1; }
.marker.is-dim { opacity: .16; pointer-events: none; }
.marker.is-new .part { stroke: var(--white); }
.map__tip {
  position: absolute; left: 0; top: 0; z-index: 3; max-width: 260px; padding: 10px 12px;
  background: var(--white); color: var(--ink); font-size: .8125rem; line-height: 1.35; border-radius: var(--radius-s);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); pointer-events: none;
  transform: translate(calc(-50% + var(--dx, 0px)), calc(-100% - 12px));
}
.map__tip b { display: block; font-size: .875rem; }
.sites { display: flex; flex-direction: column; min-height: 0; border: 1px solid var(--line-dark); background: var(--oxblood-2); }
.sites__count { padding: 14px 16px; font-size: .875rem; color: var(--blush); border-bottom: 1px solid var(--line-dark); }
/* the list takes whatever height the map gives the row, under its count line, and scrolls inside;
   height 0 keeps its content from growing the row (was max-height: 0 + min-height: 100%, which
   ignored the count line and spilled out by its height) */
.sites__list { flex: 1 1 0; height: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.site { border-bottom: 1px solid var(--line-dark); }
.site[hidden] { display: none; }
.site__btn { display: grid; gap: 6px; width: 100%; padding: 14px 16px; text-align: left; transition: background-color .15s; }
.site__btn:hover, .site.is-selected .site__btn { background: rgba(255, 255, 255, .06); }
.site__name { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9375rem; }
.site__sws { display: inline-flex; gap: 2px; }
.site__where { font-size: .8125rem; color: var(--blush); }
.site__desc { font-size: .8125rem; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.site__new { padding: 1px 6px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 2px; font-size: .6875rem; font-weight: 600; }
.map__note { margin-top: 16px; font-size: .8125rem; color: var(--blush); max-width: 90ch; }
@media (max-width: 960px) {
  .network__body { grid-template-columns: minmax(0, 1fr); }
  .sites__list { flex: none; height: auto; max-height: 420px; }
  .map { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   LATEST: the meet-up agenda and the ledger
   ========================================================================== */
.latest { padding: var(--section) 0; }
.latest__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.meetup { padding: clamp(22px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); }
.meetup__head { display: grid; gap: 8px; margin-bottom: 18px; }
.meetup__head h3 { font-size: 1.375rem; font-stretch: 112%; }
.meetup__head p { font-size: .9375rem; color: var(--muted); }
.agenda { border-top: 1px solid var(--line-strong); }
.slot { display: grid; grid-template-columns: 112px 56px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); } /* time, photo and name share a top line */
.slot__time { font-weight: 600; font-size: .9375rem; line-height: 1.2; }
.slot__time span { display: block; font-weight: 400; color: var(--muted); }
.slot__img { width: 56px; height: 56px; margin-top: 3px; object-fit: cover; background: #dcdbe4; } /* 3px: down to the text's cap height */
.slot__who { display: grid; gap: 2px; font-size: .875rem; color: var(--muted); }
.slot__who b { font-size: 1rem; line-height: 1.2; color: var(--ink); }
.slot__topic { color: var(--ink); margin-top: 4px; }
.meetup__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.concept-inline { font-size: .875rem; color: var(--muted); max-width: 44ch; }
.shows { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.shows h4 { font-size: 1rem; margin-bottom: 10px; }
.shows li { padding: 6px 0; font-size: .9375rem; color: var(--muted); }
.shows li b { color: var(--ink); }
.shows time { margin-left: 6px; }
.ledger__title { font-size: 1.375rem; font-stretch: 112%; margin-bottom: 16px; }
.ledger__list { border-top: 1px solid var(--line-strong); }
.ledger__list li { display: grid; grid-template-columns: 96px 12px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger__list time { font-size: .8125rem; font-weight: 560; color: var(--muted); padding-top: 3px; }
.ledger__list .sw { width: 10px; height: 10px; margin-top: 7px; }
.ledger__list b { display: block; font-size: 1rem; line-height: 1.35; margin-bottom: 4px; }
.ledger__list p { font-size: .9375rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1000px) { .latest__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .slot { grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "img time" "img who"; gap: 4px 14px; align-items: start; }
  .slot__img { grid-area: img; width: 48px; height: 48px; }
  .slot__time { grid-area: time; }
  .slot__time span { display: inline; margin-left: 6px; }
  .slot__who { grid-area: who; }
  .ledger__list li { grid-template-columns: 12px minmax(0, 1fr); }
  .ledger__list time { grid-column: 2; grid-row: 1; padding: 0; }
  .ledger__list .sw { grid-row: 1 / 3; }
  .ledger__list div { grid-column: 2; }
}

/* ==========================================================================
   ORIGIN
   ========================================================================== */
.origin { background: var(--white); }
.origin__band { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-start; color: var(--white); overflow: hidden; background: #6f7a80; }
.origin__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.origin__band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(24, 14, 16, .52) 0%, rgba(24, 14, 16, .18) 42%, rgba(24, 14, 16, 0) 64%); }
.origin__copy { position: relative; z-index: 2; padding: clamp(56px, 8vw, 110px) 0 48px; display: grid; gap: 18px; }
.origin__copy h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); font-stretch: 118%; max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.origin__copy p { max-width: 48ch; font-size: var(--fs-lede); line-height: 1.55; text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.origin__body { padding: clamp(56px, 7vw, 100px) 0 var(--section); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); }
.origin__body > *, .timeline { min-width: 0; }
.origin__story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.origin__story .lede { color: var(--ink); }
.archive { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.clip { display: grid; gap: 12px; align-content: start; }
.clip img { width: 100%; aspect-ratio: 558 / 327; object-fit: cover; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; border: 1px solid var(--line); background: #fff; }
.clip figcaption { font-size: .875rem; line-height: 1.45; color: var(--muted); }
.timeline__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.timeline__title { font-size: 1.375rem; font-stretch: 112%; }
.timeline__nav { display: flex; gap: 8px; }
.timeline__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 2px solid var(--ink);
}
.timeline__track::-webkit-scrollbar { display: none; }
.timeline__track li { scroll-snap-align: start; position: relative; padding: 22px 24px 8px 0; }
.timeline__track li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; background: var(--red); }
.timeline__track li:last-child::before { background: var(--white); border: 2px solid var(--red); }
.year { display: block; margin-bottom: 8px; font-size: 2rem; font-stretch: 125%; font-weight: 520; color: var(--red); }
.timeline__track p { font-size: .9375rem; color: var(--ink); max-width: 24ch; }
@media (min-width: 1200px) { .timeline__track { grid-auto-columns: calc((100% - 0px) / 6); } }
@media (max-width: 900px) {
  .origin__story { grid-template-columns: minmax(0, 1fr); }
  .origin__band { min-height: 560px; }
}
@media (max-width: 560px) { .archive { grid-template-columns: minmax(0, 1fr); } .timeline__track { grid-auto-columns: 72%; } }

/* ==========================================================================
   EXECUTIVE COMMITTEE
   ========================================================================== */
.committee { padding: var(--section) 0; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
.person { display: grid; gap: 4px; align-content: start; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 12px; background: #dcdbe4; }
.person b { font-size: 1.0625rem; }
.person span { font-size: .875rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 900px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }

/* ==========================================================================
   COMMITMENTS: a bento, one tile per commitment
   ========================================================================== */
.commitments { padding: var(--section) 0; background: var(--white); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 2.6vw, 32px); background: var(--paper); border-radius: var(--radius); }
.tile h3 { font-size: 1.25rem; font-stretch: 112%; line-height: 1.2; }
.tile p { color: var(--muted); }
.tile--sbti { grid-column: span 2; grid-row: span 2; background: var(--oxblood); color: var(--white); align-content: space-between; }
.tile--sbti h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 118%; }
.tile--sbti p { color: var(--blush); max-width: 46ch; }
.tile__date { font-size: .875rem; font-weight: 600; color: var(--blush) !important; }
.tile__big { font-size: clamp(4rem, 9vw, 7.5rem); line-height: .9; color: var(--white) !important; margin-top: 18px; }
.tile--csr { grid-column: span 2; }
.tile__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 4px; }
.tile__nums div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.tile__nums dd { font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: var(--red); }
.tile__nums dt { font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.tile--foundation { grid-column: span 4; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(28px, 4vw, 64px); background: var(--paper); }
.tile__foundation-head { display: grid; gap: 12px; align-content: start; }
.tile--foundation h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-stretch: 118%; }
.actions { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.actions li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.actions b { font-size: 1rem; }
.actions span { font-size: .9375rem; color: var(--muted); }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--sbti, .tile--csr, .tile--foundation { grid-column: span 2; }
  .tile--sbti { grid-row: auto; }
  .tile--foundation { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--sbti, .tile--csr, .tile--foundation { grid-column: auto; }
}

/* ==========================================================================
   CAREERS
   ========================================================================== */
.careers { padding: var(--section) 0; }
.careers__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.careers__media { position: sticky; top: calc(var(--masthead-h) + 32px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.careers__media img { width: 100%; height: 100%; object-fit: cover; }
.careers__body { display: grid; gap: 28px; }
.careers__body h2 { font-size: var(--fs-h2); font-stretch: 118%; }
.careers__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.careers__figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 18px 12px 18px 0; }
.careers__figures div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.careers__figures dd { font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1; color: var(--red); }
.careers__figures dt { font-size: .875rem; line-height: 1.35; color: var(--muted); }
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.values b { font-stretch: 118%; font-weight: 600; }
.values span { color: var(--muted); }
.careers__jobs { color: var(--muted); }
.careers__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .careers__grid { grid-template-columns: minmax(0, 1fr); }
  .careers__media { position: relative; top: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 520px) { .values li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ==========================================================================
   CONTACT (oxblood)
   ========================================================================== */
.contact { padding: var(--section) 0; background: var(--oxblood); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.contact__intro { display: grid; gap: 18px; align-content: start; }
.contact__intro h2 { font-size: var(--fs-h2); font-stretch: 118%; }
.contact .lede { color: var(--blush); }
.contact__routes { display: grid; gap: 0; margin-top: 14px; border-top: 1px solid var(--line-dark); }
.contact__routes p { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.contact__routes b { font-size: .875rem; color: var(--blush); font-weight: 560; }
.contact__routes a { font-size: 1.125rem; font-weight: 560; text-decoration: none; }
.contact__routes a:hover { text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; gap: 18px; align-content: start; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .875rem; font-weight: 560; color: var(--blush); }
.field input, .field textarea, .select--field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--radius-s);
  background: rgba(255, 255, 255, .05); color: var(--white); font-size: 1rem; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover, .select--field select:hover { border-color: rgba(255, 255, 255, .42); }
.field input:focus, .field textarea:focus, .select--field select:focus { outline: none; border-color: var(--white); background: rgba(255, 255, 255, .09); }
.field [aria-invalid="true"] { border-color: #F2A7AE; }
.select--field { display: flex; }
.select--field select { height: 50px; padding-right: 42px; }
.field__route { font-size: .9375rem; color: var(--blush); }
.field__route a { color: var(--white); font-weight: 560; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__status { font-size: .9375rem; color: var(--blush); max-width: 48ch; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--oxblood-3); color: var(--blush); padding: clamp(56px, 7vw, 88px) 0 40px; font-size: .9375rem; }
.footer__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer__brand svg { width: 72px; height: 72px; fill: var(--white); }
.footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; }
.footer__cols h2 { margin-bottom: 14px; font-size: .9375rem; font-weight: 600; color: var(--white); letter-spacing: 0; }
.footer__cols li { padding: 4px 0; }
.footer__cols a, .footer__legal a { text-decoration: none; transition: color .2s; }
.footer__cols a:hover, .footer__legal a:hover { color: var(--white); }
.footer__mid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.footer__social { display: flex; gap: 8px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: var(--radius-s); color: var(--white); transition: background-color .2s; }
.footer__social a:hover { background: rgba(255, 255, 255, .08); }
.footer__social svg { width: 18px; height: 18px; }
.footer__legal { display: grid; gap: 14px; padding-top: 24px; font-size: .8125rem; line-height: 1.55; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__cookie-btn { text-decoration: underline; text-underline-offset: 3px; }
.footer__cookie-btn:hover { color: var(--white); }
.footer__concept { max-width: 110ch; }
.footer__concept a { color: var(--white); }
@media (max-width: 1000px) { .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   COOKIE CONSENT (from the skill, restyled)
   ========================================================================== */
.consent {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 90;
  width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px;
  border-radius: var(--radius-l); background: var(--white); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(43, 14, 19, .08), 0 28px 56px -24px rgba(43, 14, 19, .55);
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: 100% 100%;
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
}
.consent[hidden] { display: none; }
.consent.is-open { opacity: 1; transform: none; transition: opacity 320ms var(--ease-out), transform 560ms var(--ease-drawer); }
.consent.is-leaving { opacity: 0; transform: translateY(40px); transition: opacity 440ms cubic-bezier(.4, 0, .2, 1), transform 560ms cubic-bezier(.4, 0, .2, 1); }
.consent__head, .consent__text, .consent__manage, .consent__actions { opacity: 0; transform: translateY(8px); }
.consent.is-open :is(.consent__head, .consent__text, .consent__manage, .consent__actions),
.consent.is-leaving :is(.consent__head, .consent__text, .consent__manage, .consent__actions) { opacity: 1; transform: none; }
.consent.is-open :is(.consent__head, .consent__text, .consent__manage, .consent__actions) {
  transition: opacity 360ms var(--ease-out) calc(90ms + var(--i, 0) * 50ms), transform 480ms var(--ease-out) calc(90ms + var(--i, 0) * 50ms);
}
.consent__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
/* the monogram fills in, a small echo of the loader */
.consent__mark { flex: none; width: 20px; height: 20px; fill: var(--red); opacity: 0; transform: scale(.6); }
.consent.is-open .consent__mark, .consent.is-leaving .consent__mark { opacity: 1; transform: none; }
.consent.is-open .consent__mark { transition: transform 560ms var(--ease-out) 150ms, opacity 280ms var(--ease-out) 150ms; }
.consent__title { font-size: 1.25rem; font-stretch: 112%; color: var(--ink); }
.consent__title:focus { outline: none; }
.consent__close { display: none; position: relative; flex: none; width: 36px; height: 36px; margin: -6px -10px -6px auto; border-radius: 50%; color: var(--muted); transition: background-color .2s, color .2s, transform 160ms var(--ease-out); }
.consent.can-dismiss .consent__close { display: block; }
.consent__close:hover { background: var(--paper); color: var(--ink); }
.consent__close:active { transform: scale(.92); }
.consent__close span, .consent__close span::before { position: absolute; left: 11px; top: 17px; width: 14px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.consent__close span::before { content: ""; left: 0; top: 0; transform: rotate(90deg); }
.consent__text { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.consent__text a { color: var(--red); }
.consent__manage { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 0; font-size: .9375rem; font-weight: 560; color: var(--red); }
.consent__manage svg { width: 12px; height: 12px; transition: transform 260ms var(--ease-in-out); }
.consent.is-expanded .consent__manage svg { transform: rotate(180deg); }
.consent__prefs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms var(--ease-in-out); }
.consent.is-expanded .consent__prefs { grid-template-rows: 1fr; transition-duration: 380ms; }
.consent__prefs-inner { min-height: 0; overflow: hidden; margin: 0 -4px; padding: 0 4px; }
.consent__row, .consent__save { opacity: 0; transform: translateY(6px); transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out); }
.consent.is-expanded :is(.consent__row, .consent__save) {
  opacity: 1; transform: none;
  transition: opacity 300ms var(--ease-out) calc(60ms + var(--i, 0) * 40ms), transform 380ms var(--ease-out) calc(60ms + var(--i, 0) * 40ms);
}
.consent__row { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.consent__row:first-child { margin-top: 6px; }
.consent__row p { grid-column: 1 / -1; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.consent__label { font-weight: 600; font-size: .96875rem; }
.consent__always { font-size: .8125rem; font-weight: 600; color: var(--s-api-d); }
.consent__switch {
  appearance: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 13px; cursor: pointer;
  background: var(--line-strong); transition: background-color 220ms var(--ease-out);
}
.consent__switch::before {
  content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform 220ms var(--ease-out), width 160ms var(--ease-out);
}
.consent__switch:active::before { width: 24px; }
.consent__switch:checked { background: var(--red); }
.consent__switch:checked::before { transform: translateX(18px); }
.consent__switch:checked:active::before { transform: translateX(14px); }
.consent__save { padding: 4px 0 12px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
@media (max-width: 560px) {
  .consent { right: 0; bottom: 0; left: 0; width: 100%; border-radius: var(--radius-l) var(--radius-l) 0 0; padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .consent.is-leaving { transform: translateY(100%); }
}

/* ==========================================================================
   REDUCED MOTION: gentler, not zero
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .panel__img, .panel { transition: none !important; }
  .panel__more { clip-path: none !important; opacity: 0; transition: opacity .2s ease !important; }
  .panels:hover .panel:hover .panel__more, .panels:not(:hover) .panel:focus-within .panel__more { opacity: 1; }
  .panel__more-text { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero.is-filled .panel { transition: opacity .4s ease !important; }
  .js .is-intro .panel { clip-path: none; opacity: 0; }
  .hero.is-filled .panel { opacity: 1; }
  .js .is-intro .hero__copy > * { transform: none; }
  .menu, .menu.is-open { transition: opacity .3s, visibility 0s; clip-path: none; }
  .menu:not(.is-open) { opacity: 0; }
  .menu__nav li, .menu__foot { transform: none !important; }
  .sector.is-entering .sector__body > *, .sector.is-entering .sector__media img { animation-name: fade-in; }
  .tabs__ink, .seg__ink { transition-duration: 0s; }
  .compare__hint svg { animation: none !important; }
}
@keyframes fade-in { from { opacity: 0; } }
