/* portals-site: public page. Mobile-first (375 px), one warm drawing system. Arabic (RTL) is the reference;
   the English page (LTR) mirrors it through logical properties and the few [dir="ltr"] / :lang(en) rules marked below. */

:root {
  --ground: #100E0B; --surface: #1A1713; --ink: #EFE7DA; --ink-dim: #A39A8A; --sand: #C9A877;
  --sand-faint: rgb(201 168 119 / 0.14);
  --display: portals-display, "Segoe UI", "Noto Naskh Arabic", system-ui, sans-serif;
  --text: portals-text, system-ui, "Segoe UI", "Noto Sans Arabic", sans-serif;
  --gutter: max(clamp(16px, 5vw, 40px), env(safe-area-inset-left), env(safe-area-inset-right));

  /* tonal steps of the same sand and warm darks: no second hue anywhere */
  --sand-2: rgb(201 168 119 / 0.55);
  --sand-3: rgb(201 168 119 / 0.32);
  --sand-hover: #D7BC90;
  --d-rubber: #15120E;
  --d-steel: #1C1813;
  --d-cavity: #0C0A08;
  --d-gear: #241F18;
  --chamfer: 12px;
  --bar-h: 58px;
  /* the light rakes in from the top of the end side, where the photo bleeds off on desktop */
  --rake: 164deg;

  /* hero cutaway scale: the tyre (600 drawing units) spans the content width, and is also bounded by
     the hero height so its top (hero height - 0.775 tyre) always clears the headline block (--copy) */
  --hero-h: max(100vh, 620px);
  /* the headline block grows with the width (its type is in vw), so on short phones --copy follows it:
     1.14 x 12.6 vw + (1.14 + 0.44) x 5.6 vw of headline, at least its 40 and 17 px floors with a two-line sub-line */
  --copy: max(275px, calc(176px + 23.2vw));
  /* under 1200 px with the WhatsApp bar: the cutaway rises clear of it (below), the wheel's height bound with it */
  --bar-zone: 0px;
  --tyre: max(240px, min(calc(100vw - 2 * var(--gutter)), 640px, calc((var(--hero-h) - var(--copy) - var(--bar-zone)) / 0.775)));
  /* the closing line drawing (desktop): its size, and the end side it bleeds off (left in Arabic, right in English) */
  --draw-w: min(46vw, 700px);
  --draw-x: left;
  --u: calc(var(--tyre) / 600);
  --lift: calc(var(--u) * 165);
}
/* a custom property holding an unsupported unit is invalid at computed time (no fallback), so svh is opt-in */
@supports (height: 100svh) { :root { --hero-h: max(100svh, 620px); } }
:root[dir="ltr"] { --rake: 196deg; --draw-x: right; }
@media (min-width: 600px) { :root { --copy: 388px; } }
@media (min-width: 1000px) { :root { --copy: 438px; } }
/* below 1200 px the cutaway is centred and the fixed WhatsApp bar (12 px off the bottom, 56 px tall; full width on
   phones, 380 px from 700) sits over it, so where the bar is shown the drawing (and on phones the photo above it)
   rises just enough that the gearbox ends where the bar's fade begins, 20 px over the bar, on the first screen.
   With the hero H tall on a screen V tall, the housing's lowest point (70 drawing units under the wheel centre, which
   stands 165 over the hero's foot: 95/600 of the tyre T) sits at H - 0.15833 T - lift, and it must stay at V - 88 or
   higher. T shrinks as the wheel rises wherever the hero's height bounds it ((H - copy - lift) / 0.775, between its
   240 px floor and its width cap W), so with r = H - V + 88 the least lift is
   max(r - 0.15833 W, min(r - 38 px, (r - 0.2043 (H - copy)) / 0.7957)). Tall screens need none.
   A short screen never lifts the tyre's top into the headline: the lift stops where a 240 px wheel's top comes within
   16 px of the sub-line's bottom (C, as for the photo below), so on a very short screen the gearbox still meets the
   bar. Landscape phones (500 px tall or less) keep their wheel below the first screen, unlifted.
   Measured: dfbar.mjs, Task DF. */
@media (max-width: 1199.98px) and (min-height: 500.02px), (max-width: 1199.98px) and (orientation: portrait) {
  html:has(.wa-bar) {
    --bz-r: calc(var(--hero-h) - 100vh + 88px + env(safe-area-inset-bottom, 0px));
    --bar-zone: max(0px, min(
      max(calc(var(--bz-r) - 0.15833 * min(100vw - 2 * var(--gutter), 640px)),
        min(calc(var(--bz-r) - 38px), calc((var(--bz-r) - 0.2043 * (var(--hero-h) - var(--copy))) / 0.7957))),
      calc(var(--hero-h) - 186px - 16px - (var(--bar-h) + var(--sub-c) + 1.14 * var(--h1a) + (1.14 + var(--h1-gap)) * var(--h1b)))));
  }
}
@supports (height: 100svh) { @media (max-width: 1199.98px) and (min-height: 500.02px), (max-width: 1199.98px) and (orientation: portrait) { html:has(.wa-bar) { --bz-r: calc(var(--hero-h) - 100svh + 88px + env(safe-area-inset-bottom, 0px)); } } }

html { background: var(--ground); color: var(--ink); font-family: var(--text); }
.gear-in { transform: rotate(calc(var(--p, 0) * 360deg)); }
.gear-idler { transform: rotate(calc(var(--p, 0) * -450deg)); }
.gear-out { transform: rotate(calc(var(--p, 0) * 300deg)); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  font-size: 17px;
  line-height: 1.75;
  /* substrate: film grain over one directional amber rake, all under the content */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.94 0 0 0 0 0.88 0 0 0 0 0.78 0 0 0 1.5 -0.6'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)' opacity='0.1'/%3E%3C/svg%3E");
  --rake-top: linear-gradient(var(--rake), rgb(201 168 119 / 0.11) 0%, rgb(201 168 119 / 0.06) 18%, rgb(201 168 119 / 0.025) 34%, rgb(201 168 119 / 0) 52%);
  background-color: var(--ground);
  background-image: var(--grain), var(--rake-top);
  background-repeat: repeat, no-repeat;
  background-size: 240px 240px, 100% 1500px;
  -webkit-font-smoothing: antialiased;
}
/* the page's close: a second amber rake rises from the footer's ground line (84 px above the page's bottom), 0.06 to 0
   over 900 px in 12 eased steps, under the same grain, so the light returns at the end with no edge anywhere. Desktop also
   stands the hero's cutaway there as a faint line drawing (--sand-3), bleeding off the end edge in the empty half beside
   the contact list and the footer: it never sits under text (measured), and it is a background, so it takes no pointer */
body:has(> .foot) {
  --rise: linear-gradient(to top, rgb(201 168 119 / 0.06) 0px, rgb(201 168 119 / 0.06) 84px, rgb(201 168 119 / 0.0495) 159px, rgb(201 168 119 / 0.0402) 234px, rgb(201 168 119 / 0.0319) 309px, rgb(201 168 119 / 0.0246) 384px, rgb(201 168 119 / 0.0183) 459px, rgb(201 168 119 / 0.0131) 534px, rgb(201 168 119 / 0.0087) 609px, rgb(201 168 119 / 0.0054) 684px, rgb(201 168 119 / 0.0028) 759px, rgb(201 168 119 / 0.0012) 834px, rgb(201 168 119 / 0.0003) 909px, rgb(201 168 119 / 0.0000) 984px);
  background-image: var(--grain), var(--rake-top), var(--rise);
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 240px 240px, 100% 1500px, 100% 984px;
  background-position: 0 0, 0 0, 0 100%;
}
@media (min-width: 1000px) {
  body:has(> .foot) {
    background-image: var(--grain), var(--rake-top), var(--rise), url(/assets/img/cutaway-line.ac7a725191.svg);
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    background-size: 240px 240px, 100% 1500px, 100% 984px, var(--draw-w) var(--draw-w);
    /* 30 % of it bleeds off the edge; its tyre stands on the ground line (the file's bottom is 10 units under the tyre) */
    background-position: 0 0, 0 0, 0 100%, var(--draw-x) calc(var(--draw-w) * -0.3) bottom calc(84px - var(--draw-w) * 10 / 620);
  }
}
img, svg { max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 600; }
::selection { background: rgb(201 168 119 / 0.32); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
/* keeps a phrase on one line, so a narrow screen breaks at the comma instead of stranding a word */
.keep { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* dev banner (dev environment only, never rendered in production) */
.dev-banner { position: relative; z-index: 60; padding: 6px var(--gutter); background: #2B2516; color: #E9D9A6; font-size: 12px; line-height: 1.55; }
.dev-banner strong { font-weight: 700; margin-inline-end: 6px; }

/* ---------- top bar: contained, chamfered, with the reading line ---------- */
.bar {
  position: sticky; top: 10px; z-index: 50;
  height: var(--bar-h);
  width: calc(100% - 2 * var(--gutter)); max-width: calc(1120px - 2 * var(--gutter) + 36px);
  margin: 10px auto calc(-1 * (var(--bar-h) + 10px));
}
/* content dissolves into the ground before it reaches the bar, so nothing shows through its chamfer notches */
.bar::before {
  content: ""; position: fixed; z-index: -1; top: 0; left: 0; right: 0; height: calc(var(--bar-h) + 30px);
  pointer-events: none;
  background: linear-gradient(to bottom, var(--ground) 0%, rgb(16 14 11 / 0.97) 22%, rgb(16 14 11 / 0.88) 38%,
    rgb(16 14 11 / 0.7) 52%, rgb(16 14 11 / 0.48) 65%, rgb(16 14 11 / 0.27) 77%, rgb(16 14 11 / 0.11) 88%, rgb(16 14 11 / 0) 100%);
}
.bar-in {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 18px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgb(239 231 218 / 0.07);
  clip-path: polygon(var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer));
}
.bar-brand { display: flex; align-items: center; min-height: 44px; margin-inline-end: auto; }
/* 36 px is the smallest size at which the dark PERFORMANCE letters still read. 133 px is that height's width to the whole
   pixel (the ratio gives 133.07; 0.05%, under a pixel): with whole-pixel widths and margins, every mark of the co-brand
   shares one sub-pixel offset, so the browser's whole-pixel painting rounds them alike */
.bar-logo { display: block; height: 36px; width: 133px; }
/* the co-brand: the host logo, a quiet drawn × in the dim ink with room either side, then the AXLEUS symbol (the mark
   alone, ink-tinted as supplied). The link names the pair once ("Steel Performance × AXLEUS"); × and symbol are decorative.
   Every height in a lockup is even (36, 10, 24; 52, 12, 34): images and inline SVG paint at whole CSS pixels, so boxes
   that share a centre also share the rounding, and the three inks stay on one line (measured at 4x) */
/* the × sits midway between the two inks, not the two files: the logo file's clear margin (1.6 px here) is wider than the
   symbol's (0.75 px), so the logo's side gets 1 px less room: 8 + 9 px gives ink gaps of 10.96 and 11.10 px */
.co-x { display: block; flex: none; width: 10px; height: 10px; margin-inline: 8px 9px; color: var(--ink-dim); }
.co-x path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bar-axleus { display: block; flex: none; height: 24px; width: auto; }
.bar-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-inline: 6px; color: var(--ink-dim); text-decoration: none; font-size: 15px; white-space: nowrap; transition: color .2s; }
.bar-link:hover { color: var(--ink); }
/* the language toggle: a plain link at the end of the bar, set in its own script and in full ink */
.bar-lang { color: var(--ink); }
.bar-lang:hover { color: var(--sand-hover); }
/* bar items keep their focus ring inside the chamfered clip */
.bar-brand:focus-visible, .bar-link:focus-visible { outline-offset: -2px; }
.bar-progress { position: absolute; inset-inline: 18px; bottom: 5px; height: 2px; border-radius: 1px; }
.bar-progress::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
  width: calc(var(--progress, 0) * 100%);
  border-radius: 1px; background: var(--sand);
}
/* phones up to 392 px: the logo, the co-brand and two links share the bar («الأسئلة» + «English» is the wider pair), so
   the bar gives a little of its side room (14 px, still clear of the 12 px chamfer) and each link is exactly its 44 px
   target, 10 px apart. Below 360 px the co-brand does not fit beside them: the symbol and the × step out (measured, see
   the Task L report). Type steps down to 14 px up to 360 px, as before */
@media (max-width: 392.98px) {
  .bar-in { padding-inline: 14px; gap: 10px; }
  .bar-progress { inset-inline: 14px; }
  .bar-link { padding-inline: 0; }
}
@media (max-width: 360px) { .bar-link { font-size: 14px; } }
@media (max-width: 359.98px) { .bar-brand .co-x, .bar-axleus { display: none; } }

/* ---------- hero ---------- */
/* the headline's sizes live on the root, where the WhatsApp bar's lift reads them (above) */
:root {
  /* headline sizes: each line holds one line from 320 px. Readex Pro sets «البورتال أكسل:» 6.63 em wide (700) and the
     statement line «يرفع الدفرنس نفسه عن الأرض» 13.79 em (600): 12.6 vw fills 93 % of the 90 vw measure and 5.6 vw 86 %
     (5.6 vw was fitted to the longer line this one replaced; a copy change re-measures them). Short landscape screens
     cap them by height (svh is opt-in, see below) */
  --h1a: clamp(40px, 12.6vw, 128px);
  --h1b: clamp(17px, 5.6vw, 52px);
  /* the statement line's distance under the first line, in its own em: the Arabic descenders of «البورتال أكسل:» and
     the hamza of «الأرض» reach past their line boxes, so the lines keep 0.44 em between them (ink gap 7 to 17.5 px from
     320 to 1440, measured; English has neither: 0.22) */
  --h1-gap: 0.44;
  /* the sub-line's line box under the headline, with the gap above it: one line, or two (below) */
  --sub-c: 76px;
}
@supports (height: 1svh) { :root { --h1a: clamp(40px, min(12.6vw, 19svh), 128px); --h1b: clamp(17px, min(5.6vw, 9.5svh), 52px); } }
/* the sub-line takes two lines: Arabic below 340 px, English below 600 px */
@media (max-width: 339.98px) { :root { --sub-c: 102px; } }
@media (max-width: 599.98px) { html:lang(en) { --sub-c: 102px; } }
#hero {
  --wx: 50%;
  position: relative; min-height: var(--hero-h); padding-top: calc(var(--bar-h) + 34px); scroll-margin-top: 0;
}
.hero-photo {
  position: absolute; z-index: 0; inset-inline: 0; top: 0;
  width: 100%; height: calc(100% - var(--lift) - var(--bar-zone));
  object-fit: cover; object-position: 50% 100%;
  filter: saturate(0.8) sepia(0.14) brightness(0.84) contrast(1.05);
  /* the photo dissolves into the page: its own pixels fade, long and finely eased, no overlay */
  /* the headline sits on the near-transparent top; the truck is full strength between 57% and 74% */
  --feather-v: linear-gradient(to bottom,
    rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0) 10%, rgb(0 0 0 / 0.02) 17%, rgb(0 0 0 / 0.05) 23%, rgb(0 0 0 / 0.1) 29%,
    rgb(0 0 0 / 0.18) 34%, rgb(0 0 0 / 0.3) 38%, rgb(0 0 0 / 0.45) 42%, rgb(0 0 0 / 0.62) 46%, rgb(0 0 0 / 0.78) 50%,
    rgb(0 0 0 / 0.9) 54%, #000 58%,
    #000 74%, rgb(0 0 0 / 0.94) 77%, rgb(0 0 0 / 0.84) 80%, rgb(0 0 0 / 0.71) 83%, rgb(0 0 0 / 0.56) 86%,
    rgb(0 0 0 / 0.41) 89%, rgb(0 0 0 / 0.27) 92%, rgb(0 0 0 / 0.15) 94.5%, rgb(0 0 0 / 0.07) 96.5%, rgb(0 0 0 / 0.02) 98.5%, rgb(0 0 0 / 0) 100%);
  -webkit-mask-image: var(--feather-v);
  mask-image: var(--feather-v);
}
.hero-copy { position: relative; z-index: 3; padding-inline: var(--gutter); }
h1 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.14; color: var(--ink); text-shadow: 0 2px 18px rgb(16 14 11 / 0.6); }
.h1-a { display: block; font-size: var(--h1a); }
.h1-b { display: block; margin-top: calc(var(--h1-gap) * 1em); font-size: var(--h1b); font-weight: 600; }
/* greedy wrap: with the phrase kept together, a narrow screen breaks at the comma («pretty» would split «خلال دقيقتين») */
.hero-sub { margin: 16px 0 0; color: var(--ink); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.6; text-wrap: wrap; text-shadow: 0 1px 12px rgb(16 14 11 / 0.8); }

/* the signature: cutaway wheel straddling the hero's bottom edge */
.cut {
  position: absolute; z-index: 2; inset-inline: 0; margin: 0;
  height: calc(var(--u) * 640);
  bottom: calc(var(--lift) - var(--u) * 320 + var(--bar-zone));
  overflow: hidden; pointer-events: none;
}
/* 660u is always narrower than the viewport (the tyre is the content width), so max-width never bites */
.cut-svg { position: absolute; top: 0; left: var(--wx); width: calc(var(--u) * 660); height: calc(var(--u) * 640); max-width: 100%; transform: translateX(-50%); }

/* ---------- drawings: one line system ---------- */
.draw { display: block; overflow: visible; font-family: var(--text); }
.draw * { vector-effect: non-scaling-stroke; }
.draw .lv path { fill: none; stroke: var(--sand-3); stroke-width: 1; stroke-dasharray: 24 5 3 5; }
.draw .ground { fill: none; stroke: var(--sand-2); stroke-width: 1.3; }
.draw .earth { fill: url(#earth); }
.draw .tyre { fill: var(--d-rubber); stroke: var(--sand); stroke-width: 1.4; }
.draw .tyre-line { fill: none; stroke: var(--sand-3); stroke-width: 1; }
.draw .tread { fill: none; stroke: var(--sand-2); stroke-width: 1.2; stroke-linecap: round; }
.draw .rim { fill: var(--d-steel); stroke: var(--sand); stroke-width: 1.3; }
.draw .rim-seat { fill: none; stroke: var(--sand-3); stroke-width: 1; }
.draw .valve { fill: var(--sand); }
.draw .hsg-base { fill: var(--d-steel); }
.draw .hsg-cav { fill: var(--d-cavity); }
.draw .hsg-wall { fill: url(#hatch); stroke: var(--sand); stroke-width: 1.4; stroke-linejoin: round; }
.draw .cl circle, .draw .cl path { fill: none; stroke: var(--sand-3); stroke-width: 1; stroke-dasharray: 12 4 2 4; }
.draw .gear > path:first-child { fill: var(--d-gear); stroke: var(--sand); stroke-width: 1.3; stroke-linejoin: round; }
.draw .bore, .draw .web circle { fill: var(--d-cavity); stroke: var(--sand-2); stroke-width: 1; }
.draw .key { fill: none; stroke: var(--sand-2); stroke-width: 1; stroke-linejoin: round; }
.draw .rot-arc { fill: none; stroke: var(--sand); stroke-width: 1.4; stroke-linecap: round; }
.draw .rot-head, .draw .dim-head { fill: var(--sand); }
.draw .dim-line { fill: none; stroke: var(--sand); stroke-width: 1; }
.draw .lead { fill: none; stroke: var(--sand-2); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.draw .ext { fill: none; stroke: var(--sand-2); stroke-width: 1; stroke-linecap: round; }
.draw .lbl-t { font-size: 17px; fill: var(--ink-dim); paint-order: stroke; stroke: var(--d-rubber); stroke-width: 5px; stroke-linejoin: round; }
.draw .lbl-v { font-family: var(--display); font-size: 22px; font-weight: 600; fill: var(--sand); paint-order: stroke; stroke: var(--d-rubber); stroke-width: 5px; stroke-linejoin: round; }
.draw .lbl-on { fill: var(--sand); }
.turn-wheel { transform: rotate(calc(var(--p, 0) * 300deg)); }

/* hero labels scale with the drawing (screen size = units x --u): tiers below keep them 12.5 to 20 px.
   The clearance value grows from the dimension line toward the rim ring: «+11 سم» is 3.4 em wide in the display face,
   so below 1000 px (and on short desktops) it is 24 units and ends at least 4 px short of the ring, the smallest wheels
   (320 px wide, or 620 px tall) included. */
.cut-svg .lbl-t { font-size: 24px; stroke: var(--ground); }
.cut-svg .lbl-v { font-size: 24px; stroke: var(--ground); }
@media (max-width: 360px) {
  .cut-svg .lbl-t { font-size: 27px; }
}

/* figures: each drawing sits on its sheet, marked only by four corner ticks */
.fig { position: relative; margin: 40px 0 0; }
.fig > .draw { position: relative; }
.fig::before {
  content: ""; position: absolute; inset: -14px -10px; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 13V1h12' fill='none' stroke='%23C9A877' stroke-opacity='.45' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") left top / 14px 14px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M13 13V1H1' fill='none' stroke='%23C9A877' stroke-opacity='.45' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") right top / 14px 14px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 1v12h12' fill='none' stroke='%23C9A877' stroke-opacity='.45' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 14px 14px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M13 1v12H1' fill='none' stroke='%23C9A877' stroke-opacity='.45' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") right bottom / 14px 14px no-repeat;
}
.fig .draw { width: 100%; height: auto; }
figcaption { margin-top: 12px; color: var(--ink-dim); font-size: 14.5px; line-height: 1.65; max-width: 34em; }
figcaption b { color: var(--ink); }

/* diagram 1: the axle slides up as the dimension grows (final frame without JS or with reduced motion) */
.fig-what { --s: clamp(0, (var(--p, 1) - 0.1) / 0.38, 1); max-width: 520px; }
.fig-what .lbl-s { font-size: 20px; }
.fig-what .lbl-v { font-size: 25px; }
.fig-what .box { fill: var(--d-steel); stroke: var(--sand-2); stroke-width: 1.2; }
.fig-what .ghost circle { fill: none; stroke: var(--sand-3); stroke-width: 1.2; stroke-dasharray: 6 4; }
.fig-what .cl-s { fill: none; stroke: var(--sand-3); stroke-width: 1; stroke-dasharray: 12 4 2 4; }
.fig-what .diff { fill: rgb(201 168 119 / 0.07); stroke: var(--sand); stroke-width: 1.4; stroke-dasharray: 7 4; }
.fig-what .axle { fill: var(--d-gear); stroke: var(--sand); stroke-width: 1.3; }
.fig-what .slide { transform: translateY(calc(var(--s) * -56px)); }
.fig-what .dim-grow { fill: none; stroke: var(--sand); stroke-width: 1.4; vector-effect: none; stroke-dasharray: 56 400; stroke-dashoffset: calc((1 - var(--s)) * 56); }

/* diagram 2: an exact 1.20 illustration (build:gear 20, 16 and 24 at module 4). The gears are drawn, their counts never
   stated: they are not AXLEUS data. Each gear is named in the figure's one label voice, like «من الأكسل» and «إلى العجلة» */
.fig-how { max-width: 400px; }
.fig-how .lbl-t { font-size: 15px; stroke: var(--ground); }

/* diagram 4 */
.fig-axle { margin-top: 0; max-width: 420px; }
.fig-axle .lbl-t { font-size: 15px; stroke: var(--ground); }
.fig-axle .tyre-f { fill: var(--d-rubber); stroke: var(--sand); stroke-width: 1.3; }
.fig-axle .tread-f { fill: none; stroke: var(--sand-3); stroke-width: 1; }
.fig-axle .hub-f { fill: var(--d-steel); stroke: var(--sand-2); stroke-width: 1; }
.fig-axle .beam { fill: none; stroke: var(--sand); stroke-width: 1.4; }
.fig-axle .pumpkin, .fig-axle .pumpkin-r { fill: var(--d-gear); stroke: var(--sand); stroke-width: 1.4; }
.fig-axle .axle { fill: var(--d-cavity); stroke: var(--sand-2); stroke-width: 1; }
.fig-axle .mark { fill: none; stroke: var(--sand); stroke-width: 3; stroke-linecap: round; }
.fig-axle .frame { fill: none; stroke: var(--sand-2); stroke-width: 3; stroke-linecap: round; }
.fig-axle .arm, .fig-axle .mount { fill: none; stroke: var(--sand-2); stroke-width: 1.3; stroke-linecap: round; }
.fig-axle .shaft { fill: none; stroke: var(--sand); stroke-width: 1.6; stroke-linecap: round; }
.fig-axle .cv { fill: var(--d-gear); stroke: var(--sand); stroke-width: 1.3; }

/* ---------- sections ---------- */
/* in-page links land the heading about 30 px under the bar: the margin cancels the section's own top padding */
main > section { position: relative; padding-top: clamp(84px, 18vw, 168px); scroll-margin-top: calc(var(--bar-h) + 40px - clamp(84px, 18vw, 168px)); }
#what { padding-top: calc(var(--u) * 165 - var(--bar-zone) + clamp(64px, 12vw, 120px)); }
h2 { margin: 0 0 0.55em; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 8.4vw, 56px); line-height: 1.22; color: var(--ink); }
/* the display face's own word space is 0.28 em at 400, 0.31 em at 600 and 0.32 em at 700 (Readex Pro, measured in the
   font): words never fuse, so every display line keeps it as drawn, with no added word space and no tracking */
p { margin: 0 0 1em; }
main p, main li, figcaption { text-wrap: pretty; }
.what-copy p:not(.gain), .how-copy p, .lead-p, .contact-lead { max-width: 34em; }

/* section opener: the number */
.gain { display: flex; flex-direction: column; margin: 0 0 22px; }
/* «+11 سم» is 3.64 em wide (700): 20 vw fills 81 % of a phone's measure. The final «م» reaches 0.46 em under the
   baseline, past the line box, so the number keeps 0.26 em of its own below it and the caption clears the tail (Arabic
   only: «+11 cm» has no tail, so the English caption keeps just its own 10 px, below) */
.gain-n { font-family: var(--display); font-weight: 700; font-size: clamp(60px, 20vw, 110px); line-height: 1; margin-bottom: 0.26em; color: var(--sand); white-space: nowrap; }
.gain-c { margin-top: 10px; color: var(--ink-dim); font-size: 15px; }

/* how */
.how-copy { margin-top: 44px; }
.ratio { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; row-gap: 4px; margin: 4px 0 22px; }
.ratio-n { font-family: var(--display); font-weight: 700; font-size: clamp(50px, 15vw, 88px); line-height: 1.05; letter-spacing: 0.02em; color: var(--sand); }
.ratio-c { color: var(--ink-dim); font-size: 15px; }
.gears { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gears li { color: var(--ink-dim); }
.gears b { color: var(--ink); }
.chain-block { margin: clamp(52px, 11vw, 88px) 0 0; }
.chain {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 12px;
  font-family: var(--display); font-weight: 500; font-size: clamp(19px, 5.3vw, 27px); line-height: 1.3; color: var(--ink);
}
.chain li { display: inline-flex; align-items: center; white-space: nowrap; }
/* the arrow leads into its node (a wrap carries it along, never stranding it at a row's end) and points along the RTL
   reading direction; the LTR mirror flips it with scaleX(-1) */
.chain li:not(:first-child)::before {
  content: ""; flex: none; width: 30px; height: 10px; margin-inline: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'%3E%3Cpath d='M29 5H6' fill='none' stroke='%23C9A877' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M1 5l7-3.4v6.8z' fill='%23C9A877'/%3E%3C/svg%3E") center / 30px 10px no-repeat;
}
[dir="ltr"] .chain li:not(:first-child)::before { transform: scaleX(-1); }
/* phones: the chain stands as a column, each node under the arrow that leads into it, pointing down */
@media (max-width: 599.98px) {
  .chain { flex-direction: column; align-items: flex-start; row-gap: 0; }
  .chain li { flex-direction: column; align-items: flex-start; }
  .chain li:not(:first-child)::before, [dir="ltr"] .chain li:not(:first-child)::before {
    width: 10px; height: 30px; margin: 4px 0 6px; margin-inline-start: 14px; transform: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 30'%3E%3Cpath d='M5 1V24' fill='none' stroke='%23C9A877' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M5 29l-3.4-7h6.8z' fill='%23C9A877'/%3E%3C/svg%3E") center / 10px 30px no-repeat;
  }
}
.chain .is-portal { color: var(--sand); }

/* benefits: four numbered statements */
.pros { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 34px; }
.pros li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; align-items: start; }
.pro-n { grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; color: var(--sand); }
.pro-t { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 5.6vw, 27px); line-height: 1.45; color: var(--ink); }
.pro-d { margin: 6px 0 0; color: var(--ink-dim); font-size: 15.5px; line-height: 1.7; }

/* fit */
.lead-p { color: var(--ink-dim); }
.axles { display: grid; gap: 36px; margin: 34px 0 44px; }
.fit-t { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 15.5px; line-height: 1.6; }
.fit-t caption { caption-side: top; text-align: start; padding-bottom: 6px; color: var(--ink-dim); font-size: 14.5px; }
.fit-t thead th { padding: 0 16px 2px; text-align: start; font-size: 13.5px; font-weight: 600; color: var(--ink-dim); }
.fit-t tbody th, .fit-t tbody td { padding: 16px; text-align: start; vertical-align: top; background: var(--surface); }
.fit-t tbody th { width: 47%; font-weight: 400; box-shadow: inset 0 1px 0 rgb(239 231 218 / 0.05); }
.fit-t tbody td { color: var(--ink); box-shadow: inset 0 1px 0 rgb(239 231 218 / 0.05); text-wrap: balance; }
/* the examples start on the line of the axle type's name, under the 24 px verdict mark and its 8 px gap */
.fit-t tbody td { padding-top: 48px; }
/* the verdicts are the page's own chamfered octagon (the plates' and the bar's silhouette): full for the easiest fit,
   half for the middle one, a dashed phantom (drawn like the 404 page's missing gear) for the hardest */
.verdict { display: block; width: 24px; height: 24px; margin-bottom: 8px; fill: none; stroke: var(--sand); stroke-width: 1.6; stroke-linejoin: round; }
.verdict .v-in { fill: var(--sand); }
.verdict.v-x path { stroke-dasharray: 3.3 2.61; }
.v-name { display: block; color: var(--ink); font-weight: 600; text-wrap: balance; }
.v-note { display: block; margin-top: 2px; color: var(--ink-dim); font-size: 14px; text-wrap: balance; }
.fit-ask { margin: 22px 0 0; }
.fit-ask .text-link { display: inline-block; padding-block: 10px; }
.text-link { color: var(--sand); text-decoration: underline; text-decoration-color: rgb(201 168 119 / 0.45); text-underline-offset: 0.35em; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
.text-link:hover { color: var(--sand-hover); text-decoration-color: var(--sand-hover); }

/* honest: plain voice, minus marks against the numbered pros (each minus centred on its title's x-height; the display
   face draws its minus 0.22-0.37 em over the baseline, so the mark sits 0.11 em up: within 1.2 px of centre, measured) */
/* the honest head speaks in the display face like every other head; it is the longest («بصراحة، أشياء لازم تعرفها» 11.54 em,
   "Honest considerations" 11.05 em at 600), so it is sized to hold one line at about 92 % of the measure (measured) */
.plain-h { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 7.2vw, 54px); }
html:lang(en) .plain-h { font-size: clamp(22px, 7.5vw, 42px); }
@media (min-width: 1000px) { .plain-h { font-size: min(54px, 4.7vw); } html:lang(en) .plain-h { font-size: min(39px, 3.4vw); } }
.honest { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 24px; }
.honest li { position: relative; padding-inline-start: 30px; }
.honest li::before { content: "−"; position: absolute; inset-inline-start: 0; top: -0.11em; font-family: var(--display); font-size: 26px; line-height: 1.2; color: var(--sand); }
.honest b { display: block; color: var(--ink); font-size: 18px; line-height: 1.55; }
.honest span { display: block; margin-top: 2px; color: var(--ink-dim); font-size: 15.5px; }

/* build: the data plate */
.plate {
  --plate-cut: 18px;
  position: relative; max-width: 640px;
  padding: 34px 30px 28px;
  background-color: var(--surface);
  background-image:
    radial-gradient(circle at 22px 22px, #2A241C 0 3.2px, rgb(0 0 0 / 0.45) 3.6px 4.6px, transparent 5.2px),
    radial-gradient(circle at calc(100% - 22px) 22px, #2A241C 0 3.2px, rgb(0 0 0 / 0.45) 3.6px 4.6px, transparent 5.2px),
    radial-gradient(circle at 22px calc(100% - 22px), #2A241C 0 3.2px, rgb(0 0 0 / 0.45) 3.6px 4.6px, transparent 5.2px),
    radial-gradient(circle at calc(100% - 22px) calc(100% - 22px), #2A241C 0 3.2px, rgb(0 0 0 / 0.45) 3.6px 4.6px, transparent 5.2px),
    repeating-linear-gradient(0deg, rgb(239 231 218 / 0.016) 0 1px, rgb(239 231 218 / 0) 1px 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.94 0 0 0 0 0.88 0 0 0 0 0.78 0 0 0 1.5 -0.6'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.08'/%3E%3C/svg%3E");
  box-shadow: inset 0 1px 0 rgb(239 231 218 / 0.08), inset 0 -1px 0 rgb(0 0 0 / 0.35);
  clip-path: polygon(var(--plate-cut) 0, calc(100% - var(--plate-cut)) 0, 100% var(--plate-cut), 100% calc(100% - var(--plate-cut)), calc(100% - var(--plate-cut)) 100%, var(--plate-cut) 100%, 0 calc(100% - var(--plate-cut)), 0 var(--plate-cut));
}
.plate h2 { margin: 0; font-size: clamp(27px, 7.4vw, 40px); }
.plate-model { margin: 8px 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(16px, 4.5vw, 21px); line-height: 1.4; color: var(--sand); text-shadow: 0 1px 0 rgb(0 0 0 / 0.55); }
.plate-yr { color: var(--ink-dim); font-weight: 500; margin-inline-start: 0.35em; }
.plate-rows { margin: 26px 0 0; display: grid; gap: 0; }
.plate-rows > div { display: grid; grid-template-columns: 7.2em 1fr; align-items: baseline; column-gap: 14px; padding: 11px 0; }
/* phones: the label column gives the values room, and the values follow the screen (below), so each spec keeps one line
   from 360 px */
@media (max-width: 479.98px) { .plate-rows > div { grid-template-columns: 5.8em 1fr; } }
/* rows are engraved grooves in the plate: a dark cut with a light lip under it (the maker's range plate shares them) */
.plate-rows > div + div, .mk-range > div + div { background: linear-gradient(rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.5)) 0 0 / 100% 1px no-repeat, linear-gradient(rgb(239 231 218 / 0.06), rgb(239 231 218 / 0.06)) 0 1px / 100% 1px no-repeat; }
.plate-rows dt { color: var(--ink-dim); font-size: 14.5px; }
.plate-rows dd { margin: 0; text-align: start; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); text-shadow: 0 1px 0 rgb(0 0 0 / 0.6); }
/* the widest value, «1.35:1 (standard 1.20)» with its note in the plate's small dim type like the engine's (8.96 em at
   600), fills at most 97 % of the phone's 0.9 vw - 172.6 px value column, one line from 360 px (measured) */
@media (max-width: 479.98px) { .plate-rows dd { font-size: clamp(16px, calc(9.7vw - 18.6px), 18px); } }
.plate-rows dd small { font-size: 0.82em; font-weight: 500; color: var(--ink-dim); }
.plate-foot { margin-top: 24px; display: grid; gap: 14px; }
.plate-credit { margin: 0; color: var(--ink-dim); font-size: 14.5px; }
.plate-credit > span[dir="ltr"] { font-family: var(--display); font-weight: 600; color: var(--ink); }
/* the portal system is engraved as text, like the plate's other values: the maker section right under the plate carries
   the AXLEUS lockup, so the plate does not repeat it there */
/* the AXLEUS lockup of the maker section: the mark and the wordmark (AXLEUS's own logo, ink-tinted; docs/LOGOS.md),
   bare. 1x screens get the half-size file (srcset) */
.axleus { display: inline-flex; align-items: center; gap: 10px; }
.axleus-mark, .axleus-word { display: block; width: auto; }
/* the half-size file (231x37) cannot be exactly half of 461x74, so the box keeps the full file's ratio at every density
   and the small file sits in it uncropped and unstretched */
.axleus-word { aspect-ratio: 461 / 74; object-fit: contain; }
/* the plate's last credit opens the team pop-up: in the display face like the plate's values, sand like its model line,
   with the page's static link underline as the cue. The 44 px target overhangs its line by 9.75 px each way (the plate's
   28 px padding takes it), so the plate keeps its rhythm */
.team-open {
  display: inline-flex; align-items: center; min-height: 44px; margin-block: -9.75px; padding: 0;
  font: 600 16px/1.4 var(--display); color: var(--sand); text-shadow: 0 1px 0 rgb(0 0 0 / 0.55);
  background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgb(201 168 119 / 0.45); text-underline-offset: 0.35em; text-decoration-thickness: 1px;
  transition: color .2s, text-decoration-color .2s;
}
.team-open:hover { color: var(--sand-hover); text-decoration-color: var(--sand-hover); }

/* ---------- the team pop-up (#team) ----------
   A native popover: it opens, closes on a tap outside and on Esc with no script. It is a third plate (the chamfer, the
   brushed grain, the lit top lip): on phones it floats up from the thumb zone between the gutters, like the WhatsApp bar;
   from 700 px it sits in the centre at 560 px. Without popover support the attribute means nothing: these base rules then
   show the same plate in the page, under the build plate, and nothing is hidden. Every rule that places it as an overlay
   names :popover-open, which such a browser drops, and none sets display on .team (that would beat the closed state). */
.team {
  --plate-cut: 18px;
  max-width: 640px; margin: 28px 0 0; padding: 0; border: 0;
  color: var(--ink);
  background-color: var(--surface);
  background-image:
    repeating-linear-gradient(0deg, rgb(239 231 218 / 0.016) 0 1px, rgb(239 231 218 / 0) 1px 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.94 0 0 0 0 0.88 0 0 0 0 0.78 0 0 0 1.5 -0.6'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.08'/%3E%3C/svg%3E");
  box-shadow: inset 0 1px 0 rgb(239 231 218 / 0.08), inset 0 -1px 0 rgb(0 0 0 / 0.35);
  clip-path: polygon(var(--plate-cut) 0, calc(100% - var(--plate-cut)) 0, 100% var(--plate-cut), 100% calc(100% - var(--plate-cut)), calc(100% - var(--plate-cut)) 100%, var(--plate-cut) 100%, 0 calc(100% - var(--plate-cut)), 0 var(--plate-cut));
  scroll-margin-top: calc(var(--bar-h) + 30px);
}
/* the head stays put while the list scrolls under it, and the close chip sits on the title's first line. Phones: the chip
   is only as wide as its word and the plate's side room is 18 px, still clear of the 18 px cut (the title starts 33 px
   down). The size follows the screen beside the chip (90vw - 124 px) and never drops under 20 px, a clear step over the
   names (15.3 to 19 px): «الفريق اللي بناها» (7.30 em at 600) holds one line from 320 px (89 % at 20 px, measured) and,
   narrower, breaks into two balanced lines with the chip on the first. English keeps two lines from 320 (below) */
.team-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 18px 0; }
.team h2 { margin: calc((44px - 1.3em) / 2) 0 0; font-size: clamp(20px, calc(9.1vw - 12.5px), 24px); line-height: 1.3; text-wrap: balance; }
.team-close {
  flex: none; min-width: 44px; min-height: 44px; padding: 0 12px;
  font: 600 15px/1 var(--text); color: var(--ink); background: var(--d-gear); border: 0; cursor: pointer;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  transition: background-color .2s;
}
.team-close:hover { background: #2F2920; }
.team-close:focus-visible { outline: 2px solid var(--sand); outline-offset: -5px; }
/* nothing to close where the list sits in the page (site.js also removes it there) */
@supports not selector(:popover-open) { .team-close { display: none; } }
.team-body { padding: 18px 18px 28px; }
.tm-group + .tm-group { margin-top: 30px; }
/* the group label is the plate's own label: the body face, dim, no caps, no tracking */
.tm-label { margin: 0 0 14px; font-family: var(--text); font-size: 14.5px; font-weight: 400; line-height: 1.6; color: var(--ink-dim); }
.tm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
/* a row: the avatar beside the name and the handle (the pair centred on it), then the role, the bio and the links from
   the start edge, so a 320 px phone still gives the bio the full width */
.tm { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; }
.tm-av { grid-row: 1 / span 2; align-self: center; display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--d-steel); }
/* one line for every name: the widest («AXLEUS Engineering», Readex Pro 600, the same on every platform) is 10.4 times
   its size wide, and the column is 90vw - 121 px on phones (with a classic scrollbar's reserved gutter), so the size
   follows the screen up to 19 px and fills at most 95 % (15.3 px at 320, 19 px from about 365; measured) */
.tm-name { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(15px, calc(8.24vw - 11.1px), 19px); line-height: 1.35; color: var(--ink); text-shadow: 0 1px 0 rgb(0 0 0 / 0.6); }
.tm-handle { grid-column: 2; grid-row: 2; align-self: start; margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-dim); }
.tm-role { grid-column: 1 / -1; margin: 10px 0 0; font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--sand); }
.tm-bio { grid-column: 1 / -1; margin: 2px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-dim); }
/* the marks: bare, 44 px targets, pulled back by their side room so the first mark's ink starts on the text edge */
.tm-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; margin: 2px 0 0; margin-inline-start: -12px; }
.tm-mark { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink-dim); transition: color .2s; }
.tm-mark:hover { color: var(--sand-hover); }
.tm-mark svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.tm-mark:focus-visible, .tm-site:focus-visible { outline-offset: -3px; }
.tm-site { display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; padding-inline: 10px 12px; color: var(--ink-dim); font-size: 15px; text-decoration: none; transition: color .2s; }
.tm-site-t { text-decoration: underline; text-decoration-color: rgb(163 154 138 / 0.4); text-underline-offset: 0.35em; text-decoration-thickness: 1px; }
.tm-site:hover { color: var(--sand-hover); }
.tm-site:hover .mk-arrow { transform: translate(0.12em, -0.12em); }

/* the overlay. Phones: a floating plate in the WhatsApp bar's place (same gutters, same 12 px off the bottom), at most
   as tall as the screen minus the top bar and 12 px clear of it, so it never lands on the bar. Its list scrolls inside;
   the head stays */
.team:popover-open {
  position: fixed; inset: auto var(--gutter) calc(12px + env(safe-area-inset-bottom)); margin: 0;
  width: auto; max-width: none; height: auto;
  max-height: calc(100vh - 92px - env(safe-area-inset-bottom));
  max-height: calc(100dvh - 92px - env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow: hidden;
  /* the scroller stops 14 px above the bottom edge and 8 px in from the end edge: its corner sits 22 px (14 + 8) from the
     18 px chamfer's corner, so the cut never takes the end of a scrollbar */
  padding-bottom: 14px;
  opacity: 1; translate: 0 0;
  transition: opacity .2s ease-out, translate .3s cubic-bezier(.2, .7, .2, 1);
}
.team:popover-open .team-head { flex: none; }
.team:popover-open .team-body {
  min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  margin-inline-end: 8px; padding-inline-end: 10px; padding-bottom: 20px;
  scrollbar-width: thin; scrollbar-color: var(--sand-3) transparent;
  /* a scrolled line dissolves into the plate at the head and at the foot instead of being sliced by the scroller's
     edge. The fades lie inside the 18 and 20 px paddings, so at rest nothing that shows is faded */
  --list-fade: linear-gradient(to bottom, rgb(0 0 0 / 0) 0, rgb(0 0 0 / 0.2) 4px, rgb(0 0 0 / 0.55) 9px, rgb(0 0 0 / 0.86) 14px, #000 18px,
    #000 calc(100% - 20px), rgb(0 0 0 / 0.86) calc(100% - 15px), rgb(0 0 0 / 0.55) calc(100% - 10px), rgb(0 0 0 / 0.2) calc(100% - 5px), rgb(0 0 0 / 0) 100%);
  -webkit-mask-image: var(--list-fade);
  mask-image: var(--list-fade);
}
/* the WhatsApp bar waits under the pop-up: hidden, so it cannot show through the plate's cut corners */
html:has(.team:popover-open) .wa-bar, html:has(.team:popover-open) .wa-fade { visibility: hidden; }
/* entry only: from a touch lower and transparent to its place. A transition, not an animation: its end state is the
   computed style, so a skipped or throttled frame can only show the plate sooner, never leave it hidden. 18 px on
   phones; the wider screens' rule below comes later and sets 10 px */
@starting-style { .team:popover-open { opacity: 0; translate: 0 18px; } }
/* wider screens: a centred plate, 560 px */
@media (min-width: 700px) {
  .team:popover-open {
    inset: 0; margin: auto; width: min(560px, 100% - 2 * var(--gutter)); height: fit-content;
    max-height: min(100vh - 64px, 900px);
    max-height: min(100dvh - 64px, 900px);
  }
  .team-head { padding: 30px 30px 0; }
  .team-body { padding: 20px 30px 34px; }
  .team:popover-open .team-body { padding-inline-end: 22px; padding-bottom: 26px; }
  @starting-style { .team:popover-open { translate: 0 10px; } }
}
@media (min-width: 1000px) { .team { margin-inline: auto; } }
/* the page recedes far enough that its lines no longer read in the gaps round the plate */
.team::backdrop { background: rgb(16 14 11 / 0.88); transition: background-color .2s ease-out; }
@starting-style { .team:popover-open::backdrop { background-color: rgb(16 14 11 / 0); } }
/* the page holds still behind it; where a classic scrollbar takes room, its gutter stays reserved, so nothing shifts */
html:has(.team:popover-open) { overflow: hidden; scrollbar-gutter: stable; }
/* and takes no pointer: a popover's backdrop lets taps through by spec, so a tap outside would close the pop-up and also
   follow the link or open the photo under the dimmed page. Here it lands on the page root, which only closes it (with or
   without the script; site.js also consumes the click that ends such a tap, for touch input) */
html:has(.team:popover-open) body { pointer-events: none; }
.team:popover-open { pointer-events: auto; }

/* maker: AXLEUS. The lockup as supplied, one line, the partner line, the product range on a second plate engraved like
   the build plate, the kit as the large photo over the hub and the crate, and one quiet link out */
.mk-brand { margin: 2px 0 20px; }
.mk-brand .axleus { gap: 12px; }
/* phones: 30 px tall is 165 px wide, near native on 3x screens and a step under the heading; wider screens take 36 px,
   198 px wide, the top of the wordmark's sharp range (134 to 200 px, docs/LOGOS.md) */
.mk-brand .axleus-mark { height: 32px; }
.mk-brand .axleus-word { height: 30px; }
.mk-intro { max-width: 34em; margin: 0 0 14px; }
.mk-partner { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(17px, 4.6vw, 20px); line-height: 1.5; color: var(--sand); text-wrap: balance; }
.mk-plate { margin-top: 34px; padding-block: 32px 30px; }
.mk-range { margin: 0; display: grid; }
.mk-range > div { padding: 15px 0; }
.mk-range > div:first-child { padding-top: 0; }
.mk-range > div:last-child { padding-bottom: 0; }
/* each product name holds one line from 360 px: the widest, «نفخ الكفرات من داخل السيارة (CTIS)» (16.84 em at 600),
   fills 95 % of the plate's 0.9 vw - 60 px measure on phones (96 % at the 15 px floor at 360) */
.mk-range dt { font-family: var(--display); font-weight: 600; font-size: clamp(15px, calc(5.08vw - 3.39px), 19px); line-height: 1.45; color: var(--ink); text-shadow: 0 1px 0 rgb(0 0 0 / 0.6); text-wrap: balance; }
.mk-range dd { margin: 3px 0 0; color: var(--ink-dim); font-size: 15.5px; line-height: 1.65; text-wrap: balance; }
/* the photos are never cropped: each keeps its own ratio, and the pair shares one height (flex-grow = width / height) */
.mk-photos { margin-top: 40px; display: grid; gap: 12px; }
.mk-pair { display: flex; gap: 12px; }
.mk-shot { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; }
.mk-hub { flex: 0.75 1 0; }
.mk-crates { flex: 1.5 1 0; }
.mk-shot img { display: block; width: 100%; height: auto; }
.mk-more { margin: 22px 0 0; }
.mk-link { display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; color: var(--sand); text-decoration: none; transition: color .2s; }
.mk-link-t { text-decoration: underline; text-decoration-color: rgb(201 168 119 / 0.45); text-underline-offset: 0.35em; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.mk-link:hover { color: var(--sand-hover); }
.mk-link:hover .mk-link-t { text-decoration-color: var(--sand-hover); }
/* the house arrow (round-capped shaft, filled head, as in the drive chain), pointing out; on hover it moves the way it points */
.mk-arrow { flex: none; width: 0.72em; height: 0.72em; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.mk-link:hover .mk-arrow { transform: translate(0.12em, -0.12em); }

/* gallery: a swipe strip with a native dialog */
.strip {
  list-style: none; margin: 20px 0 0;
  padding: 0 var(--gutter) 6px;
  padding-inline: max(var(--gutter), calc((100% - 1120px) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(66vw, 258px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip li { scroll-snap-align: start; }
.shot { display: block; width: 100%; aspect-ratio: 3 / 4.3; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; overflow: hidden; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the gallery's photo tone, shared with the maker photos: muted at rest, full on hover and focus */
.shot img, .mk-shot img { filter: saturate(0.82) sepia(0.12) brightness(0.86); transition: filter .35s ease; }
.shot:hover img, .shot:focus-visible img, .mk-shot:hover img, .mk-shot:focus-visible img { filter: saturate(0.95) sepia(0.04) brightness(1); }
.shot:focus-visible, .mk-shot:focus-visible { outline-offset: -3px; }
/* the filter makes each photo a layer of its own, painted over its button's outline, so the focus ring is drawn again on
   a layer above the photo (same 2 px sand ring, 1 to 3 px inside the edge); the outline stays for a photo not yet loaded */
.shot, .mk-shot { position: relative; }
.shot:focus-visible::after, .mk-shot:focus-visible::after { content: ""; position: absolute; inset: 1px; border: 2px solid var(--sand); pointer-events: none; }
.shot-c { margin: 9px 0 0; color: var(--ink-dim); font-size: 14px; }
#lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); }
#lightbox[open] { display: grid; place-items: center; }
#lightbox::backdrop { background: rgb(16 14 11 / 0.95); }
#lightbox img { display: block; width: auto; height: auto; max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; }
.lb-close {
  position: fixed; top: calc(14px + env(safe-area-inset-top)); inset-inline-end: var(--gutter);
  min-width: 88px; min-height: 44px; padding: 0 18px;
  font: 600 15px/1 var(--text); color: var(--ink); background: var(--surface); border: 0; cursor: pointer;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  transition: background-color .2s;
}
.lb-close:hover { background: #26211A; }
.lb-close:focus-visible { outline: 2px solid var(--sand); outline-offset: -5px; }

/* faq: quiet type, rounded rules, the drawn arrow turns over */
.faq { margin-top: 8px; max-width: 780px; }
.faq-item + .faq-item::before { content: ""; display: block; height: 2px; border-radius: 1px; background: var(--sand-faint); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; list-style: none; cursor: pointer; font-size: 17.5px; font-weight: 600; line-height: 1.55; color: var(--ink); transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--sand-hover); }
/* the arrowhead (the drawings' dimension arrowhead) is optically centred: its centroid, a third of the way in from its
   flat edge, sits on the middle of the line's cap height (Latin H, Arabic alef), pointing down when closed and up when
   open, so it travels 4 px as it turns over (measured, Task DF) */
.faq-mark { flex: none; width: 24px; height: 24px; color: var(--sand); transform: translateY(3px) rotate(0deg); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.faq-item[open] .faq-mark { transform: translateY(-1px) rotate(180deg); }
.faq-a { margin: -4px 0 22px; max-width: 40em; color: var(--ink-dim); }

/* contact */
.channels { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; }
/* Instagram and TikTok are buttons that open the team pop-up (the visitor chooses whose account): a button starts with
   no box of its own here, at zero specificity, so .ch and .foot-mark draw them exactly like the links beside them */
:where(button.ch, button.foot-mark) { margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: start; cursor: pointer; }
/* every row keeps the 24 px mark slot, so labels share one edge even where no mark exists */
.ch { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding-inline-start: 38px; color: var(--ink); text-decoration: none; font-size: 18px; transition: color .2s; }
.ch:hover { color: var(--sand-hover); }
/* each mark's box centres on its label's ink, 2 px under the line box's middle (measured, Task DF); "TikTok" has no
   descender, so its ink sits 2 px higher than the other labels' */
.ch-i { position: absolute; inset-inline-start: 0; top: 50%; width: 24px; height: 24px; margin-top: -10px; fill: var(--sand); }
html:lang(en) .ch[aria-label^="TikTok"] .ch-i { margin-top: -12px; }
.ch-num { color: var(--ink-dim); font-family: var(--display); font-weight: 500; }
.contact-lead { color: var(--ink-dim); }

/* footer: the page closes on the same ground line the hero wheel stands on */
.foot { position: relative; margin-top: clamp(96px, 20vw, 180px); padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
.foot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(84px + env(safe-area-inset-bottom));
  background:
    linear-gradient(rgb(201 168 119 / 0.55), rgb(201 168 119 / 0.55)) top / 100% 1.3px no-repeat,
    repeating-linear-gradient(-45deg, rgb(201 168 119 / 0.2) 0 1px, rgb(201 168 119 / 0) 1px 9px);
  -webkit-mask-image: linear-gradient(#000 0%, #000 30%, rgb(0 0 0 / 0.75) 50%, rgb(0 0 0 / 0.45) 70%, rgb(0 0 0 / 0.2) 86%, rgb(0 0 0 / 0) 100%);
  mask-image: linear-gradient(#000 0%, #000 30%, rgb(0 0 0 / 0.75) 50%, rgb(0 0 0 / 0.45) 70%, rgb(0 0 0 / 0.2) 86%, rgb(0 0 0 / 0) 100%);
}
.foot-in { display: grid; gap: 4px; }
.foot-brand { margin: 0 0 12px; display: flex; align-items: center; }
/* 192 px: the 52 px height's width to the whole pixel (192.21), for the co-brand's alike rounding (see .bar-logo) */
.foot-logo { display: block; height: 52px; width: 192px; }
/* the same co-brand at the footer's scale: the symbol near the bar's proportion to the logo (24 / 36), at an even height */
.foot-brand .co-x { width: 12px; height: 12px; margin-inline: 11px 12px; }
.foot-axleus { display: block; flex: none; height: 34px; width: auto; }
.foot-line { margin: 0; color: var(--ink-dim); font-size: 14px; }
/* the footer's quiet way into the team pop-up: one dim, underlined word under the lines. Its 44 px target overhangs the
   line above by 9.75 px (text there, no target), so the word keeps the lines' rhythm and nothing overlaps the marks below */
.foot-team { display: flex; margin: -9.75px 0 0; }
.foot-team-b {
  display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding: 0;
  font: 400 14px/1.75 var(--text); color: var(--ink-dim); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgb(163 154 138 / 0.4); text-underline-offset: 0.35em; text-decoration-thickness: 1px;
  transition: color .2s, text-decoration-color .2s;
}
.foot-team-b:hover { color: var(--ink); text-decoration-color: rgb(239 231 218 / 0.5); }
.foot-team-b:focus-visible { outline-offset: -2px; }
/* Instagram and TikTok: two bare marks on the start edge, under the lines. Each is a 44 px button with its 22 px mark at
   the centre that opens the team pop-up, where the visitor picks the account; the row is pulled back by the target's side
   room ((44 - 22) / 2 = 11 px) so the first mark's ink starts on the same edge as the text above. Tonal hover only. With
   neither account set in the admin the row is empty, so it is not rendered. */
.foot-marks { display: flex; margin-inline-start: -11px; }
.foot-marks:empty { display: none; }
.foot-mark { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink-dim); transition: color .2s; }
.foot-mark:hover { color: var(--sand-hover); }
.foot-mark:focus-visible { outline-offset: -3px; }
.foot-mark svg { display: block; width: 22px; height: 22px; fill: currentColor; }

/* the one action: WhatsApp in the thumb zone. Content dissolves before it reaches the bar, like under the top bar */
.wa-fade {
  position: fixed; z-index: 39; left: 0; right: 0; bottom: 0; height: calc(88px + env(safe-area-inset-bottom));
  pointer-events: none;
  background: linear-gradient(to top, var(--ground) 0%, var(--ground) 14%, rgb(16 14 11 / 0.92) 26%, rgb(16 14 11 / 0.78) 38%,
    rgb(16 14 11 / 0.6) 50%, rgb(16 14 11 / 0.41) 62%, rgb(16 14 11 / 0.24) 74%, rgb(16 14 11 / 0.11) 85%, rgb(16 14 11 / 0.03) 94%, rgb(16 14 11 / 0) 100%);
}
.wa-bar {
  position: fixed; z-index: 40;
  inset-inline: var(--gutter); bottom: calc(12px + env(safe-area-inset-bottom));
  height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--sand); color: var(--ground);
  font-weight: 700; font-size: 17px; text-decoration: none;
  clip-path: polygon(var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer));
  transition: background-color .2s;
}
.wa-bar:hover { background: var(--sand-hover); }
.wa-bar:focus-visible { outline: 2px solid var(--ground); outline-offset: -6px; }
.wa-i { width: 22px; height: 22px; fill: currentColor; }

/* ---------- 404: the part is drawn in phantom line, because it is not there ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 0; padding: 48px var(--gutter); text-align: center; }
.nf-draw { width: 132px; height: 132px; margin-bottom: 28px; }
.nf-cl path, .nf-cl circle { fill: none; stroke: var(--sand-3); stroke-width: 1; stroke-dasharray: 12 4 2 4; }
.nf-gear path { fill: none; stroke: var(--sand); stroke-width: 1.3; stroke-dasharray: 5 4; stroke-linejoin: round; }
.nf-bore { fill: none; stroke: var(--sand-2); stroke-width: 1.2; stroke-dasharray: 5 4; }
/* «الصفحة غير موجودة» is 9.15 em wide (600): 9 vw keeps it one line at 92 % of the measure from 320 px */
.nf-h { margin: 0; font-size: clamp(28px, 9vw, 56px); font-weight: 600; text-shadow: none; }
/* bilingual: the English line answers /en/… visitors under the Arabic heading */
.nf-h-en { display: block; margin-top: 8px; font-size: 0.5em; font-weight: 500; color: var(--ink-dim); }
.nf-p { margin: 14px 0 0; color: var(--ink-dim); }
.nf-a { display: inline-block; margin-top: 14px; padding-block: 8px; font-size: 18px; }
.nf-a + .nf-a { margin-top: 0; }

/* ---------- wider screens ---------- */
/* below 1200 px a short hero (small phones, landscape, small windows) would put the headline on the white bodywork:
   the photo moves down just enough that the sub-line ends within the faint top 36 % of it. C is the sub-line's bottom
   (bar + padding + the two headline lines + the sub-line, --sub-c: 76 px for one line, 102 px for two), B the photo's
   bottom: top = max(0, (C - 0.36 B) / 0.64). Tall screens keep top 0, so their photo is unchanged. */
@media (max-width: 1199.98px) {
  .hero-photo {
    --photo-top: max(0px, calc((var(--bar-h) + var(--sub-c) + 1.14 * var(--h1a) + (1.14 + var(--h1-gap)) * var(--h1b) - 0.36 * (var(--hero-h) - var(--lift) - var(--bar-zone))) / 0.64));
    /* an absolutely positioned img does not stretch between top and bottom, so its height is explicit */
    top: var(--photo-top); height: calc(100% - var(--lift) - var(--bar-zone) - var(--photo-top));
  }
}
/* tablets and short laptops (to 1199 px): the photo becomes a centred column feathered on every side, so the truck sits
   under the copy */
@media (min-width: 600px) and (max-width: 1199.98px) {
  .hero-photo {
    /* on a wide but short screen the full shift would fade the truck's front into a dark silhouette, so it stops at
       a fifth of the photo's height (enough to keep the owner's white plate clear of the sub-line); the sub-line also
       carries its own dark halo (below), never a band over the photo */
    --photo-top: min(max(0px, calc((var(--bar-h) + var(--sub-c) + 1.14 * var(--h1a) + (1.14 + var(--h1-gap)) * var(--h1b) - 0.36 * (var(--hero-h) - var(--lift))) / 0.64)), calc(0.2 * (var(--hero-h) - var(--lift))));
    /* the photo column keeps its foot on the wheel's unlifted ground line: lifted with the cutaway over the WhatsApp bar,
       the truck would rise into the sub-line (English 3.1:1 at 1024x600, measured); under the lifted wheel its foot is
       already feathered out */
    height: calc(100% - var(--lift) - var(--photo-top));
    width: min(100%, 600px); margin-inline: auto;
    --feather-h: linear-gradient(to right, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0.04) 3%, rgb(0 0 0 / 0.14) 6%, rgb(0 0 0 / 0.3) 9%,
      rgb(0 0 0 / 0.5) 12%, rgb(0 0 0 / 0.7) 15%, rgb(0 0 0 / 0.86) 18%, rgb(0 0 0 / 0.96) 21%, #000 24%,
      #000 76%, rgb(0 0 0 / 0.96) 79%, rgb(0 0 0 / 0.86) 82%, rgb(0 0 0 / 0.7) 85%, rgb(0 0 0 / 0.5) 88%,
      rgb(0 0 0 / 0.3) 91%, rgb(0 0 0 / 0.14) 94%, rgb(0 0 0 / 0.04) 97%, rgb(0 0 0 / 0) 100%);
    -webkit-mask-image: var(--feather-v), var(--feather-h);
    -webkit-mask-composite: source-in;
    mask-image: var(--feather-v), var(--feather-h);
    mask-composite: intersect;
  }
  /* a tight dark halo that follows each letter, so the sub-line reads where the capped photo shows the bodywork */
  .hero-sub { text-shadow: 0 0 1px var(--ground), 0 0 2px var(--ground), 0 0 5px rgb(16 14 11 / 0.9), 0 1px 12px rgb(16 14 11 / 0.8); }
}
@media (min-width: 600px) and (max-width: 999.98px) {
  /* maker: the photos take the plate's width, the kit on the start side and the hub over the crate on the end side.
     With the kit at 4:5, the hub at 3:4 and the crate at 3:2, an end column of (width - 1.8 x 12 px gap) / 2.6 makes both
     sides end on one line, still uncropped */
  .mk-photos { max-width: 640px; grid-template-columns: 1fr calc((100% - 21.6px) / 2.6); align-items: start; }
  .mk-pair { flex-direction: column; }
  .mk-hub, .mk-crates { flex: none; }
}
@media (min-width: 700px) {
  .cut-svg .lbl-t { font-size: 19px; }
  .axles { grid-template-columns: 1fr 1fr; gap: 40px; }
  /* parallel items share row tracks (subgrid), so statement and note baselines align across columns */
  .pros { grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 0; }
  .pros li { grid-row: span 2; grid-template-rows: subgrid; row-gap: 6px; margin-bottom: 44px; }
  /* two columns are narrow below 800 px: the statements step down with the screen, so the Arabic ones hold three lines
     at most there */
  .pro-t { font-size: min(27px, 3.4vw); }
  .pro-d { margin-top: 0; }
  .honest { grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 0; }
  .honest li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 2px; margin-bottom: 26px; }
  .honest span { margin-top: 0; }
  .wa-bar { inset-inline: auto; left: 50%; width: 380px; transform: translateX(-50%); }
  .mk-brand .axleus-mark { height: 38px; }
  .mk-brand .axleus-word { height: 36px; }
}
/* hero from 1200 px: the real truck on the end side, the drawing under the headline on the start side. Below 1200 the
   photo's opaque half would sit under the statement line on short laptop windows (2.4:1 at 1000x700, measured), so the
   tablet column holds there. RTL measures --wx from the right; the LTR mirror measures it from the left and turns the
   photo's fade around. */
@media (min-width: 1200px) {
  #hero { --wx: calc(100% - max(var(--gutter), (100% - 1120px) / 2 + var(--gutter)) - var(--tyre) / 2); padding-top: calc(var(--bar-h) + 72px); }
  [dir="ltr"] #hero { --wx: calc(max(var(--gutter), (100% - 1120px) / 2 + var(--gutter)) + var(--tyre) / 2); }
  .hero-copy { max-width: 1120px; margin-inline: auto; }
  .hero-sub { color: var(--ink-dim); }
  .hero-photo {
    inset-inline-start: auto; width: min(54vw, 780px); height: 100%;
    object-position: 26% 96%;
    --feather-v: linear-gradient(to bottom,
      rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0.03) 6%, rgb(0 0 0 / 0.1) 12%, rgb(0 0 0 / 0.22) 18%, rgb(0 0 0 / 0.38) 24%,
      rgb(0 0 0 / 0.56) 30%, rgb(0 0 0 / 0.74) 36%, rgb(0 0 0 / 0.88) 41%, rgb(0 0 0 / 0.97) 46%, #000 50%,
      #000 76%, rgb(0 0 0 / 0.92) 80%, rgb(0 0 0 / 0.78) 84%, rgb(0 0 0 / 0.6) 88%, rgb(0 0 0 / 0.42) 91%,
      rgb(0 0 0 / 0.26) 94%, rgb(0 0 0 / 0.13) 96.5%, rgb(0 0 0 / 0.04) 98.5%, rgb(0 0 0 / 0) 100%);
    /* opaque at the end edge (where the photo bleeds off), dissolving toward the copy */
    --feather-dir: to right;
    --feather-h: linear-gradient(var(--feather-dir), #000 0%, #000 36%, rgb(0 0 0 / 0.94) 41%, rgb(0 0 0 / 0.84) 46%, rgb(0 0 0 / 0.7) 51%,
      rgb(0 0 0 / 0.54) 56%, rgb(0 0 0 / 0.38) 61%, rgb(0 0 0 / 0.24) 66%, rgb(0 0 0 / 0.13) 72%, rgb(0 0 0 / 0.05) 80%, rgb(0 0 0 / 0.01) 90%, rgb(0 0 0 / 0) 100%);
    -webkit-mask-image: var(--feather-v), var(--feather-h);
    -webkit-mask-composite: source-in;
    mask-image: var(--feather-v), var(--feather-h);
    mask-composite: intersect;
  }
  [dir="ltr"] .hero-photo { --feather-dir: to left; }
}
@media (min-width: 1000px) {
  .cut-svg .lbl-t { font-size: 16px; }
  .cut-svg .lbl-v { font-size: 22px; }
  .strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); overflow: visible; }
  .plate { margin-inline: auto; }
  /* maker: the copy, the range plate and the link on the start side, the photos on the end side; the last row takes up
     whatever height the photos need beyond the copy, so nothing on the start side is pushed apart */
  .maker { display: grid; grid-template-columns: 6fr 5fr; grid-template-rows: auto auto auto 1fr; column-gap: 72px; }
  .mk-copy, .mk-plate, .mk-more { grid-column: 1; }
  .mk-plate { margin-inline: 0; }
  .mk-photos { grid-column: 2; grid-row: 1 / -1; align-self: start; margin-top: 0; }
  .how-copy { margin-top: 0; }
  /* section heads in the 440 px copy columns (385 px at 1000): «وش هو البورتال؟» (7.6 em) fills at most 93 %, and the
     number above it 91 %, so neither widens its column */
  h2 { font-size: min(54px, 4.7vw); }
  .gain-n { font-size: min(110px, 9.6vw); }
  .what-grid { display: grid; grid-template-columns: 5fr 6fr; column-gap: 72px; align-items: center; }
  .what-grid .fig { margin-top: 0; justify-self: center; width: 100%; }
  .how-grid { display: grid; grid-template-columns: 6fr 5fr; column-gap: 72px; align-items: center; }
  .how-grid .fig { margin-top: 0; justify-self: center; width: 100%; }
  .chain-block { grid-column: 1 / -1; }
  .fit-t { font-size: 16.5px; }
  .fit-t tbody th, .fit-t tbody td { padding: 20px 24px; }
  .fit-t tbody td { padding-top: 52px; }
  .fit-t thead th { padding-inline: 24px; }
}
/* short desktop screens bound the wheel by height (smaller --u), so its labels take more units (the value as on phones,
   which keeps it 4 px off the ring at the smallest wheel) */
@media (min-width: 1000px) and (max-height: 820px) {
  .cut-svg .lbl-t { font-size: 20px; }
  .cut-svg .lbl-v { font-size: 24px; }
}

/* ---------- English (lang="en"): Latin measures for the same composition ---------- */
/* The H1 is a lockup: «Portal axles:» over the statement line, both the same width (0.5136 is their width ratio in
   Readex Pro: 6.156 em at 700 over 11.986 em at 600 for «the diff itself sits higher»), so the two lines end together
   at every width. 13.5 vw fills 92 % of the 90 vw measure. */
html:lang(en) { --h1a: clamp(40px, 13.5vw, 116px); --h1b: calc(var(--h1a) * 0.5136); --h1-gap: 0.22; }
@supports (height: 1svh) { html:lang(en) { --h1a: clamp(40px, min(13.5vw, 18svh), 116px); } }
/* the lockup keeps the statement line at 20.5 px or more (the 40 px floor x 0.5136; 22.2 px at 320, 26 px at 375), one
   line wide; should a wider fallback face ever wrap it, it breaks into balanced lines, never one stranded word */
html:lang(en) .h1-b { text-wrap: balance; }
/* phones: the sub-line at 14 to 16 px (two lines to about 480 px, one at 599), still a step under the statement line */
@media (max-width: 599.98px) { html:lang(en) .hero-sub { font-size: clamp(14px, 4.4vw, 16px); } }
/* the number keeps no reserve under it: the 0.26 em is the Arabic tail's room (see .gain-n) */
html:lang(en) .gain-n { margin-bottom: 0; }
/* the team title keeps a 16 px floor: at 20 px «The people behind this build» would take three lines at 320 px */
html:lang(en) .team h2 { font-size: clamp(16px, calc(9.1vw - 12.5px), 24px); }
/* section heads stay one line: «What is a portal axle?» (10.65 em) is half again as long as «وش هو البورتال؟»; in the
   desktop's 440 px copy column (385 px at 1000) it fills at most 94 % */
:where(html:lang(en)) h2 { font-size: clamp(25px, 7.6vw, 42px); }
@media (min-width: 1000px) { :where(html:lang(en)) h2 { font-size: min(39px, 3.4vw); } }
/* phones: «clearance» and «differential» need the tyre band at 24 units, also below 361 px */
@media (max-width: 699.98px) {
  html:lang(en) .cut-svg .lbl-t { font-size: 24px; }
}
