/* Jenko — home v7 prototype (owner, 2026-09-26, after v6): variants to compare, switched in the address (v7.html <head>) —
   the top bar (rail · scroll · static), the workshop (mosaic · band), the clients (grid · wall), the request (photo · big);
   the cabinet opens a close-up card on the chosen point. Built on home v6: */
/* Jenko — home v6 proposal (owner, 2026-09-26, after v5): six screens — the opening, the six families, the cabinet (the photo
   moves in on the chosen point), the workshop in four facts, who works with us, the request with the four steps after it.
   Against v5: smaller screen titles (the pictures carry the screen), the bar steps aside while reading (home.js, data-top),
   no numbers screen, no second request button on a screen. Copied from home-v5.css (v5.html stays for comparison).
   What changes against v4, from the owner's references (thirdway, driessen, somervilles) and the critique of 2026-09-25:
   - only the opening is edge to edge; every other picture sits framed on the paper ground, its words beside it;
   - headings in a normal width at weight 500 with tight tracking, one or two lines; sizes follow the screen (width and height);
   - every screen is exactly one screen on a monitor, a laptop, a tablet and a phone: the picture takes the height the words
     leave, the words never move to another screen;
   - one light documentary grade (in the files); video only in the opening and the workshop tour, inside its frame.
   Loaded on v7.html only (copied from home-v6.css), after site.css and home.css. */

.wrap { max-width: none; }
@media (min-width: 1101px) { .opening__content { left: var(--margin); } }

/* ——— Top bar (owner, 2026-09-25: the bar must not lie over the content, the request stays one click away). Over the opening
   it is the full bar; past it, it folds into two small tabs that sit in the top band every screen keeps free: the logo on
   the left, « Menu » and the yellow request button on the right. A soft shadow lifts them off the photo or the paper. ——— */
.top { transition: color 300ms ease, padding 420ms var(--ease-out), transform 420ms var(--ease-out); }
.top__brand, .top__right { transition: background-color 300ms ease, box-shadow 420ms var(--ease-out), padding 420ms var(--ease-out); border-radius: 4px; }
.top.is-compact { padding-block: calc(env(safe-area-inset-top, 0px) + 10px) 10px; color: var(--ink); }
.top.is-compact :is(.top__brand, .top__right) { background: var(--paper-hi); box-shadow: 0 10px 30px rgb(22 24 27 / 0.12), 0 1px 2px rgb(22 24 27 / 0.08); }
.top.is-compact .top__brand { padding: 0 14px; }
.top.is-compact .top__brand svg { width: 88px; }
.top.is-compact .top__right { gap: 12px; padding: 4px 4px 4px 14px; }
/* over a graphite screen the tabs turn graphite too: calm, never the brightest shapes on the screen */
.top.is-compact.is-dark-band { color: var(--on-graphite); }
.top.is-compact.is-dark-band :is(.top__brand, .top__right) { background: color-mix(in srgb, var(--on-graphite) 9%, var(--graphite)); box-shadow: none; }
.top.is-compact :is(.top__nav, .lang) { display: none; }
.top.is-compact .top__menu { display: inline-flex; padding-right: 10px; text-shadow: none; }
@media (max-width: 600px) { .top.is-compact .top__brand svg { width: 76px; } }
/* ——— v7, top=rail (Mount Street Printers): past the opening the bar leaves for good; a slim tab in the right page margin
   (the margin is wider than the tab, so it never lies over the content) keeps « Menu » and the request one click away.
   Upright screens and phones have no margin for it: there the bar comes back on the way up (home.js). ——— */
.rail7 { position: fixed; z-index: 40; right: 0; top: 50%; display: flex; flex-direction: column; align-items: flex-end;
  transform: translate(110%, -50%); transition: transform 420ms var(--ease-out); pointer-events: none; }
.rail7.is-on { transform: translate(0, -50%); pointer-events: auto; }
.rail7 > * { writing-mode: vertical-rl; transform: rotate(180deg); width: min(38px, calc(var(--margin) - 10px)); display: grid; place-items: center;
  padding: 16px 0; border: 0; font: inherit; font-size: var(--step--1); font-weight: 560; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; }
.rail7__menu { background: var(--ink); color: var(--paper-hi); border-radius: 0 4px 4px 0; }
.rail7__devis { background: var(--jaune); color: var(--ink); border-radius: 0 4px 4px 0; margin-top: 2px; }
.rail7__devis:hover { background: var(--jaune-deep); }
.rail7 :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 900px), (max-aspect-ratio: 1/1) { .rail7 { display: none; } }
@media (prefers-reduced-motion: reduce) { .rail7 { transition: none; } }

/* v6: stepped aside, the tabs go far enough for their shadow to leave the screen too */
.top.is-hidden { transform: translateY(calc(-100% - 48px)); }

/* ——— Type for the screens: tokens redefined at screen scope (the opening keeps its own) ——— */
.s5 {
  --w-title: 96;
  --display-stretch: 96%;
  --step--1: clamp(0.8125rem, min(0.95vw, 1.65svh), 1.0625rem);
  --step-0: clamp(1rem, min(1.2vw, 2.1svh), 1.375rem);
  --step-1: clamp(1.125rem, min(1.55vw, 2.7svh), 1.75rem);
  --step-2: clamp(1.5rem, min(2.9vw, 4.4svh), 3.25rem);
  --step-3: clamp(1.75rem, min(3.4vw, 5.2svh), 4.25rem); /* one step smaller than v5: the pictures lead, the title names them */
  --radius: 4px;
  --pad-top: calc(var(--header-h) + clamp(6px, 1.4svh, 18px));
  --pad-bottom: clamp(18px, 3.4svh, 44px);
  --gap: clamp(14px, 2.4svh, 32px);
}
:root:lang(ru) .s5 { --w-title: 100; }

/* ——— One screen: the header row (hairline, title, lead), then the picture and its aside share what is left ——— */
.s5 { position: relative; height: max(100svh, 540px); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
.s5__in { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr);
  column-gap: var(--gutter); row-gap: var(--gap); padding: var(--pad-top) var(--margin) var(--pad-bottom); }
.s5__head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; row-gap: 12px; align-items: start;
  padding-top: clamp(12px, 1.8svh, 22px); border-top: 1px solid var(--rule-strong); }
.s5__title { grid-column: 1 / span 8; margin: 0; font-size: var(--step-3); font-weight: 500; letter-spacing: -0.032em; line-height: 1.02;
  font-stretch: var(--display-stretch); font-variation-settings: "wdth" var(--w-title); text-wrap: balance; }
.s5__lead { grid-column: 9 / -1; display: grid; gap: 10px; justify-items: start; font-size: var(--step-0); line-height: 1.5; color: var(--ink-2); }
.s5__lead p { max-width: 40ch; }
.s5__lead .link { color: var(--ink); font-size: var(--step--1); }
.s5__media { grid-column: 1 / span 8; min-height: 0; min-width: 0; position: relative; }
.s5__aside { grid-column: 9 / -1; min-height: 0; min-width: 0; margin: 0; padding: 0; list-style: none; }
.s5 :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Portrait screens (tablets upright, phones): title, then the picture full width, then the aside under it. */
@media (max-aspect-ratio: 1/1), (max-width: 900px) {
  .s5 { --step-3: clamp(1.75rem, 4.6vw, 3.25rem); }
  .s5__head { grid-template-columns: 1fr; }
  .s5__title, .s5__lead, .s5__media, .s5__aside { grid-column: 1 / -1; }
  .s5__lead p { max-width: 56ch; }
}
@media (max-width: 600px) {
  .s5 { --step-3: clamp(1.625rem, min(7.4vw, 5svh), 2.25rem); height: max(100svh, 560px); }
  .s5__head { row-gap: 8px; }
}

/* ——— Arrival: the title rises 12 px once; pictures open from a 4 % inset. Content is visible without it. ——— */
.motion .s5 .arrive { transition: clip-path 1100ms var(--ease-out), opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
.motion .s5__title.arrive:not(.in) { opacity: 0; transform: translateY(12px); }
.motion .fam5 li.arrive:not(.in) { opacity: 0; transform: translateY(12px); }

/* ——— 1. The cabinet: the photo fits its box exactly (the doors and points sit on it in %), the seven points beside it ——— */
.cab5 { margin: 0; display: flex; flex-direction: column; }
/* the box is the space left for the photo and its caption; the photo keeps its exact proportions inside it */
.cab5__box { --cap: 44px; flex: 1; min-height: 0; container-type: size; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cab5__stage { flex: none; width: min(100cqw, (100cqh - var(--cap) - 4px) * 1584 / 892); aspect-ratio: 1584 / 892; border-radius: var(--radius); }
.cab5__cap { width: min(100cqw, (100cqh - var(--cap) - 4px) * 1584 / 892); min-height: var(--cap); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 20px;
  font-size: var(--step--1); color: var(--ink-2); }
.cab5__toggle { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; font: inherit; font-weight: 520;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
/* the leaves, the points and their motion are the v4 cabinet's (home-v4.css), repeated here for the prototype */
.cab__stage { position: relative; overflow: hidden; background: var(--graphite); perspective: 3200px; }
.cab__in { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* v7: the close-up card — the chosen point's own photo, large, over the half of the cabinet away from the point */
.cab7__pop { position: absolute; z-index: 4; top: 5%; bottom: 5%; right: 3%; aspect-ratio: 4 / 5.7; display: flex; flex-direction: column; gap: 6px;
  padding: 8px 8px 0; background: var(--paper-hi); border-radius: var(--radius);
  /* the card lifts off the cabinet, and the rest of the cabinet steps back behind it (the stage clips the veil) */
  box-shadow: 0 0 0 100vmax rgb(var(--shade) / 0.5), 0 28px 64px rgb(0 0 0 / 0.45), 0 2px 6px rgb(0 0 0 / 0.25);
  opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 260ms ease, transform 420ms var(--ease-out); }
.cab7__pop.is-left { right: auto; left: 3%; }
.cab7__pop.is-on { opacity: 1; transform: none; }
.cab7__pop[hidden] { display: none; }
.cab7__pop img { flex: 1; min-height: 0; width: 100%; object-fit: cover; border-radius: 2px; }
.cab7__pop-t { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 0 2px 6px; color: var(--ink); font-size: var(--step-0); }
.cab7__pop-t b { font-weight: 540; }
.cab7__close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.cab7__close:hover { background: var(--stone); }
.cab7__close svg { width: 18px; height: 18px; }
.cab7__thumb { display: none; }
@media (prefers-reduced-motion: reduce) { .cab7__pop { transition: none; } }
/* the photo and the points ride on two layers that move in together on the chosen point (home-v6.js sets the transform) */
.cab5__layer { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 900ms var(--ease-out); }
.cab5__points { z-index: 2; pointer-events: none; }
.cab5__points .cab__dot { pointer-events: auto; }
.cab5.is-open .cab5__points .cab__dot { transform: scale(var(--dz, 1)); }
.cab5.is-zoom .cab__dot:not([aria-expanded="true"]) > span[aria-hidden] { opacity: 0.55; }
.cab5__whole { position: absolute; z-index: 3; left: 12px; top: 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px 0 10px;
  border: 0; border-radius: 22px; background: rgb(var(--shade) / 0.62); color: var(--on-photo); font: inherit; font-size: var(--step--1); font-weight: 520; cursor: pointer;
  transition: background-color var(--dur-s); }
.cab5__whole:hover { background: rgb(var(--shade) / 0.82); }
.cab5__whole svg { width: 16px; height: 16px; }
.cab5__whole[hidden] { display: none; }
.cab5__whole:focus-visible { outline-color: var(--jaune); }
.cab__leaf { --open: 0; position: absolute; top: 3.363%; height: 85.2%; left: var(--x); width: var(--w);
  background: var(--tex) center / 100% 100% no-repeat, var(--paper); transform-origin: 100% 50%;
  transform: rotateY(calc(var(--open) * 93deg)); opacity: calc(1 - max(0, var(--open) - 0.9) * 10); backface-visibility: hidden; }
.cab__leaf::after { content: ""; position: absolute; inset: 0; background: rgb(var(--shade)); opacity: calc(var(--open) * 0.45); }
.cab5.is-timed .cab__leaf { transition: transform 1500ms var(--ease-out) calc(var(--i) * 140ms), opacity 400ms linear calc(1100ms + var(--i) * 140ms); }
.cab__dot { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  border: 0; background: none; cursor: pointer; display: grid; place-items: center;
  opacity: 0; transform: scale(0.6); visibility: hidden; transition: opacity 400ms, transform 500ms var(--ease-out), visibility 0s 500ms; }
.cab__dot > span[aria-hidden] { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgb(var(--shade) / 0.72); border: 1.5px solid var(--on-photo); color: var(--on-photo);
  font-size: var(--step--1); font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color var(--dur-s), color var(--dur-s), transform 300ms var(--ease-out); }
.cab__dot:hover > span[aria-hidden] { transform: scale(1.12); }
.cab__dot[aria-expanded="true"] > span[aria-hidden] { background: var(--paper-hi); color: var(--ink); border-color: var(--ink); }
.cab__dot:focus-visible { outline: none; }
.cab__dot:focus-visible > span[aria-hidden] { outline: 2px solid var(--jaune); outline-offset: 3px; }
.cab5.is-open .cab__dot { opacity: 1; transform: none; visibility: visible; transition: opacity 400ms calc(var(--n, 0) * 60ms), transform 500ms var(--ease-out) calc(var(--n, 0) * 60ms), visibility 0s; }
@media (max-width: 600px) { .cab__dot > span[aria-hidden] { width: 26px; height: 26px; } }

/* the seven points: a numbered list (the names of what is inside), the chosen one told under it */
.cab5__side { display: flex; flex-direction: column; gap: var(--gap); }
.cab5__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); counter-reset: none; }
.cab5__list li { border-bottom: 1px solid var(--rule); }
.cab5__list button { width: 100%; min-height: clamp(36px, 5svh, 48px); display: grid; grid-template-columns: 2.2em minmax(0, 1fr); align-items: center; gap: 8px;
  padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: var(--step-0); text-align: left; cursor: pointer;
  transition: color var(--dur-s); }
.cab5__n { font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.cab5__list button:hover, .cab5__list button[aria-pressed="true"] { color: var(--ink); }
.cab5__list button[aria-pressed="true"] .cab5__t { font-weight: 560; }
.cab5__list button[aria-pressed="true"] .cab5__n { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--ink); color: var(--paper-hi); }
.cab5__detail { flex: 1; min-height: 0; display: grid; gap: 6px; align-content: start; }
.cab5__detail > div { display: grid; gap: 6px; align-content: start; }
.cab5__detail h3 { margin: 0; font-size: var(--step-1); font-weight: 540; letter-spacing: -0.015em; line-height: 1.15; }
.cab5__detail p { font-size: var(--step-0); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.cab5__detail[hidden] { display: none; }

/* cabinet, upright screens: the photo full width at its own height, the list in two columns, the chosen point under it */
@media (max-aspect-ratio: 1/1), (max-width: 900px) {
  .s5-cab .s5__in { grid-template-rows: auto auto minmax(0, 1fr); }
  .s5-cab .cab5__box { container-type: normal; flex: none; }
  .s5-cab .cab5__stage, .s5-cab .cab5__cap { width: 100%; }
  .cab5__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }
  .cab5__list button { min-height: 44px; }
}
/* phones: the lead gives way; the seven points become seven numbers in a row */
@media (max-width: 600px) {
  .s5-cab .s5__lead { display: none; }
  .cab5__side { gap: 12px; }
  .cab5__list { display: flex; justify-content: space-between; column-gap: 0; border: 0; }
  .cab5__list li { border: 0; }
  .cab5__list button { width: 44px; min-height: 44px; grid-template-columns: 1fr; justify-items: center; }
  .cab5__list .cab5__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cab5__list .cab5__n { font-size: var(--step-0); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule-strong); }
  .cab5__list button[aria-pressed="true"] .cab5__n { width: 34px; height: 34px; }
  .cab5__cap span { display: none; }
  .cab5__detail p { font-size: var(--step--1); }
  /* phones: the card would be too small over the photo — the close-up sits large beside the words instead */
  .cab5__detail { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px; }
  .cab7__thumb { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 30svh; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
  .cab7__pop { display: none; }
  .cab5__whole { left: 8px; top: 8px; }
}

/* ——— 2. The workshop (v7). One set of tiles, two layouts:
   mosaic (List Holding) — four pictures and four figures in one grid, the hall picture largest, the film on demand in it;
   band (Somerville, Price & Pierce) — the hall picture wide, the four figures in a row under it. ——— */
.shop7 { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.shop7__ph { position: relative; margin: 0; min-height: 0; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.shop7__ph :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop7__ph video[hidden], .shop7__ph img[hidden] { display: none; }
.shop7__fact { min-height: 0; display: grid; align-content: end; gap: 4px; padding-top: 10px; border-top: 1px solid var(--rule-strong); }
.shop7__n { font-size: var(--step-2); font-weight: 400; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.shop7__t { font-size: var(--step--1); line-height: 1.45; color: var(--ink-2); max-width: 30ch; }
.shop7__play { position: absolute; z-index: 2; left: 12px; bottom: 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px 0 12px;
  border: 0; border-radius: 22px; background: rgb(var(--shade) / 0.62); color: var(--on-photo); font: inherit; font-size: var(--step--1); font-weight: 520; cursor: pointer;
  transition: background-color var(--dur-s); }
.shop7__play:hover { background: rgb(var(--shade) / 0.82); }
.shop7__play svg { width: 16px; height: 16px; }
.shop7__play:focus-visible { outline-color: var(--jaune); }
/* mosaic */
[data-v-shop="mosaic"] .shop7 { grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr); }
[data-v-shop="mosaic"] .shop7__hall { grid-column: 1 / span 6; grid-row: 1; }
[data-v-shop="mosaic"] .shop7__f1 { grid-column: 7 / span 3; grid-row: 1; }
[data-v-shop="mosaic"] .shop7__wiring { grid-column: 10 / span 3; grid-row: 1; }
[data-v-shop="mosaic"] .shop7__f2 { grid-column: 1 / span 3; grid-row: 2; }
[data-v-shop="mosaic"] .shop7__ready { grid-column: 4 / span 3; grid-row: 2; }
[data-v-shop="mosaic"] .shop7__f3 { grid-column: 7 / span 3; grid-row: 2; }
[data-v-shop="mosaic"] .shop7__annexe { grid-column: 10 / span 3; grid-row: 2; }
[data-v-shop="mosaic"] .shop7__f4 { grid-column: 10 / span 3; grid-row: 2; z-index: 1; align-self: end; margin: 0; padding: 56px 14px 12px; border: 0;
  border-radius: 0 0 var(--radius) var(--radius); background: linear-gradient(transparent, rgb(var(--shade) / 0.85) 40%); color: var(--on-photo); }
[data-v-shop="mosaic"] .shop7__f4 .shop7__t { color: var(--on-photo); }
/* band */
[data-v-shop="band"] .shop7 { grid-template-rows: minmax(0, 1fr) auto; row-gap: var(--gap); }
[data-v-shop="band"] .shop7__hall { grid-column: 1 / -1; grid-row: 1; }
[data-v-shop="band"] :is(.shop7__wiring, .shop7__ready, .shop7__annexe) { display: none; }
[data-v-shop="band"] .shop7__fact { grid-row: 2; grid-column: span 3; }
/* upright screens and phones, both: the hall picture, then the four figures two by two */
@media (max-aspect-ratio: 1/1), (max-width: 900px) {
  .shop7 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: minmax(0, 1fr) auto auto !important; row-gap: var(--gap); }
  .shop7__hall { grid-column: 1 / -1 !important; grid-row: 1 !important; }
  .shop7 :is(.shop7__wiring, .shop7__ready, .shop7__annexe) { display: none; }
  .shop7__fact { grid-column: auto !important; grid-row: auto !important; align-self: stretch !important; align-content: start !important; margin: 0 !important; padding: 10px 0 0 !important;
    border-top: 1px solid var(--rule-strong) !important; background: none !important; color: var(--ink) !important; border-radius: 0 !important; }
  .shop7__fact .shop7__t { color: var(--ink-2) !important; }
}
@media (max-width: 600px) { .s5-shop7 .s5__lead { display: none; } .shop7__n { font-size: var(--step-1); } .shop7__play { left: 8px; bottom: 8px; } }

/* ——— 3. Six families: objects in one frame and one scale; the pictures take the height the names leave ——— */
.fam5 { grid-column: 1 / -1; min-height: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) auto auto; column-gap: var(--gutter); row-gap: 10px; }
.fam5 li, .fam5 a { grid-row: span 3; display: grid; grid-template-rows: subgrid; min-height: 0; }
.fam5 a { color: var(--ink); text-decoration: none; }
.fam5__ph { display: block; min-height: 0; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.fam5__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.fam5__name { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 10px; border-top: 1px solid var(--rule-strong);
  font-size: var(--step-1); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.fam5__name svg { flex: none; width: 16px; height: 16px; transition: transform var(--dur-m) var(--ease-out); }
.fam5__spec { display: grid; align-content: start; font-size: var(--step--1); line-height: 1.45; color: var(--ink-2); }
@media (hover: hover) { .fam5 a:hover .fam5__ph img { transform: scale(1.03); } .fam5 a:hover .fam5__name svg { transform: translateX(4px); } }
@media (max-aspect-ratio: 1/1), (max-width: 900px) {
  .fam5 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr) auto auto; }
}
/* phones: six cards in a row that the thumb swipes, each with a large picture; the next card peeks in */
@media (max-width: 600px) {
  .fam5 { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); scroll-padding-inline: var(--margin); }
  .fam5::-webkit-scrollbar { display: none; }
  .fam5 li { flex: 0 0 74%; scroll-snap-align: start; display: flex; }
  .fam5 a { flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
  .fam5__ph { flex: 1; }
}

/* ——— 4. Who works with us (v7). The same content, two layouts:
   grid — the two main clients and what clients say side by side, then the installers and the suppliers as two tables;
   wall (Thirdway « In good company ») — one wall of equal cells, the two main clients double, one testimonial under it. ——— */
.refs7 { grid-column: 1 / -1; min-height: 0; display: grid; }
.refs7 ul { list-style: none; margin: 0; padding: 0; }
.refs7__main li { position: relative; min-height: 0; display: grid; place-items: center; border-radius: var(--radius); background: var(--paper-hi); }
.refs7__main img { width: auto; max-width: 70%; max-height: 46%; object-fit: contain; }
.refs7__main span { position: absolute; left: 14px; bottom: 10px; font-size: var(--step--1); color: var(--ink-2); }
.refs7__label { font-size: var(--step--1); font-weight: 560; color: var(--ink-2); }
.refs7__group li { display: grid; place-items: center; min-height: 0; }
.refs7__group img { width: 100%; max-width: calc(110px * var(--k, 1)); height: calc(clamp(16px, 2.6svh, 28px) * var(--k, 1)); object-fit: contain; opacity: 0.85; }
.refs7__note { font-size: var(--step--1); line-height: 1.45; color: var(--ink-2); }
.refs7__avis figure { margin: 0; display: grid; gap: 10px; align-content: start; padding-top: clamp(8px, 1.6svh, 16px); border-top: 1px solid var(--rule-strong); }
.refs7__avis blockquote { margin: 0; font-size: var(--step-0); line-height: 1.45; }
.refs7__avis figcaption { display: flex; align-items: center; gap: 12px; font-size: var(--step--1); color: var(--ink-2); }
.refs7__avis figcaption img { flex: none; width: 44px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; background: var(--stone); }
.stub { display: inline-block; margin-right: 6px; padding: 0 6px; border: 1px solid currentColor; font-weight: 560; color: var(--ink); }
.refs7__avis:focus-visible { outline-offset: 6px; }
/* grid */
[data-v-refs="grid"] .refs7 { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto; gap: var(--gap) var(--gutter); }
[data-v-refs="grid"] .refs7__main { grid-column: 1 / span 6; grid-row: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
[data-v-refs="grid"] .refs7__avis { grid-column: 7 / -1; grid-row: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr);
  column-gap: var(--gutter); row-gap: 10px; }
[data-v-refs="grid"] .refs7__note { grid-column: 1 / -1; }
[data-v-refs="grid"] .refs7__avis figure { align-content: start; gap: clamp(14px, 2.6svh, 32px); }
[data-v-refs="grid"] .refs7__avis blockquote { font-size: var(--step-1); line-height: 1.35; letter-spacing: -0.01em; }
[data-v-refs="grid"] .refs7__group { grid-row: 2; display: grid; gap: 8px; }
[data-v-refs="grid"] .refs7__inst { grid-column: 1 / span 6; }
[data-v-refs="grid"] .refs7__sup { grid-column: 7 / -1; }
[data-v-refs="grid"] .refs7__group ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
[data-v-refs="grid"] .refs7__group li { height: clamp(44px, 8svh, 110px); padding: 0 12%; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (min-width: 901px) and (min-aspect-ratio: 1/1) {
  [data-v-refs="grid"] .refs7__avis blockquote { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.02em; }
  [data-v-refs="grid"] .refs7__avis figcaption img { width: clamp(44px, 7svh, 96px); }
  /* the clients' row takes what the testimonials need (and a share of a tall screen), the two tables take the rest:
     on a large monitor the cells and the logos grow instead of an empty band under the quotes (review 2026-09-26) */
  [data-v-refs="grid"] .refs7 { grid-template-rows: minmax(auto, 1.4fr) minmax(0, 1fr); }
  [data-v-refs="grid"] .refs7__avis { min-height: auto; }
  [data-v-refs="grid"] .refs7__group { min-height: 0; grid-template-rows: auto minmax(0, 1fr); }
  [data-v-refs="grid"] .refs7__group ul { grid-template-rows: repeat(2, minmax(44px, 1fr)); }
  [data-v-refs="grid"] .refs7__group li { height: auto; padding: 0 10%; }
  [data-v-refs="grid"] .refs7__group img { height: calc(clamp(16px, 2.9svh, 38px) * var(--k, 1)); max-width: calc(130px * var(--k, 1)); }
}
/* wall */
[data-v-refs="wall"] .refs7 { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)) auto; gap: 4px; }
[data-v-refs="wall"] :is(.refs7__main, .refs7__group, .refs7__group ul) { display: contents; }
[data-v-refs="wall"] .refs7__main li { grid-column: span 2; grid-row: span 2; }
[data-v-refs="wall"] .refs7__label { display: grid; align-content: start; padding: 12px 14px; border-radius: var(--radius); background: var(--stone); color: var(--ink); }
[data-v-refs="wall"] .refs7__group li { padding: 0 16%; border-radius: var(--radius); background: var(--paper-hi); }
[data-v-refs="wall"] .refs7__avis { grid-column: 1 / -1; grid-row: 6; display: flex; align-items: center; gap: 24px; padding-top: 12px; }
[data-v-refs="wall"] .refs7__avis figure { flex: 1; display: flex; align-items: center; gap: 20px; padding: 0; border: 0; }
[data-v-refs="wall"] .refs7__avis figure ~ figure { display: none; }
[data-v-refs="wall"] .refs7__note { flex: none; max-width: 36ch; }
[data-v-refs="wall"] .refs7__note .refs5__note-t { display: none; }
/* upright screens: the main clients, the testimonials, then the two tables; phones: one testimonial */
@media (max-aspect-ratio: 1/1), (max-width: 900px) {
  .refs7 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: minmax(0, 1fr) auto auto auto !important; gap: var(--gap) var(--gutter) !important; }
  .refs7__main { grid-column: 1 / -1 !important; grid-row: 1 !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
  .refs7__main li { grid-column: auto !important; grid-row: auto !important; }
  .refs7__avis { grid-column: 1 / -1 !important; grid-row: 2 !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 8px; padding: 0 !important; }
  .refs7__avis figure { display: grid !important; }
  .refs7__note { grid-column: 1 / -1; }
  .refs7__group, .refs7__group ul { display: grid !important; }
  .refs7__group { grid-column: 1 / -1 !important; grid-row: auto !important; gap: 6px; }
  .refs7__group ul { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .refs7__label { padding: 0 !important; background: none !important; color: var(--ink-2) !important; }
  .refs7__group li { padding: 0 10% !important; background: none !important; }
}
@media (max-width: 600px) {
  .s5-refs7 .s5__lead p { display: none; }
  .refs7 { grid-template-rows: minmax(84px, 1fr) auto auto auto !important; }
  .refs7__main img { max-height: 48%; }
  .refs7__main span { display: none; }
  .refs7__avis { display: flex !important; flex-wrap: wrap; gap: 6px 12px; }
  .refs7__note { flex: 0 0 100%; }
  .refs7__note .refs5__note-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .refs7__avis figure { flex: 0 0 100%; }
  .refs7__avis figure ~ figure { display: none !important; }
  .refs7__avis blockquote { font-size: var(--step--1); }
  .refs7__avis figcaption img { width: 32px; }
  .refs7__group img { height: calc(15px * var(--k, 1)); max-width: 80%; }
}

/* ——— 5. The request: graphite; the form with the workshop's phone and address under it, and beside it what happens after
   the request — the four steps, words first (owner, 2026-09-26: the numbers screen said nothing, half of this screen was
   empty). The footer shares the screen (--foot-h, home.js); the top bar stays away here (one request button). ——— */
.s5-fin { --err-on-dark: #ffb4a2; height: auto; min-height: calc(max(100svh, 540px) - var(--foot-h, 0px)); background: var(--graphite); color: var(--on-graphite); }
.s5-fin .s5__in { grid-template-rows: auto minmax(0, 1fr); }
.s5-fin .s5__head { border-top-color: color-mix(in srgb, var(--on-graphite) 30%, transparent); }
.s5-fin .s5__lead { color: var(--on-graphite-2); }
.s5-fin :focus-visible { outline-color: var(--jaune); }
/* the request starts a fixed step under the title (not centred: a validation message growing under a field must not move
   the button away from under the pointer) */
.fin5 { grid-column: 1 / -1; align-self: start; display: grid; grid-template-columns: subgrid; row-gap: clamp(22px, 4svh, 48px); padding-top: clamp(0px, 1.5svh, 24px); }
.fin5__main { grid-column: 1 / span 7; display: grid; gap: clamp(20px, 4svh, 44px); align-content: start; }
/* the button's foot sits on the fields' line: label (one line) + the field's gap + the 56 px field − the 52 px button.
   Everything hangs from the top, so a message growing under a field never moves the button (it did with a shared grid:
   the click on « Demander un devis » missed when the phone message appeared on mousedown). */
.fin5__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 18px var(--gutter); align-items: start; }
.fin5__form .field label { line-height: 1.55; }
.fin5__form .btn { margin-top: calc(var(--step--1) * 1.55 + 10px); }
.s5-fin .field label { color: var(--on-graphite-2); }
.s5-fin .field input { color: var(--on-graphite); border-bottom-color: var(--on-graphite); caret-color: var(--on-graphite); }
.s5-fin .field__err { color: var(--err-on-dark); }
.s5-fin .field input[aria-invalid="true"] { border-bottom-color: var(--err-on-dark); }
.fin5 .fin__done { grid-column: 1 / -1; display: none; gap: 6px; }
.fin5 .fin__done.is-on { display: grid; }
.fin5 .fin__done p:first-child { font-weight: 600; }
.s5-fin .crm { border-top-color: color-mix(in srgb, var(--on-graphite) 45%, transparent); }
.s5-fin .crm dl div { border-bottom-color: color-mix(in srgb, var(--on-graphite) 16%, transparent); }
.s5-fin .crm dt, .s5-fin .caption { color: var(--on-graphite-2); }
.fin5__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gutter); padding-top: clamp(12px, 2svh, 22px);
  border-top: 1px solid color-mix(in srgb, var(--on-graphite) 16%, transparent); color: var(--on-graphite-2); font-size: var(--step--1); }
.fin5__steps { grid-column: 9 / -1; display: grid; gap: clamp(10px, 1.8svh, 18px); align-content: start; }
.fin5__steps h3 { margin: 0; font-size: var(--step-1); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.fin5__steps ol { list-style: none; margin: 0; padding: 0; counter-reset: st; border-top: 1px solid color-mix(in srgb, var(--on-graphite) 30%, transparent); }
.fin5__steps li { counter-increment: st; display: grid; grid-template-columns: 1.8em minmax(0, 1fr); align-content: start; column-gap: 8px; row-gap: 2px; padding-block: clamp(6px, 1.2svh, 13px);
  border-bottom: 1px solid color-mix(in srgb, var(--on-graphite) 16%, transparent); }
.fin5__steps li::before { content: counter(st); grid-row: span 2; font-size: var(--step--1); color: var(--on-graphite-2); font-variant-numeric: tabular-nums; padding-top: 0.2em; }
.fin5__steps b { font-size: var(--step-0); font-weight: 520; }
.fin5__steps span { font-size: var(--step--1); line-height: 1.45; color: var(--on-graphite-2); }
.fin5__contact p { display: grid; gap: 4px; }
.fin5__big { font-size: var(--step-1); color: var(--on-graphite); text-decoration: none; font-variant-numeric: tabular-nums; }
a.fin5__big:hover { text-decoration: underline; }
@media (max-aspect-ratio: 1/1), (max-width: 900px) {
  .fin5__main, .fin5__steps { grid-column: 1 / -1; }
  .fin5__steps ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
}
@media (max-width: 760px) {
  .fin5__form { grid-template-columns: 1fr; }
  .fin5__form .btn { justify-self: start; margin-top: 0; }
  .fin5__contact { grid-template-columns: 1fr; }
  .fin5__steps ol { grid-template-columns: 1fr; }
}
/* the footer does not repeat the address and the phone the request screen has just given */
main[data-screens] + .footer .footer__col:is(:nth-of-type(2), :nth-of-type(3)) { display: none; }
/* the footer, compact, closes the last screen */
main[data-screens] + .footer { padding-block: 0 20px; }
main[data-screens] + .footer .footer__grid { padding-top: 28px; row-gap: 24px; border-top: 1px solid color-mix(in srgb, var(--on-graphite) 12%, transparent); }
/* upright tablets: the footer in three short columns, so the request and the footer still share one screen */
@media (min-width: 601px) and (max-aspect-ratio: 1/1) {
  main[data-screens] + .footer .footer__grid { row-gap: 20px; }
  main[data-screens] + .footer .footer__brand { grid-column: span 4; }
  main[data-screens] + .footer .footer__col:nth-of-type(5) { grid-column: span 3; }
  main[data-screens] + .footer .footer__brand svg { width: 160px; }
  main[data-screens] + .footer .footer__col { gap: 0; }
  main[data-screens] + .footer .footer__col :is(a, span) { min-height: 28px; }
  main[data-screens] + .footer .footer__col:nth-of-type(4) { grid-column: span 5; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  main[data-screens] + .footer .footer__col:nth-of-type(4) h2 { grid-column: 1 / -1; }
  main[data-screens] + .footer .footer__legal { margin-top: 4px; padding-top: 12px; }
}
/* landscape screens: the request and the footer fit one screen together, so the page ends on a whole screen and the top
   tabs sit in its free band, not over the title */
@media (min-width: 901px) and (min-aspect-ratio: 1/1) {
  main[data-screens] + .footer .footer__grid { padding-top: clamp(16px, 3svh, 28px); row-gap: 12px; }
  main[data-screens] + .footer .footer__brand { grid-column: 1 / span 3; gap: 12px; }
  main[data-screens] + .footer .footer__brand svg { width: clamp(140px, 13vw, 200px); }
  main[data-screens] + .footer .footer__col { gap: 0; }
  main[data-screens] + .footer .footer__col :is(a, span) { min-height: 28px; }
  main[data-screens] + .footer .footer__col:nth-of-type(4) { grid-column: span 6; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  main[data-screens] + .footer .footer__col:nth-of-type(4) h2 { grid-column: 1 / -1; }
  main[data-screens] + .footer .footer__col:nth-of-type(5) { grid-column: span 3; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  main[data-screens] + .footer .footer__col:nth-of-type(5) h2 { grid-column: 1 / -1; }
  main[data-screens] + .footer .footer__legal { margin-top: 4px; padding-top: 12px; }
}

/* ——— 5. The request (v7). Two layouts:
   photo (Thirdway, Driessen) — the Jenko building beside the phone, the form and the four steps after the request;
   big (List Holding) — the phone number large, the form under it, the steps beside. ——— */
.fin7 { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: subgrid; align-content: stretch; row-gap: var(--gap); padding-top: clamp(0px, 1svh, 16px); }
.fin7__ph { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--graphite-2); min-height: 0; }
.fin7__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fin7__ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 12px; background: linear-gradient(transparent, rgb(var(--shade) / 0.8));
  color: var(--on-photo); font-size: var(--step--1); }
.fin7__main { display: grid; gap: clamp(16px, 3svh, 32px); align-content: start; }
.fin7__tel { display: grid; gap: 4px; color: var(--on-graphite-2); font-size: var(--step--1); }
.fin7__tel a { color: var(--on-graphite); text-decoration: none; font-size: var(--step-2); letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.fin7__tel a:hover { text-decoration: underline; }
.fin7 .fin5__steps h3 { font-size: var(--step-0); font-weight: 560; }
/* photo */
[data-v-fin="photo"] .fin7 { grid-template-rows: auto minmax(0, 1fr); }
[data-v-fin="photo"] .fin7__ph { grid-column: 1 / span 6; grid-row: 1 / span 2; }
[data-v-fin="photo"] .fin7__main { grid-column: 7 / -1; grid-row: 1; }
[data-v-fin="photo"] .fin7__steps { grid-column: 7 / -1; grid-row: 2; align-self: end; }
[data-v-fin="photo"] .fin7__addr { display: none; }
[data-v-fin="photo"] .fin7__steps ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
/* tall monitors: the four steps one under another, so the text column is as tall as the photo (review 2026-09-26) */
@media (min-width: 901px) and (min-aspect-ratio: 1/1) and (min-height: 1200px) { [data-v-fin="photo"] .fin7__steps ol { grid-template-columns: minmax(0, 1fr); } }
/* big */
[data-v-fin="big"] .fin7__ph { display: none; }
[data-v-fin="big"] .fin7__main { grid-column: 1 / span 7; }
[data-v-fin="big"] .fin7__tel a { font-size: var(--step-3); font-weight: 500; }
[data-v-fin="big"] .fin7__steps { grid-column: 9 / -1; grid-row: 1; }
@media (max-aspect-ratio: 1/1), (max-width: 900px) {
  .fin7__ph { grid-column: 1 / -1 !important; grid-row: auto !important; aspect-ratio: 16 / 7; }
  .fin7__main, .fin7__steps { grid-column: 1 / -1 !important; grid-row: auto !important; }
}
@media (max-width: 600px) { .fin7__ph { display: none; } .fin7__steps ol { grid-template-columns: 1fr !important; } }

/* v7: « back to top » as a real button — a ring with the arrow, at the end of the footer */
.footer__top7 { gap: 12px; font-size: var(--step-0); font-weight: 520; }
.footer__top7 i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--on-graphite); transition: background-color var(--dur-s), color var(--dur-s); }
.footer__top7 i svg { width: 18px; height: 18px; }
.footer__top7:hover { text-decoration: none; }
.footer__top7:hover i { background: var(--on-graphite); color: var(--graphite); }

/* « back to top », at the end of the footer's last line */
.footer__top { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--on-graphite); }
.footer__top:hover { text-decoration: underline; }
.footer__top svg { width: 16px; height: 16px; }

/* ——— Reduced motion: doors open, the zoom is a cut ——— */
@media (prefers-reduced-motion: reduce) { .cab5__layer, .shop5__img { transition: none; } }
@media (prefers-reduced-motion: reduce) { .fam5__ph img { transition: none; } }

/* short phones: the close-up beside the words stays inside the screen */
@media (max-width: 600px) and (max-height: 700px) { .cab7__thumb { max-height: 22svh; } }
