/* إسناد — immersive site. Aluminium · Glass · Light. */
@font-face { font-family: "Alexandria"; src: url("../fonts/Alexandria.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/IBMPlexSansArabic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/IBMPlexSansArabic-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --bg: #07090C; --fg: #EEF0F2; --mute: #C3C8CE; --dim: #9198A1;
  --line: rgba(230,232,235,.12); --line-2: rgba(230,232,235,.24);
  --champ: #D2C2A2; --blue: #2F6FE0;
  --f-head: "Alexandria", system-ui, sans-serif;
  --f-text: "Plex Arabic", system-ui, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Consolas", monospace;
  --gut: clamp(18px, 3.2vw, 44px);
  --ease: cubic-bezier(.2,.75,.15,1);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { background: var(--bg); color: var(--fg); font: 400 16px/1.7 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol { list-style: none; }
::selection { background: var(--champ); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--champ); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; direction: ltr; unicode-bidi: isolate; }
/* Arabic mode: the small labels are Arabic too, set in the text face and read right-to-left; numbers/handles stay LTR */
html[lang="ar"] .mono:not(.ltr) { font-family: var(--f-text); font-size: 12.5px; letter-spacing: .01em; text-transform: none; direction: rtl; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
svg.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html[dir="ltr"] use[href="#i-arrow"] { transform: scaleX(-1); transform-origin: center; transform-box: fill-box; }

/* ---------- Canvas ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; opacity: 0; transition: opacity .6s var(--ease); }
.gl-on #gl { opacity: 1; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(7,9,12,.75) 100%); }
.no-gl body, html.no-gl { background: radial-gradient(80% 60% at 50% 30%, #1A1F27, var(--bg)); }
.no-gl #gl { display: none; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-content: center; justify-items: center; gap: 28px;
  transition: opacity .5s var(--ease), visibility .5s; }
.loader__mark svg { width: 64px; height: 64px; fill: none; stroke: var(--fg); stroke-width: 6; opacity: .9;
  stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 1.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__row { display: flex; justify-content: space-between; gap: 40px; width: min(360px, 80vw); color: var(--mute); }
.loader__n { color: var(--fg); }
.loader__bar { width: min(360px, 80vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }
body.is-ready .loader { opacity: 0; visibility: hidden; }

/* ---------- HUD ---------- */
.hud { position: fixed; z-index: 30; inset-inline: 0; padding-inline: var(--gut); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud--top { top: 0; height: 84px; }
/* a soft shade under the header so the logo never blends into the 3D behind it */
.hud--top::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(7,9,12,.92) 0%, rgba(7,9,12,.7) 55%, rgba(7,9,12,0) 100%); }
.hud--bottom { bottom: 0; height: 64px; color: var(--mute); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--fg); flex: none; min-width: max-content; }
.brand { gap: 12px; }
.brand .mk { display: block; flex: none; width: 40px; height: 40px; fill: currentColor; }
.brand .wm { display: block; flex: none; width: 87px; height: 40px; fill: currentColor; overflow: visible; }
.hud__end { display: flex; align-items: center; gap: 10px; }
.pill { height: 40px; min-width: 40px; padding-inline: 16px; border-radius: 999px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center;
  font: 500 14px/1 var(--f-text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(7,9,12,.35); transition: border-color .3s, background .3s, color .3s; }
.pill:hover { border-color: var(--fg); }
.pill--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill--solid:hover { background: #fff; }
html[lang="ar"] [data-lang] span { font-family: var(--f-head); letter-spacing: .06em; font-size: 12px; }
.burger { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-content: center; gap: 5px; background: rgba(7,9,12,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.burger i { display: block; width: 14px; height: 1.5px; background: var(--fg); transition: transform .4s var(--ease); }
.burger[aria-expanded="true"] i:first-of-type { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3.25px) rotate(-45deg); }   /* last-of-type: the hidden label span comes after the lines */
/* "scroll down" — a clear pill, centred at the bottom of the first screen, gone once you start scrolling */
.hud__hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding-inline: 30px 24px; border-radius: 999px; border: 1px solid rgba(230,232,235,.38); background: rgba(7,9,12,.68);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--fg); font: 500 18px/1 var(--f-text); white-space: nowrap; gap: 12px;
  transition: opacity .5s, visibility .5s; }   /* no glow/pulse on the border — only the arrow moves */
.hud__hint svg { width: 24px; height: 24px; color: var(--champ); stroke-width: 2.2; animation: hintArrow 1.1s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes hintArrow { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(7px); } }   /* a clear up-and-down bounce */
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
body.scrolled .hud__hint { opacity: 0; visibility: hidden; }
.hud__sec b { color: var(--fg); font-weight: 500; }
.hud__sec span { color: var(--mute); margin-inline-start: 8px; }
.rail { position: fixed; z-index: 30; inset-inline-end: calc(var(--gut) / 2.4); top: 50%; height: 120px; width: 1px; background: var(--line); transform: translateY(-50%); }
.rail i { position: absolute; inset: 0; background: var(--fg); transform-origin: top; transform: scaleY(0); }
.corners i { position: fixed; z-index: 2; width: 14px; height: 14px; border-color: var(--line-2); border-style: solid; pointer-events: none; }
.corners i:nth-child(1) { top: 96px; left: var(--gut); border-width: 1px 0 0 1px; }
.corners i:nth-child(2) { top: 96px; right: var(--gut); border-width: 1px 1px 0 0; }
.corners i:nth-child(3) { bottom: 72px; left: var(--gut); border-width: 0 0 1px 1px; }
.corners i:nth-child(4) { bottom: 72px; right: var(--gut); border-width: 0 1px 1px 0; }

/* menu — its own page: opaque, the home page behind is frozen, the home HUD is hidden */
html.menu-open, body.menu-open { overflow: hidden; overscroll-behavior: none; }
body.menu-open .hud--bottom, body.menu-open .rail, body.menu-open .corners, body.menu-open .hud__hint { opacity: 0 !important; visibility: hidden !important; }
body.menu-open .hud--top .pill--solid { display: none; }
body.is-locked { position: fixed; inset-inline: 0; width: 100%; }
.menu { position: fixed; inset: 0; z-index: 28; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: #07090C; padding: 112px var(--gut) 48px;
  background-image: linear-gradient(to right, rgba(230,232,235,.035) 1px, transparent 1px); background-size: calc((100% - 2 * var(--gut)) / 4) 100%; background-position: var(--gut) 0; }
.menu[hidden] { display: none; }
.menu__in { max-width: 1240px; margin: 0 auto; min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.menu__k { color: var(--champ); margin-bottom: 18px; }
.menu__list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.menu__list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu.is-in .menu__list li { opacity: 1; transform: none; }
.menu.is-in .menu__list li:nth-child(2) { transition-delay: .04s; } .menu.is-in .menu__list li:nth-child(3) { transition-delay: .08s; }
.menu.is-in .menu__list li:nth-child(4) { transition-delay: .12s; } .menu.is-in .menu__list li:nth-child(5) { transition-delay: .16s; }
.menu__list a { display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 16px; padding: 18px 4px; transition: background .3s, padding .35s var(--ease); }
.menu__list a .mono { color: var(--mute); font-size: 11px; }
.menu__txt b { display: block; font: 500 clamp(19px, 1.7vw, 24px)/1.3 var(--f-head); color: var(--fg); transition: color .3s; }
.menu__txt small { display: block; margin-top: 3px; font-size: 13px; color: var(--mute); }
.menu__go { width: 16px; height: 16px; color: var(--mute); opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .35s var(--ease), color .3s; }
html[dir="ltr"] .menu__go { transform: translateX(-6px); }
.menu__list a:hover, .menu__list a:focus-visible { padding-inline-start: 12px; background: rgba(255,255,255,.02); }
.menu__list a:hover b, .menu__list a:focus-visible b { color: var(--champ); }
.menu__list a:hover .menu__go, .menu__list a:focus-visible .menu__go { opacity: 1; transform: none; color: var(--champ); }
.menu__side { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); display: grid; gap: 18px; margin-top: 34px;
  opacity: 0; transition: opacity .6s var(--ease) .15s; }
.menu.is-in .menu__side { opacity: 1; }
.menu__lbl { color: var(--mute); font-size: 11px; margin-bottom: 6px; }
.menu__big { font: 400 20px/1.2 var(--f-lat, var(--f-head)); color: var(--fg); letter-spacing: .02em; }
.menu__val { font-size: 14px; color: var(--fg); line-height: 1.6; }
a.menu__val:hover, a.menu__big:hover { color: var(--champ); }
.menu__cta { justify-content: center; height: 48px; font-size: 14.5px; }
@media (max-width: 760px) {
  .menu { padding: 92px 18px 32px; background-image: none; }
  .menu__in { grid-template-columns: 1fr; gap: 26px; }
  .menu__list a { grid-template-columns: 26px 1fr 16px; gap: 12px; padding: 14px 2px; }
  .menu__txt b { font-size: 18px; }
  .menu__txt small { font-size: 12px; }
  .menu__go { opacity: .6; transform: none; }
  .menu__side { margin-top: 0; padding: 18px; gap: 14px; }
  .menu__big { font-size: 18px; }
}

/* ---------- Sections ---------- */
main { position: relative; z-index: 10; }
.s { position: relative; height: var(--h, 150vh); }
/* section lengths = how much you scroll per scene. Kept short so every scroll visibly moves something. */
#s0 { --h: 150vh; } #s1 { --h: 190vh; } #s2 { --h: 320vh; } #s3 { --h: 190vh; } #s4 { --h: 120vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; }
.pin a, .pin button { pointer-events: auto; }
.blk { position: absolute; max-width: 620px; }
.blk--hero { inset-inline-start: var(--gut); bottom: clamp(92px, 13vh, 140px); max-width: 780px; }
.blk--side { inset-inline-start: var(--gut); top: 50%; transform: translateY(-50%); max-width: 480px; }
.blk--end { inset-inline-start: auto; inset-inline-end: var(--gut); }
.blk--top { inset-inline-start: var(--gut); top: 120px; }
.blk--contact { inset-inline-start: var(--gut); inset-inline-end: var(--gut); top: 50%; transform: translateY(-50%); max-width: 820px; }
.k { color: var(--champ); margin-bottom: 22px; }
.display { font: 500 clamp(36px, 4.6vw, 78px)/1.34 var(--f-head); letter-spacing: -.01em; }
.h2 { font: 500 clamp(32px, 4.2vw, 66px)/1.36 var(--f-head); letter-spacing: -.01em; }
html[lang="en"] .display, html[lang="en"] .h2 { font-weight: 300; letter-spacing: -.04em; line-height: 1.08; }
.metal { color: #F4F5F7; background: linear-gradient(180deg, #FFFFFF 0%, #F1F2F4 45%, #C9CED4 78%, #E9EBEE 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-block: .18em .34em; margin-block: -.18em -.34em; }
/* hero: two lines with room between them, so the hamza under «إ» never meets the hamza over «أ» */
/* hero line: one line on every screen, the name picked out in champagne */
.display--one { white-space: nowrap; font-size: clamp(26px, 7.4vw, 64px); }
html[lang="en"] .display--one { font-size: clamp(24px, 6vw, 56px); }
.display .nm { font-style: normal; color: var(--champ); -webkit-text-fill-color: var(--champ); }
.lede { margin-top: 22px; color: var(--mute); font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.8; max-width: 32em; text-shadow: 0 1px 14px rgba(7,9,12,.9); }

/* readability: a soft dark scrim on the text side, so copy never sits on bright 3D */
.pin::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(to left, rgba(7,9,12,.82) 0%, rgba(7,9,12,.5) 30%, rgba(7,9,12,0) 58%); }
html[dir="ltr"] .pin::before { background: linear-gradient(to right, rgba(7,9,12,.82) 0%, rgba(7,9,12,.5) 30%, rgba(7,9,12,0) 58%); }
#s2 .pin::before { background: linear-gradient(to bottom, rgba(7,9,12,.92) 0%, rgba(7,9,12,.78) 20%, rgba(7,9,12,0) 42%); }
html[dir="rtl"] #s3 .pin::before { background: linear-gradient(to right, rgba(7,9,12,.82) 0%, rgba(7,9,12,.5) 30%, rgba(7,9,12,0) 58%); }
html[dir="ltr"] #s3 .pin::before { background: linear-gradient(to left, rgba(7,9,12,.82) 0%, rgba(7,9,12,.5) 30%, rgba(7,9,12,0) 58%); }
.blk, .tags, .clabels, .meter { z-index: 1; }

/* reveal per section */
.pin .k, .pin .display, .pin .h2, .pin .lede, .pin .chips, .pin .ctas, .pin .info, .pin .copy {
  opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.s.is-on .pin .k { transition-delay: .05s; } .s.is-on .pin .display, .s.is-on .pin .h2 { transition-delay: .15s; }
.s.is-on .pin .lede, .s.is-on .pin .chips { transition-delay: .3s; } .s.is-on .pin .ctas { transition-delay: .4s; } .s.is-on .pin .info, .s.is-on .pin .copy { transition-delay: .5s; }
.s.is-on .pin .k, .s.is-on .pin .display, .s.is-on .pin .h2, .s.is-on .pin .lede, .s.is-on .pin .chips, .s.is-on .pin .ctas, .s.is-on .pin .info, .s.is-on .pin .copy { opacity: 1; transform: none; filter: none; }

.s.is-on.is-out .pin .k, .s.is-on.is-out .pin .display, .s.is-on.is-out .pin .h2, .s.is-on.is-out .pin .lede, .s.is-on.is-out .meter { opacity: 0; transform: translateY(-16px); filter: blur(6px); transition-delay: 0s; transition-duration: .5s; }

/* material tags (positioned from 3D) */
.tags { position: absolute; inset: 0; }
.tag { position: absolute; left: 0; top: 0; direction: ltr; display: flex; align-items: center; gap: 12px; opacity: 0; transition: opacity .6s var(--ease); will-change: transform; }
.tag i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--champ); position: relative; flex: none; }
.tag i::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--champ); }
.tag i::before { content: ""; position: absolute; top: 50%; left: 100%; width: 44px; height: 1px; background: linear-gradient(to right, var(--champ), transparent); }
.tag span { transform: translateY(var(--dy, 0px)); transition: transform .4s var(--ease); margin-left: 44px; display: flex; flex-direction: column; padding: 8px 12px; border: 1px solid var(--line-2); background: rgba(7,9,12,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tag b { font: 500 14px/1.3 var(--f-head); white-space: nowrap; }
.tag small { color: var(--mute); font-size: 10.5px; margin-top: 3px; }
.tag.is-v { opacity: 1; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
.leaders.is-v { opacity: 1; }
.leaders line { stroke: var(--champ); stroke-width: 1; opacity: .85; }
.leaders circle { fill: var(--champ); }
.tag.is-flip { flex-direction: row-reverse; }
.tag.is-flip i::before { left: auto; right: 100%; background: linear-gradient(to left, var(--champ), transparent); }
.tag.is-flip span { margin-left: 0; margin-right: 44px; }

/* service labels (positioned from 3D) */
.clabels { position: absolute; inset: 0; }
.cl { position: absolute; left: 0; top: 0; width: 210px; margin-left: -105px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: 0; transition: opacity .5s var(--ease); will-change: transform; }
.cl .mono { color: var(--champ); }
.cl b { font: 500 17px/1.35 var(--f-head); }
.cl small { color: var(--mute); font-size: 13.5px; }
.cl em { font-style: normal; margin-top: 8px; font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease), background .3s, color .3s; }
.cl.is-v { opacity: .7; } .cl.is-c { opacity: 1; }
.cl.is-c em, .cl:hover em { opacity: 1; transform: none; }
.cl em:hover { background: var(--fg); color: var(--bg); }

.drag { position: absolute; inset: 0; z-index: 0; pointer-events: auto; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.drag.is-drag { cursor: grabbing; }
.clabels { z-index: 2; }
.railui { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 10px; display: flex; align-items: center; gap: 14px; color: var(--mute); }
.rbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: rgba(7,9,12,.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .3s, background .3s, color .3s; }
.rbtn:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
svg.flip { transform: scaleX(-1); }
.rhint { position: absolute; z-index: 3; inset-inline-end: var(--gut); bottom: 148px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg);
  padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(7,9,12,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line);
  transition: opacity .5s var(--ease); white-space: nowrap; }
.rhint i { position: relative; width: 34px; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.rhint i::after { content: ""; position: absolute; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--champ); animation: swipe 1.6s var(--ease) infinite; }
@keyframes swipe { 0% { left: 0; } 50% { left: calc(100% - 6px); } 100% { left: 0; } }
.rhint.is-done { opacity: 0; }
.rhint { display: none; }   /* the hint now lives inside the centred arrow row */
.railui .rh { display: inline; font-size: 14px; color: var(--fg); white-space: nowrap; min-width: 9.5em; text-align: center; }
.railui [data-rail-n] { display: none; min-width: 6.5em; text-align: center; }
.railui.is-hinted .rh { display: none; }
.railui.is-hinted [data-rail-n] { display: inline-block; }

.meter { position: absolute; inset-inline-start: var(--gut); bottom: 96px; display: flex; gap: 12px; color: var(--mute); }
.meter b { color: var(--fg); font-weight: 500; }

/* contact */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips button { height: 40px; padding-inline: 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; background: rgba(7,9,12,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .3s, background .3s, color .3s; }
.chips button:hover { border-color: var(--fg); }
.chips button[aria-checked="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { height: 54px; padding-inline: 26px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--light { background: var(--fg); color: var(--bg); }
.btn--light:hover { background: #fff; }
.btn--line { border: 1px solid var(--line-2); background: rgba(7,9,12,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--line:hover { border-color: var(--fg); }
.btn .mono { font-size: 14px; letter-spacing: .08em; }
.info { margin-top: 36px; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info dt { color: var(--mute); padding-top: 3px; }
.info dd { color: var(--fg); }
.info a:hover { color: var(--fg); }
.ln { border-bottom: 1px solid var(--line-2); margin-inline-start: 8px; color: var(--fg); }
.copy { margin-top: 26px; color: var(--mute); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  #s0 { --h: 120vh; } #s1 { --h: 160vh; } #s2 { --h: 260vh; } #s3 { --h: 160vh; } #s4 { --h: 110vh; }
  .railui { bottom: 74px; }
  .railui .rh { font-size: 13px; min-width: 0; }
  /* phones: the swipe hint lives between the arrows (in place of the counter) until the first swipe, so it can never overlap the block labels */
  .hud--top { height: 70px; }
  .brand .mk { width: 34px; height: 34px; } .brand .wm { width: 74px; height: 34px; }
  .hide-xs { display: none; }
  .corners { display: none; }
  .rail { display: none; }
  .hud__coords { display: none; }
  .hud--bottom { height: 56px; }
  .hud__sec { transition: opacity .5s; } body:not(.scrolled) .hud__sec { opacity: 0; }   /* phones: the scroll button owns the bottom of the first screen */
  .blk--hero { bottom: 84px; inset-inline-end: var(--gut); }
  .blk--side, .blk--end { top: auto; bottom: 80px; transform: none; inset-inline: var(--gut); max-width: none; }
  .blk--top { top: 90px; inset-inline-end: var(--gut); }
  .blk--contact { inset-inline: var(--gut); top: auto; bottom: 70px; transform: none; }
  .lede { margin-top: 14px; font-size: 14.5px; }
  .cl { width: 170px; margin-left: -85px; }
  .cl b { font-size: 15px; }
  .tag.is-flip span { margin-left: 0; margin-right: 22px; }
  /* phones: same labels as desktop (title + short explanation), placed at the screen edges by JS with leader lines */
  .tag i { display: none; }
  .tag span, .tag.is-flip span { margin: 0; padding: 6px 9px; transform: none; }
  .tag b { font-size: 13px; } .tag small { display: block; font-size: 10.5px; margin-top: 2px; }
  .meter { bottom: 70px; display: none; }
  .info > div { grid-template-columns: 1fr; gap: 2px; }
  .chips { margin-top: 18px; } .chips button { height: 36px; font-size: 13px; padding-inline: 12px; }
  .info { margin-top: 20px; } .copy { display: none; }
  .pin::before, html[dir] .pin::before, html[dir] #s3 .pin::before { background: linear-gradient(to top, rgba(7,9,12,.94) 0%, rgba(7,9,12,.75) 38%, rgba(7,9,12,0) 68%); }
  #s2 .pin::before { background: linear-gradient(to bottom, rgba(7,9,12,.85) 0%, rgba(7,9,12,0) 30%); }
}
@media (max-height: 640px) and (min-width: 761px) { .blk--contact .info { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .pin .k, .pin .display, .pin .h2, .pin .lede, .pin .chips, .pin .ctas, .pin .info, .pin .copy { transition: none; filter: none; }
  .hud__hint, .hud__hint svg { animation: none; }
}

/* ================= Material labels are buttons ================= */
.tag { pointer-events: auto; cursor: pointer; }
.tag:not(.is-v) { pointer-events: none; }
.tag span { transition: border-color .3s, background .3s, transform .4s var(--ease); }
.tag:hover span, .tag:focus-visible span, .tag.is-active span { border-color: var(--champ); background: rgba(18,16,12,.82); }
.tag__more { font-style: normal; position: absolute; inset-inline-end: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--champ); color: #07090C; font: 600 13px/1 var(--f-lat, sans-serif); box-shadow: 0 0 0 3px rgba(210,194,162,.18); }
.tag span { position: relative; }
body.ls-open .tag:not(.is-active) { opacity: .35; }
body.ls-open { overflow: hidden; }   /* the page stays put while the explainer is open */

/* ================= Layer explainer ================= */
.lsheet { position: fixed; inset: 0; z-index: 80; }
.lsheet[hidden] { display: none; }
.lsheet__scrim { position: absolute; inset: 0; background: rgba(4,5,7,.45); opacity: 0; transition: opacity .35s var(--ease); }
.lsheet.is-open .lsheet__scrim { opacity: 1; }
.lsheet__panel { position: absolute; top: 96px; bottom: 84px; inset-inline-start: var(--gut); width: min(460px, 42vw); display: flex; flex-direction: column;
  background: rgba(12,14,18,.9); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8);
  opacity: 0; transform: translateX(24px); transition: opacity .38s var(--ease), transform .45s var(--ease); }
html[dir="ltr"] .lsheet__panel { transform: translateX(-24px); }
.lsheet.is-open .lsheet__panel { opacity: 1; transform: none; }
.lsheet__grab { display: none; }
.lsheet__top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 6px; }
.lsheet__n { color: var(--champ); }
.lsheet__x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--fg); transition: background .3s, color .3s; }
.lsheet__x:hover { background: var(--fg); color: var(--bg); }
.lsheet__x svg { width: 16px; height: 16px; stroke-width: 1.8; }
.lsheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 20px; scrollbar-width: thin; }
.lsheet__fig { margin: 4px 0 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(120% 120% at 50% 0%, #161a21, #0b0d11); }
.lsheet__fig svg { display: block; width: 100%; height: auto; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lsheet__fig .d-l { stroke: #6f7782; stroke-width: 1.4; }
.lsheet__fig .d-h { stroke: var(--champ); stroke-width: 1.8; fill: rgba(210,194,162,.16); }
.lsheet__fig .d-b { stroke: #9b7a52; stroke-width: 1.4; fill: rgba(138,100,64,.35); }
.lsheet__fig .d-hb { stroke: var(--champ); fill: rgba(210,194,162,.5); }
.lsheet__fig .d-g { stroke: #a9c8e6; stroke-width: 1.4; fill: rgba(169,200,230,.16); }
.lsheet__fig .d-dots { fill: var(--champ); stroke: none; }
.lsheet__fig .d-a { stroke: var(--fg); stroke-width: 1.4; opacity: .8; }
.lsheet__fig .d-x { stroke: #e0a55b; stroke-width: 2.2; }
.lsheet__t { font: 500 26px/1.3 var(--f-head); color: var(--fg); }
.lsheet__s { margin-top: 4px; color: var(--champ); font-size: 14px; }
.lsheet__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; padding: 0; list-style: none; }
.lsheet__chips li { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg); background: rgba(255,255,255,.03); }
.lsheet__sec { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.lsheet__sec h4 { display: flex; align-items: center; gap: 10px; font: 500 15px/1.3 var(--f-head); color: var(--fg); margin-bottom: 8px; }
.lsheet__sec h4 i { font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; color: var(--champ); font-style: normal; direction: ltr; }
.lsheet__sec p { color: var(--mute); font-size: 14.5px; line-height: 1.85; }
.lsheet__why { list-style: none; padding: 0; display: grid; gap: 8px; }
.lsheet__why li { position: relative; padding-inline-start: 18px; color: var(--mute); font-size: 14.5px; line-height: 1.7; }
.lsheet__why li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--champ); }
.lsheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.lsheet__nav { display: flex; gap: 8px; }
.lsheet__cta { height: 46px; padding-inline: 22px; font-size: 14.5px; }
@media (max-width: 760px) {
  .tag__more { width: 16px; height: 16px; font-size: 12px; top: -7px; inset-inline-end: -7px; }
  /* phones: bottom sheet */
  .lsheet__panel { top: auto; bottom: 0; inset-inline: 0; width: auto; max-height: 86vh; max-height: 86svh; border-radius: 22px 22px 0 0; border-bottom: 0;
    transform: translateY(100%); opacity: 1; transition: transform .42s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
  html[dir="ltr"] .lsheet__panel { transform: translateY(100%); }
  .lsheet.is-open .lsheet__panel { transform: none; }
  .lsheet__grab { display: block; width: 100%; padding: 10px 0 2px; cursor: grab; touch-action: none; }
  .lsheet__grab::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto; }
  .lsheet__top { padding: 6px 16px 4px; }
  .lsheet__body { padding: 2px 18px 16px; }
  .lsheet__t { font-size: 22px; }
  .lsheet__foot { padding: 12px 16px 16px; }
  .lsheet__cta { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .lsheet__panel, .lsheet__scrim { transition: none; } }

/* test hook (?fast): no transitions */
.fast *, .fast *::before, .fast *::after { transition: none !important; animation: none !important; }
