/* Jenko jenko1 «Graphite» (French, from v19/grafit) — the brand's graphite, yellow as light, the cabinet as a supporting actor.
   Shared files are referenced as ../../<path from demo> (served at /fr/jenko1/ and at the root of jenko1.devium.studio). */
:root {
  /* graphite */
  --g-950: #121416;
  --g-900: #16191c;
  --g-800: #1a1d20;
  --g-700: #25292d;
  --g-600: #2c3136;
  --ink: #ecedea;
  --ink-2: #a3aab1;
  --line: rgba(236, 237, 234, .13);
  --line-2: #4a5158;
  /* the one light block: RAL 7035 grey */
  --ral: #dcdfdb;
  --ral-2: #cdd1cc;
  --ral-ink: #16191c;
  --ral-ink-2: #474e54;
  --ral-line: rgba(22, 25, 28, .18);
  /* light */
  --yellow: #ffcf2b;
  --yellow-2: #f2bf12;
  --on-yellow: #16191c;
  --err: #ffb4a8;

  --f-head: 'Unbounded Variable', 'Onest Variable', system-ui, sans-serif;
  --f-text: 'Onest Variable', system-ui, sans-serif;
  --f-fig: 'Science Gothic Variable', 'Unbounded Variable', system-ui, sans-serif;

  /* six text roles (390 → 1440 px); the hero fits its longest word to its column */
  --step-hero: clamp(1.5rem, calc(100cqi / 10.8), 2.25rem);
  --step-fig: clamp(1.875rem, 1.27rem + 2.476vw, 3.5rem);
  --step-h2: clamp(1.5rem, 1.06rem + 1.81vw, 2.75rem);
  --step-sub: clamp(1.1875rem, 1.118rem + .286vw, 1.375rem);
  --step-body: clamp(1rem, .954rem + .19vw, 1.125rem);
  --step-small: clamp(.8125rem, .789rem + .095vw, .875rem);

  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 40px; --sp-5: 64px; --sp-6: 112px;
  --gut: clamp(16px, 4.4vw, 64px);
  --hd: 72px;
  --r: 4px;
  --btn-h: 48px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 759px) { :root { --hd: 56px; --sp-6: 72px; --sp-5: 48px; } }
@media (min-width: 1000px) { :root { --step-hero: clamp(2.5rem, calc(100cqi / 13.6), 3.5rem); } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--g-800); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--f-text); font-size: var(--step-body); line-height: 1.5; background: var(--g-800); overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure, blockquote, pre { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: rgba(163, 170, 177, .38); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip { position: fixed; left: 12px; top: -80px; z-index: 80; background: var(--ink); color: var(--g-900); padding: 13px 16px; border-radius: var(--r); font-size: var(--step-small); }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- type roles */
.t-hero { font-family: var(--f-head); font-size: var(--step-hero); font-weight: 500; line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.t-h2 { font-family: var(--f-head); font-size: var(--step-h2); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.t-sub { font-family: var(--f-head); font-size: var(--step-sub); font-weight: 500; line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; }
.t-fig { font-family: var(--f-fig); font-size: var(--step-fig); font-weight: 700; font-stretch: 140%; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.t-body { font-size: var(--step-body); line-height: 1.55; }
.t-small { font-size: var(--step-small); line-height: 1.45; }
p.t-body, p.t-small, .door__line, .fact dt, blockquote { text-wrap: pretty; }
.nw { white-space: nowrap; }
.h-s { display: inline-block; }   /* a two-sentence heading: each sentence starts its own line when they don't fit together */
.br-desk { display: none; }   /* «Le câblage / du froid industriel.»: a break for the desktop hero only */
@media (min-width: 1000px) { .br-desk { display: inline; } }
sub { font-size: max(12px, .8em); line-height: 0; }

.wrap { width: min(100%, 1568px); margin-inline: auto; padding-inline: var(--gut); }
.ico { width: 1em; height: 1em; flex: none; stroke: currentColor; stroke-width: 1.8; fill: none; display: inline-block; vertical-align: -.14em; margin-left: .4em; }

/* ---------------------------------------------------------------- buttons, links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-h); padding: 0 24px; border-radius: var(--r);
  font: 600 var(--step-body)/1 var(--f-text); letter-spacing: 0; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.btn--main { background: var(--yellow); color: var(--on-yellow); }
.btn--main:hover { background: var(--yellow-2); }
.btn--main:active { background: #e6b300; }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px; text-decoration-thickness: 1px;
  font-weight: 500; transition: text-decoration-color .25s var(--ease); }
.link:hover { text-decoration-color: var(--ink); }

/* indicator lamp: off = dark lens, on = yellow light */
.lamp { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #3c4247; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .55), 0 0 0 1px rgba(236, 237, 234, .16);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.lamp.is-on { background: var(--yellow); box-shadow: inset 0 -1px 2px rgba(120, 80, 0, .35), 0 0 0 3px rgba(255, 207, 43, .16); }
.lamp--lg { width: 14px; height: 14px; }

/* the brand wedge: a yellow beam, thick at the start and tapering to a point */
.beam { display: block; height: 6px; background: var(--yellow); clip-path: polygon(0 0, 100% 46%, 100% 54%, 0 100%); transform-origin: 0 50%; }

/* ---------------------------------------------------------------- header */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd); background: rgba(26, 29, 32, 0); border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.hd.is-solid { background: rgba(22, 25, 28, .96); border-bottom-color: var(--line); }
.hd__in { height: 100%; display: flex; align-items: center; gap: var(--sp-4); }
.hd__logo { display: flex; align-items: center; min-height: 44px; color: var(--ink); }
.hd__logo svg { width: 118px; height: auto; }
.hd__nav { display: flex; gap: var(--sp-3); margin-left: auto; }
.hd__nav a { font-size: var(--step-small); font-weight: 500; text-decoration: none; color: var(--ink-2); padding: 12px 10px; margin-inline: -10px; transition: color .25s var(--ease); }
.hd__nav a:hover, .hd__nav a.is-here { color: var(--ink); }
.hd__tel-ico { display: none; width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.hd__tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--step-small); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.hd__cta { min-height: 44px; padding: 0 18px; font-size: var(--step-small); }
.hd__menu { display: none; }
.l-short { display: none; }

.menu { position: fixed; inset: var(--hd) 0 auto; z-index: 49; background: var(--g-900); border-bottom: 1px solid var(--line); padding: var(--sp-2) 0 var(--sp-4); }
.menu__nav { display: grid; }
.menu__nav a { font-family: var(--f-head); font-size: var(--step-sub); text-decoration: none; padding: 12px 0; min-height: 48px; border-bottom: 1px solid var(--line); }
.menu__foot { display: grid; gap: 4px; margin-top: var(--sp-3); color: var(--ink-2); font-size: var(--step-small); }
.menu__tel { font-size: var(--step-sub); font-weight: 600; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------- section heads */
section { position: relative; scroll-margin-top: var(--hd); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-2) var(--sp-4); align-items: end; margin-bottom: var(--sp-5); }
.head__lead { color: var(--ink-2); max-width: 30em; }
.head--col { grid-template-columns: minmax(0, 1fr); align-items: start; }

/* ---------------------------------------------------------------- the companion slot (desktop) */
.slot { position: relative; overflow: clip; }
.slot__poster { position: absolute; left: 50%; top: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); pointer-events: none; transition: opacity .5s var(--ease); }
.slot.is-live .slot__poster { opacity: 0; }
.slot__host { position: absolute; inset: 0; }
/* the light sweep runs along the cabinet's rim: its silhouette minus a slightly smaller copy */
.slot__sweep { position: absolute; left: 50%; top: 0; height: 100%; aspect-ratio: 3 / 4; transform: translateX(-50%); pointer-events: none; overflow: hidden; opacity: 0; mix-blend-mode: screen;
  -webkit-mask: url(../../v19/shared/cabinet/media/closed-dark.webp) center / 100% 100% no-repeat, url(../../v19/shared/cabinet/media/closed-dark.webp) center / 95.5% 97.4% no-repeat;
  -webkit-mask-composite: xor;
  mask: url(../../v19/shared/cabinet/media/closed-dark.webp) center / 100% 100% no-repeat exclude, url(../../v19/shared/cabinet/media/closed-dark.webp) center / 95.5% 97.4% no-repeat; }
.slot__sweep.is-open {
  -webkit-mask: url(../../v19/shared/cabinet/media/open-dark.webp) center / 100% 100% no-repeat, url(../../v19/shared/cabinet/media/open-dark.webp) center / 96.5% 97.8% no-repeat;
  -webkit-mask-composite: xor;
  mask: url(../../v19/shared/cabinet/media/open-dark.webp) center / 100% 100% no-repeat exclude, url(../../v19/shared/cabinet/media/open-dark.webp) center / 96.5% 97.8% no-repeat; }
.slot__sweep::before { content: ''; position: absolute; top: 0; bottom: 0; left: -200%; width: 300%;
  background: linear-gradient(100deg, rgba(255, 207, 43, 0) 38%, rgba(255, 222, 120, .95) 50%, rgba(255, 207, 43, 0) 62%); }
.slot__sweep.is-run { animation: sweep-fade .5s var(--ease) forwards; }
.slot__sweep.is-run::before { animation: sweep-move .5s cubic-bezier(.45, .05, .35, 1) forwards; }
@keyframes sweep-move { from { transform: translateX(0); } to { transform: translateX(66.667%); } }
@keyframes sweep-fade { 0% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }

/* ---------------------------------------------------------------- hero */
.hero { background: var(--g-800); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-4); min-height: max(640px, 100svh); padding-top: var(--hd); }
.hero__txt { container-type: inline-size; align-self: center; display: grid; gap: var(--sp-3); padding-block: var(--sp-5) calc(var(--sp-5) + 24px); }
.hero__lead { color: var(--ink-2); max-width: 31em; }
.hero__contact { display: grid; gap: 10px; justify-items: start; margin-top: var(--sp-1); }
.hero__tel { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font-size: var(--step-h2); white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.status__b { white-space: nowrap; }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); margin-top: var(--sp-1); }
.slot--hero { align-self: end; width: 100%; aspect-ratio: 3 / 4; max-height: min(84svh, 780px); margin-bottom: var(--sp-4); }
.hero__film { display: none; }
/* the floor line: the beam runs from the page edge to the foot of the cabinet */
.hero__beam { position: absolute; left: 0; bottom: var(--beam-b, 72px); width: var(--beam-w, 58%); height: 7px; margin-bottom: -3.5px; z-index: 1; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: var(--beam-b, 72px); background: var(--g-900); z-index: 0; pointer-events: none; }
.hero__grid { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- families: the light block */
.fam { background: var(--ral); color: var(--ral-ink); padding-block: var(--sp-6); }
.fam :focus-visible { outline-color: var(--ral-ink); }
.fam .head__lead { color: var(--ral-ink-2); }
.fams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-3); }
.door { display: grid; gap: var(--sp-2); text-decoration: none; color: inherit; border-radius: var(--r); }
.door:focus-visible { outline-offset: 6px; }
.door__pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--ral-2); }
.door__pic img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .5s var(--ease); }
.door:hover .door__pic img, .door:focus-visible .door__pic img { transform: scale(1.04); }
.door__txt { display: grid; gap: 6px; align-content: start; }
.door__name { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-2); }
.door__go { flex: none; width: 36px; height: 36px; margin-top: -5px; border-radius: 50%; border: 1.5px solid var(--ral-ink); display: grid; place-items: center; color: var(--ral-ink);
  transition: background-color .25s var(--ease), transform .25s var(--ease); }
.door__go svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.door:hover .door__go, .door:focus-visible .door__go { background: var(--ral-ink); color: var(--ral); transform: translateX(4px); }
.door__line { color: var(--ral-ink-2); max-width: 30em; padding-right: 52px; }

/* ---------------------------------------------------------------- the cabinet explorer */
.cab { background: var(--g-900); padding-block: var(--sp-5) var(--sp-6); }
.cab .head { margin-bottom: var(--sp-4); }
.explorer { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--g-900); min-height: 200px; }
.explorer__still { width: 100%; }
.explorer.is-mounted .explorer__still { display: none; }
/* the shared module, in this page's shapes */
.explorer .jcab__seg, .explorer .jcab__btn, .explorer .jcab__num { border-radius: var(--r); min-height: var(--btn-h); font-weight: 600; }
.explorer .jcab__num { height: var(--btn-h); }
.explorer .jcab__views { border-radius: calc(var(--r) + 2px); }
.explorer .jcab__hint, .explorer .jcab__edge { border-radius: var(--r); }
.explorer .jcab__close { border-radius: var(--r); }
.explorer .jcab__ptitle { font-family: var(--f-head); font-weight: 500; letter-spacing: -.01em; }
.explorer .jcab__pnum { border-radius: 50%; }
.explorer .jcab__pimg { border-radius: var(--r); }
.explorer .jcab__item { border-radius: var(--r); }

/* ---------------------------------------------------------------- workshop */
.shop { background: var(--g-800); padding-block: var(--sp-6); }
.shop__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-5); align-items: start; }
.shop__media { display: grid; gap: var(--sp-2); }
.shop__main { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--g-700); }
.shop__main img, .shop__main video { width: 100%; height: 100%; object-fit: cover; }
.film-btn { position: absolute; left: var(--sp-2); bottom: var(--sp-2); display: inline-flex; align-items: center; gap: 10px; min-height: var(--btn-h); padding: 0 18px 0 14px;
  border: 0; border-radius: var(--r); background: rgba(22, 25, 28, .92); color: var(--ink); font: 600 var(--step-small)/1 var(--f-text); cursor: pointer; transition: background-color .25s var(--ease); }
.film-btn svg { width: 20px; height: 20px; fill: currentColor; }
.film-btn:hover { background: var(--g-900); }
.shop__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.shop__thumbs figure { display: grid; gap: 8px; }
.shop__thumbs img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: var(--r); background: var(--g-700); }
.shop__thumbs figcaption { color: var(--ink-2); }
.facts { display: grid; border-top: 1px solid var(--line); }
.fact { display: grid; gap: 8px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.fact dt { order: 2; color: var(--ink-2); max-width: 26em; }
.fact dd { order: 1; white-space: nowrap; }
.fact__pre { font-size: var(--step-sub); font-stretch: 125%; letter-spacing: .02em; }   /* «+ de» set like a unit before the figure */

/* ---------------------------------------------------------------- steps + the companion */
.steps { background: var(--g-900); padding-block: var(--sp-6); }
.steps__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-4); }
.steps__col .head { margin-bottom: var(--sp-4); }
.steps__list { display: grid; }
.step { position: relative; display: grid; grid-template-columns: minmax(3.2em, max-content) minmax(0, 1fr); column-gap: var(--sp-3); align-content: center; min-height: 36svh; padding-block: var(--sp-4); border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { grid-row: 1 / 3; color: var(--ink-2); transition: color .3s var(--ease); line-height: .9; }
.step__txt { display: grid; gap: 10px; max-width: 30em; }
.step__txt p { color: var(--ink-2); }
.step__beam { position: absolute; left: 0; right: calc(-1 * var(--sp-4)); top: -3.5px; height: 6px; transform: scaleX(0); transition: transform .45s var(--ease); }
.step.is-on .step__n { color: var(--ink); }
.step.is-on .step__beam { transform: scaleX(1); }
.slot--steps { position: sticky; top: calc(var(--hd) + 3svh); width: 100%; aspect-ratio: 3 / 4; max-height: calc(100svh - var(--hd) - 6svh); align-self: start; }

/* ---------------------------------------------------------------- clients */
.cli { background: var(--g-800); padding-block: var(--sp-6); }
.cli__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: 'main case' 'main quote'; gap: var(--sp-4) var(--sp-5); align-items: start; }
.cli__main { grid-area: main; align-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
.cli__main li { display: grid; place-items: center; align-content: center; gap: var(--sp-3); min-height: 300px; padding: var(--sp-4) var(--sp-3); background: var(--g-700); border-radius: var(--r); }
.cli__main img { width: 64%; height: auto; }
.cli__main li:nth-child(2) img { width: 48%; }
.cli__main span { color: var(--ink-2); }
.case { grid-area: case; display: grid; gap: var(--sp-2); padding-top: var(--sp-2); }
.case__facts { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink); }
.case__facts li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r); }
.quote { grid-area: quote; display: grid; gap: var(--sp-2); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.quote__note { color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stub { display: inline-block; padding: 3px 8px; border-radius: var(--r); background: var(--ink); color: var(--g-900); font-weight: 600; line-height: 1.2; }
.quote figcaption { display: flex; align-items: center; gap: 14px; color: var(--ink-2); }
.quote figcaption img { width: 44px; height: 55px; object-fit: cover; border-radius: var(--r); }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.partners__g { display: grid; gap: var(--sp-3); align-content: start; }
.partners__h { color: var(--ink-2); }
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-3); align-items: center; }
.logos li { display: flex; align-items: center; min-height: 40px; }
.logos img { height: calc(20px * var(--k, 1)); width: auto; max-width: 100%; object-fit: contain; opacity: .78; }

/* ---------------------------------------------------------------- request */
.req { background: var(--g-900); padding-block: var(--sp-6); }
.req__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-5); align-items: start; }
.req__main { display: grid; gap: var(--sp-3); }
.req__intro { color: var(--ink-2); max-width: 26em; }
.req__side { display: grid; gap: var(--sp-4); }
.req__call { display: grid; justify-items: start; gap: 6px; }
.req__call .t-small { color: var(--ink-2); }
.req__tel { font-size: var(--step-h2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.form { display: grid; gap: var(--sp-3); padding: var(--sp-4); background: var(--g-700); border-radius: var(--r); }
.form__head { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.field { display: grid; gap: 8px; }
.field__l { color: var(--ink); font-weight: 500; }
.field input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r); border: 1px solid #5a6167; background: var(--g-900); color: var(--ink);
  font: 400 var(--step-body)/1.2 var(--f-text); transition: border-color .25s var(--ease); }
.field input:hover { border-color: #7a8187; }
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field input[aria-invalid='true'] { border-color: var(--err); }
.field__err { color: var(--err); }
.field__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__go { justify-self: stretch; }
.form__ok { display: none; gap: 10px; outline: none; }
.form.is-sent .field, .form.is-sent .form__go { display: none; }
.form.is-sent .form__ok { display: grid; }
.form__ok .t-small { color: var(--ink-2); }
.form__ok pre { white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--g-900); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; color: var(--ink); }
.req__ph { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--g-700); }
.req__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* ---------------------------------------------------------------- footer: the header-size logo leads the columns (no giant wordmark) */
.ft { background: var(--g-950); padding-top: var(--sp-5); overflow: hidden; }
.ft__cols { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: var(--sp-4); padding-bottom: var(--sp-5); }
.ft__brand { display: grid; gap: var(--sp-2); align-content: start; color: var(--ink-2); }
.ft__brand p { max-width: 22em; }
.ft__logo { width: 118px; height: auto; color: var(--ink); margin-top: 3px; }
.ft__col { display: grid; gap: 0; align-content: start; color: var(--ink-2); }
.ft__col a { text-decoration: none; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; justify-self: start; }
.ft__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft__h { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.ft__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px var(--sp-3); padding-block: var(--sp-2) var(--sp-3); border-top: 1px solid var(--line); color: var(--ink-2); }
.ft__up { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.ft__up:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- demo toast: a lit lamp and one line, above the safe area */
.toast { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; width: max-content; max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 12px; padding: 13px 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--g-700); color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45); font-size: var(--step-small); font-weight: 500; line-height: 1.4;
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 -1px 2px rgba(120, 80, 0, .35), 0 0 0 3px rgba(255, 207, 43, .16); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- reveals: photos and lines only; text is there at once */
.js [data-rv] { opacity: 0; transform: translateY(16px); }
.js [data-rv].in { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: var(--d, 0s); }
/* the wedge reveal: a yellow beam shoots across, the picture opens from it */
.js [data-wedge] { clip-path: polygon(0 50%, 0 50%, 0 50%, 0 50%); }
.js [data-wedge].in { animation: wedge .5s var(--ease) forwards; }
.js [data-wedge]::after { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--yellow); pointer-events: none; opacity: 0;
  clip-path: polygon(0 45%, 100% 49.5%, 100% 50.5%, 0 55%); transform-origin: 0 50%; transform: scaleX(0); }
.js [data-wedge].in::after { animation: wedge-beam .5s var(--ease) forwards; }
@keyframes wedge {
  0% { clip-path: polygon(0 45%, 0 50%, 0 50%, 0 55%); }
  42% { clip-path: polygon(0 45%, 100% 49.5%, 100% 50.5%, 0 55%); }
  100% { clip-path: var(--clip-end, polygon(0 0, 100% 0, 100% 100%, 0 100%)); }
}
@keyframes wedge-beam {
  0% { transform: scaleX(0); opacity: 1; }
  42% { transform: scaleX(1); opacity: 1; }
  80%, 100% { transform: scaleX(1); opacity: 0; }
}
.js .hero__beam { transform: scaleX(0); }
.js .hero__beam.in { transform: scaleX(1); transition: transform .5s var(--ease); }

/* ---------------------------------------------------------------- below the desktop: no companion */
@media (max-width: 999px) {
  .slot { display: none; }
  .hero::after, .hero__beam { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; align-content: start; }
  .hero__film { display: block; position: relative; margin-inline: calc(-1 * var(--gut)); aspect-ratio: 16 / 10; overflow: hidden; background: var(--g-700);
    --clip-end: polygon(0 0, 100% 0, 100% 86%, 0 100%); clip-path: var(--clip-end); }
  .hero__film video { width: 100%; height: 100%; object-fit: cover; }
  .hero__film + .hero__txt { padding-top: var(--sp-3); }
  .hero__txt { padding-block: var(--sp-3) var(--sp-5); gap: var(--sp-2); }
  .hero__lead { max-width: 36em; }
  .hero__contact { margin-top: var(--sp-1); }
  .shop__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-3); }
  .fact:last-child { grid-column: 1 / -1; }
  .steps__grid { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 0; padding-block: var(--sp-3); }
  .step__beam { right: 0; width: 88px; }
  .step .step__n { color: var(--ink); }
  .cli__top { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'main' 'case' 'quote'; }
  .req__grid { grid-template-columns: minmax(0, 1fr); }
  .req__side .req__call { order: -1; }
  .ft__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft__brand { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 999px) {
  .hd__nav { display: none; }
  .hd__tel { margin-left: auto; }
  .hd__menu { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 52px; padding: 0 6px; background: none; border: 0;
    color: var(--ink); font: 500 var(--step-small)/1 var(--f-text); cursor: pointer; }
}
@media (max-width: 759px) {
  .hd__in { gap: var(--sp-2); }
  .hd__tel-n { display: none; }
  .hd__tel-ico { display: block; }
  .hd__tel { gap: 8px; padding-inline: 4px; }
  .hd__logo svg { width: 96px; }
  .hd__tel { min-width: 44px; justify-content: center; }
  .hd__cta { padding: 0 14px; }
  .l-long { display: none; }
  .l-short { display: inline; }
  .hero__film { aspect-ratio: 4 / 3; }
  .head { grid-template-columns: minmax(0, 1fr); margin-bottom: var(--sp-4); }
  .hero__acts { gap: var(--sp-1) var(--sp-3); }
  .hero__acts .btn { flex: 1 1 100%; }
  .fams { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
  .door { grid-template-columns: 128px minmax(0, 1fr); gap: var(--sp-2); align-items: start; }
  .door__pic { aspect-ratio: 4 / 5; }
  .door__name { display: block; }
  .door__go { display: none; }
  .door__line { padding-right: 0; }
  .door__txt { padding-top: 4px; }
  .shop__thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop__thumbs li:last-child { display: none; }
  .film-btn { left: 10px; bottom: 10px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact { padding-block: 16px; }
  .fact:last-child { grid-column: auto; }
  .step { grid-template-columns: 2.4em minmax(0, 1fr); column-gap: var(--sp-2); }
  .cli__main li { padding: var(--sp-3) var(--sp-2); min-height: 140px; }
  .partners { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-2); }
  .logos img { height: calc(17px * var(--k, 1)); }
  .req__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .form { padding: var(--sp-3) var(--sp-2); }
  .ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); }
  .ft__logo { width: 96px; }
  .ft__col--prod { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-3); }
  .ft__col--prod .ft__h { grid-column: 1 / -1; }
}
@media (max-width: 359px) {
  .door { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .door__name { font-size: var(--step-body); }
  .hd__logo svg { width: 84px; }
  .ft__logo { width: 84px; }
  .hero__tel, .req__tel { font-stretch: 118%; }
  .hd__cta { padding: 0 12px; }
}

/* small laptops: the French nav is longer, so the header items sit a little closer */
@media (min-width: 1000px) and (max-width: 1199px) {
  .hd__in { gap: var(--sp-3); }
}

/* short laptop windows */
@media (min-width: 1000px) and (max-height: 720px) {
  .hero__txt { padding-block: var(--sp-4) calc(var(--sp-4) + 48px); gap: var(--sp-2); }
  .step { min-height: 44svh; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-rv], .js [data-rv].in { opacity: 1; transform: none; transition: none; transition-delay: 0s; }
  .js [data-wedge], .js [data-wedge].in { clip-path: var(--clip-end, none); animation: none; }
  .js [data-wedge]::after { display: none; }
  .js .hero__beam, .js .hero__beam.in { transform: none; transition: none; }
  .step__beam, .door__pic img, .door__go, .lamp, .btn, .slot__poster, .hd, .toast { transition: none; }
  .slot__sweep { display: none; }
}
/* legal demo links in the footer line: 44 px targets on touch, compact with a mouse */
.ft__legal p a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; display: inline-block; padding-block: 13px; margin-block: -13px; }
.ft__legal p a:hover { text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .ft__legal p a { padding-block: 2px; margin-block: -2px; } }
