/* base.css: design tokens, fonts (Poppins, SIL OFL: fonts/ofl-poppins.txt), header, hero and the styles every
   section shares */
@font-face { font-family: Poppins; font-style: normal; font-weight: 200; font-display: swap; src: url(../fonts/poppins-200.3b70d9c80f.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.a7547a4cab.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.9682b866fd.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.be682a3620.woff2) format("woff2"); }
/* «العربية» in the header switch: Readex Pro cut like the Arabic labels (wght 220),
   so it looks as big and as dark as the English menu items (drawn 28% larger: measured) */
@font-face { font-family: "Readex AR Lang"; font-style: normal; font-weight: 100 900; font-display: swap; size-adjust: 128%; src: url(../fonts/readex-ar-switch-220.a1c1550402.woff2) format("woff2"); unicode-range: U+0627, U+0628, U+0629, U+0631, U+0639, U+0644, U+064A; }
:root { --bg: #1b1416; --panel: #241a1d; --panel-2: #2c2024; --line: rgba(255, 228, 222, .09); --line-2: rgba(255, 228, 222, .16); --text: #f0e8e7; --muted: #c4b1ae; --dim: #a08b88; --green: #00fa9a; --green-ink: #062016; --red: #ff5a4f; --rose: #e8685d; --rose-rgb: 232, 104, 93; --hdr: 68px; --sans: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
/* The page never moves sideways: anything wider than the screen (a pulse ring or name tag at the map's edge,
   a transient during an animation) is clipped, not scrollable. "clip", not "hidden": no extra scroll container,
   so sticky elements keep working; "hidden" on html first, for browsers without clip. body is the containing
   block of everything positioned (position: relative), so nothing escapes its clip. */
/* touch-action: manipulation = pan and pinch-zoom allowed (zooming is never blocked: WCAG 1.4.4), only the
   double-tap zoom delay is dropped */
html { overflow-x: hidden; overflow-x: clip; touch-action: manipulation; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body { position: relative; overflow-x: clip; margin: 0; font: 400 16px/1.65 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.vh, .hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 8px 14px; border-radius: 4px; background: var(--green); color: var(--green-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.label { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.label::before { content: ""; width: 22px; height: 1px; }
.h2 { max-width: 20ch; margin-top: 22px; font-size: clamp(30px, 4.4vw, 54px); font-weight: 200; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.lead { max-width: 56ch; margin-top: 22px; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.7; }
.sec { padding-block: clamp(72px, 11vw, 140px); border-top: 1px solid var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid var(--green); border-radius: 4px; background: var(--green); color: var(--green-ink); font: 600 14px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: #5cffc0; border-color: #5cffc0; }
.btn:active { transform: translateY(1px); }
.btn.ghost { border-color: var(--line-2); background: transparent; color: var(--text); }
.btn.ghost:hover { border-color: var(--green); color: var(--green); }
.btn[disabled] { opacity: .55; cursor: progress; }
.arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font: 500 13px/1 var(--mono); letter-spacing: .04em; text-decoration: none; }
.arrow::after { content: "→"; transition: transform .2s; }
.arrow:hover::after { transform: translateX(4px); }
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
/* no backdrop blur: on a fixed bar it is re-blurred on every scrolled frame (expensive on phone GPUs); over
   this dark page a nearly opaque bar looks the same */
.hdr.solid, .hdr.open { border-color: var(--line); background: rgba(27, 20, 22, .97); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo img { width: 150px; height: auto; }
.nav ul { display: flex; align-items: center; gap: 8px; }
.nav a, .pv-links a { white-space: nowrap; display: block; padding: 10px 14px; color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.nav a:hover, .pv-links a:hover { color: var(--text); }
/* the menu links read as buttons: a hairline rose outline on a faint rose tint (the look of the page's
   chips), warming to rose on hover and keyboard focus; "Contact us" (.cta) stays the one button with
   the sweeping green border (sweep-border.css). The privacy pages' bar (.pv-links) uses the same buttons */
.nav a:not(.cta), .pv-links a { border: 1px solid rgba(var(--rose-rgb), .22); border-radius: 6px; background: rgba(var(--rose-rgb), .045);
  transition: color .2s, border-color .2s, background-color .2s; }
.nav a:not(.cta):focus-visible, .pv-links a:focus-visible { color: var(--text); border-color: rgba(var(--rose-rgb), .65); background: rgba(var(--rose-rgb), .12); }
@media (hover: hover) { .nav a:not(.cta):hover, .pv-links a:hover { color: var(--text); border-color: rgba(var(--rose-rgb), .65); background: rgba(var(--rose-rgb), .12); } }
.nav a:not(.cta):active, .pv-links a:active { background: rgba(var(--rose-rgb), .18); }
.nav .cta { margin-inline-start: 4px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--text); }
@media (min-width: 1001px) { .nav ul { gap: 6px; } .nav a { padding-inline: 12px; } }
/* narrow desktops: a little less air inside and between the buttons, so the row keeps clear of the logo */
@media (min-width: 1001px) and (max-width: 1180px) { .nav ul { gap: 5px; } .nav a { padding-inline: 10px; } }
/* which sections the bar names: the phone menu lists them all (01 excepted); the desktop bar has room
   for fewer, so .nav-extra are phone-menu only and .nav-wide only show once the bar has the width */
.nav a.keep-case { text-transform: none; }   /* "CoX" is written exactly so, never "COX" */
@media (min-width: 1001px) { .nav .nav-extra { display: none; } }
@media (min-width: 1001px) and (max-width: 1139px) { :root:not([dir="rtl"]) .nav .nav-wide { display: none; } }   /* the Arabic labels are shorter: all fit */
.nav .cta:hover { border-color: var(--green); color: var(--green); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 1.5px; margin-inline: auto; background: var(--text); transition: transform .25s, background-color .25s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.hdr.open .nav-toggle span { background: transparent; }
.hdr.open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.hdr.open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
.hero { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-top: var(--hdr); overflow: hidden; contain: paint; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 72px 100%; -webkit-mask-image: radial-gradient(120% 90% at 80% 10%, #000 0%, transparent 70%); mask-image: radial-gradient(120% 90% at 80% 10%, #000 0%, transparent 70%); }
.hero::after { content: ""; position: absolute; inset-inline-end: -20vmax; bottom: -30vmax; width: 70vmax; height: 70vmax; pointer-events: none; }
.hero-main { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; justify-content: center; padding-block: clamp(28px, 4.5vh, 56px); }
.status-pill { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.status-pill i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
/* pulse ring = the old 0 -> 10px box-shadow, drawn as a disc that scales 7 -> 27px and fades (compositor-only) */
.status-pill i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(0, 250, 154, .6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(3.857); opacity: 0; } }
.hero h1 { max-width: 15ch; margin-top: 30px; padding-bottom: .06em; font-size: clamp(44px, 8.6vw, 124px); font-weight: 200; line-height: 1.06; letter-spacing: -.02em; word-spacing: -.03em; font-kerning: normal; font-feature-settings: "kern" 1, "liga" 1; text-rendering: optimizeLegibility; }
@media (max-width: 640px) {
  .hero h1 { line-height: 1.08; letter-spacing: -.01em; word-spacing: 0; }
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero h1 > span { display: block; }
.hero .lead { margin-top: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.facts { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.facts ul { display: grid; }
.facts li { padding: 22px 0; color: var(--muted); font: 500 12px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.facts li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.facts b { display: block; margin-bottom: 4px; color: var(--text); font: 200 28px/1.1 var(--sans); letter-spacing: -.02em; text-transform: none; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split .arrow { margin-top: 30px; }
.bench { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.bench-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--dim); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.bench svg { width: 100%; height: auto; }
.bench .grid { stroke: var(--line); stroke-width: 1; }
.bench .axis { stroke-width: 1; }
.bench .cap { fill: none; stroke-width: 1; stroke-dasharray: 3 5; }
.bench .over { fill: rgba(var(--rose-rgb), .045); }
.bench .typ, .bench .us { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.bench .typ { stroke: var(--red); }
.bench .us { stroke: var(--green); }
.bench .dot-typ { fill: var(--red); }
.bench .dot-us { fill: var(--green); }
.bench .cursor { stroke: var(--line-2); stroke-width: 1; }
.bench text { fill: var(--dim); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.readout { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.readout div { padding: 16px 18px; }
.readout div + div { border-inline-start: 1px solid var(--line); }
.readout dt, .readout .k { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.readout .k::before { content: ""; width: 14px; height: 2.5px; border-radius: 2px; background: var(--red); }
.readout .us-k::before { background: var(--green); }
.readout .v { display: block; margin-top: 8px; font: 200 26px/1.1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.readout .v.down { color: var(--red); }
.readout .s { display: block; margin-top: 6px; color: var(--dim); font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.load { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-top: 1px solid var(--line); }
.load label { color: var(--muted); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.load input { flex: 1; min-width: 0; height: 28px; margin: 0; background: none; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.load output { min-width: 8.5em; color: var(--text); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-align: end; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.bench-note { padding: 14px 18px 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; line-height: 1.6; }
.load input::-webkit-slider-runnable-track { height: 2px; background: var(--line-2); }
.load input::-moz-range-track { height: 2px; background: var(--line-2); }
.load input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border: 2px solid var(--bg); border-radius: 50%; background: var(--text); box-shadow: 0 0 0 1px var(--text); }
.load input::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--bg); border-radius: 50%; background: var(--text); box-shadow: 0 0 0 1px var(--text); }
.ebrd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.ebrd .h2 { max-width: 18ch; }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); }
.reach { margin-top: 36px; }
.reach li { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-block: 14px; border-top: 1px solid var(--line); }
.reach .k { width: 110px; color: var(--dim); font: 500 11px/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.form { padding: clamp(22px, 3.4vw, 36px); border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; color: var(--muted); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg); color: var(--text); font: 400 16px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 150px; resize: vertical; }
select { padding-inline-end: 40px; -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
::placeholder { color: var(--dim); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 250, 154, .16); }
.validated :invalid { border-color: var(--red); }
.form .btn { margin-top: 22px; }
.status { min-height: 1.5em; margin-top: 14px; font-size: 14px; }
.status.ok { color: var(--green); }
.status.err { color: var(--red); }
.form-note { margin-top: 6px; color: var(--dim); font-size: 12px; }
.foot { padding-block: 56px 40px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px 64px; align-items: end; }
.foot h2 { font-size: 22px; font-weight: 200; letter-spacing: -.01em; }
.foot p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.news { display: flex; gap: 10px; }
.news input { flex: 1; min-width: 0; }
.foot-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font: 500 11px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.social { display: flex; gap: 8px; }
.social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--muted); font-size: 16px; transition: color .2s, border-color .2s; }
.social a:hover { border-color: var(--green); color: var(--green); }
.to-top { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel); color: var(--text); font-size: 18px; cursor: pointer; }
.to-top[hidden] { display: none; }
.to-top:hover { border-color: var(--green); color: var(--green); }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
/* automated readers (html.agent, js/head.js) and print: no fade, everything shown as it ends up */
.js.agent .reveal { opacity: 1; transform: none; transition: none; }
@media print { .js .reveal { opacity: 1; transform: none; } }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
/* the hero is on screen at load: its entrance runs from the first paint in CSS instead of waiting
   for the scripts (which would first hide, then re-show, what is already visible) */
/* from .01, not 0: the fade looks the same, but Chrome never records text that is first painted
   fully transparent as the page's largest paint (it would pick something repainted later) */
@keyframes rise-o { from { opacity: .01; } }
@keyframes rise-t { from { transform: translateY(18px); } }
.hero .reveal, .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise-o .7s ease both, rise-t .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero .reveal.d1 { animation-delay: .08s; }
.hero .reveal.d2 { animation-delay: .16s; }
.hero .reveal.d3 { animation-delay: .24s; }
@media (max-width: 1000px) {
  .split, .contact, .ebrd, .foot-top { grid-template-columns: minmax(0, 1fr); }
  .ebrd { align-items: start; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  /* the open menu is opaque: the hero's large headline must not show through the buttons */
  .hdr.open { background: var(--bg); }
  .nav { position: absolute; inset: var(--hdr) 0 auto; display: none; max-height: calc(100vh - var(--hdr)); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px clamp(20px, 5vw, 48px) 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .hdr.open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 8px; }
  .nav a { padding: 12px 16px; font-size: 13px; line-height: 1.5; white-space: normal; }
  .nav .cta { margin: 4px 0 0; padding: 16px; text-align: center; }
}
@media (max-width: 640px) {
  .facts li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; }
  .facts li + li { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .facts b { margin: 0; font-size: 20px; }
  .news { flex-direction: column; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.load input:focus { border: 0; box-shadow: none; }
.load input:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media (max-width: 640px) {
  .status-pill { font-size: 10.5px; letter-spacing: .05em; white-space: nowrap; }
}
.hero-bg { position: absolute; inset: -4% -4%; background: url(../images/cairo-2000.02c84386c9.webp) center 38% / cover no-repeat; animation: drift 48s ease-in-out infinite alternate; }
/* 1680px photo where cover x the 1.07 drift never needs more pixels than that (1x screens up to
   1440 x 1000); larger or denser screens keep the 2000px one */
@media (min-width: 861px) and (max-width: 1440px) and (max-height: 1000px) and (max-resolution: 1dppx) { .hero-bg { background-image: url(../images/cairo-1680.6d60226b1c.webp); } }
@keyframes drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.07) translate3d(-1.2%, -1%, 0); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 20, 22, .94) 0%, rgba(27, 20, 22, .78) 42%, rgba(27, 20, 22, .38) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(27, 20, 22, 0) 42%),
  linear-gradient(180deg, rgba(27, 20, 22, .8) 0%, rgba(27, 20, 22, 0) 22%); }
.hero::before, .hero::after { z-index: 1; }
.hero-main, .facts { z-index: 2; }
/* a flat tint, no backdrop blur: the photo drifts under it, so a blur would be redone every frame */
.facts { background: rgba(27, 20, 22, .72); }
.geo { position: absolute; inset-inline-end: clamp(20px, 5vw, 48px); bottom: 118px; z-index: 2; display: flex; align-items: center; gap: 10px; color: var(--muted); font: 500 11px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-align: end; }
.geo::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--green); transform: rotate(45deg); }
.geo span { color: var(--dim); }
#ebrd, .foot { position: relative; overflow: hidden; }
#ebrd::after, .foot::after { content: ""; position: absolute; inset-block: 0; inset-inline: 45% 0; pointer-events: none; background: url(../images/khatam.3b9e191656.svg) 0 0 / 96px 96px; opacity: .07; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.foot::after { inset-inline: 60% 0; opacity: .05; }
#ebrd > .wrap, .foot > .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .hero-bg { background-image: url(../images/cairo-1000.0c3425f837.webp); background-position: 62% 40%; }
  .hero-shade { background: linear-gradient(180deg, rgba(27, 20, 22, .86) 0%, rgba(27, 20, 22, .74) 55%, var(--bg) 100%); }
  .geo { position: relative; inset-inline-end: auto; bottom: auto; z-index: 2; justify-content: flex-start; margin: 0 clamp(20px, 5vw, 48px) 22px; text-align: start; }
}
@media (max-width: 860px) {
  .geo { flex-wrap: wrap; row-gap: 2px; white-space: nowrap; }
}
.facts a { text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.facts a:hover { color: var(--green); border-color: var(--green); }
.logos { --cols: 5; display: flex; flex-wrap: wrap; justify-content: center; margin-top: clamp(40px, 6vw, 72px); padding-block: 1px 0; padding-inline: 1px 0; }
.logos li { display: flex; flex: 0 0 calc(100% / var(--cols)); align-items: center; justify-content: center; min-width: 0; aspect-ratio: 5 / 3; margin-block: -1px 0; margin-inline: -1px 0; border: 1px solid var(--line); transition: background-color .25s; }
.logos img { height: auto; max-width: 76%; opacity: .9; transition: opacity .25s; }
.logos li:hover img { opacity: 1; }
.logos .s25 { width: 25%; }
.logos .s30 { width: 30%; }
.logos .s40 { width: 40%; }
.logos .s50 { width: 50%; }
.logos .s55 { width: 55%; }
.logos .s60 { width: 60%; }
.logos .s75 { width: 75%; }
.logos .s80 { width: 80%; }
.logos .s90 { width: 85.5%; max-width: 85.5%; }
.logos .s92 { width: 92%; max-width: 92%; }
/* four across on desktop too: clients (16 logos) and productions (4) fill whole rows */
.logos-4 { --cols: 4; }
@media (max-width: 1000px) {
  .logos { --cols: 4; }
}
@media (max-width: 640px) {
  .logos { --cols: 2; }
  .logos img { opacity: .95; }
}
.cmap-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(36px, 6vw, 88px); align-items: end; }
.cmap-head .lead { margin-top: 0; }
.cmap { margin-top: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.cmap-group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 16px clamp(28px, 4vw, 56px); padding-block: 30px; border-top: 1px solid var(--line-2); }
.cmap-disc { align-self: start; position: sticky; top: calc(var(--hdr) + 28px); }
.cmap-n { display: block; font: 500 12px/1 var(--mono); letter-spacing: .14em; }
.cmap-disc h3 { margin-top: 14px; font-size: 26px; font-weight: 200; line-height: 1.15; letter-spacing: -.02em; }
.cmap-disc p { max-width: 30ch; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.cmap-group li + li { border-top: 1px solid var(--line); }
.cmap-item { display: grid; grid-template-columns: 38px minmax(0, 5fr) minmax(0, 7fr) 20px; gap: 6px 20px; align-items: center; padding: 15px 12px; margin-inline: -12px; border-radius: 4px; color: var(--text); text-decoration: none; transition: background-color .2s; }
.cmap-item::after { content: "→"; justify-self: end; color: var(--dim); font: 500 14px/1 var(--mono); transition: color .2s, transform .2s; }
.cmap-item b { font-size: 16px; font-weight: 400; line-height: 1.4; transition: color .2s; }
.cmap-out { color: var(--muted); font-size: 14px; line-height: 1.55; }
.cmap-item:hover, .cmap-item:focus-visible { background: var(--panel); }
.cmap-item:hover b, .cmap-item:focus-visible b { color: var(--green); }
.cmap-item:hover::after, .cmap-item:focus-visible::after { color: var(--green); transform: translateX(3px); }
.cmap-item:focus-visible { outline-offset: 0; }
.cmap-foot { max-width: 64ch; margin-top: 28px; color: var(--muted); font: 500 13px/1.6 var(--mono); }
@media (max-width: 1000px) {
  .cmap-head { grid-template-columns: minmax(0, 1fr); }
  .cmap-group { grid-template-columns: minmax(0, 1fr); padding-block: 26px 14px; }
  .cmap-disc { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: baseline; }
  .cmap-disc h3 { margin-top: 0; }
  .cmap-disc p { grid-column: 2; max-width: 52ch; margin-top: 2px; }
}
@media (max-width: 640px) {
  .cmap-item { grid-template-columns: 38px minmax(0, 1fr) 16px; align-items: start; padding-block: 14px; }
  .cmap-item b { grid-column: 2; }
  .cmap-item::after { grid-column: 3; grid-row: 1; }
  .cmap-out { grid-column: 2 / 4; }
  .cmap-disc { grid-template-columns: minmax(0, 1fr); }
  .cmap-disc p { grid-column: 1; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cmap-ic { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 8px; transition: color .2s, border-color .2s, background-color .2s; }
.cmap-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cmap-item:hover .cmap-ic, .cmap-item:focus-visible .cmap-ic { border-color: rgba(0, 250, 154, .45); background: rgba(0, 250, 154, .06); color: var(--green); }
.cmap-art { display: block; position: relative; width: 100%; max-width: 230px; height: auto; aspect-ratio: 240 / 150; margin-bottom: 26px; overflow: visible; }
/* the art files carry a 12-unit margin on every side (viewBox -12 -12 264 174), so what used to
   overflow the inline <svg> (the rotated square's tips) is still drawn; the box stays 240x150 */
.cmap-art img { position: absolute; inset-inline-start: -5%; top: -8%; width: 110%; max-width: none; height: auto; }
.cmap-art * { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cmap-art .d { stroke-width: 1; }
.cmap-art .l { stroke-width: 1.25; }
.cmap-art .g { stroke: var(--green); stroke-width: 1.75; }
.cmap-art .gf { fill: var(--green); stroke: none; }
.cmap-art .dash { stroke-dasharray: 3 5; }
.cmap-art .g, .cmap-art .gf { transition: filter .4s; }
.cmap-group:hover .cmap-art .g, .cmap-group:hover .cmap-art .gf { filter: drop-shadow(0 0 5px rgba(0, 250, 154, .55)); }
@media (max-width: 1000px) {
  .cmap-art { grid-column: 1 / -1; max-width: 190px; margin-bottom: 14px; }
}
@media (max-width: 640px) {
  .cmap-art { max-width: 170px; }
  .cmap-ic { grid-row: 1 / span 2; }
  .cmap-item { row-gap: 4px; }
}
.label::before { background: var(--rose); }
.hero::after { background: radial-gradient(closest-side, rgba(var(--rose-rgb), .16), transparent); }
.hero h1 em { text-shadow: 0 0 40px rgba(0, 250, 154, .12); }
.cmap-group { border-top-color: rgba(var(--rose-rgb), .28); }
.cmap-n { color: var(--rose); }
.cmap-art .d { stroke: rgba(var(--rose-rgb), .22); }
.cmap-art .l { stroke: rgba(var(--rose-rgb), .62); }
.cmap-ic { border-color: rgba(var(--rose-rgb), .3); background: rgba(var(--rose-rgb), .06); color: #e2a29b; }
.logos li:hover { background-color: rgba(var(--rose-rgb), .05); }
/* the hero chip in the status dot's green: a green hairline on a faint green tint, brighter text (the rose
   outline turned muddy over the photo) */
.status-pill { border-color: rgba(0, 250, 154, .42); background: rgba(0, 250, 154, .06); color: #e9dcda; }
.geo::before { border-color: var(--rose); }
.bench .axis { stroke: rgba(var(--rose-rgb), .35); }
.bench .cap { stroke: rgba(var(--rose-rgb), .5); }
.sec { border-top-color: rgba(var(--rose-rgb), .14); }
.form { border-color: rgba(var(--rose-rgb), .2); }
:focus-visible { outline-color: var(--green); }
.rank { position: relative; overflow: hidden; padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid rgba(var(--rose-rgb), .18); background: radial-gradient(70% 140% at 8% 50%, rgba(var(--rose-rgb), .12), transparent 62%), var(--panel); }
.rank::after { content: ""; position: absolute; inset-block: 0; inset-inline: 55% 0; pointer-events: none; background: url(../images/khatam.3b9e191656.svg) 0 0 / 96px 96px; opacity: .05; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.rank-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rank-mark { width: 100%; justify-self: center; overflow: visible; }
.rank-mark * { fill: none; vector-effect: non-scaling-stroke; }
.rank-mark .g { filter: drop-shadow(0 0 8px rgba(0, 250, 154, .35)); }
.rank-mark .hash { fill: var(--green); }
@keyframes rank-spin { to { transform: rotate(360deg); } }
.rank-h { max-width: 17ch; margin-top: 22px; font-size: clamp(34px, 5vw, 64px); font-weight: 200; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.rank-h em { font-style: normal; color: var(--green); }
.rank-pts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid rgba(var(--rose-rgb), .22); }
.rank-pts li { padding-block: 18px 0; padding-inline: 0 20px; }
.rank-pts li + li { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.rank-pts b { display: block; color: var(--text); font: 400 17px/1.3 var(--sans); }
.rank-pts span { display: block; margin-top: 6px; color: var(--muted); font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 1000px) {
  .rank-in { grid-template-columns: minmax(0, 1fr); }
  .rank-mark { justify-self: start; }
}
@media (max-width: 640px) {
  .rank-pts { grid-template-columns: minmax(0, 1fr); }
  .rank-pts li { padding: 14px 0; }
  .rank-pts li + li { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
}
.rank-mark { max-width: 320px; }
.rank-mark .d { stroke: rgba(var(--rose-rgb), .3); stroke-width: 1; }
.rank-mark .l { stroke: rgba(var(--rose-rgb), .55); stroke-width: 1; }
.rank-mark .tick { stroke: rgba(var(--rose-rgb), .5); stroke-width: 1; }
.rank-mark .g { stroke: var(--green); stroke-width: 1.5; }
.rank-mark text { text-anchor: start; stroke: none; }
.rank-mark .ring { text-anchor: middle; fill: var(--rose); font: 500 9.5px/1 var(--mono); letter-spacing: 0; }
.rank-mark .num { fill: var(--text); font: 200 46px/1 var(--sans); letter-spacing: 0; }
/* the letter ring turns as an HTML element of its own (div.rank-spin, over the static svg.rank-art): the
   compositor rotates it, so nothing is repainted per frame. Chrome animates no svg element (not even an
   outer <svg>) on the compositor: rotating a group inside the svg repainted the whole mark, glow filter
   included, on every frame */
.rank-mark { position: relative; }
.rank-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.rank-mark .rank-spin { position: absolute; inset: 0; animation: rank-spin 120s linear infinite; will-change: transform; }
/* the letter ring is an image (images/rank-ring.svg): rotating live SVG <text> made the browser lay the
   letters out again on the main thread every frame; an image is rasterised once and only turned */
.rank-mark .rank-spin img { display: block; width: 100%; height: 100%; }
@media (max-width: 1000px) {
  .rank-mark { max-width: 220px; margin-inline-start: 0; }
}
@media (max-width: 640px) {
  .rank-mark { max-width: 190px; }
}
.facts ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (min-width: 1181px) { .facts b { font-size: 25px; } .facts li + li { padding-inline-start: 20px; } }
.facts .count { display: inline-block; }
.facts .fact-key b { color: var(--green); font-variant-numeric: tabular-nums; text-shadow: 0 0 28px rgba(0, 250, 154, .18); }
.facts .fact-key { color: var(--text); }
@media (max-width: 1180px) and (min-width: 641px) {
  .facts ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .facts li { grid-column: span 2; }
  .facts li:nth-child(-n+2) { grid-column: span 3; }
  .facts li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .facts ul { grid-template-columns: minmax(0, 1fr); }
}
.facts .tag { display: inline-block; margin-inline-start: 4px; padding: 3px 7px 2px; border: 1px solid rgba(0, 250, 154, .45); border-radius: 3px; color: var(--green); font: 600 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-shadow: none; vertical-align: 5px; }
@media (max-width: 640px) {
  .facts .fact-key { flex-wrap: wrap; row-gap: 6px; }
  .facts .tag { vertical-align: 3px; }
}
.rank-pts .chips { display: flex; flex-wrap: wrap; margin-top: 10px; }
.rank-pts .chips li { padding: 4px 8px 3px; border: 1px solid rgba(var(--rose-rgb), .32); border-radius: 3px; background: rgba(var(--rose-rgb), .05); color: var(--muted); font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.rank-pts .chips li + li { padding-inline-start: 8px; border-inline-start: 1px solid rgba(var(--rose-rgb), .32); }
@media (max-width: 640px) {
  .rank-pts .chips li, .rank-pts .chips li + li { padding: 4px 8px 3px; border-top: 1px solid rgba(var(--rose-rgb), .32); }
}
.nowrap { white-space: nowrap; }
.rank-pts .chips { gap: 5px 6px; }
.budget { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.budget-body { padding: 26px 18px 6px; }
.budget-bar { display: flex; gap: 3px; height: 44px; }
.budget-bar .seg { min-width: 0; border-radius: 3px; }
.budget .s1 { flex: 18; background: rgba(var(--rose-rgb), .85); }
.budget .s2 { flex: 7; background: rgba(var(--rose-rgb), .6); }
.budget .s3 { flex: 30; background: rgba(var(--rose-rgb), .72); }
.budget .s4 { flex: 22; background: rgba(var(--rose-rgb), .48); }
.budget .s5 { flex: 15; background: rgba(var(--rose-rgb), .32); }
.budget .s6 { flex: 8; background: repeating-linear-gradient(135deg, rgba(0, 250, 154, .28) 0 4px, transparent 4px 8px); box-shadow: inset 0 0 0 1px var(--green); }
.budget-scale { display: flex; justify-content: space-between; margin-top: 8px; color: var(--dim); font: 500 10px/1 var(--mono); letter-spacing: .1em; }
.budget-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; margin-top: 20px; }
.budget-legend li { display: flex; align-items: center; gap: 8px; padding-block: 10px; border-top: 1px solid var(--line); color: var(--muted); font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.budget .budget-legend i { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 2px; }
.budget-legend b { margin-inline-start: auto; color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.budget-note { padding: 14px 18px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.55; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.kpis li { padding-top: 22px; border-top: 1px solid rgba(var(--rose-rgb), .3); }
.kpis b { display: flex; align-items: center; gap: 10px; color: var(--text); font: 400 17px/1.35 var(--sans); }
.kpis b::before { content: ""; flex: none; width: 7px; height: 7px; border: 1px solid var(--green); transform: rotate(45deg); }
.kpis span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 1000px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .budget-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .budget-bar { height: 36px; }
}
@media (min-width: 641px) {
  .rank-pts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-pts .rank-sectors { grid-column: 1 / -1; order: 3; margin-top: 18px; padding: 18px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .rank-pts .rank-sectors .chips { margin-top: 12px; }
}
.kernel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px clamp(36px, 6vw, 88px); align-items: center; margin-top: clamp(48px, 6vw, 72px); padding: 26px 28px; border: 1px solid rgba(var(--rose-rgb), .28); border-radius: 8px; background: linear-gradient(90deg, rgba(var(--rose-rgb), .08), transparent 70%), var(--panel); }
.kernel h3 { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 200; letter-spacing: -.02em; }
.kernel h3::before { content: ""; flex: none; width: 9px; height: 9px; border: 1px solid var(--green); transform: rotate(45deg); }
.kernel p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.kernel .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kernel .chips li { padding: 5px 9px 4px; border: 1px solid rgba(var(--rose-rgb), .32); border-radius: 3px; background: rgba(var(--rose-rgb), .05); color: var(--muted); font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
/* Chip text optically centred. The labels are capitals, so the line box is trimmed to the capitals
   (cap height to baseline) and equal padding centres them in whichever monospace font the visitor
   has; the paddings keep the chips 22.64 / 24.64px tall. Browsers without text-box get a 1px nudge.
   The Arabic chips (no capitals) are centred in i18n-ar.css. */
.rank-pts .chips li, .rank-pts .chips li + li { padding-block: 5px 2px; }
.kernel .chips li { padding-block: 6px 3px; }
@supports (text-box: trim-both cap alphabetic) {
  .rank-pts .chips li, .rank-pts .chips li + li { padding-block: 6.86px; text-box: trim-both cap alphabetic; }
  .kernel .chips li { padding-block: 7.86px; text-box: trim-both cap alphabetic; }
}
.kpis { margin-top: clamp(36px, 4vw, 56px); }
@media (max-width: 1000px) {
  .kernel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .kernel { padding: 20px 18px; }
}
.craft { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid rgba(var(--rose-rgb), .18); background: radial-gradient(60% 120% at 100% 0%, rgba(var(--rose-rgb), .12), transparent 60%), var(--panel); }
.craft::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 250, 154, .55), transparent); }
.craft-h { max-width: 16ch; margin-top: 22px; font-size: clamp(36px, 5.6vw, 76px); font-weight: 200; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.craft-h em { font-style: normal; color: var(--green); }
.craft-head .lead { max-width: 62ch; }
.craft-pts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin: clamp(44px, 6vw, 72px) 0 0; padding: 0; list-style: none; }
.craft-pts li { padding-top: 22px; border-top: 1px solid rgba(var(--rose-rgb), .3); }
.craft-n { display: block; color: var(--rose); font: 500 12px/1 var(--mono); letter-spacing: .14em; }
.craft-pts b { display: block; margin-top: 14px; color: var(--text); font: 400 20px/1.3 var(--sans); letter-spacing: -.01em; }
.craft-pts li > span:last-child { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.craft-pts li:last-child { border-top-color: var(--green); }
.craft-pts li:last-child .craft-n { color: var(--green); }
@media (max-width: 900px) {
  .craft-pts { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
}
.hl { color: var(--text); font-weight: 500; background: linear-gradient(transparent 62%, rgba(0, 250, 154, .22) 62%); padding-inline: 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.vmodal { width: min(760px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 1px solid rgba(var(--rose-rgb), .3); border-radius: 10px; background: var(--panel); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.vmodal::backdrop { background: rgba(14, 9, 11, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vmodal[open] { animation: vmodal-in .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes vmodal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.vmodal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; padding-inline: 20px 12px; border-bottom: 1px solid var(--line); }
.vmodal-x { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-2); border-radius: 6px; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; transition: color .2s, border-color .2s; }
.vmodal-x:hover { border-color: var(--green); color: var(--green); }

.vcard { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); background: radial-gradient(80% 140% at 0% 0%, rgba(var(--rose-rgb), .12), transparent 60%); }
.vcard-play { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border: 1px solid var(--green); border-radius: 50%; color: var(--green); box-shadow: 0 0 0 10px rgba(0, 250, 154, .06); transition: background-color .2s, color .2s, transform .2s; }
.vcard-play svg { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.vcard-play:hover { background: var(--green); color: var(--green-ink); transform: scale(1.04); }
.vcard-src { color: var(--rose); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.vcard-h { margin-top: 12px; font-size: clamp(24px, 3.2vw, 34px); font-weight: 200; line-height: 1.15; letter-spacing: -.02em; }
.vcard-by { margin-top: 8px; color: var(--muted); font-size: 15px; }
.vcard-why { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.vcard .btn { margin-top: 22px; }
@media (max-width: 640px) { .vcard { grid-template-columns: minmax(0, 1fr); gap: 20px; } .vcard-play { width: 72px; height: 72px; } }
.erp-chips { margin-top: 26px; }
.erp-card { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.erp-chips, .erp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.erp-chips li, .erp-tags li { padding: 5px 9px 4px; border: 1px solid rgba(var(--rose-rgb), .32); border-radius: 3px; background: rgba(var(--rose-rgb), .05); color: var(--muted); font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.erp-tags { padding: 16px 18px 0; }
.erp-tags li { border-color: var(--line-2); background: transparent; color: var(--text); }
.erp-racks { display: grid; gap: 18px; padding: 22px 18px 20px; }
.erp-row { display: grid; grid-template-columns: 14em minmax(0, 1fr) 4.2em; align-items: center; gap: 16px; }
.erp-k { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.erp-k::before { content: ""; flex: none; width: 14px; height: 2.5px; border-radius: 2px; background: var(--rose); }
.erp-k.us-k::before { background: var(--green); }
.erp-v { color: var(--text); font: 200 20px/1 var(--sans); letter-spacing: -.02em; text-align: right; font-variant-numeric: tabular-nums; }
.erp-cells { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.erp-cells i, .erp-key i { position: relative; display: block; height: 34px; border: 1px solid transparent; border-radius: 3px; }
.erp-cells i::after { content: ""; position: absolute; top: 6px; inset-inline-start: 50%; width: 4px; height: 4px; margin-inline-start: -2px; border-radius: 50%; background: rgba(27, 20, 22, .55); }
.erp-cells .on, .erp-key .on { background: rgba(var(--rose-rgb), .55); }
.erp-cells.tuned .on, .erp-key .on { background: var(--green); }
.erp-cells .rng, .erp-key .rng { border-color: var(--green); background: repeating-linear-gradient(135deg, rgba(0, 250, 154, .55) 0 2px, transparent 2px 6px); }
.erp-cells .free, .erp-key .free { border: 1px dashed var(--line-2); background: transparent; }
.erp-cells .free::after { background: var(--line-2); }
/* until the card is revealed every tuned cell looks like a plain rose cell: an opaque cover in the
   colour rose .55 makes over the panel (#904540), which fades out on reveal. Fading opacity runs on
   the compositor; transitioning background/border colours repainted every cell each frame. */
.erp-cells.tuned i::before { content: ""; position: absolute; inset: -1px; border-radius: 3px; background: #904540; opacity: 0; transition: opacity .6s ease; }
.js .erp-card:not(.in) .tuned i::before { opacity: 1; }
.erp-card .tuned i:nth-child(10)::before { transition-delay: .9s; }
.erp-card .tuned i:nth-child(9)::before { transition-delay: 1.05s; }
.erp-card .tuned i:nth-child(8)::before { transition-delay: 1.2s; }
.erp-card .tuned i:nth-child(7)::before { transition-delay: 1.45s; }
.erp-card .tuned i:nth-child(6)::before { transition-delay: 1.6s; }
.erp-card .tuned i:nth-child(-n+5)::before { transition-delay: 1.85s; }
.erp-key { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--dim); font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.erp-key li { display: flex; align-items: center; gap: 8px; }
.erp-key i { width: 12px; height: 12px; border-radius: 2px; }
.erp-stats .k::before { display: none; }
.erp-stats .v { color: var(--green); }
@media (max-width: 640px) {
  .erp-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; }
  .erp-k { grid-column: 1 / -1; }
  .erp-cells { gap: 3px; }
  .erp-cells i { height: 28px; }
  .erp-v { font-size: 17px; }
}

/* decorative loops (hero drift and status dot, the #1 ring, the contact form's border sweep, the
   newsletter strip) run only while on screen: js/base.js puts .anim-off on them when off screen. A
   running animation is restyled on every frame, wherever it is, which made scrolling heavier */
.anim-off, .anim-off::before, .anim-off::after, .anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }

/* language switch in the header ("Readex AR Lang": the @font-face at the top of this file, a 3 KB font with just these letters) */
.nav .lang, .pv-links .lang { font-family: "Readex AR Lang", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; letter-spacing: 0; text-transform: none; }
.nav .lang:lang(en), .pv-links .lang:lang(en) { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* First frame: the purely decorative hero effects that are slow to rasterize on a machine without a
   GPU (the masked grid, the photo drift) wait until
   the first frame is on screen; the bundle (deploy/build.sh) removes .fx-wait from <html> right
   after it. The hero text is still fading in then, so the switch is not seen. (Text is deliberately
   not touched: repainting the headline later would make it the page's "largest paint" at that later time.) Without JavaScript
   (scripting: none) or in browsers that do not know the media feature, nothing waits. */
@media (scripting: enabled) {
  .fx-wait .hero::before { display: none; }
  .fx-wait .hero-bg { animation: none; }
}
