@font-face{font-family:"Alexandria";src:url("../fonts/alexandria.woff2") format("woff2"),url("../fonts/alexandria.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Readex Pro";src:url("../fonts/readex.woff2") format("woff2"),url("../fonts/readex.woff") format("woff");font-weight:160 700;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../fonts/plex-mono-400.woff2") format("woff2"),url("../fonts/plex-mono-400.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../fonts/plex-mono-500.woff2") format("woff2"),url("../fonts/plex-mono-500.woff") format("woff");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Cinzel";src:url("../fonts/cinzel.woff2") format("woff2"),url("../fonts/cinzel.woff") format("woff");font-weight:400 900;font-style:normal;font-display:swap}
/* Prime Shield — site styles
   Identity v6/v7 "Prime Shield black & lime": true blacks and neutral charcoals, crisp white type, the identity lime with a
   greener lime and a light lemon for gradients; engineering touches (blueprint grid, dimension rules, hexagon frames, corner
   ticks, callout dots) kept quiet and precise. Fonts: Alexandria (display: headings, numbers, buttons, chips, nav, labels),
   Readex Pro (text: body, forms, captions), IBM Plex Mono (technical labels), Cinzel (the PRIME SHIELD wordmark only).
   Always use the tokens below (never hex) in feature CSS. Buttons paint their shape on ::before/::after (clip-path), the
   element itself stays transparent: restyle a button with --btn-bg / --btn-ring / --btn-fg, not with `background`. */
:root {
  /* grounds and surfaces (neutral, no olive) */
  --bitumen: #080808;
  --bitumen-deep: #030303;
  --graphite: #111111;
  --graphite-2: #1A1A1A;
  --graphite-3: #242424;
  /* type */
  --limestone: #F8F8F5;
  --concrete: #A8A8A8;
  --concrete-2: #8A8A8A;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  /* identity lime family */
  --membrane: #E0E320;
  --membrane-hi: #F2F55A;
  --membrane-soft: rgba(255, 255, 255, .07); /* neutral on purpose: a dim lime wash on black reads olive */
  --membrane-ink: #0A0A0A;
  --lime-2: #C3EA1F;
  --lemon: #F4F77A;
  --sun: #FDFD18; /* the emblem's brand yellow: tiny highlights only */
  --grad-lime: linear-gradient(100deg, #C3EA1F 0%, #E0E320 46%, #F4F77A 100%);
  --grad-lime-v: linear-gradient(180deg, #F4F77A 0%, #E0E320 52%, #C3EA1F 100%);
  --xps: #6E93B0;
  --warn: #F0B45A;
  /* daylight ("paper") sections */
  --paper: #F4F4F1;
  --paper-hi: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #4A4A4A;
  --ink-3: #6B6B6B;
  --ink-line: rgba(10, 10, 10, .12);
  /* surfaces and light */
  --surface: linear-gradient(180deg, rgba(255, 255, 255, .034), rgba(255, 255, 255, .008) 62%);
  --inner-light: inset 0 1px 0 rgba(255, 255, 255, .055);
  --grid-line: rgba(255, 255, 255, .034);
  --glow-lime: 0 0 0 1px rgba(224, 227, 32, .75), 0 14px 38px -16px rgba(224, 227, 32, .55);

  --f-display: "Alexandria", "Readex Pro", "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", system-ui, sans-serif;
  --f-text: "Readex Pro", "Alexandria", "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Readex Pro", monospace;
  --f-wm: "Cinzel", "Trajan Pro", "Times New Roman", serif;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r-s: 3px;
  --r-m: 8px;
  --r-l: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 72px;
  /* hexagon frames (pointy top, 40×46): outline, lime outline, lime fill */
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Cpath d='M20 1.2 38.8 12v22L20 44.8 1.2 34V12Z' fill='%23ffffff' fill-opacity='.025' stroke='%23ffffff' stroke-opacity='.3' stroke-width='1.3'/%3E%3C/svg%3E");
  --hex-lime: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Cpath d='M20 1.2 38.8 12v22L20 44.8 1.2 34V12Z' fill='%23ffffff' fill-opacity='.04' stroke='%23E0E320' stroke-opacity='.9' stroke-width='1.3'/%3E%3C/svg%3E");
  --hex-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Cpath d='M20 .6 39.4 11.7v22.6L20 45.4.6 34.3V11.7Z' fill='%23E0E320'/%3E%3C/svg%3E");
  /* dimension rule ornament (diamond, rule with ticks, end stop) used as a mask: colour = background */
  --orn-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 12'%3E%3Cpath d='M6 1.2 10.8 6 6 10.8 1.2 6Z'/%3E%3Cpath d='M14 6h80M94.4 2.2v7.6' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3Cpath d='M38 4v4M62 4v4' fill='none' stroke='%23000' stroke-opacity='.55' stroke-width='1.2'/%3E%3C/svg%3E");
  --orn-rule-rtl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 12'%3E%3Cpath d='M90 1.2 94.8 6 90 10.8 85.2 6Z'/%3E%3Cpath d='M82 6H2M1.6 2.2v7.6' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3Cpath d='M58 4v4M34 4v4' fill='none' stroke='%23000' stroke-opacity='.55' stroke-width='1.2'/%3E%3C/svg%3E");
  /* Riyadh skyline line art (Kingdom Centre with its lime sky bridge, Al Faisaliah, Burj Rafal, TV tower): footer horizon */
  --skyline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 112' preserveAspectRatio='xMidYMax meet'%3E%3Cg fill='%230E0E0E' stroke='%23ffffff' stroke-opacity='.17' stroke-width='1' stroke-linejoin='round'%3E%3Cpath d='M230 112V98H248V112 M252 112V100H260V92H268V100H276V112 M280 112V86H296V112 M300 112V102H308V94H318V102H326V112 M330 112V78H350V112 M354 112V88H382V112 M386 112V78H392V70H398V78H404V112 M408 112V82H432V112 M436 112V70H446V62H456V70H466V112 M470 112V74H490V112 M494 112V62H502V54H512V62H520V112 M524 112V76H531V68H539V76H546V112 M604 112V60H630V112 M634 112V72H652V112 M656 112V56H664V48H672V56H680V112 M742 112V58L766 68V112 M770 112V50H800V112 M804 112V68H824V112 M828 112V40H854V112 M862 112V58H884V112 M970 112V52H996V112 M1000 112V74H1006V66H1014V74H1020V112 M1024 112V36H1054V112 M1058 112V54L1080 64V112 M1084 112V56H1093V48H1103V56H1112V112 M1116 112V80H1122V72H1128V80H1134V112 M1138 112V62H1164V112 M1168 112V76H1188V112 M1192 112V72L1220 62V112 M1224 112V82H1242V112 M1246 112V74H1270V112 M1274 112V86H1294V112 M1298 112V90H1324V112 M1328 112V102H1334V94H1340V102H1346V112 M1350 112V106H1358V98H1366V106H1374V112 M556 112V34L578 20V112'/%3E%3Cpath d='M688 112L703 22H709L724 112'/%3E%3Cpath d='M902 112L905 50C906 32 909 16 914 4C917 26 922 42 930 42C938 42 943 26 946 4C951 16 954 32 955 50L958 112'/%3E%3C/g%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.17' stroke-width='1'%3E%3Cpath d='M706 22V6'/%3E%3Cpath d='M1300 112V40M1296 52h8l-1.5 -8h-5z'/%3E%3C/g%3E%3Cpath d='M706 46m-6.5 0a6.5 6.5 0 1 0 13 0a6.5 6.5 0 1 0 -13 0' fill='%230E0E0E' stroke='%23ffffff' stroke-opacity='.3' stroke-width='1.1'/%3E%3Cpath d='M917.5 14.5H942.5' stroke='%23E0E320' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); scrollbar-color: #2E2E2E var(--bitumen-deep); }
body {
  margin: 0;
  background: var(--bitumen);
  color: var(--limestone);
  font: 360 1.0625rem/1.85 var(--f-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html[lang="en"] body { line-height: 1.66; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
b, strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--membrane); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--membrane); color: var(--membrane-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--membrane); color: var(--membrane-ink); padding: 10px 16px; font-family: var(--f-display); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: lining-nums tabular-nums; unicode-bidi: isolate; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html[dir="rtl"] .flip-next, html[dir="ltr"] .flip-prev { transform: scaleX(-1); }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-decoration-color: var(--membrane); text-decoration-thickness: 1.5px; text-underline-offset: 5px; cursor: pointer; font: inherit; transition: color .2s; }
.link:hover { color: var(--membrane); }
/* lime gradient type (key words and numbers); solid lime where background-clip:text is unsupported */
.grad-lime { color: var(--membrane); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-lime { background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
/* extruded lime (short Latin system names, big numbers): layered shadow, solid fill */
.x3d { color: var(--membrane); text-shadow: 0 1px 0 #D2D51D, 0 2px 0 #C3C61B, 0 3px 0 #B3B618, 0 4px 0 #A2A515, 0 5px 0 #919312, 0 6px 0 #7F810F, 0 14px 22px rgba(0, 0, 0, .65), 0 0 42px rgba(224, 227, 32, .16); }

/* ---------- buttons: corners cut like the emblem's wings. The shape is painted by ::before (fill or ring) and ::after
   (hover light / glow) so focus rings and glows are not clipped. */
.btn {
  --cut: 11px;
  --clip: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  --ring: polygon(evenodd, var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut), var(--cut) 0, calc(var(--cut) + .42px) 1px, 1px calc(var(--cut) + .42px), 1px calc(100% - 1px), calc(100% - var(--cut) - .42px) calc(100% - 1px), calc(100% - 1px) calc(100% - var(--cut) - .42px), calc(100% - 1px) 1px, calc(var(--cut) + .42px) 1px);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: .8em 1.5em;
  border: 0; background: none; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--f-display); font-weight: 600; font-size: .96rem; line-height: 1.25; letter-spacing: 0;
  color: var(--btn-fg, var(--limestone));
  transition: color .2s;
}
.btn::before, .btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; clip-path: var(--clip); transition: opacity .3s var(--ease), background-color .25s; }
.btn:focus-visible { outline-offset: 4px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn .ic { width: 1.15em; height: 1.15em; }
.btn--sm { --cut: 8px; min-height: 40px; padding: .55em 1.1em; font-size: .88rem; }
/* primary: lime fill with a soft top light, lime glow underneath */
.btn--lime { --btn-fg: var(--membrane-ink); }
.btn--lime::before { background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 58%) var(--btn-bg, var(--membrane)); }
.btn--lime::after { z-index: -2; clip-path: none; inset: 22% 8% -12%; background: var(--membrane); filter: blur(16px); opacity: .2; }
.btn--lime:hover::before { background-color: var(--membrane-hi); }
.btn--lime:hover::after { opacity: .42; }
/* outline: a 1 px ring with cut corners, transparent inside (works on photos and gradients) */
.btn--line::before, .btn--paper::before { clip-path: var(--ring); background: var(--btn-ring, var(--line-2)); }
.btn--line::after, .btn--paper::after { background: var(--btn-hover, rgba(255, 255, 255, .06)); opacity: 0; }
.btn--line:hover::before { background: var(--membrane); }
.btn--line:hover::after, .btn--paper:hover::after { opacity: 1; }
/* daylight variants */
.btn--ink { --btn-fg: var(--paper-hi); }
.btn--ink::before { background: var(--btn-bg, var(--ink)); }
.btn--ink:hover::before { background: #262626; }
.btn--paper { --btn-fg: var(--ink); --btn-ring: rgba(10, 10, 10, .3); --btn-hover: rgba(10, 10, 10, .045); }
.btn--paper:hover::before { background: var(--ink); }
.iconbtn {
  width: 42px; height: 42px; flex: none;
  display: inline-grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .015);
  color: inherit; cursor: pointer; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.iconbtn:hover { background: var(--graphite-2); border-color: var(--membrane); }
.iconbtn--sm { width: 34px; height: 34px; }
.iconbtn--sm .ic { width: 17px; height: 17px; }

/* ---------- header */
.hdr { position: fixed; inset-inline: 0; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, backdrop-filter .35s; }
.hdr.is-solid { background: rgba(8, 8, 8, .82); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
/* without JavaScript (e.g. phone file viewers) the header never turns solid on scroll: keep it solid */
html:not(.js) .hdr { background: rgba(8, 8, 8, .92); border-color: var(--line); }
.hdr__in { max-width: calc(var(--wrap) + 120px); margin-inline: auto; padding: 12px var(--gut); display: flex; align-items: center; gap: 28px; min-height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__emb { width: 46px; height: auto; color: var(--membrane); filter: drop-shadow(0 0 10px rgba(224, 227, 32, .22)); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__wm { font-family: var(--f-wm); font-weight: 600; font-size: 1.12rem; letter-spacing: .07em; }
.brand__ar { margin-top: 2px; font-family: var(--f-display); font-weight: 500; font-size: .74rem; color: var(--concrete); }
.hdr__nav { display: flex; gap: 26px; margin-inline-start: auto; }
.hdr__nav a { position: relative; padding-block: 8px; text-decoration: none; font-family: var(--f-display); font-weight: 400; font-size: .92rem; color: var(--concrete); transition: color .2s; }
.hdr__nav a:hover, .hdr__nav a.is-on { color: var(--limestone); }
.hdr__nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--membrane); opacity: 0; transform: scale(0, .5); transition: transform .4s var(--ease), opacity .3s; }
.hdr__nav a:hover::after { opacity: .75; transform: scale(1, .5); }
.hdr__nav a.is-on::after { opacity: 1; transform: none; box-shadow: 0 0 10px rgba(224, 227, 32, .55); }
.hdr__act { display: flex; align-items: center; gap: 10px; }
.lang { background: none; border: 0; padding: 8px 10px; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: .88rem; color: var(--concrete); border-radius: var(--r-s); transition: color .2s, background-color .2s; }
.lang:hover { color: var(--limestone); background: var(--graphite-2); }
.hdr__menu { display: none; width: 44px; height: 44px; place-items: center; background: none; border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; transition: border-color .2s; }
.hdr__menu:hover { border-color: var(--membrane); }
@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-grid; }
  .hdr__act { margin-inline-start: auto; }
}
@media (max-width: 600px) {
  .hdr__dl, .hdr__act .lang { display: none; }
  .brand__emb { width: 40px; }
}

/* ---------- elevation rail (building section, roof to foundations) */
.rail { position: fixed; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: none; }
@media (min-width: 1500px) { .rail { display: block; } }
.rail ol { list-style: none; margin: 0; padding-block: 12px; padding-inline: 14px 12px; display: flex; flex-direction: column; gap: 13px; position: relative; background: rgba(6, 6, 6, .82); border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rail ol::before { content: ""; position: absolute; inset-block: 16px; inset-inline-end: 12px; width: 1px; background: var(--line-2); }
.rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; color: var(--concrete-2); font-size: .7rem; line-height: 1; transition: color .25s; }
.rail a::after { content: ""; width: 8px; height: 1px; background: var(--line-2); transition: width .3s, background-color .3s; }
.rail__lvl { font-family: var(--f-mono); }
/* names float on the content side (they take no room, so the level column stays aligned) */
.rail__name { position: absolute; top: 50%; inset-inline-end: calc(100% + 26px); padding: 4px 9px; border-radius: 6px; background: rgba(6, 6, 6, .92); border: 1px solid var(--line); font-family: var(--f-display); font-size: .76rem; opacity: 0; transform: translate(calc(var(--dirx, 1) * 6px), -50%); transition: opacity .25s, transform .25s; white-space: nowrap; color: var(--limestone); pointer-events: none; }
html[dir="rtl"] .rail__name { --dirx: -1; }
.rail:hover .rail__name, .rail a:focus-visible .rail__name { opacity: 1; transform: translate(0, -50%); }
.rail a:hover { color: var(--limestone); }
.rail a.is-on { color: var(--membrane); }
.rail a.is-on::after { width: 18px; background: var(--membrane); box-shadow: 0 0 8px rgba(224, 227, 32, .6); }

/* ---------- mobile menu */
dialog.menu { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 18px var(--gut) 28px; color: var(--limestone);
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, .05), transparent 60%), linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 100% 56px, var(--bitumen); }
dialog.menu[open] { display: flex; flex-direction: column; }
dialog.menu::backdrop { background: var(--bitumen); }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__emb { width: 46px; color: var(--membrane); }
.menu__list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 0; flex: 1; align-content: start; overflow: auto; }
.menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.38rem; line-height: 1.4; transition: color .2s; }
.menu__list a:hover { color: var(--membrane); }
.menu__lvl { font-family: var(--f-mono); font-weight: 400; font-size: .72rem; color: var(--concrete-2); width: 4.6em; flex: none; }
.menu__foot { display: grid; gap: 10px; }

/* ---------- hero (the roof) */
.hero { position: relative; min-height: max(700px, 100svh); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
/* blueprint grid behind the copy, fading out towards the photograph */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at var(--hx, 72%) 44%, #000 10%, transparent 78%); mask-image: radial-gradient(ellipse 58% 62% at var(--hx, 72%) 44%, #000 10%, transparent 78%); }
html[dir="ltr"] .hero::before { --hx: 28%; }
.hero__media { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(54vw, 1000px); z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
html[dir="rtl"] .hero__media img { -webkit-mask-image: linear-gradient(to right, #000 52%, transparent 98%); mask-image: linear-gradient(to right, #000 52%, transparent 98%); }
html[dir="ltr"] .hero__media img { -webkit-mask-image: linear-gradient(to left, #000 52%, transparent 98%); mask-image: linear-gradient(to left, #000 52%, transparent 98%); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bitumen) 0, transparent 34%); }
.hero__rain, .hero__canopy { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__rain { z-index: 2; }
.hero__canopy { z-index: 3; overflow: visible; }
.canopy__line { fill: none; stroke: var(--membrane); stroke-width: 2.4; stroke-linecap: round; }
.canopy__glow { fill: none; stroke: var(--membrane); stroke-width: 12; stroke-linecap: round; opacity: .22; }
.canopy__bead { fill: var(--lemon); }
.hero__in { position: relative; z-index: 4; flex: 1; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: calc(var(--hdr-h) + clamp(96px, 15vh, 170px)) var(--gut) 0; display: flex; align-items: center; }
.hero__copy { max-width: min(700px, 53vw); } /* 53vw: the three CTAs stay on one row on 1280px laptops */
.hero__title { margin: 0 0 .5em; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.7rem, 5.9vw, 5.5rem); line-height: 1.28; letter-spacing: 0; }
.hero__title span { display: block; width: fit-content; }
.hero__title span:last-child { color: var(--membrane); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title span:last-child { background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-block: .04em; margin-block: -.04em; }
}
html[lang="en"] .hero__title { font-weight: 700; line-height: 1.04; letter-spacing: -.03em; font-size: clamp(2.45rem, 4.9vw, 4.5rem); }
.hero__lead { margin: 0 0 2.1em; max-width: 47ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); font-weight: 340; color: var(--concrete); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.js .hero .hero__copy > * { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero.is-in .hero__copy > * { opacity: 1; transform: none; }
.hero.is-in .hero__copy > :nth-child(2) { transition-delay: .12s; }
.hero.is-in .hero__copy > :nth-child(3) { transition-delay: .22s; }

/* title block: the drawing's information box (corner ticks like a title block frame) */
.tblock { position: relative; z-index: 4; width: calc(100% - 2 * var(--gut)); max-width: calc(var(--wrap) - 2 * var(--gut)); margin: clamp(48px, 7vh, 80px) auto clamp(24px, 4vh, 40px); display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 70%), rgba(8, 8, 8, .74); box-shadow: var(--inner-light); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tblock::before, .tblock::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; }
.tblock::before { top: -1px; inset-inline-start: -1px; border-top: 2px solid var(--membrane); border-inline-start: 2px solid var(--membrane); }
.tblock::after { bottom: -1px; inset-inline-end: -1px; border-bottom: 2px solid var(--membrane); border-inline-end: 2px solid var(--membrane); }
.tb__cell { padding: 15px 18px 16px; border-inline-start: 1px solid var(--line); min-width: 0; }
.tb__cell:first-child { border-inline-start: 0; }
.tb__cell dt { font-family: var(--f-display); font-weight: 500; font-size: .74rem; color: var(--concrete-2); margin-bottom: 5px; }
html[lang="en"] .tb__cell dt { text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; }
.tb__cell dd { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.tb__cell strong { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.4; }
.tb__cell strong .num { color: var(--membrane); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .tb__cell strong .num { background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.tb__cell dd > span { font-size: .78rem; color: var(--concrete); line-height: 1.5; }
@media (max-width: 1100px) {
  .tblock { grid-template-columns: repeat(3, 1fr); }
  .tb__cell:nth-child(4) { border-inline-start: 0; }
  .tb__cell:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero__media { width: 100%; opacity: .42; }
  html[dir] .hero__media img { -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 96%); mask-image: linear-gradient(to bottom, #000 40%, transparent 96%); }
  .hero__copy { max-width: 640px; }
  .hero::before { -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 40%, transparent 92%); mask-image: linear-gradient(to bottom, transparent 8%, #000 40%, transparent 92%); }
}
@media (max-width: 640px) {
  .tblock { grid-template-columns: repeat(2, 1fr); }
  .tb__cell:nth-child(n) { border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); }
  .tb__cell:nth-child(odd) { border-inline-start: 0; }
  .tb__cell:nth-child(-n+2) { border-top: 0; }
  .tb__cell { padding: 12px 14px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* ---------- sections */
.sec { position: relative; padding-block: clamp(84px, 11vw, 150px); }
/* section divider: a hairline with a short lime tick where the content column starts */
.sec + .sec { --tick-at: max(var(--gut), calc(50% - var(--wrap) / 2 + var(--gut))); --tick: var(--membrane);
  border-top: 1px solid var(--line);
  border-image: linear-gradient(to var(--tick-dir, left), var(--line) 0 var(--tick-at), var(--tick) var(--tick-at) calc(var(--tick-at) + 64px), var(--line) calc(var(--tick-at) + 64px)) 1; }
html[dir="ltr"] .sec + .sec { --tick-dir: right; }
.sec__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
/* dimension-rule ornament above every section title */
.sec__head::before { content: ""; display: block; width: 96px; height: 12px; margin-bottom: 20px; background: var(--orn, var(--membrane)); -webkit-mask: var(--orn-rule) center / 100% 100% no-repeat; mask: var(--orn-rule) center / 100% 100% no-repeat; }
html[dir="rtl"] .sec__head::before { -webkit-mask-image: var(--orn-rule-rtl); mask-image: var(--orn-rule-rtl); }
/* the dimension rule draws itself from the diamond outwards while the title's words rise (fx feature: an unrevealed title
   carries .fx-hide). Without JS / with reduced motion the title is never hidden, so the rule is simply there. */
.sec__head::before { transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.65, 0, .2, 1) .08s; }
html[dir="rtl"] .sec__head::before { transform-origin: 100% 50%; }
.sec__head:has(.sec__title.fx-hide)::before { transform: scaleX(0); }
.sec__title { margin: 0 0 .42em; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.32; letter-spacing: 0; }
html[lang="en"] .sec__title { letter-spacing: -.022em; line-height: 1.1; }
.sec__lead { margin: 0; max-width: 62ch; font-size: 1.12rem; font-weight: 340; color: var(--concrete); }
.sec__cta { margin: 26px 0 0; }
.h3 { margin: 0 0 16px; font-family: var(--f-display); font-weight: 600; font-size: 1.42rem; line-height: 1.4; }
html[lang="en"] .h3 { letter-spacing: -.01em; }

/* tabs */
.tabs__list { display: flex; gap: 2px; margin-bottom: 30px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list [role="tab"] { position: relative; flex: none; padding: 12px 16px 14px; background: none; border: 0; cursor: pointer; white-space: nowrap; font-family: var(--f-display); font-weight: 500; font-size: .95rem; color: var(--concrete); transition: color .2s; }
.tabs__list [role="tab"] .num { font-family: var(--f-mono); font-weight: 500; font-size: .74em; color: var(--concrete-2); margin-inline-start: 4px; }
.tabs__list [role="tab"]:hover { color: var(--limestone); }
.tabs__list [role="tab"][aria-selected="true"] { color: var(--limestone); }
.tabs__list [role="tab"][aria-selected="true"] .num { color: var(--membrane); }
.tabs__list [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: -1px; height: 2px; background: var(--membrane); box-shadow: 0 0 10px rgba(224, 227, 32, .45); }
.tabs__panel:focus-visible { outline-offset: 8px; }
.tabs__note { margin: 0 0 24px; max-width: 72ch; color: var(--concrete); }

/* ---------- about */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 84px); align-items: start; }
.vm { padding-block: 22px; border-top: 1px solid var(--line); }
.vm h3, .values h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-family: var(--f-display); font-size: .86rem; font-weight: 600; color: var(--membrane); }
.vm h3::before, .values h3::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--membrane); transform: rotate(45deg); }
html[lang="en"] .vm h3, html[lang="en"] .values h3 { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.vm p { margin: 0; max-width: 54ch; font-size: 1.16rem; font-weight: 360; line-height: 1.85; }
.values { padding-top: 22px; border-top: 1px solid var(--line); }
.values h3 { margin-bottom: 16px; }
.values ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 34px; }
.values h4 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; line-height: 1.45; }
.values p { margin: 4px 0 0; color: var(--concrete); font-size: .95rem; }
.about__render { margin: 0; position: relative; }
.about__render img { width: 100%; border-radius: var(--r-l); }
/* ---------- founder: legacy photo + letter + CEO card + lineage */
.founder { margin-top: clamp(72px, 9vw, 130px); position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); grid-template-areas: "media body" "line line"; gap: clamp(30px, 4.6vw, 66px); align-items: start; padding: clamp(22px, 4.2vw, 60px); background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .045), transparent 55%), linear-gradient(165deg, #171717, #0E0E0E 60%); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--inner-light); }
.founder__media { grid-area: media; align-self: center; }
.founder__body { grid-area: body; align-self: center; }
.founder__photo { position: relative; margin: 0; }
.founder__photo img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .8); }
.founder__photo::before, .founder__photo::after { content: ""; position: absolute; width: 46px; height: 46px; pointer-events: none; }
.founder__photo::before { top: -11px; inset-inline-start: -11px; border-top: 2px solid var(--membrane); border-inline-start: 2px solid var(--membrane); }
.founder__photo::after { bottom: -11px; inset-inline-end: -11px; border-bottom: 2px solid var(--membrane); border-inline-end: 2px solid var(--membrane); }
.founder__plate { margin-top: 30px; text-align: center; }
.founder__plate-name { margin: 0; display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.5; color: var(--limestone); }
.founder__plate-name::before, .founder__plate-name::after { content: ""; flex: 0 1 54px; height: 1px; background: linear-gradient(90deg, transparent, var(--membrane)); }
html[dir="rtl"] .founder__plate-name::before, html[dir="ltr"] .founder__plate-name::after { background: linear-gradient(90deg, var(--membrane), transparent); }
.founder__plate-tag { margin: 8px 0 0; color: var(--membrane); font-weight: 500; font-size: .98rem; }
.founder__plate-alt { margin: 10px 0 0; font-family: var(--f-mono); font-weight: 500; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--concrete-2); }
.founder__plate-alt[lang="ar"] { font-family: var(--f-text); font-size: .84rem; letter-spacing: 0; text-transform: none; }
.founder__eyebrow { margin: 0 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-family: var(--f-display); font-size: .86rem; font-weight: 500; color: var(--concrete); }
.founder__eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--membrane); }
.founder__eyebrow-latin { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .26em; color: var(--membrane); }
.founder__title { margin: 0 0 22px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 2.9vw, 2.5rem); line-height: 1.36; }
html[lang="en"] .founder__title { letter-spacing: -.02em; line-height: 1.16; }
.founder__title em { font-style: normal; color: var(--membrane); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .founder__title em { background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.founder__quote { margin: 0 0 20px; padding-inline-start: 22px; border-inline-start: 2px solid var(--membrane); }
.founder__quote p { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.12rem, 1.65vw, 1.38rem); line-height: 1.8; }
html[lang="en"] .founder__quote p { line-height: 1.55; letter-spacing: -.01em; }
.founder__letter { margin: 0; max-width: 66ch; color: var(--concrete); }
.ceo { margin-top: 30px; display: flex; align-items: center; gap: clamp(18px, 2.2vw, 26px); padding: clamp(14px, 1.6vw, 18px); padding-inline-end: clamp(18px, 2.4vw, 30px); background: rgba(6, 6, 6, .55); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--inner-light); max-width: 520px; }
.ceo__photo { margin: 0; flex: none; width: clamp(96px, 9.5vw, 132px); aspect-ratio: 1; border-radius: 10px; overflow: hidden; outline: 1px solid rgba(224, 227, 32, .8); outline-offset: 4px; }
.ceo__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ceo__id { min-width: 0; padding-inline-start: clamp(14px, 1.6vw, 20px); border-inline-start: 2px solid var(--membrane); }
.ceo__name { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.12rem, 1.55vw, 1.34rem); line-height: 1.4; }
.ceo__role { margin: 4px 0 0; color: var(--membrane); font-weight: 500; font-size: .95rem; }
.ceo__alt { margin: 10px 0 0; }
.ceo__alt span { display: block; }
.ceo__alt span + span { margin-top: 4px; }
.ceo__alt[lang="en"] span:first-child { font-family: var(--f-display); font-weight: 600; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--limestone); opacity: .85; }
.ceo__alt[lang="en"] span:last-child { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--concrete-2); }
.ceo__alt[lang="ar"] span { font-size: .8rem; color: var(--concrete-2); }
html[dir="rtl"] .ceo__alt[lang="en"], html[dir="rtl"] .lineage em[lang="en"], html[dir="rtl"] .founder__plate-alt[lang="en"] { text-align: right; }
html[dir="rtl"] .founder__plate-alt[lang="en"] { text-align: center; }
html[dir="ltr"] .ceo__alt[lang="ar"], html[dir="ltr"] .lineage em[lang="ar"] { text-align: left; }
html[dir="ltr"] .founder__plate-alt[lang="ar"] { text-align: center; }
.founder .lineage { grid-area: line; padding-top: 30px; border-top: 1px solid var(--line); }
.lineage h4 { margin: 0 0 18px; font-family: var(--f-display); font-size: .82rem; font-weight: 500; color: var(--concrete-2); }
html[lang="en"] .lineage h4 { text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; }
.lineage ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.lineage ol::before { content: ""; position: absolute; top: 5px; inset-inline: 0; height: 1px; background: linear-gradient(to left, var(--membrane), var(--line-2) 70%); }
html[dir="ltr"] .lineage ol::before { background: linear-gradient(to right, var(--line-2) 30%, var(--membrane)); }
html[dir="rtl"] .lineage ol::before { background: linear-gradient(to left, var(--line-2) 30%, var(--membrane)); }
.lineage li { position: relative; padding-top: 26px; padding-inline-end: 14px; }
.lineage li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--graphite); border: 1.5px solid var(--concrete-2); }
.lineage li:last-child::before { background: var(--membrane); border-color: var(--membrane); box-shadow: 0 0 0 6px var(--membrane-soft), 0 0 14px rgba(224, 227, 32, .5); }
.lineage strong { display: block; font-family: var(--f-display); font-size: clamp(1.06rem, 1.45vw, 1.26rem); font-weight: 700; line-height: 1.45; }
.lineage li:last-child strong { color: var(--membrane); }
.lineage em { display: block; margin: 2px 0 6px; font-style: normal; font-family: var(--f-mono); font-weight: 500; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--concrete-2); }
.lineage em[lang="ar"] { font-family: var(--f-text); font-size: .8rem; letter-spacing: 0; text-transform: none; }
.lineage__d { display: block; font-size: .85rem; color: var(--concrete); }
.coverage { margin-top: clamp(72px, 9vw, 130px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
.coverage h3 { margin: 0 0 12px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.4; }
html[lang="en"] .coverage h3 { letter-spacing: -.015em; line-height: 1.2; }
.coverage p { margin: 0 0 18px; color: var(--concrete); max-width: 50ch; }
.coverage__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.coverage__list li { padding: 5px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-display); font-size: .86rem; line-height: 1.6; }
.coverage__list li.is-hq { border-color: var(--membrane); box-shadow: 0 0 16px -6px rgba(224, 227, 32, .55); }
.coverage__list small { color: var(--membrane); font-size: .76rem; }
.coverage__map { margin: 0; }
.map { width: 100%; height: auto; }
#dots circle { fill: rgba(255, 255, 255, .17); }
.map__land { fill: url(#dots); }
.map__edge { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 1; }
.map__arc { fill: none; stroke: var(--membrane); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; }
.coverage.is-in .map__arc { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease) var(--d); }
.map__pin circle { fill: var(--bitumen); stroke: var(--membrane); stroke-width: 1.8; }
.map__pin.is-hq circle { fill: var(--membrane); }
.map__pin .map__halo { fill: none; stroke: var(--membrane); stroke-width: 1; opacity: .35; }
.map text { fill: var(--limestone); font-family: var(--f-display); font-size: 16px; }
.map__pin.is-hq text { font-weight: 600; font-size: 18px; }

/* ---------- services */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.svc__visual { position: sticky; top: calc(var(--hdr-h) + 28px); margin: 0; }
.svc__visual img { width: 100%; border-radius: var(--r-l); }
/* drawing-frame corner ticks */
.svc__visual::before, .svc__visual::after, .about__render::before, .about__render::after { content: ""; position: absolute; z-index: 1; width: 34px; height: 34px; pointer-events: none; }
.svc__visual::before, .about__render::before { top: -9px; inset-inline-start: -9px; border-top: 1.5px solid var(--membrane); border-inline-start: 1.5px solid var(--membrane); }
.svc__visual::after, .about__render::after { bottom: -9px; inset-inline-end: -9px; border-bottom: 1.5px solid var(--membrane); border-inline-end: 1.5px solid var(--membrane); }
.svc__item { border-top: 1px solid var(--line); transition: border-color .3s; }
.svc__item:last-child { border-bottom: 1px solid var(--line); }
.svc__item[open] { border-image: linear-gradient(to var(--tick-dir, left), var(--membrane) 0 72px, var(--line-2) 72px) 1; }
.svc__item summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; column-gap: 18px; padding: 22px 0; cursor: pointer; }
.svc__item summary::-webkit-details-marker { display: none; }
/* number in a hexagon frame; filled lime when open */
.svc__no { grid-row: span 2; width: 36px; height: 41px; margin-top: -1px; display: grid; place-items: center; background: var(--hex) center / 100% 100% no-repeat; font-family: var(--f-mono); font-weight: 500; font-size: .85rem; color: var(--concrete); transition: color .25s; }
.svc__item summary:hover .svc__no { background-image: var(--hex-lime); color: var(--limestone); }
.svc__item[open] .svc__no { background-image: var(--hex-fill); color: var(--membrane-ink); }
.svc__t { font-family: var(--f-display); font-weight: 600; font-size: 1.32rem; line-height: 1.45; transition: color .2s; }
html[lang="en"] .svc__t { letter-spacing: -.01em; line-height: 1.3; }
.svc__d { grid-column: 2; color: var(--concrete); font-size: .97rem; line-height: 1.7; }
.svc__plus { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 14px; height: 14px; position: relative; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: var(--concrete); transition: transform .3s var(--ease), background-color .3s; }
.svc__plus::after { transform: rotate(90deg); }
.svc__item[open] .svc__plus::before, .svc__item[open] .svc__plus::after { background: var(--membrane); }
.svc__item[open] .svc__plus::after { transform: rotate(0); }
.svc__item summary:hover .svc__t { color: var(--membrane-hi); }
.svc__body { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 0 0 28px; padding-inline-start: 54px; }
.svc__img { margin: 0; }
.svc__img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-m); }
.svc__bul { list-style: none; padding: 0; margin: 0 0 14px; }
.svc__bul li { position: relative; padding: 3px 0; padding-inline-start: 20px; }
.svc__bul li::before { content: ""; position: absolute; inset-inline-start: 1px; top: calc(.9em - 2px); width: 6px; height: 6px; background: var(--membrane); transform: rotate(45deg); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .05em; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: var(--r-s); color: var(--concrete); direction: ltr; }
.svc__ref { margin: 16px 0 0; font-size: .9rem; color: var(--concrete); display: flex; flex-wrap: wrap; gap: 4px 10px; }

/* ---------- protection */
.zones { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(22px, 3.5vw, 52px); align-items: start; }
/* drawings sit on a faint blueprint grid */
.zones__fig, .roof__fig { background: linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 32px 32px, var(--surface), var(--graphite); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--inner-light); }
.zones__fig { margin: 0; padding: clamp(10px, 2vw, 24px); }
.zones__fig figcaption { margin-top: 8px; font-size: .78rem; color: var(--concrete-2); }
.sect { width: 100%; height: auto; }
#soil circle { fill: rgba(255, 255, 255, .16); }
#soil path { stroke: rgba(255, 255, 255, .11); }
#hatch line { stroke: rgba(255, 255, 255, .19); stroke-width: 1.1; }
.sect__soil path { fill: url(#soil); }
.sect__cut, .sect__pool { fill: url(#hatch); }
.sect__void { fill: var(--graphite); }
.sect__water { fill: rgba(110, 147, 176, .3); }
.sect .slab, .sect .parapet { fill: #3A3A3A; }
.sect .wall { fill: none; stroke: rgba(255, 255, 255, .34); stroke-width: 2; }
.sect .win { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.sect__ground { stroke: rgba(255, 255, 255, .5); stroke-width: 1.2; stroke-dasharray: 7 5; }
.sect__lvl { fill: var(--concrete-2); font-family: var(--f-mono); font-size: 13px; direction: ltr; unicode-bidi: isolate; }
.sect .plant { fill: none; stroke: var(--lime-2); stroke-opacity: .6; stroke-width: 1.6; stroke-linecap: round; }
/* membranes: neutral until selected (dim lime on black reads olive), lime with glow when on */
.mem { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, opacity .3s, stroke-width .3s; }
.mem--thin { stroke-width: 1.4; }
.mem--dash { stroke-width: 2; stroke-dasharray: 5 5; }
.mem--joint { stroke-width: 5; }
.zone { cursor: pointer; }
.zone[data-on] .mem { stroke: var(--membrane); filter: url(#mglow); }
.zone:hover .mem { stroke: rgba(224, 227, 32, .8); }
.zone__mk circle { fill: var(--bitumen); stroke: var(--line-2); stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.zone__mk text { fill: var(--concrete); font-family: var(--f-mono); font-size: 13px; font-weight: 600; }
.zone[data-on] .zone__mk circle { fill: var(--membrane); stroke: var(--membrane); }
.zone[data-on] .zone__mk text { fill: var(--membrane-ink); }
.zones__list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.zbtn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 11px; background: transparent; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; color: var(--concrete); text-align: start; font-family: var(--f-display); font-size: .88rem; line-height: 1.4; transition: border-color .2s, color .2s, background-color .2s; }
.zbtn:hover { color: var(--limestone); border-color: var(--line-2); }
.zbtn[aria-pressed="true"] { color: var(--limestone); border-color: var(--membrane); background: rgba(255, 255, 255, .05); }
.zbtn__no { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: .74rem; }
.zbtn[aria-pressed="true"] .zbtn__no { background: var(--membrane); border-color: var(--membrane); color: var(--membrane-ink); }
.zones__detail { padding: 22px; background: var(--surface), var(--graphite); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--inner-light); min-height: 260px; }
.zd__no { margin: 0; font-family: var(--f-mono); font-size: .8rem; color: var(--membrane); }
.zd__t { margin: 2px 0 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; line-height: 1.45; }
.zd__d { margin: 0 0 14px; color: var(--concrete); }
.zsys h4 { margin: 18px 0 8px; font-family: var(--f-display); font-size: .82rem; font-weight: 500; color: var(--concrete-2); }
.zsys ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.zsys li { font-family: var(--f-display); font-size: .82rem; line-height: 1.6; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line-2); }
.zsys li.is-prim { background: var(--membrane); border-color: var(--membrane); color: var(--membrane-ink); font-weight: 600; }
.zsys__key { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; font-size: .76rem; color: var(--concrete-2); }
.zsys__key .k { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line-2); margin-inline-start: 8px; }
.zsys__key .k:first-child { margin-inline-start: 0; }
.zsys__key .k--prim { background: var(--membrane); border-color: var(--membrane); }

.roof { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(22px, 4vw, 60px); align-items: center; }
.roof__fig { margin: 0; padding: clamp(10px, 2vw, 28px); }
.roof__svg { width: 100%; height: auto; overflow: visible; }
.ly { transition: transform .8s var(--ease), opacity .3s; transform: translateY(0); }
.roof.is-open .ly { transform: translateY(calc(var(--i) * -24px)); }
.roof.is-open .ly.is-hl { transform: translateY(calc(var(--i) * -24px - 16px)); }
.roof.has-hl .ly:not(.is-hl) { opacity: .4; }
.roof.is-open .ly { transition-delay: calc(var(--i) * 60ms); }
.roof.is-open.has-hl .ly, .roof.is-open .ly.is-hl { transition-delay: 0s; }
/* callout leaders with dot terminals */
.ly__lead { stroke: var(--line-2); stroke-width: 1; }
.ly__dot { fill: var(--concrete-2); }
.ly__n { fill: var(--concrete); font-family: var(--f-mono); font-size: 13px; font-weight: 600; direction: ltr; unicode-bidi: isolate; }
.ly.is-hl .ly__lead { stroke: var(--membrane); }
.ly.is-hl .ly__dot, .ly.is-hl .ly__n { fill: var(--membrane); }
.ly.is-hl .ly__dot { filter: drop-shadow(0 0 4px rgba(224, 227, 32, .9)); }
.ly { cursor: pointer; }
.roof__list { list-style: none; padding: 0; margin: 0; }
.roof__list button { width: 100%; display: flex; gap: 14px; align-items: baseline; padding: 10px 0; background: none; border: 0; border-top: 1px solid var(--line); text-align: start; cursor: pointer; color: inherit; }
.roof__list li:last-child button { border-bottom: 1px solid var(--line); }
.roof__list strong { display: block; font-family: var(--f-display); font-weight: 600; line-height: 1.5; transition: color .2s; }
.roof__list small { color: var(--concrete); font-size: .86rem; }
.ly-no { flex: none; width: 22px; font-family: var(--f-mono); color: var(--concrete-2); transition: color .2s; }
.roof__list button:hover .ly-no, .roof__list button.is-hl .ly-no { color: var(--membrane); }
.roof__list button.is-hl strong { color: var(--membrane-hi); }
.roof__cap { margin: 16px 0 0; color: var(--concrete-2); font-size: .85rem; }

.mx__hint { margin: 0 0 14px; color: var(--concrete); }
.mx__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.mx__tbl { width: 100%; min-width: 760px; border-collapse: collapse; }
.mx__tbl th, .mx__tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.mx__tbl tbody tr:last-child > * { border-bottom: 0; }
.mx__tbl tbody th { text-align: start; font-family: var(--f-display); font-weight: 500; font-size: .92rem; white-space: nowrap; padding-inline: 16px; }
.mx__tbl thead button { background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; cursor: pointer; white-space: nowrap; font-family: var(--f-display); font-size: .84rem; color: var(--concrete); transition: background-color .2s, color .2s, border-color .2s; }
.mx__tbl thead button:hover { color: var(--limestone); border-color: var(--membrane); }
.mx__tbl thead button[aria-pressed="true"] { background: var(--membrane); border-color: var(--membrane); color: var(--membrane-ink); font-weight: 600; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.dot--2 { background: var(--membrane); box-shadow: 0 0 8px rgba(224, 227, 32, .35); }
.dot--1 { border: 1.5px solid var(--concrete); }
.dot--0 { width: 4px; height: 4px; background: var(--line-2); }
.mx td.is-col { background: rgba(255, 255, 255, .055); }
.mx__tbl thead th:has(button[aria-pressed="true"]) { box-shadow: inset 0 -2px 0 var(--membrane); }
.mx.has-col td:not(.is-col) .dot { opacity: .22; }
.mx.has-col tbody tr.is-dim th { color: var(--concrete-2); }
.mx__key { display: flex; flex-wrap: wrap; gap: 20px; margin: 14px 0 0; font-size: .85rem; color: var(--concrete); }
.mx__key > span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- projects: skyline */
.sky { margin-bottom: clamp(52px, 7vw, 88px); padding: clamp(18px, 3vw, 36px); background: var(--surface), var(--graphite); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--inner-light); }
.sky__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 26px; }
.sky__head h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.4; }
html[lang="en"] .sky__head h3 { letter-spacing: -.015em; }
.sky__head p { margin: 0; max-width: 62ch; color: var(--concrete); font-size: .93rem; }
/* top padding: the scale-break tower is 118% tall and carries its value label above it */
.sky__chart { padding: 58px 0 112px; }
/* measurement grid: quarter lines behind the towers */
.sky__bars { --sky-gap: clamp(3px, .6vw, 8px); list-style: none; margin: 0; padding: 0; height: 290px; display: flex; align-items: flex-end; gap: var(--sky-gap); border-bottom: 1px solid var(--line-2); background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), rgba(255, 255, 255, .045) calc(25% - 1px) 25%); }
.sky__bars li { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; }
.tower { position: relative; width: 100%; height: calc(var(--h) * 1%); min-height: 6px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; color: inherit; }
.tower__body { display: block; flex: 1; transform-origin: bottom; transform: scaleY(.04); transition: transform 1s var(--ease) calc(var(--i) * 45ms), filter .2s; }
.sky.is-in .tower__body { transform: none; }
.tower.st--done .tower__body { background: repeating-linear-gradient(to bottom, transparent 0 9px, rgba(8, 8, 8, .26) 9px 10px), linear-gradient(to top, var(--lime-2), var(--membrane) 55%, var(--lemon)); }
.tower.st--ongoing .tower__body { background: repeating-linear-gradient(to bottom, transparent 0 9px, rgba(255, 255, 255, .09) 9px 10px), var(--graphite-2); box-shadow: inset 0 0 0 1.5px var(--membrane); }
.tower.st--contracted .tower__body { background: transparent; border: 1.5px dashed var(--concrete); border-bottom: 0; }
.tower--brk .tower__body { position: relative; }
.tower--brk .tower__body::after { content: ""; position: absolute; inset-inline: -4px; top: 34%; height: 12px; background: var(--graphite); transform: skewY(-14deg); }
.tower:hover .tower__body, .tower:focus-visible .tower__body { filter: brightness(1.2); }
.tower__val { position: absolute; bottom: calc(100% + 6px); inset-inline: -10px; text-align: center; font-family: var(--f-mono); font-size: .64rem; color: var(--concrete); white-space: nowrap; }
/* labels: name + district stacked in one box two columns wide (centred on the tower); every second label drops one row
   (with a thin leader line), so long one-word names ("InterContinental Abha") never run into their neighbours */
.tower__lbl { position: absolute; top: calc(100% + 9px); inset-inline: calc(-50% - var(--sky-gap) / 2); display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; line-height: 1.3; }
.sky__bars > li:nth-child(even) .tower__lbl { top: calc(100% + 55px); }
.sky__bars > li:nth-child(even) .tower__lbl::before { content: ""; position: absolute; bottom: calc(100% + 4px); inset-inline-start: 50%; width: 1px; height: 46px; background: var(--line-2); }
.tower__name, .tower__sub { max-width: 100%; overflow: hidden; }
.tower__name { font-family: var(--f-display); font-size: clamp(.6rem, .52rem + .2vw, .7rem); line-height: 1.35; color: var(--limestone); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word; }
.tower__sub { font-size: .62rem; color: var(--concrete-2); white-space: nowrap; text-overflow: ellipsis; }
.tower:hover .tower__name, .tower:focus-visible .tower__name { color: var(--membrane-hi); }
.sky__legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-display); font-size: .8rem; color: var(--concrete); }
.sky__legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; display: inline-block; }
.lg--done { background: var(--membrane); }
.lg--ongoing { background: var(--graphite-2); box-shadow: inset 0 0 0 1.5px var(--membrane); }
.lg--contracted { border: 1.5px dashed var(--concrete); }
.sky__unit { margin-inline-start: auto; color: var(--concrete-2); }
@media (max-width: 800px) {
  .sky__chart { padding: 0 0 18px; }
  .sky__bars { height: auto; flex-direction: column; align-items: stretch; gap: 10px; border: 0; background: none; }
  .sky__bars li { height: auto; }
  .tower { height: auto; display: grid; grid-template-columns: minmax(7.5em, 34%) 1fr; grid-template-areas: "name bar" "sub val"; column-gap: 12px; text-align: start; }
  .tower__lbl { display: contents; }
  .sky__bars > li:nth-child(even) .tower__lbl::before { content: none; }
  .tower__name, .tower__sub, .tower__val { position: static; inset: auto; text-align: start; }
  .tower__sub, .tower__val { overflow: visible; }
  .tower__name { grid-area: name; font-size: .85rem; overflow: hidden; }
  .tower__sub { grid-area: sub; font-size: .72rem; }
  .tower__val { grid-area: val; font-size: .72rem; }
  .tower__body { grid-area: bar; align-self: center; height: 14px; width: calc(min(var(--h), 100) * 1%); transform-origin: inline-start; transform: scaleX(.04); }
  .tower.st--done .tower__body { background: repeating-linear-gradient(to right, transparent 0 9px, rgba(8, 8, 8, .26) 9px 10px), var(--grad-lime); }
  html[dir="rtl"] .tower__body { transform-origin: right; }
  html[dir="ltr"] .tower__body { transform-origin: left; }
  .sky.is-in .tower__body { transform: none; }
  .tower--brk .tower__body::after { inset-block: -3px; inset-inline: auto; top: auto; left: 70%; width: 10px; height: auto; transform: skewX(-14deg); }
}

/* filters */
.pf { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.seg { display: inline-flex; padding: 4px; background: var(--graphite); border: 1px solid var(--line); border-radius: 999px; }
.seg button { padding: 8px 16px; background: none; border: 0; border-radius: 999px; cursor: pointer; font-family: var(--f-display); font-size: .88rem; color: var(--concrete); transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--limestone); }
.seg button[aria-pressed="true"] { background: var(--membrane); color: var(--membrane-ink); font-weight: 600; box-shadow: 0 6px 18px -8px rgba(224, 227, 32, .6); }
.seg button { white-space: nowrap; }
/* phones: the four status buttons share one full-width row ("Previous years" used to wrap into a tall pill) */
@media (max-width: 600px) {
  .seg { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg button { flex: 1 1 auto; padding: 8px 8px; font-size: .82rem; }
}
.pf__sel select { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 8px 18px; padding-inline-end: 40px; border: 1px solid var(--line); border-radius: 999px; background-color: var(--graphite); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23E0E320' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; font-family: var(--f-display); font-size: .88rem; cursor: pointer; }
.pf__sel select:focus-visible { outline: 2px solid var(--membrane); outline-offset: 2px; }
html[dir="rtl"] .pf__sel select { background-position: left 16px center; }
html[dir="ltr"] .pf__sel select { background-position: right 16px center; }
.pf__search { flex: 1 1 240px; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: var(--graphite); border: 1px solid var(--line); border-radius: 999px; color: var(--concrete); transition: border-color .2s; }
.pf__search:focus-within { outline: 2px solid var(--membrane); outline-offset: 2px; }
.pf__search input { width: 100%; padding: 10px 0; background: none; border: 0; outline: none; color: var(--limestone); }
.pf__search input::placeholder { color: var(--concrete-2); }
.pf__count { margin-inline-start: auto; font-family: var(--f-display); font-size: .86rem; color: var(--concrete); }
.pf__note { margin: 6px 0 26px; font-size: .82rem; color: var(--concrete-2); }

/* project cards: neutral charcoal, hairline, inner light */
.pgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.pcard--feat { grid-column: span 2; }
.pcard[hidden] { display: none; }
.pcard__btn { position: relative; width: 100%; height: 100%; padding: 0; border: 1px solid var(--line); display: flex; flex-direction: column; text-align: start; cursor: pointer; color: inherit; background: var(--surface), var(--graphite); border-radius: var(--r-m); box-shadow: var(--inner-light); overflow: hidden; transition: border-color .3s, background-color .25s, transform .45s var(--ease); }
.pcard__btn:hover { border-color: rgba(255, 255, 255, .26); transform: translateY(-3px); }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.pcard--feat .pcard__media { aspect-ratio: 16 / 9; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard__btn:hover .pcard__media img { transform: scale(1.045); }
.pcard__pf { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(8, 8, 8, .8); border: 1px solid var(--line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--f-display); font-size: .74rem; }
.pcard__media::after { content: ""; position: absolute; inset: 10px; z-index: 1; pointer-events: none; opacity: 0; transform: scale(1.035); --m: var(--membrane);
  background: linear-gradient(var(--m), var(--m)) 0 0 / 14px 1.5px, linear-gradient(var(--m), var(--m)) 0 0 / 1.5px 14px, linear-gradient(var(--m), var(--m)) 100% 0 / 14px 1.5px, linear-gradient(var(--m), var(--m)) 100% 0 / 1.5px 14px,
    linear-gradient(var(--m), var(--m)) 0 100% / 14px 1.5px, linear-gradient(var(--m), var(--m)) 0 100% / 1.5px 14px, linear-gradient(var(--m), var(--m)) 100% 100% / 14px 1.5px, linear-gradient(var(--m), var(--m)) 100% 100% / 1.5px 14px;
  background-repeat: no-repeat; transition: opacity .35s ease, transform .6s var(--ease); }
@media (hover: hover) { .pcard__btn:hover .pcard__media::after, .pcard__btn:focus-visible .pcard__media::after { opacity: .9; transform: none; } }
.pcard__body { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 18px; }
.pcard__st { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: .76rem; color: var(--concrete); }
.pcard__st::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.pcard__st.st--done::before { background: var(--membrane); box-shadow: 0 0 8px rgba(224, 227, 32, .55); }
.pcard__st.st--ongoing::before, .pcard__st.st--mixed::before { box-shadow: inset 0 0 0 1.5px var(--membrane); }
.pcard__st.st--contracted::before { box-shadow: inset 0 0 0 1.5px var(--concrete); }
.pcard__when { margin-inline-start: auto; color: var(--concrete-2); }
.pcard__name { margin-top: 4px; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; line-height: 1.45; }
html[lang="en"] .pcard__name { letter-spacing: -.01em; line-height: 1.3; }
.pcard--feat .pcard__name { font-size: 1.45rem; }
.pcard__loc { font-size: .86rem; color: var(--concrete); line-height: 1.55; }
.pcard__area { margin-top: auto; padding-top: 10px; font-size: .9rem; color: var(--concrete); }
.pcard__area .num { font-family: var(--f-display); font-weight: 700; font-size: 1.06rem; color: var(--membrane); }
.pempty { padding: 40px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-m); color: var(--concrete); }
.pempty p { margin: 0 0 16px; }
@media (max-width: 1150px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pf__count { margin-inline-start: 0; } }

/* ---------- dialogs */
.dlg { position: fixed; padding: 0; border: 1px solid var(--line); overflow: hidden; color: var(--limestone); background: var(--bitumen); border-radius: var(--r-l); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.dlg::backdrop { background: rgba(0, 0, 0, .76); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dlg[open] { animation: dlg-in .38s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.dlg--project { width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); }
.dlg--project [data-dlg-body] { max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; }
.dlg__x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; background: rgba(8, 8, 8, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pd { display: grid; grid-template-columns: 1.15fr 1fr; min-height: min(660px, 84dvh); }
.pd__media { display: flex; flex-direction: column; background: #000; min-width: 0; }
.pd__main { position: relative; flex: 1; min-height: 340px; display: grid; place-items: center; overflow: hidden; }
.pd__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd__main.is-small img { position: static; height: auto; max-width: calc(100% - 32px); object-fit: contain; border-radius: 4px; }
.pd__thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; background: var(--bitumen-deep); }
.pd__thumbs button { flex: none; width: 86px; height: 62px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: pointer; opacity: .5; transition: opacity .2s; }
.pd__thumbs button:hover { opacity: .85; }
.pd__thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--membrane); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__body { padding: clamp(24px, 3.2vw, 46px); display: flex; flex-direction: column; gap: 4px; min-width: 0; background: var(--surface); }
.pd__st { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; font-size: .85rem; color: var(--concrete); }
.st { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; font-family: var(--f-display); font-size: .74rem; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.st.st--done { background: var(--membrane); color: var(--membrane-ink); }
.st.st--ongoing, .st.st--mixed { box-shadow: inset 0 0 0 1.5px var(--membrane); color: var(--membrane); }
.st.st--contracted { box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--concrete); }
.pd__t { margin: 8px 0 2px; padding-inline-end: 44px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.55rem, 2.5vw, 2.2rem); line-height: 1.36; }
html[lang="en"] .pd__t { letter-spacing: -.02em; line-height: 1.15; }
.pd__loc { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; color: var(--concrete); }
.pd__loc .ic { width: 17px; height: 17px; color: var(--membrane); }
.pd__d { margin: 0 0 18px; max-width: 62ch; }
.pd__kpi { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.pd__kpi li { padding: 12px 14px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
.pd__kpi strong { display: block; width: fit-content; font-family: var(--f-display); font-weight: 700; font-size: 1.36rem; line-height: 1.35; color: var(--membrane); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pd__kpi strong { background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.pd__kpi span { font-size: .8rem; color: var(--concrete); line-height: 1.45; display: block; }
.pd__h { margin: 16px 0 6px; font-family: var(--f-display); font-size: .84rem; font-weight: 500; color: var(--concrete-2); }
.pd__sc { list-style: none; padding: 0; margin: 0; }
.pd__sc li { position: relative; padding: 4px 0; padding-inline-start: 20px; line-height: 1.65; }
.pd__sc li::before { content: ""; position: absolute; inset-inline-start: 1px; top: calc(.82em + 1px); width: 6px; height: 6px; background: var(--membrane); transform: rotate(45deg); }
.pd__items { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pd__items th, .pd__items td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: start; font-weight: 400; vertical-align: middle; }
.pd__items th small { display: block; color: var(--concrete-2); font-size: .78rem; }
.pd__items td { padding-inline-start: 12px; }
.pd__items .pd__a { text-align: end; white-space: nowrap; }
.pd__parties { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.pd__parties div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
.pd__parties dt { font-family: var(--f-display); color: var(--concrete-2); font-size: .84rem; }
.pd__parties dd { margin: 0; }
.pd__doc { margin: 18px 0 0; }
@media (max-width: 880px) {
  .pd { grid-template-columns: 1fr; }
  .pd__main { min-height: 0; aspect-ratio: 4 / 3; }
  .pd__parties div { grid-template-columns: 1fr; gap: 0; }
}

.dlg--doc { width: min(1120px, calc(100vw - 20px)); height: calc(100dvh - 24px); max-height: none; background: var(--bitumen-deep); }
.dlg--doc [data-dlg-body] { height: 100%; }
.dv { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr; }
.dv__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dv__count { margin: 0; font-family: var(--f-mono); font-size: .76rem; color: var(--concrete-2); }
.dv__t { margin: 2px 0 4px; font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; line-height: 1.5; }
.dv__by { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .86rem; color: var(--concrete); }
.dv__tools { display: flex; gap: 6px; flex: none; }
.dv__stage { overflow: auto; display: grid; place-items: center; padding: 22px 70px; cursor: zoom-in; overscroll-behavior: contain; touch-action: pan-y pinch-zoom; }
.dv__stage img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 190px); background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); }
.dv.is-zoom .dv__stage { place-items: start center; cursor: zoom-out; }
.dv.is-zoom .dv__stage img { max-width: none; max-height: none; width: min(1500px, 190%); }
.dv__nav { position: absolute; top: 55%; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(8, 8, 8, .85); color: var(--limestone); cursor: pointer; transition: border-color .2s; }
.dv__nav:hover { border-color: var(--membrane); }
.dv__nav--prev { inset-inline-start: 12px; }
.dv__nav--next { inset-inline-end: 12px; }
@media (max-width: 640px) {
  .dv__stage { padding: 14px 10px 70px; }
  .dv__nav { top: auto; bottom: 12px; }
  .dv__tools .iconbtn { width: 38px; height: 38px; }
  .dv__bar { flex-direction: column; }
}

.toast { position: fixed; bottom: 26px; left: 16px; right: 16px; margin: 0 auto; width: max-content; max-width: calc(100% - 32px); text-align: center; z-index: 120; transform: translateY(18px); padding: 10px 18px; border-radius: 999px; background: var(--limestone); color: var(--bitumen); font-family: var(--f-display); font-size: .88rem; font-weight: 600; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .8); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translateY(0); }

/* ---------- clients */
.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.logos li { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 14px 16px; text-align: center; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background-color .3s; }
.logos li:hover { background: rgba(255, 255, 255, .02); }
@media (max-width: 1100px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(3, 1fr); } }
.logo { height: 66px; display: grid; place-items: center; }
.logo img { width: auto; height: auto; max-height: 66px; max-width: 136px; filter: grayscale(1) brightness(1.25); opacity: .8; transition: filter .3s, opacity .3s; }
.logos li:hover .logo img { filter: none; opacity: 1; }
.logo__n, .sis__c { font-size: .78rem; line-height: 1.45; color: var(--concrete); }
.logos--brands li { padding-block: 22px; }
.logos--sis { grid-template-columns: repeat(3, 1fr); }
.logos--sis li { padding: 26px 18px 20px; }
.logos--sis .logo img { max-width: 170px; }
.sis__n { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; }

/* ---------- quality */
.steps { list-style: none; padding: 0; margin: 0 0 clamp(56px, 7vw, 92px); display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 25px; inset-inline: 0; height: 1px; background: linear-gradient(to var(--steps-dir, left), var(--line-2), var(--line-2) 70%, rgba(224, 227, 32, .7)); }
html[dir="ltr"] .steps::before { --steps-dir: right; }
.steps li { position: relative; padding-inline-end: 22px; }
/* step numbers in hexagon frames; the last step (handover) filled lime */
.step__no { position: relative; z-index: 1; width: 44px; height: 50px; display: inline-grid; place-items: center; background: var(--hex) center / 100% 100% no-repeat, radial-gradient(closest-side, var(--bitumen) 92%, transparent 94%); font-family: var(--f-mono); font-weight: 500; font-size: .85rem; }
.steps li:last-child .step__no { background: var(--hex-fill) center / 100% 100% no-repeat; color: var(--membrane-ink); filter: drop-shadow(0 0 10px rgba(224, 227, 32, .35)); }
.steps h3 { margin: 16px 0 6px; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; line-height: 1.45; }
.steps p { margin: 0; color: var(--concrete); font-size: .94rem; }
.q2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 4.5vw, 72px); }
.tests ul { list-style: none; padding: 0; margin: 0; }
.tests li { display: grid; grid-template-columns: 7em 1fr; column-gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.tests li:last-child { border-bottom: 1px solid var(--line); }
.test__c { grid-row: span 2; padding-top: 4px; font-family: var(--f-mono); font-weight: 500; font-size: .74rem; color: var(--membrane); }
.tests strong { font-family: var(--f-display); font-weight: 600; }
.tests li > span:last-child { color: var(--concrete); font-size: .9rem; }
.hse__lead { margin: 0 0 18px; color: var(--concrete); }
.risks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.risks li { padding: 16px 18px; background: var(--surface), var(--graphite); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--inner-light); }
.risks h4 { margin: 0 0 4px; font-family: var(--f-display); font-size: 1rem; font-weight: 600; line-height: 1.5; }
.risks p { margin: 0; color: var(--concrete); font-size: .88rem; line-height: 1.65; }
.check { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.check li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.6; }
/* poster-style check boxes */
.check .ic { width: 20px; height: 20px; margin-top: 3px; padding: 2.5px; border: 1.5px solid var(--membrane); border-radius: 5px; stroke-width: 2.2; color: var(--membrane); }
.isorow { margin-top: clamp(44px, 5vw, 68px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--surface); }
.isorow ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.iso { display: grid; grid-template-columns: auto auto; column-gap: 12px; row-gap: 2px; padding: 10px 14px; text-align: start; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; color: inherit; transition: border-color .2s, box-shadow .2s; }
.iso:hover { border-color: var(--membrane); box-shadow: 0 10px 28px -16px rgba(224, 227, 32, .6); }
.iso__std { font-family: var(--f-mono); font-weight: 500; font-size: .85rem; color: var(--membrane); }
.iso__t { font-family: var(--f-display); font-size: .88rem; }
.iso__no { grid-column: 1 / -1; font-family: var(--f-mono); font-size: .72rem; color: var(--concrete-2); }
.isorow > p { margin: 0; color: var(--concrete); font-size: .9rem; }
.team { margin-top: clamp(60px, 7vw, 100px); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 4.5vw, 72px); align-items: start; }
.team__head > p { margin: 0 0 16px; color: var(--concrete); max-width: 54ch; }
.leaders { list-style: none; padding: 0; margin: 0; }
.leaders li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.leaders strong { font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; }
.leaders span { color: var(--concrete); font-size: .9rem; }
.caps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.caps li { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); box-shadow: var(--inner-light); }
.caps h4 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; line-height: 1.5; }
.caps p { margin: 0; color: var(--concrete); font-size: .9rem; line-height: 1.65; }

/* ---------- paper sections: documents & registration (ground level, daylight): clean white, black ink, drafting grid */
.paper { background: var(--paper); color: var(--ink); --line: var(--ink-line); --line-2: rgba(10, 10, 10, .24); --concrete: var(--ink-2); --concrete-2: var(--ink-3); --graphite: #EAEAE7; --graphite-2: #E0E0DC; --limestone: var(--ink); --surface: linear-gradient(180deg, #FFFFFF, #FAFAF8); --inner-light: 0 1px 0 rgba(255, 255, 255, .8) inset; --orn: var(--ink); --tick: var(--ink); color-scheme: light; }
.paper::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10, 10, 10, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 10, 10, .045) 1px, transparent 1px); background-size: 48px 48px; background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 46%); mask-image: linear-gradient(to bottom, #000, transparent 46%); }
.paper > .wrap { position: relative; }
.paper :focus-visible { outline-color: var(--ink); }
.sec.paper + .sec.paper { --line: var(--ink-line); }
.paper .tabs__list [role="tab"][aria-selected="true"]::after { background: var(--ink); height: 3px; box-shadow: none; }
.paper .tabs__list [role="tab"][aria-selected="true"] .num { color: var(--ink); }
.paper .sec__title { color: var(--ink); }
.docs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 30px 22px; }
.doc { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.doc__thumb { display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 1 / 1.33; overflow: hidden; background: #fff; cursor: pointer; box-shadow: 0 0 0 1px rgba(10, 10, 10, .06), 0 14px 32px -14px rgba(10, 10, 10, .42); transition: transform .4s var(--ease), box-shadow .4s; }
.doc__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
button.doc__thumb:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(10, 10, 10, .08), 0 22px 40px -16px rgba(10, 10, 10, .48); }
div.doc__thumb { cursor: default; }
.doc__ph { height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 18px; text-align: center; font-size: .86rem; color: var(--ink-2); background: repeating-linear-gradient(135deg, #F5F5F3 0 10px, #EDEDEA 10px 20px); }
.doc__ph .ic { width: 30px; height: 30px; }
.doc__body { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.doc__t { margin: 0; font-family: var(--f-display); font-size: 1rem; font-weight: 600; line-height: 1.55; }
.doc__sub { display: inline-block; font-family: var(--f-mono); font-size: .78rem; font-weight: 500; color: var(--ink-2); }
.doc__by { margin: 0; font-size: .86rem; color: var(--ink-2); line-height: 1.55; }
.doc__by > span { color: var(--ink-3); }
.doc__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: .8rem; }
.doc__meta div { display: flex; gap: 6px; }
.doc__meta dt { color: var(--ink-3); }
.doc__meta dd { margin: 0; }
.doc__note { margin: 0; font-size: .8rem; color: var(--ink-2); line-height: 1.55; }
.doc__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.doc__act .btn { padding-inline: .9em; font-size: .84rem; gap: 7px; }
.chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin: 0; padding: 3px 10px; border-radius: 999px; font-family: var(--f-display); font-size: .74rem; font-weight: 600; line-height: 1.55; }
.chip--ok { background: var(--membrane); color: var(--ink); }
.chip--iss, .chip--priv { background: rgba(10, 10, 10, .07); color: var(--ink-2); }
.chip--renew, .chip--rec { background: #F2DDB2; color: #5B3B06; }
.dlg .chip--iss, .dlg .chip--priv { background: rgba(255, 255, 255, .1); color: var(--concrete); }

.reg { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.reg__card { position: relative; padding: clamp(16px, 3vw, 32px); background: var(--paper-hi); border: 1px solid var(--ink-line); box-shadow: 0 18px 44px -30px rgba(10, 10, 10, .35); }
.reg__card::before, .reg__card::after { content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none; }
.reg__card::before { top: -1px; inset-inline-start: -1px; border-top: 2px solid var(--ink); border-inline-start: 2px solid var(--ink); }
.reg__card::after { bottom: -1px; inset-inline-end: -1px; border-bottom: 2px solid var(--ink); border-inline-end: 2px solid var(--ink); }
.reg__list { margin: 0; }
.reg__row { display: grid; grid-template-columns: minmax(9em, 15em) 1fr; gap: 6px 18px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--ink-line); }
.reg__row:first-child { padding-top: 0; }
.reg__row dt { font-family: var(--f-display); font-size: .86rem; color: var(--ink-2); }
.reg__row dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.reg__v { font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.reg__v.mono { font-size: 1.05rem; font-weight: 500; letter-spacing: .05em; }
.copy { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink-line); background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.copy .ic { width: 17px; height: 17px; }
.copy:hover { background: var(--ink); border-color: var(--ink); color: var(--paper-hi); }
.copy.is-done { background: var(--membrane); border-color: var(--membrane); color: var(--ink); }
.reg__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bank { position: relative; padding: clamp(20px, 3vw, 32px); background: radial-gradient(90% 80% at 100% 0%, rgba(255, 255, 255, .09), transparent 60%), var(--ink); color: var(--paper-hi); box-shadow: 0 22px 50px -30px rgba(10, 10, 10, .6); }
.bank::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 64px; height: 2px; background: var(--membrane); box-shadow: 0 0 12px rgba(224, 227, 32, .6); }
.bank h3 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; line-height: 1.45; }
.bank p { margin: 0 0 20px; font-size: .95rem; color: #C8C8C8; }
.bank .btn--paper { --btn-fg: var(--paper-hi); --btn-ring: rgba(255, 255, 255, .34); --btn-hover: rgba(255, 255, 255, .07); }
.bank .btn--paper:hover::before { background: var(--membrane); }
@media (max-width: 640px) { .reg__row { grid-template-columns: 1fr; } }

/* ---------- contact */
.contact { overflow: hidden; }
/* drafting grid with a dimension line, faded at the edges */
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 75%); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 84px); align-items: start; }
.chan { margin: 0; display: grid; gap: 24px; }
.chan > div { display: grid; gap: 8px; }
.chan dt { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: .86rem; font-weight: 500; color: var(--concrete); }
/* channel icons in lime hexagon frames */
.chan dt .ic { width: 34px; height: 39px; padding: 10px 8.5px; background: var(--hex-lime) center / 100% 100% no-repeat; color: var(--membrane); }
.chan dd { margin: 0; }
.chan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.chan li { display: flex; align-items: center; gap: 12px; }
.chan a[dir="ltr"] { font-family: var(--f-display); font-weight: 500; font-size: 1.14rem; text-decoration: none; transition: color .2s; }
.chan a[dir="ltr"]:hover { color: var(--membrane); }
.chan dd > p { margin: 0; }
.chan__x { color: var(--concrete); font-size: .9rem; margin: 2px 0 8px !important; }
.social ul { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-family: var(--f-display); font-size: .86rem; color: var(--concrete); transition: color .2s, border-color .2s, background-color .2s; }
.social a:hover { color: var(--limestone); border-color: var(--membrane); background: rgba(255, 255, 255, .05); }
.social .ic { width: 18px; height: 18px; }
.contact__tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
/* "Review us on Google": neutral lime stars (no Google logo) */
.review { display: flex; align-items: center; gap: 16px; max-width: 470px; margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--surface), rgba(17, 17, 17, .8); box-shadow: var(--inner-light); text-decoration: none; transition: border-color .25s, background-color .25s; }
.review:hover { border-color: var(--membrane); }
.review__stars { flex: none; width: 82px; height: 16px; fill: var(--membrane); filter: drop-shadow(0 0 6px rgba(224, 227, 32, .35)); }
.review__txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.review__txt strong { font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.45; }
.review__txt small { font-size: .84rem; line-height: 1.5; color: var(--concrete); }
.review__go { width: 18px; height: 18px; color: var(--concrete-2); transition: color .25s, transform .25s var(--ease); }
.review:hover .review__go { color: var(--membrane); transform: translate(2px, -2px); }
html[dir="rtl"] .review:hover .review__go { transform: translate(-2px, -2px); }
@media (max-width: 420px) { .review { flex-wrap: wrap; gap: 10px 14px; } .review__stars { order: -1; flex-basis: 100%; width: 82px; max-width: 82px; } }
.cform { display: grid; gap: 16px; padding: clamp(20px, 3vw, 36px); background: var(--surface), var(--graphite); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--inner-light); }
.cform__t { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 1.36rem; line-height: 1.45; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-family: var(--f-display); font-size: .84rem; color: var(--concrete); }
.fld input, .fld select, .fld textarea { width: 100%; padding: 12px 14px; background: var(--bitumen); border: 1px solid var(--line-2); border-radius: var(--r-s); color: var(--limestone); transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--membrane); box-shadow: 0 0 0 3px var(--membrane-soft); }
.fld [aria-invalid="true"] { border-color: var(--warn); }
.fld small { font-size: .8rem; color: var(--concrete-2); line-height: 1.5; }
.cform__err { margin: 0; color: var(--warn); font-size: .9rem; }
.cform__act { display: flex; flex-wrap: wrap; gap: 10px; }
.cform__note { margin: 0; font-size: .8rem; color: var(--concrete-2); }

/* ---------- footer */
.ftr { position: relative; padding: 60px 0 40px; background: var(--bitumen-deep); border-top: 1px solid var(--line); }
.ftr::before { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(224, 227, 32, .85) 50%, transparent); pointer-events: none; }
.ftr::after { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: clamp(60px, 7vw, 104px); pointer-events: none; background: var(--skyline) 50% 100% / auto 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent); mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent); }
.ftr__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.ftr__emb { width: 66px; color: var(--membrane); filter: drop-shadow(0 0 14px rgba(224, 227, 32, .25)); }
.ftr__wm { margin: 12px 0 2px; font-family: var(--f-wm); font-weight: 600; font-size: 1.5rem; letter-spacing: .07em; }
.ftr__tag { margin: 0; color: var(--concrete); }
.ftr__slogan { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; font-family: var(--f-display); font-weight: 500; font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: var(--concrete-2); }
.ftr__slogan::before { content: ""; flex: none; width: 56px; height: 8px; background: var(--membrane); -webkit-mask: var(--orn-rule) center / 100% 100% no-repeat; mask: var(--orn-rule) center / 100% 100% no-repeat; }
html[dir="rtl"] .ftr__slogan::before { -webkit-mask-image: var(--orn-rule-rtl); mask-image: var(--orn-rule-rtl); }
.ftr__social { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
/* social links in hexagon frames */
.ftr__social .iconbtn { width: 40px; height: 46px; border: 0; border-radius: 0; background: var(--hex) center / 100% 100% no-repeat; color: var(--concrete); transition: color .2s; }
.ftr__social .iconbtn:hover { background-image: var(--hex-lime); color: var(--membrane); }
.ftr__social .ic { width: 18px; height: 18px; }
.ftr__review { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; min-height: 40px; padding: 7px 15px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-family: var(--f-display); font-size: .86rem; font-weight: 500; color: var(--limestone); transition: border-color .2s, background-color .2s; }
.ftr__review:hover { border-color: var(--membrane); background: var(--graphite); }
.ftr__review .ic { width: 16px; height: 16px; color: var(--concrete-2); }
.ftr__review .ic:first-child { width: 17px; height: 17px; color: var(--membrane); fill: currentColor; stroke-width: 1.2; }
.ftr__nav ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.ftr__nav a { font-family: var(--f-display); font-size: .92rem; color: var(--concrete); text-decoration: none; line-height: 2.3; transition: color .2s; }
.ftr__nav a:hover { color: var(--membrane); }
.ftr__meta { font-size: .86rem; color: var(--concrete-2); }
.ftr__meta p { margin: 0 0 6px; }

/* ---------- responsive layout */
@media (max-width: 1000px) {
  .about__grid, .coverage, .svc, .zones, .roof, .q2, .team, .contact__grid, .reg { grid-template-columns: 1fr; }
  .svc__visual { position: relative; top: auto; max-width: 560px; } /* relative (not static): anchors the corner ticks */
  .founder { grid-template-columns: 1fr; grid-template-areas: "media" "body" "line"; }
  .founder__media { max-width: 640px; width: 100%; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps::before { top: 0; bottom: 0; inset-inline-start: 21.5px; inset-inline-end: auto; width: 1px; height: auto; background: linear-gradient(to bottom, var(--line-2) 70%, rgba(224, 227, 32, .7)); }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0; }
  .steps .step__no { grid-row: span 2; }
  .steps h3 { margin: 10px 0 2px; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .values ul, .risks, .check, .caps, .zones__list, .cform__row { grid-template-columns: 1fr; }
  .svc__body { grid-template-columns: 1fr; padding-inline-start: 0; }
  .svc__img { max-width: 260px; }
  .svc__visual::before, .svc__visual::after, .about__render::before, .about__render::after { width: 24px; height: 24px; }
  .svc__visual::before, .about__render::before { top: -6px; inset-inline-start: -6px; }
  .svc__visual::after, .about__render::after { bottom: -6px; inset-inline-end: -6px; }
  .lineage li { padding-inline-end: 8px; }
  .lineage__d { font-size: .78rem; line-height: 1.5; }
  .lineage em { letter-spacing: .14em; }
  .ceo { padding: 14px; gap: 14px; }
  .ceo__photo { width: 84px; outline-offset: 3px; }
  .ceo__id { padding-inline-start: 12px; }
  .ceo__name { font-size: 1.06rem; }
  .ceo__role { font-size: .86rem; }
  .ceo__alt[lang="en"] span:first-child { font-size: .58rem; letter-spacing: .1em; }
  .ceo__alt[lang="en"] span:last-child { font-size: .54rem; letter-spacing: .18em; }
  .founder__plate-alt { font-size: .56rem; letter-spacing: .16em; }
  .founder__plate-name { gap: 10px; }
  .founder__plate-name::before, .founder__plate-name::after { flex-basis: 22px; }
  .ftr__in { grid-template-columns: 1fr; }
  .sec__lead { font-size: 1.02rem; }
  .sec__head::before { width: 80px; height: 10px; margin-bottom: 16px; }
  .zones__detail { min-height: 0; }
}


.pmore { display: flex; justify-content: center; margin-top: 28px; }
.pmore[hidden] { display: none; }
@media (max-width: 640px) {
  .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard--feat { grid-column: span 2; }
  .pcard__body { padding: 10px 11px 13px; }
  .pcard__name { font-size: .96rem; }
  .pcard--feat .pcard__name { font-size: 1.2rem; }
  .pcard__loc { font-size: .78rem; }
  .pcard__area { font-size: .82rem; padding-top: 6px; }
  .pcard__area .num { font-size: .96rem; }
  .pcard__st { font-size: .7rem; gap: 6px; }
  .pcard__pf { font-size: .66rem; padding: 3px 8px; top: 8px; inset-inline-start: 8px; }
  .docs { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .doc__t { font-size: .9rem; }
  .doc__by, .doc__meta, .doc__note { font-size: .76rem; }
  .doc__act .btn { width: 100%; }
  .logos, .logos--brands { grid-template-columns: repeat(3, 1fr); }
  .logos li { padding: 14px 6px 12px; gap: 6px; }
  .logo { height: 50px; }
  .logo img { max-height: 50px; max-width: 96px; }
  .logo__n { font-size: .68rem; }
  .logos--sis { grid-template-columns: 1fr 1fr; }
  .map text { font-size: 25px; }
  .map__pin.is-hq text { font-size: 27px; }
  .tabs__list [role="tab"] { padding: 10px 10px 12px; font-size: .88rem; }
}
/* clients / documents tab rows: when they overflow on narrow screens they scroll edge to edge (no label cut inside the column) */
@media (max-width: 900px) {
  .clients .tabs__list, .documents .tabs__list, .protect .tabs__list { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero .hero__copy > * { opacity: 1; transform: none; }
  .tower__body, .sky .tower__body { transform: none !important; }
  .map__arc { stroke-dashoffset: 0; }
  .pcard__btn:hover { transform: none; }
}

@media print {
  .hdr, .rail, .hero__rain, .hero__canopy, .dlg, .menu, .toast, .cform, .pf, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .sec { padding-block: 32px; break-inside: avoid-page; }
  .hero::before, .contact::before, .paper::before { display: none; }
}

/* ---- feature: app.css ---- */
/* ---------- app: "Prime Shield APP — Coming soon" (section after the hero + pill in the hero CTA row) */

/* hero pill: own line under the hero buttons */
.app-pill-row { order: 20; flex: 1 0 100%; display: flex; margin-top: -2px; }
/* desktop: the pill row borrows part of the gaps around it, so the hero (with the logo strip) still fits a 1440×900 screen */
@media (min-width: 901px) {
  .hero:has(.app-pill-row) > .tblock { margin-top: clamp(26px, 3.6vh, 56px); }
  .hero__copy:has(.app-pill-row) .hero__lead { margin-bottom: 1.7em; }
}
.app-pill {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 7px 14px 7px 15px;
  border: 1px solid rgba(224, 227, 32, .55); border-radius: 999px;
  background: rgba(8, 8, 8, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--limestone); text-decoration: none; font-size: .88rem; line-height: 1.2; white-space: nowrap;
  transition: border-color .25s, background-color .25s;
}
.app-pill:hover { border-color: rgba(224, 227, 32, .75); background: rgba(24, 24, 24, .85); }
.app-pill__dot { position: relative; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--membrane); box-shadow: 0 0 10px rgba(224, 227, 32, .6); }
.app-pill__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--membrane); opacity: 0; }
.app-pill__k { font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .18em; color: var(--membrane); }
.app-pill__sep { width: 1px; height: 14px; background: var(--line-2); }
.app-pill__t { font-weight: 500; }
.app-pill__go { width: 15px; height: 15px; margin-inline-start: 2px; color: var(--concrete-2); transition: translate .3s var(--ease), color .25s; }
.app-pill:hover .app-pill__go { color: var(--membrane); translate: 3px 0; }
html[dir="rtl"] .app-pill:hover .app-pill__go { translate: -3px 0; }
.app-pill::before { content: ""; position: absolute; inset: 0; z-index: -1; width: 60%; background: linear-gradient(100deg, transparent, rgba(224, 227, 32, .16), transparent); transform: translateX(-120%); }
.app-pill.is-live .app-pill__dot::after { animation: app-ping 2.6s var(--ease) infinite; }
.app-pill.is-live::before { animation: app-sheen 6.5s ease-in-out 2.2s infinite; }
@keyframes app-sheen { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(260%); } }
@keyframes app-ping { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
@media (max-width: 640px) { .app-pill-row { justify-content: center; } }

/* ---------- section */
.app { overflow: clip; background: radial-gradient(70% 60% at 50% 0%, rgba(224, 227, 32, .035), transparent 70%), var(--bitumen); }
.app::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(224, 227, 32, .35), transparent); }
.app__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-areas: "head stage" "meta stage"; column-gap: clamp(40px, 6vw, 104px); align-items: center;
}
.app__head { grid-area: head; align-self: end; max-width: 620px; }
.app__meta { grid-area: meta; align-self: start; max-width: 620px; }
.app__stage { grid-area: stage; }

.app__kick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 22px; }
.app__state { display: inline-flex; align-items: center; gap: 9px; min-height: 30px; padding: 4px 13px; border-radius: 999px; background: var(--membrane-soft); color: var(--membrane); font-size: .84rem; font-weight: 500; line-height: 1.2; }
.app__state-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.app__state-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; opacity: 0; }
.app.is-live .app__state-dot::after { animation: app-ping 2.6s var(--ease) infinite; }
.app__kick-wm { font-family: var(--f-wm); font-weight: 600; font-size: .86rem; letter-spacing: .2em; text-transform: uppercase; color: var(--concrete); }
.app__title { margin-bottom: .4em; }
.app__title-soon { color: var(--membrane); }
.app__lead { max-width: 52ch; }

.app__points { list-style: none; margin: clamp(26px, 3vw, 36px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.app__points li { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.app__pt-n { flex: none; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; color: var(--membrane); }
.app__pt-t { font-size: 1.04rem; }

.app__os { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; }
.app__os-k { font-size: .82rem; color: var(--concrete-2); }
.app__os-l { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.app__os-l li { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 13px 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .04em; color: var(--limestone); }
.app__os-l .ic { width: 15px; height: 15px; color: var(--concrete); }

.app__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; }
.app__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .86rem; color: var(--concrete-2); }
.app__note .ic { width: 16px; height: 16px; }

/* ---------- stage: glow, rings, floating phone and app icon (sized in em: 1em = 10px desktop) */
.app__stage { position: relative; display: grid; place-items: center; padding-block: 34px; font-size: 10px; line-height: 1.3; }
.app__glow { position: absolute; left: 50%; top: 50%; width: 52em; height: 52em; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 227, 32, .16), rgba(224, 227, 32, .05) 45%, transparent 72%); pointer-events: none; }
.app__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.app__rings i { grid-area: 1 / 1; width: var(--s); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .075); }
.app__rings i:nth-child(1) { --s: 38em; }
.app__rings i:nth-child(2) { --s: 52em; border-style: dashed; border-color: rgba(224, 227, 32, .16); }
.app__rings i:nth-child(3) { --s: 66em; border-color: rgba(255, 255, 255, .05); }
.app.is-live .app__rings i:nth-child(2) { animation: app-spin 90s linear infinite; }
@keyframes app-spin { to { transform: rotate(360deg); } }

.app__float { position: relative; z-index: 1; }
.app.is-live .app__float { animation: app-float 7s ease-in-out infinite; }
.app.is-live .app__icon { animation: app-float 7s ease-in-out -3.2s infinite; }
@keyframes app-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -9px, 0); } }

/* phone frame */
.app__phone {
  position: relative; width: 26em; aspect-ratio: 9 / 19.4; padding: .75em; border-radius: 4.3em;
  background: linear-gradient(150deg, #4a4a4a 0%, #1d1d1d 18%, #0c0c0c 52%, #252525 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 0 0 .4em #050505, 0 3.2em 7em -2.2em rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 5em rgba(224, 227, 32, .07);
}
.app__phone::before, .app__phone::after { content: ""; position: absolute; width: .35em; border-radius: .3em; background: linear-gradient(90deg, #2e2e2e, #121212); }
.app__phone::before { inset-inline-end: -.3em; top: 17%; height: 7.5em; }
.app__phone::after { inset-inline-start: -.3em; top: 13%; height: 4.8em; box-shadow: 0 6.6em 0 #1b1b1b; }
.app__screen {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  padding: .9em 1.35em .7em; border-radius: 3.6em;
  background: radial-gradient(120% 50% at 50% -8%, rgba(224, 227, 32, .13), transparent 62%), linear-gradient(180deg, #131313 0%, #0a0a0a 58%, #0c0c0c 100%);
  color: var(--limestone); font-family: var(--f-text); text-align: start;
}
.app__screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(125deg, rgba(255, 255, 255, .06), transparent 34%); pointer-events: none; }
.app__island { position: absolute; top: .85em; left: 50%; width: 7.8em; height: 2.2em; translate: -50% 0; border-radius: 2em; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.app__status { display: flex; align-items: center; justify-content: space-between; height: 2.4em; padding-inline: 1.1em .7em; }
.app__time { width: 2.8em; height: .75em; border-radius: 1em; background: rgba(255, 255, 255, .55); }
.app__st { display: flex; align-items: center; gap: .55em; }
.app__sig { display: flex; align-items: flex-end; gap: .18em; height: .95em; }
.app__sig i { width: .26em; border-radius: .1em; background: rgba(255, 255, 255, .7); }
.app__sig i:nth-child(1) { height: 35%; } .app__sig i:nth-child(2) { height: 55%; } .app__sig i:nth-child(3) { height: 78%; } .app__sig i:nth-child(4) { height: 100%; opacity: .45; }
.app__bat { position: relative; width: 2.1em; height: 1em; padding: .14em; border: 1px solid rgba(255, 255, 255, .5); border-radius: .32em; }
.app__bat::after { content: ""; position: absolute; left: 100%; top: 30%; width: .14em; height: 40%; margin-left: .1em; border-radius: 0 .1em .1em 0; background: rgba(255, 255, 255, .5); }
.app__bat i { display: block; width: 72%; height: 100%; border-radius: .14em; background: var(--membrane); }

.app__bar { display: flex; align-items: center; gap: .7em; margin-top: 1.25em; }
.app__bar-emb { width: 2.5em; height: auto; color: var(--membrane); }
.app__bar-wm { font-family: var(--f-wm); font-weight: 600; font-size: 1.22em; letter-spacing: .07em; }
.app__bar-av { display: grid; place-items: center; width: 2.7em; height: 2.7em; margin-inline-start: auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: var(--concrete); }
.app__bar-av .ic { width: 1.5em; height: 1.5em; }
.app__hi { display: block; margin-top: .7em; font-family: var(--f-display); font-weight: 600; font-size: 1.85em; line-height: 1.25; }

/* skeleton lines (a product that is still being built) */
.app__sk { position: relative; overflow: hidden; display: block; flex: none; width: 58%; height: .7em; border-radius: 1em; background: rgba(255, 255, 255, .09); }
.app__sk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent); transform: translateX(-100%); }
.app.is-live .app__sk::after { animation: app-shimmer 3.4s ease-in-out infinite; }
@keyframes app-shimmer { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
.app__sk--hi { width: 46%; margin-top: .7em; }
.app__sk--xs { width: 3.2em; height: 1.5em; border-radius: .75em; background: rgba(224, 227, 32, .12); }
.app__sk--m { width: 64%; }
.app__sk--s { width: 70%; height: .6em; }

.app__card { display: block; flex: none; margin-top: 1.2em; padding: 1em 1.15em 1.1em; border-radius: 1.6em; border: 1px solid rgba(255, 255, 255, .09); background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02)); }
.app__card-top { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.app__card-t { font-size: 1.2em; font-weight: 600; }
.app__bars { display: flex; align-items: flex-end; gap: .75em; height: 7.2em; margin: 1em 0 .95em; padding-bottom: .1em; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.app__bars i { flex: 1; height: var(--h); border-radius: .55em .55em .2em .2em; background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .07)); transform-origin: 50% 100%; }
.app__bars i.is-hi { background: linear-gradient(180deg, var(--membrane-hi), rgba(224, 227, 32, .3)); box-shadow: 0 0 1.6em rgba(224, 227, 32, .35); }

.app__tiles { flex: none; list-style: none; margin: .9em 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .85em; }
.app__tile { display: flex; flex-direction: column; align-items: flex-start; gap: .55em; padding: .95em 1em 1.05em; border-radius: 1.4em; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .045); }
.app__tile-ic { display: grid; place-items: center; width: 2.9em; height: 2.9em; border-radius: .95em; background: var(--membrane-soft); color: var(--membrane); }
.app__tile-ic .ic { width: 1.65em; height: 1.65em; }
.app__tile-t { font-size: 1.2em; font-weight: 600; line-height: 1.2; }

.app__tabs { flex: none; display: flex; justify-content: space-around; margin-top: auto; padding-top: .8em; border-top: 1px solid rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .42); }
.app__tabs span { position: relative; display: grid; place-items: center; width: 3.4em; height: 2.9em; }
.app__tabs .ic { width: 2em; height: 2em; }
.app__tabs .is-on { color: var(--membrane); }
.app__tabs .is-on::after { content: ""; position: absolute; bottom: -.2em; width: .42em; height: .42em; border-radius: 50%; background: currentColor; }
.app__home-ind { align-self: center; flex: none; width: 9em; height: .42em; margin-top: .9em; border-radius: 1em; background: rgba(255, 255, 255, .38); }

/* floating app icon (the emblem), overlapping the phone on the text side */
.app__icon { position: absolute; z-index: 2; inset-inline-start: calc(50% - 20.4em); bottom: 14%; display: flex; flex-direction: column; align-items: center; gap: .8em; }
.app__icon-tile { display: grid; place-items: center; width: 8em; height: 8em; border-radius: 2.1em; background: linear-gradient(150deg, #262626 0%, #0b0b0b 60%, #161616 100%); box-shadow: inset 0 0 0 1px rgba(224, 227, 32, .38), inset 0 .1em 0 rgba(255, 255, 255, .08), 0 1.8em 3.6em -1em rgba(0, 0, 0, .85), 0 0 3em rgba(224, 227, 32, .14); }
.app__icon-emb { width: 5.2em; height: auto; color: var(--membrane); filter: drop-shadow(0 0 .8em rgba(224, 227, 32, .35)); }
.app__icon-t { font-family: var(--f-wm); font-weight: 600; font-size: 1.15em; letter-spacing: .08em; color: var(--concrete); white-space: nowrap; }

/* entrance (app.js adds app--pre only when the section starts below the fold and motion is allowed) */
.app--pre .app__float, .app--pre .app__icon { opacity: 0; translate: 0 34px; } /* translate: the float animation owns transform */
.app--pre .app__bars i { transform: scaleY(.12); }
.app--pre .app__tile { opacity: 0; transform: translate3d(0, 10px, 0); }
.app.is-in .app__float, .app.is-in .app__icon { transition: opacity 1.1s var(--ease), translate 1.2s var(--ease); }
.app.is-in .app__icon { transition-delay: .25s; }
.app.is-in .app__bars i { transition: transform 1.1s var(--ease) calc(.45s + var(--i) * 70ms); }
.app.is-in .app__tile { transition: opacity .8s var(--ease) calc(.6s + var(--i) * 90ms), transform .8s var(--ease) calc(.6s + var(--i) * 90ms); }

/* ---------- responsive */
@media (max-width: 1100px) {
  .app__stage { font-size: 9px; }
}
@media (max-width: 900px) {
  .app__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "meta"; }
  .app__head, .app__meta { max-width: 640px; }
  .app__stage { margin-block: 18px 6px; padding-block: 26px; }
}
@media (max-width: 640px) {
  .app__stage { font-size: 8.4px; margin-inline: calc(-1 * var(--gut)); }
  .app__icon { inset-inline-start: calc(50% - 18.8em); bottom: 9%; }
  .app__icon-t { display: none; }
  .app__icon-tile { width: 7em; height: 7em; border-radius: 1.85em; }
  .app__icon-emb { width: 4.5em; }
  .app__act .btn { flex: 1 1 100%; }
  .app__note { flex: 1 1 100%; justify-content: center; }
  .app__pt-t { font-size: 1rem; }
}
@media (max-width: 380px) {
  .app__stage { font-size: 7.8px; }
  .app__icon { inset-inline-start: calc(50% - 18.4em); }
}

@media (prefers-reduced-motion: reduce) {
  .app-pill::before, .app-pill__dot::after, .app__state-dot::after, .app__sk::after { animation: none !important; display: none; }
  .app__float, .app__icon, .app__rings i, .app__bars i, .app__tile { animation: none !important; opacity: 1 !important; transform: none !important; translate: none !important; }
}
@media print {
  .app__stage { display: none; }
}

/* ---- feature: assistant.css ---- */
/* ==========================================================================================================================
   assistant — floating contact cluster ("dock") + «Prime Shield Advisor» panel.
   Desktop (≥720 × ≥561): one glass dock at the bottom inline-START corner = advisor launcher (hex badge, status LED, AI chip)
   + WhatsApp / call / e-mail buttons with tooltips. Phones: a lime FAB that opens a labelled speed dial over a scrim.
   The back-to-top button (fx) owns the bottom inline-END corner. Tokens only (colours, fonts); logical properties throughout.
   Stacking: dock 58 (above back-to-top 55, below header 60); docked panel 59 (non-modal); phone sheet = top layer (modal).
   ========================================================================================================================== */
.assistant-fab, .assistant-panel { --as-sx: env(safe-area-inset-left, 0px); --as-sb: env(safe-area-inset-bottom, 0px); }
html[dir="rtl"] .assistant-fab, html[dir="rtl"] .assistant-panel { --as-sx: env(safe-area-inset-right, 0px); }
.assistant-fab [hidden], .assistant-panel [hidden] { display: none !important; }

/* ---------------------------------------------------------------- dock (desktop) */
.assistant-fab {
  position: fixed; z-index: 58;
  inset-inline-start: max(18px, var(--as-sx)); bottom: max(18px, var(--as-sb));
  display: flex; align-items: center; gap: 2px;
  padding: 5px; border-radius: 999px;
  background: var(--graphite);
  background: color-mix(in srgb, var(--graphite) 86%, transparent);
  border: 1px solid var(--line-2);
  box-shadow: var(--inner-light), 0 22px 48px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s;
}
.assistant-fab.is-hidden, html.brand-on .assistant-fab {
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0, 18px, 0) scale(.94);
  transition: opacity .22s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
/* scripts on: stays out of sight until assistant.js has decided where it may show (no flash over the hero on first paint) */
html.js .assistant-fab:not(.is-ready) { opacity: 0; visibility: hidden; transition: none; }
/* CSS safety net for the JS rule "hide while another dialog is open" */
html:has(dialog[open]:not(#assistant-panel)) .assistant-fab { opacity: 0; visibility: hidden; pointer-events: none; }

.assistant-launch {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 4px; padding-inline-end: 16px;
  border: 0; border-radius: 999px; background: none; color: var(--limestone);
  text-align: start; cursor: pointer; transition: background-color .25s var(--ease);
}
.assistant-launch:hover { background: var(--line); }
.assistant-launch:focus-visible { outline-offset: 2px; border-radius: 999px; }
.assistant-launch__txt { display: flex; flex-direction: column; gap: 1px; }
.assistant-launch__t { display: flex; align-items: center; gap: 7px; font: 600 .875rem/1.3 var(--f-display); white-space: nowrap; }
.assistant-launch__s { font: 400 .75rem/1.3 var(--f-text); color: var(--concrete); white-space: nowrap; }
.assistant-aichip {
  display: inline-block; padding: 3px 5px 2px; border-radius: 4px;
  font: 600 .625rem/1 var(--f-mono); letter-spacing: .08em; color: var(--membrane-ink); background: var(--membrane); background: var(--grad-lime);
}

/* hexagon badge with the emblem; status LED on its corner */
.assistant-badge { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; color: var(--membrane-ink); }
.assistant-badge__hex { position: absolute; inset: -1px 0; width: 100%; height: calc(100% + 2px); fill: var(--membrane); stroke: none; }
.assistant-badge__emb { position: relative; width: 21px; height: auto; }
.assistant-badge > .assistant-led { position: absolute; inset-inline-end: 0; bottom: 2px; }
.assistant-badge::after { /* the one-time cue ring */
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--membrane); opacity: 0; pointer-events: none;
}
.assistant-fab.is-cue .assistant-badge::after, .assistant-fab.is-cue .assistant-toggle::after { animation: assistant-ring 1.6s var(--ease) 2; }

.assistant-led { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--concrete-2); box-shadow: 0 0 0 2px var(--graphite); }
[data-mode="ai"] .assistant-led { background: var(--lime-2); box-shadow: 0 0 0 2px var(--graphite), 0 0 9px var(--lime-2); animation: assistant-led 2.6s ease-in-out infinite; }
[data-mode="guided"] .assistant-led { background: var(--concrete); }
[data-mode="checking"] .assistant-led { animation: assistant-blink 1s steps(2, start) infinite; }

.assistant-unread {
  position: absolute; top: 3px; inset-inline-start: 34px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 2px var(--graphite);
}

/* contact buttons + tooltips */
.assistant-dial { display: flex; align-items: center; gap: 2px; }
.assistant-dial::before { content: ""; flex: none; width: 1px; height: 26px; margin-inline: 2px 4px; background: var(--line-2); }
.assistant-act {
  position: relative; display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--limestone); text-decoration: none; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.assistant-act:hover, .assistant-act:focus-visible { color: var(--membrane); background: var(--line); }
.assistant-act:focus-visible { outline-offset: 1px; border-radius: 50%; }
.assistant-act--ai { display: none; } /* desktop: the launcher is the advisor */
.assistant-act__ic { display: grid; place-items: center; }
.assistant-act__ic .ic { width: 21px; height: 21px; }
.assistant-act__txt {
  position: absolute; bottom: calc(100% + 14px); left: 50%; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 7px 12px 8px; border-radius: 10px; white-space: nowrap; pointer-events: none;
  background: var(--graphite-3); border: 1px solid var(--line-2); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transform: translate3d(-50%, 6px, 0);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.assistant-act__txt::after {
  content: ""; position: absolute; top: 100%; left: 50%; width: 9px; height: 9px; margin: -4px 0 0 -5px;
  background: inherit; border: inherit; border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.assistant-act:hover .assistant-act__txt, .assistant-act:focus-visible .assistant-act__txt {
  opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); transition-delay: 0s, 0s, 0s;
}
.assistant-act__t { font: 600 .8125rem/1.35 var(--f-display); color: var(--limestone); }
.assistant-act__s { font: 400 .72rem/1.35 var(--f-text); color: var(--concrete); }
.assistant-act__s[dir="ltr"] { font-family: var(--f-mono); letter-spacing: .01em; }

.assistant-toggle { display: none; }
.assistant-scrim { display: none; }

/* once-per-session cue bubble */
.assistant-cue {
  position: absolute; bottom: calc(100% + 14px); inset-inline-start: 0;
  display: flex; align-items: flex-start; gap: 2px; width: max-content; max-width: min(310px, calc(100vw - 36px));
  padding: 6px; padding-inline-start: 10px; border-radius: 16px;
  background: var(--graphite-3); border: 1px solid color-mix(in srgb, var(--membrane) 38%, transparent);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .3);
  animation: assistant-pop .45s var(--ease) both;
}
.assistant-cue::after {
  content: ""; position: absolute; top: 100%; inset-inline-start: 22px; width: 11px; height: 11px; margin-top: -5px;
  background: var(--graphite-3); border: inherit; border-width: 0 1px 1px 0; transform: rotate(45deg);
}
html[dir="rtl"] .assistant-cue::after { border-width: 0 0 1px 1px; transform: rotate(-45deg); }
.assistant-cue__body {
  display: flex; align-items: flex-start; gap: 9px; padding: 7px 2px; border: 0; background: none;
  color: var(--limestone); font: 500 .8125rem/1.55 var(--f-text); text-align: start; cursor: pointer;
}
.assistant-cue__body .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--membrane); }
.assistant-cue__x {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px;
  background: none; color: var(--concrete); cursor: pointer;
}
.assistant-cue__x:hover { color: var(--limestone); background: var(--line); }
.assistant-cue__x .ic { width: 16px; height: 16px; }

/* keeps the footer's last lines clear of the dock at the very end of the page */
.assistant-spacer { height: 52px; background: var(--bitumen-deep); }

/* ---------------------------------------------------------------- phones: FAB + speed dial */
@media (max-width: 719px), (max-height: 560px) {
  .assistant-fab {
    inset-inline-start: max(16px, var(--as-sx)); bottom: max(16px, var(--as-sb));
    display: block; width: 56px; height: 56px; padding: 0; gap: 0;
    border: 0; border-radius: 0; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .assistant-launch { display: none; }
  .assistant-toggle {
    position: relative; display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
    border: 0; border-radius: 50%; color: var(--membrane-ink); background: var(--membrane); background: var(--grad-lime);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 30px -10px color-mix(in srgb, var(--membrane) 60%, transparent), 0 6px 18px -6px rgba(0, 0, 0, .8);
    cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  }
  .assistant-toggle:active { transform: scale(.94); }
  .assistant-toggle:focus-visible { outline-offset: 4px; border-radius: 50%; }
  .assistant-toggle::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--membrane); opacity: 0; pointer-events: none; }
  .assistant-toggle__ic, .assistant-toggle__x { grid-area: 1 / 1; display: grid; place-items: center; transition: transform .38s var(--ease), opacity .24s var(--ease); }
  .assistant-toggle .ic { width: 25px; height: 25px; stroke-width: 1.9; }
  .assistant-toggle__x { opacity: 0; transform: rotate(-90deg) scale(.6); }
  .assistant-fab.is-dial .assistant-toggle__ic { opacity: 0; transform: rotate(90deg) scale(.6); }
  .assistant-fab.is-dial .assistant-toggle__x { opacity: 1; transform: none; }
  .assistant-toggle > .assistant-led { position: absolute; top: 3px; inset-inline-end: 3px; width: 11px; height: 11px; }
  .assistant-toggle > .assistant-unread { top: -2px; inset-inline-start: -2px; }

  .assistant-dial {
    position: absolute; bottom: calc(100% + 14px); inset-inline-start: 0;
    flex-direction: column; align-items: flex-start; gap: 10px;
    visibility: hidden; pointer-events: none; transition: visibility 0s linear .32s;
  }
  .assistant-dial::before { display: none; }
  .assistant-fab.is-dial .assistant-dial { visibility: visible; pointer-events: auto; transition: none; }
  .assistant-act, .assistant-act--ai {
    display: flex; align-items: center; justify-content: flex-start; gap: 12px;
    width: auto; height: auto; min-height: 56px; max-width: calc(100vw - 32px);
    padding: 6px; padding-inline-end: 20px; border-radius: 999px;
    color: var(--limestone); background: var(--graphite-2);
    background: color-mix(in srgb, var(--graphite-2) 92%, transparent);
    border: 1px solid var(--line-2); box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .95);
    opacity: 0; transform: translate3d(0, 14px, 0) scale(.96);
    transition: opacity .24s var(--ease), transform .34s var(--ease), border-color .2s;
  }
  .assistant-fab.is-dial .assistant-act { opacity: 1; transform: none; }
  .assistant-fab.is-dial .assistant-act:nth-child(1) { transition-delay: .09s; }
  .assistant-fab.is-dial .assistant-act:nth-child(2) { transition-delay: .06s; }
  .assistant-fab.is-dial .assistant-act:nth-child(3) { transition-delay: .03s; }
  .assistant-act:hover, .assistant-act:focus-visible { color: var(--limestone); background: var(--graphite-3); border-color: color-mix(in srgb, var(--membrane) 50%, transparent); }
  .assistant-act:focus-visible { border-radius: 999px; outline-offset: 2px; }
  .assistant-act__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--line); color: var(--membrane); }
  .assistant-act--ai .assistant-act__ic { background: var(--membrane); background: var(--grad-lime); color: var(--membrane-ink); }
  .assistant-act__txt {
    position: static; align-items: flex-start; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
    opacity: 1; visibility: inherit; transform: none; transition: none; white-space: normal; min-width: 0;
  }
  .assistant-act__txt::after { display: none; }
  .assistant-act__t { font-size: .9375rem; }
  .assistant-act__s { font-size: .75rem; }
  .assistant-act:hover .assistant-act__txt, .assistant-act:focus-visible .assistant-act__txt { transform: none; }

  .assistant-scrim {
    display: block; position: fixed; inset: 0; z-index: -1;
    background: rgba(3, 3, 3, .66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .assistant-fab.is-dial .assistant-scrim { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
  .assistant-cue { max-width: calc(100vw - 32px); }
  .assistant-spacer { height: 64px; }
}
@media (max-height: 430px) {
  .assistant-act, .assistant-act--ai { min-height: 48px; padding-block: 2px; }
  .assistant-act__ic { width: 40px; height: 40px; }
  .assistant-act__s { display: none; }
  .assistant-dial { gap: 6px; }
}

/* no JavaScript: the contact links still work (the advisor needs JS); where CSS scroll timelines exist they fade in after a short
   scroll, so they never sit over the hero's figures on first paint (the JS version does this with an IntersectionObserver) */
html:not(.js) [data-assistant-js] { display: none !important; }
@supports (animation-timeline: scroll()) {
  html:not(.js) .assistant-fab { animation: assistant-scrollin linear both; animation-timeline: scroll(root block); animation-range: 40px 120px; }
  @media (max-width: 719px), (max-height: 560px) { html:not(.js) .assistant-fab { animation-range: 300px 380px; } }
}
@keyframes assistant-scrollin { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
html:not(.js) .assistant-dial::before { display: none; }
@media (max-width: 719px), (max-height: 560px) {
  html:not(.js) .assistant-fab { width: auto; height: auto; }
  html:not(.js) .assistant-dial { position: static; visibility: visible; pointer-events: auto; gap: 8px; }
  html:not(.js) .assistant-act { opacity: 1; transform: none; width: 48px; min-height: 48px; height: 48px; padding: 1px; justify-content: center; }
  html:not(.js) .assistant-act__txt { display: none; }
}

/* ---------------------------------------------------------------- advisor panel */
.assistant-panel {
  --as-pad: 16px;
  position: fixed; z-index: 59; inset: auto;
  inset-inline-start: max(18px, var(--as-sx)); bottom: max(18px, var(--as-sb));
  flex-direction: column; margin: 0; padding: 0; overflow: hidden;
  width: min(412px, calc(100vw - 36px));
  height: min(720px, calc(100vh - var(--hdr-h) - 40px));
  height: min(720px, calc(100dvh - var(--hdr-h) - 40px));
  max-width: none; max-height: none;
  color: var(--limestone); font: 400 .9375rem/1.7 var(--f-text);
  background-color: var(--graphite);
  background-image:
    radial-gradient(130% 62% at 50% -14%, var(--membrane-soft), transparent 60%),
    linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
  border: 1px solid var(--line-2); border-radius: 22px;
  box-shadow: var(--inner-light), 0 44px 96px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .45);
  opacity: 0; transform: translate3d(0, 16px, 0) scale(.97); transform-origin: 0 100%;
  transition: opacity .26s var(--ease), transform .36s var(--ease);
}
html[dir="rtl"] .assistant-panel { transform-origin: 100% 100%; }
html[lang="en"] .assistant-panel { line-height: 1.6; }
.assistant-panel[open] { display: flex; }
.assistant-panel.is-in { opacity: 1; transform: none; }
.assistant-panel.is-out { opacity: 0; transform: translate3d(0, 12px, 0) scale(.98); transition-duration: .18s; }
.assistant-panel::backdrop { background: rgba(3, 3, 3, .6); }
.assistant-panel.is-sheet {
  inset: 0; top: var(--as-vvt, 0px); bottom: auto; width: 100%;
  height: 100vh; height: var(--as-vvh, 100dvh);
  border: 0; border-radius: 0; transform: translate3d(0, 36px, 0);
}
.assistant-panel.is-sheet.is-in { transform: none; }
.assistant-panel.is-sheet.is-out { transform: translate3d(0, 36px, 0); }
html.assistant-lock, html.assistant-lock body { overflow: hidden; }

/* header */
.assistant-head { position: relative; flex: none; display: flex; align-items: center; gap: 12px; padding: 14px var(--as-pad) 13px; border-bottom: 1px solid var(--line); }
.is-sheet .assistant-head { padding-top: max(12px, env(safe-area-inset-top, 0px)); }
.assistant-head::after { /* dimension-rule ornament */
  content: ""; position: absolute; bottom: -6px; inset-inline-start: var(--as-pad); width: 72px; height: 12px;
  background: var(--membrane); -webkit-mask: var(--orn-rule) center / 100% 100% no-repeat; mask: var(--orn-rule) center / 100% 100% no-repeat;
  opacity: .9; pointer-events: none;
}
html[dir="rtl"] .assistant-head::after { transform: scaleX(-1); }
.assistant-head__badge { width: 42px; height: 42px; }
.assistant-head__badge .assistant-badge__emb { width: 22px; }
.assistant-head__txt { flex: 1; min-width: 0; }
.assistant-head__t { margin: 0; font: 600 1rem/1.3 var(--f-display); letter-spacing: 0; overflow-wrap: anywhere; }
.assistant-head__t:focus { outline: none; }
.assistant-head__t:focus-visible { outline: 2px solid var(--membrane); outline-offset: 3px; }
.assistant-head__s { display: flex; align-items: center; gap: 7px; margin: 3px 0 0; font: 500 .75rem/1.3 var(--f-text); color: var(--concrete); }
.assistant-led--sm { width: 7px; height: 7px; box-shadow: none; }
[data-mode="ai"] .assistant-led--sm { box-shadow: 0 0 8px var(--lime-2); }
.assistant-head__act { flex: none; display: flex; gap: 2px; margin-inline-end: -6px; }

.assistant-ibtn {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
  border: 1px solid transparent; border-radius: 12px; background: none; color: var(--concrete);
  text-decoration: none; cursor: pointer; transition: color .2s, background-color .2s, border-color .2s;
}
.assistant-ibtn:hover { color: var(--limestone); background: var(--line); }
.assistant-ibtn .ic { width: 19px; height: 19px; }
.assistant-ibtn.is-confirm { color: var(--warn); border-color: currentColor; }
.assistant-ibtn--sm { width: 32px; height: 32px; border-radius: 10px; }
.assistant-ibtn--sm .ic { width: 15px; height: 15px; }

/* disclosure + privacy */
.assistant-disc {
  flex: none; display: flex; align-items: flex-start; gap: 8px; padding: 10px var(--as-pad) 9px;
  font: 400 .75rem/1.6 var(--f-text); color: var(--concrete);
  background: color-mix(in srgb, var(--bitumen) 40%, transparent); border-bottom: 1px solid var(--line);
}
.assistant-disc p { margin: 0; }
.assistant-disc__ic { width: 15px; height: 15px; margin-top: 2px; color: var(--membrane); }
.assistant-disc__more {
  padding: 3px 0; margin: -3px 0; border: 0; background: none; color: var(--limestone); font: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--membrane); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.assistant-privacy { flex: none; padding: 10px var(--as-pad) 12px; background: var(--graphite-2); border-bottom: 1px solid var(--line); }
.assistant-privacy p { margin: 0; font-size: .75rem; line-height: 1.65; color: var(--concrete); }

/* conversation */
.assistant-log {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 18px; padding: 18px var(--as-pad) 12px;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
  container: aslog / inline-size;
}
.assistant-log:focus-visible { outline-offset: -3px; border-radius: 8px; }
.assistant-msg { display: flex; flex-direction: column; gap: 7px; max-width: 100%; animation: assistant-in .32s var(--ease) both; }
.assistant-msg--user { align-items: flex-end; }
.assistant-bubble {
  max-width: 86%; padding: 10px 14px; border-radius: 18px; border-end-end-radius: 6px;
  color: var(--limestone); background: var(--graphite-3);
  background: color-mix(in srgb, var(--membrane) 12%, var(--graphite-2));
  border: 1px solid color-mix(in srgb, var(--membrane) 26%, transparent);
}
.assistant-bubble p { margin: 0; overflow-wrap: anywhere; }
.assistant-bubble__img { width: 100%; max-width: 240px; max-height: 260px; margin-bottom: 8px; object-fit: cover; border-radius: 12px; }
.assistant-bubble__ph { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; font-size: .8125rem; color: var(--concrete); }
.assistant-bubble__ph .ic { width: 17px; height: 17px; }
.assistant-bubble__note { display: flex; align-items: flex-start; gap: 6px; max-width: 86%; margin: 0; font: 400 .6875rem/1.55 var(--f-text); color: var(--concrete); }
.assistant-bubble__note .ic { width: 13px; height: 13px; margin-top: 2px; color: var(--warn); }

.assistant-by { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 .6875rem/1 var(--f-display); letter-spacing: .03em; color: var(--concrete); }
.assistant-by__hex { display: grid; place-items: center; width: 20px; height: 23px; color: var(--membrane-ink); background: var(--hex-fill) center / contain no-repeat; }
.assistant-by__emb { width: 11px; height: auto; }

.assistant-md { max-width: 100%; color: var(--limestone); overflow-wrap: anywhere; text-wrap: pretty; }
.assistant-md p { margin: 0 0 .65em; }
.assistant-md > :last-child, .assistant-card__main > :last-child { margin-bottom: 0; }
.assistant-md ul, .assistant-md ol, .assistant-list { display: grid; gap: .4em; margin: 0 0 .75em; padding: 0; list-style: none; }
.assistant-md ul li, .assistant-list li { position: relative; padding-inline-start: 18px; }
.assistant-md ul li::before, .assistant-list li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .68em; width: 6px; height: 6px; background: var(--membrane); transform: rotate(45deg);
}
html[lang="en"] .assistant-md ul li::before, html[lang="en"] .assistant-list li::before { top: .6em; }
.assistant-md ol { counter-reset: asol; }
.assistant-md ol li { position: relative; padding-inline-start: 28px; counter-increment: asol; }
.assistant-md ol li::before {
  content: counter(asol); position: absolute; inset-inline-start: 0; top: .28em; min-width: 19px; padding: 0 3px; border-radius: 5px;
  font: 600 .6875rem/1.6 var(--f-mono); text-align: center; color: var(--membrane-ink); background: var(--membrane);
}
.assistant-md strong { font-weight: 600; color: var(--limestone); }
.assistant-md em { font-style: normal; color: var(--membrane-hi); }
.assistant-md code { padding: 1px 5px; border-radius: 4px; font: .85em var(--f-mono); background: var(--graphite-3); }
.assistant-md__h { margin: .5em 0 .35em !important; font: 600 .9375rem/1.4 var(--f-display); }
.assistant-link {
  color: var(--membrane); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--membrane) 45%, transparent); transition: text-decoration-color .2s;
}
.assistant-link:hover { text-decoration-color: currentColor; }
.assistant-link--btn { padding: 0; border: 0; background: none; font: inherit; text-align: start; cursor: pointer; }
.assistant-caret {
  display: inline-block; width: 7px; height: 1.05em; margin-inline-start: 3px; vertical-align: -.17em;
  border-radius: 1px; background: var(--membrane); animation: assistant-caret 1s steps(2, start) infinite;
}
.assistant-typing { display: flex; margin: 0; }
.assistant-typing__dots { display: inline-flex; gap: 5px; padding: 10px 13px; border-radius: 14px; border-start-start-radius: 5px; background: var(--graphite-2); border: 1px solid var(--line); }
.assistant-typing__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--membrane); opacity: .3; animation: assistant-dot 1.1s var(--ease) infinite; }
.assistant-typing__dots i:nth-child(2) { animation-delay: .15s; }
.assistant-typing__dots i:nth-child(3) { animation-delay: .3s; }

.assistant-err {
  display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 12px;
  font-size: .8125rem; line-height: 1.6; color: var(--limestone);
  background: color-mix(in srgb, var(--warn) 9%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 32%, transparent);
}
.assistant-err .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--warn); }
.assistant-err--soft { color: var(--concrete); background: none; border-style: dashed; border-color: var(--line-2); }
.assistant-err--soft .ic { color: var(--concrete); }
.assistant-msg__act { display: flex; flex-wrap: wrap; gap: 6px; }
.assistant-mbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--concrete);
  font: 500 .75rem/1 var(--f-display); cursor: pointer; transition: color .2s, border-color .2s;
}
.assistant-mbtn .ic { width: 15px; height: 15px; }
.assistant-mbtn:hover { color: var(--limestone); border-color: var(--line-2); }
.assistant-mbtn.is-done { color: var(--membrane); border-color: color-mix(in srgb, var(--membrane) 45%, transparent); }
.assistant-notice {
  display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 0; padding: 8px 12px;
  border: 1px dashed var(--line-2); border-radius: 12px; font-size: .75rem; line-height: 1.6; color: var(--concrete); text-align: start;
}
.assistant-notice .ic { width: 15px; height: 15px; margin-top: 2px; color: var(--membrane); }

/* guided-mode cards and the quote summary */
.assistant-card {
  display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px;
  background: var(--graphite-2); background: color-mix(in srgb, var(--graphite-2) 94%, transparent);
  border: 1px solid var(--line); box-shadow: var(--inner-light);
}
.assistant-card__t { display: flex; align-items: center; gap: 9px; margin: 0; font: 600 .9375rem/1.4 var(--f-display); color: var(--limestone); }
.assistant-card__t::before { content: ""; flex: none; width: 11px; height: 12px; background: var(--hex-fill) center / contain no-repeat; }
.assistant-card--quote .assistant-card__t::before { display: none; }
.assistant-card__t .ic { width: 19px; height: 19px; color: var(--membrane); }
.assistant-card__body { display: flex; flex-direction: column; gap: 12px; }
.assistant-card__main { min-width: 0; font-size: .875rem; line-height: 1.75; }
html[lang="en"] .assistant-card__main { line-height: 1.62; }
.assistant-card__main > * { margin: 0 0 .7em; }
.assistant-card__main > .assistant-card__k { margin: 1em 0 .4em; }
.assistant-card__main > .assistant-card__k:first-child { margin-top: 0; }
.assistant-card__k { font: 600 .6875rem/1.3 var(--f-display); letter-spacing: .04em; color: var(--membrane); }
.assistant-card__muted { font-size: .8125rem; color: var(--concrete); }
.assistant-card__act { display: flex; flex-wrap: wrap; gap: 8px; }
@container aslog (min-width: 540px) {
  .assistant-card__body.has-visual { flex-direction: row; align-items: flex-start; }
  .assistant-card__body.has-visual > .assistant-system { flex: 0 0 40%; position: sticky; top: 0; }
}
.assistant-cbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: none; color: var(--limestone); font: 500 .8125rem/1.3 var(--f-display); text-align: center; text-decoration: none;
  cursor: pointer; transition: color .2s, border-color .2s, background-color .2s, box-shadow .25s, filter .2s;
}
.assistant-cbtn .ic { width: 16px; height: 16px; }
.assistant-cbtn:hover { color: var(--membrane); border-color: var(--membrane); }
.assistant-cbtn--lime { color: var(--membrane-ink); border-color: transparent; background: var(--membrane); background: var(--grad-lime); font-weight: 600; }
.assistant-cbtn--lime:hover { color: var(--membrane-ink); border-color: transparent; box-shadow: var(--glow-lime); filter: brightness(1.05); }
.assistant-cbtn--ghost { color: var(--concrete); border-color: transparent; }
.assistant-cbtn--ghost:hover { color: var(--limestone); border-color: var(--line-2); }
.assistant-cbtn--sm { min-height: 34px; padding: 4px 12px; font-size: .75rem; }
.assistant-cbtn[disabled] { opacity: .5; cursor: default; }
.assistant-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; }
@container aslog (min-width: 560px) { .assistant-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.assistant-gbtn {
  position: relative; display: flex; align-items: center; min-height: 46px; padding: 8px 12px; padding-inline-end: 28px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--graphite-3);
  background: color-mix(in srgb, var(--graphite-3) 72%, transparent); color: var(--limestone);
  font: 500 .8125rem/1.35 var(--f-display); text-align: start; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.assistant-gbtn::after {
  content: ""; position: absolute; inset-inline-end: 12px; top: 50%; width: 6px; height: 6px;
  border-top: 1.5px solid var(--membrane); border-inline-end: 1.5px solid var(--membrane); transform: translateY(-50%) rotate(45deg);
}
html[dir="rtl"] .assistant-gbtn::after { transform: translateY(-50%) rotate(-45deg); }
.assistant-gbtn:hover { border-color: color-mix(in srgb, var(--membrane) 55%, transparent); background: color-mix(in srgb, var(--membrane) 7%, var(--graphite-2)); }
.assistant-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.assistant-tags li { padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 6px; font: 500 .6875rem/1.45 var(--f-mono); color: var(--concrete); }
.assistant-list--plain li { display: flex; align-items: center; gap: 9px; padding-inline-start: 0; }
.assistant-list--plain li::before { display: none; }
.assistant-list--plain .ic { width: 16px; height: 16px; color: var(--membrane); }
.assistant-stat {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 10px 12px; border-radius: 12px;
  background: var(--membrane-soft); border: 1px solid color-mix(in srgb, var(--membrane) 24%, transparent);
}
.assistant-stat strong { font: 700 1.375rem/1 var(--f-display); color: var(--membrane); }
.assistant-stat span { font-size: .75rem; line-height: 1.5; color: var(--concrete); }
.assistant-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.assistant-spec > div { min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--bitumen) 30%, transparent); }
.assistant-spec > [data-k="services"], .assistant-spec > [data-k="notes"], .assistant-spec > [data-k="email"] { grid-column: 1 / -1; }
.assistant-spec dt { font: 500 .6875rem/1.4 var(--f-display); color: var(--concrete); }
.assistant-spec dd { margin: 2px 0 0; font: 600 .84rem/1.45 var(--f-display); color: var(--limestone); overflow-wrap: anywhere; }
.assistant-card--quote { border-color: color-mix(in srgb, var(--membrane) 40%, transparent); background: color-mix(in srgb, var(--membrane) 5%, var(--graphite-2)); }
.assistant-cities { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.assistant-cities li { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 .75rem/1.4 var(--f-display); }
.assistant-cities li.is-hq { color: var(--membrane); border-color: var(--membrane); }
.assistant-cities small { margin-inline-start: 4px; font-size: .625rem; color: var(--concrete); }
/* the company's system visual (systems feature, when present) */
.assistant-system { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.assistant-system__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 12px; background: var(--bitumen-deep); border: 1px solid var(--line); }
.assistant-system__media > img, .assistant-system__media > picture, .assistant-system__media > svg, .assistant-system__media > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.assistant-system figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.assistant-system__k { font: 600 .6875rem/1.3 var(--f-display); letter-spacing: .04em; color: var(--membrane); }
.assistant-system__t { flex: 1 1 auto; min-width: 0; font: 600 .8125rem/1.35 var(--f-display); }

/* suggestion chips */
.assistant-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.assistant-chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 13px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--graphite-2);
  background: color-mix(in srgb, var(--graphite-2) 85%, transparent); color: var(--limestone);
  font: 500 .78rem/1.35 var(--f-display); text-align: start; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.assistant-chip .ic { width: 15px; height: 15px; color: var(--membrane); }
.assistant-chip:hover { border-color: var(--membrane); }
.assistant-chip--ctx { border-color: color-mix(in srgb, var(--membrane) 50%, transparent); background: var(--membrane-soft); }
.assistant-note { flex: none; margin: 0; padding: 0 var(--as-pad) 8px; font-size: .75rem; line-height: 1.55; color: var(--membrane-hi); }

/* composer */
.assistant-compose { flex: none; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bitumen) 50%, transparent); }
.assistant-guard {
  margin: 0 0 10px; padding: 10px 12px; border-radius: 14px; font-size: .78rem; line-height: 1.6;
  background: color-mix(in srgb, var(--warn) 9%, var(--graphite-2)); border: 1px solid color-mix(in srgb, var(--warn) 36%, transparent);
}
.assistant-guard p { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; }
.assistant-guard .ic { width: 17px; height: 17px; margin-top: 2px; color: var(--warn); }
.assistant-guard__act { display: flex; flex-wrap: wrap; gap: 6px; }
.assistant-att { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 6px; border-radius: 14px; background: var(--graphite-2); border: 1px solid var(--line); }
.assistant-att > img { flex: none; width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
.assistant-att > p { flex: 1; min-width: 0; margin: 0; font-size: .72rem; line-height: 1.5; color: var(--concrete); }
.assistant-att__busy { display: flex !important; align-items: center; gap: 10px; padding: 8px 6px; }
.assistant-spin { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--membrane); animation: assistant-spin .8s linear infinite; }
.assistant-field {
  display: flex; align-items: flex-end; gap: 4px; padding: 4px; padding-inline-start: 14px;
  border: 1px solid var(--line-2); border-radius: 22px; background: var(--graphite-2);
  transition: border-color .2s, box-shadow .2s;
}
.assistant-field:focus-within { border-color: color-mix(in srgb, var(--membrane) 70%, transparent); box-shadow: 0 0 0 3px var(--membrane-soft); }
.assistant-input {
  flex: 1; min-width: 0; min-height: 40px; max-height: 148px; margin: 0; padding: 9px 0;
  border: 0; background: none; color: var(--limestone); font: 400 .9375rem/1.45 var(--f-text);
  resize: none; field-sizing: content; scrollbar-width: thin;
}
.assistant-input:focus, .assistant-input:focus-visible { outline: none; }
.assistant-input::placeholder { color: var(--concrete-2); opacity: 1; }
.assistant-tools { flex: none; display: flex; align-items: center; gap: 2px; }
.assistant-attwrap { position: relative; display: inline-flex; }
.assistant-tbtn {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--concrete); cursor: pointer; transition: color .2s, background-color .2s;
}
.assistant-tbtn .ic { width: 20px; height: 20px; }
.assistant-tbtn:hover { color: var(--limestone); background: var(--line); }
.assistant-tbtn:focus-visible, .assistant-send:focus-visible { outline-offset: 1px; border-radius: 50%; }
.assistant-tbtn.is-on { color: var(--membrane-ink); background: var(--membrane); animation: assistant-mic 1.4s var(--ease) infinite; }
.assistant-tbtn[disabled] { opacity: .45; cursor: default; }
.assistant-send {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  color: var(--membrane-ink); background: var(--membrane); background: var(--grad-lime);
  cursor: pointer; transition: box-shadow .25s, background-color .2s, color .2s;
}
.assistant-send .ic { width: 20px; height: 20px; stroke-width: 2; }
.assistant-send:not([disabled]):hover { box-shadow: var(--glow-lime); }
.assistant-send[disabled] { color: var(--concrete-2); background: var(--graphite-3); cursor: default; }
.assistant-send--stop { color: var(--bitumen); background: var(--limestone); }
.assistant-attmenu {
  position: absolute; bottom: calc(100% + 10px); inset-inline-end: -4px; z-index: 2;
  display: flex; flex-direction: column; min-width: 200px; padding: 6px; border-radius: 14px;
  background: var(--graphite-3); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .9);
  animation: assistant-pop .25s var(--ease) both;
}
.assistant-attmenu button {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; border: 0; border-radius: 10px;
  background: none; color: var(--limestone); font: 500 .8125rem/1.2 var(--f-display); text-align: start; cursor: pointer;
}
.assistant-attmenu button:hover { background: var(--line); }
.assistant-attmenu .ic { width: 18px; height: 18px; color: var(--membrane); }
.assistant-count { margin: 6px 6px 0; font: 500 .6875rem/1 var(--f-mono); text-align: end; color: var(--concrete-2); }
.assistant-count.is-max { color: var(--warn); }

/* human hand-off */
.assistant-foot { flex: none; display: flex; align-items: center; gap: 2px; padding: 8px 10px 10px; padding-inline-start: var(--as-pad); border-top: 1px solid var(--line); }
.is-sheet .assistant-foot { padding-bottom: max(10px, var(--as-sb)); }
.assistant-foot__t { flex: 1; min-width: 0; font: 500 .72rem/1.35 var(--f-display); color: var(--concrete); }
.assistant-foot .assistant-ibtn { color: var(--limestone); }
.assistant-foot .assistant-ibtn:hover { color: var(--membrane); }
.assistant-foot__quote {
  display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 36px; margin-inline-start: 6px; padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--membrane) 55%, transparent); border-radius: 999px;
  background: var(--membrane-soft); color: var(--membrane); font: 600 .75rem/1.2 var(--f-display); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.assistant-foot__quote:hover { background: var(--membrane); color: var(--membrane-ink); }
.assistant-foot__quote .ic { width: 15px; height: 15px; }

/* touch: bigger targets; 16px text in the field so iOS does not zoom */
@media (pointer: coarse) {
  .assistant-ibtn { width: 44px; height: 44px; }
  .assistant-ibtn--sm { width: 40px; height: 40px; }
  .assistant-tbtn, .assistant-send { width: 44px; height: 44px; }
  .assistant-cbtn { min-height: 44px; }
  .assistant-cbtn--sm { min-height: 40px; }
  .assistant-mbtn { min-height: 40px; padding: 0 14px; }
  .assistant-chip { min-height: 42px; }
  .assistant-gbtn { min-height: 48px; }
  .assistant-foot__quote { min-height: 44px; }
  .assistant-input { font-size: 16px; }
}
@media (max-width: 400px) {
  .assistant-panel { --as-pad: 14px; }
  .assistant-head { gap: 10px; }
  .assistant-head__t { font-size: .9375rem; }
  .assistant-foot__t { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .assistant-foot { padding-inline-start: 8px; }
  .assistant-foot__quote { margin-inline-start: auto; }
}

/* ---------------------------------------------------------------- motion */
@keyframes assistant-in { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
@keyframes assistant-pop { from { opacity: 0; transform: translate3d(0, 8px, 0) scale(.97); } }
@keyframes assistant-caret { to { opacity: 0; } }
@keyframes assistant-spin { to { transform: rotate(360deg); } }
@keyframes assistant-blink { 50% { opacity: .35; } }
@keyframes assistant-dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes assistant-ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes assistant-led { 50% { box-shadow: 0 0 0 2px var(--graphite), 0 0 3px var(--lime-2); } }
@keyframes assistant-mic { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--membrane) 55%, transparent); } 100% { box-shadow: 0 0 0 11px color-mix(in srgb, var(--membrane) 0%, transparent); } }
@media (prefers-reduced-motion: reduce) {
  .assistant-fab, .assistant-fab *, .assistant-fab *::before, .assistant-fab *::after,
  .assistant-panel, .assistant-panel *, .assistant-panel *::before, .assistant-panel *::after { animation: none !important; transition: none !important; }
  .assistant-panel, .assistant-panel.is-sheet { transform: none; }
  .assistant-typing__dots i { opacity: .75; }
  .assistant-fab.is-hidden, html.brand-on .assistant-fab { transform: none; }
}

/* ---------------------------------------------------------------- forced colours, print */
@media (forced-colors: active) {
  .assistant-fab, .assistant-act, .assistant-toggle, .assistant-panel, .assistant-cbtn, .assistant-chip, .assistant-gbtn,
  .assistant-field, .assistant-send, .assistant-card, .assistant-bubble { border: 1px solid CanvasText; }
  .assistant-badge__hex { fill: CanvasText; }
  .assistant-badge__emb { color: Canvas; }
}
@media print { .assistant-fab, .assistant-panel, .assistant-spacer { display: none !important; } }

/* ---- feature: bank.css ---- */
/* Bank transfer details (#bank). Prefix `banks` (site.css already uses `.bank` for the registration aside). Mobile first. */
.banks { background: radial-gradient(80% 60% at 100% 0%, rgba(255, 255, 255, .035), transparent 70%), var(--bitumen); }
html[dir="rtl"] .banks { background: radial-gradient(80% 60% at 0% 0%, rgba(255, 255, 255, .035), transparent 70%), var(--bitumen); }
.banks__grid { display: grid; gap: 16px; align-items: start; }

/* the transfer slip: beneficiary + accounts + notice */
.banks__slip { position: relative; padding: 18px 16px 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012) 60%), var(--graphite); box-shadow: var(--inner-light); min-width: 0; }
.banks__tk { position: absolute; width: 16px; height: 16px; border: 0 solid var(--membrane); pointer-events: none; }
.banks__tk--a { top: -1px; inset-inline-start: -1px; border-top-width: 2px; border-inline-start-width: 2px; }
.banks__tk--b { top: -1px; inset-inline-end: -1px; border-top-width: 2px; border-inline-end-width: 2px; }
.banks__tk--c { bottom: -1px; inset-inline-start: -1px; border-bottom-width: 2px; border-inline-start-width: 2px; }
.banks__tk--d { bottom: -1px; inset-inline-end: -1px; border-bottom-width: 2px; border-inline-end-width: 2px; }

.banks__lab { margin: 0; font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--concrete-2); line-height: 1.5; }
html[lang="ar"] .banks__lab:not([lang="en"]) { font-family: var(--f-display); font-size: .82rem; letter-spacing: 0; text-transform: none; }

.banks__ben { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; padding-bottom: 18px; }
.banks__ben::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--membrane); box-shadow: 0 0 14px rgba(224, 227, 32, .38); }
.banks__benm { min-width: 0; }
.banks__benv { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; }
.banks__benp { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.4; color: var(--limestone); }
html[lang="en"] .banks__benp { font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.banks__bens { font-size: .98rem; color: var(--concrete); }
.banks__bena { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.banks__cur { margin: 0; display: flex; flex-direction: column; }
.banks__curv { font-size: .92rem; color: var(--concrete); white-space: nowrap; }
.banks__curv b { font-weight: 500; letter-spacing: .1em; color: var(--membrane); margin-inline-end: 4px; }

.banks__accl { margin: 22px 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; }
.banks__accl > span:first-child { font-family: var(--f-display); font-weight: 600; font-size: .96rem; }
.banks__accn { font-size: .84rem; color: var(--concrete-2); }

.banks__accs { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: rgba(6, 6, 6, .35); }
.banks__acc { padding: 16px 14px 16px; border-bottom: 1px solid var(--line); transition: background-color .25s; }
.banks__acc:last-child { border-bottom: 0; }
.banks__acch { display: flex; align-items: flex-start; gap: 12px; }
.banks__n { flex: none; display: grid; place-items: center; min-width: 38px; height: 28px; margin-top: 1px; padding: 0 6px; border: 1px solid rgba(224, 227, 32, .85); border-radius: 3px; font-family: var(--f-mono); font-size: .86rem; font-weight: 500; letter-spacing: .06em; color: var(--membrane); }
.banks__bank { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; line-height: 1.55; text-wrap: initial; }
.banks__bo { font-family: var(--f-text); font-weight: 400; font-size: .86rem; color: var(--concrete-2); }
.banks__ib { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.banks__ibl { margin: 0; display: flex; gap: 10px; align-items: baseline; }
.banks__iban { margin: 0 0 10px; font-size: clamp(.9rem, 4.1vw, 1.62rem); font-weight: 500; line-height: 1.35; letter-spacing: .015em; color: var(--limestone); white-space: nowrap; text-align: left; font-variant-numeric: tabular-nums; -webkit-user-select: text; user-select: text; }
html[dir="rtl"] .banks__iban { text-align: right; }
.banks__g { display: inline-block; }
.banks__g ~ .banks__g { margin-left: .4em; }
.banks__cc { color: var(--membrane); }

/* copy buttons: pill, icon + label; success state swaps the icon and the label (bank.js) */
.banks__copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--limestone); font-family: var(--f-display); font-size: .86rem; font-weight: 600; line-height: 1.25; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.banks__copy .ic { width: 18px; height: 18px; }
.banks__copy:hover { border-color: var(--membrane); background: rgba(255, 255, 255, .05); }
.banks__copy .banks__i2, .banks__all.is-done .ic { display: none; }
.banks__copy.is-done { background: var(--membrane); border-color: var(--membrane); color: var(--membrane-ink); }
.banks__copy.is-done .banks__i1 { display: none; }
.banks__copy.is-done .banks__i2 { display: block; }
.banks__copy--iban { width: 100%; }
.banks__all.is-done { background: var(--membrane-hi); }

.banks__note { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 14px; border: 1px solid rgba(240, 180, 90, .45); border-inline-start: 3px solid var(--warn); background: rgba(255, 255, 255, .03); }
.banks__ni { width: 26px; height: 26px; margin-top: 2px; color: var(--warn); }
.banks__note p { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: .94rem; line-height: 1.75; }
.banks__note strong { font-family: var(--f-display); font-size: .86rem; font-weight: 600; color: var(--warn); }
.banks__tel { font-weight: 600; color: var(--limestone); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--warn); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.banks__tel:hover { color: var(--warn); }

/* side: send / download / direct link / receipt */
.banks__side { display: grid; gap: 12px; min-width: 0; }
.banks__box { padding: 18px 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--inner-light); min-width: 0; }
.banks__bt { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.45; }
.banks__bt .ic { color: var(--membrane); }
.banks__send { position: relative; display: grid; gap: 10px; border-color: var(--line-2); background: var(--surface), var(--graphite); }
.banks__send::before { content: ""; position: absolute; top: -1px; inset-inline-start: -1px; width: 56px; height: 2px; background: var(--membrane); box-shadow: 0 0 12px rgba(224, 227, 32, .55); }
.banks__send .banks__bt { margin-bottom: 4px; }
.banks__send .btn { width: 100%; }
.banks__thumb { position: relative; display: block; margin-bottom: 8px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); background: #0B0B0B; }
.banks__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.banks__thumb:hover img { transform: scale(1.03); }
.banks__zoom { position: absolute; bottom: 10px; inset-inline-end: 10px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(8, 8, 8, .78); border: 1px solid var(--line-2); color: var(--limestone); }
.banks__zoom .ic { width: 18px; height: 18px; }
.banks__files { list-style: none; margin: 0; padding: 0; }
.banks__file { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-height: 52px; padding: 8px 2px; border-bottom: 1px solid var(--line); color: var(--limestone); text-decoration: none; transition: color .2s; }
.banks__files li:last-child .banks__file { border-bottom: 0; }
.banks__ft { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: .92rem; font-weight: 500; }
.banks__ft .ic { width: 18px; height: 18px; color: var(--membrane); transition: transform .3s var(--ease); }
.banks__file:hover { color: var(--membrane); }
.banks__file:hover .banks__ft .ic { transform: translateY(2px); }
.banks__fm { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-inline-start: 28px; font-size: .78rem; color: var(--concrete-2); white-space: nowrap; }
.banks__fm .num { font-family: var(--f-mono); }
.banks__fmt { padding: 0 6px; border: 1px solid var(--line-2); border-radius: 2px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; line-height: 1.6; color: var(--concrete); }
.banks__lk { margin: -4px 0 0; font-size: .88rem; line-height: 1.65; color: var(--concrete); }
.banks__url { margin: 10px 0 12px; padding: 9px 12px; border: 1px dashed var(--line-2); background: var(--bitumen-deep); font-size: .84rem; line-height: 1.5; color: var(--membrane); text-align: left; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.banks__la { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.banks__open, .banks__wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--limestone); font-family: var(--f-display); font-size: .88rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--membrane); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.banks__open .ic, .banks__wa .ic { width: 18px; height: 18px; color: var(--membrane); }
.banks__open:hover, .banks__wa:hover { color: var(--membrane); }
.banks__rc { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 18px; }
.banks__rc p { margin: 0; font-size: .9rem; line-height: 1.7; color: var(--concrete); }

.banks a:focus-visible, .banks button:focus-visible { outline: 2px solid var(--membrane); outline-offset: 3px; }
.banks__copy:focus-visible { outline-offset: 2px; }

/* without JavaScript the copy buttons cannot work: hide them (IBANs stay selectable; links still work) */
html:not(.js) .banks__copy, html:not(.js) .banks__all { display: none; }

@media (min-width: 560px) {
  .banks__slip { padding: 26px 26px 24px; }
  .banks__acc { padding: 18px 22px 18px; }
  .banks__ib { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l c" "v c"; column-gap: 18px; align-items: center; }
  .banks__ibl { grid-area: l; }
  .banks__iban { grid-area: v; margin: 0; font-size: clamp(1.1rem, 2.9vw, 1.62rem); }
  .banks__copy--iban { grid-area: c; width: auto; }
  .banks__box { padding: 20px 20px; }
}
@media (min-width: 760px) {
  .banks__side { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; align-items: start; }
  .banks__dl { grid-row: span 2; }
}
@media (min-width: 1180px) {
  .banks__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 28px; }
  .banks__side { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .banks__dl { grid-row: auto; }
  .banks__slip { padding: 34px 34px 30px; }
  .banks__tk { width: 22px; height: 22px; }
  .banks__acc { padding: 20px 26px 20px; }
  .banks__acc:hover { background: rgba(255, 255, 255, .025); }
  .banks__iban { font-size: clamp(1.3rem, 1.88vw, 1.7rem); }
  .banks__side { position: sticky; top: calc(var(--hdr-h) + 20px); }
}
@media (prefers-reduced-motion: reduce) {
  .banks__thumb img, .banks__ft .ic { transition: none; }
}

/* ---- feature: brand.css ---- */
/* brand: phoenix intro overlay, PSBrand film wrapper, #presence section (satin flag + on-site photo strip) */

/* ---------- first-paint cover: black from the very first frame while the intro may play (brand.mjs's inline script and
   brand.js add html.brand-off as soon as it is not wanted); fades by itself if scripts never take over */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.brand-off) body::after { content: ""; position: fixed; inset: 0; z-index: 2147483000; background: #000; pointer-events: none; animation: brand-cover .5s ease 3.2s forwards; }
}
@keyframes brand-cover { to { opacity: 0; visibility: hidden; } }

/* ---------- intro overlay (a modal <dialog> in the top layer) */
.brand-intro { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--limestone); overflow: hidden; outline: none; }
.brand-intro[open] { display: block; }
.brand-intro::backdrop { background: transparent; }
.brand-intro.is-fade { opacity: 0; transition: opacity .38s ease; }
.brand-intro__bg { position: absolute; inset: 0; background: #000; will-change: transform; }
.brand-intro__edge { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--membrane); box-shadow: 0 0 16px 1px rgba(224, 227, 32, .55), 0 0 70px 10px rgba(224, 227, 32, .16); opacity: 0; transition: opacity .2s; }
.brand-intro.is-lift .brand-intro__edge { opacity: 1; }
.brand-intro__glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: radial-gradient(ellipse min(66vh, 48vw) min(72vh, 80vw) at 50% 58%, rgba(224, 227, 32, .2), rgba(224, 227, 32, .06) 46%, transparent 72%); }
.brand-intro__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .5s ease; }
.brand-intro__stage { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .45s ease; mix-blend-mode: screen; } /* the film's black melts into the glow: no portrait frame */
.brand-intro.is-playing .brand-intro__stage { opacity: 1; transition-duration: .7s; }
/* the element has the film's own 9:16 shape so the feathered edges sit on the frame (no hard portrait edges on wide screens) */
.brand-intro__vid { display: block; width: min(100vw, 100vh * .5625); width: min(100vw, 100svh * .5625); height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #000; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 3%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 3%, #000 90%, transparent 100%); mask-composite: intersect; }
/* pillarboxed (wide screens): a wider feather melts the portrait frame into the black */
@media (min-aspect-ratio: 3/4) {
  .brand-intro__vid { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 3%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 3%, #000 90%, transparent 100%); }
}
.brand-intro.is-film-out .brand-intro__stage, .brand-intro.is-film-out .brand-intro__glow, .brand-intro.is-film-out .brand-intro__fx { opacity: 0; transition-duration: .45s; }
.brand-intro__fly { position: absolute; left: 0; top: 0; width: 100px; height: auto; color: var(--membrane); opacity: 0; transform-origin: 0 0; pointer-events: none; will-change: transform, opacity; filter: drop-shadow(0 0 12px rgba(224, 227, 32, .32)); }
.brand-intro.is-landed .brand-intro__fly { visibility: hidden; }
.brand-intro__skip { position: absolute; bottom: max(22px, env(safe-area-inset-bottom)); inset-inline-end: max(22px, env(safe-area-inset-right)); z-index: 3; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px 6px 18px; padding-inline: 18px 8px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(6, 6, 6, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--limestone); font: 500 .8rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; opacity: 0; transition: opacity .5s ease .7s, border-color .2s, background-color .2s; }
html[lang="ar"] .brand-intro__skip { font-family: var(--f-display); font-weight: 500; letter-spacing: 0; font-size: .9rem; }
.brand-intro.is-playing .brand-intro__skip { opacity: 1; }
.brand-intro.is-exit .brand-intro__skip { opacity: 0; transition-delay: 0s; transition-duration: .25s; pointer-events: none; }
.brand-intro__skip:hover { border-color: rgba(224, 227, 32, .85); background: rgba(18, 18, 18, .7); }
.brand-intro__skip svg { width: 30px; height: 30px; fill: none; stroke-linecap: round; }
.brand-intro__trk { stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; }
.brand-intro__prog { stroke: var(--membrane); stroke-width: 1.8; stroke-dasharray: 106.8; stroke-dashoffset: 106.8; transform: rotate(-90deg); transform-origin: 20px 20px; }
.brand-intro__skip path { stroke: var(--limestone); stroke-width: 1.6; stroke-linejoin: round; transform-origin: 20px 20px; }
html[dir="rtl"] .brand-intro__skip path { transform: scaleX(-1); }
.brand-intro__skip:focus-visible { outline: 1.5px solid var(--membrane); outline-offset: 4px; }
.brand-intro:focus, .brand-intro:focus-visible { outline: none; }
html.brand-gliding .hdr .brand__emb { visibility: hidden; }
/* the hero copy waits behind the curtain, then enters as it lifts */
html.js .hero.brand-hold .hero__copy > * { opacity: 0; transform: translateY(14px); transition: none; }

/* ---------- PSBrand.phoenix(container): the film screen-blended over the caller's backdrop */
.brand-ph { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .38s ease; mix-blend-mode: screen; }
.brand-ph.is-on { opacity: 1; }
.brand-ph__vid { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- section #presence */
.brand-pres { overflow: hidden; isolation: isolate; }
.brand-pres::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 30% 40% at 74% 38%, rgba(255, 255, 255, .03), transparent 70%), radial-gradient(ellipse 46% 62% at 74% 38%, rgba(255, 255, 255, .035), transparent 70%), linear-gradient(to bottom, transparent, rgba(3, 3, 3, .6)); }
html[dir="rtl"] .brand-pres::before { background: radial-gradient(ellipse 30% 40% at 26% 38%, rgba(255, 255, 255, .03), transparent 70%), radial-gradient(ellipse 46% 62% at 26% 38%, rgba(255, 255, 255, .035), transparent 70%), linear-gradient(to bottom, transparent, rgba(3, 3, 3, .6)); }
.brand-pres__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.brand-pres__copy .sec__head { margin-bottom: clamp(26px, 3.4vw, 40px); }
.brand-pres__pts { list-style: none; margin: 0 0 clamp(26px, 3.4vw, 40px); padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.brand-pres__pts li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.brand-pres__no { font-family: var(--f-mono); font-size: .78rem; color: var(--membrane); padding-top: .3em; letter-spacing: .08em; }
.brand-pres__pts h3 { margin: 0 0 .3em; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; line-height: 1.45; }
.brand-pres__pts p { margin: 0; color: var(--concrete); font-size: .98rem; line-height: 1.65; }
.brand-pres__reach { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.brand-pres__reach strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1.05; color: var(--membrane); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-pres__reach strong { background: var(--grad-lime-v); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.brand-pres__reach span { color: var(--limestone); font-family: var(--f-display); font-size: 1rem; }
.brand-pres__cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-pres__cities li { padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-display); font-size: .84rem; color: var(--concrete); line-height: 1.3; }
.brand-pres__cities li:first-child { border-color: var(--membrane); color: var(--limestone); box-shadow: 0 0 16px -6px rgba(224, 227, 32, .55); }

/* the flag */
.brand-flag { margin: 0; position: relative; }
.brand-flag__stage { position: relative; aspect-ratio: 10 / 9; }
.brand-flag__stage::before { content: ""; position: absolute; inset: 8% 4% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 52% 46% at 50% 42%, rgba(255, 255, 255, .045), transparent 72%); }
.brand-flag__still, .brand-flag__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.brand-flag__still { object-fit: contain; transition: opacity .6s ease; }
.brand-flag__cv { opacity: 0; transition: opacity .6s ease; }
.brand-flag.is-live .brand-flag__cv { opacity: 1; }
.brand-flag.is-live .brand-flag__still { opacity: 0; }
.brand-flag__cap { margin-top: 6px; text-align: center; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .32em; color: var(--concrete-2); }

/* the photo strip: native horizontal scroll by default (no JS / reduced motion); brand.js turns it into a drifting, draggable reel */
.brand-strip { margin-top: clamp(56px, 7vw, 96px); }
.brand-strip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.brand-strip__t { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.4; }
.brand-strip__n { margin-inline-start: 8px; font-family: var(--f-mono); font-size: .8rem; font-weight: 500; color: var(--membrane); vertical-align: middle; }
.brand-strip__hint { margin: 0; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; color: var(--concrete-2); }
html[lang="ar"] .brand-strip__hint { font-family: var(--f-display); letter-spacing: 0; font-size: .82rem; }
.brand-strip__vp { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; padding-bottom: 12px; }
.brand-strip__track { display: flex; width: max-content; padding-inline: max(var(--gut), (100vw - var(--wrap)) / 2 + var(--gut)); }
.brand-strip__set { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.brand-strip__set[data-brand-copy] { display: none; }
.brand-strip__i { flex: none; height: clamp(190px, 21vw, 290px); aspect-ratio: var(--ar, 1.333); max-width: min(78vw, 520px); scroll-snap-align: start; }
.brand-strip__b { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--r-m); overflow: hidden; cursor: zoom-in; color: inherit; background: var(--graphite); -webkit-tap-highlight-color: transparent; }
.brand-strip__b img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease), filter .4s; -webkit-user-drag: none; user-select: none; }
.brand-strip__b::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; }
.brand-strip__cap { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 14px 11px; background: linear-gradient(to top, rgba(6, 6, 6, .82), transparent); color: var(--limestone); font-size: .82rem; line-height: 1.35; text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.brand-strip__b:focus-visible { outline: 2px solid var(--membrane); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
  .brand-strip__b:hover img { transform: scale(1.045); }
}
.brand-strip.is-drift .brand-strip__vp { overflow: hidden; scroll-snap-type: none; touch-action: pan-y; cursor: grab; padding-bottom: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%); }
.brand-strip.is-drift .brand-strip__track { padding-inline: 0; will-change: transform; }
.brand-strip.is-drift .brand-strip__set { padding-inline-end: 14px; }
.brand-strip.is-drift .brand-strip__set[data-brand-copy] { display: flex; }
.brand-strip.is-drag .brand-strip__vp { cursor: grabbing; }
.brand-strip.is-drag .brand-strip__b { cursor: grabbing; }

/* narrow screens: title + lead, then the flag, then the points (the copy block dissolves into the grid) */
@media (max-width: 960px) {
  .brand-pres__grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .brand-pres__copy { display: contents; }
  .brand-pres__copy > .sec__head { order: 1; }
  .brand-flag { order: 2; max-width: 620px; width: 100%; margin: 0 auto clamp(30px, 6vw, 44px); }
  .brand-pres__pts { order: 3; }
  .brand-pres__reach { order: 4; }
  .brand-pres__cities { order: 5; }
}
@media (max-width: 600px) {
  .brand-pres__pts li { grid-template-columns: 34px 1fr; gap: 10px; padding: 15px 0; }
  .brand-strip__i { height: 200px; }
  .brand-strip__cap { font-size: .78rem; }
}
@media print {
  html.js body::after { display: none !important; }
  .brand-intro, .brand-ph { display: none !important; }
  .brand-strip__vp { overflow: visible; }
}

/* ---- feature: dash.css ---- */
/* ---------- dash: "Prime Shield in numbers" (#numbers) + motion upgrades for .sky and .coverage .map
   Entrance states are opt-in classes added by dash.js (dash-arm / is-go), so without JS or with reduced motion
   every number, bar and line renders in its final state. */
.dash { --dash-ease: cubic-bezier(.16, 1, .3, 1); --dash-grey: #4A4A4A; overflow: clip; }
.dash::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 75%); }
.dash .wrap { position: relative; }
/* the section already carries a level eyebrow ("01 —"): no second ornament above the title */
.dash__kick--sec + .sec__head::before { display: none; }

/* odometer: the real text is a transparent, selectable layer; reels are the visible decorative duplicate */
.dash__odo { position: relative; display: inline-flex; vertical-align: top; line-height: 1.12; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; unicode-bidi: isolate; }
.dash__odo-txt { position: absolute; inset: 0; z-index: 1; color: transparent; }
.dash__odo-txt::selection { color: transparent; background: rgba(224, 227, 32, .35); }
.dash__odo-anim { display: inline-flex; -webkit-user-select: none; user-select: none; }
.dash__dg, .dash__sym { display: block; height: 1.12em; overflow: hidden; }
/* soft top/bottom fade on each digit window: rolling digits slide in and out of a lit slot (glyphs sit inside the clear band) */
.dash__dg { -webkit-mask-image: linear-gradient(transparent, #000 17%, #000 87%, transparent); mask-image: linear-gradient(transparent, #000 17%, #000 87%, transparent); }
.dash__reel { display: block; transform: translateY(calc((10 + var(--n)) * -5%)); }
.dash__sym.is-acc { color: var(--membrane); }
.dash-arm .dash__reel { transform: translateY(0); }
.dash-arm.is-go .dash__reel { transform: translateY(calc((10 + var(--n)) * -5%)); transition: transform 1.9s var(--dash-ease) calc(var(--k, 0) * 90ms + var(--j, 0) * 55ms + .1s); }
/* separators (",") stay put like a real counter; the "+" / "%" accent lands as the reels settle */
.dash__sym.is-acc { transform-origin: 50% 70%; }
.dash-arm .dash__sym.is-acc { opacity: 0; transform: translateY(-.18em) scale(.6); }
.dash-arm.is-go .dash__sym.is-acc { opacity: 1; transform: none; transition: opacity .45s ease calc(var(--k, 0) * 90ms + 1.15s), transform .7s cubic-bezier(.3, 1.6, .5, 1) calc(var(--k, 0) * 90ms + 1.15s); }

/* ---------- KPI board */
.dash__board { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 4fr); gap: 14px; }
.dash__kpis { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dash__kpi, .dash__hero, .dash__panel { position: relative; border-radius: var(--r-l); isolation: isolate; }
.dash__kpi { container-type: inline-size; overflow: hidden; display: flex; flex-direction: column; min-height: 202px; padding: 22px 22px 20px; background: linear-gradient(160deg, var(--graphite-2), var(--graphite) 72%); border: 1px solid var(--line); box-shadow: var(--inner-light); transition: border-color .3s, transform .45s var(--dash-ease); }
.dash__kv { order: -1; margin: 0 0 auto; padding-bottom: 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 2.7vw, 2.75rem); font-size: min(27cqi, 2.9rem); line-height: 1; color: var(--limestone); }
.dash__kl { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: .98rem; line-height: 1.45; text-wrap: balance; }
.dash__ks { margin: 5px 0 0; font-size: .82rem; line-height: 1.5; color: var(--concrete); text-wrap: balance; }
html[lang="en"] .dash__kl { font-size: .98rem; line-height: 1.32; }
.dash__glow { position: absolute; left: 0; top: 0; z-index: -1; width: 280px; height: 280px; margin: -140px 0 0 -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .075), rgba(255, 255, 255, 0)); opacity: 0; transform: translate(var(--mx, 0px), var(--my, 0px)); transition: opacity .35s; pointer-events: none; }
@media (hover: hover) {
  .dash__kpi:hover { border-color: rgba(224, 227, 32, .8); transform: translateY(-2px); }
  .dash__kpi:hover .dash__glow { opacity: 1; }
}
.dash-arm .dash__kpi { opacity: 0; transform: translateY(14px); }
.dash-arm.is-go .dash__kpi { opacity: 1; transform: none; transition: opacity .7s ease calc(var(--k) * 90ms), transform .9s var(--dash-ease) calc(var(--k) * 90ms), border-color .3s; }

/* hero tile: lime, concentric rings (water ripple on a membrane) */
.dash__hero { container-type: inline-size; overflow: hidden; display: flex; flex-direction: column; min-height: 418px; padding: 24px 26px 26px; background: var(--membrane); color: var(--membrane-ink); box-shadow: 0 34px 80px -44px rgba(224, 227, 32, .55); }
.dash__rings { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
html[dir="rtl"] .dash__rings { transform: scaleX(-1); }
.dash__ring, .dash__ripple { fill: none; stroke: rgba(10, 10, 10, .17); stroke-width: 1.3; transform-box: fill-box; transform-origin: center; }
.dash__ripple { stroke: rgba(10, 10, 10, .26); opacity: 0; }
.dash__hero-top { display: flex; justify-content: space-between; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.dash__hero-k { margin: 0; font-family: var(--f-display); font-size: 1.04rem; font-weight: 700; line-height: 1.4; }
.dash__tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .18em; white-space: nowrap; }
.dash__live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--membrane-ink); }
.dash__live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--membrane-ink); opacity: 0; }
.dash__hero-body { margin-top: auto; padding-top: 40px; }
.dash__hero-v { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-size: min(20.5cqi, 5.2rem); line-height: 1; }
.dash__hero .dash__sym.is-acc { color: inherit; }
.dash__hero-l1 { margin: 16px 0 0; max-width: 24ch; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; line-height: 1.45; }
.dash__hero-l2 { margin: 4px 0 0; font-size: .95rem; color: rgba(10, 10, 10, .72); }
.dash-arm .dash__ring { opacity: 0; transform: scale(.82); }
.dash-arm.is-go .dash__ring { opacity: 1; transform: none; transition: opacity 1s ease calc(var(--r) * 120ms + .15s), transform 1.4s var(--dash-ease) calc(var(--r) * 120ms + .15s); }
.dash-fx .dash__ripple { animation: dash-ripple 5.6s cubic-bezier(.22, .6, .35, 1) infinite paused; }
.dash-fx .dash__ripple--2 { animation-delay: -2.8s; }
.dash-fx .dash__live::after { animation: dash-live 2.4s ease-out infinite paused; }
.dash-fx .is-vis .dash__ripple, .dash-fx .is-vis .dash__live::after { animation-play-state: running; }
@keyframes dash-ripple { 0% { transform: scale(.05); opacity: 0; } 12% { opacity: 1; } 100% { transform: scale(1.05); opacity: 0; } }
@keyframes dash-live { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- portfolio performance */
.dash__perf { margin-top: clamp(64px, 8vw, 110px); }
.dash__phd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 48ch); align-items: end; gap: 10px 56px; margin-bottom: 28px; }
.dash__kick { grid-column: 1 / -1; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--membrane); }
html[lang="ar"] .dash__kick { font-family: var(--f-text); font-size: .9rem; letter-spacing: 0; }
.dash__lvl { display: inline-flex; align-items: center; gap: 12px; margin-inline-end: 14px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; color: var(--concrete-2); }
.dash__lvl::after { content: ""; width: 28px; height: 1px; background: var(--membrane); }
.dash__kick--sec { margin-bottom: 16px; }
.dash__h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 2.7vw, 2.35rem); line-height: 1.32; }
html[lang="en"] .dash__h3 { letter-spacing: -.02em; line-height: 1.12; }
.dash__ptx { margin: 0; color: var(--concrete); font-size: .98rem; }
.dash__grid-p { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .92fr); grid-template-areas: "g g s" "p y s"; gap: 14px; }
.dash__growth { grid-area: g; }
.dash__status { grid-area: s; }
.dash__partners { grid-area: p; }
.dash__systems { grid-area: y; }
.dash__panel { margin: 0; min-width: 0; padding: 22px 24px 24px; background: linear-gradient(165deg, var(--graphite-2), var(--graphite) 62%); border: 1px solid var(--line); box-shadow: var(--inner-light); }
.dash__panel::before { content: ""; position: absolute; top: -1px; inset-inline-start: 24px; width: 34px; height: 2px; background: var(--membrane); opacity: .75; }
.dash__ph2 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; margin-bottom: 16px; }
.dash__ttl { margin: 0; font-family: var(--f-display); font-size: 1rem; font-weight: 600; line-height: 1.45; }
.dash__axis { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--concrete-2); }
html[lang="ar"] .dash__axis { font-family: var(--f-text); font-size: .8rem; letter-spacing: 0; }
.dash-arm.dash__panel { opacity: 0; transform: translateY(18px); }
.dash-arm.dash__panel.is-go { opacity: 1; transform: none; transition: opacity .7s ease, transform .9s var(--dash-ease); }

/* growth chart */
.dash__gbody { position: relative; }
.dash__call { position: absolute; top: 0; inset-inline-start: 0; z-index: 2; margin: 0; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.dash__x { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.3rem, 3.8vw, 3.3rem); line-height: 1; color: var(--membrane); letter-spacing: -.01em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) { .dash__x { background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-block: .06em; } }
.dash__call span { font-size: .86rem; line-height: 1.5; color: var(--concrete); }
.dash__plot { position: relative; height: clamp(230px, 23vw, 290px); margin-top: 10px; touch-action: pan-y; }
.dash__gsvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
html[dir="rtl"] .dash__gsvg { transform: scaleX(-1); }
.dash__grid line, .dash__drops line { stroke: rgba(255, 255, 255, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash__grid .dash__base { stroke: var(--line-2); }
.dash__drops line { stroke: rgba(255, 255, 255, .13); }
.dash__area { fill: url(#dash-ag); }
.dash__line, .dash__lglow { fill: none; stroke: var(--membrane); stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dash__line { stroke-width: 2.5; }
.dash__lglow { stroke-width: 10; opacity: .13; }
.dash__pts { position: absolute; inset: 0; }
.dash__pt { position: absolute; top: calc(var(--y) * 1%); inset-inline-start: calc(var(--x) * 1%); width: 44px; height: 44px; margin-top: -22px; margin-inline-start: -22px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dash__pt::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--graphite); box-shadow: 0 0 0 2px var(--membrane), 0 0 0 5px var(--graphite); transition: transform .3s var(--dash-ease), background-color .25s; }
.dash__pt.is-last::before { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; background: var(--membrane); }
.dash__pt.is-last::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 227, 32, .42), rgba(224, 227, 32, 0)); pointer-events: none; }
.dash__pt:focus-visible { outline: 0; }
.dash__pt:focus-visible::before { box-shadow: 0 0 0 2px var(--membrane), 0 0 0 5px var(--graphite), 0 0 0 7px var(--membrane-hi); }
.dash__pt:hover::before, .dash__pt.is-on::before { transform: scale(1.4); background: var(--membrane); }
.dash__pv { position: absolute; left: 50%; bottom: calc(50% + 11px); transform: translateX(-50%); font-family: var(--f-display); font-size: .84rem; font-weight: 600; line-height: 1; color: var(--limestone); white-space: nowrap; pointer-events: none; }
.dash__pt.is-last .dash__pv { bottom: calc(50% + 15px); font-size: 1.45rem; font-weight: 700; color: var(--membrane); }
.dash-fx .is-vis .dash__pt.is-last::after { animation: dash-ping 3s ease-out infinite; }
@keyframes dash-ping { 0%, 100% { transform: scale(.8); opacity: .65; } 50% { transform: scale(1.18); opacity: 1; } }
.dash__xh { position: absolute; top: calc(var(--y, 0) * 1%); bottom: 0; inset-inline-start: calc(var(--x, 0) * 1%); width: 1px; margin-inline-start: -.5px; background: linear-gradient(var(--membrane), rgba(224, 227, 32, 0)); opacity: 0; transition: opacity .2s; pointer-events: none; }
.dash__xh.is-on { opacity: .75; }
.dash__trav { position: absolute; top: 0; inset-inline-start: 0; z-index: 3; width: 18px; height: 18px; margin-top: -9px; margin-inline-start: -9px; border-radius: 50%; background: radial-gradient(circle, #FBFCD8 0 20%, rgba(242, 245, 90, .9) 30%, rgba(224, 227, 32, .28) 58%, rgba(224, 227, 32, 0) 72%); box-shadow: 0 0 22px 7px rgba(224, 227, 32, .28); opacity: 0; pointer-events: none; will-change: transform, opacity; }
.dash__months { position: relative; height: 1.7em; margin: 12px 0 0; padding: 0; list-style: none; font-family: var(--f-display); font-size: .76rem; color: var(--concrete); }
html[lang="ar"] .dash__months { font-size: .82rem; }
.dash__months li { position: absolute; top: 0; inset-inline-start: calc(var(--x) * 1%); width: 7em; margin-inline-start: -3.5em; text-align: center; white-space: nowrap; }
.dash__months li.is-last { color: var(--membrane); font-weight: 600; }
.dash__ms { display: none; }
.dash-arm .dash__pt { opacity: 0; transform: scale(.3); }
.dash-arm .dash__pt.is-in { opacity: 1; transform: none; transition: opacity .3s, transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.dash-arm .dash__call { opacity: 0; transform: translateY(10px); }
.dash-arm.is-done .dash__call { opacity: 1; transform: none; transition: opacity .7s, transform .9s var(--dash-ease); }

/* tooltip (shared by all charts, the skyline included) */
.dash__tip { position: absolute; left: 0; top: 0; z-index: 6; min-width: 9em; max-width: 16em; padding: 10px 13px 11px; border-radius: var(--r-m); background: rgba(10, 10, 10, .94); border: 1px solid var(--line-2); box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .8rem; line-height: 1.45; color: var(--concrete); text-align: start; pointer-events: none; opacity: 0; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(.97); transition: opacity .16s, transform .22s var(--dash-ease); }
.dash__tip.is-on { opacity: 1; transform: translate(var(--tx, 0px), var(--ty, 0px)); }
.dash__tip-k { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete-2); }
html[lang="ar"] .dash__tip-k { font-family: var(--f-text); font-size: .76rem; letter-spacing: 0; }
.dash__tip-v { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; color: var(--limestone); }
.dash__tip-v b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; line-height: 1.15; font-variant-numeric: lining-nums tabular-nums; }
.dash__tip-s { display: block; margin-top: 2px; }
.dash__tip-s.is-up { color: var(--membrane); }
.dash__tip-st { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; }
.dash__tip-st .lg { width: 10px; height: 10px; }

/* donut */
.dash__status { display: flex; flex-direction: column; }
.dash__donut { position: relative; width: min(100%, 290px); aspect-ratio: 1; margin: 8px auto 26px; }
@media (min-width: 1101px) {
  .dash__status .dash__donut { width: min(100%, 300px); margin: auto; }
  .dash__status .dash__lg { margin-top: 26px; }
}
.dash__donut svg { width: 100%; height: 100%; overflow: visible; }
.dash__dtrack { fill: none; stroke: rgba(255, 255, 255, .05); stroke-width: 22; }
.dash__seg { fill: none; stroke-width: 22; transform-box: view-box; transform-origin: 100px 100px; transition: opacity .25s, transform .35s var(--dash-ease); cursor: pointer; }
.dash__seg--done { stroke: var(--membrane); }
.dash__seg--ongoing { stroke: var(--dash-grey); }
.dash__tick { stroke: rgba(255, 255, 255, .3); stroke-width: 1.3; stroke-linecap: round; transition: opacity .3s; }
.dash__tick.is-done { stroke: var(--membrane); }
.dash__donut.has-hl .dash__seg:not(.is-on) { opacity: .28; }
.dash__donut.has-hl .dash__tick { opacity: .35; }
.dash__donut.has-hl .dash__tick.is-hl { opacity: 1; }
.dash__dc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; text-align: center; }
.dash__dn { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.7rem, 4.6vw, 3.9rem); line-height: 1; color: var(--limestone); }
.dash__du { margin-top: 6px; font-size: .95rem; color: var(--concrete); }
.dash__lg { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.dash__lgb { width: 100%; min-height: 44px; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "sw k" "v v"; align-items: center; gap: 6px 10px; margin: 0; padding: 8px 10px 10px; border: 1px solid transparent; border-radius: var(--r-m); background: none; color: inherit; text-align: start; cursor: pointer; transition: border-color .2s, background-color .2s; }
.dash__lgb:hover, .dash__lgb[aria-pressed="true"] { border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.dash__sw { grid-area: sw; width: 12px; height: 12px; border-radius: 3px; }
.dash__sw--done { background: var(--membrane); }
.dash__sw--ongoing { background: var(--dash-grey); }
.dash__lgk { grid-area: k; font-family: var(--f-display); font-size: .92rem; color: var(--concrete); }
.dash__lgv { grid-area: v; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 1; color: var(--limestone); }
.dash-arm .dash__tick { opacity: 0; }
.dash-arm .dash__tick.is-in { opacity: 1; }

/* horizontal bars */
.dash__bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.dash__bar { display: grid; grid-template-columns: minmax(6.5em, 36%) minmax(0, 1fr) 3.1em; align-items: center; gap: 14px; min-height: 40px; margin-inline: -8px; padding-inline: 8px; border-radius: var(--r-m); outline-offset: -2px; transition: background-color .2s, opacity .25s; }
.dash__bl { font-family: var(--f-display); font-size: .88rem; line-height: 1.35; }
.dash__bt { position: relative; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .07); }
.dash__bf { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: calc(var(--v) * 100%); border-radius: 5px; background: rgba(255, 255, 255, .34); transform-origin: left center; }
html[dir="rtl"] .dash__bf { transform-origin: right center; }
.dash__bar.is-hi .dash__bf { background: var(--grad-lime); box-shadow: 0 0 14px rgba(224, 227, 32, .3); }
.dash__bv { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; text-align: end; color: var(--limestone); }
.dash__bars.has-hl .dash__bar:not(.is-on) { opacity: .4; }
.dash__bar.is-on { background: rgba(255, 255, 255, .045); }
.dash__note { margin: 14px 0 0; font-size: .78rem; line-height: 1.5; color: var(--concrete-2); }
.dash-arm .dash__bf { transform: scaleX(0); }
.dash-arm.is-go .dash__bf { transform: none; transition: transform 1.1s var(--dash-ease) calc(var(--k) * 75ms + .15s); }
.dash-arm .dash__bv { opacity: 0; }
.dash-arm.is-go .dash__bv { opacity: 1; transition: opacity .5s ease calc(var(--k) * 75ms + .55s); }

/* ---------- responsive */
@media (max-width: 1100px) {
  .dash__board { grid-template-columns: minmax(0, 1fr); }
  .dash__hero { min-height: 300px; }
  .dash__hero-body { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 6px 28px; }
  .dash__hero-v { grid-row: span 2; font-size: clamp(3rem, 9vw, 5.6rem); }
  .dash__hero-l1 { margin: 0; }
  .dash__grid-p { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "g g" "p y" "s s"; }
  .dash__status { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 32px; align-items: center; }
  .dash__status .dash__ph2 { grid-column: 1 / -1; }
  .dash__donut { margin: 0 auto; }
  .dash__lg { grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; border: 0; }
}
@media (max-width: 860px) {
  .dash__phd { grid-template-columns: minmax(0, 1fr); }
  .dash__grid-p { grid-template-columns: minmax(0, 1fr); grid-template-areas: "g" "s" "p" "y"; }
}
@media (max-width: 760px) {
  .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dash__board { gap: 10px; }
  .dash__kpi { min-height: 176px; padding: 18px 16px 16px; }
  .dash__kv { padding-bottom: 14px; }
  .dash__kl { font-size: .93rem; }
  .dash__ks { font-size: .76rem; }
  .dash__hero-body { display: block; }
  .dash__hero-v { font-size: clamp(2.5rem, 13vw, 4rem); font-size: min(19cqi, 4.6rem); }
  .dash__hero-l1 { margin-top: 14px; }
  .dash__mf { display: none; }
  .dash__ms { display: inline; }
}
@media (max-width: 560px) {
  .dash__panel { padding: 20px 16px 20px; }
  .dash__panel::before { inset-inline-start: 16px; }
  .dash__status { display: flex; }
  .dash__donut { width: min(100%, 250px); margin: 4px auto 22px; }
  .dash__lg { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 16px; border-top: 1px solid var(--line); }
  .dash__plot { height: 220px; }
  .dash__call span { font-size: .8rem; }
  .dash__bar { grid-template-columns: minmax(6em, 40%) minmax(0, 1fr) 2.9em; gap: 10px; }
  .dash__bl { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dash__kpi, .dash__ripple, .dash__live::after, .dash__pt.is-last::after { animation: none !important; transition: none !important; }
}

/* ---------- skyline (.sky) upgrade: smoother staggered rise, count-up values, focus + dim others, tooltip */
.dash-sky .sky__chart { position: relative; }
.dash-sky .tower__body { transition: transform 1.25s var(--dash-ease, cubic-bezier(.16, 1, .3, 1)) calc(var(--i) * 62ms), filter .2s, opacity .3s; }
.dash-sky .tower__val { transition: opacity .3s, color .2s; }
.dash-sky-arm .tower__val { opacity: 0; }
.dash-sky-arm.is-in .tower__val { opacity: 1; transition: opacity .45s ease calc(var(--i) * 62ms + .1s), color .2s; }
@media (min-width: 801px) {
  /* the counting value rides the top of its tower as it rises (same duration, easing and stagger as the body) */
  .dash-sky-arm .tower__val { transform: translateY(calc(var(--dash-th, 0px) * .96)); }
  .dash-sky-arm.is-in .tower__val { transform: none; transition: transform 1.25s var(--dash-ease, cubic-bezier(.16, 1, .3, 1)) calc(var(--i) * 62ms), opacity .35s ease calc(var(--i) * 62ms), color .2s; }
}
.dash-sky .sky__bars.dash-hl li:not(.dash-on) .tower__body { opacity: .26; }
.dash-sky .sky__bars.dash-hl li:not(.dash-on) .tower__val, .dash-sky .sky__bars.dash-hl li:not(.dash-on) .tower__name, .dash-sky .sky__bars.dash-hl li:not(.dash-on) .tower__sub { opacity: .4; }
.dash-sky .tower__name, .dash-sky .tower__sub { transition: opacity .3s, color .2s; }
.dash-sky li.dash-on .tower__val { color: var(--membrane-hi); }
.dash-sky li.dash-on .tower__body { filter: brightness(1.18) drop-shadow(0 0 14px rgba(224, 227, 32, .32)); }
.dash-sky .dash__tip { min-width: 11em; }

/* ---------- coverage map (.coverage .map) upgrade: sequential arcs, pins popping, labels fading, radar + light pulses from HQ */
.coverage.dash-map.is-in .map__arc { transition: stroke-dashoffset 1s cubic-bezier(.5, .05, .25, 1) calc(.45s + var(--ai, 0) * .4s); }
.dash-map-arm .map__pin circle { transform: scale(0); }
.dash-map .map__pin circle { transform-box: fill-box; transform-origin: center; }
.dash-map-arm.is-in .map__pin circle { animation: dash-pop .7s cubic-bezier(.3, 1.6, .45, 1) var(--pd, 0s) both; }
.dash-map-arm .map__pin text { opacity: 0; }
.dash-map-arm.is-in .map__pin text { animation: dash-label .7s var(--dash-ease, ease) calc(var(--pd, 0s) + .15s) both; }
@keyframes dash-pop { 0% { transform: scale(0); } 65% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes dash-label { 0% { opacity: 0; transform: translateY(5px); } 100% { opacity: 1; transform: none; } }
.dash-radar__ring { fill: none; stroke: var(--membrane); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.dash-map.dash-live .dash-radar__ring { animation: dash-radar 3.9s cubic-bezier(.2, .6, .35, 1) infinite; }
@keyframes dash-radar { 0% { transform: scale(.12); opacity: 0; } 12% { opacity: .75; } 100% { transform: scale(1); opacity: 0; } }
.dash-pulse { pointer-events: none; opacity: 0; }
.dash-pulse__core { fill: #F6F8C6; }
@media (prefers-reduced-motion: reduce) {
  .dash-radar, .dash-pulses { display: none; }
}
@media print {
  .dash-arm, .dash-arm .dash__kpi, .dash-arm .dash__pt, .dash-arm .dash__call, .dash-arm .dash__sym, .dash-arm .dash__ring, .dash-arm .dash__tick, .dash-arm .dash__bv, .dash-sky-arm .tower__val, .dash-map-arm .map__pin text { opacity: 1 !important; }
  .dash-arm, .dash-arm .dash__kpi, .dash-arm .dash__pt, .dash-arm .dash__call, .dash-arm .dash__bf, .dash-arm .dash__ring, .dash-arm .dash__sym, .dash__wipe, .dash-map-arm .map__pin circle { transform: none !important; animation: none !important; }
  .dash-arm .dash__reel { transform: translateY(calc((10 + var(--n)) * -5%)) !important; }
  .dash__seg { stroke-dasharray: var(--da) !important; }
  .dash__trav, .dash__tip, .dash__glow, .dash__ripple, .dash-radar, .dash-pulses { display: none !important; }
}

/* ---- feature: downloads.css ---- */
/* Downloads centre (#downloads) */
.downloads { background: radial-gradient(900px 420px at 50% 0%, rgba(255, 255, 255, .04), transparent 70%), var(--bitumen-deep); overflow: clip; }
.downloads .sec__head { max-width: 860px; }
.downloads__sum { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 22px 0 0; font-family: var(--f-mono); font-size: .82rem; letter-spacing: .06em; color: var(--concrete); }
.downloads__sum i { width: 28px; height: 1px; background: var(--membrane); }
html[lang="ar"] .downloads__sum { font-family: var(--f-display); letter-spacing: 0; font-size: .9rem; }
.downloads__pv { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 7px 14px; border: 1px solid rgba(224, 227, 32, .8); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--membrane-hi); font-family: var(--f-display); font-size: .84rem; line-height: 1.45; }
.downloads__pv::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--membrane); }

/* filters */
.downloads__bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(30px, 4vw, 46px); }
.downloads__f { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--concrete); font: inherit; font-family: var(--f-display); font-size: .9rem; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.downloads__f .num { font-family: var(--f-mono); font-size: .78em; color: var(--concrete-2); transition: color .2s; }
.downloads__f:hover { color: var(--limestone); border-color: var(--concrete-2); }
.downloads__f[aria-pressed="true"] { background: var(--membrane); border-color: var(--membrane); color: var(--membrane-ink); font-weight: 600; box-shadow: 0 8px 22px -12px rgba(224, 227, 32, .7); }
.downloads__f[aria-pressed="true"] .num { color: rgba(10, 10, 10, .7); }

/* groups */
.downloads__group + .downloads__group { margin-top: clamp(48px, 6vw, 80px); }
.downloads__gh { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 16px; row-gap: 4px; padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.downloads__gi { grid-row: span 2; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; color: var(--membrane); }
.downloads__gt { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.4; }
.downloads__gl { margin: 0; color: var(--concrete); font-size: .95rem; }
.downloads__groups.is-anim .downloads__group:not([hidden]) { animation: dl-in .55s var(--ease) both; }
.downloads__groups.is-anim .downloads__group:not([hidden]) + .downloads__group:not([hidden]) { animation-delay: .06s; }
@keyframes dl-in { from { opacity: 0; transform: translateY(14px); } }

.downloads__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }

/* card */
.dlc { position: relative; grid-column: span 12; display: flex; flex-direction: column; min-width: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); border: 1px solid var(--line); box-shadow: var(--inner-light); transition: border-color .25s; }
.dlc::before { content: ""; position: absolute; inset-inline: -1px; top: -1px; height: 2px; background: var(--membrane); transform: scaleX(0); transform-origin: var(--dl-o, right); transition: transform .45s var(--ease); z-index: 2; }
html[dir="ltr"] .dlc::before { --dl-o: left; }
.dlc:hover, .dlc:focus-within { border-color: var(--line-2); }
.dlc:hover::before, .dlc:focus-within::before { transform: scaleX(1); }
.dlc--profile { grid-column: span 6; }
.dlc--cert { grid-column: span 4; }

.dlc__thumb { position: relative; display: block; overflow: hidden; background: #070707; color: inherit; }
.dlc__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
a.dlc__thumb:hover img { transform: scale(1.035); }
.dlc__thumb--wide { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); }
.dlc__peek { position: absolute; inset-inline-end: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(6, 6, 6, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line-2); color: var(--limestone); font-family: var(--f-display); font-size: .8rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.dlc__peek .ic { width: 17px; height: 17px; }
a.dlc__thumb:hover .dlc__peek, a.dlc__thumb:focus-visible .dlc__peek { opacity: 1; transform: none; }
@media (hover: none) { .dlc__peek { opacity: 1; transform: none; } }

/* documents on a light table */
.dlc__thumb--doc { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; background: radial-gradient(120% 90% at 50% 0%, #262626, #141414 70%); border-bottom: 1px solid var(--line); }
.dlc__thumb--doc img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 26px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .06); }
.dlc__thumb--doc .dlc__peek { padding: 8px; }

.dlc__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; min-width: 0; }
.dlc__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.downloads__lang, .downloads__fmt, .dlc__sub { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 3px; font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; line-height: 1; color: var(--concrete); }
.downloads__lang[lang="ar"] { font-family: var(--f-display); font-size: .8rem; letter-spacing: 0; }
.downloads__fmt { border-color: rgba(224, 227, 32, .85); color: var(--membrane); }
.dlc__sub { border-color: transparent; padding-inline: 2px; color: var(--limestone); }
.dlc__t { margin: 2px 0 0; font-family: var(--f-display); font-size: 1.04rem; font-weight: 600; line-height: 1.5; }
.dlc__t--lg { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 1.7vw, 1.42rem); line-height: 1.4; }
.dlc__d { margin: 0; color: var(--concrete); font-size: .95rem; line-height: 1.7; max-width: 62ch; }
.dlc__by { margin: 0; color: var(--concrete); font-size: .9rem; line-height: 1.55; }
.dlc__no { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: .8rem; color: var(--concrete-2); }
.dlc__note { margin: 0; padding-inline-start: 12px; border-inline-start: 2px solid var(--line-2); color: var(--concrete); font-size: .84rem; line-height: 1.6; }
.dlc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 2px 0 0; color: var(--concrete-2); font-size: .85rem; }
.dlc__meta i { font-style: normal; color: var(--line-2); }
.dlc__meta .num { font-family: var(--f-mono); color: var(--limestone); }
.dlc__exp .num { color: var(--concrete); }
.dlc__act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.dlc__act .btn { flex: 0 1 auto; }
.dlc__act--two { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }
.dlc__act--two .btn { grid-column: 1; width: 100%; justify-content: flex-start; padding-inline: 1em; }
.dlc__act--two .downloads__share { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.dlc__fl { font-weight: 500; }
.downloads__share { margin-inline-start: auto; width: 40px; height: 40px; }

/* certificates pack: wide card with a portrait cover */
.dlc--pack { flex-direction: row; }
.dlc__thumb--pack { flex: 0 0 clamp(170px, 22%, 250px); border-inline-end: 1px solid var(--line); }
.dlc__thumb--pack img { object-position: top; }
.dlc--pack .dlc__body { padding: clamp(22px, 3vw, 36px); justify-content: center; }
.dlc--pack .dlc__act { margin-top: 10px; }

/* invoicing / bank: card image + copyable data */
.dlc--data { flex-direction: row; align-items: stretch; }
.dlc__media { flex: 0 0 46%; align-self: flex-start; position: sticky; top: calc(var(--hdr-h) + 20px); display: flex; flex-direction: column; }
.dlc--data .dlc__body { border-inline-start: 1px solid var(--line); }
.dlc__thumb--card { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.dlc__fmts { padding: 18px 22px 22px; }
.dlc__fh { margin: 0 0 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--concrete-2); }
html[lang="ar"] .dlc__fh { font-family: var(--f-display); font-size: .82rem; letter-spacing: 0; text-transform: none; }
.dlc__fmts ul { list-style: none; margin: 0; padding: 0; }
.dlc__fmtl { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 2px; border-bottom: 1px solid var(--line); color: var(--limestone); text-decoration: none; transition: color .2s; }
.dlc__fmts li:last-child .dlc__fmtl { border-bottom: 0; }
.dlc__fmtt { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: .92rem; }
.dlc__fmtt .ic { width: 18px; height: 18px; color: var(--membrane); transition: transform .3s var(--ease); }
.dlc__fmtl:hover { color: var(--membrane); }
.dlc__fmtl:hover .dlc__fmtt .ic { transform: translateY(2px); }
.dlc__fmtm { display: inline-flex; align-items: center; gap: 10px; color: var(--concrete-2); font-size: .8rem; white-space: nowrap; }
.dlc__fmtm .num { font-family: var(--f-mono); }
.dlc--data .dlc__body { padding: clamp(22px, 3vw, 34px); gap: 12px; }
.dlc__rows { display: grid; grid-template-columns: 1fr 1fr; margin: 6px 0 4px; border-top: 1px solid var(--line); }
.dlc__row { grid-column: span 2; display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.dlc__row.is-half { grid-column: span 1; }
.dlc__row.is-half.is-b { padding-inline-start: 18px; border-inline-start: 1px solid var(--line); }
.dlc__row.is-half.is-a { padding-inline-end: 18px; }
.dlc__row dt { font-family: var(--f-display); color: var(--concrete-2); font-size: .8rem; }
.dlc__n { display: inline-block; margin-inline-end: 8px; padding: 0 5px; border: 1px solid rgba(224, 227, 32, .85); border-radius: 2px; font-family: var(--f-mono); font-size: .72rem; line-height: 1.5; letter-spacing: .06em; color: var(--membrane); }
.dlc--bank .dlc__row dt { color: var(--limestone); font-size: .9rem; font-weight: 500; }
.dlc--bank .dlc__row:first-child dt { color: var(--concrete-2); font-size: .82rem; font-weight: 400; }
.dlc__row dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.dlc__v { font-weight: 600; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.dlc__v.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .04em; }
.dlc__v .u { white-space: nowrap; }
.dlc__v .sep { padding-inline: .5em; color: var(--membrane); }
html[dir="rtl"] .dlc__v.mono { text-align: right; }
.downloads .copy { border-color: var(--line-2); color: var(--concrete); width: 40px; height: 40px; }
.downloads .copy:hover { background: var(--limestone); color: var(--bitumen); }
.downloads .copy.is-done { background: var(--membrane); border-color: var(--membrane); color: var(--membrane-ink); }
.dlc__copy .dlc__ok { display: none; }
.dlc__copy.is-done .ic:not(.dlc__ok) { display: none; }
.dlc__copy.is-done .dlc__ok { display: block; }

/* brand */
.dlc--brand { flex-direction: row; }
.dlc__thumb--brand { flex: 0 0 46%; aspect-ratio: 16 / 10; border-inline-end: 1px solid var(--line); background: linear-gradient(90deg, #F6F6F4 50%, #0D0D0D 50%); }
.dlc__thumb--brand img { object-fit: contain; }
.dlc--brand .dlc__body { padding: clamp(22px, 3vw, 34px); }
.dlc__tones { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dlc__tone { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dlc__swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); background: #080808; box-shadow: inset 0 0 0 5px #080808, inset 0 0 0 11px var(--membrane); }
.dlc__tone--light .dlc__swatch { background: #F6F6F4; box-shadow: inset 0 0 0 5px #F6F6F4, inset 0 0 0 11px #141414; }
.dlc__tt { flex: 1; min-width: 9em; font-family: var(--f-display); font-weight: 500; font-size: .92rem; }
.dlc__tf { display: inline-flex; gap: 6px; }
.dlc__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--limestone); text-decoration: none; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; transition: border-color .2s, background-color .2s; }
.dlc__chip small { font-family: var(--f-text); font-size: .76rem; letter-spacing: 0; color: var(--concrete-2); }
.dlc__chip:hover { border-color: var(--membrane); background: var(--membrane-soft); }

.downloads a:focus-visible, .downloads button:focus-visible { outline: 2px solid var(--membrane); outline-offset: 3px; }

@media (max-width: 1080px) {
  .dlc--cert { grid-column: span 6; }
  .dlc--data, .dlc--brand { flex-direction: column; }
  .dlc__media, .dlc__thumb--brand { flex: none; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .dlc__media { position: static; align-self: stretch; }
  .dlc--data .dlc__body { border-inline-start: 0; }
  .dlc__media { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .dlc__thumb--card { border-bottom: 0; border-inline-end: 1px solid var(--line); height: 100%; }
}
@media (max-width: 760px) {
  .dlc--profile, .dlc--cert { grid-column: span 12; }
  .dlc__media { display: flex; }
  .dlc__thumb--card { border-inline-end: 0; border-bottom: 1px solid var(--line); height: auto; }
  .dlc--pack { flex-direction: column; }
  .dlc__thumb--pack { flex: none; aspect-ratio: 16 / 9; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .dlc__body { padding: 18px 18px 20px; }
  .dlc__fmts { padding: 14px 18px 16px; }
  .downloads__bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .downloads__bar::-webkit-scrollbar { display: none; }
  .downloads__f { flex: none; }
  .dlc__rows { grid-template-columns: minmax(0, 1fr); }
  .dlc__row, .dlc__row.is-half { grid-column: 1 / -1; }
  .dlc__row.is-half.is-b { padding-inline-start: 0; border-inline-start: 0; }
  .dlc__row.is-half.is-a { padding-inline-end: 0; }
  .dlc__fmtm .num:not(:last-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dlc::before, .dlc__thumb img, .dlc__peek, .dlc__fmtt .ic { transition: none; }
  .downloads__groups.is-anim .downloads__group:not([hidden]) { animation: none; }
  a.dlc__thumb:hover img { transform: none; }
}

/* ---- feature: flipbook.css ---- */
/* ================================================================ flipbook: #profile section */
.flipbook { overflow: clip; }
.flipbook::before { content: ""; position: absolute; inset-block-start: 4%; inset-inline-start: -8%; width: 64%; height: 78%; background: radial-gradient(closest-side, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015) 55%, transparent); pointer-events: none; }
.flipbook .wrap { position: relative; }
.flipbook__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5.5vw, 88px); align-items: center; }
.flipbook__copy .sec__head { margin-bottom: 26px; }
.flipbook__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--f-display); font-size: .84rem; font-weight: 600; color: var(--membrane); }
/* the eyebrow already carries the rule: no second ornament above the title */
.flipbook__eyebrow + .sec__head::before { display: none; }
.flipbook__eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; flex: none; }
html[lang="en"] .flipbook__eyebrow { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }

.flipbook__seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(6, 6, 6, .5); }
.flipbook__seg button { min-height: 40px; min-width: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--concrete); font-family: var(--f-display); font-weight: 600; font-size: .88rem; cursor: pointer; transition: background-color .25s, color .25s; }
.flipbook__seg button:hover { color: var(--limestone); }
.flipbook__seg button[aria-pressed="true"] { background: var(--membrane); color: var(--membrane-ink); box-shadow: 0 6px 18px -8px rgba(224, 227, 32, .6); }
.flipbook__eds { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.flipbook__eds-k { font-family: var(--f-display); font-size: .84rem; color: var(--concrete-2); }

.flipbook__facts { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.flipbook__facts li { padding: 14px 16px 15px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.flipbook__facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.flipbook__facts b { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.2; color: var(--limestone); }
.flipbook__facts span { font-size: .8rem; color: var(--concrete); line-height: 1.45; }
.flipbook__act { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.flipbook__dls-k { margin: 0 0 10px; font-family: var(--f-display); font-size: .82rem; color: var(--concrete-2); }
.flipbook__dls-row { display: flex; flex-wrap: wrap; gap: 10px; }
.flipbook__mb { font-size: .72rem; font-weight: 500; color: var(--concrete-2); font-family: var(--f-mono); }

/* ---- 3D book mock-up (landscape photo book): idle float, the cover opens a little on hover */
.flipbook__visual { position: relative; }
.flipbook-mock { --t: 13px; position: relative; display: block; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 16 / 11.4; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; perspective: 1700px; perspective-origin: 50% 40%; -webkit-tap-highlight-color: transparent; }
.flipbook-mock:focus-visible { outline-offset: 8px; border-radius: var(--r-m); }
.flipbook-mock__float { position: absolute; left: 11%; right: 11%; top: 46%; aspect-ratio: 16 / 9; margin-top: -21.9%; transform-style: preserve-3d; }
.flipbook.is-vis .flipbook-mock__float { animation: fb-float 7.5s ease-in-out infinite alternate; }
@keyframes fb-float { from { transform: translate3d(0, -6px, 0) rotateZ(-.35deg); } to { transform: translate3d(0, 7px, 0) rotateZ(.45deg); } }
.flipbook-mock__book { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(16deg) rotateY(-24deg) rotateZ(3deg); transition: transform 1s var(--ease); }
.flipbook-mock.is-rtl .flipbook-mock__book { transform: rotateX(16deg) rotateY(24deg) rotateZ(-3deg); }
.flipbook-mock__back, .flipbook-mock__inner, .flipbook-mock__cover, .flipbook-mock__front, .flipbook-mock__verso { position: absolute; inset: 0; border-radius: 2px 5px 5px 2px; }
.flipbook-mock.is-rtl :is(.flipbook-mock__back, .flipbook-mock__inner, .flipbook-mock__cover, .flipbook-mock__front, .flipbook-mock__verso) { border-radius: 5px 2px 2px 5px; }
.flipbook-mock__back { background: #0a0a0a; box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .9); }
.flipbook-mock__inner { overflow: hidden; transform: translateZ(calc(var(--t) - 1px)); background: #111111; }
.flipbook-mock__img { width: 100%; height: 100%; object-fit: cover; }
.flipbook-mock__crease { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 9%); }
.flipbook-mock.is-rtl .flipbook-mock__crease { background: linear-gradient(270deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 9%); }
.flipbook-mock__cover { transform-style: preserve-3d; transform-origin: 0 50%; transform: translateZ(var(--t)); transition: transform .9s var(--ease); }
.flipbook-mock.is-rtl .flipbook-mock__cover { transform-origin: 100% 50%; }
.flipbook-mock__front, .flipbook-mock__verso { overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flipbook-mock__front { background: #111111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.flipbook-mock__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(255, 255, 255, .06) 2.5%, rgba(0, 0, 0, 0) 5%); }
.flipbook-mock.is-rtl .flipbook-mock__front::after { background: linear-gradient(270deg, rgba(0, 0, 0, .5), rgba(255, 255, 255, .06) 2.5%, rgba(0, 0, 0, 0) 5%); }
.flipbook-mock__verso { transform: rotateY(180deg); background: linear-gradient(90deg, #1c1c1c, #141414); }
.flipbook-mock__gloss { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .13) 44%, rgba(255, 255, 255, 0) 58%); transform: translateX(-30%); transition: transform 1.2s var(--ease); }
.flipbook-mock__edge { position: absolute; background: repeating-linear-gradient(0deg, #d9d9d6 0 1px, #a0a0a0 1px 2px); }
.flipbook-mock__edge--side { top: 1px; bottom: 1px; right: 0; width: var(--t); transform-origin: 100% 50%; transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #d0d0cd 0 1px, #8f8f8f 1px 2px); }
.flipbook-mock.is-rtl .flipbook-mock__edge--side { right: auto; left: 0; transform-origin: 0 50%; transform: rotateY(-90deg); }
.flipbook-mock__edge--top { left: 1px; right: 1px; top: 0; height: var(--t); transform-origin: 50% 0; transform: rotateX(90deg); }
.flipbook-mock__edge--bot { left: 1px; right: 1px; bottom: 0; height: var(--t); transform-origin: 50% 100%; transform: rotateX(-90deg); filter: brightness(.55); }
.flipbook-mock__shadow { position: absolute; left: 10%; right: 6%; top: 74%; height: 16%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0)); transform: translateZ(0); pointer-events: none; }
.flipbook-mock__seal { position: absolute; top: 3%; inset-inline-end: 3%; width: clamp(74px, 9vw, 96px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--membrane); color: var(--membrane-ink); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), inset 0 0 0 5px rgba(10, 10, 10, .1); transform: rotate(-9deg); line-height: 1.05; z-index: 2; }
.flipbook-mock__seal b { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; line-height: 1.1; }
.flipbook-mock__seal span { font-family: var(--f-display); font-size: .72rem; font-weight: 600; }
.flipbook-mock__cta { position: absolute; left: 50%; bottom: 3%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(8, 8, 8, .82); border: 1px solid var(--line-2); font-family: var(--f-display); font-size: .84rem; font-weight: 600; white-space: nowrap; transform: translate(-50%, 6px); opacity: 0; transition: opacity .35s, transform .45s var(--ease), border-color .3s; }
.flipbook-mock__cta .ic { width: 17px; height: 17px; color: var(--membrane); }
@media (hover: hover) {
  .flipbook-mock:hover .flipbook-mock__book { transform: rotateX(10deg) rotateY(-14deg) rotateZ(1.5deg); }
  .flipbook-mock.is-rtl:hover .flipbook-mock__book { transform: rotateX(10deg) rotateY(14deg) rotateZ(-1.5deg); }
  .flipbook-mock:hover .flipbook-mock__cover { transform: translateZ(var(--t)) rotateY(-34deg); }
  .flipbook-mock.is-rtl:hover .flipbook-mock__cover { transform: translateZ(var(--t)) rotateY(34deg); }
  .flipbook-mock:hover .flipbook-mock__gloss { transform: translateX(30%); }
  .flipbook-mock:hover .flipbook-mock__cta { opacity: 1; transform: translate(-50%, 0); border-color: var(--membrane); }
}
.flipbook-mock:focus-visible .flipbook-mock__cover { transform: translateZ(var(--t)) rotateY(-26deg); }
.flipbook-mock.is-rtl:focus-visible .flipbook-mock__cover { transform: translateZ(var(--t)) rotateY(26deg); }

/* ---- contents: chapter quick-links */
.flipbook__toc { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.flipbook__toc-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 20px; }
.flipbook__toc-head h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; line-height: 1.4; }
.flipbook__toc-head p { margin: 0; font-size: .92rem; color: var(--concrete); }
.flipbook__toc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.flipbook__ch { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 9px; padding: 9px 9px 13px; border: 1px solid var(--line); border-radius: var(--r-m); background: rgba(255, 255, 255, .015); color: inherit; font: inherit; text-align: start; cursor: pointer; transition: border-color .3s, background-color .3s, transform .45s var(--ease); }
.flipbook__ch:hover { border-color: rgba(224, 227, 32, .85); background: var(--graphite); transform: translateY(-3px); }
.flipbook__ch-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--bitumen-deep); }
.flipbook__ch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.flipbook__ch:hover .flipbook__ch-img img { transform: scale(1.045); }
.flipbook__ch-meta { display: flex; justify-content: space-between; gap: 8px; padding-inline: 3px; font-family: var(--f-mono); font-size: .72rem; line-height: 1.2; color: var(--concrete-2); }
.flipbook__ch-n { color: var(--membrane); }
.flipbook__ch-t { padding-inline: 3px; font-family: var(--f-display); font-weight: 600; font-size: .94rem; line-height: 1.45; }

@media (max-width: 1000px) {
  .flipbook__grid { grid-template-columns: 1fr; }
  .flipbook__visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .flipbook__toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .flipbook-mock { --t: 8px; }
  .flipbook__facts li { padding: 12px 10px; }
  .flipbook__act .btn { flex: 1 1 auto; }
  .flipbook__dls-row .btn { flex: 1 1 auto; }
  .flipbook__toc ol { gap: 10px; }
  .flipbook__ch { padding: 7px 7px 11px; }
  .flipbook__ch-t { font-size: .88rem; }
}
.flipbook-hero .ic { color: var(--membrane); }

/* ================================================================ flipbook: viewer */
.flipbook-dlg { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #070707; color: var(--limestone); overscroll-behavior: contain; }
.flipbook-dlg::backdrop { background: #040404; }
.flipbook-dlg[open] { animation: fb-dlg-in .32s ease-out; }
@keyframes fb-dlg-in { from { opacity: 0; } }
.flipbook-v { position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: radial-gradient(90% 75% at 50% 46%, #1b1b1b 0%, #101010 48%, #080808 100%); }
.flipbook-v:fullscreen { width: 100%; height: 100%; }

.flipbook-v__bar { position: relative; z-index: 6; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px clamp(10px, 2vw, 22px); border-bottom: 1px solid var(--line); background: rgba(6, 6, 6, .55); }
.flipbook-v__brand { display: flex; align-items: center; gap: 12px; flex: 1 1 0; min-width: 0; }
.flipbook-v__emb { width: 34px; height: auto; color: var(--membrane); flex: none; }
.flipbook-v__title { margin: 0; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.flipbook-v__title span { font-family: var(--f-display); font-weight: 600; font-size: .94rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flipbook-v__title small { font-size: .76rem; color: var(--concrete-2); white-space: nowrap; }
.flipbook-v__eds { flex: none; }
.flipbook-v__ed-s { display: none; }
.flipbook-v__tools { display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex: 1 1 0; }
.flipbook-v__btn { width: 42px; height: 42px; flex: none; display: inline-grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 50%; background: none; color: var(--limestone); cursor: pointer; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s, opacity .2s; }
.flipbook-v__btn[hidden] { display: none; }
.flipbook-v__btn:hover { background: var(--graphite-2); }
.flipbook-v__btn[aria-pressed="true"], .flipbook-v__btn[aria-expanded="true"] { color: var(--membrane); border-color: var(--membrane); }
.flipbook-v__btn[aria-disabled="true"] { opacity: .3; cursor: default; }
.flipbook-v__btn[aria-disabled="true"]:hover { background: none; }
.flipbook-v__close { margin-inline-start: 8px; border-color: var(--line-2); }
.flipbook-v__mode[aria-pressed="false"] .flipbook-v__i-spread, .flipbook-v__mode[aria-pressed="true"] .flipbook-v__i-single,
[data-fb-zoom][aria-pressed="false"] .flipbook-v__i-zout, [data-fb-zoom][aria-pressed="true"] .flipbook-v__i-zin,
[data-fb-fs][aria-pressed="false"] .flipbook-v__i-fsx, [data-fb-fs][aria-pressed="true"] .flipbook-v__i-fs { display: none; }

/* stage + book */
.flipbook-v__stage { position: relative; overflow: hidden; outline: none; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: default; }
.flipbook-v.is-dragging .flipbook-v__stage { cursor: grabbing; }
.flipbook-v.is-zoomed .flipbook-v__stage { cursor: grab; }
.flipbook-v.is-zoomed.is-panning .flipbook-v__stage { cursor: grabbing; }
.flipbook-v__zoom { position: absolute; inset: 0; transform-origin: 50% 50%; }
.flipbook-v__zoom.is-anim { transition: transform .38s var(--ease); }
.flipbook-v__zoom.is-pinch { will-change: transform; }
.flipbook-v__lift { position: absolute; inset: 0; transition: opacity .9s var(--ease), transform 1.15s var(--ease); }
.flipbook-v.is-intro .flipbook-v__lift { opacity: 0; transform: translate3d(0, 28px, 0) scale(.9); transition: none; }
.flipbook-v.is-quick .flipbook-v__lift { transition-duration: .28s, .34s; }

.flipbook-book { --pw: 600px; --ph: 338px; position: absolute; left: 50%; top: 50%; width: calc(var(--pw) * 2); height: var(--ph); margin: calc(var(--ph) / -2) 0 0 calc(var(--pw) * -1); perspective: var(--persp, 2000px); perspective-origin: 50% 50%; }
.flipbook-book__drop { position: absolute; inset: 0; border-radius: 4px; box-shadow: 0 34px 70px -14px rgba(0, 0, 0, .85), 0 12px 26px -6px rgba(0, 0, 0, .55); transform-origin: 50% 50%; pointer-events: none; }
.flipbook-book__stack { position: absolute; top: 2px; bottom: 2px; width: var(--stk, 8px); transform: scaleX(0); transition: transform .55s var(--ease); background: repeating-linear-gradient(90deg, #3a3a3a 0 1px, #151515 1px 2.6px); pointer-events: none; }
.flipbook-book__stack--l { right: 100%; transform-origin: 100% 50%; border-radius: 3px 0 0 3px; box-shadow: -2px 0 6px rgba(0, 0, 0, .4); }
.flipbook-book__stack--r { left: 100%; transform-origin: 0 50%; border-radius: 0 3px 3px 0; box-shadow: 2px 0 6px rgba(0, 0, 0, .4); }
/* halves and faces are their own compositor layers: the moving leaf, drop and casts never make them repaint or re-raster */
.flipbook-half { position: absolute; top: 0; width: var(--pw); height: var(--ph); overflow: hidden; background: #111111; will-change: transform; }
.flipbook-half[hidden] { display: none; }
.flipbook-half--l { left: 0; border-radius: 3px 0 0 3px; }
.flipbook-half--r { left: var(--pw); border-radius: 0 3px 3px 0; }
.flipbook-half img, .flipbook-leaf__face img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.flipbook-half__spine { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.flipbook-half--r .flipbook-half__spine { background: linear-gradient(90deg, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, .26) 1.6%, rgba(255, 255, 255, .06) 2.6%, rgba(0, 0, 0, .08) 4%, rgba(0, 0, 0, 0) 9%); }
.flipbook-half--l .flipbook-half__spine { background: linear-gradient(270deg, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, .26) 1.6%, rgba(255, 255, 255, .06) 2.6%, rgba(0, 0, 0, .08) 4%, rgba(0, 0, 0, 0) 9%); }
.flipbook-v.is-single .flipbook-half__spine { background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 3%); }
.flipbook-v.is-single .flipbook-half--l .flipbook-half__spine { background: linear-gradient(270deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 3%); }
.flipbook-half__cast { position: absolute; top: 0; bottom: 0; width: 46%; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.flipbook-half--r .flipbook-half__cast { left: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .34) 22%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, 0)); }
.flipbook-half--l .flipbook-half__cast { right: 0; background: linear-gradient(270deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .34) 22%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, 0)); }

/* the turning leaf: hinge on the spine, two faces */
.flipbook-leaf { position: absolute; top: 0; left: var(--pw); width: var(--pw); height: var(--ph); transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform; pointer-events: none; }
.flipbook-book.is-rtl .flipbook-leaf { left: 0; transform-origin: 100% 50%; }
.flipbook-leaf[hidden] { display: none; }
.flipbook-leaf__face { position: absolute; inset: 0; overflow: hidden; background: #111111; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 0 3px 3px 0; will-change: transform; }
.flipbook-leaf__face--b { transform: rotateY(180deg); border-radius: 3px 0 0 3px; }
.flipbook-book.is-rtl .flipbook-leaf__face--f { border-radius: 3px 0 0 3px; }
.flipbook-book.is-rtl .flipbook-leaf__face--b { border-radius: 0 3px 3px 0; }
.flipbook-leaf__paper { position: absolute; inset: 0; display: none; place-items: center; background: radial-gradient(120% 90% at 50% 50%, #1f1f1f, #141414); }
.flipbook-leaf__paper .emb { width: 22%; height: auto; color: var(--membrane); opacity: .1; }
.flipbook-leaf__face.is-blank .flipbook-leaf__paper { display: grid; }
.flipbook-leaf__face.is-blank img { display: none; }
.flipbook-leaf__shade, .flipbook-leaf__gloss, .flipbook-leaf__edge { position: absolute; opacity: 0; pointer-events: none; will-change: opacity, transform; }
.flipbook-leaf__shade { inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .42) 40%, rgba(0, 0, 0, .3)); }
.flipbook-leaf__gloss { top: 0; bottom: 0; left: -50%; width: 50%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .07) 35%, rgba(255, 255, 255, .17) 50%, rgba(255, 255, 255, .07) 65%, rgba(255, 255, 255, 0)); }
.flipbook-leaf__edge { top: 3%; bottom: 3%; right: 0; width: 2px; background: linear-gradient(rgba(242, 245, 90, 0), var(--membrane-hi) 22%, var(--membrane) 50%, var(--membrane-hi) 78%, rgba(242, 245, 90, 0)); box-shadow: 0 0 12px 1px rgba(224, 227, 32, .5), 0 0 34px 4px rgba(224, 227, 32, .16); }
/* faces whose spine edge is on the right (LTR back face, RTL front face): mirror the overlays */
.flipbook-book:not(.is-rtl) .flipbook-leaf__face--b .flipbook-leaf__shade, .flipbook-book.is-rtl .flipbook-leaf__face--f .flipbook-leaf__shade { background: linear-gradient(270deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .42) 40%, rgba(0, 0, 0, .3)); }
.flipbook-book:not(.is-rtl) .flipbook-leaf__face--b .flipbook-leaf__gloss, .flipbook-book.is-rtl .flipbook-leaf__face--f .flipbook-leaf__gloss { left: auto; right: -50%; }
.flipbook-book:not(.is-rtl) .flipbook-leaf__face--b .flipbook-leaf__edge, .flipbook-book.is-rtl .flipbook-leaf__face--f .flipbook-leaf__edge { right: auto; left: 0; }

/* side arrows, intro, spinner */
.flipbook-v__nav { position: absolute; top: 50%; z-index: 3; width: 50px; height: 50px; margin-top: -25px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(6, 6, 6, .7); color: var(--limestone); cursor: pointer; transition: border-color .25s, background-color .25s, opacity .3s; }
.flipbook-v__nav:hover { border-color: var(--membrane); background: var(--graphite); }
.flipbook-v__nav--prev { inset-inline-start: 14px; }
.flipbook-v__nav--next { inset-inline-end: 14px; }
.flipbook-v__nav[aria-disabled="true"] { opacity: 0; pointer-events: none; }
.flipbook-v.is-zoomed .flipbook-v__nav, .flipbook-v.is-intro .flipbook-v__nav { opacity: 0; pointer-events: none; }
.flipbook-v__chev { width: 22px; height: 22px; }
[dir="ltr"] > [data-fb-prev] .flipbook-v__chev, [dir="ltr"] [data-fb-prev] .flipbook-v__chev, [dir="rtl"] [data-fb-next] .flipbook-v__chev { transform: scaleX(-1); }
.flipbook-v__intro { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: screen; }
.flipbook-v__intro.is-on { opacity: 1; }
.flipbook-v__intro.is-out { opacity: 0; transition-duration: .32s; }
.flipbook-v__phx { position: relative; height: min(88%, 700px); aspect-ratio: 9 / 16; max-width: 92%; }
.flipbook-v__emblem { width: min(24vmin, 150px); color: var(--membrane); animation: fb-emb .76s var(--ease) both; }
.flipbook-v__emblem .emb { width: 100%; height: auto; filter: drop-shadow(0 0 22px rgba(224, 227, 32, .38)); }
@keyframes fb-emb { 0% { opacity: 0; transform: scale(.86); } 45% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.05); } }
.flipbook-v__spin { position: absolute; left: 50%; top: 50%; z-index: 5; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 2px solid rgba(255, 255, 255, .14); border-top-color: var(--membrane); border-radius: 50%; opacity: 0; transition: opacity .2s; pointer-events: none; }
.flipbook-v.is-loading .flipbook-v__spin { opacity: 1; animation: fb-spin .8s linear infinite; }
@keyframes fb-spin { to { transform: rotate(360deg); } }

/* footer: pager + hints */
.flipbook-v__foot { position: relative; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 10px 26px; flex-wrap: wrap; min-height: 62px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(6, 6, 6, .55); }
.flipbook-v__pager { display: flex; align-items: center; gap: 6px; }
.flipbook-v__step { border-color: var(--line-2); }
.flipbook-v__go { display: flex; align-items: center; gap: 4px; padding: 0 12px; height: 42px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-mono); font-size: .9rem; color: var(--concrete); }
.flipbook-v__go input { width: 2.4ch; padding: 0; border: 0; background: none; color: var(--limestone); font: inherit; font-weight: 500; text-align: end; outline: none; }
.flipbook-v__go:focus-within { border-color: var(--membrane); }
.flipbook-v__range { margin-inline-start: -4px; color: var(--limestone); }
.flipbook-v__range:empty { display: none; }
.flipbook-v__hint { margin: 0; font-size: .8rem; color: var(--concrete-2); }
.flipbook-v__hint-t { display: none; }
@media (hover: none) { .flipbook-v__hint-d { display: none; } .flipbook-v__hint-t { display: inline; } }
.flipbook-v__rotate { display: none; margin: 0; align-items: center; gap: 8px; font-size: .78rem; color: var(--concrete-2); }
.flipbook-v__rotate .ic { width: 17px; height: 17px; color: var(--membrane); }

/* thumbnails panel */
/* an absolutely positioned grid child: its containing block is the stage + footer area, whatever the bar's height */
.flipbook-thumbs { position: absolute; grid-row: 2 / -1; grid-column: 1 / -1; inset: 0; z-index: 7; display: flex; justify-content: center; align-items: flex-end; background: rgba(3, 3, 3, .55); opacity: 0; transition: opacity .25s; }
.flipbook-thumbs[hidden] { display: none; }
.flipbook-thumbs.is-open { opacity: 1; }
.flipbook-thumbs__in { width: 100%; max-height: 100%; display: flex; flex-direction: column; background: #0d0d0d; border-top: 1px solid var(--line-2); box-shadow: 0 -30px 60px rgba(0, 0, 0, .5); transform: translateY(24px); transition: transform .35s var(--ease); }
.flipbook-thumbs.is-open .flipbook-thumbs__in { transform: none; }
.flipbook-thumbs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(12px, 2vw, 24px); border-bottom: 1px solid var(--line); }
.flipbook-thumbs__t { margin: 0; font-family: var(--f-display); font-size: 1rem; font-weight: 600; }
.flipbook-thumbs__grid { list-style: none; margin: 0; padding: 16px clamp(12px, 2vw, 24px) calc(20px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 12px; overflow: auto; overscroll-behavior: contain; min-height: 0; max-height: min(64vh, 560px); }
.flipbook-thumbs__b { position: relative; width: 100%; display: block; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.flipbook-thumbs__b img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 4px; background: #151515; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, opacity .2s; }
.flipbook-thumbs__b:hover img { box-shadow: 0 0 0 2px rgba(224, 227, 32, .55); }
.flipbook-thumbs__b[aria-current] img { box-shadow: 0 0 0 2px var(--membrane); }
.flipbook-thumbs__n { display: inline-block; margin-top: 6px; font-family: var(--f-mono); font-size: .74rem; color: var(--concrete-2); }
.flipbook-thumbs__b[aria-current] .flipbook-thumbs__n { color: var(--membrane); }
.flipbook-thumbs__ch { display: block; font-family: var(--f-display); font-size: .76rem; line-height: 1.4; color: var(--limestone); }

@media (max-width: 900px) {
  .flipbook-v__title small { display: none; }
}
@media (max-width: 700px) {
  .flipbook-v__bar { gap: 8px; min-height: 56px; padding-block: 6px; }
  .flipbook-v__title, .flipbook-v__nav { display: none; }
  .flipbook-v__emb { width: 30px; }
  .flipbook-v__ed-l { display: none; }
  .flipbook-v__ed-s { display: inline; }
  .flipbook-v__eds button { padding: 0 12px; }
  .flipbook-v__btn { width: 40px; height: 40px; }
  .flipbook-v__close { margin-inline-start: 2px; }
  .flipbook-thumbs__grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px 8px; max-height: 70vh; }
  .flipbook-v__hint { display: none; }
}
@media (max-width: 380px) {
  .flipbook-v__tools { gap: 0; }
  .flipbook-v__btn { width: 40px; }
}
@media (orientation: portrait) and (max-width: 700px) {
  .flipbook-v__rotate { display: flex; }
}
/* phones held sideways: slim chrome, so the page gets the height */
@media (orientation: landscape) and (max-height: 520px) {
  .flipbook-v__bar { min-height: 0; padding-block: 3px; }
  .flipbook-v__title small { display: none; }
  .flipbook-v__btn { width: 40px; height: 40px; }
  .flipbook__seg.flipbook-v__eds button { min-height: 36px; }
  .flipbook-v__foot { min-height: 0; padding-block: 3px calc(3px + env(safe-area-inset-bottom)); }
  .flipbook-v__go { height: 38px; }
  .flipbook-v__hint { display: none; }
  .flipbook-v__nav { width: 44px; height: 44px; margin-top: -22px; }
  .flipbook-thumbs__grid { max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .flipbook.is-vis .flipbook-mock__float { animation: none; }
  .flipbook-v.is-intro .flipbook-v__lift { transform: none; }
}
@media print { .flipbook-dlg { display: none !important; } }

/* ---- feature: fx.css ---- */
/* ---------- fx: scroll progress under the header */
.fx-progress { position: fixed; top: calc(var(--hdr-h) - 1px); inset-inline: 0; z-index: 61; height: 2px; pointer-events: none; }
.fx-progress__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--membrane), var(--membrane-hi)); box-shadow: 0 0 10px rgba(224, 227, 32, .5); transform: scaleX(0); transform-origin: left center; will-change: transform; }
html[dir="rtl"] .fx-progress__bar { transform-origin: right center; }

/* ---------- fx: back to top, with a progress ring */
.fx-top { position: fixed; inset-inline-end: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 55; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--limestone); text-decoration: none; background: rgba(8, 8, 8, .8); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transform: translate3d(0, 14px, 0) scale(.92); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s, color .2s; }
.fx-top.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s, color .2s; }
.fx-top:hover { color: var(--membrane); }
.fx-top .ic { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.fx-top:hover .ic { transform: translateY(-2px); }
.fx-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
html[dir="rtl"] .fx-top__ring { transform: rotate(-90deg) scaleY(-1); }
.fx-top__ring circle { fill: none; stroke-width: 1.6; }
.fx-top__track { stroke: var(--line-2); }
.fx-top__val { stroke: var(--membrane); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
@media (max-width: 600px) { .fx-top { width: 46px; height: 46px; } }

/* ---------- fx: reveals (only ever applied by fx.js to elements below the fold; content is visible without JS) */
.fx-w { display: inline-block; clip-path: inset(-.5em -.3em -.32em -.3em); }
.fx-wi { display: inline-block; transition: transform 1.05s var(--ease), opacity .9s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.fx-hide .fx-wi { transform: translate3d(0, 145%, 0); opacity: 0; }
.fx-done .fx-w { clip-path: none; }
.fx-lead { transition: opacity 1s var(--ease) .28s, transform 1s var(--ease) .28s; }
.fx-lead.fx-hide { opacity: 0; transform: translate3d(0, 16px, 0); }
/* overflow: the zoomed image must not widen the page (phones would zoom out); clip-path alone does not affect overflow.
   Only `hidden`, never `clip`: a box with overflow:clip is not a scroll container, so an aspect-ratio box (featured project
   card media, 16:9) would grow to its image's min-content height during the reveal and snap back afterwards (layout shift). */
.fx-clip { overflow: hidden; clip-path: inset(0 0 0 0); transition: clip-path 1.3s cubic-bezier(.66, 0, .16, 1); }
html[dir="rtl"] .fx-clip.fx-hide { clip-path: inset(0 0 0 100%); }
html[dir="ltr"] .fx-clip.fx-hide { clip-path: inset(0 100% 0 0); }
.fx-clip img { transition: transform 1.7s var(--ease); }
.fx-clip.fx-hide img { transform: scale(1.14); }

/* ---------- fx: hero figures count up. The real text keeps its box (transparent); the counting value is painted on top. */
.fx-count { position: relative; -webkit-text-fill-color: transparent; }
.fx-count::after { content: attr(data-fx-n); content: attr(data-fx-n) / ""; position: absolute; inset: 0; text-align: right; white-space: nowrap; -webkit-text-fill-color: currentColor; }
.fx-par { will-change: transform; }

/* ---------- fx: pointer spotlight, tilt, magnetic (fine pointers only; classes are added by fx.js) */
@media (hover: hover) and (pointer: fine) {
  .fx-spot { position: relative; }
  .fx-spot::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); background: radial-gradient(var(--fx-r, 360px) circle at var(--fx-x, 50%) var(--fx-y, 50%), var(--fx-c, rgba(255, 255, 255, .055)), transparent 55%); }
  .fx-spot.fx-lit::after { opacity: 1; }
  .pcard__btn.fx-spot::before, .logos li.fx-spot::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); background: radial-gradient(240px circle at var(--fx-x, 50%) var(--fx-y, 50%), rgba(224, 227, 32, .7), transparent 62%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
  .pcard__btn.fx-spot.fx-lit::before, .logos li.fx-spot.fx-lit::before { opacity: 1; }
  .svc__item.fx-spot { --fx-r: 460px; --fx-c: rgba(255, 255, 255, .04); }
  .doc__thumb.fx-spot { --fx-r: 320px; --fx-c: rgba(255, 255, 255, .3); }
  .logos li.fx-spot { --fx-r: 260px; --fx-c: rgba(255, 255, 255, .05); }
  .fx-tilt { transition: transform .4s var(--ease), background-color .25s; }
  .fx-tilt.fx-tilting { transition: transform .16s linear, background-color .25s; will-change: transform; }
  .fx-mag { transition: transform .45s cubic-bezier(.2, .9, .25, 1.25), background-color .2s, color .2s; }
  .fx-mag.fx-magging { transition: transform .18s var(--ease), background-color .2s, color .2s; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-top { transition: none; }
}
@media print { .fx-progress, .fx-top { display: none !important; } .fx-hide, .fx-hide .fx-wi { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* ---- feature: gallery.css ---- */
/* ================================================================ gallery: section */
.gallery-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.gallery-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.gallery-chip {
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 15px;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--concrete);
  cursor: pointer; font-family: var(--f-display); font-size: .88rem; line-height: 1.35; white-space: nowrap;
  transition: color .2s, background-color .25s, border-color .25s, box-shadow .25s;
}
.gallery-chip:hover { color: var(--limestone); border-color: rgba(255, 255, 255, .42); }
.gallery-chip[aria-pressed="true"] { background: var(--membrane); border-color: var(--membrane); color: var(--membrane-ink); font-weight: 600; box-shadow: 0 8px 22px -12px rgba(224, 227, 32, .7); }
.gallery-chip__n { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .02em; opacity: .62; }
.gallery-chip[aria-pressed="true"] .gallery-chip__n { opacity: .75; }
.gallery-count { margin: 0; margin-inline-start: auto; font-family: var(--f-display); font-size: .82rem; color: var(--concrete-2); white-space: nowrap; }
.gallery-count .num { color: var(--limestone); font-family: var(--f-mono); font-size: .92em; }

.gallery-stage { container-type: inline-size; }
.gallery-grid {
  --cols: 4; --gap: clamp(8px, 1.05vw, 14px);
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-flow: row dense;
  grid-auto-rows: clamp(118px, 15.5vw, 212px); gap: var(--gap);
}
@supports (width: 1cqw) { .gallery-grid { grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * .74); } }
@media (max-width: 1099px) { .gallery-grid { --cols: 3; } }
@media (max-width: 699px) { .gallery-grid { --cols: 2; } }

.gallery-item { --c: var(--graphite); --q1: var(--c); --q2: var(--c); --q3: var(--c); --q4: var(--c); position: relative; min-width: 0; transform-origin: 0 0; }
.gallery-item--f { grid-column: span 2; grid-row: span 2; }
.gallery-item--w { grid-column: span 2; }
.gallery-item--t { grid-row: span 2; }
.gallery-item[hidden], .js .gallery-item--more { display: none; }
.gallery-item.is-n { grid-column: auto; grid-row: auto; }
.gallery-item.is-leaving { z-index: 0; pointer-events: none; }

.gallery-tile {
  position: absolute; inset: 0; display: block; overflow: hidden; isolation: isolate;
  border-radius: var(--r-s); color: var(--limestone); text-decoration: none; -webkit-tap-highlight-color: transparent;
  background-color: var(--c);
  background-image: radial-gradient(circle at 0 0, var(--q1), transparent 72%), radial-gradient(circle at 100% 0, var(--q2), transparent 72%),
    radial-gradient(circle at 0 100%, var(--q3), transparent 72%), radial-gradient(circle at 100% 100%, var(--q4), transparent 72%);
}
.gallery-tile:focus-visible { outline: 2px solid var(--membrane); outline-offset: 3px; }
.gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .7s ease, filter .9s ease; }
.gallery-item.is-pending .gallery-img { opacity: 0; filter: blur(14px); transform: scale(1.06); }
.gallery-item.is-instant .gallery-img { transition: none; }
.gallery-item.is-broken .gallery-img { opacity: 0; }
/* legibility shade + caption */
.gallery-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(6, 6, 6, .86), rgba(6, 6, 6, .38) 34%, rgba(6, 6, 6, 0) 62%); opacity: 0; transition: opacity .45s ease; }
.gallery-cap { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; display: grid; gap: 1px; padding: 12px 14px 12px; font-size: .88rem; line-height: 1.5; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .55s var(--ease); }
.gallery-cap__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
.gallery-cap__p { font-size: .76rem; color: var(--concrete); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-item--f .gallery-cap { padding: 18px 20px; font-size: 1rem; }
.gallery-tag {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; max-width: calc(100% - 20px);
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 9px; border-radius: 999px;
  background: rgba(6, 6, 6, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 .66rem/1.6 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background-color .3s;
}
html[lang="ar"] .gallery-tag { font-family: var(--f-display); font-size: .7rem; letter-spacing: 0; font-weight: 500; }
.gallery-tag::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--membrane); }
.gallery-badge { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--membrane); color: var(--membrane-ink); font-family: var(--f-display); font-size: .7rem; font-weight: 600; }
.gallery-badge .ic { width: 14px; height: 14px; }
/* architectural renders: a quiet glass badge in the tag's place, always visible (never mistaken for site photos) */
.gallery-badge--render {
  inset-inline-start: 10px; inset-inline-end: auto; gap: 6px; padding: 3px 10px 3px 8px;
  background: rgba(6, 6, 6, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(110, 147, 176, .55); color: var(--limestone);
  font: 500 .66rem/1.6 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
}
html[lang="ar"] .gallery-badge--render { font-family: var(--f-display); font-size: .7rem; letter-spacing: 0; }
.gallery-badge--render .ic { width: 13px; height: 13px; color: var(--xps); stroke-width: 1.7; }
/* drawing-sheet crop marks on hover */
.gallery-tile::after {
  content: ""; position: absolute; inset: 16px; z-index: 3; pointer-events: none; opacity: 0;
  --m: var(--membrane);
  background:
    linear-gradient(var(--m), var(--m)) 0 0 / 14px 1.5px, linear-gradient(var(--m), var(--m)) 0 0 / 1.5px 14px,
    linear-gradient(var(--m), var(--m)) 100% 0 / 14px 1.5px, linear-gradient(var(--m), var(--m)) 100% 0 / 1.5px 14px,
    linear-gradient(var(--m), var(--m)) 0 100% / 14px 1.5px, linear-gradient(var(--m), var(--m)) 0 100% / 1.5px 14px,
    linear-gradient(var(--m), var(--m)) 100% 100% / 14px 1.5px, linear-gradient(var(--m), var(--m)) 100% 100% / 1.5px 14px;
  background-repeat: no-repeat;
  transition: opacity .35s ease, inset .6s var(--ease);
}
@media (hover: hover) {
  .gallery-tile:hover .gallery-img { transform: scale(1.05); }
  .gallery-tile:hover::before, .gallery-tile:focus-visible::before { opacity: 1; }
  .gallery-tile:hover .gallery-cap, .gallery-tile:focus-visible .gallery-cap { opacity: 1; transform: none; }
  .gallery-tile:hover::after { opacity: .9; inset: 8px; }
  .gallery-tile:hover .gallery-tag { background: rgba(6, 6, 6, .82); }
}
/* touch: captions always visible */
@media (hover: none) {
  .gallery-tile::before { opacity: .92; }
  .gallery-cap { opacity: 1; transform: none; }
  .gallery-tile:focus-visible .gallery-cap { opacity: 1; }
}
@media (hover: none) and (max-width: 699px) {
  .gallery-cap { padding: 8px 10px 9px; font-size: .78rem; line-height: 1.45; }
  .gallery-item:not(.gallery-item--f):not(.gallery-item--w) .gallery-cap__t { -webkit-line-clamp: 2; }
  .gallery-item:not(.gallery-item--f) .gallery-cap__p { display: none; }
  .gallery-tag { top: 7px; inset-inline-start: 7px; max-width: calc(100% - 14px); padding: 1px 8px 1px 7px; gap: 6px; font-family: var(--f-display); font-size: .64rem; letter-spacing: 0; text-transform: none; }
  .gallery-badge--render { top: 7px; inset-inline-start: 7px; padding: 1px 8px 1px 6px; font-family: var(--f-display); font-size: .64rem; letter-spacing: 0; text-transform: none; }
}
/* reveal on first view */
.gallery-grid.is-pre .gallery-item { opacity: 0; transform: translateY(28px); }
.gallery-grid.is-reveal .gallery-item { transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }

.gallery-more { display: flex; justify-content: center; margin-top: clamp(22px, 3vw, 34px); }
.gallery-more[hidden], html:not(.js) .gallery-more { display: none; }
.gallery-more__n { font-family: var(--f-mono); font-size: .86em; font-weight: 500; color: var(--concrete); }

@media (max-width: 699px) {
  .gallery-bar { gap: 10px; }
  .gallery-chips {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; width: calc(100% + 2 * var(--gut));
    margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent);
    mask-image: linear-gradient(to right, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent);
  }
  .gallery-chips::-webkit-scrollbar { display: none; }
  .gallery-count { margin-inline-start: 0; }
}

/* ================================================================ before / after */
.gallery-ba { --pos: 50%; position: relative; margin: 0; aspect-ratio: var(--ar, 4 / 3); overflow: hidden; background: var(--graphite); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.gallery-ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
html[dir="rtl"] .gallery-ba__before { clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.gallery-ba__line { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--pos); width: 2px; margin-inline-start: -1px; background: var(--membrane); box-shadow: 0 0 0 1px rgba(6, 6, 6, .25); pointer-events: none; }
.gallery-ba__handle { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border-radius: 50%; background: var(--membrane); color: var(--membrane-ink); box-shadow: 0 6px 22px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
.gallery-ba__handle .ic { width: 22px; height: 22px; stroke-width: 1.9; }
.gallery-ba.is-drag .gallery-ba__handle { transform: scale(1.08); }
.gallery-ba:has(.gallery-ba__range:focus-visible) .gallery-ba__handle { outline: 2px solid var(--limestone); outline-offset: 3px; }
.gallery-ba__lbl { position: absolute; top: 12px; z-index: 1; padding: 3px 11px; border-radius: 999px; background: rgba(6, 6, 6, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 500 .7rem/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
html[lang="ar"] .gallery-ba__lbl { font-family: var(--f-display); font-size: .74rem; letter-spacing: 0; }
.gallery-ba__lbl--b { inset-inline-start: 12px; }
.gallery-ba__lbl--a { inset-inline-end: 12px; }
.gallery-ba__range { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; margin: 0; opacity: 0; pointer-events: none; }

/* ================================================================ viewer (generic lightbox) */
html.gallery-lock { overflow: hidden; }
html.gallery-lock body { padding-right: var(--gallery-sbw, 0px); }
.gallery-lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  overflow: hidden; background: transparent; color: var(--limestone); outline: none; overscroll-behavior: contain;
}
.gallery-lb[open] { display: block; }
.gallery-lb::backdrop { background: transparent; }
.gallery-lb__bg { position: absolute; inset: 0; background: rgba(6, 6, 6, .985); }
.gallery-lb:not(.is-dragging) .gallery-lb__bg { transition: opacity .3s ease; }
.gallery-lb__stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: default; }
.gallery-lb__track { position: absolute; inset: 0; }
.gallery-lb__slide { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--lb-pt, 76px) var(--lb-px, 64px) var(--lb-pb, 150px); pointer-events: none; }
.gallery-lb__frame { position: relative; overflow: hidden; border-radius: 2px; background: var(--graphite); box-shadow: 0 30px 90px rgba(0, 0, 0, .55); transform-origin: 50% 50%; pointer-events: auto; cursor: zoom-in; will-change: transform; }
.gallery-lb.is-zoomed .gallery-lb__frame { cursor: grab; border-radius: 0; }
.gallery-lb.is-zoomed .gallery-lb__stage:active .gallery-lb__frame { cursor: grabbing; }
.gallery-lb.has-ba .gallery-lb__slide:nth-child(2) .gallery-lb__frame { cursor: default; }
.gallery-lb__frame.is-anim { transition: transform .36s var(--ease); }
.gallery-lb__ph, .gallery-lb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.gallery-lb__ph { filter: blur(10px); transform: scale(1.04); }
.gallery-lb__ph:not([src]) { display: none; }
.gallery-lb__img { opacity: 0; transition: opacity .4s ease; }
.gallery-lb__frame.is-ready .gallery-lb__img { opacity: 1; }
.gallery-lb__frame.is-ready .gallery-lb__ph { visibility: hidden; transition: visibility 0s .45s; }
.gallery-lb__frame.is-broken .gallery-lb__img { opacity: 0; }
.gallery-lb__frame .gallery-ba { position: absolute; inset: 0; aspect-ratio: auto; }

.gallery-lb__top, .gallery-lb__foot, .gallery-lb__nav { z-index: 3; transition: opacity .3s ease; }
.gallery-lb__top {
  position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) clamp(14px, 2.6vw, 28px) 14px; pointer-events: none;
  background: linear-gradient(rgba(6, 6, 6, .72), rgba(6, 6, 6, 0));
}
.gallery-lb__top > * { pointer-events: auto; }
.gallery-lb__count { margin: 0; font-family: var(--f-mono); font-size: .82rem; letter-spacing: .1em; color: var(--concrete); }
.gallery-lb__count span:first-child { color: var(--limestone); }
.gallery-lb__tools { display: flex; gap: 8px; margin-inline-start: auto; }
.gallery-lb__tools .iconbtn { background: rgba(8, 8, 8, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gallery-lb__tools .iconbtn:hover { background: var(--graphite-2); }
.gallery-lb__x { border-color: rgba(255, 255, 255, .4); }
.gallery-lb .gallery-ic-out, .gallery-lb.is-zoomed .gallery-ic-in { display: none; }
.gallery-lb.is-zoomed .gallery-ic-out { display: block; }
.gallery-lb.has-ba [data-glb-act="zoom"] { visibility: hidden; }
.gallery-lb__nav {
  position: absolute; top: calc(var(--lb-pt, 76px) + (100% - var(--lb-pt, 76px) - var(--lb-pb, 150px)) / 2); margin-top: -26px;
  width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(8, 8, 8, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--limestone); cursor: pointer; transition: opacity .3s ease, background-color .2s, border-color .2s;
}
.gallery-lb__nav:hover { border-color: var(--membrane); background: var(--graphite-2); }
.gallery-lb__nav--prev { inset-inline-start: clamp(10px, 1.6vw, 24px); }
.gallery-lb__nav--next { inset-inline-end: clamp(10px, 1.6vw, 24px); }
.gallery-lb.is-single .gallery-lb__nav { display: none; }
.gallery-lb__foot {
  position: absolute; inset: auto 0 0; display: grid; gap: 10px; pointer-events: none;
  padding: 26px clamp(14px, 2.6vw, 28px) max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(rgba(6, 6, 6, 0), rgba(6, 6, 6, .78) 38%);
}
.gallery-lb__foot > * { pointer-events: auto; }
.gallery-lb__cap { justify-self: center; width: min(820px, 100%); min-height: 4.9em; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; text-align: center; }
.gallery-lb__meta { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; font: 500 .7rem/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--concrete); }
html[lang="ar"] .gallery-lb__meta { font-family: var(--f-display); font-size: .76rem; letter-spacing: 0; }
.gallery-lb__tag { display: inline-flex; align-items: center; gap: 7px; color: var(--limestone); }
.gallery-lb__tag::before { content: ""; width: 5px; height: 5px; background: var(--membrane); }
.gallery-lb__render { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px 1px 8px; border: 1px solid rgba(110, 147, 176, .55); border-radius: 999px; color: var(--limestone); }
.gallery-lb__render .ic { width: 13px; height: 13px; color: var(--xps); }
.gallery-lb__t { margin: 0; font-size: 1.02rem; line-height: 1.6; text-wrap: balance; }
.gallery-lb__proj { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 2px; padding: 4px 6px; border: 0; background: none; color: var(--concrete); cursor: pointer; font-size: .86rem; }
.gallery-lb__proj strong { color: var(--limestone); font-family: var(--f-display); font-weight: 600; text-decoration: underline; text-decoration-color: var(--membrane); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.gallery-lb__proj .ic { width: 17px; height: 17px; }
.gallery-lb__proj:hover strong { color: var(--membrane); }
.gallery-lb__thumbs { display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 3px 3px 2px; touch-action: pan-x; }
.gallery-lb__thumbs::-webkit-scrollbar { display: none; }
.gallery-lb__thumbs[hidden] { display: none; }
.gallery-lb__th { flex: none; position: relative; width: 62px; height: 44px; padding: 0; border: 0; border-radius: 3px; overflow: hidden; cursor: pointer; background: var(--graphite); opacity: .42; transition: opacity .25s, box-shadow .25s; }
.gallery-lb__th:first-child { margin-inline-start: auto; }
.gallery-lb__th:last-child { margin-inline-end: auto; }
.gallery-lb__th img { width: 100%; height: 100%; object-fit: cover; }
.gallery-lb__th:hover { opacity: .8; }
.gallery-lb__th[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--membrane); }
.gallery-lb__th:focus-visible { outline-offset: 1px; opacity: 1; }
.gallery-lb__toast { position: absolute; left: 50%; bottom: calc(var(--lb-pb, 150px) + 12px); z-index: 5; margin: 0; padding: 9px 18px; border-radius: 999px; background: var(--limestone); color: var(--bitumen); font-family: var(--f-display); font-size: .86rem; font-weight: 600; opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.gallery-lb__toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* chrome hidden: single tap (touch), while zoomed, while dragging down, while closing */
.gallery-lb.is-bare .gallery-lb__top, .gallery-lb.is-bare .gallery-lb__foot, .gallery-lb.is-bare .gallery-lb__nav,
.gallery-lb.is-dragging .gallery-lb__top, .gallery-lb.is-dragging .gallery-lb__foot, .gallery-lb.is-dragging .gallery-lb__nav,
.gallery-lb.is-out .gallery-lb__top, .gallery-lb.is-out .gallery-lb__foot, .gallery-lb.is-out .gallery-lb__nav { opacity: 0; pointer-events: none; }
.gallery-lb.is-zoomed .gallery-lb__foot, .gallery-lb.is-zoomed .gallery-lb__nav { opacity: 0; pointer-events: none; }
.gallery-lb.is-bare .gallery-lb__top *, .gallery-lb.is-bare .gallery-lb__foot *, .gallery-lb.is-zoomed .gallery-lb__foot * { pointer-events: none; }
@media (max-width: 699px) {
  .gallery-lb__top { padding-inline: 10px; }
  .gallery-lb__tools { gap: 6px; }
  .gallery-lb__tools .iconbtn { width: 40px; height: 40px; }
  .gallery-lb__nav { width: 40px; height: 40px; margin-top: -20px; background: rgba(8, 8, 8, .45); }
  .gallery-lb__nav .ic { width: 18px; height: 18px; }
  .gallery-lb__frame { border-radius: 0; box-shadow: none; }
  .gallery-lb__cap { min-height: 4.4em; }
  .gallery-lb__t { font-size: .94rem; }
  .gallery-lb__th { width: 52px; height: 38px; }
  .gallery-lb__foot { padding-inline: 10px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-img, .gallery-cap, .gallery-tile::before, .gallery-tile::after, .gallery-lb__img, .gallery-lb__frame.is-anim { transition: none; }
  .gallery-item.is-pending .gallery-img { filter: none; transform: none; }
}
@media print {
  .gallery-lb, .gallery-more, .gallery-chips { display: none !important; }
}

/* ---- feature: marquee.css ---- */
/* ---------- marquee: shared row mechanics
   Static by default (first set only, horizontally scrollable): that is what no-JS and reduced-motion visitors get.
   marquee.js adds .is-anim to a row when it drives it (WAAPI), which reveals the aria-hidden copies and clips the overflow. */
.mq, .mqb { --mq-lh: 28px; --mq-gap: 46px; --mq-fade: 9%; }
.mq__row { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; }
.mq__row::-webkit-scrollbar { display: none; }
.mq__row.is-anim { overflow: hidden; }
/* static (no JS / reduced motion): a plain scrollable row with a hairline scrollbar, faded only at its end */
.mq__row:not(.is-anim) { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.mq__row:not(.is-anim) .mq__set + .mq__set { display: none; }
.mq__track { display: flex; width: max-content; }
.mq__row.is-anim .mq__track { will-change: transform; }
.mq__set { flex: none; list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--mq-gap); padding-inline: 0 var(--mq-gap); }
.mq__i { position: relative; flex: none; display: grid; place-items: center; }
.mq__i img { display: block; width: auto; max-width: none; height: calc(var(--mq-lh) * var(--s, 1)); }
.mq__m { opacity: .72; transition: opacity .35s var(--ease); }
.mq__c { position: absolute; inset: 0; margin: auto; opacity: 0; transition: opacity .35s var(--ease), filter .35s var(--ease); pointer-events: none; }
/* keyboard focus inside a strip (label link / pause button): the strip stops and shows its logos in colour */
.mq:focus-within .mq__m, .mqb:focus-within .mq__m { opacity: .95; }
.mq.has-c:focus-within .mq__m, .mqb.has-c:focus-within .mq__m { opacity: 0; }
.mq:focus-within .mq__c, .mqb:focus-within .mq__c { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .mq__i { transition: transform .45s var(--ease); }
  .mq__i:hover { transform: translateY(-2px); }
  .mq__i:hover .mq__m { opacity: 1; }
  .has-c .mq__i:hover .mq__m { opacity: 0; }
  .mq__i:hover .mq__c { opacity: 1; filter: drop-shadow(0 0 10px rgba(224, 227, 32, .28)); }
}

/* pause / play (WCAG 2.2.2): one state for every marquee, remembered */
.mq__pause { flex: none; width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--concrete); cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.mq__pause:hover { color: var(--limestone); border-color: var(--membrane); background: var(--graphite); }
.mq__pause .ic { width: 15px; height: 15px; }
.mq__ic-play { display: none; }
.mq__pause[aria-pressed="true"] { color: var(--membrane); border-color: var(--membrane); }
.mq__pause[aria-pressed="true"] .mq__ic-pause { display: none; }
.mq__pause[aria-pressed="true"] .mq__ic-play { display: block; fill: currentColor; }
.mq:not(.is-moving) .mq__pause, .mqb:not(.is-moving) .mq__pause { visibility: hidden; }

/* ---------- hero strip ("trusted by"), the last line of the hero */
.mq--hero { --mq-lh: 34px; --mq-gap: 54px; position: relative; z-index: 4; width: 100%; padding-block: 8px 9px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(6, 6, 6, .3), rgba(6, 6, 6, .78)); animation: mq-rise 1s var(--ease) .65s both; }
/* a lime glint travels along the strip's top edge while it moves (transform only) */
.mq--hero::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 34%; height: 1px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, rgba(224, 227, 32, .85) 50%, transparent); }
.mq--hero.is-moving.is-vis::before { animation: mq-glint 9s cubic-bezier(.45, 0, .55, 1) 1.6s infinite; }
@keyframes mq-glint { 0% { opacity: 0; transform: translateX(-100%); } 12% { opacity: 1; } 55% { opacity: 1; } 70%, 100% { opacity: 0; transform: translateX(295%); } }
html[dir="rtl"] .mq--hero::before { animation-name: mq-glint-rtl; }
@keyframes mq-glint-rtl { 0% { opacity: 0; transform: translateX(100%); } 12% { opacity: 1; } 55% { opacity: 1; } 70%, 100% { opacity: 0; transform: translateX(-295%); } }
.mq--hero .mq__in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; padding-inline-start: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); }
.mq__head { display: flex; align-items: center; gap: 12px; padding-inline-end: 22px; border-inline-end: 1px solid var(--line); }
.mq__label { display: flex; flex-direction: column; gap: 1px; text-decoration: none; line-height: 1.3; }
.mq__k { font-family: var(--f-display); font-size: .72rem; color: var(--concrete-2); }
.mq__v { font-family: var(--f-display); font-size: .86rem; font-weight: 600; color: var(--limestone); white-space: nowrap; transition: color .2s; }
.mq__v .num { color: var(--membrane); }
.mq__label:hover .mq__v { color: var(--membrane-hi); }
.mq--hero .mq__rows { min-width: 0; display: grid; gap: 2px; }
.mq--hero .mq__row { padding-block: 3px; -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--mq-fade), #000 calc(100% - var(--mq-fade)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--mq-fade), #000 calc(100% - var(--mq-fade)), transparent); }
html[dir="rtl"] .mq__row:not(.is-anim) { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - var(--mq-fade)), transparent); mask-image: linear-gradient(to left, #000 calc(100% - var(--mq-fade)), transparent); }
html[dir="ltr"] .mq__row:not(.is-anim) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--mq-fade)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--mq-fade)), transparent); }
@keyframes mq-rise { from { opacity: 0; transform: translateY(12px); } }
/* the brand feature holds the hero while its intro plays; the strip rises after the copy once it is released */
html.js .hero.brand-hold .mq--hero { opacity: 0; animation: none; }

/* desktop: make room for the strip inside the first screen (header + canopy keep their clearance) */
@media (min-width: 901px) {
  .hero__in { padding-top: calc(var(--hdr-h) + clamp(64px, 9vh, 150px)); }
  .hero > .tblock { margin-top: clamp(30px, 5vh, 64px); margin-bottom: 14px; }
}
@media (min-width: 901px) and (max-height: 859px) { .mq--hero .mq__row--2 { display: none; } }
/* phones, tablets and short laptop screens: the strip sits right under the calls to action, above the title block */
@media (max-width: 900px), (max-height: 800px) {
  .hero > .tblock { order: 2; }
  .mq--hero { order: 1; margin-top: clamp(26px, 4vh, 40px); }
}
@media (max-width: 900px) {
  .mq--hero { --mq-lh: 29px; --mq-gap: 36px; --mq-fade: 7%; padding-block: 10px 6px; background: none; }
  .mq--hero .mq__in { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
  .mq--hero .mq__head { padding-inline: var(--gut); border: 0; justify-content: space-between; }
  .mq--hero .mq__label { flex-direction: row; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .mq--hero .mq__row--2 { display: none; }
  .mq--hero .mq__row { padding-block: 8px 4px; }
  .mq--hero .mq__pause { width: 40px; height: 40px; }
}

/* ---------- cinematic band before the clients */
.mqb { --mq-lh: 50px; --mq-gap: 14px; position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(84px, 10vw, 140px) clamp(64px, 7vw, 104px); background: var(--bitumen-deep); border-top: 1px solid var(--line); }
.mqb + .sec { border-top: 1px solid var(--line); }
.mqb__aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(30% 30% at 50% 26%, rgba(255, 255, 255, .045), transparent 72%), radial-gradient(70% 40% at 50% 100%, rgba(255, 255, 255, .035), transparent 70%), linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 100% 64px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 80%); }
.mqb__head { display: grid; justify-items: center; text-align: center; }
.mqb__eye { margin: 0; display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--membrane); }
html[lang="ar"] .mqb__eye { font-family: var(--f-display); font-weight: 500; letter-spacing: 0; font-size: .9rem; }
.mqb__eye::before, .mqb__eye::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.mqb__title { margin: 6px 0 0; display: grid; justify-items: center; font-family: var(--f-display); font-weight: 700; }
/* the big figure: extruded lime, like the campaign posters' 3D words (solid fill: text-shadow cannot sit under clipped gradients) */
.mqb__big { margin-bottom: .08em; font-weight: 800; font-size: clamp(6.5rem, 17vw, 13.5rem); line-height: 1; letter-spacing: -.02em; color: var(--membrane); text-shadow: 0 .008em 0 #D4D71D, 0 .016em 0 #C6C91B, 0 .024em 0 #B7BA18, 0 .032em 0 #A7AA16, 0 .04em 0 #969813, 0 .048em 0 #848611, 0 .056em 0 #71730E, 0 .1em .12em rgba(0, 0, 0, .75), 0 0 .32em rgba(224, 227, 32, .16); }
.mqb__tt { max-width: 24ch; margin-top: .1em; font-size: clamp(1.45rem, 2.7vw, 2.35rem); line-height: 1.32; }
html[lang="en"] .mqb__tt { letter-spacing: -.01em; line-height: 1.18; }
.mqb__stats { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; font-size: .92rem; color: var(--concrete); }
.mqb__stats li { padding: 2px 18px; }
.mqb__stats li + li { border-inline-start: 1px solid var(--line-2); }
.mqb__stats .num { font-family: var(--f-display); font-weight: 700; color: var(--limestone); }

.mqb__stage { position: relative; margin-top: clamp(46px, 6vw, 84px); padding-block: 26px; perspective: 1100px; perspective-origin: 50% 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent); mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent); }
.mqb__wall { position: relative; z-index: 1; display: grid; gap: 14px; transform: rotateX(var(--mqb-rx, 13deg)) rotateZ(var(--mqb-rz, -2deg)) scale(1.05); transform-origin: 50% 40%; }
html[dir="rtl"] .mqb__wall { --mqb-rz: 2deg; }
.mqb .mq__row { padding-block: 6px; }
.mqb .mq__i { height: 88px; padding-inline: 28px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)); }
.mqb .mq__m { opacity: .74; }
.mqb .mq__row--sis { --mq-lh: 52px; }
.mqb .mq__row--sis .mq__i { height: 96px; padding-inline: 40px; }
.mqb__spot { position: absolute; top: 0; left: 0; z-index: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(closest-side, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02) 52%, transparent); transition: opacity .6s var(--ease); will-change: transform; }
.mqb__stage.is-lit .mqb__spot { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .mqb .mq__i { transition: transform .5s var(--ease), border-color .35s, background-color .35s, box-shadow .5s var(--ease); }
  .mqb .mq__i:hover { transform: translateY(-6px) scale(1.04); border-color: rgba(224, 227, 32, .85); background-color: rgba(255, 255, 255, .06); box-shadow: 0 22px 50px -22px rgba(224, 227, 32, .5); }
}
.mqb__foot { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: clamp(30px, 4vw, 52px); }
.mqb__arrow { transition: transform .3s var(--ease); }
@media (max-width: 760px) {
  .mqb { --mq-lh: 36px; --mq-gap: 10px; }
  .mqb__stage { padding-block: 14px; -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
  .mqb__wall { gap: 8px; --mqb-rx: 9deg; }
  .mqb .mq__i { height: 62px; padding-inline: 18px; border-radius: 11px; }
  .mqb .mq__row--sis { --mq-lh: 38px; }
  .mqb .mq__row--sis .mq__i { height: 66px; padding-inline: 24px; }
  .mqb__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 420px; font-size: .8rem; line-height: 1.4; }
  .mqb__stats li { display: grid; justify-items: center; align-content: start; padding-inline: 8px; }
  .mqb__stats .num { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
  .mq--hero, .mq--hero::before { animation: none !important; }
  .mqb__wall { transform: none; }
  .mqb__spot, .mq__pause { display: none; }
  /* static rows start at the reading start: fade only the end edge */
  html[dir="rtl"] .mqb__stage { -webkit-mask-image: linear-gradient(to left, #000 87%, transparent); mask-image: linear-gradient(to left, #000 87%, transparent); }
  html[dir="ltr"] .mqb__stage { -webkit-mask-image: linear-gradient(to right, #000 87%, transparent); mask-image: linear-gradient(to right, #000 87%, transparent); }
}
@media print { .mq, .mqb { display: none !important; } }

/* ---- feature: pwa.css ---- */
/* ---------- pwa: "a newer version is available" notice (bottom centre, above the floating buttons; outside #app) */
.pwa-up {
  position: fixed; z-index: 90; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(560px, calc(100vw - 32px));
  padding: 8px 8px 8px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(17, 17, 17, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .5);
  color: var(--limestone); font-family: var(--f-text);
  opacity: 0; transform: translate(-50%, 16px); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.pwa-up[dir="rtl"] { padding: 8px 16px 8px 8px; }
.pwa-up.is-on { opacity: 1; transform: translate(-50%, 0); }
.pwa-up__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--membrane); box-shadow: 0 0 10px var(--membrane); }
.pwa-up__t { margin: 0; font-size: .9rem; line-height: 1.4; }
.pwa-up__go {
  flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--membrane); color: var(--membrane-ink);
  font-family: var(--f-display); font-size: .86rem; font-weight: 600; cursor: pointer; transition: background-color .2s;
}
.pwa-up__go:hover { background: var(--membrane-hi); }
.pwa-up__x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--concrete); cursor: pointer; }
.pwa-up__x:hover { color: var(--limestone); background: rgba(255, 255, 255, .06); }
.pwa-up__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 520px) {
  .pwa-up { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); gap: 8px; } /* clear of the floating action buttons */
  .pwa-up__t { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) { .pwa-up { transition: opacity .2s; transform: translate(-50%, 0); } }
@media print { .pwa-up { display: none; } }

/* ---- feature: quote.css ---- */
/* Smart quote wizard (feature `quote`) — the contact section's request card (slot contactForm).
   Identity v6: true blacks, neutral white fills (low-alpha lime on large areas reads olive), lime only for lines, marks and
   state; engineering touches: hexagon frames, dimension-line progress, corner ticks, mono codes. Tokens only.
   Layout: container queries on .quote (mobile-first); RTL/LTR through logical properties. Motion: transform/opacity. */

.quote {
  container: quote / inline-size;
  position: relative;
  min-width: 0;
  /* local tints built from tokens (solid fallbacks first; color-mix where supported) */
  --q-fill: var(--graphite-2);
  --q-fill-2: var(--graphite-3, var(--graphite-2));
  --q-lime-line: var(--membrane);
  --q-lime-glow: var(--membrane-soft);
  --q-warn-line: var(--warn);
  --q-warn-soft: var(--graphite-2);
  --q-shadow: var(--bitumen-deep);
  --qp: 18px;
}
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .quote {
    --q-fill: color-mix(in srgb, var(--limestone) 3.5%, transparent);
    --q-fill-2: color-mix(in srgb, var(--limestone) 7%, transparent);
    --q-lime-line: color-mix(in srgb, var(--membrane) 62%, transparent);
    --q-lime-glow: color-mix(in srgb, var(--membrane) 26%, transparent);
    --q-warn-line: color-mix(in srgb, var(--warn) 70%, transparent);
    --q-warn-soft: color-mix(in srgb, var(--warn) 9%, transparent);
    --q-shadow: color-mix(in srgb, var(--bitumen-deep) 85%, transparent);
  }
}
/* the wizard needs more room than the old two-field form: give it the wider column of the contact grid */
@media (min-width: 1001px) {
  .contact__grid:has(> .quote) { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
}

/* ---------------------------------------------------------------- card */
.quote__card {
  position: relative; isolation: isolate;
  background: var(--surface), var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--inner-light), 0 48px 90px -60px var(--q-shadow);
}
/* lime hairline on the top edge + blueprint corner ticks */
.quote__card::before {
  content: ""; position: absolute; top: -1px; inset-inline: 28px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--membrane) 30%, var(--lemon) 50%, var(--membrane) 70%, transparent);
  opacity: .75;
}
.quote__card::after {
  content: ""; position: absolute; inset: -6px; pointer-events: none; z-index: -1;
  background:
    linear-gradient(var(--q-lime-line), var(--q-lime-line)) top left / 14px 1px no-repeat,
    linear-gradient(var(--q-lime-line), var(--q-lime-line)) top left / 1px 14px no-repeat,
    linear-gradient(var(--q-lime-line), var(--q-lime-line)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--q-lime-line), var(--q-lime-line)) bottom right / 1px 14px no-repeat;
}
@container quote (min-width: 480px) { .quote__card { --qp: 28px; } }
@container quote (min-width: 620px) { .quote__card { --qp: 36px; } }

/* no-JS fallback: a static card with direct channels (the wizard needs the script) */
.quote__nojs { display: none; padding: 28px var(--qp); }
html:not(.js) .quote__nojs { display: block; }
html:not(.js) .quote__app { display: none; }
.quote__nl { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.quote__nl li { display: flex; align-items: flex-start; gap: 10px; color: var(--limestone); font-size: .95rem; line-height: 1.6; }
.quote__nl .ic { width: 18px; height: 18px; margin-top: .25em; color: var(--membrane); }
.quote__nja { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------------------------------------------------------------- direct customer-service strip */
.quote__assist {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding: 12px var(--qp);
  border-bottom: 1px solid var(--line);
  background: var(--q-fill);
  border-start-start-radius: var(--r-l); border-start-end-radius: var(--r-l);
}
.quote__al { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 .84rem/1.45 var(--f-display); color: var(--concrete); }
.quote__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--membrane); box-shadow: 0 0 10px var(--q-lime-glow); }
.quote__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--membrane); opacity: 0; animation: quote-ping 2.6s var(--ease) infinite; }
@keyframes quote-ping { 0% { opacity: .7; transform: scale(.5); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
.quote__ab { display: flex; gap: 8px; }
.quote__ac {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--limestone); text-decoration: none; white-space: nowrap;
  font: 500 .84rem/1 var(--f-display);
  transition: border-color .2s, background-color .2s, color .2s;
}
.quote__ac .ic { width: 18px; height: 18px; color: var(--concrete); transition: color .2s; }
.quote__ac:hover { border-color: var(--membrane); background: var(--q-fill-2); }
.quote__ac:hover .ic, .quote__ac--wa .ic { color: var(--membrane); }
.quote__ac--wa { border-color: var(--q-lime-line); }
@container quote (max-width: 459px) {
  .quote__assist { display: grid; }
  .quote__ab { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quote__ac { flex-direction: column; gap: 5px; min-height: 58px; padding: 8px 4px; border-radius: var(--r-m); font-size: .76rem; }
}

/* ---------------------------------------------------------------- header */
.quote__hd { padding: 24px var(--qp) 0; }
.quote__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; font: 500 .8rem/1.4 var(--f-display); color: var(--concrete); }
.quote__code { display: inline-flex; align-items: center; gap: 7px; padding: 3px 8px; border: 1px solid var(--q-lime-line); border-radius: var(--r-s); font: 500 .7rem/1.35 var(--f-mono); letter-spacing: .08em; color: var(--membrane); }
.quote__codeN { padding-left: 7px; border-left: 1px solid var(--line-2); color: var(--limestone); font-variant-numeric: tabular-nums; }
.quote__title { margin: 0; font: 700 1.5rem/1.35 var(--f-display); font-size: clamp(1.35rem, 4.4cqi, 1.9rem); letter-spacing: 0; color: var(--limestone); }
html[lang="en"] .quote__title { line-height: 1.15; letter-spacing: -.015em; }
.quote__lead { margin: 10px 0 0; max-width: 62ch; font-size: .95rem; line-height: 1.75; color: var(--concrete); }
html[lang="en"] .quote__lead { line-height: 1.6; }

/* progress: three hexagon nodes on a dimension line; the lime fill grows with the step */
.quote__prog { position: relative; margin-top: 24px; --quote-p: 0; }
.quote__track { position: absolute; top: 19px; inset-inline: calc(100% / 6); height: 1px; background: var(--line-2); pointer-events: none; }
.quote__track::before, .quote__track::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--line-2); }
.quote__track::before { inset-inline-start: 0; }
.quote__track::after { inset-inline-end: 0; }
.quote__fill { position: absolute; inset: -.5px 0; background: var(--grad-lime); transform: scaleX(var(--quote-p)); transform-origin: 0 50%; transition: transform .7s var(--ease); box-shadow: 0 0 10px var(--q-lime-glow); }
html[dir="rtl"] .quote__fill { transform-origin: 100% 50%; }
.quote__steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote__st { display: flex; justify-content: center; min-width: 0; }
.quote__stb {
  display: grid; grid-template-areas: "m" "l"; justify-items: center; gap: 8px;
  min-width: 0; padding: 0 4px 2px; border: 0; background: none; color: var(--concrete); cursor: pointer;
  font: 500 .8rem/1.3 var(--f-display); transition: color .2s;
}
.quote__stb::before { content: ""; grid-area: m; width: 34px; height: 39px; background: var(--hex) center / 100% 100% no-repeat; transition: transform .35s var(--ease); }
.quote__stm, .quote__stn { grid-area: m; align-self: center; position: relative; z-index: 1; }
.quote__stn { font: 500 .74rem/1 var(--f-mono); letter-spacing: .04em; color: var(--concrete); transition: color .2s; }
.quote__stm { display: none; }
.quote__stm .ic { width: 16px; height: 16px; stroke-width: 2.4; color: var(--membrane-ink); }
.quote__stl { grid-area: l; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote__stb:disabled { cursor: default; }
.quote__stb:not(:disabled):hover { color: var(--limestone); }
.quote__stb:not(:disabled):hover::before { transform: translateY(-2px); }
.quote__st.is-cur .quote__stb { color: var(--limestone); }
.quote__st.is-cur .quote__stb::before { background-image: var(--hex-lime); filter: drop-shadow(0 0 8px var(--q-lime-glow)); }
.quote__st.is-cur .quote__stn { color: var(--membrane); }
.quote__st.is-done .quote__stb::before { background-image: var(--hex-fill); }
.quote__st.is-done .quote__stn { display: none; }
.quote__st.is-done .quote__stm { display: block; }
.quote__stb:focus-visible { outline-offset: 2px; }

/* pricing readiness meter */
.quote__rd {
  display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; gap: 6px 14px;
  margin-top: 20px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--r-m); background: var(--q-fill);
}
.quote__rdl { font: 500 .78rem/1.3 var(--f-display); color: var(--concrete); white-space: nowrap; }
.quote__rdb { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; height: 7px; }
.quote__rdb > span { border-radius: 1px; background: var(--line-2); transform: skewX(-18deg); transition: background-color .35s, opacity .35s; }
.quote__rdb > span.is-on { background: var(--membrane); }
.quote__rd.is-high .quote__rdb > span.is-on { background: var(--lime-2); }
.quote__rd.is-high .quote__rdb > span.is-on:nth-child(n+6) { background: var(--membrane); }
.quote__rd.is-high .quote__rdb > span.is-on:nth-child(n+9) { background: var(--lemon); }
.quote__rdv { display: inline-flex; align-items: baseline; gap: 6px; font: 600 .9rem/1 var(--f-display); color: var(--limestone); white-space: nowrap; }
.quote__rdlv { font-size: .76rem; font-weight: 500; color: var(--membrane); }
.quote__rd.is-low .quote__rdlv { color: var(--concrete); }
.quote__rdt { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 4px; justify-self: start; min-height: 32px; margin: 0; padding: 0; border: 0; background: none; font: 400 .8rem/1.5 var(--f-text); color: var(--concrete); text-align: start; }
.quote__rdt--go { color: var(--limestone); cursor: pointer; text-decoration: underline; text-decoration-color: var(--q-lime-line); text-underline-offset: 4px; }
.quote__rdt--go:hover { color: var(--membrane); }
.quote__rdt .ic { width: 14px; height: 14px; }
@container quote (max-width: 420px) {
  .quote__rd { grid-template-columns: minmax(0, 1fr) auto; }
  .quote__rdb { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------------------------------------------------------------- notices */
.quote__banner:empty { display: none; }
.quote__note {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 18px var(--qp) 0; padding: 10px 6px 10px 14px; padding-inline: 14px 6px;
  border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--q-fill);
  font-size: .88rem; line-height: 1.6; color: var(--limestone);
  animation: quote-in .45s var(--ease) both;
}
.quote__note > .ic { width: 18px; height: 18px; margin-top: .2em; color: var(--concrete); }
.quote__note p { flex: 1; margin: 0; padding-top: 1px; }
.quote__note strong { font-family: var(--f-display); font-weight: 600; }
.quote__note--prefill { border-color: var(--q-lime-line); }
.quote__note--prefill > .ic { color: var(--membrane); }
.quote__note--cancelled, .quote__note--invalid { border-color: var(--q-warn-line); background: var(--q-warn-soft); }
.quote__note--cancelled > .ic, .quote__note--invalid > .ic { color: var(--warn); }
.quote__note .quote__lnk { min-height: 0; display: inline; }
@keyframes quote-in { from { opacity: 0; transform: translateY(6px); } }
.quote__x {
  flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; margin: -8px 0;
  border: 0; border-radius: 50%; background: none; color: var(--concrete); cursor: pointer; transition: color .2s, background-color .2s;
}
.quote__x:hover { color: var(--limestone); background: var(--q-fill-2); }
.quote__x .ic { width: 16px; height: 16px; }
.quote__lnk {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0;
  border: 0; background: none; cursor: pointer; color: var(--limestone);
  font: 500 .86rem/1.4 var(--f-display);
  text-decoration: underline; text-decoration-color: var(--q-lime-line); text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: color .2s;
}
.quote__lnk:hover { color: var(--membrane); }
.quote__lnk .ic { width: 17px; height: 17px; color: var(--membrane); }

/* ---------------------------------------------------------------- steps */
.quote__body { padding: 0 var(--qp); }
.quote__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.quote__step[hidden] { display: none; }
.quote__step:not([hidden]) { animation: quote-step .5s var(--ease) both; }
@keyframes quote-step { from { opacity: 0; transform: translateY(10px); } }
.quote__lg {
  float: left; width: 100%; display: flex; align-items: center; gap: 12px;
  margin: 26px 0 4px; padding: 0;
  font: 600 1.12rem/1.4 var(--f-display); color: var(--limestone);
}
.quote__lg:focus { outline: none; }
.quote__lg:focus-visible { outline: 2px solid var(--membrane); outline-offset: 4px; }
.quote__lgn { flex: none; display: inline-grid; place-items: center; width: 30px; height: 34px; background: var(--hex-lime) center / 100% 100% no-repeat; font: 500 .72rem/1 var(--f-mono); color: var(--membrane); }
.quote__lgn--ok .ic { width: 15px; height: 15px; stroke-width: 2.2; color: var(--membrane); }
.quote__sb { clear: both; padding-top: 2px; }
.quote__lede { margin: 6px 0 0; font-size: .9rem; line-height: 1.7; color: var(--concrete); }

/* groups and fields */
.quote__grp { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.quote__gl { float: left; width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 10px; padding: 0; font: 500 .92rem/1.45 var(--f-display); color: var(--limestone); }
.quote__gl + * { clear: both; }
.quote__grp.is-err > .quote__gl { color: var(--warn); }
.quote__hint { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .82rem; line-height: 1.5; color: var(--concrete); }
.quote__hint:empty { display: none; }
.quote__hint .ic { width: 16px; height: 16px; color: var(--membrane); stroke-width: 2; }
.quote__hint--g { margin: -4px 0 10px; }
.quote__fe { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 0; font-size: .84rem; line-height: 1.5; color: var(--warn); }
.quote__fe::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .55em; transform: rotate(45deg); background: currentColor; }
.quote__fe[hidden] { display: none; }
.quote__req { color: var(--membrane); font-family: var(--f-mono); font-weight: 500; }
.quote__opt { font: 400 .76rem/1.4 var(--f-text); color: var(--concrete-2); }
.is-req .quote__opt, .is-opt .quote__req { display: none; }
.quote__pre { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px 1px 7px; border: 1px solid var(--q-lime-line); border-radius: 999px; font: 500 .68rem/1.5 var(--f-display); color: var(--membrane); }
.quote__pre[hidden] { display: none; }
.quote__pre .ic { width: 11px; height: 11px; }

/* project type cards */
.quote__types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.quote__type { position: relative; display: block; min-width: 0; cursor: pointer; }
.quote__type input, .quote__chip input, .quote__pref input, .quote__cons input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
.quote__tc {
  position: relative; display: flex; align-items: center; gap: 10px; height: 100%;
  min-height: 60px; padding: 9px 12px; padding-inline-end: 26px;
  border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--q-fill);
  transition: border-color .2s, background-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.quote__tc .quote__hex { width: 32px; height: 37px; }
.quote__tc .quote__hex .ic { width: 17px; height: 17px; }
.quote__tn { min-width: 0; font: 500 .86rem/1.35 var(--f-display); color: var(--limestone); }
.quote__tk { position: absolute; top: 7px; inset-inline-end: 7px; width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--membrane); color: var(--membrane-ink); stroke-width: 2.6; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease); }
.quote__type:hover .quote__tc { border-color: var(--concrete-2); }
.quote__type input:checked + .quote__tc { border-color: var(--membrane); background: var(--q-fill-2); box-shadow: inset 0 0 0 1px var(--membrane), 0 14px 30px -22px var(--q-lime-glow); }
.quote__type input:checked + .quote__tc .quote__hex { background-image: var(--hex-lime); color: var(--membrane); }
.quote__type input:checked + .quote__tc .quote__tk { opacity: 1; transform: none; }
.quote__type input:focus-visible + .quote__tc { outline: 2px solid var(--membrane); outline-offset: 3px; }
@container quote (min-width: 480px) {
  .quote__types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quote__tc { flex-direction: column; justify-content: center; gap: 9px; min-height: 112px; padding: 16px 8px 13px; text-align: center; }
  .quote__tn { font-size: .82rem; }
  .quote__type:hover .quote__tc { transform: translateY(-2px); }
}

/* hexagon icon frames */
.quote__hex { flex: none; display: inline-grid; place-items: center; width: 40px; height: 46px; background: var(--hex) center / 100% 100% no-repeat; color: var(--concrete); transition: color .2s; }
.quote__hex .ic { width: 20px; height: 20px; }
.quote__hex--s { width: 32px; height: 37px; }
.quote__hex--s .ic { width: 16px; height: 16px; }
.quote__hex--m { width: 48px; height: 55px; background-image: var(--hex-lime); color: var(--membrane); }
.quote__hex--m .ic { width: 22px; height: 22px; }
.quote__hex--l { width: 60px; height: 69px; background-image: var(--hex-lime); color: var(--membrane); }
.quote__hex--l .ic { width: 26px; height: 26px; }
.quote__hex--warn { background-image: var(--hex); color: var(--warn); }

/* chips (services, city, timeline): a ring that fills with a check — no width change when toggled */
.quote__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.quote__chip { position: relative; display: inline-flex; min-width: 0; max-width: 100%; cursor: pointer; }
.quote__cb {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%;
  min-height: 42px; padding: 7px 14px 7px 10px; padding-inline: 10px 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--q-fill);
  font: 500 .86rem/1.3 var(--f-display); color: var(--limestone);
  transition: border-color .2s, background-color .2s;
}
.quote__ck { width: 18px; height: 18px; padding: 2px; border: 1.5px solid var(--concrete-2); border-radius: 50%; stroke: transparent; stroke-width: 2.6; transition: background-color .2s, border-color .2s, stroke .2s; }
.quote__cl { min-width: 0; }
.quote__cs { padding-inline-start: 8px; border-inline-start: 1px solid var(--line-2); font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .04em; color: var(--concrete); white-space: nowrap; }
.quote__chip:hover .quote__cb { border-color: var(--concrete-2); }
.quote__chip input:checked + .quote__cb { border-color: var(--membrane); background: var(--q-fill-2); }
.quote__chip input:checked + .quote__cb .quote__ck { background: var(--membrane); border-color: var(--membrane); stroke: var(--membrane-ink); }
.quote__chip input:focus-visible + .quote__cb { outline: 2px solid var(--membrane); outline-offset: 3px; }

/* selected-systems visuals (systems feature) */
.quote__sel:empty { display: none; }
.quote__sel { margin-top: 14px; animation: quote-in .4s var(--ease) both; }
.quote__selt { margin: 0 0 8px; font: 500 .76rem/1.4 var(--f-display); color: var(--concrete); }
.quote__sell { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quote__sell li { display: inline-flex; align-items: center; gap: 9px; padding: 4px; padding-inline-end: 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--q-fill); font: 500 .78rem/1.3 var(--f-display); color: var(--limestone); }
.quote__sell img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--graphite-2); }
.quote__ask { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 12px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--limestone); font: 500 .86rem/1.4 var(--f-display); text-align: start; transition: color .2s; }
.quote__ask > .ic:first-child { width: 18px; height: 18px; color: var(--membrane); }
.quote__ask > .ic:last-child { width: 15px; height: 15px; color: var(--concrete); }
.quote__ask:hover { color: var(--membrane); }
.quote__other { margin-top: 12px; max-width: 360px; }
.quote__other[hidden] { display: none; }

/* inputs */
.quote__row { display: grid; gap: 18px; margin-top: 22px; }
@container quote (min-width: 500px) {
  .quote__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .quote__row--area { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}
.quote__fld { display: grid; gap: 7px; align-content: start; min-width: 0; }
.quote__lab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font: 500 .9rem/1.45 var(--f-display); color: var(--limestone); }
.quote__in {
  width: 100%; min-height: 50px; margin: 0; padding: 12px 14px;
  background: var(--bitumen); border: 1px solid var(--line-2); border-radius: var(--r-s);
  font: 400 1rem/1.45 var(--f-text); color: var(--limestone);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.quote__in::placeholder { color: var(--concrete-2); opacity: 1; }
.quote__in:hover { border-color: var(--concrete-2); }
.quote__in:focus { outline: none; border-color: var(--membrane); box-shadow: 0 0 0 3px var(--membrane-soft); }
html[dir="rtl"] .quote__in[dir="ltr"] { text-align: right; }
.quote__fld.is-err .quote__in, .quote__in[aria-invalid="true"] { border-color: var(--warn); }
.quote__fld.is-err .quote__in:focus { box-shadow: 0 0 0 3px var(--q-warn-soft); }
.quote__unit { position: relative; display: block; }
html[dir="rtl"] .quote__unit .quote__in { padding-left: 56px; }
html[dir="ltr"] .quote__unit .quote__in { padding-right: 56px; }
.quote__u { position: absolute; top: 8px; bottom: 8px; inset-inline-end: 8px; display: grid; place-items: center; min-width: 40px; padding: 0 8px; border-radius: 2px; background: var(--graphite-2); font: 500 .8rem/1 var(--f-display); color: var(--concrete); pointer-events: none; }
.quote__ta { min-height: 132px; resize: vertical; line-height: 1.7; }
.quote__fld--notes { margin-top: 22px; }
.quote__cnt { margin-inline-start: auto; font: 400 .74rem/1.4 var(--f-mono); color: var(--concrete-2); }
.quote__cnt.is-near { color: var(--warn); }

/* note prompts (tap to add) */
.quote__prompts { margin-top: 4px; }
.quote__prt { margin: 6px 0 8px; font-size: .8rem; color: var(--concrete); }
.quote__prl { display: flex; flex-wrap: wrap; gap: 6px; }
.quote__pr {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 13px 6px 10px; padding-inline: 10px 13px;
  border: 1px dashed var(--line-2); border-radius: 999px; background: none; cursor: pointer;
  font: 400 .8rem/1.35 var(--f-text); color: var(--concrete); text-align: start;
  transition: border-color .2s, color .2s, background-color .2s;
}
.quote__pr .ic { width: 14px; height: 14px; color: var(--membrane); }
.quote__pr:hover { border-style: solid; border-color: var(--q-lime-line); color: var(--limestone); }
.quote__pr.is-used { opacity: .55; cursor: default; border-style: solid; }

/* preferred contact */
.quote__prefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quote__pref { position: relative; display: block; min-width: 0; cursor: pointer; }
.quote__pc {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; height: 100%;
  min-height: 74px; padding: 12px 6px; text-align: center;
  border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--q-fill);
  font: 500 .84rem/1.3 var(--f-display); color: var(--limestone);
  transition: border-color .2s, background-color .2s, box-shadow .25s;
}
.quote__pc .ic { width: 22px; height: 22px; color: var(--concrete); transition: color .2s; }
.quote__pref:hover .quote__pc { border-color: var(--concrete-2); }
.quote__pref input:checked + .quote__pc { border-color: var(--membrane); background: var(--q-fill-2); box-shadow: inset 0 0 0 1px var(--membrane); }
.quote__pref input:checked + .quote__pc .ic { color: var(--membrane); }
.quote__pref input:focus-visible + .quote__pc { outline: 2px solid var(--membrane); outline-offset: 3px; }

/* consent */
.quote__consent { margin-top: 22px; }
.quote__cons { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--q-fill); cursor: pointer; transition: border-color .2s; }
.quote__cons:hover { border-color: var(--line-2); }
.quote__consb { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--concrete-2); border-radius: 4px; transition: background-color .2s, border-color .2s; }
.quote__consb .ic { width: 15px; height: 15px; stroke-width: 2.6; color: var(--membrane-ink); opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s var(--ease); }
.quote__const { font-size: .86rem; line-height: 1.65; color: var(--concrete); }
.quote__cons input:checked + .quote__consb { background: var(--membrane); border-color: var(--membrane); }
.quote__cons input:checked + .quote__consb .ic { opacity: 1; transform: none; }
.quote__cons input:focus-visible + .quote__consb { outline: 2px solid var(--membrane); outline-offset: 3px; }
.quote__consent.is-err .quote__cons { border-color: var(--q-warn-line); }

/* ---------------------------------------------------------------- step 2: files */
.quote__offnote { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--q-fill); font-size: .86rem; line-height: 1.6; color: var(--limestone); }
.quote__offnote[hidden] { display: none; }
.quote__offnote .ic { width: 18px; height: 18px; margin-top: .2em; color: var(--lemon); }
.quote__offnote p { margin: 0; }
.quote__drop {
  position: relative; display: grid; justify-items: center; gap: 10px;
  margin-top: 16px; padding: 26px 18px 22px; text-align: center;
  border: 1px dashed var(--line-2); border-radius: var(--r-l); background: var(--q-fill);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.quote__dmk {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(var(--membrane), var(--membrane)) top left / 16px 1.5px no-repeat,
    linear-gradient(var(--membrane), var(--membrane)) top left / 1.5px 16px no-repeat,
    linear-gradient(var(--membrane), var(--membrane)) top right / 16px 1.5px no-repeat,
    linear-gradient(var(--membrane), var(--membrane)) top right / 1.5px 16px no-repeat,
    linear-gradient(var(--membrane), var(--membrane)) bottom left / 16px 1.5px no-repeat,
    linear-gradient(var(--membrane), var(--membrane)) bottom left / 1.5px 16px no-repeat,
    linear-gradient(var(--membrane), var(--membrane)) bottom right / 16px 1.5px no-repeat,
    linear-gradient(var(--membrane), var(--membrane)) bottom right / 1.5px 16px no-repeat;
  opacity: .55; transition: opacity .25s;
}
.quote__drop .quote__hex--l { transition: transform .4s var(--ease); }
.quote__dt { margin: 2px 0 0; font: 600 1.02rem/1.45 var(--f-display); color: var(--limestone); }
.quote__dt2, .quote__dt3 { display: none; }
.quote__dor { display: flex; align-items: center; gap: 12px; width: min(240px, 100%); margin: 0; font-size: .78rem; color: var(--concrete-2); }
.quote__dor::before, .quote__dor::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.quote__db { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.quote__dfmt { margin: 6px 0 0; max-width: 46ch; font: 400 .68rem/1.7 var(--f-mono); letter-spacing: .03em; color: var(--concrete-2); }
.quote__dlim { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--concrete); }
.quote__fi { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.quote__drop.is-drag, .quote.is-drag .quote__drop { border-style: solid; border-color: var(--membrane); background: var(--q-fill-2); box-shadow: 0 0 0 4px var(--membrane-soft); }
.quote__drop.is-drag .quote__dmk, .quote.is-drag .quote__dmk { opacity: 1; }
.quote__drop.is-drag .quote__hex--l { transform: translateY(-4px); }
.quote__drop.is-drag .quote__dt1 { display: none; }
.quote__drop.is-drag .quote__dt2 { display: inline; }
/* touch screens: no drag and drop, a camera button instead of the paste hint */
.quote__cam { display: none; }
@media (any-pointer: coarse) {
  .quote__cam { display: inline-flex; }
}
@media (pointer: coarse) {
  .quote__dt1, .quote__dor { display: none; }
  .quote__dt3 { display: inline; }
  .quote__paste { display: none !important; }
}

/* file problems */
.quote__fe2 { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 10px 6px 10px 14px; padding-inline: 14px 6px; border: 1px solid var(--q-warn-line); border-radius: var(--r-m); background: var(--q-warn-soft); font-size: .85rem; line-height: 1.55; color: var(--limestone); animation: quote-in .35s var(--ease) both; }
.quote__fe2 > .ic { width: 18px; height: 18px; margin-top: .15em; color: var(--warn); }
.quote__fe2 ul { flex: 1; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
/* capacity meter */
.quote__mt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 12px; margin-top: 16px; font: 500 .84rem/1.4 var(--f-display); color: var(--limestone); }
.quote__mt small { font-weight: 400; color: var(--concrete); }
.quote__mtb { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.quote__mtb > span { display: block; height: 100%; background: var(--grad-lime); transform-origin: 0 50%; transition: transform .5s var(--ease); }
html[dir="rtl"] .quote__mtb > span { transform-origin: 100% 50%; }
.quote__mt.is-full .quote__mtb > span { background: var(--warn); }
/* file rows */
.quote__files { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.quote__files:empty { display: none; }
.quote__f {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 64px; padding: 9px 6px 9px 10px; padding-inline: 10px 6px;
  border: 1px solid var(--line); border-radius: var(--r-m); background: var(--q-fill);
  transition: border-color .2s;
}
.quote__f.is-new { animation: quote-file .45s var(--ease) both; }
@keyframes quote-file { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.quote__fic { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-s); background: var(--graphite-2); color: var(--membrane); overflow: hidden; }
.quote__fic .ic { width: 20px; height: 20px; margin-top: -9px; }
.quote__fext { position: absolute; bottom: 4px; inset-inline: 0; text-align: center; font: 500 .56rem/1 var(--f-mono); letter-spacing: .06em; color: var(--concrete); }
.quote__fic.is-plan { color: var(--xps); }
.quote__fic.is-photo { color: var(--lime-2); }
.quote__fic.is-video { color: var(--lemon); }
.quote__fic.is-doc, .quote__fic.is-zip { color: var(--concrete); }
.quote__fic--img img { width: 100%; height: 100%; object-fit: cover; }
.quote__fb { display: grid; gap: 3px; min-width: 0; }
.quote__fn { display: flex; min-width: 0; font: 500 .9rem/1.4 var(--f-display); color: var(--limestone); }
.quote__fn1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote__fn2 { flex: none; white-space: nowrap; }
/* a file name in the other script keeps its own reading order but sits on the list's start side */
html[dir="rtl"] .quote__fn:dir(ltr), html[dir="ltr"] .quote__fn:dir(rtl) { justify-content: flex-end; }
html[dir="rtl"] .quote__rfn:dir(ltr) { text-align: right; }
html[dir="ltr"] .quote__rfn:dir(rtl) { text-align: left; }
.quote__fm { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: .76rem; line-height: 1.4; color: var(--concrete); }
.quote__fcat { color: var(--concrete); }
.quote__fcat::after { content: ""; display: inline-block; width: 3px; height: 3px; margin-inline-start: 10px; vertical-align: middle; border-radius: 50%; background: var(--concrete-2); }
.quote__fbad { display: inline-flex; align-items: center; gap: 4px; color: var(--warn); font-weight: 500; }
.quote__fbad .ic { width: 13px; height: 13px; }
.quote__f.is-bad { border-color: var(--q-warn-line); }
.quote__f.is-bad .quote__fn { text-decoration: line-through; text-decoration-color: var(--q-warn-line); }
.quote__fx { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--concrete); cursor: pointer; transition: color .2s, background-color .2s; }
.quote__fx:hover { color: var(--warn); background: var(--q-warn-soft); }
.quote__fx .ic { width: 17px; height: 17px; }
.quote__fst { color: var(--concrete); }
.quote__f.is-up .quote__fst { color: var(--membrane); }
.quote__f.is-done .quote__fst { color: var(--lime-2); }
.quote__fbar { display: block; height: 3px; margin-top: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.quote__fbar > span { display: block; height: 100%; background: var(--membrane); transform-origin: 0 50%; transition: transform .25s linear; }
html[dir="rtl"] .quote__fbar > span { transform-origin: 100% 50%; }
.quote__fok { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--lime-2); }
.quote__fok .ic { width: 18px; height: 18px; stroke-width: 2.4; }
/* what helps */
.quote__help { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); }
.quote__ht { margin: 0 0 12px; font: 600 .88rem/1.4 var(--f-display); color: var(--limestone); }
.quote__hl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.quote__hl li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.quote__hx { display: grid; gap: 1px; min-width: 0; flex: 1; }
.quote__hx strong { font: 500 .86rem/1.35 var(--f-display); color: var(--limestone); }
.quote__hx small { font-size: .76rem; line-height: 1.45; color: var(--concrete); }
.quote__hk { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); color: transparent; transition: background-color .25s, border-color .25s, color .25s; }
.quote__hk .ic { width: 13px; height: 13px; stroke-width: 2.8; }
.quote__hl li.is-on .quote__hex { background-image: var(--hex-lime); color: var(--membrane); }
.quote__hl li.is-on .quote__hk { background: var(--membrane); border-color: var(--membrane); color: var(--membrane-ink); }
@container quote (min-width: 560px) {
  .quote__hl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quote__hl li { position: relative; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-s); transition: border-color .25s; }
  .quote__hl li.is-on { border-color: var(--q-lime-line); }
  .quote__hk { position: absolute; top: 10px; inset-inline-end: 10px; }
}
.quote__paste { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .78rem; color: var(--concrete-2); }
.quote__paste .ic { width: 15px; height: 15px; }

/* drag overlay over the whole card (files dropped on any step land in step 2) */
.quote__dropov {
  position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px;
  border: 1.5px solid var(--membrane); border-radius: inherit;
  background: var(--graphite); text-align: center; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
@supports (color: color-mix(in srgb, red 50%, transparent)) { .quote__dropov { background: color-mix(in srgb, var(--bitumen) 88%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } }
.quote__dropov p { margin: 0; font: 600 1.05rem/1.45 var(--f-display); color: var(--limestone); }
.quote.is-drag:not(.is-drag-zone) .quote__dropov { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------- review */
.quote__rvb { display: grid; gap: 10px; margin-top: 14px; }
.quote__rg { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--q-fill); }
.quote__rh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 14px; padding-inline: 14px 6px; border-bottom: 1px solid var(--line); }
.quote__rh h5 { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 .9rem/1.4 var(--f-display); color: var(--limestone); }
.quote__rn { font: 500 .7rem/1 var(--f-mono); color: var(--membrane); }
.quote__edit { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: none; cursor: pointer; color: var(--concrete); font: 500 .8rem/1 var(--f-display); transition: color .2s, background-color .2s; }
.quote__edit .ic { width: 15px; height: 15px; }
.quote__edit:hover { color: var(--membrane); background: var(--q-fill-2); }
.quote__rl { margin: 0; padding: 6px 14px 10px; }
.quote__rr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.quote__rr:last-child { border-bottom: 0; }
.quote__rr dt { font-size: .76rem; line-height: 1.5; color: var(--concrete); }
.quote__rr dd { margin: 0; min-width: 0; font-size: .92rem; line-height: 1.6; color: var(--limestone); overflow-wrap: anywhere; }
@container quote (min-width: 480px) {
  .quote__rr { grid-template-columns: minmax(120px, .9fr) minmax(0, 2fr); gap: 14px; align-items: baseline; }
}
.quote__dash { color: var(--concrete-2); }
.quote__rth { display: flex; gap: 6px; margin-top: 6px; }
.quote__rth img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.quote__rf { list-style: none; margin: 0; padding: 8px 14px 10px; display: grid; gap: 6px; }
.quote__rf li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: .86rem; color: var(--limestone); }
.quote__rf .quote__fic { width: 30px; height: 30px; }
.quote__rf .quote__fic .ic { width: 15px; height: 15px; margin: 0; }
.quote__rf .quote__fext { display: none; }
.quote__rfn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote__rfs { font-size: .76rem; color: var(--concrete); }
.quote__rf li.is-bad { opacity: .55; }
.quote__rf li.is-bad .quote__rfn { text-decoration: line-through; }
.quote__rnone { margin: 0; padding: 10px 14px 12px; font-size: .86rem; color: var(--concrete); }
.quote__rnotes { padding: 0 14px 12px; }
.quote__rnl { margin: 0; font-size: .76rem; color: var(--concrete); }
.quote__rnv { margin: 2px 0 0; max-height: 9.6em; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9rem; line-height: 1.6; color: var(--limestone); }

/* offline send panel (no API: WhatsApp / email with the summary) */
.quote__off { margin-top: 14px; padding: 18px; border: 1px solid var(--q-lime-line); border-radius: var(--r-m); background: var(--q-fill-2); }
.quote__off[hidden] { display: none; }
.quote__offh { display: flex; align-items: flex-start; gap: 12px; }
.quote__offh h5 { margin: 0; font: 600 1rem/1.45 var(--f-display); color: var(--limestone); }
.quote__offh p { margin: 4px 0 0; font-size: .86rem; line-height: 1.65; color: var(--concrete); }
.quote__offh .quote__hex { background-image: var(--hex-lime); color: var(--membrane); }
.quote__offa { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quote__offa .btn { flex: 1 1 180px; }
.quote__offf { margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: var(--r-s); }
.quote__offf p { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 500 .82rem/1.4 var(--f-display); color: var(--limestone); }
.quote__offf p .ic { width: 16px; height: 16px; color: var(--lemon); }
.quote__offf ol { margin: 0; padding-inline-start: 1.3em; font-size: .82rem; line-height: 1.7; color: var(--concrete); overflow-wrap: anywhere; }
.quote__offb { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
.quote__offafter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--concrete); }
.quote__offafter[hidden] { display: none; }
.quote__offafter > .ic { width: 16px; height: 16px; color: var(--membrane); }

/* ---------------------------------------------------------------- navigation */
.quote__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; padding: 18px var(--qp) 22px; border-top: 1px solid var(--line); }
.quote__nav[hidden] { display: none; }
.quote__back[hidden], .quote__next[hidden] { display: none; }
.quote__saved { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; font: 400 .76rem/1.3 var(--f-text); color: var(--concrete-2); opacity: 0; transition: opacity .4s; }
.quote__saved .ic { width: 14px; height: 14px; color: var(--membrane); }
.quote__saved.is-on { opacity: 1; }
.quote__torv { margin-inline-end: 6px; }
.quote__next { min-width: 152px; }
.quote__next .ic { transition: transform .25s var(--ease); }
.quote__next:not(:disabled):hover .ic.flip-next { transform: translateX(3px); }
html[dir="rtl"] .quote__next:not(:disabled):hover .ic.flip-next { transform: scaleX(-1) translateX(3px); }
.quote__next.is-busy:disabled { opacity: .8; cursor: progress; }
.quote__spin { width: 16px; height: 16px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: quote-spin .8s linear infinite; }
@keyframes quote-spin { to { transform: rotate(360deg); } }
@container quote (max-width: 440px) {
  .quote__next { flex: 1 1 auto; min-width: 0; }
  .quote__saved { order: 9; width: 100%; justify-content: center; margin: 0; }
  .quote__torv { order: 8; width: 100%; justify-content: center; margin: 0; }
}

/* ---------------------------------------------------------------- sending */
.quote__send { padding: 24px var(--qp) 26px; }
.quote__send[hidden] { display: none; }
.quote__sp { animation: quote-in .4s var(--ease) both; }
.quote__sph { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.quote__spt { margin: 0; font: 600 1rem/1.45 var(--f-display); color: var(--limestone); }
.quote__sps { margin: 2px 0 0; min-height: 1.4em; font-size: .82rem; line-height: 1.4; color: var(--concrete); }
.quote__spp { font: 700 2.1rem/1 var(--f-display); color: var(--membrane); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.quote__spp small { margin-inline-start: 2px; font-size: .5em; font-weight: 500; color: var(--concrete); }
.quote__spbar { position: relative; height: 6px; margin-top: 18px; border-radius: 3px; background: var(--line); overflow: hidden; }
.quote__spbar > span { display: block; height: 100%; background: var(--grad-lime); transform-origin: 0 50%; transition: transform .3s linear; box-shadow: 0 0 12px var(--q-lime-glow); }
html[dir="rtl"] .quote__spbar > span { transform-origin: 100% 50%; }
.quote__spbar.is-proc::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--lemon), transparent); opacity: .6; animation: quote-scan 1.3s var(--ease) infinite; }
@keyframes quote-scan { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
html[dir="rtl"] .quote__spbar.is-proc::after { animation-name: quote-scan-rtl; inset-inline-start: auto; right: 0; }
@keyframes quote-scan-rtl { from { transform: translateX(100%); } to { transform: translateX(-250%); } }
.quote__files--send { margin-top: 16px; }
.quote__files--send .quote__f { grid-template-columns: 44px minmax(0, 1fr) 40px; }
.quote__spa { display: flex; justify-content: flex-end; margin-top: 16px; }

/* send errors */
.quote__se { display: flex; align-items: flex-start; gap: 14px; animation: quote-in .4s var(--ease) both; }
.quote__set { margin: 4px 0 0; font: 600 1.05rem/1.45 var(--f-display); color: var(--limestone); }
.quote__sed { margin: 6px 0 0; font-size: .88rem; line-height: 1.7; color: var(--concrete); overflow-wrap: anywhere; }
.quote__sed bdi { color: var(--limestone); }
.quote__sea { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quote__seo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote__seo p { margin: 0; margin-inline-end: 4px; font-size: .84rem; color: var(--concrete); }

/* ---------------------------------------------------------------- success */
.quote__done { padding: 30px var(--qp) 30px; text-align: center; }
.quote__done:focus { outline: none; }
.quote__seal { width: 104px; height: 114px; margin: 0 auto 14px; }
.quote__seal svg { width: 100%; height: 100%; overflow: visible; }
.quote__ring { fill: none; stroke: var(--membrane); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.quote__ring--1 { opacity: .55; animation: quote-ring 1s .05s var(--ease) both; }
.quote__ring--2 { opacity: 0; animation: quote-halo 1.8s .25s var(--ease) both; }
.quote__shex { fill: var(--membrane); transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 14px var(--q-lime-glow)); animation: quote-pop .7s .15s cubic-bezier(.2, 1.4, .4, 1) both; }
.quote__sck { fill: none; stroke: var(--membrane-ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.quote__wipe { transform-box: fill-box; transform-origin: 0 50%; animation: quote-wipe .5s .55s var(--ease) both; }
@keyframes quote-ring { from { opacity: 0; transform: scale(.7); } }
@keyframes quote-halo { 0% { opacity: .5; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes quote-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes quote-wipe { from { transform: scaleX(0); } }
.quote__done .quote__eyebrow { justify-content: center; }
.quote__done .quote__lead { margin-inline: auto; }
.quote__ref { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin-top: 20px; padding: 8px 8px 8px 16px; padding-inline: 16px 8px; border: 1px dashed var(--q-lime-line); border-radius: var(--r-m); background: var(--q-fill); }
.quote__refl { font: 500 .76rem/1.3 var(--f-display); color: var(--concrete); }
.quote__refv { font: 500 1.12rem/1.3 var(--f-mono); letter-spacing: .06em; color: var(--limestone); }
.quote__refc { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: none; cursor: pointer; color: var(--limestone); font: 500 .8rem/1 var(--f-display); transition: border-color .2s, color .2s; }
.quote__refc .ic { width: 15px; height: 15px; color: var(--membrane); }
.quote__refc:hover { border-color: var(--membrane); }
.quote__rx { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: .88rem; line-height: 1.55; color: var(--concrete); }
.quote__rx + .quote__rx { margin-top: 6px; }
.quote__rx .ic { flex: none; width: 17px; height: 17px; color: var(--membrane); }
.quote__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.quote__next-wrap { margin-top: 28px; padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--q-fill); text-align: start; }
.quote__nxt { margin: 0; font: 600 .95rem/1.4 var(--f-display); color: var(--limestone); }
.quote__tl { position: relative; list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.quote__tl::before { content: ""; position: absolute; top: 18px; bottom: 18px; inset-inline-start: 14.5px; width: 1px; background: linear-gradient(var(--q-lime-line), var(--line-2)); }
.quote__tl li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.quote__tln { display: inline-grid; place-items: center; width: 30px; height: 34px; background: var(--hex-lime) center / 100% 100% no-repeat, var(--graphite); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); font: 500 .68rem/1 var(--f-mono); color: var(--membrane); }
.quote__tl strong { display: block; margin-top: 4px; font: 600 .88rem/1.4 var(--f-display); color: var(--limestone); }
.quote__tl p { margin: 2px 0 0; font-size: .82rem; line-height: 1.6; color: var(--concrete); }
.quote__new { margin-top: 18px; }

/* honeypot (bots fill it, people never see it) */
.quote__hp { position: absolute !important; inset-inline-start: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .quote__dot::after, .quote__step:not([hidden]), .quote__note, .quote__sel, .quote__f.is-new, .quote__fe2, .quote__sp, .quote__se,
  .quote__ring--1, .quote__ring--2, .quote__shex, .quote__wipe, .quote__spbar.is-proc::after { animation: none; }
  .quote__ring--2 { opacity: 0; }
}

/* ---------------------------------------------------------------- printable summary (A4, Arabic or English) */
.quote-sheet { display: none; }
@page quote { size: A4; margin: 13mm 14mm 15mm; }
@media print {
  html.quote-printing body > :not(.quote-sheet) { display: none !important; }
  html.quote-printing, html.quote-printing body { background: var(--paper-hi) !important; color: var(--ink) !important; }
  html.quote-printing .quote-sheet { display: block; page: quote; }
}
.quote-sheet { color: var(--ink); background: var(--paper-hi); font: 400 10pt/1.55 var(--f-text); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.quote-sheet[lang="en"] { line-height: 1.45; }
.quote-sheet__hd { display: flex; align-items: center; justify-content: space-between; gap: 12mm; }
.quote-sheet__brand { display: flex; align-items: center; gap: 4mm; }
.quote-sheet__emb { width: 15mm; height: auto; color: var(--ink); }
.quote-sheet__wm { margin: 0; font: 600 15pt/1.1 var(--f-wm); letter-spacing: .08em; text-transform: uppercase; }
.quote-sheet__ar { margin: 1mm 0 0; font: 600 10pt/1.2 var(--f-display); color: var(--ink-2); }
.quote-sheet__co { text-align: end; font: 400 8pt/1.5 var(--f-mono); color: var(--ink-2); }
.quote-sheet__co p { margin: 0; }
.quote-sheet__rule { position: relative; height: 1.2mm; margin: 5mm 0 6mm; background: var(--ink); }
.quote-sheet__rule span { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 28%; background: var(--membrane); }
.quote-sheet__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 10mm; }
.quote-sheet__k { margin: 0; font: 500 7.5pt/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.quote-sheet__t { margin: 1mm 0 0; font: 700 19pt/1.25 var(--f-display); color: var(--ink); }
.quote-sheet__ref { padding: 2.5mm 4mm; border: .4mm solid var(--ink); text-align: center; }
.quote-sheet__rv { margin: .5mm 0 0; font: 600 13pt/1.2 var(--f-mono); letter-spacing: .06em; }
.quote-sheet table { width: 100%; border-collapse: collapse; }
.quote-sheet th, .quote-sheet td { padding: 2mm 2.5mm; border-bottom: .25mm solid var(--ink-line); text-align: start; vertical-align: top; }
.quote-sheet th { font: 500 8.5pt/1.45 var(--f-display); color: var(--ink-3); }
.quote-sheet td { font-size: 10pt; color: var(--ink); overflow-wrap: anywhere; }
.quote-sheet__meta { margin-top: 5mm; border-top: .25mm solid var(--ink-line); }
.quote-sheet__meta th { width: 16%; }
.quote-sheet__sec { margin-top: 6mm; break-inside: avoid; }
.quote-sheet__sec h2 { display: flex; align-items: baseline; gap: 3mm; margin: 0 0 1.5mm; padding-bottom: 1.5mm; border-bottom: .5mm solid var(--ink); font: 600 11.5pt/1.3 var(--f-display); }
.quote-sheet__sec h2 span { font: 500 8pt/1 var(--f-mono); color: var(--ink-3); }
.quote-sheet__tb th { width: 30%; }
.quote-sheet__files thead th { border-bottom: .4mm solid var(--ink-2); }
.quote-sheet__files td:first-child, .quote-sheet__files th:first-child { width: 8mm; }
.quote-sheet__files td:last-child, .quote-sheet__files th:last-child { width: 22mm; text-align: end; }
.quote-sheet__none { margin: 2mm 0 0; color: var(--ink-3); }
.quote-sheet__notes { margin: 2mm 0 0; padding: 3mm 4mm; border: .25mm solid var(--ink-line); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 10pt; }
.quote-sheet__ft { margin-top: 9mm; padding-top: 3mm; border-top: .25mm solid var(--ink-line); font-size: 8pt; color: var(--ink-3); break-inside: avoid; }
.quote-sheet__ft p { margin: 0; }
.quote-sheet__tag { display: flex; justify-content: space-between; gap: 6mm; margin-top: 2mm !important; font-family: var(--f-display); }
.quote-sheet__tag span:first-child { font: 600 7.5pt/1.4 var(--f-display); letter-spacing: .3em; color: var(--ink); }

/* ---- feature: rain.css ---- */
/* ---------- rain: "Rain Shield" live waterproofing band (canvas by rain.js; the static frame below works without JS) */
.rain {
  --rain-city-h: clamp(104px, 7vw + 56px, 200px);
  position: relative; isolation: isolate; overflow: clip;
  display: flex; align-items: center;
  min-height: clamp(600px, 88vh, 820px);
  min-height: clamp(600px, calc(100svh - var(--hdr-h) - 12px), 820px);
  padding-block: clamp(64px, 6.5vw, 96px) calc(var(--rain-city-h) + clamp(24px, 3vw, 44px));
  background: var(--bitumen-deep);
}
.rain__scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rain__sky { /* storm light from above, a faint city glow on the horizon behind the skyline (neutral: no tinted surfaces) */
  position: absolute; inset: 0;
  background:
    radial-gradient(64% 30% at 50% calc(100% - var(--rain-city-h) * .55), rgba(255, 255, 255, .045), transparent 72%),
    radial-gradient(110% 70% at 50% -12%, rgba(255, 255, 255, .05), transparent 62%),
    linear-gradient(180deg, var(--bitumen-deep) 0%, var(--bitumen) 42%, var(--graphite-2) calc(100% - var(--rain-city-h) * .45), var(--bitumen) 100%);
}
/* engineering grid, faded towards the edges */
.rain__sky::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: 50% 0;
  -webkit-mask-image: radial-gradient(64% 58% at 50% 42%, #000 10%, transparent 100%); mask-image: radial-gradient(64% 58% at 50% 42%, #000 10%, transparent 100%);
}
.rain__city { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: var(--rain-city-h); overflow: visible; }
html[dir="ltr"] .rain__city { transform: scaleX(-1); } /* keep the landmarks on the open (non-text) side */
.rain__bldg { fill: var(--bitumen-deep); stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rain__win { fill: rgba(255, 255, 255, .13); }
.rain__cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* no-JS / pre-JS static frame: CSS rain + a hex-mesh dome with a dry zone under it (hidden once the canvas is live) */
.rain__fall {
  position: absolute; inset: 0 0 calc(var(--rain-city-h) * .3);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='190'%3E%3Cg stroke='%23fff' stroke-opacity='.2' stroke-linecap='round'%3E%3Cpath d='M18 8l-2 22M64 52l-2 20M110 18l-2 24M36 104l-2 18M92 128l-2 24M128 92l-1.6 16M8 160l-2 20M74 168l-1.6 14'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='97' height='131'%3E%3Cg stroke='%23fff' stroke-opacity='.1' stroke-linecap='round'%3E%3Cpath d='M12 20l-1.4 13M52 4l-1.4 14M84 60l-1.4 12M30 82l-1.4 13M70 110l-1.4 12'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 190px, 97px 131px;
  -webkit-mask-image: radial-gradient(15% 30% at var(--rain-dx, 24%) 74%, transparent 0 82%, #000 100%);
  mask-image: radial-gradient(15% 30% at var(--rain-dx, 24%) 74%, transparent 0 82%, #000 100%);
  transition: opacity .8s var(--ease);
}
html[dir="ltr"] .rain__fall { --rain-dx: 76%; }
.rain__dome {
  position: absolute; z-index: 1; width: clamp(240px, 30%, 440px); height: auto; overflow: visible;
  inset-inline-end: 9%; bottom: calc(var(--rain-city-h) * .42);
  transition: opacity .8s var(--ease);
}
.rain__dome-fill { fill: url(#rain-glass); }
.rain__hexp { fill: none; stroke: var(--membrane); stroke-width: .45; stroke-opacity: .32; }
.rain__dome-glow { fill: none; stroke: var(--membrane); stroke-width: 5; stroke-opacity: .1; stroke-linecap: round; }
.rain__dome-rim { fill: none; stroke: var(--membrane); stroke-width: 1.4; stroke-linecap: round; }
.rain__dome-base { fill: none; stroke: var(--membrane); stroke-width: .8; stroke-opacity: .45; }
.rain.is-live .rain__fall, .rain.is-live .rain__dome { opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }

/* ---------- copy */
.rain__in { position: relative; width: 100%; }
.rain__copy { position: relative; max-width: 600px; }
html[lang="en"] .rain__copy { max-width: 640px; }
.rain__copy::before { /* soft scrim: keeps the copy legible whatever the rain does behind it */
  content: ""; position: absolute; z-index: -1; inset: -12% -18% -10%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .62), rgba(0, 0, 0, .38) 62%, transparent);
}
.rain__kick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 22px; }
.rain__live {
  display: inline-flex; align-items: center; gap: 9px; min-height: 30px; padding: 4px 13px; border-radius: 999px;
  background: var(--membrane-soft); color: var(--membrane); font-size: .84rem; font-weight: 600; line-height: 1.2;
}
.rain__live-dot, .rain__on-dot { position: relative; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.rain__live-dot::after, .rain__on-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; opacity: 0; }
.rain.is-run .rain__live-dot::after, .rain.is-run .rain__on-dot::after { animation: rain-ping 2.4s var(--ease) infinite; }
@keyframes rain-ping { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(2); opacity: 0; } }
.rain__sys { font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .26em; color: var(--concrete); }
.rain__title {
  margin: 0 0 .4em; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem); line-height: 1.14; letter-spacing: -.01em; text-wrap: balance;
}
html[lang="en"] .rain__title { font-size: clamp(2.2rem, 4.1vw, 3.6rem); letter-spacing: -.025em; line-height: 1.04; }
.rain__hl { color: var(--membrane); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .rain__hl { background: var(--grad-lime, linear-gradient(100deg, var(--membrane), var(--membrane-hi))); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}
.rain__lead { margin: 0; max-width: 50ch; font-size: 1.1rem; color: var(--concrete); }
.rain__hint { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: .9rem; color: var(--limestone); }
.rain__hint-ic { width: 18px; height: 18px; color: var(--membrane); }
.rain__hint-touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .rain__hint-fine { display: none; }
  .rain__hint-touch { display: inline; }
}
html:not(.js) .rain__hint { display: none; } /* the static frame cannot be steered */

/* telemetry */
.rain__foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px 28px; margin-top: 26px; padding-top: 0; }
.rain__hud { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 0; margin: 0; border-top: 1px solid var(--line-2); }
.rain__hud-c { min-width: 0; padding: 14px 22px 0; border-inline-start: 1px solid var(--line); }
.rain__hud-c:first-child { padding-inline-start: 0; border-inline-start: 0; }
.rain__hud dt { margin: 0 0 4px; font-size: .78rem; line-height: 1.35; color: var(--concrete-2); }
.rain__hud dd { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 1.32rem; font-weight: 500; line-height: 1.25; color: var(--limestone); }
.rain__hud [data-rain-hits] { display: inline-block; min-width: 6.2ch; }
.rain__on { color: var(--membrane) !important; font-family: var(--f-display) !important; font-size: 1.05rem !important; font-weight: 600 !important; }
html:not(.js) .rain__hud-hits { display: none; }
html:not(.js) .rain__hud-c:nth-child(2) { padding-inline-start: 0; border-inline-start: 0; }
.rain__go { flex: none; }
.rain__go .ic { width: 18px; height: 18px; }

/* ---------- responsive */
@media (max-width: 900px) {
  .rain { align-items: flex-start; min-height: 0; padding-bottom: calc(var(--rain-city-h) + clamp(250px, 64vw, 330px)); }
  .rain__copy { max-width: 620px; }
  .rain__copy::before { inset: -8% -10% -6%; }
  .rain__dome { inset-inline-end: 50%; translate: 50% 0; width: min(78%, 330px); bottom: calc(var(--rain-city-h) * .55); }
  html[dir="ltr"] .rain__dome { translate: -50% 0; }
  .rain__fall, html[dir="ltr"] .rain__fall { --rain-dx: 50%; }
  .rain__fall { -webkit-mask-image: radial-gradient(42% 15% at 50% 82%, transparent 0 80%, #000 100%); mask-image: radial-gradient(42% 15% at 50% 82%, transparent 0 80%, #000 100%); }
  /* the CTA and the telemetry sit under the copy; the open stage below belongs to the shield */
}
@media (max-width: 520px) {
  .rain__title { font-size: clamp(2.1rem, 9.4vw, 2.6rem); }
  .rain__lead { font-size: 1rem; }
  .rain__hud-c { padding-inline: 12px 0; }
  .rain__hud-c + .rain__hud-c { padding-inline-start: 12px; }
  .rain__hud dd { font-size: 1.12rem; }
  .rain__go { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rain__live-dot::after, .rain__on-dot::after { animation: none !important; }
}
@media print {
  .rain__scene { display: none; }
  .rain { min-height: 0; padding-block: 32px; }
}

/* ---- feature: systems.css ---- */
/* ================================================================ systems: explorer, catalogue, dialog
   Identity palette only: black grounds, white type, lime #E0E320 (var(--membrane)); fonts come from the tokens (Alexandria / Readex Pro). */
.systems { --sys-gap: clamp(14px, 1.6vw, 22px); }
.systems .wrap > * + .sx, .systems .wrap > * + .sys-cat { margin-top: clamp(40px, 5vw, 72px); }

/* ---------------------------------------------------------------- building explorer */
.sx__head { max-width: 720px; margin-bottom: clamp(18px, 2.4vw, 30px); }
.sx__t { margin: 0 0 .35em; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.35; }
html[lang="en"] .sx__t { letter-spacing: -.015em; line-height: 1.2; }
.sx__lead { margin: 0; max-width: 60ch; color: var(--concrete); }
.sx__grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: start; }
.sx__fig { margin: 0; }
.sx__stage { position: relative; aspect-ratio: var(--ar, 1.2); border: 1px solid var(--line); border-radius: var(--r-m); background: #000; }
.sx__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.sx__dots { list-style: none; margin: 0; padding: 0; }
.sx__cap { margin: 10px 2px 0; font-size: .8rem; color: var(--concrete-2); }

.sx-dot, .sysd__dot {
  position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--membrane); background: rgba(8, 8, 8, .82); color: var(--membrane);
  font-family: var(--f-mono); font-weight: 500; font-size: .78rem; line-height: 1; text-decoration: none; cursor: pointer;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, color .2s, box-shadow .25s, transform .25s var(--ease);
}
.sx-dot::before, .sysd__dot::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(224, 227, 32, .45); opacity: 0; transform: scale(.7); }
.sx-dot:hover, .sysd__dot:hover { transform: translate(-50%, -50%) scale(1.1); }
.sx-dot:focus-visible, .sysd__dot:focus-visible { outline: 2px solid var(--limestone); outline-offset: 3px; }
.sx-dot.is-on, .sysd__dot.is-on { background: var(--membrane); color: var(--membrane-ink); box-shadow: 0 0 0 4px rgba(224, 227, 32, .22), 0 8px 22px -6px rgba(224, 227, 32, .7); z-index: 3; }
.sx-dot.is-on::before, .sysd__dot.is-on::before { opacity: 1; transform: none; animation: sys-ring 2.2s var(--ease) infinite; }
@keyframes sys-ring { 0% { opacity: .9; transform: scale(.78); } 80%, 100% { opacity: 0; transform: scale(1.55); } }
.sx-dot__t, .sysd__dot-t {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(8, 8, 8, .92); color: var(--limestone); font-family: var(--f-display); font-weight: 500; font-size: .78rem; line-height: 1.3; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .18s;
}
.sx-dot--r .sx-dot__t, .sysd__dot--r .sysd__dot-t { left: calc(100% + 9px); }
.sx-dot--l .sx-dot__t, .sysd__dot--l .sysd__dot-t { right: calc(100% + 9px); }
.sx-dot:hover .sx-dot__t, .sx-dot:focus-visible .sx-dot__t, .sx-dot.is-on .sx-dot__t,
.sysd__dot:hover .sysd__dot-t, .sysd__dot:focus-visible .sysd__dot-t, .sysd__dot.is-on .sysd__dot-t { opacity: 1; }

.sx__panel { min-width: 0; }
.sx__ph { margin: 0 0 10px; font-family: var(--f-display); font-size: .8rem; font-weight: 500; color: var(--concrete-2); letter-spacing: .02em; }
.sx__tabs, .sx__panes { list-style: none; margin: 0; padding: 0; }
.sx__tabs { display: none; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.sx.is-live .sx__tabs { display: flex; }
.sx-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--concrete); font-family: var(--f-display); font-size: .86rem; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: color .2s, background-color .25s, border-color .25s;
}
html[dir="rtl"] .sx-tab { padding: 6px 10px 6px 14px; }
.sx-tab:hover { color: var(--limestone); border-color: rgba(255, 255, 255, .42); }
.sx-tab:focus-visible { outline: 2px solid var(--membrane); outline-offset: 2px; }
.sx-tab__n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-family: var(--f-mono); font-size: .7rem; line-height: 1; }
.sx-tab[aria-pressed="true"] { background: var(--membrane); border-color: var(--membrane); color: var(--membrane-ink); font-weight: 600; }
.sx-pane { position: relative; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface), var(--graphite); }
.sx-pane::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--grad-lime); border-radius: var(--r-m) var(--r-m) 0 0; }
.sx-pane + .sx-pane { margin-top: 14px; }
.sx-pane[hidden] { display: none; }
.sx.is-live .sx-pane:not([hidden]) { animation: sys-in .45s var(--ease) both; }
.sx-pane__n { margin: 0 0 6px; font-family: var(--f-mono); font-size: .76rem; color: var(--membrane); }
.sx-pane__t { margin: 0 0 .35em; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.35; }
.sx-pane__d { margin: 0 0 16px; color: var(--concrete); line-height: 1.75; }
.sx-pane__l { margin: 0 0 8px; font-family: var(--f-display); font-size: .8rem; font-weight: 500; color: var(--concrete-2); }
.sx-pane__sys { display: grid; gap: 8px; margin-bottom: 18px; }
.sx-pane__act { margin: 0; }
.sx__step { display: flex; gap: 8px; margin-top: 14px; }
.sx__step[hidden] { display: none; }
html[dir="rtl"] .sx__prev { transform: none; }
html[dir="rtl"] .sx__next { transform: scaleX(-1); }
html[dir="ltr"] .sx__prev { transform: scaleX(-1); }

.sx-sys { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-s); color: var(--limestone); text-decoration: none; background: rgba(255, 255, 255, .02); transition: border-color .2s, background-color .2s, transform .25s var(--ease); }
.sx-sys:hover { border-color: var(--membrane); background: rgba(255, 255, 255, .05); }
.sx-sys:focus-visible { outline: 2px solid var(--membrane); outline-offset: 2px; }
.sx-sys__m { flex: none; display: block; width: 74px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: #000; }
.sx-sys__img { width: 100%; height: 100%; object-fit: cover; }
.sx-sys__t { font-family: var(--f-display); font-weight: 500; font-size: .92rem; line-height: 1.4; }

/* ---------------------------------------------------------------- catalogue */
.sys-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-bottom: clamp(18px, 2.4vw, 28px); }
html:not(.js) .sys-bar { display: none; }
html:not(.js) .sys-card__go { display: none; }   /* the details are already on the page: no dialog to open */
html:not(.js) .sys-card { align-self: start; }
.sys-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.sys-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--concrete);
  cursor: pointer; font-family: var(--f-display); font-size: .88rem; line-height: 1.35; white-space: nowrap; transition: color .2s, background-color .25s, border-color .25s, box-shadow .25s;
}
.sys-chip:hover { color: var(--limestone); border-color: rgba(255, 255, 255, .42); }
.sys-chip:focus-visible { outline: 2px solid var(--membrane); outline-offset: 2px; }
.sys-chip .num { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; opacity: .62; }
.sys-chip[aria-pressed="true"] { background: var(--membrane); border-color: var(--membrane); color: var(--membrane-ink); font-weight: 600; box-shadow: 0 8px 22px -12px rgba(224, 227, 32, .7); }
.sys-chip[aria-pressed="true"] .num { opacity: .75; }
.sys-count { margin: 0; margin-inline-start: auto; font-family: var(--f-display); font-size: .82rem; color: var(--concrete-2); white-space: nowrap; }
.sys-count .num { color: var(--limestone); font-family: var(--f-mono); font-size: .92em; }

.sys-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sys-gap); }
.sys-grid.is-anim .sys-card { animation: sys-in .5s var(--ease) both; }
.sys-grid.is-anim .sys-card:nth-child(2) { animation-delay: .04s; } .sys-grid.is-anim .sys-card:nth-child(3) { animation-delay: .08s; }
.sys-grid.is-anim .sys-card:nth-child(4) { animation-delay: .12s; } .sys-grid.is-anim .sys-card:nth-child(5) { animation-delay: .16s; }
.sys-grid.is-anim .sys-card:nth-child(n+6) { animation-delay: .2s; }
@keyframes sys-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sys-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--surface), var(--graphite); box-shadow: var(--inner-light); transition: border-color .25s, transform .3s var(--ease); }
.sys-card[hidden] { display: none; }
.sys-card--feat { grid-column: 1 / -1; flex-direction: row; }
.sys-card--feat .sys-card__link { flex-direction: row; }
.sys-card--feat .sys-card__media { flex: 0 0 58%; }
.sys-card--feat .sys-card__body { justify-content: center; padding: clamp(20px, 3vw, 44px); gap: 8px; }
.sys-card--feat .sys-card__go { margin-top: 10px; }
.sys-card:hover, .sys-card:focus-within { border-color: rgba(255, 255, 255, .28); }
.sys-card__link { flex: 1; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.sys-card__link:focus-visible { outline: 2px solid var(--membrane); outline-offset: -2px; }
.sys-card__media { position: relative; display: block; aspect-ratio: 8 / 5; overflow: hidden; background: #000; }
.sys-card--feat .sys-card__media { aspect-ratio: 3 / 2; }
.sys-card__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fp, 50% 50%); transition: transform .9s var(--ease); }
.sys-card:hover .sys-card__img { transform: scale(1.045); }
.sys-card__media::after { content: ""; position: absolute; inset: 10px; z-index: 1; pointer-events: none; opacity: 0; transform: scale(1.035); --m: var(--membrane);
  background: linear-gradient(var(--m), var(--m)) 0 0 / 14px 1.5px, linear-gradient(var(--m), var(--m)) 0 0 / 1.5px 14px, linear-gradient(var(--m), var(--m)) 100% 0 / 14px 1.5px, linear-gradient(var(--m), var(--m)) 100% 0 / 1.5px 14px,
    linear-gradient(var(--m), var(--m)) 0 100% / 14px 1.5px, linear-gradient(var(--m), var(--m)) 0 100% / 1.5px 14px, linear-gradient(var(--m), var(--m)) 100% 100% / 14px 1.5px, linear-gradient(var(--m), var(--m)) 100% 100% / 1.5px 14px;
  background-repeat: no-repeat; transition: opacity .35s ease, transform .6s var(--ease); }
@media (hover: hover) { .sys-card__link:hover .sys-card__media::after, .sys-card__link:focus-visible .sys-card__media::after { opacity: .9; transform: none; } }
.sys-card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.sys-card__top { display: flex; align-items: center; gap: 10px; }
.sys-card__tag { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .08em; color: var(--membrane); }
.sys-card__pts { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--concrete-2); font-family: var(--f-mono); font-size: .72rem; }
.sys-card__pts .ic { width: 14px; height: 14px; }
.sys-card__t { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; line-height: 1.45; }
html[lang="en"] .sys-card__t { letter-spacing: -.01em; line-height: 1.3; }
.sys-card--feat .sys-card__t { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.sys-card--feat .sys-card__d { font-size: 1rem; max-width: 46ch; }
.sys-card__d { color: var(--concrete); font-size: .9rem; line-height: 1.7; }
.sys-card__go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 500; font-size: .86rem; color: var(--limestone); }
.sys-card__chev { width: 16px; height: 16px; color: var(--membrane); transition: transform .25s var(--ease); }
html[dir="rtl"] .sys-card__chev { transform: scaleX(-1); }
.sys-card__link:hover .sys-card__chev { transform: translateX(3px); }
html[dir="rtl"] .sys-card__link:hover .sys-card__chev { transform: scaleX(-1) translateX(3px); }
.sys-note { margin: 18px 2px 0; font-size: .8rem; color: var(--concrete-2); }

/* the readable copy of the details: no-JS visitors (and print) see it in place; with JS the dialog replaces it */
.sys-more { padding: 14px 16px 18px; border-top: 1px solid var(--line); }
.js .sys-more { display: none; }
.sys-more__lead { margin: 0 0 12px; color: var(--limestone); font-size: .92rem; line-height: 1.7; }
.sys-more__cols { display: grid; gap: 12px; }
.sys-more__h { margin: 0 0 6px; font-family: var(--f-display); font-size: .8rem; font-weight: 500; color: var(--membrane); }
.sys-more ul, .sys-more ol { margin: 0 0 10px; padding-inline-start: 1.2em; color: var(--concrete); font-size: .88rem; line-height: 1.65; }
.sys-more__hot strong { color: var(--limestone); font-weight: 600; }
.sys-more__act { margin: 6px 0 0; }
@media print { .js .sys-more { display: block; } }

.sys-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: center; gap: 18px clamp(20px, 4vw, 56px); margin-top: clamp(32px, 4vw, 56px); padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--surface), var(--graphite); }
.sys-cta:not(:has(.sys-cta__fig)) { grid-template-columns: minmax(0, 1fr); }
.sys-cta__t { margin: 0 0 .25em; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.4; }
.sys-cta__d { margin: 0 0 20px; max-width: 52ch; color: var(--concrete); }
.sys-cta__fig { margin: 0; overflow: hidden; border-radius: var(--r-s); background: #000; aspect-ratio: var(--ar, 1.24); }
.sys-cta__fig img { width: 100%; height: 100%; object-fit: cover; }
.sys-card__media.is-contain .sys-card__img { object-fit: contain; }

/* ---------------------------------------------------------------- dialog */
.dlg--sys { width: min(1180px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
.dlg--sys [data-dlg-body] { max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.sysd { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.sysd__media { position: sticky; top: 0; background: #000; }
.sysd__stage { position: relative; aspect-ratio: var(--ar, 1.4); background: #000; }
.sysd__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sysd__dots { position: absolute; inset: 0; }
.sysd__illus { margin: 0; padding: 9px 16px 11px; font-size: .76rem; color: var(--concrete-2); background: #000; border-top: 1px solid var(--line); }
.sysd__info { padding: clamp(22px, 3vw, 40px); min-width: 0; }
.sysd__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .08em; color: var(--membrane); }
.sysd__tag i { color: var(--concrete-2); font-style: normal; }
.sysd__tag span:last-child:not([lang]) { font-family: var(--f-display); letter-spacing: 0; color: var(--concrete); }
.sysd__t { margin: 0 0 .4em; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.35; }
html[lang="en"] .sysd__t { letter-spacing: -.018em; line-height: 1.15; }
.sysd__t:focus { outline: none; }
.sysd__lead { margin: 0 0 20px; color: var(--limestone); font-size: 1.04rem; line-height: 1.75; }
.sysd__h { margin: 0 0 8px; font-family: var(--f-display); font-size: .8rem; font-weight: 500; letter-spacing: .02em; color: var(--membrane); }
.sysd__hint { margin: 0 0 10px; font-size: .84rem; color: var(--concrete-2); }
.sysd__layers { margin-bottom: 22px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: rgba(255, 255, 255, .02); }
.sysd__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sysd__item { border: 1px solid var(--line); border-radius: var(--r-s); transition: border-color .2s, background-color .2s; }
.sysd__item.is-on { border-color: rgba(224, 227, 32, .65); background: rgba(224, 227, 32, .05); }
.sysd__btn { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 0; background: none; cursor: pointer; text-align: start; color: var(--limestone); font-family: var(--f-display); font-weight: 500; font-size: .94rem; line-height: 1.4; }
.sysd__btn:focus-visible { outline: 2px solid var(--membrane); outline-offset: -2px; }
.sysd__n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--membrane); color: var(--membrane); font-family: var(--f-mono); font-size: .72rem; line-height: 1; }
.sysd__item.is-on .sysd__n { background: var(--membrane); color: var(--membrane-ink); }
.sysd__d { margin: 0; padding: 0 14px 14px; padding-inline-start: 48px; color: var(--concrete); font-size: .9rem; line-height: 1.7; }
.sysd__d[hidden] { display: none; }
.sysd__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.sysd__ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sysd__ul li { position: relative; padding-inline-start: 18px; color: var(--concrete); font-size: .92rem; line-height: 1.6; }
.sysd__ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 8px; height: 8px; background: var(--membrane); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.sysd__act { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.sysd__act [hidden] { display: none; }
.sysd__rel { margin-bottom: 22px; }
.sysd__relist { display: grid; gap: 8px; }
.sysd__nav { display: flex; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.sysd__step { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 48%; min-height: 40px; padding: 4px 6px; border: 0; background: none; cursor: pointer; color: var(--concrete); font-family: var(--f-display); font-size: .84rem; line-height: 1.35; text-align: start; }
.sysd__step span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sysd__step:hover { color: var(--limestone); }
.sysd__step:focus-visible { outline: 2px solid var(--membrane); outline-offset: 2px; }
.sysd__chev { flex: none; width: 16px; height: 16px; color: var(--membrane); }
html[dir="rtl"] .sysd__chev--next { transform: scaleX(-1); }
html[dir="ltr"] .sysd__chev--prev { transform: scaleX(-1); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1060px) { .sys-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .sys-card--feat, .sys-card--feat .sys-card__link { flex-direction: column; }
  .sys-card--feat .sys-card__media { flex: none; }
}
@media (max-width: 899px) {
  .sx__grid { grid-template-columns: minmax(0, 1fr); }
  .sysd { grid-template-columns: minmax(0, 1fr); }
  .sysd__media { position: static; }
  .dlg--sys { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .dlg--sys [data-dlg-body] { max-height: calc(100dvh - 16px); }
}
@media (max-width: 599px) {
  .sys-grid { grid-template-columns: minmax(0, 1fr); }
  .sysd__cols { grid-template-columns: 1fr; gap: 16px; }
  .sys-count { margin-inline-start: 0; }
  .sx-dot { width: 32px; height: 32px; }
  .sysd__dot { width: 28px; height: 28px; font-size: .72rem; }
  .sx-dot__t, .sysd__dot-t { display: none; }
  .sys-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .sys-chips::-webkit-scrollbar { display: none; }
  .sys-bar { flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 10px; }
  .sys-cta .btn { width: 100%; }
  .sys-cta { grid-template-columns: minmax(0, 1fr); }
  .sys-cta__fig { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-dot.is-on::before, .sysd__dot.is-on::before { animation: none; opacity: .6; transform: none; }
  .sys-grid.is-anim .sys-card, .sx.is-live .sx-pane:not([hidden]) { animation: none; }
  .sys-card__img { transition: none; }
}

/* ---- feature: thermal.css ---- */
/* ---------- thermal: roof insulation simulator (section drawing geometry in px mirrors G in thermal.mjs:
   sky 70 · tiles 26 · insulation box 96 (fill scaled by --s) · membrane 16 · screed 30 · slab 58 · room 84 = 380) */
.thermal { overflow: clip; background: radial-gradient(60% 40% at 50% 0%, rgba(255, 255, 255, .03), transparent 70%), var(--bitumen); }
.thermal__head { max-width: 820px; }
.thermal__kick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 18px; }
.thermal__pill {
  display: inline-flex; align-items: center; gap: 9px; min-height: 30px; padding: 4px 13px; border-radius: 999px;
  border: 1px solid rgba(224, 227, 32, .38); color: var(--membrane); font-family: var(--f-display); font-size: .84rem; font-weight: 600; line-height: 1.2;
}
.thermal__pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.thermal__sys { font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .2em; color: var(--concrete); }
.thermal__hl { color: var(--membrane); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .thermal__hl { background: var(--grad-lime, linear-gradient(100deg, var(--membrane), var(--membrane-hi))); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}

/* ---------- layout: controls + readouts beside the drawing (stacked on small screens: controls, drawing, readouts) */
.thermal__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-areas: "ctl viz" "kpi viz";
  grid-template-rows: auto 1fr; gap: 22px clamp(28px, 4vw, 60px); align-items: start;
}
.thermal__ctlw { grid-area: ctl; min-width: 0; }
.thermal__kpiw { grid-area: kpi; min-width: 0; }
.thermal__viz { grid-area: viz; }

/* ---------- controls */
.thermal__ctl { display: grid; gap: 24px; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface, rgba(255, 255, 255, .02)); box-shadow: var(--inner-light, none); }
.thermal__mats { min-width: 0; margin: 0; padding: 0; border: 0; }
.thermal__k { display: block; margin: 0 0 10px; padding: 0; font-family: var(--f-display); font-size: .86rem; font-weight: 500; line-height: 1.4; color: var(--concrete); }
.thermal__seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.thermal__mat { position: relative; display: block; min-width: 0; cursor: pointer; }
.thermal__mat input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.thermal__mat-in {
  display: flex; flex-direction: column; justify-content: center; gap: 3px; height: 100%; min-height: 62px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: var(--r-m); background: rgba(255, 255, 255, .02);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.thermal__mat-t { font-family: var(--f-display); font-weight: 600; font-size: .96rem; line-height: 1.25; color: var(--limestone); }
.thermal__mat-l { align-self: flex-start; font-family: var(--f-mono); font-size: .74rem; line-height: 1.3; color: var(--concrete-2); transition: color .2s; }
.thermal__mat:hover .thermal__mat-in { border-color: rgba(255, 255, 255, .34); }
.thermal__mat input:checked + .thermal__mat-in { border-color: var(--membrane); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--membrane); }
.thermal__mat input:checked + .thermal__mat-in .thermal__mat-l { color: var(--membrane); }
.thermal__mat input:focus-visible + .thermal__mat-in { outline: 2px solid var(--membrane); outline-offset: 3px; }

.thermal__thk-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.thermal__thk-top .thermal__k { margin: 0; }
.thermal__out { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; line-height: 1.2; color: var(--limestone); white-space: nowrap; }
.thermal__track { padding-block: 8px 2px; }
.thermal__range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 0; padding: 0; background: transparent; cursor: pointer; --fill: to right; }
html[dir="rtl"] .thermal__range { --fill: to left; } /* a range runs right to left in RTL */
.thermal__range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(var(--fill), var(--membrane) 0 var(--p, 50%), rgba(255, 255, 255, .15) var(--p, 50%) 100%); }
.thermal__range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.thermal__range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--membrane); }
.thermal__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: var(--bitumen); border: 2px solid var(--membrane); box-shadow: 0 0 0 6px rgba(224, 227, 32, .14), 0 4px 14px rgba(0, 0, 0, .65);
  transition: box-shadow .2s;
}
.thermal__range::-moz-range-thumb {
  box-sizing: border-box; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bitumen); border: 2px solid var(--membrane); box-shadow: 0 0 0 6px rgba(224, 227, 32, .14), 0 4px 14px rgba(0, 0, 0, .65);
}
.thermal__range:hover::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(224, 227, 32, .2), 0 4px 14px rgba(0, 0, 0, .65); }
.thermal__range:focus-visible { outline: none; }
.thermal__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bitumen), 0 0 0 5px var(--membrane), 0 4px 14px rgba(0, 0, 0, .65); }
.thermal__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--bitumen), 0 0 0 5px var(--membrane); }
.thermal__ticks { position: relative; height: 22px; margin: 2px 0 0; font-family: var(--f-mono); font-size: .7rem; color: var(--concrete-2); }
.thermal__ticks span { position: absolute; top: 6px; inset-inline-start: calc(14px + (100% - 28px) * var(--x)); translate: -50% 0; line-height: 1; }
html[dir="rtl"] .thermal__ticks span { translate: 50% 0; }
.thermal__ticks span::before { content: ""; position: absolute; left: 50%; top: -7px; width: 1px; height: 4px; background: var(--line-2); }
.thermal__nojs { display: none; margin: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-m); font-size: .9rem; color: var(--concrete); }
html:not(.js) .thermal__ctl { display: none; }
html:not(.js) .thermal__nojs { display: block; }

/* ---------- readouts */
.thermal__kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--line); }
.thermal__kpi { grid-column: span 2; display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; padding: 15px 16px 16px; background: var(--bitumen); }
.thermal__kpi--red, .thermal__kpi--tsi { grid-column: span 3; padding: 18px 18px 18px; }
.thermal__kpi dt { font-family: var(--f-display); font-size: .78rem; font-weight: 500; line-height: 1.4; color: var(--concrete); }
.thermal__kpi dd { margin: 0; }
.thermal__v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: var(--limestone); }
.thermal__kpi--red .thermal__v, .thermal__kpi--tsi .thermal__v { font-size: clamp(2.1rem, 3.3vw, 2.85rem); font-weight: 700; letter-spacing: -.02em; }
.thermal__kpi--red .thermal__v { color: var(--membrane); }
.thermal__u { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .02em; color: var(--concrete-2); }
.thermal__kpi--tsi .thermal__u { font-family: var(--f-display); font-size: .5em; font-weight: 500; letter-spacing: 0; color: var(--concrete); }
.thermal__base { font-size: .76rem; line-height: 1.45; color: var(--concrete-2); }
html[dir="rtl"] .thermal__v[dir="ltr"] { justify-content: flex-end; } /* value + unit read as one LTR block, aligned like the label */

/* ---------- section drawing: geometry from the renderer (--gs sky, --gt tiles, --gi insulation box, --gm membrane,
   --gc screed, --gb slab, --gh total of the drawn part; --s = insulation fill 0..1). Everything below the insulation is
   placed at s = 1 and shifted up by (s - 1) * --gi; the room absorbs any extra height of the figure. */
.thermal__viz {
  --y-tiles: var(--gs, 84px);
  --y-ins: calc(var(--y-tiles) + var(--gt, 28px));
  --y-mem: calc(var(--y-ins) + var(--gi, 104px));
  --y-screed: calc(var(--y-mem) + var(--gm, 16px));
  --y-slab: calc(var(--y-screed) + var(--gc, 32px));
  --y-room: calc(var(--y-slab) + var(--gb, 62px));
  position: relative; isolation: isolate; align-self: stretch; min-height: var(--gh, 436px); margin: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-l); background: var(--bitumen-deep);
}
.thermal__sky { position: absolute; inset: 0 0 auto; height: var(--gs, 84px); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)); }
.thermal__sun { position: absolute; top: 16px; inset-inline-start: 56%; width: 36px; height: 36px; fill: none; stroke: var(--warn); stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(240, 180, 90, .45)); }
.thermal__sun circle { fill: var(--warn); fill-opacity: .9; stroke: none; }
.thermal__haze-w { position: absolute; left: 0; bottom: 4px; display: flex; width: 200%; height: 18px; direction: ltr; }
.thermal__haze { flex: none; width: 50%; height: 100%; overflow: visible; }
.thermal__haze path { fill: none; stroke: var(--warn); stroke-opacity: .32; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.thermal.is-live .thermal__haze-w { animation: thermal-haze 7s linear infinite; }
@keyframes thermal-haze { to { transform: translateX(-50%); } }

.thermal__stk, .thermal__tags { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 76%; }
.thermal__below { position: absolute; inset: 0; transform: translateY(calc((var(--s) - 1) * var(--gi, 104px))); }
.thermal__ly { position: absolute; inset-inline: 0; border-top: 1px solid rgba(255, 255, 255, .16); background-color: var(--c1, var(--graphite)); }
/* each layer: material texture over its temperature gradient (top colour --c0, bottom colour --c1) */
.thermal__ly--tiles {
  top: var(--y-tiles); height: var(--gt, 28px);
  background-image: repeating-linear-gradient(90deg, transparent 0 41px, rgba(0, 0, 0, .5) 41px 43px), linear-gradient(180deg, var(--c0), var(--c1));
}
.thermal__ly--ins { top: var(--y-ins); height: var(--gi, 104px); border: 0; background: none; }
.thermal__fill {
  position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(var(--s));
  background-color: var(--c1); background-image: linear-gradient(180deg, var(--c0), var(--c1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}
.thermal__ly--ins[data-mat="xps"] .thermal__fill { background-image: repeating-linear-gradient(90deg, transparent 0 62px, rgba(0, 0, 0, .45) 62px 64px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 8px), linear-gradient(180deg, var(--c0), var(--c1)); }
.thermal__ly--ins[data-mat="pu"] .thermal__fill { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 4px, rgba(0, 0, 0, .16) 4px 5px, transparent 5px 7px), linear-gradient(180deg, var(--c0), var(--c1)); }
.thermal__ly--ins[data-mat="fc"] .thermal__fill {
  background-image: radial-gradient(circle at 3px 3px, rgba(255, 255, 255, .18) 1.1px, transparent 1.7px), radial-gradient(circle at 7px 7px, rgba(0, 0, 0, .32) 1.4px, transparent 2px), linear-gradient(180deg, var(--c0), var(--c1));
  background-size: 9px 9px, 9px 9px, auto;
}
.thermal__ly--mem { top: var(--y-mem); height: var(--gm, 16px); border-top: 0; background: var(--membrane); box-shadow: 0 0 16px rgba(224, 227, 32, .35); }
.thermal__ly--screed {
  top: var(--y-screed); height: var(--gc, 32px);
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .14) .9px, transparent 1.4px), linear-gradient(180deg, var(--c0), var(--c1));
  background-size: 7px 6px, auto;
}
.thermal__ly--slab {
  top: var(--y-slab); height: var(--gb, 62px);
  background-image: radial-gradient(circle, rgba(0, 0, 0, .6) 2.4px, rgba(255, 255, 255, .26) 2.9px, transparent 3.5px), repeating-linear-gradient(45deg, rgba(255, 255, 255, .075) 0 1px, transparent 1px 9px), linear-gradient(180deg, var(--c0), var(--c1));
  background-size: 34px 100%, auto, auto; background-position: 8px 68%, 0 0, 0 0; background-repeat: repeat-x, repeat, no-repeat;
}
.thermal__room { position: absolute; inset-inline: 0; top: var(--y-room); bottom: calc(-1 * var(--gi, 104px)); border-top: 1px solid rgba(255, 255, 255, .2); background: linear-gradient(180deg, var(--room), rgba(0, 0, 0, 0) 120px), var(--graphite); }
.thermal__room::after { content: ""; position: absolute; inset-inline: 0; top: 96px; border-top: 1px dashed rgba(255, 255, 255, .12); } /* floor line */

/* labels sit above the particles (their own layer, shifted like the drawing) */
.thermal__cv { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.thermal__tags { z-index: 3; pointer-events: none; }
.thermal__tag { position: absolute; display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.thermal__tag b { font-family: var(--f-display); font-weight: 600; font-size: 1.04rem; color: var(--limestone); white-space: nowrap; }
.thermal__tag small { font-size: .7rem; color: var(--concrete); }
.thermal__tag--sky { top: 14px; inset-inline-start: 16px; max-width: 50%; }
.thermal__tag--room { top: calc(var(--y-room) + 46px); inset-inline-start: 16px; }
.thermal__lbl {
  position: absolute; inset-inline-start: 12px; top: 0; display: inline-flex; align-items: baseline; gap: 6px; max-width: calc(100% - 24px);
  padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .62); font-size: .72rem; font-weight: 500; line-height: 1.35; color: var(--limestone); white-space: nowrap;
  transform: translateY(-50%);
}
.thermal__lbl em { font-style: normal; font-family: var(--f-mono); font-size: .95em; color: var(--concrete); }
.thermal__lbl--tiles { top: calc(var(--y-tiles) + var(--gt, 28px) / 2); }
/* the insulation label sits on the other side: it never collides with the tiles / membrane labels when the layer is thin */
.thermal__lbl--ins { top: var(--y-ins); inset-inline-start: auto; inset-inline-end: 12px; transform: translateY(calc(var(--s) * var(--gi, 104px) / 2 - 50%)); border: 1px solid rgba(255, 255, 255, .16); }
.thermal__lbl--ins.is-none { color: var(--concrete); border-style: dashed; }
.thermal__lbl--mem { top: calc(var(--y-mem) + var(--gm, 16px) / 2); padding: 0 4px; background: none; color: var(--membrane-ink); font-weight: 600; }
.thermal__lbl--mem em { color: var(--membrane-ink); opacity: .7; }
.thermal__lbl--screed { top: calc(var(--y-screed) + var(--gc, 32px) / 2); }
.thermal__lbl--slab { top: calc(var(--y-slab) + var(--gb, 62px) / 2); }
.thermal__ceil { position: absolute; top: calc(var(--y-room) + 9px); inset-inline-end: 12px; display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 9px; border-radius: 4px; background: rgba(0, 0, 0, .62); line-height: 1.3; }
.thermal__ceil small { font-size: .7rem; color: var(--concrete); }
.thermal__ceil b { font-family: var(--f-display); font-weight: 600; font-size: .9rem; color: var(--limestone); white-space: nowrap; }

/* temperature profile beside the drawing (x: 24 °C at the inner edge -> 70 °C at the outer edge; y in px like the drawing) */
.thermal__rail { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; z-index: 3; width: 24%; contain: layout paint; border-inline-start: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)); pointer-events: none; }
.thermal__prof { position: absolute; inset: 0 0 auto; width: 100%; height: var(--gh, 436px); overflow: visible; }
html[dir="rtl"] .thermal__prof { transform: scaleX(-1); }
.thermal__ref { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.thermal__line { fill: none; stroke: var(--membrane); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(224, 227, 32, .5)); }
.thermal__pt { position: absolute; top: 0; inset-inline-start: var(--x); width: 0; height: 0; transform: translateY(var(--y)); }
.thermal__pt i { position: absolute; top: -4.5px; inset-inline-start: -4.5px; width: 9px; height: 9px; border-radius: 50%; background: var(--bitumen); border: 2px solid var(--membrane); }
.thermal__pt b { position: absolute; top: -10px; inset-inline-start: 9px; font-family: var(--f-mono); font-size: .72rem; font-weight: 500; line-height: 20px; color: var(--limestone); white-space: nowrap; text-shadow: 0 0 6px #000, 0 0 3px #000; }
.thermal__pt.is-hot b { inset-inline-start: auto; inset-inline-end: 9px; }

/* ---------- comparison, assumptions, call to action */
.thermal__foot { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 22px clamp(28px, 4vw, 60px); margin-top: 22px; align-items: start; }
.thermal__cmp { padding: 20px 22px 18px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface, rgba(255, 255, 255, .02)); }
.thermal__cmp-t { margin: 0 0 14px; font-family: var(--f-display); font-size: .92rem; font-weight: 600; line-height: 1.4; color: var(--limestone); }
.thermal__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.thermal__bar { display: grid; grid-template-columns: minmax(0, 8.6em) minmax(0, 1fr) 6.6em; align-items: center; gap: 12px; min-height: 30px; font-size: .84rem; }
html[lang="en"] .thermal__bar { grid-template-columns: minmax(0, 7.6em) minmax(0, 1fr) 6.6em; }
.thermal__bar-k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--concrete); }
.thermal__bar-tr { position: relative; height: 12px; }
.thermal__bar-tr i { position: absolute; inset: 0; border-radius: 0 4px 4px 0; background: var(--concrete-2); transform-origin: 0 50%; transform: scaleX(var(--f, 1)); transition: transform .45s var(--ease), background-color .2s; }
html[dir="rtl"] .thermal__bar-tr i { border-radius: 4px 0 0 4px; transform-origin: 100% 50%; }
.thermal__bar.is-on .thermal__bar-k { color: var(--limestone); font-weight: 600; }
.thermal__bar.is-on .thermal__bar-tr i { background: var(--membrane); }
.thermal__bar--ref .thermal__bar-tr i { background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 5px); box-shadow: inset 0 0 0 1px var(--line-2); }
.thermal__bar-v { display: flex; align-items: baseline; justify-content: flex-end; gap: 5px; font-family: var(--f-mono); font-size: .8rem; color: var(--limestone); white-space: nowrap; }
html[dir="rtl"] .thermal__bar-v { justify-content: flex-start; } /* LTR block, pushed to the outer (left) edge */
.thermal__bar-v .thermal__u { font-size: .66rem; }
.thermal__cmp-n { margin: 12px 0 0; font-size: .74rem; color: var(--concrete-2); }

.thermal__aside { display: grid; gap: 22px; justify-items: start; }
.thermal__note { padding: 16px 18px 17px; border-inline-start: 2px solid var(--membrane); border-radius: var(--r-m); border-start-start-radius: 0; border-end-start-radius: 0; background: rgba(255, 255, 255, .03); }
.thermal__note-t { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: var(--f-display); font-size: .9rem; font-weight: 600; color: var(--limestone); }
.thermal__note-t .ic { width: 18px; height: 18px; color: var(--membrane); }
.thermal__note-p { margin: 0; font-size: .8rem; line-height: 1.8; color: var(--concrete); }
html[lang="en"] .thermal__note-p { line-height: 1.65; }
.thermal__cta .ic { width: 18px; height: 18px; }

/* ---------- responsive */
@media (max-width: 1000px) {
  .thermal__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ctl" "viz" "kpi"; grid-template-rows: none; }
  .thermal__foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .thermal__ctl { padding: 18px 16px 14px; gap: 20px; }
  .thermal__mat-in { min-height: 58px; padding: 9px 10px; }
  .thermal__mat-t { font-size: .88rem; }
  .thermal__kpi { grid-column: span 3; padding: 13px 14px 14px; }
  .thermal__kpi:last-child { grid-column: span 6; }
  .thermal__kpi--red, .thermal__kpi--tsi { padding: 15px 14px; }
  .thermal__v { font-size: 1.22rem; }
  .thermal__kpi dt { font-size: .74rem; }
  .thermal__stk, .thermal__tags { width: 74%; }
  .thermal__rail { width: 26%; }
  .thermal__lbl { font-size: .68rem; padding: 2px 6px; inset-inline-start: 8px; max-width: calc(100% - 16px); }
  .thermal__lbl--ins { inset-inline-start: auto; inset-inline-end: 8px; }
  .thermal__lbl em { display: none; }
  .thermal__lbl--ins em, .thermal__lbl--mem em { display: inline; }
  .thermal__tag--sky small { max-width: 13em; }
  .thermal__sun { inset-inline-start: auto; inset-inline-end: 6%; }
  .thermal__bar { grid-template-columns: minmax(0, 6.8em) minmax(0, 1fr) 5.9em; gap: 9px; font-size: .8rem; }
  html[lang="en"] .thermal__bar { grid-template-columns: minmax(0, 6.4em) minmax(0, 1fr) 5.9em; }
  .thermal__cta { width: 100%; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .thermal__haze-w { animation: none !important; }
  .thermal__bar-tr i { transition: none; }
}
@media print {
  .thermal__cv, .thermal__haze-w { display: none; }
  html:not(.js) .thermal__ctl, .thermal__ctl { display: none; }
}

html.pre-en #app { visibility: hidden; }
