/* The network (network.html): design B's page and order in A's world. Page CSS (stage 2); the shared system is
   site.css and tokens.css, read through the semantic and component tokens only.
   1 the quay from above, the truck drives · 2 who the network is for · 3 the power of many (figures on the hull,
   the 27 offices on the ink band) · 4 members checked, payments protected (A's bolt seal) · 5 the directory ·
   6 the doorway close (shared). */

/* ---------- 1. the first screen: the aerial covers the screen; the words stand on the open water ---------- */
.net-hero { height: 100svh; min-height: 640px; background: var(--c-band); }
.net-pic { position: absolute; inset: 0; overflow: hidden; }
/* Hebrew (he/network.html, network-he.js): the words stand at the right, where a right-to-left reader starts, so the
   whole picture is mirrored as one, plate, truck, beams, lit crane and the wash together (every layer box is a % of
   the plate inside it, so they stay registered): the open water and its deep wash come under the words at the right,
   the ship under way keeps its place at the zoom's origin, and the truck drives toward the lower right. The plate
   carries no lettering and no logo (no stamp entry in logo-stamp.js), as the home page's mirrored plate (home.css) */
:root[dir="rtl"] .net-pic { transform: scaleX(-1); }
/* gap pass M1: the idle move (motion.js, data-idle) moves this wrapper, so the plate and the truck move as one */
.net-idle { position: absolute; inset: 0; }
/* repair 1 (F3, "ships never move backwards"): the plate holds a ship under way at its top left (plate x 22%, y 12.9%,
   bow to the upper right). The drift's 1.1% slide and its scale about the frame's centre carried that ship 3.6 px
   astern in the first 5 s, so this layer zooms instead (data-idle="zoom", no slide) about that ship: --w and the
   offsets repeat the stage's own geometry below (one block per layout), so the origin sits on the ship at every size
   and the ship never moves; the quay, the moored ship and the truck breathe around it. A scale of 1 or more about a
   point inside the frame never shows an edge; on a phone the origin lies left of the frame but inside the drawn plate
   (measured at 320, 390 and 600: the plate's left edge stays 49 to 239 px off screen). */
.net-hero .net-idle { --w: max(120cqw, calc(100cqh * 16 / 9)); transform-origin: calc(var(--w) * .22) calc(var(--w) * .0726); }
/* the plate covers the screen at its own 16:9 and is anchored at its left edge, where the water is; every layer box
   is a % of the plate (MOTION-LAYERS.md), so the truck follows any crop */
.net-hero .net-stage { --w: max(120cqw, calc(100cqh * 16 / 9)); left: 0; width: var(--w); height: calc(var(--w) * 9 / 16); top: 0;
  transform: translate3d(0, calc(var(--p, 0) * var(--drift, 16%)), 0); }
.net-stage .truck > picture, .net-stage .drive > picture, .net-stage .front > picture { position: absolute; }
/* THE TRUCK DRIVES: 5% of the plate width along its lane, toward the lower left (lane -26.4 deg; unit vector
   (-0.8957, 0.4446); y in % of the plate height, hence x 16/9). Clean to 5.5% (the middle crane's machinery box).
   Scrubbed by the scroll: it stops when the visitor stops. The headlight beams (dark) ride in their own additive
   wrapper; the lit crane steel (dark) lies over them, still. */
.net-stage .drive { transform: translate3d(calc(var(--p, 0) * var(--truck-x, -4.4785%)), calc(var(--p, 0) * var(--truck-y, 3.9516%)), 0); }
.net-hero.is-moving .drive, .net-hero.is-moving .net-stage { will-change: transform; }
/* the sea deepens toward the left edge, under the words (never a box: it fades out before the ship's side). Its colour
   is the brand ink with a little of the deep green in it, so the water reads deeper rather than violet. */
.net-wash { --sea: color-mix(in oklab, var(--c-band) 84%, var(--c-accent-deep)); position: absolute; z-index: 2; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, color-mix(in srgb, var(--sea) 80%, transparent) 0%, color-mix(in srgb, var(--sea) 70%, transparent) 32%, color-mix(in srgb, var(--sea) 46%, transparent) 44%, color-mix(in srgb, var(--sea) 12%, transparent) 56%, transparent 66%),
              radial-gradient(ellipse 34cqw 32cqh at calc(var(--edge) + 14cqw) 55%, color-mix(in srgb, var(--sea) var(--wash-r, 50%), transparent), transparent),
              linear-gradient(to bottom, color-mix(in srgb, var(--sea) 30%, transparent), transparent 26%); }
:root[data-theme="dark"] .net-wash { --sea: var(--c-band); --wash-r: 68%; }   /* blue hour: the dusk ink itself; the deck lamps on the bow */
/* repair 2: where the words take 46 to 48% of the width (a phone held sideways, 844x390; a tablet held sideways,
   1024x768), the last of them, "join the network" at the note's end, stood on the bright quay past the wash's deep
   part (844x390: 3.08:1 in light and 3.70 at dusk once the hero had scrolled; 1024x768 light: 3.18, then 2.95). There
   the deep water reaches further right, still fading out before the truck's lane */
@media (max-height: 500px) and (min-aspect-ratio: 1/1), (max-width: 1100px) and (min-aspect-ratio: 1/1) {
  .net-wash { background: linear-gradient(100deg, color-mix(in srgb, var(--sea) 84%, transparent) 0%, color-mix(in srgb, var(--sea) 80%, transparent) 44%, color-mix(in srgb, var(--sea) 52%, transparent) 56%, color-mix(in srgb, var(--sea) 14%, transparent) 66%, transparent 74%),
              linear-gradient(to bottom, color-mix(in srgb, var(--sea) 30%, transparent), transparent 26%); }
}
.net-copy { position: absolute; z-index: 5; inset-inline-start: var(--edge); top: calc(var(--header-h) + clamp(28px, 7cqh, 84px)); width: min(560px, 42cqw); color: var(--c-on-band); }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 8px; font-size: var(--fs-s); color: var(--c-on-band-muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .7; }
.crumbs a { color: var(--c-on-band); text-underline-offset: 3px; }
.net-h1 { --big: min(76px, 5.2cqw, 9.2cqh); font-family: var(--f-display); font-size: var(--big); line-height: .95; letter-spacing: -.036em; font-weight: 600; color: var(--c-on-band); }
.net-h1 .line { display: block; width: fit-content; white-space: nowrap; }
.net-h1 .line.small { font-size: .44em; line-height: 1.2; letter-spacing: -.012em; font-weight: 400; margin-top: .5em; }
/* Hebrew: Rubik with no negative tracking and a looser leading (the home page's Hebrew headline, home.css); the claim
   takes two small lines, broken by meaning, held together as one block */
:root[dir="rtl"] .net-h1 { letter-spacing: 0; line-height: 1.04; }
:root[dir="rtl"] .net-h1 .line.small { letter-spacing: 0; line-height: 1.32; font-weight: 500; }
:root[dir="rtl"] .net-h1 .line.small + .line.small { margin-top: 0; }
:root[dir="rtl"] .net-copy .sub { text-wrap: pretty; }   /* no word left alone on the last line */
/* the entrance (fix stage 2, the shared first-screen rule): the words rise at parse, 500 ms, 50 ms apart, and never
   wait for the picture; only the plate waits for .ready (pages/network.js: the plate decoded, 1.5 s at most) */
.net-h1 .line > span { display: inline-block; animation: net-rise .5s var(--p-ease-out) both; animation-delay: calc(.04s + var(--li, 0) * 50ms); }
@keyframes net-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.net-copy .sub { margin: 22px 0 26px; font-size: var(--fs-l); line-height: 1.45; max-width: 28em; color: var(--c-on-band); animation: net-fade .5s var(--p-ease-out) .19s both; }
.net-copy .ctas { animation: net-fade .5s var(--p-ease-out) .24s both; }
.net-copy .btn-wa { border-color: color-mix(in srgb, var(--c-on-band) 58%, transparent); }
.net-copy .note { margin-top: 14px; font-size: var(--fs-s); color: var(--c-on-band); animation: net-fade .5s var(--p-ease-out) .29s both; }
.net-copy .note b { font-weight: var(--fw-strong); }
.net-copy .note a { color: var(--c-on-band-accent); font-weight: var(--fw-ui); text-underline-offset: 3px; }
.net-copy :focus-visible { outline-color: var(--c-focus-on-band); }
@keyframes net-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.net-hero .stage { animation: net-plate .45s var(--p-ease-out) both; }
@keyframes net-plate { from { opacity: 0; } to { opacity: 1; } }
:root.js .net-hero:not(.ready) .stage { animation-play-state: paused; }

/* ---------- 2. who the network is for: two columns on the ground, no boxes ---------- */
.net-who .aud-pair { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-line-strong); }
.aud { padding: 44px 56px 4px 0; display: flex; flex-direction: column; }
.aud + .aud { padding-inline: 56px 0; border-inline-start: 1px solid var(--c-line); }
/* Hebrew: the first column's room sits at its inline end, which is its left (the rule above is physical). :where()
   keeps this at .aud's own weight, so the logical rules after it (the second column, 1100 and 900 px) still win */
:where(:root[dir="rtl"]) .aud { padding-right: 0; padding-left: 56px; }
.aud h3 { font-size: clamp(30px, 2.6vw, 40px); letter-spacing: var(--tr-display); line-height: 1.08; }
.aud-lede { margin-top: 10px; font: var(--fw-ui) var(--fs-l)/1.35 var(--f-display); color: var(--c-accent-text); }
.aud > p:not(.aud-lede) { margin-top: 18px; color: var(--c-text-muted); max-width: 36em; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--c-accent-text); }
.aud .ctas { margin-top: auto; padding-top: 32px; }

/* ---------- 3. the power of many: the slogan in the sky, the figures along the hull (clear of the crane) ---------- */
.net-scale { background: var(--c-band); color: var(--c-on-band); }
.scale-pic { position: relative; aspect-ratio: 1600 / 904; container: scale / inline-size; overflow: hidden; }
.scale-pic > .pair { position: absolute; inset: 0; }
.scale-pic img { object-position: 50% 50%; }
/* Hebrew: the plate is mirrored, so the clear sky (for the slogan) and the open hull (for the figures) stand at the
   right, under the words that start there, and the crane's legs at the left; no lettering or logo in the plate */
:root[dir="rtl"] .scale-pic .pair img { transform: scaleX(-1); }
/* the sky left of the boom is clear down to the stacks (plate x 0-36%, y 0-44%): the slogan stands there */
.scale-sky { position: absolute; inset-inline-start: var(--edge); top: 8cqw; width: calc(35cqw - var(--edge)); color: var(--c-hero-text); }
.scale-sky h2 { font-size: min(clamp(36px, 4.6cqw, 68px), calc((35cqw - var(--edge)) / 4.8)); line-height: 1; letter-spacing: -.035em; }
.scale-sky .sky-sub { margin-top: 14px; font-size: var(--fs-l); line-height: 1.4; color: var(--c-hero-text); max-width: 20em; }
:root[dir="rtl"] .scale-sky .sky-sub { text-wrap: balance; }   /* Hebrew: two even lines, not "היא יוצאת." alone */
/* the live count (O8): fixed "6,000+ companies on the platform" plus the public profiles, here the sample's count */
.scale-sky .sky-count { margin-top: 12px; font-size: var(--fs-s); line-height: 1.45; font-weight: var(--fw-ui); color: var(--c-hero-text); max-width: 26em; }
/* final gap stage: B10's shared count line (two lines in the 35cqw column) reached the deck stacks at 1366x768 in dark
   ("13" at 3.46:1). Over 1100 px it runs on one line into the open sky right of the column (the boom ends higher up),
   and the block starts a little higher */
@media (min-width: 1101px) {
  .scale-sky { top: 7cqw; }
  .scale-sky .sky-count { max-width: none; width: max-content; }
}
/* repair 2: from 768 to 1100 px the column is narrow, the count line takes two lines and its second reaches the deck
   stacks (844 wide: "13" at 3.79:1 in light, the whole line 2.78 to 3.00 at dusk). From 901 px it wears the page's
   own ground, a highlight just behind its words, as the home headline does on a phone held sideways. At 900 px and
   below the column is narrower still (237 px at 768: the sub-line takes three lines and "they start." stood on the
   containers, 3.08:1 at dusk), so there the slogan block leaves the sky for the ink band, as on a phone (below) */
@media (min-width: 901px) and (max-width: 1100px) {
  /* the site's highlight (site.css): strips that hug each of the line's two lines, not a block with ~77 px of empty
     ground beside the shorter line */
  .scale-sky .sky-count { margin-inline-start: -10px; line-height: var(--count-strip-lh, 24px); }
  .scale-sky .sky-count .hl { padding: 3px 10px 4px; border-radius: var(--hl-radius); background: var(--hl-ground); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}
@media (max-width: 900px) {
  .scale-sky { position: static; width: auto; max-width: none; padding: 36px var(--margin) 0; color: var(--c-on-band); }
  .scale-sky h2 { font-size: var(--fs-h2); }
  .scale-sky .sky-sub { color: var(--c-on-band-muted); }
  .scale-sky .sky-count { color: var(--c-on-band-muted); }
}
/* from 480 to 900 px the block stands on the ink band's full column, so it drops the phone's narrow measure (at 768
   "they start." stood alone on a second line, and the count line broke after "platform" with 430 px free; iPad mini
   portrait, 744 px, did the same). The sub-line (434 px) is one line from 480 px wide, and the count line (451 px)
   from 484; from 480 to 483 the count line breaks between its two nowrap halves. Below 480 the phone's caps stay
   (.sky-sub 20em, .sky-count 26em), so both lines break as before */
@media (min-width: 480px) and (max-width: 900px) {
  .scale-sky .sky-sub, .scale-sky .sky-count { max-width: 60ch; }
}
/* the figures along the dark hull, below the deck stacks and the rail: plate y 82-93%, x up to 63% (right of that the
   deck stacks come down to 84% and the crane's legs start at 84%; B's figures ran over them) */
/* at blue hour the deck lamps light the hull's top edge: the hull is shaded a little under the figures (dark only) */
.hull-shade { position: absolute; inset: 0; pointer-events: none; }
:root[data-theme="dark"] .hull-shade { background: linear-gradient(to bottom, transparent 77%, color-mix(in srgb, var(--c-band) 55%, transparent) 83%, color-mix(in srgb, var(--c-band) 40%, transparent) 97%, transparent); }
.hull-figs { position: absolute; inset-inline-start: var(--edge); width: calc(63cqw - var(--edge)); top: 82%; margin: 0; padding: 0; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.hull-figs .n { display: block; font: 500 clamp(28px, 3.25cqw, 50px)/1 var(--f-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: var(--c-on-band); }
.hull-figs .n em { font-style: normal; color: var(--c-on-band-accent); }
.hull-figs .l { display: block; margin-top: 8px; font-size: var(--fs-s); color: var(--c-on-band-muted); }

.offices { padding: 80px 0 104px; }
.off-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.off-head h3 { grid-column: 1 / span 5; font-size: clamp(30px, 2.8vw, 44px); letter-spacing: var(--tr-display); line-height: 1.05; color: var(--c-on-band); }
.off-head p { grid-column: 7 / span 6; color: var(--c-on-band-muted); font-size: var(--fs-l); line-height: 1.5; }
.regions { list-style: none; margin: 48px 0 0; padding: 28px 0 0; border-top: 1px solid color-mix(in srgb, var(--c-on-band) 18%, transparent); display: grid; grid-template-columns: 2.1fr 1.25fr 1.35fr 1fr 1.35fr 1fr; gap: 28px; }
.regions h4 { margin: 0; font: var(--fw-strong) var(--fs-s)/1.3 var(--f-text); letter-spacing: 0; color: var(--c-on-band); }
.regions h4 { text-wrap: balance; }
.regions .cnt { white-space: nowrap; color: var(--c-on-band-accent); font-variant-numeric: tabular-nums; }
.regions ul { list-style: none; margin: 12px 0 0; padding: 0; color: var(--c-on-band-muted); font-size: var(--fs-m); line-height: 1.95; }
.regions .r-europe ul { column-count: 2; column-gap: 24px; }
.regions .ho { font-size: var(--fs-xs); }
/* gap pass (Taste, page length at 390): on a phone the 27 offices sit behind "See all 27 offices" (pages/network.js
   closes the disclosure below 768 px; without script, and on wider screens, the list is open and the summary hidden) */
.off-all > summary { display: none; }
@media (max-width: 767px) {
  .off-all > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-top: 28px; padding: 0 20px; list-style: none; cursor: pointer; border: 1.5px solid color-mix(in srgb, var(--c-on-band) 40%, transparent); border-radius: var(--p-radius-pill); color: var(--c-on-band); font-weight: var(--fw-ui); }
  .off-all > summary::-webkit-details-marker { display: none; }
  .off-all > summary svg { width: 14px; height: 14px; transition: transform .2s var(--p-ease-ui); }
  .off-all[open] > summary svg { transform: rotate(180deg); }
  .off-all > summary:focus-visible { outline: 2px solid var(--c-focus-on-band); outline-offset: 3px; }
}

/* ---------- 4. standing in plain sight, payments protected: the picture beside the three promises ----------
   (final polish m27: the picture is the inspection-yard plate, mode-customs, no longer A's bolt seal; the frame keeps
   its .seal-* names) */
/* fix stage 2: the seal runs the text column's full height (it was centred against a taller column, ~200 px of dead
   ground at 1440); the picture covers its frame, so a taller frame only crops the doors' sides */
.trust-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: stretch; }
.seal-frame { grid-column: 1 / span 6; position: relative; min-height: 420px; border-radius: var(--p-radius-3); overflow: hidden; background: var(--c-bg-alt); }
/* the picture drifts a little slower than the page inside its frame (scale gives it the room: never an edge) */
.seal-move { position: absolute; inset: -7% 0; transform: translate3d(0, calc((var(--p, .5) - .5) * -9%), 0); }
.seal-move .pair { height: 100%; }
.net-trust .is-moving .seal-move { will-change: transform; }
.trust-text { grid-column: 8 / span 5; }
.trust-text .lede { margin-top: 20px; }
.checks { margin: 36px 0 0; }
.checks > div { padding: 20px 0 22px; border-top: 1px solid var(--c-line); }
.checks dt { font: var(--fw-display) var(--fs-xl)/1.25 var(--f-display); letter-spacing: var(--tr-h3); }
.checks dd { margin: 8px 0 0; color: var(--c-text-muted); }

/* ---------- 5. a look inside the directory: the day's three PRO members (h.members.teaser), flat on the ground ----------
   Fix stage 2: no outer panel (it was panel > card > locked box, three deep). One level of card, on the section's own
   ground; the blurred lines and the join pop-up are the shared ones (site.css), not restyled here. */
.dir-count { margin: 0 0 16px; font-size: var(--fs-s); color: var(--c-text-muted); font-variant-numeric: tabular-nums; }
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.member { padding: 24px 24px 22px; border-radius: var(--p-radius-3); background: var(--card-bg); border: 1px solid var(--card-line); display: flex; flex-direction: column; min-width: 0; }
.m-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; min-height: 48px; }
.m-marks { display: inline-flex; gap: 6px; align-items: center; }
.pro { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--c-text); color: var(--c-bg); font: 700 11px/1 var(--f-text); letter-spacing: .08em; }
.member h3 { margin-top: 18px; font-size: var(--fs-xl); line-height: 1.2; overflow-wrap: anywhere; }
.member h3 a { color: var(--c-text); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--p-ease-ui); }
@media (hover: hover) and (pointer: fine) { .member h3 a:hover { background-size: 100% 1.5px; } }
:root[dir="rtl"] .member h3 a { background-position: 100% 100%; }   /* Hebrew: the underline grows from the right */
.member .where { margin-top: 4px; color: var(--c-text-muted); font-size: var(--fs-m); }
.m-trust { margin-top: 10px; font-size: var(--fs-s); font-weight: var(--fw-ui); color: var(--c-accent-text); }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 4px 10px; border: 1px solid var(--c-line-strong); border-radius: var(--p-radius-pill); font-size: var(--fs-xs); }
.m-facts { margin: 18px 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; border-top: 1px solid var(--c-line); padding-top: 14px; }
.m-facts div { min-width: 0; }
.m-facts dt { font-size: var(--fs-xs); color: var(--c-text-muted); }
.m-facts dd { margin: 2px 0 0; font-size: var(--fs-s); font-weight: var(--fw-strong); color: var(--c-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-facts .flag { margin-inline-start: 1px; color: var(--c-text-muted); font-weight: var(--fw-ui); }
.member .locked-list { margin-top: 0; }
/* Hebrew: the blurred line's wider padding (site.css, physical) moves to its start, the right */
:root[dir="rtl"] .member .locked { padding: 6px 12px 6px 8px; }
@media (max-width: 767px) { :root[dir="rtl"] .member .locked { padding: 8px 12px 10px 8px; } }
/* final polish F1: the same fixed logo slot as the directory and not-found cards (member.css), so a member's logo looks
   the same on every card: 88 x 56 (72 x 48 on a phone), the logo contained at its own proportions */
.logo-tile.logo-slot { width: 88px; min-width: 88px; max-width: none; }
.logo-tile.logo-slot img { width: auto; height: auto; max-width: 76px; max-height: 44px; }
@media (max-width: 767px) { .logo-tile.logo-slot { width: 72px; min-width: 72px; } .logo-tile.logo-slot img { max-width: 62px; max-height: 38px; } }
/* final polish m15: at dusk the logo stands on a softer plate (the logo stays full colour and unaltered) */
:root[data-theme="dark"] .net-dir { --logo-plate: var(--p-mist-300); }
.m-quote { margin-top: auto; width: 100%; justify-content: center; }
.member .locked-list + .m-quote { margin-top: 12px; }
/* side by side, the three cards share four rows (subgrid): the head (logo to services), the facts, the blurred
   lines and the button line up across cards whatever a name's length; every card renders those four children */
@media (min-width: 1101px) {
  .members { grid-template-rows: repeat(4, auto); row-gap: 0; }
  .member { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .member .locked-list { align-self: start; }
  .member .m-quote { align-self: end; }
}
.nw { white-space: nowrap; }
.dir-note { margin-top: 16px; max-width: 72ch; }
.dir-flag { display: block; margin-top: 2px; }
.net-dir .link-arrow { margin-top: 10px; }

/* ---------- widths ---------- */
@media (max-width: 1100px) {
  .aud { padding-inline-end: 32px; } .aud + .aud { padding-inline-start: 32px; }
  .off-head h3, .off-head p { grid-column: 1 / -1; } .off-head p { margin-top: 14px; }
  .regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seal-frame { grid-column: 1 / span 5; } .trust-text { grid-column: 7 / span 6; }
}
@media (max-width: 900px) {
  .net-who .aud-pair { grid-template-columns: minmax(0, 1fr); }
  .aud, .aud + .aud { padding: 32px 0 36px; border-inline-start: 0; }
  .aud + .aud { border-top: 1px solid var(--c-line); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .seal-frame, .trust-text { grid-column: 1 / -1; }
  .seal-frame { aspect-ratio: 16 / 10; min-height: 0; }
}
/* below 1100 px three cards do not fit side by side with their blurred lines: a sideways row that bleeds to the
   screen's edges, snapping card by card, with the next card peeking in (24 px on a phone) */
@media (max-width: 1100px) {
  .members { display: flex; gap: var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--margin)); padding: 2px var(--margin) 6px; scroll-padding-inline: var(--margin); }
  .members::-webkit-scrollbar { display: none; }
  .members .member { flex: 0 0 min(380px, calc(100vw - 2 * var(--margin) - 24px)); scroll-snap-align: start; }
  .member .locked-list { margin-top: auto; }   /* the cards stretch to one height: the lines and button sit at the foot */
}

/* the first screen on a phone or an upright tablet: the words on the ground, the quay under them (the aerial is too
   busy to carry type on a narrow screen), the truck in the middle of the crop */
@media (max-width: 767px), (max-aspect-ratio: 1/1) {
  .net-hero { height: auto; min-height: 0; display: flex; flex-direction: column; background: var(--c-bg); container-type: inline-size; }
  .net-copy { position: relative; inset: auto; order: 0; width: auto; padding: calc(var(--header-h) + 22px) var(--margin) 28px; color: var(--c-text); }
  .crumbs ol { color: var(--c-text-muted); }
  .crumbs a { color: var(--c-text); }
  .net-h1 { --big: clamp(38px, 11cqw, 64px); color: var(--c-text); }
  .net-h1 .line.small { white-space: normal; font-size: .5em; }
  .net-copy .sub, .net-copy .note { color: var(--c-text); }
  .net-copy .sub { margin: 16px 0 22px; font-size: var(--fs-b); }
  .net-copy .note a { color: var(--c-accent-text); }
  .net-copy :focus-visible { outline-color: var(--c-focus); }
  .net-copy .on-photo .btn-wa { background: transparent; color: var(--c-text); border-color: currentColor; }
  .net-pic { position: relative; inset: auto; order: 1; height: 360px; }
  /* repair 1: the picture comes first in the HTML but stands under the words here, so a first paint made while the
     page was still arriving drew it at the top and then dropped it 537 px when the words came (CLS 0.53 at 768x1024):
     it is not drawn until the words are there */
  .net-hero:not(:has(> .net-copy)) > .net-pic { display: none; }
  /* gap pass: at least 138% of the width, so a phone or small tablet wider than about 556 px no longer shows an empty
     strip at the right of the plate (828 px at 600).
     Final polish m26: on a phone the truck drove 31 px across over 506 px of scroll (5% of a 700 px plate along its
     lane), too little to read at arm's length. It now drives 5.5% of the plate along its lane, the most MOTION-LAYERS.md allows
     before its shadow reaches the middle crane's machinery (5.7%), on a plate drawn at 800 px (was 700): 44 px along
     the lane, 39 px across, 11% and 10% of a 390 phone (14% and 12% at 320). The phone source still covers what shows
     (plate x 39% to 88% at 390, the source holds 32.5% to 95%). */
  .net-hero .net-idle { --w: max(800px, 138cqw); transform-origin: calc(50% - var(--w) * .417) calc(180px - var(--w) * .2244); }
  .net-hero .net-stage { --w: max(800px, 138cqw); --drift: 6%; --truck-x: -4.9264%; --truck-y: 4.3468%; width: var(--w); height: calc(var(--w) * 9 / 16); left: calc(50% - var(--w) * .637); top: calc(180px - var(--w) * 9 / 16 * .528); }
  .net-wash { display: none; }
}
/* gap pass N8: up to 430 px the <picture> takes network-phone-*-780, the plate's x 32.5% to 95% (full height); it is
   drawn exactly there on the stage, so the truck, glow and crane layers (boxes in % of the whole plate) stay on their lane */
/* (gap pass: the pair stacked here below 390 px; the final stage moved the fix into site.css, one rule for every
   hero, so the network's pair stands side by side at 320 like home and ocean) */
@media (max-width: 430px) {
  .net-hero .plate .pair, .net-hero .plate .pair > picture { position: absolute; inset: 0; }
  .net-hero .plate picture img { position: absolute; top: 0; left: 32.5%; width: 62.5%; height: 100%; }
}
@media (max-aspect-ratio: 1/1) and (min-width: 768px) {
  .net-pic { height: 52svh; }
  .net-hero .net-idle { --w: max(100cqw, 1100px); transform-origin: calc(50% - var(--w) * .34) calc(26svh - var(--w) * .2087); }
  .net-hero .net-stage { --w: max(100cqw, 1100px); left: calc(50% - var(--w) * .56); top: calc(26svh - var(--w) * 9 / 16 * .5); }
  .net-copy { max-width: 760px; }
}
/* below 1060 px the hull is too short for figures with their labels: the figures move onto the ink band */
@media (max-width: 1060px) {
  .scale-pic { aspect-ratio: auto; overflow: visible; }
  .scale-pic > .pair { position: relative; aspect-ratio: 1600 / 904; }
  .hull-shade { display: none; }
  .hull-figs { position: static; width: auto; padding: 36px var(--margin) 0; }
}
@media (max-width: 767px) {
  .scale-pic { aspect-ratio: auto; overflow: visible; }
  .scale-pic > .pair { position: relative; aspect-ratio: 1600 / 904; }
  .hull-shade { display: none; }
  .scale-sky { position: static; width: auto; max-width: none; padding: 36px var(--margin) 0; color: var(--c-on-band); }
  .scale-sky .sky-count { color: var(--c-on-band-muted); }
  .scale-sky h2 { font-size: var(--fs-h2); }
  .scale-sky .sky-sub { color: var(--c-on-band-muted); }
  .hull-figs { position: static; width: auto; padding: 28px var(--margin) 0; display: grid; grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .hull-figs .n { font-size: 40px; }
  .offices { padding: 40px 0 56px; }
  .regions { grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-top: 32px; }
  .regions .r-europe { grid-column: 1 / -1; }
  .regions .r-europe ul { column-count: 2; }
  .seal-frame { aspect-ratio: 16 / 10; }
  /* gap pass N2 (the page ran about 9.5 screens at 390): one card on a phone, then "Browse the members directory" as a
     full-width quiet button; the other two stay in the page (and its data block) for wider screens */
  .members { display: block; overflow: visible; margin-inline: 0; padding: 0; }
  .members .member { padding: 20px 18px 18px; }
  .members .member:nth-child(n+2) { display: none; }
  /* repair 1 (first look N7): the size-band footnote goes with the cards it explains; when only a hidden card carries
     the "*" (network.js marks the note .dir-flag-wide), the note is hidden with it */
  .dir-flag-wide { display: none; }
  .net-dir .dir-browse { display: flex; justify-content: space-between; width: 100%; min-height: 52px; margin-top: 16px; padding: 0 20px; border: 1.5px solid var(--c-line-strong); border-radius: var(--p-radius-pill); background-image: none; }
}
