/* Rethink art direction · home page · 2026-11-18
   Loads after the home stylesheet and after site.css (the navigation, footer, buttons and text rules every
   page shares). No markup changes: every rule restyles what is already there.
   System sources: tokens.json > litWord, rules["device.pattern"], components.pattern,
   components.shape.cardCorner, rules["surface.glass"], grid.breakpoints, mark.halo. */

/* ── 1. One content edge for the whole page (grid.breakpoints: 1200 at desktop, 1480 at wide) ── */
.home{
  --gc:clamp(16px,1.95vw,28px);          /* the one rounded corner of a glass card, 28px on the 1920 page */
  --pg:clamp(16px,2.2vw,32px);              /* the single gap between pattern pieces, s2 to s4 */
  --pad:var(--s3);
  --cmax:100vw;
  --edge:max(var(--pad),calc((100vw - var(--cmax)) / 2 + var(--pad)));
  --lit:0 0 .24em rgba(97,75,249,1),0 0 .74em rgba(97,75,249,.63);   /* litWord: rim, then field */
}
@media (min-width:1280px){.home{--pad:var(--s5);--cmax:calc(1200px + 2 * var(--s5));}}
@media (min-width:1680px){.home{--cmax:calc(1480px + 2 * var(--s5));}}
.home .container{max-width:none;margin-inline:0;padding-inline:var(--edge);}

/* ── 2. Headlines ── */
.home .title{text-wrap:balance;}
/* Owner, 2026-11-18: no word alone on a last line, and no line suddenly much shorter than the one above it.
   Short copy (subheads, card copy, small print) sets in lines of even length; longer paragraphs at least keep
   their last line from holding one word. */
.home p{text-wrap:pretty;}
.home .body-txt,.home .sub,.home .facts,.home .eyebrow{text-wrap:balance;}
/* On dark grounds the bold run is Mist and lit, never Lumen: Lumen on Ink measures 2.44:1.
   Owner, 2026-11-18: the halo replaces the purple, on every dark section of the page. */
.home .gd .title .lead{color:var(--mist);text-shadow:var(--lit);}

/* ── 4. Pattern pieces: each box is exactly its piece's outer contour, so gaps are true gaps ── */
.home .pc--p1,.home .chapter--03 .chapter-pattern{--ar:368.45/437.42;--sw:116.705%;--sx:-8.492%;--sy:-7.540%;--ox:50.12%;--pw:368.45;--ux:-921.52;--uy:530.205;}
.home .pc--p2{--ar:368.45/437.42;--sw:113.991%;--sx:-7.024%;--sy:-6.772%;--ox:50.03%;--pw:368.45;--ux:553.07;--uy:-967.625;}
.home .pc--p3,.home .chapter--01 .chapter-pattern{--ar:213.36/1057.9;--sw:131.233%;--sx:-13.939%;--sy:-14.004%;--ox:48.72%;--pw:213.36;--ux:-553.07;--uy:-527.695;}
.home .pc--p4,.home .chapter--02 .chapter-pattern{--ar:213.36/1057.9;--sw:121.860%;--sx:-6.351%;--sy:-12.828%;--ox:46.24%;--pw:213.36;--ux:340.74;--uy:-530.205;}
.home .pc--p5,.home .chapter--04 .chapter-pattern{--ar:538.86/1060.41;--sw:111.346%;--sx:-5.326%;--sy:-4.801%;--ox:49.69%;--pw:538.86;--ux:-274.11;--uy:-526.705;}
.home .chapter-pattern{aspect-ratio:var(--ar);width:calc(var(--u) * var(--pw));overflow:visible;}
.home .hero .pc svg,.home .closing .pc svg,.home .chapter-pattern svg{position:absolute;left:0;top:0;width:var(--sw);max-width:none;height:auto;margin-left:var(--sx);margin-top:var(--sy);transform-origin:var(--ox) 50%;}
html[dir="rtl"] .home .hero .pc svg,html[dir="rtl"] .home .closing .pc svg,html[dir="rtl"] .home .chapter-pattern svg{transform:scaleX(-1);}
/* components.pattern: a stroked piece carries a band of 4 units painted inside its contour (set by home.js) */
.home svg[data-piece] path.pt{fill:var(--lumen);stroke:none;}
.home svg[data-piece="bowl"] path.pt,.home svg[data-piece="stem"] path.pt,.home svg[data-piece="sqStroke"] path.pt{fill:none;stroke:var(--lumen);stroke-width:8;stroke-linejoin:miter;}

/* ── 5. Hero = the deck's Cover page (Thirty-Day Reset Deck, page 1).
        The pattern is the owner's group, untouched: one scale, the pieces in their drawn positions, so the
        distances between them are the pattern's own. Cover values: group centre 81.75% / 61%, height 180%
        of a 16:9 page, blade filled, bowl and stem stroked, bleeding right and bottom. Words low on the
        reading side. --tp is the 16:9 page this screen can hold and sizes the type. --ph is the page the pattern
        is drawn for, the larger of the screen's height and its width's 16:9 height: the blade's edge stays at
        52.8% of the width and the pattern's top 11.9% down, on a tall window, a 16:9 one or a short wide one.
        Whatever does not fit runs off the bottom or the far edge, as on the Cover. ── */
/* --fold: the part of the 16:9 page the screen shows first. The words sit low in it, as on the Cover; on a screen
   that shows the whole page that is exactly the Cover, on a shorter one they stay above the fold. */
/* Owner, 2026-11-18, later: the hero is the page's header, not a full screen. A page tied to the width alone grew
   past the screen on a wide window. --hh is the header's height: the 16:9 page where the screen can hold it,
   otherwise 86% of the screen less the navigation, so the next section always shows under it. The pattern keeps
   the Cover's scale and position from the width (--ph) and runs off the header's foot; the type takes its size
   from the header (--tp), so the words always fit it. */
.home .hero{--hh:max(460px,min(56.25vw,calc(86svh - var(--nav-h))));--tp:min(56.25vw,calc(var(--hh) * 1.3));--ph:56.25vw;--fold:var(--hh);display:block;isolation:isolate;}
@media (min-width:834px){.home .hero{min-height:var(--hh);}}
/* The living ground. Owner, 2026-11-19: a living, moving gradient like the one behind the logo in his reference;
   then: no seam, velvety folds from wave equations, a little darker. home.js draws it on a canvas it places
   under the pattern and the words (the equations are written out there). Without it the hero keeps its ground. */
.home .hero canvas.rk-ground{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;pointer-events:none;}
/* where home.js draws the blade as a translucent pane, the flat fill stands down, and the drawn outline, having
   traced the shape, fades as the pane arrives: owner, 2026-11-19, no outline around it */
.home .hero.rk-glass-blade svg[data-piece="blade"] path.pt{fill-opacity:0;animation:none;}
.home .hero.rk-glass-blade svg[data-piece="blade"] path.po{animation:rkDraw 1500ms cubic-bezier(.45,0,.2,1) .15s forwards,rkGone 900ms ease-out 1.45s forwards;}
html.force-still .home .hero.rk-glass-blade svg[data-piece="blade"] path.po{opacity:0;animation:none;}
@media (prefers-reduced-motion:reduce){.home .hero.rk-glass-blade svg[data-piece="blade"] path.po{opacity:0;animation:none;}}
@keyframes rkGone{to{opacity:0;}}
.home .hero-device,.home .closing-device{position:absolute;inset:0;display:block;padding:0;overflow:visible;opacity:1;z-index:1;
  translate:var(--px,0px) calc(var(--py,0px) + var(--sy,0px));transition:translate .8s var(--ease);}
.home .hero-device{--s:calc(var(--ph) * 1.8 / 1935.25);--gx:calc(52.8% + 553.07 * var(--s));--gy:calc(11.9% + 527.695 * var(--s));}
.home .hero .hero-device .pc,.home .closing .closing-device .pc{position:absolute;inset:auto;aspect-ratio:var(--ar);overflow:visible;z-index:1;
  width:calc(var(--pw) * var(--s));inset-inline-start:calc(var(--gx) + var(--ux) * var(--s));top:calc(var(--gy) + var(--uy) * var(--s));animation:none;}
.home .hero .hero-device .pc--p1,.home .hero .hero-device .pc--p2,.home .hero .hero-device .pc--p4{display:none;}
/* The entrance follows the shapes. Each piece is drawn along its own outline, the way a pen would trace it:
   the blade from its foot up to its tip and back down its curve, then it fills; the bowl along its top edge,
   down its side and round its corner. home.js gives every outline a length of 1, so one value draws it. */
.home svg[data-piece] path.po{display:none;}
.home .hero svg[data-piece="blade"] path.po{display:inline;fill:none;stroke:var(--lumen);stroke-width:8;stroke-linejoin:miter;
  stroke-dasharray:1;stroke-dashoffset:1;animation:rkDraw 1500ms cubic-bezier(.45,0,.2,1) .15s forwards;}
.home .hero svg[data-piece="blade"] path.pt{fill-opacity:0;animation:rkFlood 1100ms ease-out 1.25s forwards;}
.home .hero svg[data-piece="bowl"] path.pt{stroke-dasharray:1;stroke-dashoffset:1;animation:rkDraw 2100ms cubic-bezier(.45,0,.2,1) .55s forwards;}
@keyframes rkDraw{to{stroke-dashoffset:0;}}
@keyframes rkFlood{to{fill-opacity:1;}}
/* the lit phrase breathes: the field swells and settles, the rim holds */
.home .hero .title .lead{animation:rkBreathe 5.5s ease-in-out 2s infinite alternate;}
@keyframes rkBreathe{
  from{text-shadow:0 0 .24em rgba(97,75,249,1),0 0 .74em rgba(97,75,249,.63);}
  to{text-shadow:0 0 .26em rgba(97,75,249,.92),0 0 .98em rgba(97,75,249,.36);}
}
/* The light that drifts over the pattern and follows the reader (home.js) is the pattern's own purple, Lumen */
.home .hero-device::after,.home .closing-device::after{content:"";position:absolute;left:var(--lx,72%);top:var(--ly,58%);width:70vmax;height:70vmax;translate:-50% -50%;border-radius:50%;pointer-events:none;z-index:2;
  background:radial-gradient(closest-side,rgba(112,25,189,.42) 0%,rgba(112,25,189,.15) 45%,rgba(112,25,189,0) 100%);mix-blend-mode:screen;
  transition:left .9s var(--ease),top .9s var(--ease);animation:rkLight 20s ease-in-out infinite alternate;}
@keyframes rkLight{0%{left:58%;top:74%;}50%{left:82%;top:42%;}100%{left:68%;top:60%;}}
.home .hero-device.is-lit::after,.home .closing-device.is-lit::after{animation:none;}
/* the words: the Cover's block, low on the reading side, sized from the page like the deck's */
.home .hero-copy{position:relative;z-index:5;width:auto;max-width:calc(52.8% - var(--s4));min-height:var(--fold);
  justify-content:flex-end;padding:var(--s4) 0 calc(var(--fold) * .139);padding-inline:var(--edge) 0;}
.home .hero .hero-copy .eyebrow{font-size:clamp(12px,calc(var(--tp) * .0213),23px);margin-bottom:calc(var(--tp) * .026);}
html[dir="ltr"] .home .hero .hero-copy .eyebrow{letter-spacing:.16em;}
@media (min-width:834px){.home .hero .hero-copy .title--xl{font-size:clamp(40px,calc(var(--tp) * .0852),96px);}}
.home .hero .hero-copy .title{margin-bottom:calc(var(--tp) * .026);}
.home .hero .hero-copy .title .trail{margin-top:0;}
.home .hero .hero-copy .body-txt{font-size:clamp(17px,calc(var(--tp) * .0315),34px);line-height:1.3;max-width:26em;}
html[dir="rtl"] .home .hero .hero-copy .body-txt{line-height:1.5;}
@media (max-width:833px){
  /* a phone holds the Cover's lower right corner under the words: same group, same pieces, bleeding right and bottom */
  .home .hero-device{--s:calc(100vw * .00102);--gx:calc(38vw + 553.07 * var(--s));--gy:calc(100% - 74vw + 527.695 * var(--s));}
  .home .hero-copy{max-width:none;min-height:0;justify-content:flex-start;padding:var(--s5) var(--edge) 0;}
  .home .hero .title .lead,.home .hero .title .trail{width:auto;}
  .home .hero .hero-copy .body-txt{font-size:var(--t0);line-height:1.6;}
  /* Client, 2026-11-22, phones: the headline on the reading edge, left in English and right in Arabic, not
     centred, a word to a line; and the visual set against it with a like weight, an asymmetrical balance.
     Owner, the same day, on the first version (the blade and bowl standing beside the headline): the graphic
     peeked awkwardly in from the side and the foot was empty; a more expressive composition, with more hierarchy
     and balance, and clearly readable text.
     So the screen is one diagonal. At the head of the reading side, the headline: a column of single words
     (home.js gives each word a part of its own), larger than before, its size taken from the screen (--f). From
     the foot of the far side, one piece of the pattern, the blade alone, tall and lit: it rises from below the
     screen's foot to beside the headline's lower words, whole across its width, its straight edge on the page's
     margin under the menu button. At the foot of the reading side, where the blade stands beside them, the body
     copy, the button and the small line. The bowl stands down on a phone: there is no room to show it whole, and
     a part of it showing at the edge is what read as peeking. Nothing overlaps: the blade is a quarter of the
     screen wide and the words keep to the other side of it, the body copy sized from the screen so its two
     lines always clear it. (This replaces the centred phone composition of 2026-11-19.) */
  .home .hero{--f:min(16.4vw,7.6svh);--bw:min(25.5vw,150px);}
  .home .hero-copy{align-items:flex-start;text-align:start;min-height:calc(100svh - var(--nav-h,72px));padding:var(--s4) var(--edge) var(--s4);}
  .home .hero .hero-copy .eyebrow{font-size:12px;line-height:1.6;margin-bottom:var(--s2);}
  .home .hero .hero-copy .title,.home .hero .hero-copy .title--xl{text-align:start;font-size:var(--f);margin-bottom:var(--s4);}
  .home .hero .title .rk-w{display:block;margin-top:calc(var(--rk-lift,0) * 1em);}
  /* Owner, 2026-11-23, with a picture of his phone: the line spacing does not feel balanced. Two causes, both here.
     The headline: with a word to a line, a word that hangs below the line over a tall one left half the clear space
     of the other pairs; home.js measures each word's ink and sets --rk-lift, so every pair has the same clear space
     (the rule above uses it; without the script the lines keep an even pitch, as before).
     The two small paragraphs: the body copy was set at 1.5 and the small line under the button at 1.8, so the
     smaller text had the looser lines, and its last word stood alone on a second line. Both now take the design
     system's one leading for running text (tokens.json > leading.body, 1.6; Arabic 1.8 with its lift), and the
     small line breaks into two even lines. */
  .home .hero .title br.rk-third{display:none;}
  /* the foot: pushed to the bottom of the screen, on the reading edge */
  .home .hero .hero-copy .body-txt{margin-top:auto;max-width:calc(100% - var(--bw) - var(--s2));font-size:clamp(15px,4.2vw,19px);line-height:1.6;}
  .home .hero .hero-copy .body-txt .rk-sentence{display:block;}
  .home .hero .hero-copy .actions{justify-content:flex-start;}
  .home .hero .hero-copy .note{max-width:calc(100% - var(--bw) - var(--s3));line-height:1.6;text-wrap:balance;}
  html[dir="rtl"] .home .hero .hero-copy .body-txt,html[dir="rtl"] .home .hero .hero-copy .note{line-height:1.8;}
  /* the blade: --bw wide, its far edge on the margin, its foot 6% of the screen's width below the hero's */
  .home .hero .hero-device .pc--p5{display:none;}
  .home .hero-device{--s:calc(var(--bw) / 213.36);--gx:calc(100% - var(--edge) - var(--bw) + 553.07 * var(--s));
    --gy:calc(100% - 1057.9 * var(--s) + 6vw + 527.695 * var(--s));}
}
@media (max-width:833px) and (max-height:700px){
  /* a short phone: the headline a size smaller and the margins tighter, so the whole composition, down to the
     button, still stands in the first screen */
  .home .hero{--f:min(16.4vw,6.4svh);}
  .home .hero-copy{padding-top:var(--s3);padding-bottom:var(--s3);}
  .home .hero .hero-copy .title,.home .hero .hero-copy .title--xl{margin-bottom:var(--s3);}
}

/* The hero waits for home.js (2026-11-23, found while rehearsing the installation on the live site). On the live
   site the scripts are separate deferred files, so the page can be painted before home.js has run. The hero's words
   and pattern would then show first as the page's own markup sets them (the headline in two lines, the pieces as
   drawn) and jump to their places a moment later. So both are held unseen until home.js has finished and marked
   the page (html.rk-home, the script's last line); the ground shows meanwhile. If the script never arrives they
   show by themselves after three seconds, as every other page's entrance does (site.css, section 7). The delay is
   marked important so the site's own reduced-motion rule, which sets every delay under .home to nothing, cannot
   release the hold early. When the script is in time the hero looks as it did in the review copy; measured on a copy of
   the live site, the words' own fade then starts as the script finishes, about a tenth of a second later than before. */
@keyframes rk-hold{to{opacity:1;}}
html:not(.rk-home) .home .hero .hero-copy,html:not(.rk-home) .home .hero .hero-device{opacity:0;animation:rk-hold 1ms linear 3s forwards !important;}

/* ── 6. What is in the app: one horizontal rail instead of four stacked rows (rail built by home.js) ── */
.home .chapters.has-rail .container{padding-inline:0;}
.home .chapters.has-rail .chapters-head{max-width:none;margin:0 var(--edge) var(--s5);display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--s3);align-items:end;}
.home .chapters.has-rail .chapters-head .eyebrow{grid-column:1 / -1;}
.home .chapters.has-rail .chapters-head .title{max-width:15em;}
.home .chapter-nav{display:flex;align-items:center;gap:var(--s1);}
.home .chapter-nav button{width:46px;height:46px;display:grid;place-items:center;border:1px solid var(--secondary);border-radius:var(--r);color:var(--ink);overflow:hidden;
  background:linear-gradient(var(--lumen),var(--lumen)) no-repeat 0 0 / 0% 100%;background-origin:border-box;}
/* Owner, 2026-11-20: more modern, elevated motion on the controls, these arrows for one. An arrow now answers in
   the direction it points. Under the pointer a Lumen fill crosses the button that way and the chevron leans
   3px with it, in white. On a press the button gives 6%, the chevron leaves through its leading edge and a
   fresh one arrives from behind it, the count's number rolls to the next, and the rail itself glides to the
   card on one long ease-out instead of the browser's own scroll (home.js). The fill and the lean are for
   pointers only, so nothing stays lit after a tap on a phone; the press, the chevron, the count and the glide
   are for everyone. Under prefers-reduced-motion the states still show and nothing travels. */
.home .chapter-nav .chapter-prev{background-position:100% 0;}
html[dir="rtl"] .home .chapter-nav .chapter-next{background-position:100% 0;}
html[dir="rtl"] .home .chapter-nav .chapter-prev{background-position:0 0;}
@media (hover:hover){
  .home .chapter-nav button:not([disabled]):hover{background-size:100% 100%;border-color:var(--lumen);color:#fff;}
}
.home .chapter-nav button:not([disabled]):active{transform:scale(.94);}
.home .chapter-count-n{display:inline-block;}
.home .chapter-rail.is-gliding{scroll-snap-type:none;}
@media (prefers-reduced-motion:no-preference){
  .home .chapter-nav button{transition:background-size 360ms cubic-bezier(.16,1,.3,1),border-color 240ms,color 240ms,opacity 240ms,transform 180ms cubic-bezier(.16,1,.3,1);}
  .home .chapter-nav svg{transition:translate 520ms cubic-bezier(.16,1,.3,1);}
  @media (hover:hover){
    .home .chapter-nav button:not([disabled]):hover{transition:background-size 560ms cubic-bezier(.16,1,.3,1),border-color 240ms,color 240ms,opacity 240ms,transform 180ms cubic-bezier(.16,1,.3,1);}
    .home .chapter-nav .chapter-next:not([disabled]):hover svg,html[dir="rtl"] .home .chapter-nav .chapter-prev:not([disabled]):hover svg{translate:3px 0;}
    .home .chapter-nav .chapter-prev:not([disabled]):hover svg,html[dir="rtl"] .home .chapter-nav .chapter-next:not([disabled]):hover svg{translate:-3px 0;}
  }
}
.home .chapter-nav button[disabled]{opacity:.38;cursor:default;border-color:var(--secondary);}
.home .chapter-nav svg{width:18px;height:18px;display:block;}
html[dir="rtl"] .home .chapter-nav svg{transform:scaleX(-1);}
.home .chapter-count{min-width:6ch;text-align:center;font-size:var(--t-1);font-weight:500;color:var(--secondary);font-variant-numeric:tabular-nums;}
.home .chapter-rail{display:flex;gap:var(--pg);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:var(--edge);padding-inline:var(--edge);padding-block:var(--s0) var(--s3);scrollbar-width:none;overscroll-behavior-x:contain;cursor:grab;}
.home .chapter-rail::-webkit-scrollbar{display:none;}
.home .chapter-rail.is-dragging{scroll-snap-type:none;cursor:grabbing;user-select:none;}
.home .chapter-rail:focus-visible{outline-offset:-2px;}
/* The cards. Owner, 2026-11-18: no shape without a job; much bigger outlined pieces whose insides hold the
   content with room to read; no cropped phone; figures out of the title; a clear order in every card.
   Owner, later the same day: the wide two-container card read mostly empty; make it compact and balanced off
   centre. Each card stands on the Edge ground with the one rounded corner, and two show at once. One giant
   outlined bowl runs off the card and is the container: the chapter's numeral stands at its head, the copy at its
   foot, clear of its round corner (as the body sits inside the bowl on the deck's Teach page). The device is a
   second, smaller bowl beside it: the app screen inside the bowl's own contour, whole. On 01 and 03 the big bowl
   rises from the floor and shows its round shoulder; on 02 and 04 it hangs and shows its round foot.
   Order inside the bowl: label, title, one line of body, then the figures (home.js lifts "28 episodes" and
   "4.1 hours" out of the title) or the notes, then the small print.
   Owner, later again: one shared structure across the four cards. The numeral stands in the same place on every
   card, and every text block starts on the same line under it, so the cards differ only in how far their copy
   runs. The numeral's inset (--in) from the bowl's side clears the round shoulder where the bowl rises.
   Owner, later again: the bowl's upper or lower edge stands exactly on the device outline's edge, both one
   margin (--m) inside the card on every side; the text block sits a little lower (--drop) so the fullest card
   reads centred. The card is 540px tall so the fullest copy ends above the device's foot at every width. */
.home .has-rail .chapter{--cw:clamp(720px,50vw,780px);--card-h:540px;--m:var(--s4);--ring:var(--m);
  --dh:calc(var(--card-h) - 2 * var(--m));--dw:calc(var(--dh) * .50816);
  --bow:calc(var(--cw) - var(--ring) - var(--s4) - var(--dw) - var(--m));--in:calc(var(--bow) * .13);--num:60px;--drop:8px;
  flex:0 0 var(--cw);scroll-snap-align:start;position:relative;height:auto;min-height:var(--card-h);overflow:hidden;
  display:grid;grid-template-columns:var(--bow) minmax(0,1fr);column-gap:var(--s4);align-items:stretch;padding:0;padding-inline:var(--ring) var(--m);
  border:0;border-radius:0;border-start-end-radius:clamp(36px,5vw,72px);color:var(--mist);
  background:radial-gradient(115% 90% at 94% -4%,#2E0B52 0%,#1B0538 40%,#0C002B 78%);}
html[dir="rtl"] .home .has-rail .chapter{background:radial-gradient(115% 90% at 6% -4%,#2E0B52 0%,#1B0538 40%,#0C002B 78%);}
.home .has-rail .chapter[data-enter]{opacity:1;transform:none;}
/* the container */
.home .has-rail .chapter::before{content:none;}
.home .has-rail .chapter::after{content:"";position:absolute;z-index:0;pointer-events:none;inset-inline-start:var(--ring);width:var(--bow);aspect-ratio:538.86/1060.41;background-repeat:no-repeat;background-position:center;background-size:100% 100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1278.7 200.87 538.86 1060.41' preserveAspectRatio='none'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Cpath d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z' fill='none' stroke='%237019BD' stroke-width='6' vector-effect='non-scaling-stroke' clip-path='url(%23c)'/%3E%3C/svg%3E");}
/* Owner, 2026-11-18: the bowl's upper edge (where it rises) or lower edge (where it hangs) stands exactly on the
   device outline's, and both keep the card's one margin (--m) from its sides. */
.home .has-rail .chapter--01::after,.home .has-rail .chapter--03::after{top:var(--m);}
.home .has-rail .chapter--02::after,.home .has-rail .chapter--04::after{top:calc(var(--m) + var(--dh) - var(--bow) * 1.96788);}
html[dir="rtl"] .home .has-rail .chapter::after{transform:scaleX(-1);}
/* at the bowl's head: the numeral, in the same place on every card */
.home .has-rail .chapter .chapter-num,.home .has-rail .chapter--01 .chapter-num,.home .has-rail .chapter--02 .chapter-num,.home .has-rail .chapter--03 .chapter-num,.home .has-rail .chapter--04 .chapter-num{position:absolute;z-index:1;top:calc(var(--ring) + var(--in) + var(--drop));bottom:auto;inset-inline:calc(var(--ring) + var(--in)) auto;width:auto;text-align:start;font-size:var(--num);font-weight:200;line-height:.8;letter-spacing:-.03em;color:var(--mist);opacity:1;}
/* inside the bowl: the copy, in order, from one shared line under the numeral */
.home .has-rail .chapter .chapter-copy{grid-column:1;grid-row:1;order:0;position:relative;z-index:1;align-self:start;display:block;padding:calc(var(--ring) + var(--in) + var(--drop) + var(--num) * .8 + var(--s3)) 0 var(--m);padding-inline:var(--in);}
.home .has-rail .chapter .eyebrow{margin-bottom:var(--s1);}
.home .has-rail .title--chapter,html[dir="ltr"] .home .has-rail .title--chapter{font-size:min(30px,calc(var(--bow) * .0835));}
.home .has-rail .chapter .title{margin-bottom:var(--s2);}
.home .has-rail .chapter .title .lead,.home .has-rail .chapter .title .trail{display:inline;margin:0;font-weight:600;color:var(--mist);}
.home .has-rail .chapter .body-txt{max-width:none;font-size:16px;line-height:1.5;color:rgba(241,237,245,.9);}
html[dir="rtl"] .home .has-rail .chapter .body-txt{line-height:1.7;}
/* the notes: a chapter's further lines, quieter, each under its own hairline */
.home .has-rail .chapter .body-txt + .body-txt{margin-top:var(--s2);padding-top:var(--s1);border-top:1px solid rgba(241,237,245,.16);font-size:14px;color:rgba(241,237,245,.66);}
/* the figures */
.home .has-rail .chapter .chapter-stats{display:flex;gap:var(--s4);margin-top:var(--s2);padding-top:var(--s2);border-top:1px solid rgba(241,237,245,.16);}
.home .has-rail .chapter .chapter-stat .n{display:block;font-size:36px;font-weight:200;line-height:1;letter-spacing:-.02em;color:var(--mist);}
.home .has-rail .chapter .chapter-stat .u{display:block;margin-top:var(--s0);font-size:12px;font-weight:500;color:var(--secondary);}
html[dir="ltr"] .home .has-rail .chapter .chapter-stat .u{letter-spacing:.14em;text-transform:uppercase;}
.home .has-rail .chapter .facts{margin-top:var(--s2);padding:0;border:0;max-width:none;font-size:12px;color:var(--secondary);}
/* the device */
.home .has-rail .chapter .chapter-visual{grid-column:2;grid-row:1;order:0;position:static;min-height:0;display:flex;align-items:flex-start;justify-content:flex-end;gap:0;padding:var(--m) 0;overflow:visible;}
.home .has-rail .chapter .chapter-pattern{display:none;}
.home .has-rail .chapter .chapter-phone{position:relative;z-index:1;flex:0 0 auto;width:var(--dw);height:var(--dh);}
.home .has-rail .chapter .phone{position:absolute;inset:0;padding:0;border-radius:0;background:none;box-shadow:none;overflow:visible;}
.home .has-rail .chapter .phone-win{position:absolute;inset:0;aspect-ratio:auto;border-radius:0;background:#0C002B;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 538.86 1060.41' preserveAspectRatio='none'%3E%3Cpath transform='translate(1817.56 -200.87) scale(-1 1)' d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 538.86 1060.41' preserveAspectRatio='none'%3E%3Cpath transform='translate(1817.56 -200.87) scale(-1 1)' d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;}
html[dir="rtl"] .home .has-rail .chapter .phone-win{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1278.7 200.87 538.86 1060.41' preserveAspectRatio='none'%3E%3Cpath d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1278.7 200.87 538.86 1060.41' preserveAspectRatio='none'%3E%3Cpath d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z'/%3E%3C/svg%3E");}
.home .has-rail .chapter .chapter-phone .phone-win img{position:absolute;inset:auto;top:0;left:0;width:100%;height:auto;transform:none;object-fit:fill;}
.home .has-rail .chapter .chapter-phone::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1278.7 200.87 538.86 1060.41' preserveAspectRatio='none'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Cpath d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z' fill='none' stroke='%237019BD' stroke-width='14' clip-path='url(%23c)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;}
/* Owner, 2026-11-18: no hard crop at the screen's top and foot. The screen dissolves into the device's own Ink
   ground at both ends, a short fade at the head (clear of the app's first row) and a longer one at the foot,
   where the screenshot runs on past the device. The ring above it stays crisp. */
.home .has-rail .chapter .phone-win::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to bottom,#0C002B 0%,rgba(12,0,43,.86) 6%,rgba(12,0,43,.46) 14%,rgba(12,0,43,0) 24%,rgba(12,0,43,0) 62%,rgba(12,0,43,.46) 76%,rgba(12,0,43,.86) 90%,#0C002B 100%);}
/* the ring follows the screen: flipped in English, as drawn in Arabic */
.home .has-rail .chapter .chapter-phone::after{transform:scaleX(-1);}
html[dir="rtl"] .home .has-rail .chapter .chapter-phone::after{transform:none;}
@media (max-width:1279px){.home .has-rail .chapter{--cw:clamp(700px,84vw,740px);}}
@media (max-width:833px){
  .home .chapters.has-rail .chapters-head{margin-bottom:var(--s4);}
  .home .chapters.has-rail .chapters-head .eyebrow{grid-column:1;align-self:center;margin-bottom:0;}
  .home .chapters.has-rail .chapters-head .chapter-nav{grid-column:2;grid-row:1;}
  .home .chapters.has-rail .chapters-head .title{grid-column:1 / -1;margin-top:var(--s2);}
  /* a phone card is too narrow for the two containers: the numeral and the copy stand open above the device */
  .home .has-rail .chapter{--cw:84vw;--m:var(--s3);--dh:320px;--num:56px;height:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;column-gap:0;padding:0;}
  .home .has-rail .chapter::after{display:none;}
  .home .has-rail .chapter .chapter-num,.home .has-rail .chapter--01 .chapter-num,.home .has-rail .chapter--02 .chapter-num,.home .has-rail .chapter--03 .chapter-num,.home .has-rail .chapter--04 .chapter-num{top:var(--m);bottom:auto;inset-inline:var(--m) auto;}
  .home .has-rail .chapter .chapter-copy{grid-column:1;grid-row:1;align-self:start;padding:calc(var(--m) + var(--num) * .8 + var(--s3)) var(--m) var(--s4);min-height:240px;}
  .home .has-rail .title--chapter,html[dir="ltr"] .home .has-rail .title--chapter{font-size:min(var(--t2),8.2vw);}
  .home .has-rail .chapter .chapter-visual{grid-column:1;grid-row:2;padding:0 var(--m) var(--m);justify-content:center;}
  .home .chapter-nav button{width:40px;height:40px;}
  /* Owner, 2026-11-19: on a phone the app's screen was too small; then: a card must be one full phone screen, with
     the app's screen whole inside it, nothing cropped and nothing to drag. So a card is exactly as tall as the
     screen under the bar (less a small margin), and it is divided in two: the copy at its own height on top, kept
     compact, and the device in all the room that is left, as large as that room allows. To make that room, the
     large numeral stands down on a phone (the label already opens with the same number), the two figures sit on
     one line, and the type is a size smaller. home.js gives every card's copy the height of the fullest (--rk-copy),
     so the device is the same size on all four. */
  .home .has-rail .chapter{--card-h:clamp(520px,calc(100svh - var(--nav-h,72px) - 2 * var(--s2)),860px);
    height:var(--card-h);min-height:0;grid-template-rows:var(--rk-copy,auto) minmax(0,1fr);}
  .home .has-rail .chapter .chapter-num,.home .has-rail .chapter--01 .chapter-num,.home .has-rail .chapter--02 .chapter-num,.home .has-rail .chapter--03 .chapter-num,.home .has-rail .chapter--04 .chapter-num{display:none;}
  .home .has-rail .chapter .chapter-copy{padding:var(--s3) var(--m) var(--s2);min-height:0;}
  .home .has-rail .chapter .eyebrow{margin-bottom:var(--s0);}
  .home .has-rail .title--chapter,html[dir="ltr"] .home .has-rail .title--chapter{font-size:min(24px,6.4vw);}
  .home .has-rail .chapter .title{margin-bottom:var(--s1);}
  .home .has-rail .chapter .body-txt{font-size:15px;line-height:1.45;}
  html[dir="rtl"] .home .has-rail .chapter .body-txt{line-height:1.65;}
  .home .has-rail .chapter .body-txt + .body-txt{margin-top:var(--s1);padding-top:var(--s0);font-size:13px;}
  .home .has-rail .chapter .chapter-stats{gap:var(--s3);margin-top:var(--s1);padding-top:var(--s1);}
  .home .has-rail .chapter .chapter-stat{display:flex;align-items:baseline;gap:6px;}
  .home .has-rail .chapter .chapter-stat .n{font-size:26px;}
  .home .has-rail .chapter .chapter-stat .u{margin-top:0;font-size:11px;}
  .home .has-rail .chapter .facts{margin-top:var(--s1);}
  .home .has-rail .chapter .chapter-visual{min-height:0;align-items:stretch;padding:0 var(--m) var(--m);}
  .home .has-rail .chapter .chapter-phone{flex:0 1 auto;height:100%;width:auto;max-width:100%;aspect-ratio:50816 / 100000;}
  /* Owner, 2026-11-19: on a phone the cards' text was very small, in Arabic most of all; larger, without touching the
     structure or the air around it. Every level goes up a step and keeps its place and its spacing: the label 12 to
     13px, the body 15 to 17px, the notes 13 to 15px, the figures 26 to 28px with their units 11 to 12px, the small
     print 12 to 13px. Arabic letters are smaller in the body than Latin ones at the same size, so in Arabic each
     level takes one more pixel, and the title, which is short there, goes from 24 to 28px. The margins and the gaps
     between the levels are as they were. The card is still one screen; it gives the room back by standing 8px
     closer to the bar and the screen's foot. */
  .home .has-rail .chapter{--card-h:clamp(520px,calc(100svh - var(--nav-h,72px) - var(--s2)),860px);}
  .home .has-rail .chapter .eyebrow{font-size:13px;}
  .home .has-rail .chapter .body-txt{font-size:17px;}
  .home .has-rail .chapter .body-txt + .body-txt{font-size:15px;}
  .home .has-rail .chapter .chapter-stat .n{font-size:28px;}
  .home .has-rail .chapter .chapter-stat .u{font-size:12px;}
  .home .has-rail .chapter .facts{font-size:13px;}
  html[dir="rtl"] .home .has-rail .chapter .eyebrow{font-size:14px;}
  html[dir="rtl"] .home .has-rail .title--chapter{font-size:min(28px,7.4vw);}
  html[dir="rtl"] .home .has-rail .chapter .body-txt{font-size:18px;}
  html[dir="rtl"] .home .has-rail .chapter .body-txt + .body-txt{font-size:16px;}
  html[dir="rtl"] .home .has-rail .chapter .chapter-stat .u{font-size:13px;}
  html[dir="rtl"] .home .has-rail .chapter .facts{font-size:14px;}
}
@media (max-width:833px) and (max-height:720px){
  /* a short phone: the small print under the first card's figures stands down and the margins tighten, so the device
     keeps a useful size */
  .home .has-rail .chapter{--m:var(--s2);--card-h:clamp(500px,calc(100svh - var(--nav-h,72px) - var(--s2)),860px);}
  .home .has-rail .chapter .facts{display:none;}
  .home .has-rail .chapter .chapter-copy{padding-top:var(--s2);padding-bottom:var(--s1);}
}

/* ── 7. Real messages = the deck's Steps page (page 12): an open lead beside one tall glass panel, over the
        pattern. Owner, 2026-11-18: the section read empty, with weak hierarchy. From 1024px up it is one 16:9
        page with that page's values: the pattern group turned 180 degrees at 200%, centre 74% / 50% (blade
        filled, bowl and stem stroked); the glass panel at 780 / 120, 1030 x 840 of 1920 x 1080; the lead centred
        beside it. The messages fill the panel in two columns at their own size, drifting in opposite directions
        (home.js splits the one supplied list in two). The supplied series screen stays out of this section.
        Owner, later the same day: push the pattern left so it runs behind the glass and blurs; a slightly
        narrower panel; one even, continuous drift. Owner, later again: the shapes ran off the foot of the section
        into the purple of the next one; drop the left piece, enlarge the two that remain and raise them, with a
        little air at the foot; raise them much more; flip the pattern; then: no curved shape here, only the
        rectangular parts of the pattern. So the section carries the pattern's two squares, at one size, placed
        singly: the filled square hangs from the top on the lead's side, its near edge 3.125vw outside the
        panel's, so a sliver of it shows sharp and the rest blurs under the glass; the outlined square stands
        lower on the far side, its far edge 3.125vw outside the panel's, its foot at two thirds of the panel's
        height. The filled one high and near, the outlined one lower and far: the diagonal the two squares hold
        in the pattern. The lower third of the section is open ground. The loop is seamless: the track's foot carries one gap, so half the track is
        exactly one round; home.js gives both columns the same speed. ── */
.home .wall .wall-anchor,.home .wall .phone-col{display:none;}
.home .wall .wall-grid{display:contents;}
.home .wall .head-cluster{max-width:none;opacity:1;transform:none;}
.home .wall .chat-col{opacity:1;transform:none;overflow:hidden;border-radius:0;border-start-end-radius:var(--gc);
  background:var(--gl-bg);border:1px solid var(--gl-rim);box-shadow:var(--gl-shadow);backdrop-filter:blur(var(--gl-blur));-webkit-backdrop-filter:blur(var(--gl-blur));}
.home .wall .chat-wrap{height:100%;display:flex;justify-content:center;align-items:flex-start;gap:var(--s3);padding-inline:var(--s4);}
.home .wall .chat-track{flex:0 1 330px;width:auto;min-width:0;margin:0;padding-bottom:var(--s3);animation-duration:var(--rk-dur,46s);will-change:transform;backface-visibility:hidden;}
.home .wall .chat-track + .chat-track{animation-direction:reverse;}
.home .chat-track img{border-radius:var(--r);border-start-end-radius:var(--rc);}
@media (min-width:1024px){
  .home .wall{padding:0;min-height:56.25vw;}
  /* the pattern's two squares (sqFill, sqStroke: 368.45 x 437.42), one size, placed singly from the panel's edges */
  .home .wall{--rw:20vw;--rh:calc(var(--rw) * 1.18719);}
  .home .wall::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-repeat:no-repeat;
    background-image:linear-gradient(#7019BD,#7019BD),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 368.45 437.42' preserveAspectRatio='none'%3E%3Crect width='368.45' height='437.42' fill='none' stroke='%237019BD' stroke-width='8' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
    background-size:var(--rw) var(--rh),var(--rw) var(--rh);
    background-position:right calc(56.004vw - var(--rw)) top calc(20vw - var(--rh)),right 2.604vw top calc(35.417vw - var(--rh));}
  html[dir="rtl"] .home .wall::before{background-position:left calc(56.004vw - var(--rw)) top calc(20vw - var(--rh)),left 2.604vw top calc(35.417vw - var(--rh));}
  .home .wall .container{position:static;display:block;padding:0;min-height:56.25vw;}
  .home .wall .head-cluster{position:absolute;z-index:1;inset-inline-start:var(--edge);top:11.111%;height:77.778%;width:calc(44vw - var(--edge) - 4vw);display:flex;flex-direction:column;justify-content:center;}
  .home .wall .head-cluster .eyebrow{font-size:max(12px,1.198vw);margin-bottom:1.4vw;}
  html[dir="ltr"] .home .wall .head-cluster .eyebrow{letter-spacing:.16em;}
  .home .wall .title--sm{font-size:min(3.85vw,calc((44vw - var(--edge) - 4vw) / 6.95));}
  .home .wall .chat-col{position:absolute;z-index:1;inset-inline:auto 5.729%;top:11.111%;width:calc(52.879vw - 5.729%);height:77.778%;}
}
@media (max-width:1023px){
  .home .wall .container{display:grid;grid-template-columns:minmax(0,1fr);row-gap:var(--s5);}
  .home .wall .chat-col{height:min(560px,130vw);}
  .home .wall .chat-wrap{padding-inline:var(--s2);gap:var(--s2);}
}

/* ── 8. Closing = the deck's Back cover (page 19). The section is one 16:9 page: the filled blade bleeds
        off the reading-side edge, the stroked bowl stands beside it, and the words sit centred in the other
        half, where the deck puts them (1000 of 1920). Group centre 31.5% / 86.8%, height 210%. ── */
.home .closing{--tp:56.25vw;min-height:var(--tp);display:flex;align-items:center;}
.home .closing-device{--s:calc(56.25vw * 2.1 / 1935.25);--gx:31.5%;--gy:calc(29.5% + 527.695 * var(--s));z-index:0;}
.home .closing .closing-device .pc--p1,.home .closing .closing-device .pc--p2,.home .closing .closing-device .pc--p4{display:none;}
.home .closing svg[data-piece="blade"] path.pt{fill:var(--lumen);stroke:none;}
.home .closing .container{position:relative;z-index:2;width:100%;padding-inline:max(var(--edge),52.08%) var(--edge);}
.home .closing .title--sm{font-size:clamp(34px,calc(var(--tp) * .0685),74px);}
.home .closing .title{margin-bottom:var(--s3);}
.home .closing .title .trail{margin-top:0;}
.home .closing .body-txt{font-size:clamp(17px,calc(var(--tp) * .026),28px);}
.home .old-site-note{margin-top:var(--s5);}
@media (max-width:833px){
  /* the portrait Back cover (close 9:16): the pattern hangs from the top, bowl stroked, stem filled; the words below */
  .home .closing{flex-direction:column;align-items:stretch;min-height:0;padding-top:0;}
  .home .closing-device{order:1;position:relative;inset:auto;height:84vw;--s:calc(100vw * .0013867);--gx:7vw;--gy:calc(100% - 533.705 * var(--s));}
  .home .closing .closing-device .pc--p4{display:block;}
  .home .closing svg[data-piece="stem"] path.pt{fill:var(--lumen);stroke:none;}
  .home .closing .container{order:2;padding:var(--s4) var(--edge) 0;}
  /* Owner, 2026-11-19, phones only: centred, with clearer levels. One: the headline, larger. Two: the line under
     it. Three: the app button at the width of the two store badges, which sit side by side under it at one height.
     Four: the small line. Then, set apart under a rule, the note for readers of the old site. */
  .home .closing .container{text-align:center;display:flex;flex-direction:column;align-items:center;}
  .home .closing .eyebrow{margin-bottom:var(--s2);}
  .home .closing .title--sm{font-size:clamp(40px,11.5vw,64px);line-height:1.05;}
  html[dir="rtl"] .home .closing .title--sm{line-height:1.3;}
  .home .closing .title{margin-bottom:var(--s2);}
  .home .closing .body-txt{max-width:22em;font-size:clamp(18px,4.8vw,22px);}
  .home .closing .actions{justify-content:center;gap:var(--s1);width:min(100%,330px);margin-top:var(--s4);}
  .home .closing .actions .btn-primary{flex:1 0 100%;min-height:52px;font-size:var(--t0);}
  .home .closing .actions a[href*="apps.apple.com"],.home .closing .actions a[href*="play.google.com"]{height:auto;flex:0 1 auto;}
  .home .closing .actions a[href*="apps.apple.com"]{width:calc(47.1% - var(--s1) / 2);}
  .home .closing .actions a[href*="play.google.com"]{width:calc(52.9% - var(--s1) / 2);}
  .home .closing .note{margin-top:var(--s2);}
  .home .old-site-note{margin-top:var(--s5);padding-top:var(--s3);border-top:1px solid rgba(241,237,245,.16);max-width:30em;}
}

@media (max-width:833px){
  /* Client, 2026-11-22, phones: the app's screens were very small and barely readable; a new structure.
     Owner, the same day, on the first answer (device across the card, the copy under it): the card was a little
     taller than the phone's screen, which is not user-friendly; keep it friendly and accessible, with a strong
     hierarchy, and engaging.
     So a card is exactly one phone screen again (the screen under the bar, less a small margin), and everything
     it says is inside that screen. It reads in three levels:
       1  its label and title, at the head;
       2  the app's screen, in the device, across the card's whole width: 303px on a 390px phone, where it was
          208px before the client's comment;
       3  the words about it, on a panel of the system's dark glass that laps the device's foot: the body copy
          first, then the notes and figures, quieter.
     The device is whole and the app's screen shows clear above the panel; behind the panel it carries on, blurred.
     The panel is glass on a tint of Ink (tokens.json > rules["surface.glass"].page.dark: frost 6, rim 5, blur 20,
     with Ink at 62% under it so the words keep their contrast over any screen), with the system's one rounded
     corner. home.js gives every title the height of the tallest, so the device starts on the same line on all
     four cards, and puts each card's words after its title into the panel (.chapter-caption); without the script
     they simply follow the device. The card is 86% of the screen wide, 430px at most. */
  .home .has-rail .chapter{--cw:min(86vw,430px);--m:var(--s2);--pt:var(--s3);
    --card-h:clamp(440px,calc(100svh - var(--nav-h,72px) - var(--s2)),900px);
    --dev-h:min(calc((var(--cw) - 2 * var(--m)) / .50816),calc(var(--card-h) - var(--pt) - var(--rk-head,62px) - var(--s2) - var(--s3)));
    height:var(--card-h);min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:auto;align-content:start;gap:0;
    padding:var(--pt) var(--m) var(--s3);}
  .home .has-rail .chapter .chapter-copy{display:contents;}
  .home .has-rail .chapter .chapter-copy > *{grid-column:1;order:4;}
  .home .has-rail .chapter .chapter-copy > .eyebrow{order:1;margin-bottom:var(--s0);}
  .home .has-rail .chapter .chapter-copy > .title{order:2;margin-bottom:var(--s2);min-height:var(--rk-title,0px);}
  .home .has-rail .chapter .chapter-visual{order:3;grid-column:1;grid-row:auto;padding:0;margin-bottom:0;justify-content:center;align-items:flex-start;min-height:0;}
  .home .has-rail .chapter .chapter-phone{flex:0 0 auto;height:var(--dev-h);width:auto;max-width:none;aspect-ratio:50816 / 100000;}
  .home .has-rail .chapter .phone-win::after{background:linear-gradient(to bottom,rgba(12,0,43,0) 0%,rgba(12,0,43,0) 88%,rgba(12,0,43,.72) 96%,#0C002B 100%);}
  /* the screenshot starts a little way down the device, so the app's first line clears the device's round corner */
  .home .has-rail .chapter .chapter-phone .phone-win img{top:var(--shot-top);}
  /* Owner, 2026-11-22, on the line above: the top of each screenshot looked cropped, with a horizontal seam and a
     dark gap between the frame and the screenshot. The cause: the device's own fill is Ink, the screenshots' ground
     is not (it runs from Ink on the left to a lighter purple on the right), so where the screenshot began, its top
     edge showed; and the portfolio screenshot is cut through a row of the app at its very top, which showed too.
     So the head of the device is now filled with the screenshots' own ground, the same colours across the width
     (measured from the four screenshots' first rows), from the frame down over the screenshot's first rows, where
     it dissolves. Ground meets the same ground, so there is no edge to see, and the app reads as starting at the
     frame. On the portfolio card the fill runs a little further, over the cut row. */
  .home .has-rail .chapter{--shot-top:3.4%;--head:8%;--head-solid:56%;}
  .home .has-rail .chapter--02{--shot-top:6%;--head:10.6%;--head-solid:85%;}
  .home .has-rail .chapter .phone-win::before{content:"";position:absolute;z-index:1;inset:0 0 auto 0;height:var(--head);pointer-events:none;
    background:linear-gradient(90deg,rgb(11,0,42) 0%,rgb(15,1,45) 12.5%,rgb(19,3,49) 25%,rgb(23,4,52) 37.5%,rgb(27,5,56) 50%,rgb(32,7,63) 62.5%,rgb(36,7,72) 75%,rgb(41,10,75) 87.5%,rgb(41,10,75) 100%);
    -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 var(--head-solid),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to bottom,#000 0,#000 var(--head-solid),rgba(0,0,0,0) 100%);}
  /* the caption */
  .home .has-rail .chapter .chapter-copy > .chapter-caption{position:absolute;z-index:3;inset-inline:var(--s0);bottom:var(--s0);margin:0;padding:var(--s2);
    border-radius:0;border-start-end-radius:var(--s3);border:1px solid rgba(255,255,255,.09);
    background:radial-gradient(farthest-side at 88% 6%,rgba(112,25,189,.24) 0%,rgba(112,25,189,0) 74%),linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.035)),rgba(12,0,43,.62);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 1px 0 0 rgba(255,255,255,.05),0 9px 46px rgba(12,0,43,.46);
    -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);}
  html[dir="rtl"] .home .has-rail .chapter .chapter-copy > .chapter-caption{background:radial-gradient(farthest-side at 12% 6%,rgba(112,25,189,.24) 0%,rgba(112,25,189,0) 74%),linear-gradient(225deg,rgba(255,255,255,.075),rgba(255,255,255,.035)),rgba(12,0,43,.62);}
  .home .has-rail .chapter .chapter-caption .body-txt{font-size:16px;line-height:1.45;color:var(--mist);text-wrap:pretty;}
  .home .has-rail .chapter .chapter-caption .body-txt + .body-txt{margin-top:var(--s1);padding-top:var(--s1);font-size:14px;color:rgba(241,237,245,.78);}
  .home .has-rail .chapter .chapter-caption .chapter-stats{gap:var(--s3);margin-top:var(--s1);padding-top:var(--s1);}
  .home .has-rail .chapter .chapter-caption .chapter-stat .n{font-size:24px;}
  .home .has-rail .chapter .chapter-caption .facts{display:block;margin-top:var(--s0);font-size:13px;color:rgba(241,237,245,.66);}
  html[dir="rtl"] .home .has-rail .chapter .chapter-caption .body-txt{font-size:17px;line-height:1.6;}
  html[dir="rtl"] .home .has-rail .chapter .chapter-caption .body-txt + .body-txt{font-size:15px;}
  html[dir="rtl"] .home .has-rail .chapter .chapter-caption .facts{font-size:14px;}
}

/* ── 9. Who is Samah = the deck's Card with image page (page 9), on the light ground, with its own values.
        Owner, 2026-11-18: no split in the photo, only the rounded upper corner; no empty corner; more interest.
        The section is one 16:9 page. Pattern: the owner's group turned 180 degrees at 400%, centre 26.86% / -59.5%
        (blade filled, bowl, stem and upper square stroked), with the deck's own numbers. The film, the name and
        the glass card are placed on that pattern's edges (see the desktop block). ── */
.home .exp{
  --gl-bg:radial-gradient(farthest-side at 85% 85%,rgba(227,83,54,.060) 0%,rgba(227,83,54,0) 72%),radial-gradient(farthest-side at 15% 15%,rgba(112,25,189,.048) 0%,rgba(112,25,189,0) 72%),linear-gradient(135deg,rgba(255,255,255,.550),rgba(255,255,255,.330));
  --gl-rim:rgba(255,255,255,.810);
  --gl-shadow:inset 0 1px 0 rgba(255,255,255,.931),inset 1px 0 0 rgba(255,255,255,.486),0 9px 35.9px rgba(112,25,189,.106);
  --gl-blur:30px;
}
.home .exp .exp-copy{display:contents;}
.home .exp .video-col{opacity:1;transform:none;}
.home .exp .video-box{border-radius:0;border-start-end-radius:calc(var(--gc) * 2);}
.home .exp .quote-banner{position:relative;z-index:2;max-width:none;margin:0;overflow:visible;display:flex;flex-direction:column-reverse;justify-content:space-between;gap:var(--s3);
  background:var(--gl-bg);border:1px solid var(--gl-rim);box-shadow:var(--gl-shadow);backdrop-filter:blur(var(--gl-blur));-webkit-backdrop-filter:blur(var(--gl-blur));
  border-radius:0;border-start-end-radius:var(--gc);color:var(--ink);}
.home .exp .quote-banner p{font-weight:300;line-height:1.3;letter-spacing:-.01em;color:var(--ink);text-wrap:balance;}
html[dir="rtl"] .home .exp .quote-banner p{line-height:1.5;letter-spacing:0;}
/* Owner, 2026-11-20: a stronger, more intentional hierarchy. The tag stays the small line; the name is the large
   one, bigger and in capitals (Latin; Arabic has none, so it is simply larger), and the two stand closer together
   so they read as one heading. The panel no longer repeats her name, which the heading has just said: it holds
   its one sentence, set larger, and the panel is as tall as that sentence needs and no taller. */
html[dir="ltr"] .home .exp .title--name,html[dir="ltr"] .home .exp .title--name .lead{text-transform:uppercase;letter-spacing:.01em;}
.home .exp .quote-attr{display:none;}

@media (min-width:1024px){
  .home .exp{padding:0;min-height:56.25vw;isolation:isolate;}
  .home .exp::before{content:"";position:absolute;z-index:0;pointer-events:none;left:26.86%;top:-59.5%;height:400%;aspect-ratio:1843.04/1935.25;transform:translate(-50%,-50%) rotate(180deg);
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='631.29 -240.05 1843.04 1935.25'%3E%3Cdefs%3E%3CclipPath id='b'%3E%3Cpath d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z'/%3E%3C/clipPath%3E%3CclipPath id='s'%3E%3Cpath d='M2106.91,197.37h-197.54v804.55c0,120.25-5.28,159.72-15.82,253.35h0c84.84-21.76,213.36-86.53,213.36-279.82V197.37H2106.91Z'/%3E%3C/clipPath%3E%3CclipPath id='q'%3E%3Cpath d='M2474.33-240.05h-368.45V197.37h368.45V-240.05H2474.33Z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cpath d='M999.74,479.71v778.07h197.54V453.24c0-120.25,5.28-159.73,15.82-253.36h0C1128.26,221.64,999.74,286.42,999.74,479.71Z' fill='%237019BD'/%3E%3Cpath d='M1438.38,200.87h379.18v900.73c0,88.13-71.55,159.68-159.68,159.68h-379.18V360.55C1278.7,272.42,1350.25,200.87,1438.38,200.87Z' fill='none' stroke='%237019BD' stroke-width='8' clip-path='url(%23b)'/%3E%3Cpath d='M2106.91,197.37h-197.54v804.55c0,120.25-5.28,159.72-15.82,253.35h0c84.84-21.76,213.36-86.53,213.36-279.82V197.37H2106.91Z' fill='none' stroke='%237019BD' stroke-width='8' clip-path='url(%23s)'/%3E%3Cpath d='M2474.33-240.05h-368.45V197.37h368.45V-240.05H2474.33Z' fill='none' stroke='%237019BD' stroke-width='8' clip-path='url(%23q)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;}
  html[dir="rtl"] .home .exp::before{left:auto;right:26.86%;transform:translate(50%,-50%) rotate(180deg) scaleX(-1);}
  .home .exp .container{display:block;position:static;padding:0;min-height:56.25vw;}
  /* Owner, 2026-11-18: the film stays horizontal, and the name comes before the quote. The name stands top left,
     inside the bowl's outline; the film below it at its own 16:9, from the page's left margin to just past the
     blade's edge; the quote's glass card under the blade, on the blade's edge (66.1%), lapping the film's side. */
  /* Owner, 2026-11-20: the tag and the name stand 1.15vw lower, so the room under the name (its letters' foot to
     the film) equals the room beside it (its last letter to the bowl's outline): 55px each at 1440 wide. */
  .home .exp .exp-copy .eyebrow{position:absolute;z-index:3;inset-inline-start:9.375%;top:calc(11.5% + 1.15vw);width:40%;margin:0;font-size:max(12px,1.198vw);}
  html[dir="ltr"] .home .exp .exp-copy .eyebrow{letter-spacing:.16em;}
  .home .exp .title--name{position:absolute;z-index:3;inset-inline-start:9.375%;top:calc(11.5% + 3.5vw);width:47%;margin:0;font-size:5vw;white-space:nowrap;}
  html[dir="rtl"] .home .exp .title--name{top:calc(11.5% + 3.25vw);}
  .home .exp .video-col{position:absolute;z-index:1;inset-inline-start:9.375%;top:32.4%;width:60.6%;}
  /* the panel keeps its edge on the blade's edge and its foot where it was; its height is the sentence's */
  .home .exp .quote-banner{position:absolute;inset-inline-start:66.146%;top:auto;bottom:12.963%;width:27.083%;height:auto;padding:2.292vw;transition:inset-inline-start .6s var(--ease);}
  .home .exp .quote-banner p{font-size:2.1vw;}
  /* while the film plays, the card steps off it */
  .home .exp .video-col:has(iframe) ~ .exp-copy .quote-banner{inset-inline-start:71.4%;}
}
@media (max-width:1023px){
  /* Stacked. Owner, 2026-11-19: no background pattern here; the text box was too big and covered part of the film,
     which made the film hard to reach on a phone. So: the name, then the film whole and clear, nothing over it,
     then the quote under it as a compact card of the film's own width. */
  .home .exp .container{display:grid;grid-template-columns:minmax(0,1fr);gap:0;}
  .home .exp .exp-copy .eyebrow{grid-row:1;margin-bottom:var(--s0);}
  .home .exp .title--name{grid-row:2;margin-bottom:var(--s3);font-size:clamp(30px,8.4vw,60px);}
  .home .exp .video-col{grid-row:3;position:relative;z-index:0;}
  .home .exp .quote-banner{grid-row:4;margin:var(--s2) 0 0;padding:var(--s3);gap:var(--s2);flex-direction:column;}
  .home .exp .quote-banner p{font-size:clamp(20px,5.4vw,28px);}
}
