/* XR Architecture. Dark, drawing-sheet aesthetic; logical properties throughout so RTL just works. */

:root {
  color-scheme: dark;
  --ink-0: #06090e;
  --ink-1: #0a0f16;
  --ink-2: #0d141d;
  --ink-3: #121b26;
  --line: rgba(150, 180, 210, .13);
  --line-2: rgba(150, 180, 210, .24);
  --text: #e8edf2;
  --text-2: #a9b6c3;
  --text-3: #7f8d9c;
  --accent: #5aa9f5;
  --accent-2: #8cc4fa;
  --accent-ink: #03101d;
  --accent-soft: rgba(90, 169, 245, .12);
  --danger: #f2998f;

  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 68px;
  --section-y: clamp(88px, 11vw, 148px);
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root:lang(ar) { --font-sans: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.force-motion { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(ar) body { line-height: 1.9; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(90, 169, 245, .35); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; z-index: 100; inset-inline-start: 16px; top: -64px; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ── type ─────────────────────────────────────────────── */
h1, h2, h3 { font-weight: 500; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.2rem + 5.4vw, 6rem); line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 1.25rem + 2.5vw, 3.375rem); line-height: 1.05; letter-spacing: -.028em; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.01em; }
:lang(ar) :is(h1, h2, h3) { letter-spacing: 0; font-weight: 600; }
:lang(ar) h1 { line-height: 1.2; font-size: clamp(2.5rem, 1.2rem + 4.8vw, 5.25rem); }
:lang(ar) h2 { line-height: 1.3; }
p { text-wrap: pretty; }

.kicker {
  display: flex; align-items: center; gap: 12px;
  font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.kicker .idx { color: var(--text-3); letter-spacing: .06em; }
.kicker .rule { width: 28px; height: 1px; background: currentColor; flex: none; }
:lang(ar) .kicker { font-family: var(--font-sans); font-size: .9375rem; letter-spacing: 0; font-weight: 500; }
:lang(ar) .kicker .idx { font-family: var(--font-mono); font-size: .75rem; }

.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--text-2); }
:lang(ar) .lead { line-height: 1.9; }

/* ── buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius);
  font: 500 .9375rem/1.2 var(--font-sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: rgba(10, 15, 22, .35); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn .short { display: none; }

/* ── header ───────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(8, 12, 18, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand-mark { display: block; padding: 4px 0; }
.brand-mark img { height: 24px; width: auto; }
.brand-sub {
  padding-inline-start: 14px; border-inline-start: 1px solid var(--line-2);
  font: 500 .75rem/24px var(--font-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-2); text-decoration: none;
}
:lang(ar) .brand-sub { font-family: var(--font-sans); font-size: .9375rem; letter-spacing: 0; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 28px; }
.nav a { font-size: .9375rem; color: var(--text-2); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  font-size: .875rem; color: var(--text-2); text-decoration: none; transition: color .2s, border-color .2s;
}
.lang:hover { color: var(--text); border-color: var(--text-3); }
.lang:lang(ar), .nav-lang a:lang(ar) { font-family: "IBM Plex Sans Arabic", var(--font-sans); }
.menu-btn, .nav-lang { display: none; }

@media (max-width: 960px) {
  html.js .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer;
  }
  .menu-icon, .menu-icon::before { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
  .menu-icon { position: relative; transform: translateY(-3px); }
  .menu-icon::before { content: ""; position: absolute; top: 6px; }
  .menu-open .menu-icon { transform: translateY(0) rotate(45deg); }
  .menu-open .menu-icon::before { transform: translateY(-6px) rotate(-90deg); }
  .header-actions { margin-inline-start: auto; }
  html.js .nav {
    position: absolute; inset: var(--header-h) 0 auto; display: none;
    padding: 4px var(--gutter) 24px; background: rgba(8, 12, 18, .96); box-shadow: 0 1px 0 var(--line);
  }
  html.js .menu-open .nav { display: block; }
  html:not(.js) .nav { display: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; color: var(--text); }
}
@media (max-width: 560px) {
  /* Header room is tight on phones: the language switch moves into the menu. */
  html.js .header-actions .lang { display: none; }
  html.js .nav-lang { display: block; }
}
@media (max-width: 480px) {
  .btn .long { display: none; }
  .btn .short { display: inline; }
  .brand { gap: 10px; }
  .brand-sub { padding-inline-start: 10px; font-size: .6875rem; letter-spacing: .1em; }
}
@media (max-width: 374px) { .brand-sub { display: none; } }

/* ── hero ─────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh); display: flex; background: var(--ink-0);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 196, 250, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 196, 250, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 5%, #000 35%, #000 60%, transparent 90%);
  mask-image: linear-gradient(to bottom, transparent 5%, #000 35%, #000 60%, transparent 90%);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink-1) 0%, rgba(10, 15, 22, .88) 24%, rgba(10, 15, 22, .3) 62%, rgba(10, 15, 22, .6) 100%),
    linear-gradient(to right, rgba(10, 15, 22, .75), rgba(10, 15, 22, 0) 70%);
}
[dir="rtl"] .hero-shade {
  background:
    linear-gradient(to top, var(--ink-1) 0%, rgba(10, 15, 22, .88) 24%, rgba(10, 15, 22, .3) 62%, rgba(10, 15, 22, .6) 100%),
    linear-gradient(to left, rgba(10, 15, 22, .75), rgba(10, 15, 22, 0) 70%);
}
.hero-body {
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(48px, 7vh, 88px);
  padding-top: calc(var(--header-h) + 56px); padding-bottom: 32px;
}
.hero-copy { max-width: 860px; }
.hero-kicker .rule { width: 40px; }
.hero h1 { margin-top: 24px; max-width: 13ch; }
:lang(ar) .hero h1 { max-width: 14ch; }
.hero-lead { margin-top: 28px; max-width: 37rem; color: #c3cdd7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
/* the pause button floats in the end corner; the specs keep the full width */
.hero-foot { position: relative; }
.hero-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.hero-specs div { position: relative; padding-top: 18px; padding-inline-end: 20px; }
.hero-specs div:last-child { padding-inline-end: 64px; }
.hero-specs div::before { content: ""; position: absolute; top: -6px; inset-inline-start: 0; width: 1px; height: 11px; background: var(--accent); }
.hero-specs dt { font: 500 clamp(1.125rem, 1rem + .6vw, 1.5rem)/1.1 var(--font-mono); color: var(--text); }
:lang(ar) .hero-specs dt { font-family: var(--font-sans); }
.hero-specs dd { margin-top: 6px; font-size: .875rem; line-height: 1.45; color: var(--text-2); }
@media (max-width: 600px) {
  /* phones: the hero is the headline, the lead and the two buttons; the three
     facts come back in the technology section, and the pause button keeps the corner */
  .hero-specs { display: none; }
  .hero-body { position: relative; gap: 0; padding-top: 0; }
  /* the first screen is the video with only the kicker low on it; the headline,
     lead and buttons come with the scroll */
  .hero-kicker { margin-top: calc(100vh - 80px); margin-top: calc(100svh - 80px); }
  .hero h1 { margin-top: 48px; }
  /* the video keeps the size of the screen and stays pinned behind the copy as it scrolls,
     instead of stretching to the taller hero (overflow: clip so the hero is no scroll container) */
  .hero { flex-direction: column; overflow: clip; }
  .hero-media { position: sticky; inset: auto; top: 0; flex: none; width: 100%; height: 100vh; height: 100lvh; }
  /* the copy overlaps the media from its own side: a negative margin on the media would
     empty its margin box and let it stick past the hero's end, cut off at the edge */
  .hero-body { margin-top: -100vh; margin-top: -100lvh; }
  /* a landscape video over a portrait screen: it fills the top two thirds and dissolves
     into the dark ground below, so far less of each frame is cropped away */
  .hero-video { height: 68%; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
  .hero-foot { position: static; }
  /* the pause button keeps the top end corner of the video, out of the copy's way */
  .hero-foot .video-toggle { top: calc(var(--header-h) + 24px); bottom: auto; inset-inline-end: var(--gutter); }
}
.video-toggle {
  position: absolute; bottom: 0; inset-inline-end: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 50%; background: rgba(10, 15, 22, .5); color: var(--text); cursor: pointer;
}
.video-toggle:hover { border-color: var(--accent); }
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle .i-play, .video-toggle[aria-pressed="true"] .i-pause { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }

/* ── sections ─────────────────────────────────────────── */
.section { position: relative; padding-block: var(--section-y); }
.section-alt { background: var(--ink-2); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px;
  align-items: end; margin-bottom: clamp(44px, 6vw, 72px);
}
.head-main { grid-column: 1 / span 7; }
.head-main h2 { margin-top: 20px; }
.head-aside { grid-column: 9 / -1; color: var(--text-2); }
@media (max-width: 860px) { .head-main, .head-aside { grid-column: 1 / -1; } }

/* why walk it: three cards stepping up from a fixed view to your own path */
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.compare-card {
  display: flex; flex-direction: column; gap: 12px; padding: 32px 28px 40px;
  border: 1px solid var(--line); border-radius: 2px; background: var(--ink-1);
  min-height: calc(330px + var(--i) * 36px);
}
.compare-card.is-ours { border-color: rgba(90, 169, 245, .35); background: linear-gradient(180deg, var(--accent-soft), transparent 75%), var(--ink-1); box-shadow: inset 0 2px 0 var(--accent), 0 30px 80px -50px rgba(90, 169, 245, .5); }
.compare-figure { height: 72px; margin-bottom: auto; padding-bottom: 20px; color: var(--text-3); }
.compare-figure svg { height: 100%; width: auto; overflow: visible; }
.is-ours .compare-figure { color: var(--accent); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag { font: 500 .6875rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
:lang(ar) .tag { font-family: var(--font-sans); font-size: .8125rem; letter-spacing: 0; }
.is-ours .tag { color: var(--accent); }
.reach { display: flex; gap: 3px; }
.reach i { width: 14px; height: 4px; border-radius: 1px; background: var(--line-2); transition: background-color .4s; }
.reach[data-n="1"] i:nth-child(-n+1), .reach[data-n="2"] i:nth-child(-n+2) { background: var(--text-3); }
.reach[data-n="3"] i { background: var(--accent); }
.compare-card h3 { font-size: 1.375rem; }
.compare-card p:not(.tag) { color: var(--text-2); }
@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; gap: 12px; }
  .compare-card { min-height: 0; gap: 8px; padding: 22px 20px 26px; }
  .compare-figure { height: 44px; padding-bottom: 10px; }
  .compare-card h3 { font-size: 1.1875rem; }
}

/* the rig */
.rig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.sheet {
  position: relative; padding: clamp(16px, 3vw, 32px) clamp(16px, 3vw, 32px) 0;
  border: 1px solid var(--line-2); border-radius: 2px;
  background-color: var(--ink-1);
  background-image:
    linear-gradient(rgba(140, 196, 250, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 196, 250, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -1px -1px;
}
.sheet-caption {
  display: flex; justify-content: space-between; gap: 16px;
  margin: clamp(16px, 3vw, 32px) calc(-1 * clamp(16px, 3vw, 32px)) 0;
  padding: 10px 16px; border-top: 1px solid var(--line-2); background: var(--ink-1);
  font: 500 .6875rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
}
:lang(ar) .sheet-caption { font-family: var(--font-sans); font-size: .8125rem; letter-spacing: 0; }
.rig-svg { width: 100%; height: auto; max-height: 560px; margin-inline: auto; }
.rig-svg .g-faint { stroke: rgba(160, 190, 220, .3); stroke-width: 1; }
.rig-svg .g-line { stroke: rgba(205, 222, 238, .75); stroke-width: 1.5; }
.rig-svg .g-deck { fill: rgba(90, 169, 245, .07); }
.rig-svg .g-plinth { fill: rgba(18, 27, 38, .9); }
.rig-svg .g-post { fill: var(--ink-3); }
.rig-svg .g-accent { stroke: var(--accent); stroke-width: 1.5; }
.rig-svg .g-ring { stroke: #cfe3f6; stroke-width: 3; }
.rig-svg .g-fig { fill: #2b4b6f; stroke: #2b4b6f; }
.rig-svg .g-fig-far { stroke: #1b324b; }
.rig-svg .g-fig-near { stroke: #3b638d; }
.rig-svg .g-strap { stroke: #7fa6c9; stroke-width: 3; }
.rig-svg .g-headset { fill: var(--accent); }
.rig-svg .g-belt { stroke: var(--accent); stroke-width: 5; }
.rig-svg .g-tether { stroke: var(--accent); stroke-width: 1.25; stroke-dasharray: 3 3; }
.rig-svg .g-dim { stroke: rgba(160, 190, 220, .55); stroke-width: 1; }
.rig-svg .g-dim-label rect { fill: var(--ink-1); stroke: rgba(160, 190, 220, .4); }
.rig-svg .g-dim-label text { fill: var(--text-2); font: 500 11px var(--font-mono); }
.rig-svg .g-callout path { stroke: var(--accent); stroke-width: 1; }
.rig-svg .g-callout circle { fill: var(--ink-1); stroke: var(--accent); stroke-width: 1.25; }
.rig-svg .g-callout text { fill: var(--accent); font: 500 12px var(--font-mono); }
.rig-copy .sub-title { margin-top: 20px; }
.rig-copy .body { margin-top: 20px; color: var(--text-2); }
.rig-copy .body:first-of-type { margin-top: 28px; }
.parts { margin-top: 36px; border-top: 1px solid var(--line-2); }
.parts li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.part-num { width: 26px; height: 26px; margin-top: 1px; border: 1px solid var(--accent); border-radius: 50%; font: 500 .75rem/24px var(--font-mono); text-align: center; color: var(--accent); }
.parts h4 { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }
.parts p { margin-top: 2px; font-size: .9375rem; color: var(--text-2); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; }
.facts li { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--text-2); }
.facts .icon { width: 16px; height: 16px; flex: none; color: var(--accent); }

/* what you only find out by walking: plan beside a numbered list */
.walk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: start; margin-top: clamp(88px, 11vw, 140px); }
.walk-side { position: sticky; top: calc(var(--header-h) + 32px); }
.walk-side > p { margin-top: 16px; max-width: 34rem; color: var(--text-2); }
.plan { margin-top: 32px; }
.plan-svg { width: 100%; height: auto; }
.plan-svg .wall { stroke: rgba(205, 222, 238, .7); stroke-width: 5; stroke-linecap: square; }
.plan-svg .wall-in { stroke: rgba(205, 222, 238, .45); stroke-width: 2.5; stroke-linecap: square; }
.plan-svg .glaze { stroke: var(--accent-2); stroke-width: 2; }
.plan-svg .door { stroke: rgba(160, 190, 220, .35); stroke-width: 1; stroke-dasharray: 2 3; }
.plan-svg .f-line { stroke: var(--accent); stroke-width: 1.5; }
.plan-svg .f-fill { fill: rgba(90, 169, 245, .16); }
.plan-svg .route { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 6; }
.plan-svg .route-2 { opacity: .35; }
.plan-svg .walker { fill: var(--accent-2); }
.plan-svg .person { fill: #3b638d; stroke: #3b638d; }
.plan-svg .hid { stroke: rgba(160, 190, 220, .18); stroke-width: 1; }
.plan-svg .swatch { fill: rgba(140, 170, 200, .06); }
.plan-svg .swatch-paint { fill: rgba(90, 169, 245, .1); }
.plan-svg .dim { stroke: rgba(160, 190, 220, .55); stroke-width: 1; }
.plan-svg .dim-label rect { fill: var(--ink-1); stroke: rgba(160, 190, 220, .4); }
.plan-svg .dim-label text { fill: var(--text-2); font: 500 11px var(--font-mono); }
/* the six drawings stacked in one sheet; the active one shows (site.js) */
.figs { display: grid; }
.fig { grid-area: 1 / 1; margin: 0; }
html.js .fig { opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
html.js .fig.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html:not(.js) .fig:not(.is-active) { display: none; }
.reveals { counter-reset: none; border-top: 1px solid var(--line-2); }
.reveals li {
  position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 18px; align-items: start;
  padding: 24px 0 24px 0; border-bottom: 1px solid var(--line); cursor: default;
}
.reveals li > div { grid-column: 2; }
.reveals li::before {
  content: ""; position: absolute; inset-block: -1px; inset-inline-start: -20px; width: 2px;
  background: var(--accent); transform: scaleY(0); transition: transform .4s var(--ease);
}
.reveals .icon { width: 26px; height: 26px; margin-top: 1px; color: var(--text-3); transition: color .3s; }
.reveals h4 { margin: 0; font-size: 1.1875rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; transition: color .3s; }
.reveals p { margin-top: 8px; color: var(--text-2); font-size: 1rem; }
.plan-svg .furn { stroke: rgba(205, 222, 238, .4); stroke-width: 1.25; }
/* process: one rail the four steps sit on, drawn in order */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; }
.steps::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: var(--line-2);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease);
}
[dir="rtl"] .steps::before { transform-origin: right; }
.steps.is-in::before, html:not(.js) .steps::before { transform: none; }
.step { position: relative; padding-top: 32px; }
.step::before {
  content: ""; position: absolute; top: -5px; inset-inline-start: 0; width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--accent); background: var(--ink-2);
  transition: background-color .4s, box-shadow .4s; transition-delay: calc(.25s + var(--i) * .3s);
}
.steps.is-in .step::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.step:last-child::before { width: 13px; height: 13px; top: -7px; }
.step-num { display: block; margin-bottom: 20px; font: 500 .8125rem/1 var(--font-mono); color: var(--accent); }
.step p { margin-top: 10px; color: var(--text-2); font-size: 1rem; }
.formats { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 64px; }
.formats-label { font: 500 .6875rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
:lang(ar) .formats-label { font-family: var(--font-sans); font-size: .875rem; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 2px; font: 400 .8125rem/1.3 var(--font-mono); color: var(--text-2); transition: border-color .2s, color .2s; }
.chips li:hover { border-color: var(--accent); color: var(--text); }
:lang(ar) .chips li { font-family: var(--font-mono), "IBM Plex Sans Arabic", sans-serif; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps::before { display: none; } .step { border-top: 1px solid var(--line-2); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* partners: studios and designers as cards, a sample of their work on top, like
   consultants on the sheet. Featured ones on the main page, everyone on partners/ */
.tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 44px; }
.tier-head:first-of-type, .section-head + .tier-head { margin-top: 0; }
.tier-head .mini { margin: 0; }
.more { font-size: .9375rem; color: var(--accent); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.cards { display: grid; gap: 16px; margin-top: 16px; }
.cards-firms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 2px; background: var(--ink-1); overflow: hidden; transition: border-color .25s; }
.card:hover { border-color: var(--line-2); }
.card-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); filter: saturate(.85); transition: filter .4s; }
.card:hover .card-img { filter: none; }
.card-img-empty { background: linear-gradient(rgba(140, 196, 250, .06) 1px, transparent 1px) -1px -1px / 22px 22px, linear-gradient(90deg, rgba(140, 196, 250, .06) 1px, transparent 1px) -1px -1px / 22px 22px, var(--ink-2); }
.card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 22px 24px; }
.card h3 { font-size: 1.1875rem; }
.card-mark { height: 32px; margin-bottom: 4px; }
.card-mark img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left; filter: grayscale(1) brightness(1.7) contrast(.9); opacity: .78; transition: filter .3s, opacity .3s; }
[dir="rtl"] .card-mark img { object-position: right; }
.card:hover .card-mark img { filter: none; opacity: 1; }
.card .tag { margin-top: -2px; }
.card-bio { margin-top: 6px; font-size: .9375rem; line-height: 1.55; color: var(--text-2); }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.card-link { font-size: .9375rem; color: var(--accent); text-decoration: none; white-space: nowrap; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-who { display: flex; align-items: center; gap: 12px; }
.card-photo { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.cards-people .card-body { padding: 18px 18px 20px; }
.cards-people .card h3 { font-size: 1.0625rem; }
.cards-people .card-bio { font-size: .875rem; }
.tier-actions { margin-top: 44px; }
/* sub-pages (partners, faq): room for the fixed header, breadcrumbs, a page title */
.page-sub .section:first-child { padding-top: calc(var(--header-h) + var(--section-y)); }
.book { scroll-margin-top: calc(var(--header-h) + 16px); }
/* breadcrumbs, set like a kicker */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
:lang(ar) .crumbs ol { font-family: var(--font-sans); font-size: .9375rem; letter-spacing: 0; }
.crumbs a { color: var(--text-3); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-inline-end: 10px; color: var(--text-3); }
.page-sub h1 { margin-top: 20px; font-size: clamp(2rem, 1.25rem + 2.5vw, 3.375rem); line-height: 1.05; letter-spacing: -.028em; }
:lang(ar) .page-sub h1 { line-height: 1.3; letter-spacing: 0; }
.page-faq h1 { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.75rem); }
.page-partners .tier-title { margin-top: 56px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.page-partners .cards + .tier-title { margin-top: 72px; }
@media (prefers-reduced-motion: no-preference) {
  html.js .card { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .25s; transition-delay: calc(var(--i) * .08s); }
  html.js .cards.is-in .card { opacity: 1; transform: none; transition-delay: calc(var(--i) * .08s), calc(var(--i) * .08s), 0s; }
}
html.force-motion.js .card { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .25s; transition-delay: calc(var(--i) * .08s); }
html.force-motion.js .cards.is-in .card { opacity: 1; transform: none; transition-delay: calc(var(--i) * .08s), calc(var(--i) * .08s), 0s; }
@media (max-width: 1100px) { .cards-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .cards-firms { grid-template-columns: 1fr; }
  .card-img { aspect-ratio: 2 / 1; }
  /* on the main page each tier is one row to swipe, the next card peeking in */
  #partners .cards { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  #partners .cards::-webkit-scrollbar { display: none; }
  #partners .card { flex: 0 0 min(80vw, 340px); scroll-snap-align: start; }
  #partners .card-img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) { .cards-people { grid-template-columns: 1fr; } .tier-head { flex-wrap: wrap; } }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-head :is(h1, h2) { margin-top: 20px; }
.faq-head p { margin-top: 24px; color: var(--text-2); }
.faq-head a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.faq-head a:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 22px 0; list-style: none; cursor: pointer; font-size: 1.125rem; font-weight: 500; line-height: 1.45;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent-2); }
.plus { position: relative; flex: none; width: 14px; height: 14px; margin-top: 7px; }
.plus::before, .plus::after { content: ""; position: absolute; top: 6px; inset-inline: 0; height: 1.5px; background: var(--accent); transition: transform .25s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.faq-list details p { max-width: 62ch; padding-bottom: 26px; color: var(--text-2); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* book */
.section-book { background: radial-gradient(70% 55% at 85% 0%, rgba(90, 169, 245, .1), transparent 65%), var(--ink-1); }
[dir="rtl"] .section-book { background: radial-gradient(70% 55% at 15% 0%, rgba(90, 169, 245, .1), transparent 65%), var(--ink-1); }
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.book-copy h2 { margin-top: 20px; }
.book-copy .lead { margin-top: 24px; max-width: 34rem; }
.mini { margin-top: 44px; font: 500 .6875rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
:lang(ar) .mini { font-family: var(--font-sans); font-size: .875rem; letter-spacing: 0; }
.next { margin-top: 14px; counter-reset: step; border-top: 1px solid var(--line); }
.next li { display: grid; grid-template-columns: 36px 1fr; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text-2); counter-increment: step; }
.next li::before { content: counter(step, decimal-leading-zero); font: 500 .75rem/1.9 var(--font-mono); color: var(--accent); }
.direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.direct a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius); font-size: .9375rem; text-decoration: none; color: var(--text);
  transition: border-color .2s;
}
.direct a:hover { border-color: var(--accent); }
.direct .icon { width: 18px; height: 18px; color: var(--accent); }

.book-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px;
  padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: var(--ink-3); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full, .form-actions, .form-note { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 500; color: var(--text-2); }
.opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-sans); color: var(--text);
  background: var(--ink-1); border: 1px solid var(--line-2); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 116px; resize: vertical; }
.field ::placeholder { color: var(--text-3); }
.field select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a9b6c3' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
[dir="rtl"] .field select { background-position: left 14px center; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field :is(input, textarea):user-invalid { border-color: var(--danger); }
.form-actions { display: grid; gap: 10px; margin-top: 4px; }
.form-note { font-size: .8125rem; line-height: 1.55; color: var(--text-3); }
/* the partner a card's button was pressed on, carried into the request */
.form-with { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 14px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent-soft); font-size: .875rem; color: var(--text); }
.form-with button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); font: 400 1.125rem/1 var(--font-sans); cursor: pointer; }
.form-with button:hover { background: rgba(10, 15, 22, .35); color: var(--text); }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } .book-copy .mini:last-of-type { scroll-margin-top: 36px; } }
@media (max-width: 520px) { .book-form { grid-template-columns: 1fr; } }

/* ── footer ───────────────────────────────────────────── */
.site-footer { padding-block: 72px 32px; background: var(--ink-0); box-shadow: inset 0 1px 0 var(--line); }
.titleblock {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
}
.titleblock > * { padding: 24px; background: var(--ink-0); }
.tb-brand p { max-width: 34ch; margin-top: 20px; font-size: .9375rem; color: var(--text-2); }
.tb-label { margin-bottom: 14px; font: 500 .6875rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
:lang(ar) .tb-label { font-family: var(--font-sans); font-size: .8125rem; letter-spacing: 0; }
.tb-links a { display: inline-flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .9375rem; color: var(--text-2); text-decoration: none; }
.tb-links a:hover { color: var(--text); }
.tb-contact .icon { width: 16px; height: 16px; color: var(--text-3); }
.tb-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 0; background: var(--line-2); }
.tb-meta div { padding: 14px 16px; background: var(--ink-0); }
.tb-meta dt { font: 500 .625rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
:lang(ar) .tb-meta dt { font-family: var(--font-sans); font-size: .75rem; letter-spacing: 0; }
.tb-meta dd { margin-top: 6px; font: 500 .875rem/1.4 var(--font-mono); color: var(--text); }
:lang(ar) .tb-meta dd { font-family: var(--font-sans); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 24px; font-size: .8125rem; color: var(--text-3); }
.footer-base a { color: var(--text-2); text-decoration: none; }
.footer-base a:hover { color: var(--text); }
@media (max-width: 960px) { .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  /* phones: brand on top, the two link lists side by side, no title block */
  .site-footer { padding-block: 56px 28px; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock > * { padding: 20px 18px; }
  .tb-brand { grid-column: 1 / -1; }
  .tb-meta { display: none; }
  .tb-links a { font-size: .875rem; }
}

/* ── scroll reveal ────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  html.js [data-reveal].is-in { opacity: 1; transform: none; }
}
/* the same, when the visitor overrides reduced motion (html.force-motion, see assets/motion.js) */
html.force-motion.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.force-motion.js [data-reveal].is-in { opacity: 1; transform: none; }


/* ── drawing-set details ───────────────────────────────── */
/* Section numbers are drawn as detail callouts: a circle on a leader line. */
.kicker .idx {
  position: relative; display: grid; place-items: center; flex: none; width: 34px; height: 34px;
  border: 1px solid var(--line-2); border-radius: 50%; font-size: .6875rem; color: var(--text-2);
}
.kicker .idx + .rule { margin-inline-start: -12px; width: 36px; }

.sub-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.12; letter-spacing: -.022em; }
:lang(ar) .sub-title { letter-spacing: 0; line-height: 1.35; }

/* walk list: the active item lights with its drawing */
.reveals li.is-active h4 { color: var(--accent-2); }
.reveals li.is-active .icon { color: var(--accent); }
.reveals li.is-active::before { transform: scaleY(1); }
@media (max-width: 960px) {
  /* one column: the walk points become the card row below (.walk-deck); the rig
     sheet pins under the header and its parts scroll beneath it, site.js lighting
     the part sitting just below the sheet */
  .walk { display: block; }
  .walk-side { display: contents; }
  .rig { display: block; }
  .rig-figure { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; box-shadow: 0 28px 28px -14px var(--ink-2); }
  .rig-figure .rig-svg { display: block; width: min(100%, calc(min(36vh, 320px) * 440 / 520)); height: auto; max-height: none; }
  .rig-copy { margin-top: 36px; }
}

/* on one column the six points are a row of cards to swipe, looping both ways (site.js) */
.walk-deck { display: none; }
@media (max-width: 960px) {
  .walk-side .figs, .reveals { display: none; }
  .walk-deck { display: block; margin-top: 28px; }
  .walk-track {
    display: flex; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); list-style: none;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .walk-track::-webkit-scrollbar { display: none; }
  .walk-card { flex: 0 0 calc(100% - 56px); scroll-snap-align: center; scroll-snap-stop: always; }
  .walk-card .sheet { padding: 12px 12px 0; }
  /* sized by width from the viewBox ratio (520:340): Safari gives an auto-width SVG no height */
  .walk-card .plan-svg { display: block; width: min(100%, calc(min(36vh, 300px) * 520 / 340)); height: auto; margin-inline: auto; }
  .walk-card .sheet-caption { margin: 12px -12px 0; padding: 8px 12px; }
  .walk-card-copy { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 16px; align-items: start; padding: 20px 2px 0; }
  .walk-card-copy .icon { width: 26px; height: 26px; margin-top: 1px; color: var(--text-3); transition: color .3s; }
  .walk-card-copy h4 { margin: 0; font-size: 1.1875rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; transition: color .3s; }
  .walk-card-copy p { grid-column: 2; margin-top: 8px; color: var(--text-2); font-size: 1rem; }
  .walk-card.is-active h4 { color: var(--accent-2); }
  .walk-card.is-active .icon { color: var(--accent); }
  .walk-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
  .walk-dots li { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width .3s var(--ease), background-color .3s; }
  .walk-dots li.is-active { width: 20px; background: var(--accent); }
}

/* the rig inside "how it works" */
#process .rig { margin-top: clamp(88px, 11vw, 140px); }
.rig .kicker .rule { width: 40px; }
.rig-svg .g-callout circle, .rig-svg .g-callout text, .rig-svg .g-headset, .rig-svg .g-ring, .rig-svg .g-belt, .rig-svg .g-deck { transition: fill .3s, stroke .3s, filter .3s; }
.parts li { cursor: default; transition: background-color .3s; }
.parts .part-num { transition: background-color .3s, color .3s; }
.rig[data-active="1"] .rig-figure .c-1 circle, .rig[data-active="2"] .rig-figure .c-2 circle, .rig[data-active="3"] .rig-figure .c-3 circle { fill: var(--accent); }
.rig[data-active="1"] .rig-figure .c-1 text, .rig[data-active="2"] .rig-figure .c-2 text, .rig[data-active="3"] .rig-figure .c-3 text { fill: var(--accent-ink); }
.rig[data-active="1"] .rig-figure .g-headset { filter: drop-shadow(0 0 6px rgba(90, 169, 245, .8)); }
.rig[data-active="2"] .rig-figure :is(.g-ring, .g-belt) { filter: drop-shadow(0 0 6px rgba(90, 169, 245, .8)); }
.rig-svg .g-deck { transition: fill .3s; }
.rig[data-active="3"] .rig-figure .g-deck { fill: rgba(90, 169, 245, .2); filter: drop-shadow(0 0 6px rgba(90, 169, 245, .8)); }
.parts li.is-active .part-num { background: var(--accent); color: var(--accent-ink); }
.parts li.is-active h4 { color: var(--accent-2); }
.parts h4 { transition: color .3s; }

/* faq: numbered like a schedule, answers ease open */
.faq-list { counter-reset: q; }
.faq-list details { counter-increment: q; position: relative; }
.faq-list summary > span:first-child { display: flex; gap: 18px; }
.faq-list summary > span:first-child::before { content: counter(q, decimal-leading-zero); flex: none; padding-top: .3em; font: 500 .75rem/1.3 var(--font-mono); color: var(--text-3); transition: color .2s; }
.faq-list details[open] summary > span:first-child::before, .faq-list summary:hover > span:first-child::before { color: var(--accent); }
.faq-list details p { padding-inline-start: 38px; }
.faq-list details::after { content: ""; position: absolute; inset-block: -1px; inset-inline-start: -20px; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .35s var(--ease); }
.faq-list details[open]::after { transform: scaleY(1); }
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq-list details[open]::details-content { block-size: auto; }
}

/* booking: the form sits on the page like a sheet, with crop marks */
.book-form { position: relative; }
.book-form::before {
  content: ""; position: absolute; inset: -12px; pointer-events: none;
  --m: rgba(140, 196, 250, .45);
  background:
    linear-gradient(var(--m), var(--m)) 0 0 / 18px 1px, linear-gradient(var(--m), var(--m)) 0 0 / 1px 18px,
    linear-gradient(var(--m), var(--m)) 100% 0 / 18px 1px, linear-gradient(var(--m), var(--m)) 100% 0 / 1px 18px,
    linear-gradient(var(--m), var(--m)) 0 100% / 18px 1px, linear-gradient(var(--m), var(--m)) 0 100% / 1px 18px,
    linear-gradient(var(--m), var(--m)) 100% 100% / 18px 1px, linear-gradient(var(--m), var(--m)) 100% 100% / 1px 18px;
  background-repeat: no-repeat;
}
@media (max-width: 860px) { .faq-list details::after { inset-inline-start: -12px; } }

/* ── motion (only when welcome) ───────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html.js .compare-card { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * .14s); }
  html.js .compare.is-in .compare-card { opacity: 1; transform: none; }
  html.js .compare { opacity: 1; transform: none; }
  html.js .d-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); transition-delay: calc(.5s + var(--d, 0) * .12s); }
  html.js .is-in .d-draw { stroke-dashoffset: 0; }
  html.js .d-pop { opacity: 0; transition: opacity .5s; transition-delay: calc(.5s + var(--d, 0) * .12s); }
  html.js .is-in .d-pop { opacity: 1; }
  .is-in .d-march { animation: march 1.6s linear infinite; }
  .is-in .d-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s var(--ease) infinite 1.4s; }
  html.js .reach i { transition-delay: calc(.6s + var(--i, 0) * .14s); }
  html.js .compare:not(.is-in) .reach i { background: var(--line-2); }

  .rig-svg .g-spin { animation: march 6s linear infinite; }
  .rig-svg .g-spin-rev { animation-direction: reverse; animation-duration: 9s; }
  .rig-svg .g-tether { animation: march 1.8s linear infinite; }
  .rig-svg .g-chev { animation: breathe 3s ease-in-out infinite; }
  html.js .rig-figure .d-fade { opacity: 0; transition: opacity 1s .6s; }
  html.js .rig-figure.is-in .d-fade { opacity: 1; }
}
/* the same, when the visitor overrides reduced motion (html.force-motion, see assets/motion.js) */
html.force-motion.js .compare-card { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * .14s); }
html.force-motion.js .compare.is-in .compare-card { opacity: 1; transform: none; }
html.force-motion.js .compare { opacity: 1; transform: none; }
html.force-motion.js .d-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); transition-delay: calc(.5s + var(--d, 0) * .12s); }
html.force-motion.js .is-in .d-draw { stroke-dashoffset: 0; }
html.force-motion.js .d-pop { opacity: 0; transition: opacity .5s; transition-delay: calc(.5s + var(--d, 0) * .12s); }
html.force-motion.js .is-in .d-pop { opacity: 1; }
html.force-motion .is-in .d-march { animation: march 1.6s linear infinite; }
html.force-motion .is-in .d-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s var(--ease) infinite 1.4s; }
html.force-motion.js .reach i { transition-delay: calc(.6s + var(--i, 0) * .14s); }
html.force-motion.js .compare:not(.is-in) .reach i { background: var(--line-2); }
html.force-motion .rig-svg .g-spin { animation: march 6s linear infinite; }
html.force-motion .rig-svg .g-spin-rev { animation-direction: reverse; animation-duration: 9s; }
html.force-motion .rig-svg .g-tether { animation: march 1.8s linear infinite; }
html.force-motion .rig-svg .g-chev { animation: breathe 3s ease-in-out infinite; }
html.force-motion.js .rig-figure .d-fade { opacity: 0; transition: opacity 1s .6s; }
html.force-motion.js .rig-figure.is-in .d-fade { opacity: 1; }
@keyframes march { to { stroke-dashoffset: -18; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .35; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
