/* HOMESTAT — site.css · Design Language v1.0 (mono × signal orange), release build.
   Dot-grid paper, rounded ink panels, white cards, headings in the dot letters of the logo,
   serif leads, mono everything else. Motion lives in site.js and degrades to static. */
:root{
  --paper:#F4F4F4; --card:#FFFFFF; --ink:#0A0A0A; --soft:#5F5F5F; --line:#E2E2E2; --line-ink:#2C2C2C;
  --herosub:#9A9A9A; --herostory:#D6D6D6;
  --acc:#E8490F; --acc-ink:#FF5705;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --serif:"Instrument Serif",Georgia,"Times New Roman",serif;
  --arabic:"IBM Plex Sans Arabic","Noto Sans Arabic",system-ui,sans-serif;
  --measure:66ch; --wrap:1200px; --gutter:20px; --r:18px; --rp:26px; --t:160ms ease;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
html,body{overflow-x:clip}
body{margin:0;background:var(--paper);background-image:radial-gradient(rgba(10,10,10,.07) 1px,transparent 1px);background-size:26px 26px;color:var(--ink);font-family:var(--mono);font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased;font-feature-settings:"liga" 0;text-rendering:optimizeLegibility}
[dir="rtl"] body{font-family:var(--arabic);font-size:16.5px;line-height:1.85}
img,svg{max-width:100%;height:auto}
a{color:inherit;text-decoration:none;border-bottom:1px solid var(--line);transition:color var(--t),border-color var(--t)}
@media(hover:hover){a:hover{color:inherit;border-color:var(--acc)}}
.on-ink a{border-color:var(--line-ink)} @media(hover:hover){.on-ink a:hover{color:var(--acc-ink);border-color:var(--acc-ink)}}
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
h1,h2,h3,h4{margin:0 0 14px;line-height:1.2;font-weight:400}
h1,h2{font-family:var(--serif)}
h1{font-size:clamp(32px,4vw,52px)} h2{font-size:clamp(28px,3.2vw,40px);line-height:1.15}
h3{font-family:var(--serif);font-size:clamp(21px,2vw,25px);line-height:1.2}
h4{font-family:var(--mono);font-weight:600;font-size:14px}
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3{font-family:var(--arabic);font-weight:700}
[dir="rtl"] h1{font-size:clamp(30px,3.6vw,44px)} [dir="rtl"] h2{font-size:clamp(25px,2.8vw,34px)} [dir="rtl"] h3{font-size:clamp(19px,1.9vw,22px)}
p{margin:0 0 16px;max-width:var(--measure)}
ul,ol{max-width:var(--measure);padding-inline-start:1.3em;margin:0 0 16px}
li{margin-bottom:6px}
strong,b{font-weight:600}
.small{font-size:12.5px;line-height:1.6}
.mute{color:var(--soft)} .on-ink .mute{color:var(--herosub)}
.eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.2px;color:var(--soft);display:block;margin-bottom:14px}
.on-ink .eyebrow{color:var(--herosub)}
[dir="rtl"] .eyebrow{font-family:var(--arabic);letter-spacing:0;text-transform:none;font-size:13px}
.lead{font-family:var(--serif);font-size:clamp(21px,2.3vw,29px);line-height:1.35;max-width:40ch;margin:0 0 18px;color:#2A2A2A}
.on-ink .lead{color:var(--herostory)}
[dir="rtl"] .lead{font-family:var(--arabic);font-size:clamp(18px,2vw,23px);line-height:1.7;font-weight:400}
.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:absolute;top:-120px;inset-inline-start:8px;background:var(--ink);color:var(--paper);padding:8px 12px;z-index:100;border-radius:4px}
.skip:focus{top:8px}
.tofill{display:inline-block;font-family:var(--mono);font-size:.78em;letter-spacing:.5px;color:var(--acc);border:1px dashed var(--acc);border-radius:6px;padding:0 6px;line-height:1.6;white-space:nowrap}
.on-ink .tofill{color:var(--acc-ink);border-color:var(--acc-ink)}

/* ---------- headings in the dot letters of the logo ---------- */
.dh{margin:0 0 18px;color:var(--ink);--cw:clamp(15px,1.85vw,24px);line-height:0}
.dh svg{display:block;width:calc(var(--c) * var(--cw));max-width:100%;height:auto;overflow:visible}
.dh .a{stroke:var(--acc)}
.on-ink .dh{color:var(--paper)} .on-ink .dh .a{stroke:var(--acc-ink)}
.dh.xl{--cw:clamp(20px,3vw,40px);margin-bottom:22px}
[dir="rtl"] .dh svg{margin-inline-start:0}
.arh{font-family:var(--arabic);font-weight:700;font-size:clamp(26px,3vw,38px);line-height:1.3;margin:0 0 14px}
.arh::after{content:"";display:inline-block;width:.34em;height:.34em;border-radius:50%;background:var(--acc);margin-inline-start:.18em;vertical-align:baseline}
.on-ink .arh::after{background:var(--acc-ink);box-shadow:0 0 10px var(--acc-ink)}

/* ---------- layout ---------- */
.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:var(--gutter)}
section{padding-block:clamp(26px,4.2vw,56px)}
section.tight{padding-block:14px}
section.on-ink > .wrap,.panel{background:var(--ink);color:var(--paper);border-radius:var(--rp);padding:clamp(32px,5.4vw,72px) clamp(22px,5vw,64px);position:relative;overflow:hidden;max-width:calc(var(--wrap) - 2*var(--gutter))}
@media(max-width:600px){section.on-ink > .wrap{border-radius:20px}}
.shead{display:grid;gap:2px 40px;margin-bottom:clamp(22px,3vw,34px)}
@media(min-width:960px){.shead{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:end}.shead .lead{margin:0 0 4px}}
.shead .dh{margin-bottom:12px}
.shead .more{grid-column:1/-1;justify-self:start;font-size:13px;border:0;display:inline-flex;align-items:center;min-height:40px;font-weight:600}
.shead .more::after,.more::after{content:"→";margin-inline-start:8px;color:var(--acc)}
[dir="rtl"] .shead .more::after,[dir="rtl"] .more::after{content:"←"}
[dir="rtl"] .shead .more{letter-spacing:0;text-transform:none;font-size:14px}

/* ---------- nav ---------- */
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:20px}
.nav .brand{border:0;display:inline-flex;align-items:center;min-height:44px}
.nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 20px;max-width:none;align-items:center}
.nav li{margin:0}
.nav a.link{font-size:13px;color:#3A3A3A;border:0;display:inline-flex;align-items:center;min-height:44px}
.nav a.link[aria-current="page"]{color:var(--ink);text-decoration:underline;text-decoration-color:var(--acc);text-decoration-thickness:2px;text-underline-offset:7px}@media(hover:hover){.nav a.link:hover{color:var(--ink);text-decoration:underline;text-decoration-color:var(--acc);text-decoration-thickness:2px;text-underline-offset:7px}}
[dir="rtl"] .nav a.link{letter-spacing:0;text-transform:none;font-size:14.5px}
/* V2.2 (26 Oct 2026): "Request a Studio account" is longer than "Open your Studio": the two buttons are a little tighter, and below
   1180 px the header is the menu, so the header stays one row (it wrapped from 1061 to 1140 px already in V2.1) */
.nav a.cta{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:4px;background:var(--ink);color:var(--paper);font-size:11.5px;font-weight:600;letter-spacing:1.1px;text-transform:uppercase;border:1px solid var(--ink)}
@media(hover:hover){.nav a.cta:hover{background:var(--acc);border-color:var(--acc);color:#fff}}
[dir="rtl"] .nav a.cta{letter-spacing:0;text-transform:none;font-size:14.5px}
.nav .soon{font-size:13px;color:var(--soft);display:inline-flex;align-items:center;gap:7px;min-height:44px;cursor:default}
.soon small{font-size:9.5px;letter-spacing:1px;text-transform:uppercase;border:1px solid var(--line);border-radius:10px;padding:1px 6px;color:var(--soft);line-height:1.5}
footer .soon{color:var(--herosub)} footer .soon small{border-color:var(--line-ink);color:var(--herosub)}
.nav a.lang{font-family:var(--arabic);font-size:13px;border:1px solid var(--line);border-radius:16px;padding:0 14px;min-height:34px;background:var(--card);display:inline-flex;align-items:center}
@media(hover:hover){.nav a.lang:hover{border-color:var(--acc);color:var(--ink)}}
.nav details.menu{display:none}
@media(max-width:1179px){
  .nav ul.desk{display:none}.nav details.menu{display:block;position:relative}
  .nav summary{list-style:none;cursor:pointer;font-size:11.5px;letter-spacing:1.3px;text-transform:uppercase;min-height:44px;display:inline-flex;align-items:center;padding:0 16px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
  .nav summary::-webkit-details-marker{display:none}
  .nav details[open] summary{border-color:var(--acc);color:var(--ink)}
  .nav details ul{position:absolute;inset-inline-end:0;top:52px;min-width:250px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);flex-direction:column;align-items:stretch;gap:0;padding:8px 18px 14px;z-index:50;box-shadow:0 12px 30px rgba(0,0,0,.08)}
  .nav details li a.link{min-height:46px;width:100%;color:var(--ink)}
  .nav details li a.cta{margin-top:8px;justify-content:center;min-height:46px}
  .nav details li a.lang{margin:8px 0 4px}
}
[dir="rtl"] .nav summary{font-family:var(--arabic);letter-spacing:0;text-transform:none;font-size:15px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border:1px solid var(--ink);border-radius:4px;background:transparent;color:var(--ink);font-family:var(--mono);font-size:11.5px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;cursor:pointer;transition:background var(--t),color var(--t),border-color var(--t)}
@media(hover:hover){.btn:hover{border-color:var(--acc);color:var(--ink)}}
.btn.primary{background:var(--ink);color:var(--paper)}
@media(hover:hover){.btn.primary:hover{background:var(--acc);border-color:var(--acc);color:#fff}}
.on-ink .btn{border-color:var(--paper);color:var(--paper)}
@media(hover:hover){.on-ink .btn:hover{border-color:var(--acc-ink);color:var(--acc-ink)}}
.on-ink .btn.primary{background:var(--paper);color:var(--ink)}
@media(hover:hover){.on-ink .btn.primary:hover{background:var(--acc-ink);border-color:var(--acc-ink);color:#fff}}
.btn[disabled]{opacity:.5;cursor:wait}
.btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
[dir="rtl"] .btn{font-family:var(--arabic);letter-spacing:0;text-transform:none;font-size:15px}

/* ---------- the dot display: an ink panel whose dots dotdisplay.js draws (Experiment A; on every page but the home page since V2.1) ---------- */
.dx-sec{padding:0 0 28px}
/* overflow: clip, not hidden, so that a sticky child (the demo room on a phone) still sticks to the window */
.dx{--dxp:8px;position:relative;margin:0 clamp(8px,1vw,14px);background:var(--ink);color:var(--paper);border-radius:26px;overflow:hidden;overflow:clip;isolation:isolate}
.dx-cv{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;pointer-events:none}
.dx-in{position:relative;z-index:1;max-width:1444px;margin:0 auto;padding:clamp(26px,4vw,56px) clamp(20px,4.2vw,62px) clamp(30px,3.4vw,46px)}
/* without JS, or before the canvas draws: the dot texture of the site's ink panels, so the panel never looks bare */
.dx::before{content:"";position:absolute;inset:0;z-index:0;background-image:radial-gradient(rgba(244,244,244,.07) 1px,transparent 1.3px);background-size:var(--dxp) var(--dxp);pointer-events:none;transition:opacity .3s}
.dx.live::before{opacity:0}
/* a phone or a tablet (assets/dotdisplay.js LITE, V2 speed): the panel powers on with one wipe from the top, drawn by the
   compositor, in place of a canvas redrawn on every frame */
.dx.dx-lite::after{content:"";position:absolute;inset:0;z-index:0;background:var(--ink);transform-origin:50% 100%;pointer-events:none}
.dx.dx-lite.live::after{transform:scaleY(0);transition:transform .38s linear}
/* V2.3: a still panel's dots as the panel's picture (assets/dotdisplay.js toPicture), and no canvas layer under the words */
.dx.dx-pic{background-size:100% 100%;background-repeat:no-repeat}
.dx.dx-pic .dx-cv{display:none}
.dx-quiet::before{opacity:1!important}
.dx-pause{position:absolute;z-index:4;right:16px;bottom:12px;font-family:var(--mono);font-size:11px;color:var(--herosub);background:transparent;border:1px solid var(--line-ink);border-radius:14px;padding:0 12px;cursor:pointer;min-height:30px}
.dx-pause::before{content:"";position:absolute;inset:-7px -2px}   /* a 44 px target around the small pill */
@media(hover:hover){.dx-pause:hover{color:var(--acc-ink);border-color:var(--acc-ink)}}
.dx-pause:focus-visible{outline:2px solid var(--acc-ink);outline-offset:3px}
.dx-pause[hidden]{display:none}
/* a phone (2 Nov 2026): "Pause motion" at the top corner of the panel, clear of the bottom bar (on 6 pages it sat at
   the foot of the first screen, under the bar); the panel's words start lower to leave it room. Its target stays 44 px */
@media(max-width:600px){.dx{border-radius:20px}.dx-pause{top:10px;right:12px;bottom:auto;min-height:30px;border-radius:15px;padding:0 12px}
  [dir="rtl"] .dx-pause{right:auto;left:12px}
  .dx.dx > .dx-in{padding-top:52px}}

/* the dot headline: the site's dot letters; once the canvas runs it draws the same dots on the panel's grid */
.dx-head{margin:0;line-height:0;color:var(--paper)}
.dx-hv{display:block;width:min(100%,calc(var(--cols) * var(--dxp)))}
.dx-hv svg{display:block;width:100%;height:auto;color:var(--paper);overflow:visible}
.dx-hv svg .a{stroke:var(--acc-ink)}
.dx-hv-narrow{display:none}
@media(max-width:600px){.dx-hv-wide{display:none}.dx-hv-narrow{display:block}}
/* V2.5 motion: the headline never blinks. A phone keeps the letters until the panel is a picture (dx-pic); a computer hides
   them from the first paint and the canvas types them (unless the script never starts: then they show after 3 s) */
.dx.live:not(.dx-lite) .dx-hv svg,.dx.dx-pic .dx-hv svg{visibility:hidden}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .js .dx[data-dx]:not(.dx-lite) .dx-hv svg{visibility:hidden}
  .js .dx[data-dx]:not(.live):not(.dx-lite) .dx-hv svg{animation:dx-fs 0s 3s forwards}
}
@keyframes dx-fs{to{visibility:visible}}
.dx-foot{position:relative;z-index:1;max-width:1444px;margin:0 auto;padding:0 clamp(20px,4.2vw,62px) clamp(34px,3.6vw,52px)}
/* the heading on the ink panel, where English has the dot letters */
.dx-arh{color:var(--paper);font-size:clamp(40px,5.4vw,72px);line-height:1.15;margin:0 0 6px}

/* ---------- the page hero (V2.1, 23 Oct 2026; Walid: "the hero page for all the pages other then home should look like the
   hero page for the products"): the dot display panel of the Products page, with the page's dot headline, its words, its
   buttons and, where the page has one, its short film at the side (templates/_macros.html: xhead) ---------- */
.xh-grid{display:grid;gap:26px 56px;grid-template-columns:minmax(0,1fr);align-items:start;align-content:start}
@media(min-width:1000px){.xh-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);min-height:clamp(300px,40vh,460px)}.xh-grid.xh-wf{align-items:center;align-content:center}}
.xh-copy{min-width:0}
.xh-crumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:12.5px;color:var(--herosub);margin:0 0 18px}
.xh-crumbs a{color:var(--herostory);border:0}
.xh-eyebrow{font-size:12.5px;color:var(--herosub);margin:0 0 18px}
.xh-eyebrow a{color:var(--herostory)}
.xh-lead{font-family:var(--serif);font-size:clamp(21px,1.85vw,26px);line-height:1.32;color:var(--paper);max-width:34ch;margin:18px 0 0}
.xh-more{font-size:12.5px;line-height:1.65;color:var(--herostory);max-width:62ch;margin:18px 0 0}
.xh-title{font-family:var(--serif);font-weight:400;font-size:clamp(32px,3.4vw,50px);line-height:1.14;letter-spacing:0;color:var(--paper);max-width:22ch;margin:0}
.xh-copy .btns{margin-top:28px}
.xh-copy .notice{margin-top:18px}
.xh .hh-film{justify-self:end}
.xh .hh-film .film.portrait{box-shadow:none;border-color:#2A2A2A}
.xh .hh-film .caption{color:var(--herosub)}
@media(max-width:999px){.xh .hh-film{justify-self:center;margin-top:6px}}
[dir="rtl"] .xh-lead{font-family:var(--arabic);font-size:clamp(18px,1.7vw,23px);line-height:1.75}
[dir="rtl"] .xh-title{font-family:var(--arabic);font-weight:700;line-height:1.35}
[dir="rtl"] .xh-eyebrow,[dir="rtl"] .xh-crumbs{font-size:13.5px}
[dir="rtl"] .dx-pause{font-family:var(--arabic);letter-spacing:0;font-size:13px}

/* ---------- cards and grids ---------- */
.grid{display:grid;gap:14px}
@media(min-width:720px){.grid.c2{grid-template-columns:1fr 1fr}.grid.c3{grid-template-columns:repeat(3,1fr)}.grid.c4{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.grid.c4{grid-template-columns:repeat(4,1fr)}}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:24px;display:flex;flex-direction:column;gap:10px;transition:box-shadow var(--t),transform var(--t)}
@media(hover:hover){.card:hover{box-shadow:0 0 0 1.5px var(--acc),0 10px 26px rgba(0,0,0,.06);transform:translateY(-2px)}}
.card h3{margin:0}
.card p{margin:0;font-size:13.5px;color:#333}
.card .kick{font-size:12px;letter-spacing:.2px;color:var(--soft);font-weight:600}
[dir="rtl"] .card .kick{letter-spacing:0;text-transform:none;font-size:13px}
.card a.more,.card .more{margin-top:auto;font-size:13px;font-weight:600;border:0;display:inline-flex;min-height:40px;align-items:center}
[dir="rtl"] .card a.more{letter-spacing:0;text-transform:none;font-size:14px}
a.card{border-bottom:1px solid var(--line);color:inherit}
@media(hover:hover){a.card:hover{color:inherit}}
.on-ink .card{background:#141414;border-color:var(--line-ink)} .on-ink .card p{color:var(--herostory)}

/* six systems */
.sys6{display:grid;gap:12px}
@media(min-width:640px){.sys6{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.sys6{grid-template-columns:repeat(3,1fr)}}
.sys6 .card{flex-direction:row;align-items:flex-start;gap:18px}
.sys6 .card svg{flex:none;width:52px;height:52px}
.sys6 .card h3{font-size:22px;margin-bottom:6px}

/* steps */
.steps{counter-reset:s;list-style:none;padding:0;margin:0;max-width:none;display:grid;gap:12px}
@media(min-width:720px){.steps{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.steps{grid-template-columns:repeat(4,1fr)}}
.steps > li{margin:0;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:24px;counter-increment:s;transition:box-shadow var(--t),transform var(--t)}
.steps > li::before{content:counter(s,decimal-leading-zero);display:block;font-family:var(--mono);font-size:30px;font-weight:600;color:#D4D4D4;line-height:1;margin-bottom:14px;transition:color var(--t)}
@media(hover:hover){.steps > li:hover{box-shadow:0 0 0 1.5px var(--acc),0 10px 26px rgba(0,0,0,.06);transform:translateY(-2px)}}
@media(hover:hover){.steps > li:hover::before{color:inherit}}
.steps h3{font-size:22px;margin-bottom:8px}
.steps p{font-size:13.5px;margin:0;color:#333}
.on-ink .steps > li{background:#141414;border-color:var(--line-ink)} .on-ink .steps p{color:var(--herostory)} .on-ink .steps > li::before{color:#3A3A3A}

/* long-form step list (how it works) */
.flow{list-style:none;padding:0;margin:0;max-width:none;counter-reset:f;display:grid;gap:12px}
.flow > li{counter-increment:f;margin:0;display:grid;gap:6px 28px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:clamp(22px,3.4vw,36px)}
@media(min-width:900px){.flow > li{grid-template-columns:120px minmax(0,1fr)}}
.flow > li::before{content:"Step " counter(f);font-family:var(--mono);font-weight:600;font-size:12.5px;line-height:1.6;color:var(--soft)}
[dir="rtl"] .flow > li::before{content:"الخطوة " counter(f);font-family:var(--arabic);font-size:14px}
.flow h3{font-size:clamp(24px,2.4vw,30px);margin-bottom:10px}
.flow p{color:#2A2A2A}
.flow p:last-child{margin-bottom:0}
.flow .docs{list-style:none;padding:0;margin:14px 0 16px;display:grid;gap:10px;max-width:none}
@media(min-width:800px){.flow .docs{grid-template-columns:repeat(3,1fr)}}
.flow .docs li{margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:12px;font-size:13px;color:#333;background:var(--paper)}
.flow .docs b{display:block;font-size:13.5px;margin-bottom:4px;color:var(--ink)}

/* feature block: list left, screenshot right */
.feature{display:grid;gap:28px;align-items:start;margin-top:clamp(28px,4vw,48px)}
@media(min-width:960px){.feature{grid-template-columns:5fr 7fr;gap:48px;align-items:center}}
.acc{list-style:none;padding:0;margin:0;max-width:none}
.acc li{margin:0;padding:14px 0 14px 22px;border-inline-start:2px solid var(--line);cursor:pointer;transition:border-color var(--t)}
[dir="rtl"] .acc li{padding:14px 22px 14px 0}
.acc li h4{font-family:var(--serif);font-weight:400;font-size:23px;margin:0;color:var(--ink);transition:color var(--t)}
.acc li p{margin:8px 0 0;font-size:13.5px;color:#333;display:none}
.acc li.on{border-color:var(--acc)} .acc li.on h4{color:var(--ink)} .acc li.on p{display:block}
@media(hover:hover){.acc li:hover h4{text-decoration:underline;text-decoration-color:var(--acc);text-underline-offset:5px}}
.feature .shots{position:relative}
.feature .shots .frame{display:none}
.feature .shots .frame.on{display:block;animation:fadein .35s ease}
@keyframes fadein{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.frame{margin:0;background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.08)}
.frame img{display:block;width:100%;height:auto}
.caption{font-size:12px;color:var(--soft);margin-top:12px}
.on-ink .caption{color:var(--herosub)}

/* stakeholder pack */
.pack{display:grid;gap:16px}
@media(min-width:800px){.pack{grid-template-columns:repeat(3,1fr)}}
.pack figure{margin:0;background:#141414;border:1px solid var(--line-ink);border-radius:var(--r);padding:16px;transition:box-shadow var(--t),transform var(--t)}
@media(hover:hover){.pack figure:hover{box-shadow:0 0 0 1.5px var(--acc-ink);transform:translateY(-2px)}}
.pack .phoneshot{border-radius:14px;overflow:hidden;max-height:400px;background:#fff}
.pack .phoneshot img{display:block;width:100%;height:auto}
.pack figcaption{margin-top:14px}
.pack figcaption b{display:block;font-family:var(--serif);font-weight:400;font-size:23px;margin-bottom:4px;color:var(--paper)}
.pack figcaption span{font-size:13px;color:var(--herostory)}
.pack-note{margin:22px 0 0;font-size:13px;color:var(--herosub);max-width:70ch}

/* who we help */
.doors .card h3{font-size:25px}
.doors .card .line{font-family:var(--serif);font-size:19px;line-height:1.3;color:var(--ink)}

/* tiers and the AED 0 callout */
.tiers{display:grid;gap:14px}
@media(min-width:900px){.tiers{grid-template-columns:repeat(3,1fr)}}
.tier{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:26px;transition:box-shadow var(--t),transform var(--t);display:flex;flex-direction:column;gap:8px}
@media(hover:hover){.tier:hover{box-shadow:0 0 0 1.5px var(--acc),0 10px 26px rgba(0,0,0,.06);transform:translateY(-2px)}}
.tier .kick{font-size:12px;color:var(--soft)}
.tier h3{font-size:30px;margin:0}
.tier p{font-size:13.5px;color:#333;margin:0}
.tier dl{margin:14px 0 0;display:grid;grid-template-columns:1fr auto;gap:10px 14px;font-size:13.5px;border-top:1px dashed var(--line);padding-top:14px}
.tier dt{color:var(--soft)} .tier dt small{display:block;font-size:11.5px}
.tier dd{margin:0;font-weight:600;text-align:end;white-space:nowrap}
.callout{margin-top:14px;display:grid;gap:10px 28px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:22px 26px}
@media(min-width:800px){.callout{grid-template-columns:auto minmax(0,1fr) auto}}
.callout .zero{font-family:var(--mono);font-weight:700;font-size:26px;color:var(--acc);white-space:nowrap}
.callout p{margin:0;font-size:14px;color:#333}

/* what goes where */
.devices{display:grid;gap:12px;grid-template-columns:repeat(2,1fr)}
@media(min-width:760px){.devices{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1100px){.devices{grid-template-columns:repeat(5,1fr)}}
.device{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px;transition:box-shadow var(--t),transform var(--t)}
@media(hover:hover){.device:hover{box-shadow:0 0 0 1.5px var(--acc),0 10px 26px rgba(0,0,0,.06);transform:translateY(-2px)}}
.device svg{display:block;width:52px;height:52px;margin-bottom:12px}
.device b{display:block;font-size:13.5px;margin-bottom:2px}
.device i{display:block;font-style:normal;font-size:12px;color:var(--soft);margin-bottom:8px;line-height:1.45}
[dir="rtl"] .device i{letter-spacing:0;text-transform:none;font-size:12.5px}
.device p{margin:0;font-size:12.5px;color:var(--soft);line-height:1.6}

/* how we work: the habits we gave up */
.rules{list-style:none;padding:0;margin:0;max-width:none;display:grid;gap:0 44px}
@media(min-width:800px){.rules{grid-template-columns:1fr 1fr}}
.rules li{margin:0;padding:20px 0;border-top:1px solid var(--line-ink)}
.rules strong{display:block;margin-bottom:6px;font-family:var(--serif);font-weight:400;font-size:24px;line-height:1.2;color:var(--paper)}
[dir="rtl"] .rules strong{font-family:var(--arabic);font-weight:700;font-size:20px}
.rules p{margin:0;font-size:13.5px;color:var(--herostory)}

/* what's new rail */
.rail{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.rail > *{flex:0 0 min(340px,82vw);scroll-snap-align:start}
.ncard{background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow var(--t),transform var(--t)}
@media(hover:hover){.ncard:hover{box-shadow:0 0 0 1.5px var(--acc),0 10px 26px rgba(0,0,0,.06);transform:translateY(-2px)}}
.ncard .body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:10px;flex:1}
.ncard h3{font-size:22px;line-height:1.2;margin:0}
.ncard h3 a{border:0}
.ncard h3 a::after{content:"";position:absolute;inset:0}
.ncard{position:relative}
.ncard p{margin:0;font-size:13px;color:var(--soft)}
.ncard .src{margin-top:auto;font-size:11px;color:var(--soft);padding-top:8px}
.tag{display:inline-block;font-size:11.5px;padding:3px 10px;border-radius:12px;background:#EDEDED;color:#3A3A3A;align-self:flex-start;font-weight:600}
.tag.news{background:#EDEDED;color:var(--ink)} .tag.doctrine{background:#EDEDED;color:#4A4A4A}
[dir="rtl"] .tag{letter-spacing:0;text-transform:none;font-size:12px}

/* closing call to action */
.cta .wrap{display:grid;gap:18px 40px}
@media(min-width:900px){.cta .wrap{grid-template-columns:minmax(0,1fr) auto;align-items:end}}
.cta .lead{max-width:34ch;margin:0}
.cta .btns{margin-top:0}

/* articles */
.pcard{background:var(--card);border:1px solid var(--line);border-radius:var(--rp);padding:clamp(24px,5vw,60px)}
.prose > *{max-width:var(--measure)}
.prose h2{font-size:clamp(26px,2.6vw,33px);margin-top:44px}
.prose h3{margin-top:30px}
.prose p,.prose li{font-size:15.5px;line-height:1.8;color:#1E1E1E}
.prose ol > li,.prose ul > li{margin-bottom:10px}
.prose figure{margin:30px 0;max-width:none;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.prose figure svg{display:block}
.prose a{border-color:var(--acc)}
.prose blockquote{margin:24px 0;padding-inline-start:20px;border-inline-start:2px solid var(--acc);font-family:var(--serif);font-size:22px;line-height:1.4}
.articlewrap{display:grid;gap:28px}
@media(min-width:1100px){.articlewrap{grid-template-columns:minmax(0,1fr) 300px;align-items:start}}
.aside{position:sticky;top:20px;display:grid;gap:12px}
.aside .card{padding:20px}
.aside .card h4{margin:0 0 6px}
.srcbox{border:1px solid var(--line);border-radius:12px;padding:14px 18px;font-size:13px;background:var(--paper);margin:0 0 26px}
.srcbox b{display:block;font-size:12px;color:var(--soft);margin-bottom:4px}
.artlist{list-style:none;padding:0;margin:0;max-width:none;display:grid;gap:12px}
@media(min-width:900px){.artlist.two{grid-template-columns:1fr 1fr}}
.artlist li{margin:0}
.artlist a.card h3{font-size:24px}
.artlist .meta{font-size:11.5px;color:var(--soft);letter-spacing:.4px;margin-top:auto}

/* contact, key-value, forms */
.contactgrid{display:grid;gap:14px}
@media(min-width:900px){.contactgrid{grid-template-columns:1fr 1fr}}
.contactgrid .card{padding:clamp(24px,3.4vw,36px);gap:12px}
.check{list-style:none;padding:0;margin:4px 0 0;max-width:none}
.check li{position:relative;padding-inline-start:24px;margin-bottom:10px;font-size:14px}
.check li::before{content:"";position:absolute;inset-inline-start:2px;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--acc)}
.kv{display:grid;grid-template-columns:auto 1fr;gap:8px 20px;font-size:14px;max-width:var(--measure);margin:0}
.kv dt{color:var(--soft)} .kv dd{margin:0}
.textcard{background:var(--card);border:1px solid var(--line);border-radius:var(--rp);padding:clamp(24px,5vw,60px)}
.textcard > *{max-width:var(--measure)}
.textcard h2{font-size:clamp(24px,2.4vw,30px);margin-top:36px}
.textcard h2:first-child{margin-top:0}
.form{display:grid;gap:14px}
.form label{display:block;font-size:12.5px;color:var(--soft);margin-bottom:6px}
[dir="rtl"] .form label{letter-spacing:0;text-transform:none;font-size:13.5px}
.form input,.form select,.form textarea{width:100%;font-family:var(--mono);font-size:15px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);transition:border-color var(--t)}
[dir="rtl"] .form input,[dir="rtl"] .form select,[dir="rtl"] .form textarea{font-family:var(--arabic)}
.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:var(--acc);box-shadow:0 0 0 3px rgba(232,73,15,.14)}
.form .row{display:grid;gap:14px}
@media(min-width:600px){.form .row{grid-template-columns:1fr 1fr}}
.form .hp{position:absolute;left:-9999px;top:-9999px}
.form .msg{font-size:13.5px;padding:12px 16px;border-radius:10px;border:1px solid var(--line);display:none}
.form .msg.ok{display:block;border-color:var(--acc);color:var(--ink)}
.form .msg.err{display:block;border-color:#B00020;color:#B00020}

/* footer */
footer{padding:20px 0 40px}
footer > .wrap{background:var(--ink);color:var(--paper);border-radius:var(--rp);padding:clamp(30px,5vw,56px) clamp(22px,5vw,60px);max-width:calc(var(--wrap) - 2*var(--gutter));position:relative;overflow:hidden}
footer .cols{display:grid;gap:30px}
@media(min-width:800px){footer .cols{grid-template-columns:2fr 1fr 1fr 1fr}}
footer ul{list-style:none;padding:0;margin:0;max-width:none}
footer li{margin:0 0 9px;font-size:13.5px}
footer a{border-color:var(--line-ink)} @media(hover:hover){footer a:hover{color:var(--acc-ink);border-color:var(--acc-ink)}}
footer .about p{color:var(--herostory);font-size:13.5px;max-width:40ch;margin:16px 0 18px}
footer .reach{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px}
footer .legal{margin-top:30px;padding-top:18px;border-top:1px solid var(--line-ink);font-size:11.5px;color:var(--herosub);max-width:none;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 20px}
footer .legal p{max-width:none;margin:0}

/* ==================== hero: the villa, taken apart ==================== */
.hero4{padding-block:4px 20px}
.hero4.on-ink > .wrap{display:block;overflow:clip;max-width:none;margin:0 clamp(8px,1vw,14px);padding:clamp(28px,4.2vw,58px) clamp(20px,4.2vw,62px) clamp(26px,3vw,40px)}
.hero4 .h4-track,.hero4 .h4-foot{max-width:1320px;margin:0 auto}
.hero4 .h4-stage{position:relative;display:grid;gap:20px 30px}
.hero4 .h4-copy{position:relative;z-index:2}
.hero4 h1.dh{--cw:clamp(22px,3.3vw,50px);margin-bottom:22px}
.hero4 .h4-lead{font-family:var(--serif);font-size:clamp(20px,1.9vw,27px);line-height:1.34;color:var(--paper);max-width:31ch;margin:0 0 16px}
.hero4 .h4-sub{color:var(--herostory);max-width:56ch;font-size:13.5px;line-height:1.75;margin:0}
.hero4 .btns{margin-top:24px}
.hero4 .h4-scene{position:relative}
.hero4 .h4-fit{position:relative;height:clamp(300px,92vw,460px);perspective:2600px;perspective-origin:50% 30%}
.hero4 .h4-stack{position:absolute;left:50%;top:50%;width:660px;height:480px;margin:-240px 0 0 -330px;transform-style:preserve-3d;transform:scale(.5) rotateX(56deg) rotateZ(-38deg);will-change:transform}
.hero4.h4-off .h4-stack{display:none}
.hero4 .h4-layer{position:absolute;inset:0;transform-style:flat;transform:translateZ(calc(var(--i) * 40px));transition:opacity .3s ease,visibility 0s;will-change:transform}
.hero4 .h4-layer svg{display:block;width:100%;height:100%;overflow:visible}
.hero4 .h4-layer > svg > rect:first-of-type{transition:stroke .3s ease,fill .3s ease}
.hero4 .h4-layer.hi > svg > rect:first-of-type{stroke:rgba(255,87,5,.85);fill:rgba(255,87,5,.05)}
/* one system at a time: the others step out of the way */
/* hidden for real (visibility as well as opacity): Safari can keep painting a faded 3D layer (9 Oct 2026) */
.hero4 .h4-stack.solo .h4-layer:not(.hi){opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s linear .3s}
.hero4 .h4-leaders{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;display:none}
.hero4 .h4-leaders path{transition:stroke .25s ease,opacity .25s ease}
.hero4 .h4-tags{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;max-width:none}
.hero4 .h4-tags li{margin:0;padding:10px 0 0;border-top:1px solid var(--line-ink);cursor:pointer;transition:color .2s,border-color .2s,opacity .25s;-webkit-tap-highlight-color:transparent}
.hero4 .h4-tags b{display:block;font-size:12.5px;color:var(--paper);font-weight:600}
.hero4 .h4-tags span{display:none;font-size:12px;color:var(--herosub);line-height:1.5}
.hero4 .h4-tags li.hi{border-color:var(--acc-ink)} .hero4 .h4-tags li.hi b{color:var(--acc-ink)}
.hero4 .h4-hint{margin:12px 0 0;font-size:12px;color:var(--herosub);display:block}
/* A phone (Walid, 3 Nov 2026: "start by removing the buttons that pick the system for the animation in the hero"): no system
   names under the villa, and no hint about them; the villa still takes itself apart as before */
@media(max-width:759px){.hero4 .h4-tags,.hero4 .h4-hint{display:none}}
.hero4 .h4-foot{display:grid;gap:4px;margin-top:10px}
.hero4 .h4-cap{font-size:11px;color:#8A8A8A;margin:0;text-align:center;max-width:none}
.hero4 .brands{margin:14px auto 0;padding:20px 0 0;border-top:1px solid var(--line-ink);text-align:center}
.hero4 .brands .eyebrow{margin-bottom:12px}
.hero4 .brands ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 34px;max-width:none}
.hero4 .brands li{margin:0;font-family:var(--serif);font-size:clamp(20px,1.9vw,25px);color:var(--herostory)}
/* Arabic hero */
.hero4 h1.arh{font-size:clamp(32px,4vw,56px);line-height:1.3;color:var(--paper);margin-bottom:20px;max-width:14ch}
[dir="rtl"] .hero4 .h4-lead{font-family:var(--arabic);font-size:clamp(18px,1.7vw,23px);line-height:1.75}
[dir="rtl"] .hero4 .h4-sub{font-family:var(--arabic);font-size:15px}
[dir="rtl"] .hero4 .h4-tags b,[dir="rtl"] .hero4 .h4-hint,[dir="rtl"] .caption,[dir="rtl"] .tier .kick,[dir="rtl"] .frame .bar span,[dir="rtl"] .shead .more{letter-spacing:0;text-transform:none}
[dir="rtl"] .hero4 .h4-tags b{font-size:13px} [dir="rtl"] .hero4 .h4-hint{font-size:13px}
[dir="rtl"] .hero4 .h4-tags span{font-family:var(--arabic);font-size:13.5px}
[dir="rtl"] .hero4 .brands li{font-family:var(--serif)}
[dir="rtl"] .acc li h4,[dir="rtl"] .pack figcaption b,[dir="rtl"] .rules strong,[dir="rtl"] .card h3,[dir="rtl"] .tier h3,[dir="rtl"] .steps h3,[dir="rtl"] .flow h3,[dir="rtl"] .ncard h3{font-family:var(--arabic);font-weight:700}
[dir="rtl"] .acc li h4{font-size:20px} [dir="rtl"] .pack figcaption b{font-size:19px}
@media(max-width:1099px){
  .hero4 h1.arh{order:2;margin-bottom:4px}
  .hero4 .h4-copy{display:contents}
  .hero4 .h4-kicker{order:1;margin-bottom:6px} .hero4 h1.dh{order:2;margin-bottom:4px} .hero4 .h4-lead{order:3;margin-bottom:0} .hero4 .btns{order:4;margin-top:6px}
  .hero4 .h4-scene{order:5} .hero4 .h4-sub{order:6}
}
@media(min-width:1100px){
  .hero4 .h4-stage{grid-template-columns:minmax(0,4.8fr) minmax(0,7.2fr);align-items:center}
  .hero4 .h4-fit{height:clamp(480px,64vh,660px)}
}
/* desktop with JS: the stage pins and scrolling takes the villa apart */
.hero4.h4-desk .h4-track{height:230vh}
.hero4.h4-desk .h4-stage{position:sticky;top:14px;height:calc(100vh - 28px);min-height:620px;align-content:center}
.hero4.h4-desk .h4-scene{height:100%;contain:layout style}
.hero4.h4-desk .h4-fit{position:absolute;inset:0;height:auto}
.hero4.h4-desk .h4-leaders{display:block}
.hero4.h4-desk .h4-tags{display:block;position:absolute;inset:0;margin:0;pointer-events:none}
.hero4.h4-desk .h4-tags li{position:absolute;right:0;top:0;width:210px;border:0;padding:0 0 0 12px;pointer-events:auto;opacity:0;will-change:transform,opacity}
.hero4.h4-desk .h4-tags span{display:block}
.hero4.h4-desk .h4-hint{position:absolute;left:50%;transform:translateX(-50%);bottom:18px;margin:0;opacity:0;transition:opacity .5s ease;white-space:nowrap}
.hero4.h4-desk .h4-hint.show{opacity:1}
/* the build sequence: walls draw, the plan is read, devices land system by system (V2.2: every time at 0.45 of what it was, as site.js) */
.js .hero4 .wall{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .54s cubic-bezier(.6,0,.2,1) calc(var(--d) * 25ms)}
.js .hero4 .rl,.js .hero4 .wx{opacity:0;transition:opacity .27s ease calc(200ms + var(--d) * 20ms)}
.js .hero4 .drawn .wall{stroke-dashoffset:0}
.js .hero4 .drawn .rl,.js .hero4 .drawn .wx{opacity:1}
.hero4 .beam{opacity:0}
.hero4 .scanning .beam{animation:h4beam .6s cubic-bezier(.45,0,.3,1) forwards}
@keyframes h4beam{0%{opacity:1;transform:translateX(0)}88%{opacity:1}100%{opacity:0;transform:translateX(720px)}}
.js .hero4 .h4-layer:not([data-k="plan"]) > svg{opacity:0;transition:opacity .18s ease}
.js .hero4 .h4-layer.on > svg{opacity:1}
.js .hero4 .h4-layer:not([data-k="plan"]) .dv{opacity:0;transform:scale(.25);transform-box:fill-box;transform-origin:center;transition:opacity .18s ease calc(var(--d) * 8ms),transform .23s cubic-bezier(.2,1.6,.35,1) calc(var(--d) * 8ms)}
.js .hero4 .h4-layer.on .dv{opacity:1;transform:none}
.js .hero4 .dl{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .45s ease .09s}
.js .hero4 .h4-layer.on .dl{stroke-dashoffset:0}

/* ==================== motion (site.js adds the classes) ==================== */
.js .reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.js .reveal.in{opacity:1;transform:none}
.js .stagger > *{opacity:0;transform:translateY(12px);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.8,.2,1);transition-delay:calc(var(--d,0) * 60ms)}
.js .stagger.in > *{opacity:1;transform:none}
/* dot headings: the accent dot lights last */
.js .dh.reveal .a{opacity:0;transition:opacity .4s ease .5s}
.js .dh.reveal.in .a{opacity:1}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.15}}
.nav .brand svg circle.blink{animation:blink .9s ease-in-out 1 .3s}
.film{position:relative;aspect-ratio:16/9;border-radius:22px;overflow:hidden;background:#111;border:1px solid var(--line-ink)}
.film video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
/* the info film is vertical (1080x1920): a phone-shaped frame, centred (13 Oct 2026) */
.film.portrait{aspect-ratio:9/16;width:min(380px,100%);margin-inline:auto;border-radius:28px}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .js .reveal,.js .stagger > *{opacity:1!important;transform:none!important}
  .js .hero4 .wall,.js .hero4 .dl{stroke-dashoffset:0} .js .hero4 .rl,.js .hero4 .wx,.js .hero4 .dv,.js .hero4 .h4-layer > svg{opacity:1;transform:none}
}
@media print{.nav,footer .cols,.btns,.hero4 .h4-scene{display:none}body{background-image:none}}

/* ==================== v2 (2026-10-06): fewer template habits, new pages ==================== */
.preview-bar{background:#141414;color:#CFCFCF;font-size:12px;text-align:center;padding:7px 16px;line-height:1.5}
.preview-bar b{color:var(--acc-ink);font-weight:600}
.nav a.cta.ghost{background:transparent;color:var(--ink);border-color:#BDBDBD}
@media(hover:hover){.nav a.cta.ghost:hover{border-color:var(--acc);color:var(--ink);background:transparent}}
.nav ul.desk{gap:4px 16px}
.btn.ghost{border-color:transparent;padding:0 10px}
@media(hover:hover){.btn.ghost:hover{border-color:transparent;color:inherit;text-decoration:underline;text-decoration-color:var(--acc);text-underline-offset:5px}}
.on-ink .btn.ghost{border-color:transparent}
.notice{border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:12.5px;line-height:1.6;max-width:62ch;margin:16px 0 0;color:#333}
.notice.draft{border:1px dashed var(--acc);color:var(--ink);background:rgba(232,73,15,.04)}
.on-ink .notice{color:var(--herostory);border-color:var(--line-ink)}
.on-ink .notice.draft{border-color:var(--acc-ink);color:var(--paper);background:rgba(255,87,5,.06)}

/* hero tweaks: a plain kicker line, the brand row label, labels visible from the start */
.hero4 .h4-kicker{font-size:12.5px;color:var(--herosub);margin:0 0 18px;max-width:none}
.hero4 .brands .brands-h{font-size:12px;color:var(--herosub);margin:0 0 12px;max-width:none}
.hero4.h4-desk .h4-tags li{opacity:1}
.hero4 .h4-tags li:focus-visible b{color:var(--acc-ink)}@media(hover:hover){.hero4 .h4-tags li:hover b{color:var(--acc-ink)}}
.hero4 .h4-layer .dv{cursor:pointer}

/* section heads: three shapes, used in turn so the page doesn't repeat itself */
.shead.stack{display:block;max-width:760px}
.shead.stack .lead{max-width:46ch}
.shead.split{display:grid;gap:8px 48px}
@media(min-width:960px){.shead.split{grid-template-columns:minmax(0,6fr) minmax(0,6fr);align-items:end}.shead.split .lead{margin-bottom:6px}}
.shead.split .more{margin-top:2px}
a.more{border:0;font-size:13px;font-weight:600;display:inline-flex;align-items:center;min-height:40px}

/* six systems as a quiet list, not a wall of cards */
.syslist{list-style:none;padding:0;margin:8px 0 0;max-width:none;display:grid;gap:0 40px}
@media(min-width:720px){.syslist{grid-template-columns:1fr 1fr}}
@media(min-width:1040px){.syslist{grid-template-columns:repeat(3,1fr)}}
.syslist li{margin:0;display:flex;gap:16px;align-items:flex-start;padding:20px 0;border-top:1px solid var(--line)}
.syslist svg{flex:none;width:40px;height:40px}
.syslist h3{font-size:22px;margin:0 0 6px}
.syslist p{margin:0;font-size:13.5px;color:#333}
.syslist p.moves{margin-top:10px;font-size:12.5px;color:var(--soft)}
.syslist .moves b{display:block;font-size:10.5px;letter-spacing:1px;text-transform:uppercase;font-weight:600;color:var(--ink);margin-bottom:2px}
[dir="rtl"] .syslist .moves b{letter-spacing:0;text-transform:none;font-size:12.5px}

/* plans in, bill out: the steps sit beside the screenshots */
.feature{margin-top:0}
.feature-copy .lead{max-width:30ch}
ol.acc{counter-reset:a;margin-top:18px}
ol.acc li{counter-increment:a;position:relative}
ol.acc li h4::before{content:counter(a) ".";font-family:var(--mono);font-size:14px;color:var(--soft);margin-inline-end:10px;vertical-align:.18em}
.acc li.on h4::before{color:var(--acc)}
.feature-after{font-size:13.5px;color:#333;margin-top:18px;max-width:52ch}
.feature-after a{font-weight:600}

/* products teaser */
.famgrid{display:grid;gap:14px;grid-template-columns:repeat(2,1fr)}
@media(min-width:1000px){.famgrid{grid-template-columns:repeat(3,1fr)}} /* six categories: two rows of three (15 Oct 2026) */
.famcard{display:flex;flex-direction:column;gap:6px;border:0;color:inherit}
.famcard .famimg{display:block;border-radius:16px;overflow:hidden;aspect-ratio:4/5;background:#e9e6e0;transition:transform var(--t),box-shadow var(--t)}
.famcard .famimg img{display:block;width:100%;height:100%;object-fit:cover}
@media(hover:hover){.famcard:hover{color:inherit}}
@media(hover:hover){.famcard:hover .famimg{transform:translateY(-2px);box-shadow:0 0 0 1.5px var(--acc),0 10px 26px rgba(0,0,0,.08)}}
.famcard b{font-family:var(--serif);font-weight:400;font-size:22px;line-height:1.2;margin-top:8px}
.famcard span:not(.famimg){font-size:13px;color:var(--soft)}

/* start band + the question preview */
.startband{display:grid;gap:26px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:var(--rp);padding:clamp(24px,4.6vw,56px)}
@media(min-width:960px){.startband{grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:56px}}
.startband .lead{max-width:34ch}
.qpreview{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:22px}
.qpreview p{margin:0}
.qp-room{font-size:12px;color:var(--soft)}
.qp-q{font-family:var(--mono);font-weight:700;font-size:17px;line-height:1.4;margin:6px 0 14px!important}
.qpreview ul{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-wrap:wrap;gap:8px;max-width:none}
.qpreview li{margin:0;border:1px solid var(--line);border-radius:20px;padding:7px 14px;font-size:13px;background:var(--card)}
.qpreview li.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.qpreview li em{font-style:normal;font-size:11px;color:var(--soft);margin-inline-start:6px}
.qpreview li.on em{color:#A3A3A3}
.qp-dots{display:flex;gap:7px;margin:0}
.qp-dots i{width:9px;height:9px;border-radius:50%;background:#D2D2D2;display:block}
.qp-dots i.on{background:var(--acc);box-shadow:0 0 0 4px rgba(232,73,15,.16)}

/* doors as an editorial list */
.doorlist{list-style:none;padding:0;margin:0;max-width:none;border-top:1px solid var(--line)}
.doorlist li{margin:0;border-bottom:1px solid var(--line)}
.doorlist a{display:grid;gap:4px 32px;padding:20px 4px;border:0;color:inherit;align-items:baseline;position:relative;padding-inline-end:36px}
@media(min-width:800px){.doorlist a{grid-template-columns:minmax(0,4fr) minmax(0,8fr)}}
.doorlist a::after{content:"→";position:absolute;inset-inline-end:6px;top:22px;color:var(--soft);transition:transform var(--t),color var(--t)}
[dir="rtl"] .doorlist a::after{content:"←"}
@media(hover:hover){.doorlist a:hover{color:inherit}}@media(hover:hover){.doorlist a:hover b{text-decoration:underline;text-decoration-color:var(--acc);text-underline-offset:5px}}@media(hover:hover){.doorlist a:hover::after{color:inherit;transform:translateX(4px)}}
.doorlist b{font-family:var(--serif);font-weight:400;font-size:clamp(23px,2.2vw,28px);line-height:1.2;transition:color var(--t)}
.doorlist span{font-size:14px;color:#333}
.tiers .tier h3{font-size:30px}

/* the map */
.mapband{display:grid;gap:28px;align-items:center}
@media(min-width:980px){.mapband{grid-template-columns:minmax(0,4.2fr) minmax(0,7.8fr);gap:48px}}
.map-copy .lead{max-width:32ch}
.maplegend{list-style:none;padding:0;margin:18px 0 0;max-width:260px}
.maplegend li{display:flex;justify-content:space-between;gap:20px;margin:0;padding:8px 0;border-top:1px solid var(--line-ink);font-size:13.5px}
.maplegend b{font-weight:600}
.map-art{position:relative}
.uaemap{display:block;width:100%;height:auto}
.uaemap .m-borders polyline{stroke:#262626;stroke-width:1;fill:none}
.uaemap .m-dots circle:not(.w){fill:#3A3A3A}
.uaemap .m-labels text{fill:#8A8A8A;font-family:var(--mono);font-size:11px;paint-order:stroke;stroke:#0A0A0A;stroke-width:4px;stroke-linejoin:round}
.uaemap .m-hits circle{fill:transparent;cursor:pointer;outline:none}
.uaemap .m-hits circle:focus-visible{stroke:var(--acc-ink);stroke-width:1.5}
.map-tip{position:absolute;margin:0;pointer-events:none;background:var(--paper);color:var(--ink);font-size:12.5px;line-height:1.45;padding:8px 12px;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.25);opacity:0;transform:translate(-50%,-120%);transition:opacity .15s ease;white-space:nowrap;max-width:none}
.map-tip.show{opacity:1}
.map-tip b{display:block;font-weight:600}
.mapband.light .maplegend li{border-color:var(--line)}
.mapband.light .uaemap .m-borders polyline{stroke:#D9D9D9}
.mapband.light .uaemap .m-dots circle:not(.w){fill:#CDCDCD}
.mapband.light .uaemap .m-labels text{fill:#6A6A6A;stroke:var(--paper)}
.mapband.light .map-tip{background:var(--ink);color:var(--paper)}

/* film + closing */
#film .caption,#takeoff .caption{margin-top:14px}
.closing .closing-in{text-align:center;padding:clamp(36px,6vw,80px) 0 clamp(18px,3vw,30px);display:flex;flex-direction:column;align-items:center}
.closing .dh{margin-inline:auto}
.closing .lead{margin-inline:auto;max-width:36ch;text-align:center}
.closing .btns{justify-content:center}

/* ==================== products ==================== */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.chip{font-family:var(--mono);font-size:13px;border:1px solid #CFCFCF;background:var(--card);color:var(--ink);border-radius:20px;min-height:40px;padding:0 16px;cursor:pointer;transition:border-color var(--t),background var(--t),color var(--t)}
@media(hover:hover){.chip:hover{border-color:var(--ink)}}
.chip.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.pfam{padding-block:clamp(18px,3vw,34px)}
.pfam[hidden]{display:none}
.pfam-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 22px;border-top:1px solid var(--line);padding-top:18px;margin-bottom:18px}
.pfam-head h2{font-size:clamp(26px,2.6vw,34px);margin:0}
.pfam-head p{margin:0;color:var(--soft);font-size:14px}
.pgrid{list-style:none;padding:0;margin:0;max-width:none;display:grid;gap:22px 16px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:900px){.pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1180px){.pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.pcardx{margin:0;display:flex;flex-direction:column;gap:10px}
.pimg{display:block;border:0;border-radius:16px;overflow:hidden;aspect-ratio:4/5;background:#e9e6e0;transition:transform var(--t),box-shadow var(--t)}
@media(hover:hover){.pimg:hover{transform:translateY(-2px);box-shadow:0 0 0 1.5px var(--acc),0 12px 28px rgba(0,0,0,.1)}}
.pimg img{display:block;width:100%;height:100%;object-fit:cover}
.pmeta h3{font-size:22px;margin:0 0 4px}
.pmeta h3 a{border:0}
.pmeta p{margin:0 0 10px;font-size:13px;color:var(--soft);line-height:1.55}
.swatches{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.sw{width:20px;height:20px;border-radius:50%;border:1px solid rgba(0,0,0,.18);background:var(--sw);padding:0;cursor:pointer;transition:box-shadow var(--t)}
.sw.on{box-shadow:0 0 0 2px var(--paper),0 0 0 3.5px var(--ink)}
.swname{font-size:12px;color:var(--soft);margin-inline-start:2px}
.swatches.big .sw{width:34px;height:34px}
.samplesband{display:grid;gap:22px 56px;background:var(--card);border:1px solid var(--line);border-radius:var(--rp);padding:clamp(24px,4.6vw,56px)}
@media(min-width:960px){.samplesband{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}}
.kv2{margin:0;display:grid;gap:0}
.kv2 > div{padding:16px 0;border-top:1px solid var(--line)}
.kv2 > div:first-child{border-top:0;padding-top:0}
.kv2 dt{font-weight:600;margin-bottom:4px}
.kv2 dd{margin:0;font-size:14px;color:#333}

/* product page */
.pdetail > .wrap{padding-top:clamp(18px,3vw,34px)}
.crumbs{font-size:12.5px;color:var(--soft);margin:0 0 18px;display:flex;gap:10px}
.crumbs a{border:0;color:var(--soft)} @media(hover:hover){.crumbs a:hover{color:inherit;text-decoration:underline;text-decoration-color:var(--acc)}}
.pd-grid{display:grid;gap:30px}
@media(min-width:1000px){.pd-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:52px;align-items:start}}
.pd-tabs{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:22px;background:var(--card);margin-bottom:12px}
.pd-tabs button{font-family:var(--mono);font-size:13px;border:0;background:transparent;border-radius:18px;min-height:36px;padding:0 16px;cursor:pointer;color:#3A3A3A}
.pd-tabs button.on{background:var(--ink);color:var(--paper)}
.pd-view[hidden]{display:none}
.p3d{position:relative;aspect-ratio:4/3;border-radius:20px;overflow:hidden;background:#e7e1d7;touch-action:pan-y}
.p3d canvas{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;cursor:grab}
.p3d canvas:active{cursor:grabbing}
.p3d .p3d-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.p3d .p3d-fallback[hidden]{display:none}
.p3d.live .p3d-fallback{display:none}
.pd-hint{font-size:12px;color:var(--soft);margin:10px 0 0}
.pd-room{margin:0}
.pd-room[hidden]{display:none}
.pd-room img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:20px}
.pd-room figcaption{font-size:12px;color:var(--soft);margin-top:10px;max-width:60ch}
.pd-info h1{font-size:clamp(34px,3.6vw,48px);margin:0 0 4px}
.pd-brand{font-size:12.5px;color:var(--soft);margin:0 0 18px}
.pd-line{font-family:var(--serif);font-size:clamp(20px,1.9vw,25px);line-height:1.3;margin:0 0 12px;max-width:30ch}
.pd-about{font-size:14px;color:#333}
.picker{margin:22px 0 0}
.picker-h{font-size:12.5px;color:var(--soft);margin:0 0 10px}
.picker-h span{color:var(--ink);font-weight:600;margin-inline-start:8px}
.opts{display:flex;flex-wrap:wrap;gap:8px}
.opt{font-family:var(--mono);font-size:14px;min-width:48px;min-height:44px;padding:0 12px;border:1px solid #CFCFCF;border-radius:10px;background:var(--card);cursor:pointer;color:var(--ink);transition:border-color var(--t),background var(--t),color var(--t)}
@media(hover:hover){.opt:hover{border-color:var(--ink)}}
.opt.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.pd-info .btns{margin-top:28px}
.pd-note{font-size:12.5px;color:var(--soft);margin:14px 0 0}
.pd-more .pd-cols{display:grid;gap:24px 56px;border-top:1px solid var(--line);padding-top:26px}
@media(min-width:900px){.pd-more .pd-cols{grid-template-columns:1fr 1fr}}
.pd-more h2,.pd-related h2{font-size:clamp(24px,2.2vw,30px)}
.pd-related .pgrid.small{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:900px){.pd-related .pgrid.small{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* sample request dialog */
.sample-dlg{border:0;padding:0;border-radius:22px;max-width:min(560px,calc(100vw - 24px));width:100%;background:var(--card);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.35)}
.sample-dlg::backdrop{background:rgba(10,10,10,.55)}
.sample-dlg form{padding:clamp(20px,4vw,32px)}
.sd-head{display:flex;justify-content:space-between;align-items:center;gap:16px}
.sd-head h2{margin:0;font-size:28px}
.sd-x{border:0;background:transparent;font-size:26px;line-height:1;cursor:pointer;min-width:44px;min-height:44px;color:var(--soft)}
@media(hover:hover){.sd-x:hover{color:inherit;border-color:var(--acc)}}
.sd-what{margin:6px 0 16px;font-size:13.5px;color:#333}
.seg{display:flex;gap:6px;border:0;padding:4px;margin:0 0 10px;background:var(--paper);border-radius:22px;flex-wrap:wrap}
.seg label{display:block;margin:0;flex:1 1 auto;text-transform:none;letter-spacing:0;font-size:13px;color:var(--ink)}
.seg input{position:absolute;opacity:0;pointer-events:none}
.seg span{display:flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:18px;cursor:pointer;text-align:center}
.seg input:checked + span{background:var(--ink);color:var(--paper)}
.seg input:focus-visible + span{outline:2px solid var(--acc);outline-offset:2px}
.sd-terms{font-size:13px;color:#333;margin:0 0 6px}
.sd-terms[hidden]{display:none}
.sd-preview{margin-top:4px}

/* ==================== lists ==================== */
ol.plain{list-style:none;counter-reset:p;padding:0;margin:0 0 14px;max-width:none}
ol.plain li{counter-increment:p;position:relative;padding-inline-start:28px;margin-bottom:12px;font-size:14px;color:#333}
ol.plain li::before{content:counter(p);position:absolute;inset-inline-start:0;top:0;font-weight:600;color:var(--soft)}
.contactgrid ol.plain li{font-size:13.5px}

/* how it works: the device list */
.devlist{list-style:none;padding:0;margin:0;max-width:none;display:grid;gap:0 40px}
@media(min-width:800px){.devlist{grid-template-columns:1fr 1fr}}
.devlist li{margin:0;display:flex;gap:16px;padding:16px 0;border-top:1px solid var(--line)}
.devlist svg{flex:none;width:40px;height:40px}
.devlist b{display:block;font-size:14px}
.devlist i{display:block;font-style:normal;font-size:12.5px;color:var(--soft);margin:2px 0 6px}
.devlist p{margin:0;font-size:13.5px;color:#333}
@media(prefers-reduced-motion:reduce){@media(hover:hover){.pimg:hover,.famcard:hover .famimg{transform:none}}}

/* the drawing answers the pointer through site.js, which works out the layer under the pointer from the
   same projection it draws with (9 Oct 2026). Nothing inside the 3D stack takes pointer events. */
.hero4 .h4-stack,.hero4 .h4-stack *{pointer-events:none}
.hero4 .h4-fit.pick{cursor:pointer}

/* layer names print only once the villa is apart, or for the one system on its own */
.hero4 .h4-layer text.lt{transition:opacity .3s ease}
.hero4 .h4-stack:not(.apart):not(.solo) .h4-layer:not([data-k="plan"]) text.lt{opacity:0}
.pdetail > .wrap{padding-top:clamp(8px,1.6vw,18px)}
.hero4.h4-desk .h4-copy{align-self:start;padding-top:clamp(18px,5vh,64px)}
.hero4 h1.dh{--cw:clamp(22px,3vw,44px)}
.hero4.h4-desk .h4-stage{align-content:stretch;grid-template-rows:minmax(0,1fr)}
/* v2.1 · who-we-help 2+3, designers finish row */
@media(min-width:720px){.grid.doors5{grid-template-columns:repeat(6,1fr)}.grid.doors5 > :nth-child(-n+2){grid-column:span 3}.grid.doors5 > :nth-child(n+3){grid-column:span 2}}
.finrow{list-style:none;padding:0;margin:0;max-width:none;display:grid;gap:18px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:999px){.finrow li:last-child:nth-child(odd){grid-column:span 2}}
@media(max-width:619px){.finrow b{font-size:17px}.finrow .finimg{border-radius:12px}}
@media(min-width:1000px){.finrow{grid-template-columns:repeat(6,1fr)}.finrow li{grid-column:span 2}
  .finrow li:first-child:nth-last-child(5),.finrow li:first-child:nth-last-child(5) + li,
  .finrow li:first-child:nth-last-child(4),.finrow li:first-child:nth-last-child(4) ~ li,
  .finrow li:first-child:nth-last-child(2),.finrow li:first-child:nth-last-child(2) ~ li{grid-column:span 3}}
.finrow li{margin:0}
.finrow a{display:flex;flex-direction:column;gap:4px;border:0;color:inherit}
.finrow .finimg{display:block;border-radius:16px;overflow:hidden;aspect-ratio:3/2;background:#e9e6e0;transition:transform var(--t),box-shadow var(--t)}
.finrow .finimg img{display:block;width:100%;height:100%;object-fit:cover}
.finrow .finph{background:var(--card);border:1px solid var(--line);padding:8px}
.finrow .finph .famplate img{object-fit:contain}
@media(hover:hover){.finrow a:hover{color:inherit}}
@media(hover:hover){.finrow a:hover .finimg{transform:translateY(-2px);box-shadow:0 0 0 1.5px var(--acc),0 10px 26px rgba(0,0,0,.08)}}
.finrow b{font-family:var(--serif);font-weight:400;font-size:21px;line-height:1.2;margin-top:8px}
.finrow span:not(.finimg){font-size:13px;color:var(--soft)}
.finrow + .notice{margin-top:18px}
/* v2.2 · trade-first hero: the owners' path as a quiet line under the buttons */
.hero4 .h4-owner{margin:14px 0 0;font-size:13px;color:var(--herostory)}
.hero4 .h4-owner a{color:var(--paper);border-bottom:1px solid rgba(244,244,244,.4)}
@media(hover:hover){.hero4 .h4-owner a:hover{color:var(--acc-ink);border-color:var(--acc-ink)}}
@media(max-width:1099px){.hero4 .h4-owner{order:4;margin-top:2px}}
/* who we help: three trade doors in a row, owners across the full width below */
@media(min-width:720px){.grid.doors4{grid-template-columns:repeat(6,1fr)}.grid.doors4 > *{grid-column:span 2}.grid.doors4 > :nth-child(4){grid-column:span 6}}
.grid.doors4 > .card.owner{background:transparent;border-style:dashed}
.kv2.tradegets{margin:18px 0 6px;padding-top:16px;border-top:1px solid var(--line)}
.kv2.tradegets dd{font-size:13px}
/* v2.3 · model page: 3D and wall together; compare two finishes on one wall */
.pd-label{font-size:12.5px;color:var(--soft);margin:0 0 10px}
.pd-view + .pd-view{margin-top:28px}
@media(min-width:1000px){.pd-info{position:sticky;top:24px}}
.pd-brand a{border-bottom:1px solid var(--line);color:inherit}
.cmp-open{margin-top:14px;font-family:var(--mono);font-size:12.5px;font-weight:600;min-height:40px;padding:0 14px;border:1px solid var(--ink);border-radius:20px;background:transparent;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;gap:10px;transition:border-color var(--t),color var(--t)}
.cmp-open::before{content:"";width:24px;height:12px;border-radius:6px;border:1px solid rgba(0,0,0,.2);background:linear-gradient(90deg,#B4925A 0 50%,#B9BBBD 50% 100%)}
@media(hover:hover){.cmp-open:hover{border-color:var(--acc);color:var(--ink)}}
.cmp-dlg{border:0;padding:0;border-radius:22px;width:min(1180px,calc(100vw - 24px));max-width:none;max-height:calc(100vh - 24px);background:var(--card);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.35);overflow:auto}
.cmp-dlg::backdrop{background:rgba(10,10,10,.6)}
.cmp-in{padding:clamp(18px,3vw,30px)}
.cmp-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.cmp-head h2{font-family:var(--serif);font-weight:400;font-size:clamp(26px,3vw,36px);line-height:1.15;margin:0 0 6px}
.cmp-sub{font-size:13px;color:var(--soft);margin:0;max-width:72ch}
.cmp-walls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:18px 0 16px}
.cmp-walls[hidden]{display:none}
.cmp-walls-h{font-size:12.5px;color:var(--soft);margin-inline-end:4px}
.wallchip{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:12.5px;min-height:38px;padding:0 12px;border:1px solid #CFCFCF;border-radius:20px;background:var(--card);cursor:pointer;color:var(--ink)}
.wallchip i{width:16px;height:16px;border-radius:50%;background:var(--wl);border:1px solid rgba(0,0,0,.15)}
.wallchip.on{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.cmp-panes{display:grid;gap:18px}
@media(min-width:760px){.cmp-panes{grid-template-columns:1fr 1fr}}
.cmp-pick{margin-top:12px}
.cmp-foot{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;justify-content:space-between;margin-top:18px;border-top:1px solid var(--line);padding-top:16px}
.cmp-sync{font-size:13px;display:inline-flex;gap:8px;align-items:center;cursor:pointer}
.cmp-sync[hidden]{display:none}
/* v2.3 · products by brand */
.brandgrid{list-style:none;padding:0;margin:0;max-width:none;display:grid;gap:16px;grid-template-columns:1fr}
@media(min-width:720px){.brandgrid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.brandgrid{grid-template-columns:repeat(3,1fr)}}
.brandgrid li{margin:0}
.brandcard{display:flex;flex-direction:column;gap:10px;height:100%;background:var(--card);border:1px solid var(--line);border-radius:var(--rp);padding:clamp(20px,2.6vw,30px);color:inherit;transition:box-shadow var(--t),transform var(--t)}
@media(hover:hover){.brandcard:hover{color:inherit;box-shadow:0 0 0 1.5px var(--acc),0 10px 26px rgba(0,0,0,.07);transform:translateY(-2px)}}
.bc-name{font-family:var(--serif);font-size:clamp(30px,3vw,40px);line-height:1.05}
.bc-line{font-size:13.5px;color:#333;max-width:40ch}
.bc-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:6px}
.bc-thumbs img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:10px;background:#e9e6e0}
.bc-count{margin-top:auto;padding-top:8px;font-size:12.5px;font-weight:600}
.bytype{padding-bottom:0}
.bytype .chips{margin-top:14px}
.pfam-h{font-family:var(--serif);font-weight:400;font-size:clamp(24px,2.4vw,30px);margin:0}
.pbrand{font-size:12px;color:var(--soft);margin:0 0 2px}
.otherbrands .pfam-head a{border-bottom:1px solid var(--line)}
/* the by-type list under the brands: smaller cards, more per row */
.pgrid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:720px){.pgrid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1040px){.pgrid.compact{grid-template-columns:repeat(5,minmax(0,1fr))}}
.pgrid.compact .pmeta p:not(.pbrand){display:none}
.pgrid.compact .pmeta h3{font-size:18px}
/* the comparison on a phone: both views side by side, walls in one scrolling row */
@media(max-width:759px){
  .cmp-panes{grid-template-columns:1fr 1fr;gap:10px}
  .cmp-pane .p3d{aspect-ratio:3/4}
  .cmp-walls{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(-1 * clamp(18px,3vw,30px));padding:0 clamp(18px,3vw,30px) 4px;scrollbar-width:none}
  .cmp-walls::-webkit-scrollbar{display:none}
  .wallchip{white-space:nowrap;flex:none}
  .cmp-pick .swatches.big{gap:6px}
  .cmp-pick .swatches.big .sw{width:26px;height:26px}
  .cmp-pick .picker-h span{display:block;margin:2px 0 0}
}
.cmp-walls-h{white-space:nowrap}
/* v2.4 · side by side: each side picks its own device of the category */
.cmp-model-h{display:inline-block;font-size:12px;font-weight:600;color:var(--paper);background:var(--ink);border-radius:6px;padding:1px 8px;margin-bottom:8px}
.cmp-model{display:block;width:100%;font-family:var(--mono);font-size:13.5px;min-height:44px;padding:0 36px 0 12px;border:1px solid #CFCFCF;border-radius:10px;background:var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A0A0A' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;color:var(--ink);-webkit-appearance:none;appearance:none;margin-bottom:14px;cursor:pointer}
.cmp-model:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.opts.small{gap:6px;margin-top:2px}
.opts.small .opt{min-width:44px;min-height:38px;font-size:13px;padding:0 10px}
.cmp-pick .picker-h[hidden],.cmp-pick .opts[hidden]{display:none}
.cmp-pick .picker-h{margin-top:4px}
@media(max-width:759px){.cmp-model{font-size:12px;padding:0 28px 0 8px;background-position:right 8px center}}


/* photo and 3D side by side (material check, 8 Oct) */
.pmatch{margin:6px 0 40px;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--card)}
.pmatch-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px 24px;flex-wrap:wrap;margin-bottom:16px}
.pmatch-head h2{font-size:20px;line-height:1.3;margin:0}
.pmatch-head p{margin:0;color:var(--soft);font-size:14px;max-width:52ch}
.pmatch-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.pmatch-photo,.pmatch-3d{margin:0;display:flex;flex-direction:column;gap:10px;min-width:0}
.pmatch-photo img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:14px;border:1px solid var(--line)}
.pmatch-photo img[hidden],.pmatch-none[hidden]{display:none}
.pmatch-none{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;border-radius:14px;background:var(--paper);color:var(--soft);margin:0;padding:24px;text-align:center;font-size:14px}
.pmatch .p3d{aspect-ratio:1/1;border-radius:14px;background:#fff;border:1px solid var(--line)}
.pmatch-ctl{display:flex;gap:8px;flex-wrap:wrap}
.pmatch-ctl .btn[aria-pressed="true"]{border-color:var(--ink);background:var(--ink);color:var(--paper)}
.pmatch figcaption,.pmatch-cap{font-size:13px;color:var(--soft);margin:0}
.pmatch .notice{margin-top:16px}
@media(max-width:760px){.pmatch{padding:16px}.pmatch-grid{grid-template-columns:minmax(0,1fr)}}

/* Gulf map (9 Oct 2026): dots are round-capped zero-length strokes, grouped; legend rows open to the community list */
.uaemap .m-dots path{fill:none;stroke-linecap:round}
.uaemap .m-dots path.g{stroke:#3A3A3A;stroke-width:3.2}
.uaemap .m-ctx path{fill:none;stroke:#1B1B1B;stroke-width:2.6;stroke-linecap:round}
.gulfmap .m-labels text{font-size:13px}
.uaemap .m-labels text.cty{font-size:9.5px;letter-spacing:.32em;fill:#5A5A5A;stroke-width:3px}
@media(max-width:640px){.gulfmap .m-labels text{font-size:19px;stroke-width:5px}.gulfmap .m-labels text.cty{display:none}}
.mapcap{font-family:var(--mono);font-size:12px;letter-spacing:.2px;color:var(--herosub);margin:22px 0 0}
.maplegend details{width:100%}
.maplegend summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;min-height:24px;align-items:center}
.maplegend summary::-webkit-details-marker{display:none}
.maplegend summary span::after{content:"+";margin-inline-start:10px;color:var(--herosub)}
.maplegend details[open] summary span::after{content:"−"}
.maplegend summary small{font-size:11.5px;color:var(--herosub);margin-inline-start:6px}
.maplegend details p{margin:8px 0 2px;font-size:12.5px;line-height:1.7;color:var(--herostory)}
.maplegend details p span{display:inline-block;margin-inline-end:14px;white-space:nowrap}
.maplegend details p i{font-style:normal;color:var(--herosub)}
.mapband.light .mapcap,.mapband.light .maplegend summary small,.mapband.light .maplegend summary span::after,.mapband.light .maplegend details p i{color:var(--soft)}
.mapband.light .maplegend details p{color:var(--ink)}
.mapband.light .uaemap .m-dots path.g{stroke:#CDCDCD}
.mapband.light .uaemap .m-ctx path{stroke:#E7E7E7}
.mapband.light .uaemap .m-labels text.cty{fill:#9A9A9A}
/* the map in Arabic (2 Nov 2026; the home page and About): the Arabic face, no letter spacing (it breaks the joined letters) */
[dir="rtl"] .uaemap .m-labels text{font-family:var(--arabic);letter-spacing:0}
[dir="rtl"] .uaemap .m-labels text.cty{font-size:11px}
[dir="rtl"] .mapcap{font-family:var(--arabic);letter-spacing:0;font-size:13px}
[dir="rtl"] .maplegend details p span{white-space:normal}

/* ==================== How it works (redesign, 9 Oct 2026): the villa-day hero is hero experiment B; drawing and data in dayvilla.py, script setupDay() in site.js ==================== */
.dy-sec{padding:4px 0 28px}
.dy{--day:0;position:relative;margin:0 clamp(8px,1vw,14px);background:#0A0A0A;color:var(--paper);border-radius:26px;overflow:hidden;isolation:isolate;transition:background-color 1.2s linear}
.dy::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(244,244,244,.055) 1px,transparent 1.2px);background-size:14px 14px;pointer-events:none;z-index:0}
.dy-in{position:relative;z-index:1;max-width:1444px;margin:0 auto;padding:clamp(28px,4.2vw,56px) clamp(20px,4.2vw,62px) 10px}
.dy-row1{display:grid;gap:18px 56px}
@media(min-width:960px){.dy-row1{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.dy-pitch{padding-top:30px}}
.dy-kicker{font-size:12.5px;color:var(--herosub);margin:0 0 20px}
.dy-head{width:min(100%,560px);line-height:0}
.dy-head svg{display:block;width:100%;height:auto;fill:var(--paper)}
.dy-head .a{fill:var(--acc-ink)}
/* V2.3 (26 Oct 2026, speed): each dot grows from nothing by its radius, in place of a scale: a scale made each of the 265
   dots a layer of its own while it moved, and a phone lost about a third of its frames on this page as it scrolled */
.js .dy-head circle{animation:dypop .5s cubic-bezier(.2,1.6,.35,1) both;animation-delay:calc(var(--d) * 9ms + 80ms)}
@keyframes dypop{from{r:0}}
/* on a phone the heading comes in as one piece, one animation the compositor draws (the plan: "one animation in place of
   265"): the dots growing one by one still cost a phone about five frames a second as it scrolled past them */
@media(max-width:719px){
  .js .dy-head circle{animation:none}
  .js .dy-head svg{animation:dyin .5s cubic-bezier(.2,.8,.3,1) .1s both}
}
@keyframes dyin{from{opacity:0;transform:translateY(8px)}}
.dy-lead{font-family:var(--serif);font-size:clamp(20px,1.9vw,27px);line-height:1.34;color:var(--paper);max-width:40ch;margin:0 0 20px}
.dy-owner{margin:14px 0 0;font-size:13px;color:var(--herostory)}
.dy-owner a{color:var(--paper);border-bottom:1px solid rgba(244,244,244,.4)}
.dy-stage{margin:clamp(22px,3vw,34px) 0 0}
.dy-over{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:14px 28px;margin:0 0 14px}
.dy-draw{display:flex;flex-direction:column}
.dy-over{order:-1}
@media(min-width:1200px){.dy-over{position:absolute;left:0;right:0;top:0;align-items:flex-start;margin:0;pointer-events:none}.dy-over .dy-legend{flex-direction:column;align-items:flex-end;max-width:none}}
.dy-over > *{pointer-events:auto}
.dy-row3{display:grid;gap:18px 56px;margin:16px 0 0}
@media(min-width:960px){.dy-row3{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}}
/* top row: the clock and the systems */
.dy-eb{display:block;font-size:11px;color:var(--herosub);margin:0 0 10px;letter-spacing:.02em}
.clk{display:block;width:clamp(150px,14vw,200px);height:auto;overflow:visible}
.clk circle{fill:#262626;transform-box:fill-box;transform-origin:center;transition:fill .12s linear,transform .12s linear}
.clk circle.on{fill:var(--paper);transform:scale(1.5)}
.dy-card{margin:0;min-height:112px;transition:opacity .35s ease}
.dy-card.swap{opacity:0}
.dy-line{margin:0 0 6px;display:flex;align-items:baseline;gap:14px}
.dy-when{font-size:12px;color:var(--herosub);letter-spacing:.04em}
.dy-title{font-family:var(--serif);font-size:clamp(23px,2.1vw,30px);line-height:1.1;color:var(--paper)}
.dy-text{font-size:12.5px;line-height:1.6;color:var(--herostory);margin:0 0 6px;max-width:74ch}
.dy-by{font-size:11px;color:var(--herosub);margin:0}
/* the drawing */
.dy-draw{position:relative;margin:0}
.dv-svg{display:block;width:100%;height:auto;overflow:visible;--ln:#5E5E5E;--ln2:#404040;--lab:#7A7A7A;--dim:#555555}
.dv-svg .arc{stroke:#262626;stroke-width:1;stroke-dasharray:2 6}
.dv-svg .sun{fill:var(--paper);transition:opacity .6s}
.dv-svg .moon{fill:none;stroke:var(--paper);stroke-width:1.4;transition:opacity .6s}
.dv-svg .ground{stroke:var(--ln);stroke-width:1.2}
.dv-svg .under,.dv-svg .water{stroke:#2E2E2E;stroke-width:2.2;stroke-linecap:round}
.dv-svg .water{stroke:#3A3A3A}
.dv-svg .shell .slab{fill:#161616;stroke:var(--ln);stroke-width:1}
.dv-svg .shell .wall{fill:#1C1C1C;stroke:var(--ln);stroke-width:1}
.dv-svg .shell .par{fill:none;stroke:var(--ln);stroke-width:1}
.dv-svg .shell .fc{stroke:var(--ln2);stroke-width:1;stroke-dasharray:3 3;fill:none}
.dv-svg .shell .part,.dv-svg .shell .stair{stroke:var(--ln2);stroke-width:1.1;fill:none}
.dv-svg .rl{font-family:var(--mono);font-size:9px;letter-spacing:.08em;fill:var(--lab)}
.dv-svg .obj rect,.dv-svg .obj path{fill:#141414;stroke:var(--ln);stroke-width:1}
.dv-svg .obj #gate path{fill:none}
.dv-svg .obj path:not([class]){fill:none}
.dv-svg #gate{transition:transform 1.1s cubic-bezier(.6,0,.25,1)}
.dv-svg #gate.open{transform:translateX(62px)}
.dv-svg #gdoor{transition:transform 1.3s cubic-bezier(.6,0,.25,1)}
.dv-svg #gdoor.open{transform:translateY(-76px)}
.dv-svg .fill{fill:var(--paper);opacity:0;transition:opacity 1s ease}
.dv-svg .spill path{stroke:var(--paper);stroke-width:2;stroke-linecap:round}
.dv-svg .spill{opacity:0;transition:opacity 1s ease}
.dv-svg .lp{fill:#3A3A3A;transition:fill .8s ease}
.dv-svg .lp.on{fill:var(--paper)}
.dv-svg .dev{transition:opacity .3s ease}
.dv-svg .dev rect,.dv-svg .dev circle,.dv-svg .dev path{fill:#121212;stroke:var(--dim);stroke-width:1.2;transition:stroke .5s ease,fill .5s ease,opacity .5s ease}
.dv-svg .dev .c{fill:var(--dim);stroke:none}
.dv-svg .dev .solid{fill:var(--dim);stroke:none}
.dv-svg .dev .ro{font-family:var(--mono);font-size:10px;fill:var(--paper);stroke:none;opacity:0;transition:opacity .5s}
.dv-svg .dev.show .ro{opacity:1}
.dv-svg .dev .cov{fill:none;stroke:var(--paper);stroke-width:1;stroke-dasharray:2 4;opacity:0}
.dv-svg .dev .snd,.dv-svg .dev .air{fill:none;stroke:var(--paper);stroke-width:1.1;opacity:0;stroke-linecap:round}
.dv-svg .dev .air{stroke-width:2.2}
.dv-svg .dev .cone{fill:rgba(244,244,244,.04);stroke:rgba(244,244,244,.38);stroke-width:.8;stroke-dasharray:3 3;opacity:0}
.dv-svg .dev.on rect,.dv-svg .dev.on circle:not(.cov),.dv-svg .dev.on path:not(.snd):not(.cone):not(.air){stroke:var(--paper)}
.dv-svg .dev.on .c,.dv-svg .dev.on .solid{fill:var(--paper)}
.dv-svg .dev.on .snd,.dv-svg .dev.on .air{opacity:.75}
.dv-svg .dev.wifi .cov{opacity:.5}
.dv-svg .dev.armed .cone{opacity:1}
.dv-svg .dev.armed circle:not(.c){stroke:var(--paper)}
.dv-svg .k-lock.locked circle{fill:var(--paper);stroke:var(--paper)}
.dv-svg .dev.trig rect,.dv-svg .dev.trig circle:not(.cov):not(.c):not(.hit),.dv-svg .dev.trig path:not(.snd):not(.cone):not(.air){stroke:var(--paper);stroke-width:2}
.dv-svg .dev.trig .c,.dv-svg .dev.trig .solid{fill:var(--paper)}
.dv-svg .dev.trig rect{fill:var(--paper)}
.dv-svg .k-rack rect{fill:#141414}
.dv-svg .k-fcu.run rect{stroke:#7A7A7A}
.dv-svg .k-fcu.run .air{opacity:.35}
.dv-svg .k-rack path{stroke:#3A3A3A}
.dv-svg .live{fill:var(--acc-ink);filter:drop-shadow(0 0 4px rgba(255,87,5,.7))}
.dv-svg .sig path{fill:none;stroke-width:2.2;stroke-linecap:round}
.dv-svg .sig path.up{stroke:var(--acc-ink)}
.dv-svg .sig path.down{stroke:var(--paper)}
.dv-svg .tray{fill:none;stroke:#242424;stroke-width:1}
.dv-svg .furn rect,.dv-svg .furn path,.dv-svg .furn circle{fill:none;stroke:var(--ln2);stroke-width:1}
.dv-svg #car{transition:transform 1.8s cubic-bezier(.55,0,.25,1),opacity 1.8s ease}
.dv-svg #car.away{transform:translateX(-150px);opacity:0}
.dv-svg .dev .hit{fill:transparent!important;stroke:none!important;cursor:pointer}
.dv-svg .dev .cone,.dv-svg .dev .cov,.dv-svg .dev .snd,.dv-svg .dev .air,.dv-svg .dev .ro{pointer-events:none}
.dv-svg.instant *{transition:none!important}
/* one system on its own */
.dv-svg.iso .dev{opacity:.12}
.dv-svg.iso-network .sys-network,.dv-svg.iso-lighting .sys-lighting,.dv-svg.iso-climate .sys-climate,.dv-svg.iso-access .sys-access,.dv-svg.iso-security .sys-security,.dv-svg.iso-audio .sys-audio{opacity:1}
.dv-svg.iso:not(.iso-lighting) .lp,.dv-svg.iso:not(.iso-lighting) .spill,.dv-svg.iso:not(.iso-lighting) .fill{opacity:.12}
.dv-svg.iso .lp{transition:fill .8s ease,opacity .3s}
/* a system on its own also shows what it covers */
.dv-svg.iso-security .dev .cone{opacity:1}
.dv-svg.iso-network .dev .cov{opacity:.55}
.dv-svg.iso-audio .dev .snd,.dv-svg.iso-climate .dev .air{opacity:.7}
.dv-svg.iso-lighting .lp:not(.on){fill:#8A8A8A}
.dv-svg.iso-network .sys-network rect,.dv-svg.iso-network .sys-network circle:not(.cov):not(.hit),.dv-svg.iso-lighting .sys-lighting rect,.dv-svg.iso-lighting .sys-lighting path,
.dv-svg.iso-climate .sys-climate rect,.dv-svg.iso-access .sys-access rect,.dv-svg.iso-access .sys-access circle:not(.hit),.dv-svg.iso-security .sys-security circle:not(.hit),
.dv-svg.iso-audio .sys-audio circle:not(.hit){stroke:var(--paper)}
.dv-svg.iso-climate .sys-climate .solid{fill:var(--paper)}
.dy-tip{position:absolute;z-index:3;left:0;top:0;pointer-events:none;background:#121212;border:1px solid var(--line-ink);border-radius:10px;padding:7px 11px 8px;font-size:11.5px;line-height:1.5;color:var(--herostory);width:max-content;max-width:230px;opacity:0;transition:opacity .15s}
.dy-tip.on{opacity:1}
.dy-tip b{display:block;color:var(--paper);font-weight:600}
/* timeline */
.dy-tl{margin:12px 0 0;user-select:none;-webkit-user-select:none}
.tl-bar{position:relative;height:26px;border-top:1px solid var(--line-ink);border-bottom:1px solid var(--line-ink);cursor:ew-resize;touch-action:none}
.tl-night{position:absolute;top:0;bottom:0;background:rgba(244,244,244,.035);pointer-events:none}
.tl-night.a{left:0;width:calc(360 / 1440 * 100%)}
.tl-night.b{left:calc(1110 / 1440 * 100%);right:0}
.tl-head{position:absolute;top:-5px;bottom:-5px;left:calc(var(--p,0) * 100%);width:1.5px;margin-left:-.75px;background:var(--paper);pointer-events:none}
.tl-head::before{content:"";position:absolute;top:-4px;left:-3.25px;width:8px;height:8px;border-radius:50%;background:var(--paper)}
.mk{position:absolute;top:50%;left:calc(var(--x) * 100%);width:22px;height:22px;margin:-11px 0 0 -11px;border:0;padding:0;background:transparent;cursor:pointer;border-radius:50%}
.mk::before{content:"";position:absolute;left:7px;top:7px;width:8px;height:8px;border-radius:50%;background:#5A5A5A;transition:background .3s,transform .3s}
.mk.done::before{background:#9A9A9A}
.mk.cur::before{background:var(--paper);transform:scale(1.3)}
.mk:hover::before,.mk:focus-visible::before{background:var(--acc-ink)}
.mk span{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11px;color:var(--paper);background:#121212;border:1px solid var(--line-ink);border-radius:8px;padding:3px 8px;opacity:0;pointer-events:none;transition:opacity .15s}
.mk:hover span,.mk:focus-visible span{opacity:1}
.tl-hours{display:flex;justify-content:space-between;font-size:10.5px;color:var(--herosub);margin:5px 0 0}
.dy-legend{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 8px;max-width:440px}
.dy-legend li{margin:0;display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--herostory);border:1px solid var(--line-ink);border-radius:16px;padding:4px 12px 4px 10px;cursor:pointer;transition:border-color .25s,color .25s;min-height:32px}
.dy-legend li i{width:7px;height:7px;border-radius:50%;background:#4A4A4A;transition:background .3s}
.dy-legend li.act i{background:var(--paper)}
.dy-legend li.hi{border-color:var(--acc-ink);color:var(--paper)}
@media(hover:hover){.dy-legend li:hover{border-color:#5A5A5A}}
.dy-cap{font-size:11.5px;color:#8A8A8A;margin:0}
.dy-pause{position:absolute;z-index:4;right:16px;bottom:14px;font-family:var(--mono);font-size:11px;color:var(--herosub);background:transparent;border:1px solid var(--line-ink);border-radius:14px;padding:4px 12px;cursor:pointer;min-height:30px}
@media(hover:hover){.dy-pause:hover{color:var(--acc-ink);border-color:var(--acc-ink)}}
@media(max-width:959px){.dy-legend{justify-content:flex-start}}
@media(max-width:600px){.dy{border-radius:20px}.dy-card{min-height:170px}.dv-svg .rl{display:none}.clk{width:180px}
  .dy-pause{position:relative;display:block;right:auto;bottom:auto;margin:0 auto 22px}}
@media(prefers-reduced-motion:reduce){.js .dy-head circle{animation:none}.dv-svg *{transition:none!important}}
.dy.hiw .dy-in{padding-bottom:clamp(26px,3.4vw,44px)}
.dy-aside .dy-cap + .dy-cap{margin-top:6px}
.dy-aside .dy-pause{position:static;display:inline-flex;align-items:center;margin-top:14px}
@media(max-width:600px){.dy-aside .dy-pause{display:inline-flex;margin:14px 0 0}}
/* the info film: plays when assets/film/how-it-works.mp4 is there; until then only the local preview shows the place for it */
.film-slot{display:grid;place-items:center;background:transparent;border:1.5px dashed #BDBDBD;padding:clamp(18px,3vw,40px);text-align:center}
.film-slot b{display:block;font-family:var(--serif);font-weight:400;font-size:clamp(22px,2.4vw,30px);margin-bottom:10px}
.film-slot span{display:block;font-size:13px;line-height:1.6;color:var(--soft);max-width:62ch;margin:8px auto 0}
@media(max-width:700px){.film-slot{aspect-ratio:auto}}
.film-slot code{white-space:nowrap;font-family:var(--mono);font-size:12px;background:var(--card);border:1px solid var(--line);border-radius:6px;padding:1px 6px;color:var(--ink)}
/* four steps, each with a small drawing */
.hiw-4 > li{display:flex;flex-direction:column}
.hiw-art{display:block;width:100%;max-width:240px;height:auto;margin:0 0 18px;overflow:visible}
.hiw-art *{fill:none;stroke:#0A0A0A;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.hiw-art .w{stroke:#A8A8A8}
.hiw-art .card{fill:var(--card)}
.hiw-art .f{fill:#0A0A0A;stroke:none}
.hiw-art .b{stroke-width:2.6}
.hiw-art .dash{stroke:#A8A8A8;stroke-dasharray:3 4;transition:stroke var(--t)}
.hiw-art text{fill:#0A0A0A;stroke:none;font-family:var(--mono);font-size:9.5px}
@media(hover:hover){.steps > li:hover .hiw-art .dash{stroke:var(--acc)}}
.steps a{border-color:#BDBDBD}
.hiw-trade{margin:20px 0 0;font-size:13px;color:var(--soft);max-width:none}
.hiw-trade a{color:var(--ink);font-weight:600}
/* why it's different */
.hiw-four{display:grid;gap:26px 34px}
@media(min-width:720px){.hiw-four{grid-template-columns:repeat(3,1fr)}}
.hiw-four > div{border-top:1px solid var(--line-ink);padding-top:18px}
.hiw-four h3{color:var(--paper);margin:0 0 8px}
.hiw-four p{color:var(--herostory);font-size:13.5px;margin:0}
/* V2.5: the Why section sits on a white sheet (the grounds of How it works: D P W D W B) */
.sheet .hiw-four > div{border-top-color:var(--line)}
.sheet .hiw-four h3{color:var(--ink)}
.sheet .hiw-four p{color:#3D3D3D;font-size:15px}
/* what it costs */
.hiw-note{margin:18px 0 0;font-size:13px;color:var(--soft);max-width:82ch}
.hiw-note a{color:var(--ink);font-weight:600}
/* the first questions */
.faq{border-top:1px solid var(--line);max-width:880px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:58px;padding:14px 0;font-weight:600;font-size:15px;line-height:1.45;transition:color var(--t)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;font-size:22px;font-weight:400;line-height:1;color:var(--soft)}
.faq details[open] summary::after{content:"−"}
@media(hover:hover){.faq summary:hover{text-decoration:underline;text-decoration-color:var(--acc);text-underline-offset:5px}}
.faq details p{margin:0 0 20px;font-size:14px;color:#333;max-width:70ch}
.faq details p a{font-weight:600}
/* How it works, Arabic: the drawing and the timeline stay left to right; the words around them follow the page */
.dy .dy-arh{font-size:clamp(34px,4.6vw,62px);line-height:1.25;color:var(--paper);margin:0}
[dir="rtl"] .dy-kicker{font-size:14px}
[dir="rtl"] .dy-lead{font-family:var(--arabic);font-size:clamp(18px,1.75vw,23px);line-height:1.75}
[dir="rtl"] .dy-eb{font-size:13px;letter-spacing:0}
[dir="rtl"] .dy-title{font-family:var(--arabic);font-weight:700;font-size:clamp(20px,1.9vw,26px)}
[dir="rtl"] .dy-text{font-size:14.5px;line-height:1.85}
[dir="rtl"] .dy-by{font-size:12.5px}
[dir="rtl"] .dy-cap{font-size:13px;line-height:1.8}
[dir="rtl"] .dy-legend li{font-size:13.5px}
[dir="rtl"] .dy-tip{font-size:13px;line-height:1.7}
[dir="rtl"] .mk span{font-size:12.5px}
[dir="rtl"] .dy-pause{font-family:var(--arabic);font-size:13px}
[dir="rtl"] .dv-svg .rl{font-family:var(--arabic);letter-spacing:0;font-size:10.5px}
[dir="rtl"] .hiw-art text.ar{font-family:var(--arabic);font-size:10.5px}
[dir="rtl"] .hiw-trade,[dir="rtl"] .hiw-note{font-size:14px}
[dir="rtl"] .hiw-four p,[dir="rtl"] .steps p{font-size:14.5px;line-height:1.8}
[dir="rtl"] .faq summary{font-size:16px}
[dir="rtl"] .faq details p{font-size:15px;line-height:1.85}
[dir="rtl"] .film-slot span{font-size:14px}
/* the system names sit over the sky: the sun and moon pass behind them, not through them */
.dy-legend li{background:var(--panel,#0A0A0A)}

/* ---- screen emulator on the screen product pages (13 Oct 2026) ---- */
.emu{padding:clamp(28px,4vw,56px) 0 0}
.emu-grid{display:grid;gap:clamp(20px,3vw,44px);align-items:start}
@media(min-width:1000px){.emu-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}}
.emu-device{background:#111;border-radius:22px;padding:clamp(10px,1.4vw,16px);box-shadow:0 18px 44px rgba(0,0,0,.16)}
.emu-device.sq{max-width:440px}
.emu-screen{position:relative;overflow:hidden;border-radius:10px;background:#000}
.emu-screen img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.emu-hot{position:absolute;inset:0}
.emu-btn,.emu-sl{position:absolute;background:transparent;border:0;padding:0;margin:0;border-radius:8px;cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent}
.emu-btn:active{background:rgba(255,255,255,.10)}
.emu-btn:focus-visible,.emu-sl:focus-visible{outline:2px solid var(--acc-ink);outline-offset:2px}
.emu-info h2{margin-top:0}
.emu-ctl{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.emu-cap{font-size:12.5px;color:var(--soft);margin-top:12px}
.emu-grid:not(.emu-ready) [data-emu-reset]{display:none}

/* products v1 (13 Oct 2026): models whose photos and 3D are still to come */
.p3d-none{background:#ECECEC}
.p3d-none .p3d-fallback{object-fit:contain}

/* ---------- V2 (17 Oct 2026) ---------- */
/* the short vertical films beside a page's title (How it works, How we price, the Who we help pages; Walid: "Film goes on the
   side in the hero page"), in the page hero's panel since V2.1 (.xh .hh-film); on a phone the film comes under the words.
   The film keeps its 9:16 frame before it loads (width and height on the video). */
.hh-film{margin:0;width:min(100%,300px);justify-self:center}
@media(min-width:900px){.hh-film{width:min(360px,calc((100vh - 170px) * 9 / 16));width:min(360px,calc((100svh - 170px) * 9 / 16));min-width:240px}}
.hh-film .film.portrait{width:100%;box-shadow:0 18px 50px rgba(0,0,0,.18)}
.hh-film .film video{object-fit:cover;background:#111}
.hh-film .caption{text-align:center;margin:12px auto 0;max-width:36ch}
.hh-film.film-slot{aspect-ratio:9/16;width:min(100%,300px)}
/* the villa-day drawing under "What it costs" */
.dy-sec{padding-top:clamp(20px,3vw,40px)}

/* the home's "On the wall": a brand's own picture of each type on the light plate of the Products page cards */
.famcard .famph{background:var(--card);border:1px solid var(--line);padding:8px;aspect-ratio:4/5}
.famplate{position:relative;display:block;height:100%;border-radius:10px;background:var(--paper);overflow:hidden;isolation:isolate}
.famplate img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:14%;mix-blend-mode:multiply}
.famplate .famnone{position:absolute;inset:0;display:grid;place-items:center;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}

/* speed: the browser skips the layout and painting of the long pages' lower sections until they come near
   (home, How it works, the Products page). Their place keeps a size while they wait, so the page does not jump. */
main > .hero4 ~ section,main > .xh-hiw ~ section,main > .pi-sec ~ section.fam,main > .pi-sec ~ #samples,main > .pi-sec ~ .rd-closing{content-visibility:auto;contain-intrinsic-size:auto 760px}

/* ==================== V2.3 (26 Oct 2026): easier to use on a phone (Walid: "a lot of scrolling ... no side scrolling";
   "Keep the actions, but the delivery has to be better") ==================== */
/* side-swipe rows: a list marked .swipe stays as it is on a computer; on a phone it is one row that moves sideways, one card
   at a time, with the edge of the next card in view; site.js puts the count under it. The row runs to the edges of its panel. */
.swipe-count{display:none}
.swipe:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:8px}
.on-ink .swipe:focus-visible{outline-color:var(--paper)}
@media(max-width:719px){
  .swipe{--bleed:var(--gutter);display:flex!important;flex-wrap:nowrap;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--bleed);margin-inline:calc(-1 * var(--bleed));padding-inline:var(--bleed);padding-block:2px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch;max-width:none}
  .swipe::-webkit-scrollbar{display:none}
  .swipe > *{flex:0 0 82%;min-width:0;scroll-snap-align:start;margin:0}
  section.on-ink .swipe{--bleed:22px}
  .swipe-count{display:block;margin:8px 0 0;font-size:11.5px;color:var(--soft);font-variant-numeric:tabular-nums;max-width:none}
  .on-ink .swipe-count{color:var(--herosub)}
}

/* the footer on a phone: the links in two columns, the third list in one line that wraps, no long company line */
@media(max-width:719px){
  footer{padding:12px 0 24px}
  footer > .wrap{padding:26px 22px 22px}
  footer .cols{grid-template-columns:1fr 1fr;gap:18px 14px}
  footer .about{grid-column:1/-1}
  footer .about p{display:none}
  footer .about svg{max-width:150px}
  footer .reach{margin-top:12px;font-size:13px}
  footer li{margin:0 0 7px;font-size:13px;line-height:1.45}
  footer .cols > ul:last-child{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 16px;padding-top:12px;border-top:1px solid var(--line-ink)}
  footer .cols > ul:last-child li{margin:0}
  footer .legal{margin-top:16px;padding-top:12px;font-size:11px;gap:4px 16px}
}

/* the phone menu: the two main actions first (the main one on top, as on the home page), then the pages, then the language */
.nav details ul li.li-cta{order:-1}
.nav details ul li.li-p{order:-2}
@media(max-width:1179px){
  .nav details ul{display:flex}
  .nav details li.li-cta a.cta{margin:0 0 8px;width:100%}
  .nav details li.li-cta + li:not(.li-cta){margin-top:6px}
}

/* two doors: every action stays, shown by who it is for (the home hero and the last section) */
.doors2{display:grid;gap:10px;margin-top:24px;max-width:600px}
@media(min-width:560px){.doors2{grid-template-columns:1fr 1fr}}
.door2{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:66px;padding:11px 18px;border:1px solid var(--ink);border-radius:6px;color:var(--ink);transition:background var(--t),color var(--t),border-color var(--t)}
.door2 b{font-size:11.5px;font-weight:600;letter-spacing:1.3px;text-transform:uppercase;line-height:1.35}
.door2 span{font-size:12px;line-height:1.4;color:var(--soft)}
.door2.primary{background:var(--ink);color:var(--paper)} .door2.primary span{color:#B5B5B5}
@media(hover:hover){.door2:hover{border-color:var(--acc);color:var(--ink)}} @media(hover:hover){.door2:hover span{color:inherit}}
@media(hover:hover){.door2.primary:hover{background:var(--acc);border-color:var(--acc);color:#fff}}
.on-ink .door2{border-color:var(--paper);color:var(--paper)} .on-ink .door2 span{color:var(--herosub)}
.on-ink .door2.primary{background:var(--paper);color:var(--ink)} .on-ink .door2.primary span{color:#5A5A5A}
@media(hover:hover){.on-ink .door2:hover{border-color:var(--acc-ink);color:var(--acc-ink)}} @media(hover:hover){.on-ink .door2.primary:hover{background:var(--acc-ink);border-color:var(--acc-ink);color:#fff}}
.doors2-more{display:flex;flex-wrap:wrap;gap:6px 22px;margin:14px 0 0;font-size:13px}
.doors2-more a{font-weight:600;border:0;display:inline-flex;align-items:center;min-height:32px}
.doors2-more a::after{content:"→";margin-inline-start:8px;color:var(--acc)}
.on-ink .doors2-more a{color:var(--paper)} .on-ink .doors2-more a::after{color:var(--acc-ink)}
[dir="rtl"] .door2 b{font-family:var(--arabic);letter-spacing:0;text-transform:none;font-size:15px}
[dir="rtl"] .door2 span{font-size:13.5px}
[dir="rtl"] .doors2-more a::after{content:"←"}
.hero4 .h4-act .doors2{margin-top:22px}
@media(max-width:1099px){.hero4 .h4-act{order:4;margin-top:4px}}
/* the last section of the home page: the start band with the two doors; the questionnaire's glimpse on a computer only */
.closing2 .startband .lead{max-width:36ch}
@media(max-width:719px){.closing2 .qpreview{display:none}.closing2 .startband{padding:24px 20px}}

/* the home page's card groups on a phone, as cards in a row */
@media(max-width:719px){
  .doorlist.swipe{border-top:0}
  .doorlist.swipe li{border:1px solid var(--line);border-radius:var(--r);background:var(--card)}
  .doorlist.swipe a{display:flex;flex-direction:column;gap:10px;height:100%;padding:20px 20px 46px}
  .doorlist.swipe a::after{top:auto;bottom:16px;inset-inline-end:auto;inset-inline-start:20px;color:var(--acc)}
  .doorlist.swipe b{font-size:24px}
  .doorlist.swipe span{font-size:13.5px}
  .syslist.swipe{margin-top:0}
  .syslist.swipe li{flex-direction:column;gap:12px;border:1px solid var(--line);border-radius:var(--r);background:var(--card);padding:20px}
  .pack.swipe .phoneshot{max-height:300px}
  @media(hover:hover){.pack.swipe figure:hover{transform:none}}
  .famgrid.swipe > *{flex-basis:58%}
  .rail.swipe > *{flex-basis:82%}
  #who .shead,#systems .shead{margin-bottom:16px}
}

/* ==================== V2.5 parts (27 Oct 2026) ==================== */
/* the proof line at the foot of a page's title (templates/_macros.html proof): the map's counts, linked to the map */
.xh-proof{margin:18px 0 0;font:500 12px/1.55 var(--mono);letter-spacing:.02em;color:#B4B4B4;max-width:none}
.xh-proof a{color:inherit;border-bottom:1px solid #3A3A3A;padding-bottom:2px}
.xh-proof a::before{content:"";display:inline-block;width:6px;height:6px;margin-inline-end:9px;border-radius:50%;background:var(--acc-ink);vertical-align:1px}
@media(hover:hover){.xh-proof a:hover{color:#F4F4F4;border-color:var(--acc-ink)}}
[dir="rtl"] .xh-proof{font-family:var(--arabic);font-size:13px;letter-spacing:0}
/* a phone: the footer's links are 44 px targets, its legal line a little larger */
@media(max-width:719px){
  footer .cols ul a,footer .cols ul .soon{display:inline-block;padding:12px 0;line-height:1.3}
  footer .reach a{display:inline-block;padding:11px 0}
  footer .legal p{font-size:12.5px}
}
/* a phone (2 Nov 2026): the footer's three lists as rows of links that wrap, each list under a thin line, in place of
   one link a line; the links keep their 44 px targets. The footer is about 120 px shorter */
@media(max-width:719px){
  footer .cols{grid-template-columns:1fr;gap:0}
  footer .cols > ul{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:0 20px;margin-top:12px;padding-top:4px;border-top:1px solid var(--line-ink)}
  footer .cols > ul li,footer .cols > ul:last-child li{margin:0}
  footer .reach{margin-top:8px}
  footer .legal{margin-top:12px}
}

/* a page film on a phone: one row, a small poster and "Watch the film" (site.js setupFilmRows); full screen on a tap */
@media(max-width:719px){
  .xh-wf .hh-film.hh-row{display:flex;align-items:center;gap:16px;margin:24px 0 0;width:auto;max-width:none}
  .xh-wf .hh-film.hh-row .film.portrait{flex:0 0 64px;width:64px;height:114px;aspect-ratio:auto;margin:0;border-radius:12px;cursor:pointer}
  .xh-wf .hh-film.hh-row figcaption{display:none}
  .hh-go{display:flex;align-items:center;gap:14px;min-height:56px;padding:0;margin:0;border:0;background:none;color:var(--paper);font:inherit;text-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .hh-go-i{position:relative;flex:none;width:44px;height:44px;border-radius:50%;background:var(--acc-ink);transition:transform var(--dur-2,.22s) var(--e-pop,ease)}
  .hh-go-i::after{content:"";position:absolute;left:17px;top:14px;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #FFFFFF}
  [dir="rtl"] .hh-go-i::after{left:auto;right:17px;border-width:8px 13px 8px 0;border-color:transparent #FFFFFF transparent transparent}
  .hh-go:active .hh-go-i{transform:scale(.92);transition-duration:var(--dur-1,.12s)}
  .hh-go-t{display:grid;gap:3px;font:600 14px/1.3 var(--mono)}
  .hh-go-t small{font:500 11.5px/1.3 var(--mono);color:var(--herosub)}
  [dir="rtl"] .hh-go-t{font-family:var(--arabic)}
}

/* ==================== the bottom bar on a phone, version 2 (V2.5, 27 Oct 2026; templates/_mbar.html, assets/site.js) ====
   Walid: "bottom row for navigation for mobile all in the products page". Below 900 px: Products · How it works · Get started
   (centre, orange pill) · Pricing · Menu. The motion designer's bar: black (plain: the dot texture and a large shadow
   cost 1 to 2 frames a second on a product page in the phone test), floating 8 px from the edges, 22 px
   corners, 9x9 dot icons, three orange dots over the page in view. No scroll listener, no backdrop blur. It steps aside
   (html.mbar-off) while a field has focus, a dialog is open, a screen is full size or a film plays full screen. */
.mbar,.msheet{display:none}
@media(max-width:899px){
  :root{--mbar:64px;--mbar-gap:8px}
  html.has-mbar body{padding-bottom:calc(var(--mbar) + 2 * var(--mbar-gap) + env(safe-area-inset-bottom,0px))}
  html.has-mbar{scroll-padding-bottom:calc(var(--mbar) + 2 * var(--mbar-gap) + env(safe-area-inset-bottom,0px))}
  .mbar{display:block;position:fixed;z-index:70;left:calc(var(--mbar-gap) + env(safe-area-inset-left,0px));right:calc(var(--mbar-gap) + env(safe-area-inset-right,0px));
    bottom:calc(var(--mbar-gap) + env(safe-area-inset-bottom,0px));max-width:520px;margin-inline:auto;height:var(--mbar);border-radius:22px;
    background:#0A0A0A;box-shadow:0 0 0 1px #272727,0 8px 18px -12px rgba(10,10,10,.5);
    transition:transform var(--dur-3,.38s) var(--e-out,cubic-bezier(.2,.8,.2,1))}
  html.mbar-off .mbar,html.hs-full .mbar{transform:translate3d(0,calc(100% + 24px),0);visibility:hidden;transition:transform var(--dur-2,.22s) var(--e-io,ease),visibility 0s var(--dur-2,.22s)}
  .mbar ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));height:100%;margin:0;padding:0 4px;list-style:none;max-width:none}
  .mbar li{margin:0;min-width:0;display:flex}
  .mb-a{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:44px;padding:0 2px;margin:0;border:0;
    background:none;color:#9A9A9A;font:500 9.5px/1.1 var(--mono);letter-spacing:-.03em;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;
    -webkit-tap-highlight-color:transparent;touch-action:manipulation}
  .mb-a span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  [dir="rtl"] .mb-a{font-family:var(--arabic);font-size:11.5px;letter-spacing:0;font-weight:500}
  .mbar .mi{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:7.2;stroke-linecap:round;color:#7A7A7A;transition:transform var(--dur-2,.22s) var(--e-pop,ease)}
  .mbar .mi .a{stroke:#7A7A7A}
  @media(hover:hover){.mb-a:hover{color:#9A9A9A}}
  .mb-a[aria-current="page"],.mb-a.is-here{color:#F4F4F4;font-weight:600}
  .mb-a[aria-current="page"] .mi,.mb-a.is-here .mi{color:#F4F4F4}
  .mb-a[aria-current="page"] .mi .a,.mb-a.is-here .mi .a{stroke:var(--acc-ink)}
  /* the page in view: three orange dots above it (the heading marker, made short) */
  .mb-a[aria-current="page"]::before,.mb-a.is-here:not(.mb-go)::before{content:"";position:absolute;top:5px;left:50%;width:30px;height:4px;margin-left:-15px;
    background:radial-gradient(circle at 2px 2px,var(--acc-ink) 1.7px,transparent 2.1px) 0 0/13px 4px repeat-x;animation:mb-ind var(--dur-3,.38s) var(--e-pop,ease) both}
  @keyframes mb-ind{from{opacity:0;transform:scale(.4)}}
  .mb-a:active .mi{transform:scale(.86);transition-duration:var(--dur-1,.12s)}
  /* Get started: paper dots on an orange pill, its label orange (orange text on black is the house rule) */
  .mb-go{color:var(--acc-ink)}
  .mb-go i{position:relative;display:grid;place-items:center;width:52px;height:32px;margin:-4px 0 -2px;border-radius:999px;background:var(--acc-ink);transition:transform var(--dur-2,.22s) var(--e-pop,ease)}
  .mb-go i .mi{color:#FFFFFF;width:22px;height:22px;transition:transform var(--dur-2,.22s) var(--e-io,ease)}
  .mb-go:active i{transform:scale(.92);transition-duration:var(--dur-1,.12s)}
  .mb-go:active i .mi{transform:none}
  .mb-go[aria-expanded="true"] i .mi{transform:rotate(45deg)}
  .mb-go.is-here{color:var(--acc-ink)}
  .mb-a:focus-visible{outline:2px solid var(--acc-ink);outline-offset:-4px;border-radius:14px}
  /* the sheets: they rise from behind the bar, in its black; the scrim and the sheet are hidden while closed */
  .msheet{position:fixed;inset:0;z-index:80;display:block;visibility:hidden}
  .msheet[hidden]{display:none}
  .msheet.open{visibility:visible}
  .msheet-bg{position:absolute;inset:0;background:rgba(10,10,10,.5);opacity:0;transition:opacity var(--dur-2,.22s) linear}
  .msheet-in{position:absolute;left:calc(var(--mbar-gap) + env(safe-area-inset-left,0px));right:calc(var(--mbar-gap) + env(safe-area-inset-right,0px));
    bottom:calc(var(--mbar) + 2 * var(--mbar-gap) + env(safe-area-inset-bottom,0px));max-width:520px;max-height:calc(100% - var(--mbar) - 40px);overflow-y:auto;overscroll-behavior:contain;margin-inline:auto;
    padding:14px 14px 14px;border-radius:22px;background:#141414 radial-gradient(rgba(244,244,244,.06) 1px,transparent 1.2px) 0 0/14px 14px;color:#F4F4F4;box-shadow:0 0 0 1px #2C2C2C;
    transform:translate3d(0,calc(100% + var(--mbar) + 24px),0);transition:transform var(--dur-2,.22s) cubic-bezier(.4,0,1,1)}
  .msheet.open .msheet-bg{opacity:1;transition-duration:var(--dur-3,.38s)}
  .msheet.open .msheet-in{transform:none;transition:transform var(--dur-3,.38s) var(--e-out,cubic-bezier(.2,.8,.2,1))}
  .msheet-in::before{content:"";display:block;width:58px;height:6px;margin:6px 4px 10px;transform-origin:0 50%;transform:scaleX(0);
    background:radial-gradient(circle at 3px 3px,var(--acc-ink) 2.3px,transparent 2.8px) 0 0/13px 6px repeat-x;transition:transform var(--dur-4,.72s) var(--e-out,ease) .12s}
  [dir="rtl"] .msheet-in::before{transform-origin:100% 50%}
  .msheet.open .msheet-in::before{transform:none}
  .msheet-in > *{opacity:0;transform:translate3d(0,8px,0);transition:opacity var(--dur-2,.22s) linear,transform var(--dur-3,.38s) var(--e-out,ease)}
  .msheet.open .msheet-in > *{opacity:1;transform:none;transition-delay:90ms}
  .msheet.open .msheet-in > ul{transition-delay:130ms}
  .msheet.open .msheet-in > .mmenu-lang{transition-delay:170ms}
  .msheet-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px 8px}
  .msheet-h{margin:0;font-family:var(--serif);font-size:26px;line-height:1.1;color:#F4F4F4}
  [dir="rtl"] .msheet-h{font-family:var(--arabic);font-weight:700;font-size:21px}
  .msheet-x{display:grid;place-items:center;width:44px;height:44px;margin:0;border:1px solid #2C2C2C;border-radius:999px;background:none;color:#F4F4F4;cursor:pointer}
  .msheet-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
  .msheet ul{margin:0;padding:0;list-style:none;display:grid;gap:8px;max-width:none}
  .msheet li{margin:0}
  .msheet li[hidden]{display:none}
  .msheet ul a,.msheet ul button{display:flex;align-items:center;gap:14px;width:100%;min-height:58px;padding:10px 16px;margin:0;border:1px solid #2C2C2C;border-radius:14px;
    color:#F4F4F4;text-decoration:none;background:#0F0F0F;font:inherit;text-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent;
    transition:border-color var(--dur-1,.12s) linear,transform var(--dur-2,.22s) var(--e-pop,ease)}
  .msheet ul a:active,.msheet ul button:active{transform:scale(.98);border-color:var(--acc-ink);transition-duration:var(--dur-1,.12s)}
  .msheet ul a span,.msheet ul button span{display:grid;gap:3px;min-width:0}
  .msheet ul b{font-weight:600;font-size:15.5px;line-height:1.3}
  .msheet ul small{font-size:13px;line-height:1.45;color:#B0B0B0}
  [dir="rtl"] .msheet ul b{font-size:16.5px;font-family:var(--arabic)}
  /* the way the page leads with: a black ground, an orange frame and an orange title (orange text only on black) */
  .msheet ul .msheet-pri{border-color:var(--acc-ink);box-shadow:inset 0 0 0 .5px var(--acc-ink)}
  .msheet ul .msheet-pri b{color:var(--acc-ink)}
  .mmenu-list a{min-height:54px!important;font-family:var(--serif);font-size:24px;line-height:1.1;border-color:transparent!important;border-bottom:1px solid #262626!important;border-radius:0!important;background:none!important;padding:8px 6px!important}
  .mmenu-list a span{display:inline!important;font:500 11px/1 var(--mono);color:#8A8A8A;min-width:24px}
  .mmenu-list a[aria-current="page"]{color:var(--acc-ink)}
  [dir="rtl"] .mmenu-list a{font-family:var(--arabic);font-weight:600;font-size:20px}
  .mmenu-lang{margin:10px 6px 2px}
  .mmenu-lang a{display:inline-flex;align-items:center;min-height:44px;color:#F4F4F4;font-family:var(--arabic);font-size:17px;text-decoration:none;border-bottom:1px solid var(--acc-ink)}
  [dir="rtl"] .mmenu-lang a{font-family:var(--mono);font-size:14px}
  /* what sits on the bottom of the window moves up by the bar */
  html.has-mbar .tip.tip-sheet{bottom:calc(var(--mbar) + 2 * var(--mbar-gap) + 8px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:899px) and (prefers-reduced-motion:reduce){
  .mbar,.msheet-bg,.msheet-in,.msheet-in > *,.msheet-in::before,html.mbar-off .mbar,.mbar .mi,.mb-go i{transition:none!important;animation:none!important}
}
@media print{.mbar,.msheet{display:none!important}}
@media(max-width:899px){html.msheet-on,html.msheet-on body{overflow:hidden}}

.msheet-h:focus{outline:none}

/* HOMESTAT — the Cinematic look, for every page but the product pages (V2.4 review, 27 Oct 2026; templates/base.html sets
   body.cine). Walid, after Cinematic 2 became the home page: "Yes make it and reflect the same design to the whole website
   except for the product page". The brand stays: ink and paper, orange as the accent only, the dot letters, Instrument Serif
   and JetBrains Mono. What the home page brought, for all pages:
   - three grounds: the site's dotted paper (the page), bands of textured black (every section.on-ink: ink with the fine 14 px
     dots of experiment B, experiments/hero-b-villa-day.html, and a faint orange light in one corner) and sheets of textured
     white (section.sheet: the same dots, ink on white); a band or a sheet is as wide as the page, with a small margin;
   - a short dotted orange line above each section heading (it draws in on a computer);
   - the page hero (the dot display panel, Walid 23 Oct 2026) with the bands' corners; the footer as wide as the bands;
   - on a touch screen, the orange that hover gives on a computer: the card in view in a row that moves sideways
     (assets/live.js marks it .is-on), a bar under the row that fills as it moves, buttons that answer a tap.
   Orange text only on black (6.2 to 1 on #0A0A0A); on white the orange is for lines, dots and frames. The home page's own
   parts are in assets/home.css. */
body.cine{
  --tex-ink:radial-gradient(rgba(244,244,244,.06) 1px,transparent 1.2px);
  --tex-white:radial-gradient(rgba(10,10,10,.065) 1px,transparent 1.2px);
  --glow:radial-gradient(110% 70% at 100% 0%,rgba(255,87,5,.075),rgba(255,87,5,0) 62%);
  --k-raise:#141414; --k-raise2:#1A1A1A; --k-line:#272727; --k-line2:#333333; --k-soft:#B4B4B4;
  --band-r:clamp(22px,3vw,40px); --band-x:clamp(8px,1vw,14px)}
[dir="rtl"] body.cine,body.cine[dir="rtl"]{--glow:radial-gradient(110% 70% at 0% 0%,rgba(255,87,5,.075),rgba(255,87,5,0) 62%)}

/* ---------- the grounds ---------- */
body.cine main > section{padding-block:clamp(44px,6vw,92px)}
body.cine main > section.dx-sec{padding-block:0 clamp(14px,2vw,24px)}
body.cine main > section.on-ink:not(.hero4),body.cine main > section.sheet{margin:clamp(10px,1.2vw,16px) var(--band-x);border-radius:var(--band-r);padding-block:clamp(48px,7vw,104px)}
body.cine main > section.on-ink:not(.hero4){background-color:var(--ink);background-image:var(--glow),var(--tex-ink);background-size:auto,14px 14px;color:var(--paper);overflow:clip}
body.cine main > section.sheet{background-color:#FFFFFF;background-image:var(--tex-white);background-size:14px 14px;border:1px solid #E4E4E4}
/* the band is the section; its .wrap is the page's column again (not the site's inner ink panel) */
body.cine main > section.on-ink:not(.hero4) > .wrap{background:none;border-radius:0;padding:0 var(--gutter);max-width:var(--wrap);margin-inline:auto;overflow:visible}
body.cine main > section.on-ink .swipe{--bleed:var(--gutter)}
body.cine main > section.on-ink .caption{color:var(--herosub)}
/* the white cards on a textured white sheet keep a hairline */
body.cine .sheet .card,body.cine .sheet .ncard{border-color:#E2E2E2}
/* the page hero: the dot display panel, with the bands' corners (and the day panel of How it works) */
body.cine .dx,body.cine .dy{border-radius:var(--band-r)}
/* on a band: the card's small line in grey (the site's grey is too dark on black); a text card becomes one large statement
   in the serif, under a line, as the big sentence of the home page */
body.cine .on-ink .card .kick{color:var(--herosub)}
body.cine .on-ink .textcard{background:none;border:0;border-radius:0;padding:clamp(20px,2.4vw,30px) 0 0;border-top:1px solid var(--k-line)}
body.cine .on-ink .textcard p{font-family:var(--serif);font-size:clamp(21px,2.2vw,30px);line-height:1.35;color:var(--paper);max-width:46ch}
body.cine .on-ink .textcard p:last-child{margin-bottom:0}
[dir="rtl"] body.cine .on-ink .textcard p{font-family:var(--arabic);font-size:clamp(19px,1.9vw,25px);line-height:1.8}

/* ---------- headings, with the dotted orange line ---------- */
/* the section heads of every page at the scale of the home page's heads (.hv-head below; assets/home.css) */
body.cine .shead .dh,body.cine .cta .dh{--cw:clamp(17px,2.5vw,36px)}
body.cine .shead{gap:12px 56px;margin-bottom:clamp(26px,3.4vw,52px)}
@media(min-width:960px){body.cine .shead:not(.stack){grid-template-columns:minmax(0,6fr) minmax(0,6fr)}}
body.cine .shead .dh{margin-bottom:0}
body.cine .shead.stack .dh{margin-bottom:14px}
body.cine .shead .arh,body.cine .cta .arh,body.cine .map-copy .arh{font-size:clamp(28px,3.4vw,48px);margin-bottom:0}
body.cine .shead.stack .arh{margin-bottom:14px}
.hv-head{display:grid;gap:12px 56px;margin-bottom:clamp(26px,3.4vw,52px)}
@media(min-width:960px){.hv-head{grid-template-columns:minmax(0,6fr) minmax(0,6fr);align-items:end}.hv-head .lead{margin:0 0 8px}}
.hv-head .dh{margin:0}
.hv-head .more{margin-top:4px}
.hv-center{text-align:center;justify-items:center}
@media(min-width:960px){.hv-center{grid-template-columns:1fr}}
.hv-center .dh svg{margin-inline:auto}
.hv-center .lead{margin-inline:auto}
body.cine .shead::before,body.cine .hv-head::before,body.cine .cta .wrap > div:first-child::before,body.cine .map-copy::before{
  content:"";display:block;grid-column:1 / -1;width:58px;height:6px;margin-bottom:6px;transform-origin:0 50%;
  background:radial-gradient(circle at 3px 3px,var(--acc) 2.3px,transparent 2.8px) 0 0 / 13px 6px repeat-x}
body.cine .shead::before{margin-bottom:12px}
body.cine .cta .wrap > div:first-child::before{margin-bottom:18px}
body.cine .map-copy::before{margin-bottom:20px}
body.cine .map-copy .dh{--cw:clamp(17px,2.5vw,36px)}
body.cine .on-ink .shead::before,body.cine .on-ink .hv-head::before,body.cine .cta .wrap > div:first-child::before,body.cine .on-ink .map-copy::before{background-image:radial-gradient(circle at 3px 3px,var(--acc-ink) 2.3px,transparent 2.8px)}
[dir="rtl"] body.cine .shead::before,[dir="rtl"] body.cine .hv-head::before,[dir="rtl"] body.cine .cta .wrap > div:first-child::before,[dir="rtl"] body.cine .map-copy::before{transform-origin:100% 50%;background-position:100% 0}
body.cine .hv-center::before{transform-origin:50% 50%}
/* on a computer the line grows as its heading comes into view (assets/site.js marks a heading .reveal, then .in); on a phone
   it is there from the start, and the rows and grids show without their fade (the parts of a section, and the cards of a
   grid, .stagger), to keep 50 frames a second on the slow phone profile (fps.py; the Arabic home page went from 49 to 51) */
@media(min-width:720px){
  .js body.cine .shead.reveal::before,.js body.cine .hv-head.reveal::before,.js body.cine .mapband.reveal .map-copy::before{transform:scaleX(0);transition:transform var(--dur-4,.72s) var(--e-out,cubic-bezier(.2,.8,.2,1))}
  .js body.cine .shead.reveal.in::before,.js body.cine .hv-head.reveal.in::before,.js body.cine .mapband.reveal.in .map-copy::before{transform:none}
}
@media(max-width:719px){
  .js body.cine main > section > .wrap > .reveal:not(.shead):not(.hv-head):not(.dh),.js body.cine .stagger > *{opacity:1;transform:none;transition:none}
}

/* ---------- the footer: the same textured black, as wide as the bands, its words on the page's column ---------- */
body.cine footer{padding-top:clamp(10px,1.2vw,16px)}
body.cine footer > .wrap{background-image:var(--tex-ink);background-size:14px 14px;max-width:none;margin-inline:var(--band-x);border-radius:var(--band-r);
  padding-inline:max(clamp(22px,5vw,60px),calc((100% - var(--wrap)) / 2 + var(--gutter)))}

/* ---------- a touch screen: the orange that hover gives on a computer ---------- */
@media(hover:none){
  body.cine .btn:active{border-color:var(--acc);color:var(--ink)}
  body.cine .on-ink .btn:active{border-color:var(--acc-ink);color:var(--acc-ink)}
  body.cine .btn.primary:active,body.cine .on-ink .btn.primary:active{background:var(--acc-ink);border-color:var(--acc-ink);color:#FFFFFF}
  body.cine .card:active,body.cine .ncard:active,body.cine .doorlist a:active{border-color:var(--acc)}
}

/* ---------- a phone: the grounds a little closer; the count under a row that moves sideways (assets/site.css .swipe), with
   an orange bar that fills as the row moves (--p from assets/live.js) ---------- */
@media(max-width:719px){
  body.cine main > section{padding-block:clamp(36px,9.5vw,56px)}
  body.cine main > section.on-ink:not(.hero4),body.cine main > section.sheet{border-radius:22px;padding-block:clamp(40px,11vw,60px)}
  body.cine .swipe-count{display:flex;align-items:center;gap:12px}
  body.cine .swipe-count::after{content:"";flex:0 0 64px;height:2px;border-radius:2px;background:linear-gradient(var(--acc),var(--acc)) 0 0 / calc(var(--p,0) * 100%) 100% no-repeat,#D4D4D4;transition:background-size .3s ease}
  body.cine .on-ink .swipe-count::after{background:linear-gradient(var(--acc-ink),var(--acc-ink)) 0 0 / calc(var(--p,0) * 100%) 100% no-repeat,#363636}
  [dir="rtl"] body.cine .swipe-count::after{background-position:100% 0}
  /* the cards of the rows that move sideways on the inner pages (V2.4): each a card of its own */
  body.cine .grid.swipe > .card,body.cine .steps.swipe > li,body.cine .cards3.swipe > *{flex-basis:80%}
  body.cine .finrow.swipe > li{flex-basis:58%}
  body.cine .steps.swipe > li{border:1px solid var(--line);border-radius:var(--r);background:var(--card);padding:20px}
  body.cine .on-ink .steps.swipe > li{border-color:var(--line-ink);background:#141414}
}
/* the card in view in a row: on a touch screen, the look that hover gives on a computer (assets/live.js, .is-on) */
@media(hover:none){
  body.cine .famgrid.swipe > .famcard.is-on .famimg,body.cine .finrow.swipe > li.is-on .finimg{box-shadow:0 0 0 1.5px var(--acc),0 10px 26px rgba(0,0,0,.08)}
  body.cine .artlist.swipe > li.is-on > .card{border-color:var(--acc);box-shadow:0 0 0 .5px var(--acc)}
  body.cine .rail.swipe > .ncard.is-on,body.cine .grid.swipe > .ncard.is-on{box-shadow:0 0 0 1.5px var(--acc),0 10px 26px rgba(0,0,0,.06)}
  body.cine .doorlist.swipe > li.is-on,body.cine .syslist.swipe > li.is-on,body.cine .grid.swipe > .card.is-on,body.cine .sys6.swipe > .card.is-on,body.cine .steps.swipe > li.is-on,body.cine .pack.swipe > figure.is-on .phoneshot{border-color:var(--acc);box-shadow:0 0 0 .5px var(--acc)}
  body.cine .on-ink .doorlist.swipe > li.is-on,body.cine .on-ink .syslist.swipe > li.is-on,body.cine .on-ink .grid.swipe > .card.is-on,body.cine .on-ink .steps.swipe > li.is-on{border-color:var(--acc-ink);box-shadow:0 0 0 .5px var(--acc-ink)}
  body.cine .steps.swipe > li.is-on .hiw-art .dash{stroke:var(--acc)}
  body.cine .on-ink .doorlist.swipe > li.is-on b,body.cine .on-ink .grid.swipe > .card.is-on h3,body.cine .on-ink .steps.swipe > li.is-on h3{color:var(--acc-ink)}
  body.cine .famgrid.swipe .famimg,body.cine .finrow.swipe .finimg,body.cine .artlist.swipe .card,body.cine .rail.swipe > .ncard,body.cine .grid.swipe > *,body.cine .sys6.swipe > *,body.cine .doorlist.swipe > li,body.cine .syslist.swipe > li,body.cine .steps.swipe > li{transition:border-color .25s ease,box-shadow .25s ease}
}
@media(prefers-reduced-motion:reduce){
  .js body.cine .shead.reveal::before,.js body.cine .hv-head.reveal::before,.js body.cine .mapband.reveal .map-copy::before{transition:none;transform:none}
  body.cine .swipe-count::after{transition:none}
}

/* ---------- the product pages (V2.5, 27 Oct 2026; Walid: "Make sure the full website is homogenous" and "don't rebuild the
   elements we have in the product page (you can move things around)"). The Products page, the brand pages and the product
   pages take this look too: the same header, footer, bands and buttons. Their tools (3D, the screens, Compare, the tips,
   full size, the finishes) are not touched. Their sections keep their own spacing; the specifications, the samples and
   the other brands sit on a textured white sheet; each main section heading has the dotted orange line. ---------- */
body.cine main > section.rs:not(.sheet){padding-block:clamp(56px,7.5vw,104px) 0}
body.cine main > section.rs-last:not(.sheet){padding-bottom:clamp(56px,7vw,96px)}
body.cine main > section.rs-types{padding-top:clamp(40px,5vw,72px)}
body.cine main > section.fam{padding-block:clamp(34px,4.4vw,56px) 0}
body.cine main > section.pfam{padding-block:clamp(18px,3vw,34px)}
body.cine main > section.rs.sheet{margin-top:clamp(40px,6vw,88px);scroll-margin-top:52px}
body.cine main > section.otherbrands.sheet{margin-top:clamp(28px,4vw,56px)}
body.cine .sheet .pfam-head{border-top:0;padding-top:0}
body.cine .sheet .samplesband{background:none;border:0;border-radius:0;padding:0}
body.cine .rs-head > div:first-child::before,body.cine .sheet .pfam-head::before,body.cine .sheet .samplesband > div:first-child::before{
  content:"";display:block;width:58px;height:6px;margin-bottom:14px;flex:0 0 100%;
  background:radial-gradient(circle at 3px 3px,var(--acc) 2.3px,transparent 2.8px) 0 0 / 13px 6px repeat-x}
body.cine .sheet .pfam-head::before{max-width:58px}
[dir="rtl"] body.cine .rs-head > div:first-child::before,[dir="rtl"] body.cine .sheet .pfam-head::before,[dir="rtl"] body.cine .sheet .samplesband > div:first-child::before{background-position:100% 0}

/* HOMESTAT — the home page (V2.4 review, 27 Oct 2026; templates/index.html). The look is Cinematic 2, which Walid approved
   on 26 Oct 2026 ("Yes make it and reflect the same design to the whole website except for the product page"). The parts
   that every page shares (the grounds, the bands of textured black and the sheets of textured white, the dotted orange line
   above each heading, the footer, the touch-screen orange, the bar under a sideways row) are in assets/cine.css; this file
   has only the home page's own parts. Orange text only on black (6.2 to 1 on #0A0A0A); on white the orange is for lines,
   dots and frames. */

/* ---------- the grounds: the home keeps the spacing that Walid approved (a little more than the other pages) ---------- */
body.hv-cine2 main > section{padding-block:clamp(48px,7vw,104px)}
body.hv-cine2 main > section.on-ink:not(.hero4),body.hv-cine2 main > section.sheet{padding-block:clamp(52px,7.4vw,112px)}
.hv-cine2 .hv-head .dh,.hv-cine2 .hv-sys-copy .dh{--cw:clamp(17px,2.5vw,36px)}

/* the dotted orange line of two headings that are not in a .hv-head (the map's is in assets/cine.css): on a computer it grows
   as the heading comes into view */
.hv-cine2 .hv-sys-copy::before,.hv-cine2 .hv-end .dh::before{
  content:"";display:block;width:58px;height:6px;margin-bottom:20px;transform-origin:0 50%;
  background:radial-gradient(circle at 3px 3px,var(--acc) 2.3px,transparent 2.8px) 0 0 / 13px 6px repeat-x}
.hv-cine2 .hv-end .dh::before{background-image:radial-gradient(circle at 3px 3px,var(--acc-ink) 2.3px,transparent 2.8px)}
.hv-cine2 .hv-end .dh::before{margin:0 auto 26px;transform-origin:50% 50%}
@media(min-width:720px){
  .js .hv-cine2 .hv-sys-copy::before,.js .hv-cine2 .hv-end .dh::before{transform:scaleX(0);transition:transform .8s cubic-bezier(.2,.8,.2,1) .25s}
  .js .hv-cine2 .hv-sys-grid.in .hv-sys-copy::before,.js .hv-cine2 .hv-end .dh.in::before{transform:none}
}

/* ---------- the hero: the panel of experiment B (textured black), the Cinematic scale, an orange first line ---------- */
.hv-cine2 .hero4.on-ink > .wrap{background-color:var(--ink);background-image:var(--tex-ink);background-size:14px 14px;border-radius:var(--band-r)}
.hv-cine2 .hero4 h1.dh{--cw:clamp(24px,4.4vw,66px)}
.hv-cine2 .hero4 .h4-lead{font-size:clamp(21px,2.1vw,31px);max-width:27ch}
/* the hero's first line (Walid, 26 Oct 2026: the small top line out; "Designing ELV systems since 2020" in): one short line
   in a pill, with an orange light */
.hv-cine2 .hero4 .h4-since{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;box-sizing:border-box;width:max-content;max-width:100%;margin:0 0 20px;padding:7px 15px 7px 12px;border:1px solid rgba(244,244,244,.26);border-radius:999px;font:600 11px/1.3 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--paper)}
.hv-cine2 .hero4 .h4-since span{flex:none;width:7px;height:7px;border-radius:50%;background:var(--acc-ink);box-shadow:0 0 0 4px rgba(255,87,5,.2)}
@media(max-width:400px){.hv-cine2 .hero4 .h4-since{gap:9px;padding:6px 12px 6px 10px;font-size:10.5px;letter-spacing:.08em}}
/* picking a system (Walid, 26 Oct 2026: "keep a highlight for the rest of the systems and show the one picked clearly"): the
   other systems stay, faint; the picked one has an orange edge, orange devices and an orange name */
.hv-cine2 .hero4 .h4-stack.solo .h4-layer:not(.hi){opacity:.38;visibility:visible;transition:opacity .3s ease}
.hv-cine2 .hero4 .h4-layer.hi > svg > rect:first-of-type{stroke:#FF5705;stroke-width:2;fill:rgba(255,87,5,.08)}
.hv-cine2 .hero4 .h4-stack.solo .h4-layer.hi [fill="#F4F4F4"]{fill:#FF5705}
.hv-cine2 .hero4 .h4-stack.solo .h4-layer.hi [stroke="#F4F4F4"]{stroke:#FF5705}
.hv-cine2 .hero4 .h4-stack.solo .h4-layer.hi text.lt{fill:#FF5705}
.hv-cine2 .hero4 .h4-scene::before{content:"";position:absolute;left:8%;right:8%;top:6%;height:72%;background:radial-gradient(closest-side,rgba(255,87,5,.15),rgba(255,87,5,0));pointer-events:none}

/* ---------- the film, on the dotted paper ---------- */
.hv-cine2 main > section.hv-film{padding-top:clamp(36px,5.6vw,80px)}
.hv-frame{position:relative;aspect-ratio:16/9;border-radius:clamp(14px,2vw,28px);overflow:hidden;background:#000;box-shadow:0 0 0 1px rgba(10,10,10,.14),0 44px 90px -46px rgba(10,10,10,.6),0 30px 120px -50px rgba(255,87,5,.38)}
.hv-frame video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.hv-frame .hv-teaser,.hv-frame .hv-play{display:none}
.hv-frame.ready .hv-teaser{display:block}
.hv-frame.ready .hv-full{visibility:hidden}
.hv-frame.ready::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(to top,rgba(0,0,0,.62),rgba(0,0,0,0));pointer-events:none}
.hv-frame.ready .hv-play{white-space:nowrap;position:absolute;z-index:2;left:clamp(14px,2.6vw,36px);bottom:clamp(14px,2.6vw,34px);display:inline-flex;align-items:center;gap:14px;margin:0;padding:8px 22px 8px 8px;border-radius:999px;background:rgba(10,10,10,.62);color:#F4F4F4;border:1px solid rgba(244,244,244,.28);font:600 11.5px/1.35 var(--mono);letter-spacing:.14em;text-transform:uppercase;text-align:start;cursor:pointer;transition:border-color var(--t),background var(--t)}
.hv-play-i{position:relative;flex:none;width:46px;height:46px;border-radius:50%;background:#F4F4F4;transition:background var(--t)}
.hv-play-i::after{content:"";position:absolute;left:18px;top:14px;border-left:14px solid #0A0A0A;border-top:9px solid transparent;border-bottom:9px solid transparent;transition:border-color var(--t)}
.hv-play-t small{display:block;margin-top:3px;font-weight:400;font-size:11.5px;letter-spacing:.04em;text-transform:none;color:#C4C4C4}
@media(hover:hover){.hv-play:hover{border-color:var(--acc-ink)}} @media(hover:hover){.hv-play:hover .hv-play-i{background:var(--acc-ink)}} @media(hover:hover){.hv-play:hover .hv-play-i::after{border-left-color:#FFFFFF}}
.hv-play:focus-visible{outline:2px solid var(--acc-ink);outline-offset:3px}
.hv-frame.playing::after,.hv-frame.playing .hv-teaser,.hv-frame.playing .hv-play{display:none}
.hv-frame.playing .hv-full{visibility:visible}
.hv-film .caption{margin-top:16px}
.js .hv-cine2 .hv-frame.reveal{transform:translateY(26px) scale(.94);transition:opacity .8s ease,transform 1.1s cubic-bezier(.2,.8,.2,1)}
.js .hv-cine2 .hv-frame.reveal.in{transform:none}

/* ---------- the big film (Walid, 26 Oct 2026: "can you make the video bigger", then "Yes leave the big video its approved").
   The frame leaves the page's column: on a computer it is as wide as the bands, but never taller than 88% of the screen, so
   the whole film shows at once; on a phone it runs from edge to edge. ---------- */
.hv-bigframe{margin:0 var(--band-x)}
.hv-bigframe .hv-frame{max-width:calc(88vh * 16 / 9);margin-inline:auto;border-radius:var(--band-r)}
.hv-bigfilm .caption{margin-top:16px}
@media(min-width:960px){.hv-bigframe .hv-frame.ready .hv-play{transform:scale(1.15);transform-origin:0 100%}}
@media(max-width:719px){.hv-bigframe{margin:0}.hv-bigframe .hv-frame{border-radius:0;box-shadow:none}}

/* ---------- who we help, on black: an index of four, the names large ---------- */
.hv-index{list-style:none;margin:0;padding:0;max-width:none;border-top:1px solid var(--k-line)}
.hv-index li{margin:0;border-bottom:1px solid var(--k-line)}
.hv-index a{position:relative;display:grid;gap:8px 48px;padding:clamp(20px,2.6vw,34px) 64px clamp(20px,2.6vw,34px) 4px;border:0;color:inherit}
@media(min-width:900px){.hv-index a{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:center}}
.hv-index b{font-family:var(--serif);font-weight:400;font-size:clamp(32px,4.6vw,68px);line-height:1;letter-spacing:-.01em;color:var(--paper);transition:color var(--t)}
.hv-index a > span{font-size:14px;line-height:1.65;color:var(--k-soft);max-width:44ch}
.hv-index a::after{content:"→";position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:24px;color:#5A5A5A;transition:transform var(--t),color var(--t)}
@media(hover:hover){.hv-index a:hover{color:inherit}} @media(hover:hover){.hv-index a:hover b{color:var(--acc-ink)}} @media(hover:hover){.hv-index a:hover::after{color:var(--acc-ink);transform:translate(6px,-50%)}}

/* ---------- designed together, on the textured white: one big sentence beside the six systems ---------- */
.hv-sys-grid{display:grid;gap:clamp(24px,3vw,40px)}
@media(min-width:1000px){.hv-sys-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:72px;align-items:start}.hv-sys-copy{position:sticky;top:110px}}
.hv-sys-copy .dh{margin-bottom:22px}
.hv-big{font-family:var(--serif);font-size:clamp(27px,3.1vw,46px);line-height:1.14;color:var(--ink);max-width:19ch;margin:0}
.hv-cards{list-style:none;margin:0;padding:0;max-width:none;display:grid;gap:12px}
@media(min-width:720px){.hv-cards{grid-template-columns:1fr 1fr}}
.hv-cards li{margin:0;display:flex;flex-direction:column;gap:12px;padding:26px 24px 28px;background:#FFFFFF;border:1px solid #E2E2E2;border-radius:22px;transition:border-color var(--t),transform var(--t),box-shadow var(--t)}
@media(hover:hover){.hv-cards li:hover{border-color:var(--acc);box-shadow:0 0 0 .5px var(--acc),0 18px 40px -28px rgba(10,10,10,.35);transform:translateY(-2px)}}
.hv-cards svg{width:50px;height:50px;margin-bottom:6px}
.hv-cards h3{margin:0;font-size:clamp(25px,2.2vw,31px);color:var(--ink)}
.hv-cards p{margin:0;font-size:13.5px;line-height:1.65;color:#4A4A4A}

/* ---------- from plans to a bill, on the dotted paper: a journey line (Walid, 26 Oct 2026: "needs a complete redesign") ----
   Five stations on one line: a node, the line to the next station, a dot icon, a number, a title, one or two sentences.
   Our part of the line is solid and fills with orange (.go); the installer's part is dotted grey (the installer's work).
   A station reached is .on (assets/home-journey.js); without the script, .jr-js is not set and everything shows lit. */
.jr{--jg:28px;--jv:34px;position:relative}
.jr-line{list-style:none;margin:0;padding:0;max-width:none}
.jr-st{position:relative;margin:0}
.jr-node{position:absolute;left:0;top:0;z-index:1;box-sizing:border-box;width:14px;height:14px;border-radius:50%;background:var(--acc);border:2px solid var(--acc);box-shadow:0 0 0 5px rgba(232,73,15,.14);transition:background .35s ease,border-color .35s ease,box-shadow .35s ease}
.jr-seg{position:absolute;pointer-events:none}
.jr-seg i{position:absolute;inset:0;background:var(--acc);transition:transform .6s cubic-bezier(.4,0,.2,1)}
.jr-ico{display:block;width:58px;height:58px;margin:0 0 16px;color:var(--acc);transition:color .4s ease}
.jr-k{margin:0 0 6px;font:600 11px/1.3 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--ink);transition:color .4s ease}
.jr-st h3{margin:0 0 8px;font-size:clamp(23px,2vw,28px);line-height:1.15;color:var(--ink)}
.jr-st p:not(.jr-k){margin:0;font-size:13.5px;line-height:1.65;color:#3A3A3A;max-width:34ch}
/* the installer's station: not ours, so ink and a hollow, dashed node */
.jr-theirs .jr-node{background:#FFFFFF;border:2px dashed #7A7A7A;box-shadow:none}
.jr-theirs .jr-ico{color:var(--ink)}
.jr-theirs .jr-k{color:#6E6E6E}
.jr-more{display:inline-block;margin-top:clamp(26px,3vw,40px)}
/* the stations not reached yet */
.jr-js .jr-st:not(.on) .jr-node{background:#FFFFFF;border-color:#C8C8C8;box-shadow:none}
.jr-js .jr-st:not(.on) .jr-ico{color:#D2D2D2}
.jr-js .jr-st:not(.on) .jr-k{color:#A2A2A2}
.jr-js .jr-st.on .jr-ico{animation:jrpop .5s cubic-bezier(.2,.8,.2,1)}
@keyframes jrpop{from{transform:scale(.88)}60%{transform:scale(1.05)}to{transform:none}}
/* a computer: the line runs across; the span "In hours, on a working day" over our four stations */
@media(min-width:960px){
  .jr-line{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 var(--jg)}
  .jr-st{padding-top:36px}
  .jr-seg{left:14px;top:6px;width:calc(100% + var(--jg) - 14px);height:2px;background:radial-gradient(circle,#BDBDBD 1px,transparent 1.4px) 0 50% / 6px 2px repeat-x}
  .jr-seg i{transform-origin:0 50%}
  .jr-js .jr-st:not(.go) .jr-seg i{transform:scaleX(0)}
  .jr-seg.jr-theirs{background:radial-gradient(circle,#8A8A8A 1.2px,transparent 1.6px) 0 50% / 9px 3px repeat-x}
  .jr-span{position:relative;display:flex;align-items:center;justify-content:center;width:calc((100% + var(--jg)) * 3 / 5 + 14px);height:24px;margin:0 0 20px}
  .jr-span::before{content:"";position:absolute;left:6px;right:6px;top:50%;height:9px;border:1px solid rgba(10,10,10,.3);border-bottom:0}
  .jr-span span{position:relative;padding:0 14px;background:var(--paper);font:600 11px/1.3 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
}
/* a phone or a tablet: the line runs down the page */
@media(max-width:959px){
  .jr-st{padding:0 0 0 42px;margin-bottom:var(--jv)}
  .jr-st:last-child{margin-bottom:0}
  .jr-node{top:3px}
  .jr-seg{left:6px;top:19px;width:2px;height:calc(100% + var(--jv) - 16px);background:radial-gradient(circle,#BDBDBD 1px,transparent 1.4px) 50% 0 / 2px 6px repeat-y}
  .jr-seg i{transform-origin:50% 0}
  .jr-js .jr-st:not(.go) .jr-seg i{transform:scaleY(0)}
  .jr-seg.jr-theirs{background:radial-gradient(circle,#8A8A8A 1.2px,transparent 1.6px) 50% 0 / 3px 9px repeat-y}
  .jr-ico{width:48px;height:48px;margin-bottom:12px}
  .jr-st p:not(.jr-k){max-width:46ch}
  .jr-span{display:inline-flex;align-items:center;gap:9px;margin:0 0 24px;padding:6px 14px 6px 12px;border:1px solid rgba(10,10,10,.22);border-radius:999px;font:600 10.5px/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}
  .jr-span::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--acc)}
}
/* the signal: once every station is lit, a light runs along our part of the line every 6 s (one composited move) */
.jr-run{display:none;position:absolute;z-index:2;pointer-events:none;overflow:hidden}
.jr.all .jr-run{display:block}
.jr-run i{position:absolute}
.jr-run i::after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:#FFE1D2;box-shadow:0 0 0 2px rgba(255,87,5,.95),0 0 16px 5px rgba(255,87,5,.5)}
@media(min-width:960px){
  .jr-run{left:var(--x);top:calc(var(--y) - 8px);width:var(--w);height:16px}
  .jr-run i{left:0;right:0;top:7px;height:2px;background:linear-gradient(to right,rgba(255,225,210,0) calc(100% - 70px),rgba(255,225,210,.95));transform:translateX(-100%)}
  .jr-run i::after{right:-5px;top:-4px}
  .jr.all .jr-run i{animation:jrrunx 6s cubic-bezier(.45,0,.25,1) .6s infinite}
}
@media(max-width:959px){
  .jr-run{left:calc(var(--x) - 8px);top:var(--y);width:16px;height:var(--h)}
  .jr-run i{top:0;bottom:0;left:7px;width:2px;background:linear-gradient(to bottom,rgba(255,225,210,0) calc(100% - 70px),rgba(255,225,210,.95));transform:translateY(-100%)}
  .jr-run i::after{bottom:-5px;left:-4px}
  .jr.all .jr-run i{animation:jrruny 6s cubic-bezier(.45,0,.25,1) .6s infinite}
}
@keyframes jrrunx{0%{transform:translateX(-100%);opacity:0}5%{opacity:1}34%{transform:translateX(0);opacity:1}40%,100%{transform:translateX(0);opacity:0}}
@keyframes jrruny{0%{transform:translateY(-100%);opacity:0}5%{opacity:1}34%{transform:translateY(0);opacity:1}40%,100%{transform:translateY(0);opacity:0}}
/* a phone or a tablet (2 Nov 2026, the paint pass): a station lights at once as it is reached; its line still fills. The
   fade of the node's colour, border and halo was painted again on every frame of the scroll (phone test: 51 to 52 frames a
   second, the long tasks 50 to 0 ms) */
@media(max-width:959px){.jr-node,.jr-k{transition:none}}
@media(prefers-reduced-motion:reduce){.jr-seg i,.jr-node,.jr-ico,.jr-k{transition:none}.jr-js .jr-st.on .jr-ico{animation:none}.jr-run{display:none!important}}

/* ---------- written three ways, on black: the three documents as phones on a stage ---------- */
.hv-phones{display:grid;gap:clamp(16px,2.4vw,36px);align-items:start}
@media(min-width:800px){.hv-phones{grid-template-columns:repeat(3,minmax(0,1fr))}.hv-phones > figure:nth-child(odd){margin-top:56px}}
.hv-phones figure{margin:0;display:flex;flex-direction:column;gap:18px}
.hv-phones .phoneshot{border-radius:30px;overflow:hidden;background:#fff;border:7px solid #1E1E1E;box-shadow:0 0 0 1px #343434,0 40px 90px -40px rgba(0,0,0,.95);max-height:560px;transition:box-shadow var(--t),transform var(--t)}
@media(hover:hover){.hv-phones figure:hover .phoneshot{box-shadow:0 0 0 2px var(--acc-ink),0 40px 90px -40px rgba(0,0,0,.95);transform:translateY(-3px)}}
.hv-phones .phoneshot img{display:block;width:100%;height:auto}
.hv-phones figcaption b{display:block;font-family:var(--serif);font-weight:400;font-size:clamp(23px,2vw,28px);line-height:1.2;color:var(--paper);margin-bottom:6px}
.hv-phones figcaption span{font-size:13.5px;line-height:1.6;color:var(--k-soft)}
.hv-note{margin:clamp(18px,2.4vw,30px) auto 0;text-align:center;font-size:13px;color:#9A9A9A;max-width:64ch}
.hv-cine2 .hv-docs .hv-shotnote{margin:clamp(26px,3.6vw,46px) auto 0;text-align:center;max-width:none}

/* ---------- on the wall, on the textured white ---------- */
.hv-wall .famcard b{font-size:clamp(23px,2vw,28px)}

/* ---------- the map, on black ---------- */
@media(min-width:980px){.hv-map .mapband{grid-template-columns:minmax(0,3.6fr) minmax(0,8.4fr);gap:56px}}

/* ---------- the journal, on the dotted paper ---------- */
@media(min-width:720px){.hv-news .rail > *{flex-basis:min(360px,82vw)}}

/* ---------- the closing, on black: large, centred ---------- */
body.hv-cine2 main > section.hv-end.on-ink{padding-block:clamp(64px,9vw,150px) clamp(52px,7vw,110px)}
.hv-end .wrap{display:flex;flex-direction:column;align-items:center;text-align:center}
.hv-end .dh{--cw:clamp(24px,4.6vw,66px);margin:0 auto 22px}
.hv-end .lead{margin:0 auto;max-width:34ch;text-align:center}
.hv-end .btns,.hv-end .doors2-more{justify-content:center}
.hv-end .qpreview{margin-top:clamp(36px,5vw,64px);width:min(460px,100%);text-align:start;background:var(--k-raise);border-color:var(--k-line);color:var(--paper)}
.hv-end .qp-room{color:var(--k-soft)}
.hv-end .qpreview li{background:var(--k-raise2);border-color:var(--k-line2);color:#DADADA}
.hv-end .qpreview li.on{background:var(--paper);border-color:var(--paper);color:var(--ink)}
.hv-end .qp-dots i{background:#3A3A3A} .hv-end .qp-dots i.on{background:var(--acc-ink);box-shadow:0 0 0 4px rgba(255,87,5,.18)}
@media(max-width:719px){.hv-end .qpreview{display:none}}

/* ---------- a touch screen: the orange that hover gives on a computer (the shared parts are in assets/cine.css) ---------- */
@media(hover:none){
  .hv-cine2 .hv-play-i{background:var(--acc-ink)} .hv-cine2 .hv-play-i::after{border-left-color:#FFFFFF}
  .hv-cine2 .hv-frame.ready .hv-play{border-color:rgba(255,87,5,.6)}
  .hv-cine2 .hv-index a:active b{color:var(--acc-ink)}
  .hv-cine2 .hv-cards li:active{border-color:var(--acc)}
}

/* ---------- a phone: the card groups as rows that move sideways (assets/site.css .swipe) ---------- */
@media(max-width:719px){
  body.hv-cine2 main > section{padding-block:clamp(40px,11vw,64px)}
  body.hv-cine2 main > section.on-ink:not(.hero4),body.hv-cine2 main > section.sheet{padding-block:clamp(44px,12vw,68px)}
  .hv-index.swipe{border-top:0}
  .hv-index.swipe > li{display:flex;border:1px solid var(--k-line);border-radius:20px;background:var(--k-raise);transition:border-color .25s ease}
  .hv-index.swipe a{flex:1 1 auto;display:flex;flex-direction:column;gap:12px;padding:24px 20px 60px}
  .hv-index.swipe b{font-size:31px;line-height:1.05}
  .hv-index.swipe a::after{top:auto;bottom:20px;left:20px;right:auto;transform:none;color:var(--acc-ink)}
  .hv-cards.swipe > li{flex-basis:78%}
  .hv-phones.swipe > figure{flex-basis:72%}
  .hv-phones .phoneshot{max-height:440px;border-width:6px;border-radius:26px}
  .hv-frame{border-radius:16px}
  /* (the frame stays 16:9 on a phone: a square crop cut the film's labels at the left; 26 Oct 2026) */
  .hv-frame.ready .hv-play{padding:6px 16px 6px 6px;gap:10px}
  .hv-play-i{width:40px;height:40px} .hv-play-i::after{left:16px;top:12px;border-left-width:12px;border-top-width:8px;border-bottom-width:8px}
}
/* the card in view in a row: on a touch screen, the look that hover gives on a computer (assets/live.js, .is-on; on a
   tablet only the journal row moves, so only it is marked) */
@media(hover:none){
  .hv-cine2 .hv-index.swipe > li.is-on{border-color:var(--acc-ink)}
  .hv-cine2 .hv-index.swipe > li.is-on b{color:var(--acc-ink)}
  .hv-cine2 .hv-cards.swipe > li.is-on{border-color:var(--acc);box-shadow:0 0 0 .5px var(--acc)}
  .hv-cine2 .hv-phones.swipe > figure.is-on .phoneshot{box-shadow:0 0 0 2px var(--acc-ink),0 30px 70px -36px rgba(0,0,0,.95)}
  .hv-cine2 .hv-cards.swipe > li,.hv-cine2 .hv-phones .phoneshot{transition:border-color .25s ease,box-shadow .25s ease}
}
@media(prefers-reduced-motion:reduce){
  .js .hv-cine2 .hv-sys-copy::before,.js .hv-cine2 .hv-end .dh::before{transition:none;transform:none}
}
.hv .nw{white-space:nowrap}   /* "fit-out" stays on one line */

/* ==================== V2.5 (27 Oct 2026): Who we help on a white sheet under the hero, the documents on the paper ==================== */
.hv-who.sheet{--k-line:#E4E4E4;--k-soft:#5F5F5F;--k-raise:#FFFFFF}
.hv-who.sheet .hv-index b{color:var(--ink)}
.hv-who.sheet .hv-index a::after{color:#8A8A8A}
@media(hover:hover){.hv-who.sheet .hv-index a:hover b{color:var(--ink);text-decoration:underline;text-decoration-color:var(--acc);text-decoration-thickness:2px;text-underline-offset:8px}.hv-who.sheet .hv-index a:hover::after{color:var(--acc)}}
.hv-cine2 .hv-who.sheet .hv-index a:active b{color:var(--ink)}
@media(max-width:719px){
  .hv-who .hv-index a{padding:16px 40px 16px 2px;gap:6px}
  .hv-who .hv-index b{font-size:27px;line-height:1.05}
  .hv-who .hv-index a > span{font-size:14.5px;line-height:1.5}
  .hv-who .hv-index a::after{font-size:20px;right:4px}
  [dir="rtl"] .hv-who .hv-index a{padding:16px 2px 16px 40px}
}
.hv-docs:not(.on-ink){--k-soft:#5F5F5F}
.hv-docs:not(.on-ink) .hv-phones figcaption b{color:var(--ink)}
.hv-docs:not(.on-ink) .hv-phones .phoneshot{box-shadow:0 0 0 1px #343434,0 30px 60px -36px rgba(10,10,10,.45)}
@media(hover:hover){.hv-docs:not(.on-ink) .hv-phones figure:hover .phoneshot{box-shadow:0 0 0 2px var(--acc),0 30px 60px -36px rgba(10,10,10,.45)}}
@media(hover:none){.hv-cine2 .hv-docs:not(.on-ink) .hv-phones.swipe > figure.is-on .phoneshot{box-shadow:0 0 0 2px var(--acc),0 24px 50px -30px rgba(10,10,10,.45)}}
/* a phone: the end of the page without the questionnaire's glimpse (it is a picture of a step; the button above opens the
   real one), so the page is shorter */
@media(max-width:719px){.hv-end .qpreview{display:none}}
/* a phone: the journey's steps without their dot pictures (the line, its nodes and the words stay), so the page is shorter */
@media(max-width:719px){.jr-ico{display:none}}

/* ==================== the Arabic home page (2 Nov 2026; Walid: "arabic was not updated in the same way as English"):
   templates/ar/index.html has the sections of the English page in the same order; these rules turn them right to left.
   The headings are words in the Arabic face (.arh, its full stop the orange dot of site.css), at the scale of the dot
   headings; the mono labels take the Arabic face with no letter spacing (spacing breaks the joined letters). The film, the
   map and the dot pictures stay as they are. ==================== */
.hv-cine2 .hv-head .arh,.hv-cine2 .hv-sys-copy .arh,.hv-cine2 .map-copy .arh{font-size:clamp(30px,3.6vw,52px);line-height:1.3;margin:0}
.hv-cine2 .hv-sys-copy .arh{margin-bottom:22px}
.hv-cine2 .hero4 h1.arh{font-size:clamp(34px,4.4vw,64px);max-width:16ch}
.hv-cine2 .hv-end .arh{font-size:clamp(34px,4.8vw,68px);line-height:1.3;margin:0 auto 22px}
.hv-cine2 .hv-end .arh::before{content:"";display:block;width:58px;height:6px;margin:0 auto 26px;transform-origin:50% 50%;
  background:radial-gradient(circle at 3px 3px,var(--acc-ink) 2.3px,transparent 2.8px) 0 0 / 13px 6px repeat-x}
@media(min-width:720px){
  .js .hv-cine2 .hv-end .arh::before{transform:scaleX(0);transition:transform .8s cubic-bezier(.2,.8,.2,1) .25s}
  .js .hv-cine2 .hv-end .arh.in::before{transform:none}
}
[dir="rtl"] .hv-cine2 .hero4 .h4-since{font-family:var(--arabic);letter-spacing:0;text-transform:none;font-size:13px;padding:6px 12px 6px 15px}
[dir="rtl"] .hv-cine2 .hero4 .h4-lead{font-size:clamp(19px,1.9vw,27px);max-width:34ch}
[dir="rtl"] .hv-cine2 .hv-sys-copy::before{transform-origin:100% 50%;background-position:100% 0}
/* who we help: the arrow on the left, pointing left */
[dir="rtl"] .hv-index a{padding:clamp(20px,2.6vw,34px) 4px clamp(20px,2.6vw,34px) 64px}
[dir="rtl"] .hv-index a::after{content:"←";right:auto;left:8px}
@media(hover:hover){[dir="rtl"] .hv-index a:hover::after{transform:translate(-6px,-50%)}}
[dir="rtl"] .hv-index b{font-family:var(--arabic);font-weight:700;font-size:clamp(27px,3.6vw,52px);line-height:1.3;letter-spacing:0}
/* the big sentence and the documents' names */
[dir="rtl"] .hv-big{font-family:var(--arabic);font-weight:500;font-size:clamp(23px,2.5vw,36px);line-height:1.6;max-width:22ch}
[dir="rtl"] .hv-phones figcaption b{font-family:var(--arabic);font-weight:700;font-size:clamp(19px,1.7vw,23px)}
[dir="rtl"] .hv-wall .famcard b{font-family:var(--arabic);font-weight:700;font-size:clamp(18px,1.6vw,21px)}
/* the film's button: at the bottom right */
[dir="rtl"] .hv-frame.ready .hv-play{left:auto;right:clamp(14px,2.6vw,36px);padding:8px 8px 8px 22px;font-family:var(--arabic);letter-spacing:0;text-transform:none;font-size:15px}
[dir="rtl"] .hv-play-t small{font-size:12.5px;letter-spacing:0}
@media(min-width:960px){[dir="rtl"] .hv-bigframe .hv-frame.ready .hv-play{transform-origin:100% 100%}}
/* the journey: from right to left on a computer; down the page on a phone, the nodes on the right */
[dir="rtl"] .jr-node{left:auto;right:0}
[dir="rtl"] .jr-k,[dir="rtl"] .jr-span,[dir="rtl"] .jr-span span{font-family:var(--arabic);letter-spacing:0;text-transform:none}
[dir="rtl"] .jr-k{font-size:13px} [dir="rtl"] .jr-span span{font-size:13px}
@media(min-width:960px){
  [dir="rtl"] .jr-seg{left:auto;right:14px;background-position:100% 50%}
  [dir="rtl"] .jr-seg i{transform-origin:100% 50%}
  [dir="rtl"] .jr-run i{background:linear-gradient(to left,rgba(255,225,210,0) calc(100% - 70px),rgba(255,225,210,.95));transform:translateX(100%)}
  [dir="rtl"] .jr-run i::after{right:auto;left:-5px}
  [dir="rtl"] .jr.all .jr-run i{animation-name:jrrunxr}
}
@keyframes jrrunxr{0%{transform:translateX(100%);opacity:0}5%{opacity:1}34%{transform:translateX(0);opacity:1}40%,100%{transform:translateX(0);opacity:0}}
@media(max-width:959px){
  [dir="rtl"] .jr-st{padding:0 42px 0 0}
  [dir="rtl"] .jr-seg{left:auto;right:6px}
  [dir="rtl"] .jr-span{padding:6px 12px 6px 14px;font-size:13px}
}
/* (the map's Arabic words: assets/site.css, the Gulf map, as About has the map too) */
/* the questionnaire's glimpse */
[dir="rtl"] .hv-end .qp-q{font-family:var(--arabic)}
@media(max-width:719px){
  [dir="rtl"] .hv-frame.ready .hv-play{padding:6px 6px 6px 16px}
  [dir="rtl"] .hv-who .hv-index a::after{right:auto;left:4px}
  [dir="rtl"] .hv-who .hv-index b{font-size:25px;line-height:1.3}
}
@media(prefers-reduced-motion:reduce){.js .hv-cine2 .hv-end .arh::before{transition:none;transform:none}}
/* the journal's titles are English: the English page's serif */
[dir="rtl"] .hv-news .ncard h3[lang="en"]{font-family:var(--serif);font-weight:400}

/* HOMESTAT — motion (V2.5, 27 Oct 2026). From the motion designer's review (v25/reviews/motion): one set of timings for the
   whole site, a press that answers the finger at once, one hover for every card (a computer only), the phone menu that
   drops and closes, the section heads in a fixed order on a computer (the dotted line, the letters, the words, the full
   stop), the dotted count under the rows that move sideways, and a few flashes and jumps fixed. Linked last in base.html, so
   it comes after site.css, cine.css, home.css and product.css on every page. What travels moves with transform and opacity;
   a colour changes, it does not travel. Less motion (prefers-reduced-motion): site.css stops all of it. */

/* ---------- 1. the tokens ---------- */
:root{
  --dur-1:120ms;   /* a press, a colour, a link */
  --dur-2:220ms;   /* a lift, a close, the bar's press */
  --dur-3:380ms;   /* an open (menu, sheet), a part of a section arriving */
  --dur-4:720ms;   /* the dotted line of a heading */
  --e-out:cubic-bezier(.2,.8,.2,1);   /* arrive and settle */
  --e-io:cubic-bezier(.6,0,.2,1);     /* change state, or leave */
  --e-pop:cubic-bezier(.2,1.5,.4,1);  /* a dot that lands, a release after a press */
  --t:var(--dur-1) var(--e-out);      /* the old token: every hover that uses it changes at once */
}
html{-webkit-tap-highlight-color:transparent}

/* ---------- 2. press: every button, door and card answers the finger at the press ---------- */
.btn,.door2,.nav a.cta,.cmp-entry,.chip,.opt,.ts-start,.dx-pause{transition:background-color var(--dur-1) linear,color var(--dur-1) linear,border-color var(--dur-1) linear,transform var(--dur-2) var(--e-pop)}
:is(.btn,.door2,.nav a.cta,.cmp-entry,.chip,.opt,.ts-start,.dx-pause):active{transform:scale(.97);transition-duration:var(--dur-1)}
.hv-play:active .hv-play-i{transform:scale(.92)}
:is(.card,.ncard,.tier,.device,.brandcard,.pc,.hv-cards li,.steps > li):active{transform:scale(.985);transition:transform var(--dur-1) var(--e-out)}
@media(hover:none){
  .pc:active,.brandcard:active,.tier:active{border-color:var(--acc)}
}

/* ---------- 3. one hover for every card (a computer only; text stays ink on a light ground) ---------- */
@media(hover:hover){
  :is(.card,.ncard,.tier,.device,.brandcard,.pc,.hv-cards li,.steps > li){transition:transform var(--dur-3) var(--e-out),border-color var(--dur-1) linear,box-shadow var(--dur-1) linear}
  :is(.card,.ncard,.tier,.device,.brandcard,.pc,.hv-cards li,.steps > li):hover{transform:translateY(-2px);border-color:var(--acc);box-shadow:0 0 0 .5px var(--acc),0 14px 30px -20px rgba(10,10,10,.28)}
  .on-ink :is(.card,.ncard,.steps > li):hover{border-color:var(--acc-ink);box-shadow:0 0 0 .5px var(--acc-ink),0 14px 30px -20px rgba(0,0,0,.6)}
  :is(.famcard .famimg,.pimg,.finrow .finimg){transition:transform var(--dur-3) var(--e-out),box-shadow var(--dur-1) linear}
  /* the device drawing's orange dot answers the pointer */
  .hv-cards li:hover svg circle[fill]{transform:scale(1.7);transform-box:fill-box;transform-origin:center;transition:transform var(--dur-3) var(--e-pop)}
}

/* ---------- 4. the header menu below 1180 px: it drops from its pill, the items in turn; it closes faster than it opens
   (site.js: a tap outside or Escape closes it) ---------- */
@media(max-width:1179px){
  .nav details[open] > ul{transform-origin:calc(100% - 40px) 0;animation:hs-fade var(--dur-1) linear both,hs-drop var(--dur-3) var(--e-out) both}
  [dir="rtl"] .nav details[open] > ul{transform-origin:40px 0}
  .nav details[open] > ul > li{animation:hs-rise var(--dur-3) var(--e-out) both;animation-delay:calc(60ms + var(--i,0) * 24ms)}
  .nav details.closing > ul{animation:hs-drop-out var(--dur-2) var(--e-io) both}
  .nav summary{transition:border-color var(--dur-1) linear,color var(--dur-1) linear,transform var(--dur-2) var(--e-pop)}
  .nav summary:active{transform:scale(.95);transition-duration:var(--dur-1)}
}
@keyframes hs-fade{from{opacity:0}}
@keyframes hs-drop{from{transform:translateY(-8px) scale(.96)}}
@keyframes hs-drop-out{to{opacity:0;transform:translateY(-6px) scale(.97)}}
@keyframes hs-rise{from{opacity:0;transform:translateY(6px)}}

/* ---------- 5. a section's head on a computer: the dotted line first (cine.css, no delay now), the dot letters after it one
   by one (site.js splits a dot heading into one path a letter), the words, then the orange full stop. A phone keeps today's
   heads: the letters cost 8 to 12 frames a second on the slow phone test. ---------- */
@media(min-width:720px){
  .js .shead.reveal,.js .hv-head.reveal{opacity:1;transform:none;transition:none}
  .js .shead.reveal > :not(.dh),.js .hv-head.reveal > :not(.dh){opacity:0;transform:translateY(10px);transition:opacity var(--dur-3) var(--e-out) 260ms,transform var(--dur-4) var(--e-out) 260ms}
  .js .shead.reveal.in > :not(.dh),.js .hv-head.reveal.in > :not(.dh){opacity:1;transform:none}
  .js .dh.reveal{opacity:1;transform:none;transition:none}
  .js .dh.reveal svg .dlt{opacity:0;transition:opacity var(--dur-2) linear;transition-delay:calc(120ms + var(--i,0) * 22ms)}
  .js .dh.reveal.in svg .dlt{opacity:1}
  .js .dh.reveal svg .a{opacity:0;transform:scale(.2);transform-box:fill-box;transform-origin:center;transition:opacity var(--dur-1) linear,transform var(--dur-3) var(--e-pop);transition-delay:calc(160ms + var(--n,10) * 22ms)}
  .js .dh.reveal.in svg .a{opacity:1;transform:none}
  /* the rest of a section: a shorter rise; a grid's cards 40 ms apart, never more than six steps */
  .js .reveal{transform:translateY(12px);transition:opacity var(--dur-3) var(--e-out),transform var(--dur-4) var(--e-out)}
  .js .stagger > *{transform:translateY(10px);transition:opacity var(--dur-3) var(--e-out),transform var(--dur-4) var(--e-out);transition-delay:calc(min(var(--d,0),5) * 40ms)}
}
/* the home film no longer zooms from .94 (the most template-like move on the site): it rises as the other parts do */
.js .hv-cine2 .hv-frame.reveal{transform:translateY(12px)}
.js .hv-cine2 .hv-frame.reveal.in{transform:none}

/* ---------- 6. the rows that move sideways on a phone: the count's bar becomes a dotted line, one dot a card, the cards seen
   so far in orange (site.js sets --n and --N); it steps a dot at a time, as a display does; one nudge the first time a
   row shows, so a thumb knows it moves ---------- */
@media(max-width:719px){
  html body.cine .swipe-count{display:flex;align-items:center;gap:12px}
  html body.cine .swipe-count::after{content:"";order:2;flex:none;width:calc(var(--n,1) * 9px);height:5px;border-radius:0;transition:none;
    background:radial-gradient(circle at 2.5px 2.5px,var(--acc) 2.1px,transparent 2.5px) 0 0/9px 5px repeat-x}
  html body.cine .swipe-count::before{content:"";order:3;flex:none;margin-inline-start:-12px;width:calc((var(--N,4) - var(--n,1)) * 9px);height:5px;
    background:radial-gradient(circle at 2.5px 2.5px,#BDBDBD 1.5px,transparent 1.9px) 0 0/9px 5px repeat-x}
  html body.cine .on-ink .swipe-count::after{background-image:radial-gradient(circle at 2.5px 2.5px,var(--acc-ink) 2.1px,transparent 2.5px)}
  html body.cine .on-ink .swipe-count::before{background-image:radial-gradient(circle at 2.5px 2.5px,#4A4A4A 1.5px,transparent 1.9px)}
  html[dir="rtl"] body.cine .swipe-count::after,html[dir="rtl"] body.cine .swipe-count::before{background-position:100% 0}
  .swipe.nudge{animation:hs-nudge 900ms var(--e-io) 1 both}
  [dir="rtl"] .swipe.nudge{animation-name:hs-nudge-r}
}
@keyframes hs-nudge{0%,100%{transform:none}40%{transform:translateX(-18px)}}
@keyframes hs-nudge-r{0%,100%{transform:none}40%{transform:translateX(18px)}}

/* ---------- 7. flashes and jumps ---------- */
/* the page films: the frame has the poster's white, not black, until the poster arrives */
.xh .hh-film .film.portrait{background:#F4F4F4}
/* the home hero on a computer: its labels wait for their first place (site.js adds .h4-ready) */
.hero4.h4-desk:not(.h4-ready) .h4-tags li{opacity:0}
.hero4.h4-desk .h4-tags li{transition:opacity var(--dur-3) var(--e-out)}
/* the tips arrive and go with a short fade */
.tip,.tip-ring{animation:hs-fade var(--dur-2) var(--e-out)}

/* ---------- 8. one signature moment per page type ---------- */
/* home: once the villa is drawn and priced, the headline's full stop beats once and the "since 2020" dot sends out a ring */
.hero4.h4-done h1.dh svg .a{transform-box:fill-box;transform-origin:center;animation:hs-stop var(--dur-3) var(--e-pop)}
@keyframes hs-stop{40%{transform:scale(1.7)}}
.hero4 .h4-since span{position:relative}
.hero4 .h4-since span::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 1.5px var(--acc-ink);opacity:0;pointer-events:none}
.hero4.h4-done .h4-since span::after{animation:hs-ping var(--dur-4) var(--e-out)}
@keyframes hs-ping{from{opacity:.9}to{opacity:0;transform:scale(3.2)}}
/* product pages: the chosen finish lands */
.ph-sw .sw.on i{animation:hs-pick var(--dur-3) var(--e-pop)}
@keyframes hs-pick{from{transform:scale(.82)}}

/* ---------- 9. less motion ---------- */
@media(prefers-reduced-motion:reduce){
  .js .dh.reveal svg .dlt,.js .dh.reveal svg .a,.js .shead.reveal > *,.js .hv-head.reveal > *{opacity:1!important;transform:none!important}
  .swipe.nudge{animation:none}
}
