/* v20 "Golden Hour Sadu": limestone, white paper, night ink, a golden-hour sky.
   Saffron (--sun, --sunwash) is ONLY for values measured from the person reading, and never text.
   Sadu red (--sadu) is ONLY for the weave, Mohannad's facts, the stamp and the tear-off.
   Logos keep their own colours. Nothing dark anywhere (the CV print stays as it is). */
@font-face{font-family:"Archivo";src:url("fonts/archivo-var.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-style:normal;font-display:swap}
@font-face{font-family:"Archivo";src:url("fonts/archivo-var-italic.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-style:italic;font-display:swap}

:root{color-scheme:only light}
:root{
  /* ground and paper */
  --haze:#FBF4F1;            /* rose-white limestone: the page */
  --paper:#FFFFFF;           /* paper: cards, menu, the CV */
  --ink:#231C2E;             /* night ink: all text */
  --ink-2:#4A3F52;           /* secondary text people must read */
  --mute:#6B5F6E;            /* quiet notes and captions */
  --line:#EADCD8;            /* hairlines */
  --line-ink:rgba(35,28,46,.12);
  /* golden-hour sky */
  --sky:#CFE3EE;             /* high sky */
  --glow:#FFD9BF;            /* horizon */
  --sky-grad:linear-gradient(180deg,#CBE0EC 0%,#E6EEF0 30%,#FBE6DA 58%,#FFD4B5 74%,var(--haze) 74.2%);
  /* the visitor (saffron): ONLY values measured from the person reading */
  --sun:#FFB21C;             /* fills, dots, bars. Never text */
  --sunwash:#FFE7AE;         /* highlighter behind a visitor value: ink on wash */
  --sun-deep:#8A5A00;        /* the rare saffron-family text */
  /* sadu red: ONLY the weave, facts (Mohannad's real figures), the stamp and the tear-off */
  --sadu:#D3283E;            /* text at 15px and up, or bold */
  --sadu-ink:#B81F33;        /* red text under 15px, or on sky/glow */
  --shade:rgba(35,28,46,.16);/* golden-hour shadows */
  --lift:0 1px 0 rgba(35,28,46,.06),0 8px 20px -10px rgba(120,60,60,.4);  /* paper resting on limestone */
  --lift-hi:0 24px 40px -24px rgba(120,60,60,.35);
  /* type: one big line and two or three short ones per screen */
  --t-display:clamp(56px,9vw + 20px,168px);
  --t-q:clamp(19px,.9vw + 15px,30px);
  --t-big:clamp(40px,7vw + 12px,120px);
  --t-l1:clamp(21px,.8vw + 17px,32px);
  --t-l2:clamp(16px,.4vw + 14px,20px);
  /* unchanged */
  --squeeze:0;               /* 0 at rest, 1 at full scroll speed. Set from app.js */
  --mx:70%; --my:20%;        /* where the visitor is looking. Set from app.js */
  --gutter:clamp(20px,5vw,88px);
  --measure:62ch;
  --sec:clamp(56px,8vh,112px);  /* v34: one vertical rhythm for every section: a shorter page */
  color-scheme:light;
}

*{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;background:var(--haze);scroll-padding-top:72px}
body{
  background:var(--haze);
  color:var(--ink);
  font-family:"Archivo","Helvetica Neue",Arial,sans-serif;
  font-size:clamp(17px,1.05vw + 13px,21px);line-height:1.5;
  font-stretch:100%;font-weight:400;
  font-variant-numeric:tabular-nums;
  overflow-x:hidden;
}
/* attention is light: a soft glow follows the visitor, with paper grain over everything.
   Plain alpha, no blend modes: a full-screen blend layer stalls rendering. */
.light{
  position:fixed;inset:0;z-index:5;pointer-events:none;
  background:radial-gradient(34vmax 34vmax at var(--mx) var(--my),rgba(255,178,28,.07),transparent 70%);
}
.light::after{
  content:"";position:absolute;inset:0;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main{position:relative;z-index:2}
::selection{background:var(--sunwash);color:var(--ink)}
a{color:inherit;text-underline-offset:.18em;text-decoration-thickness:.06em}
a:hover{text-decoration-color:var(--sun);text-decoration-thickness:.14em}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 6px var(--sunwash)}
.you{color:var(--ink);background:linear-gradient(180deg,transparent 55%,var(--sunwash) 55%);padding:0 .12em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
b{font-weight:700}

.skip{position:absolute;left:-999px;top:8px;background:var(--sun);color:var(--ink);padding:10px 14px;z-index:30}
.skip:focus{left:8px}

/* Display type narrows as the visitor scrolls faster. */
h1,h2,.who-name,.verdict{
  font-stretch:calc(112% - 50% * var(--squeeze));
  transition:font-stretch .25s ease-out;
  text-wrap:balance;
}
/* word-by-word entrances, prepared by app.js */
.w{display:inline-block;overflow:clip;overflow-clip-margin:.12em;vertical-align:bottom;padding-bottom:.06em;margin-bottom:-.06em}
.wi{display:inline-block;will-change:transform}

/* ---- top bar ---- */
.bar{
  position:fixed;inset:0 0 auto 0;z-index:20;
  display:flex;align-items:center;gap:clamp(14px,2vw,28px);
  padding:0 var(--gutter);height:64px;
  font-size:15px;font-stretch:80%;font-weight:500;
  background:rgba(251,244,241,.92);box-shadow:0 1px 0 var(--line);
}
.bar::after{content:"";position:absolute;left:0;right:0;top:100%;height:16px;background:linear-gradient(rgba(251,244,241,.9),transparent);pointer-events:none}
.pro-only{display:none}
.is-pro .pro-only{display:inline}
.is-pro .plain-only{display:none}
/* the bar: his photo and name (the CV), «Marketer terms», «Contact» and the other language */
.bar{white-space:nowrap}
.bar-mode{font:inherit;font-weight:600;color:var(--ink-2);background:none;border:0;padding:0;cursor:pointer;min-height:44px;display:inline-flex;align-items:center;gap:8px}
.bar-mode::before{content:"";width:26px;height:16px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--ink-2);background:radial-gradient(circle at 8px 50%,var(--ink-2) 4px,transparent 4.5px);transition:background .2s cubic-bezier(.16,1,.3,1)}
.bar-mode[aria-pressed="true"]{color:var(--ink)}
.bar-mode[aria-pressed="true"]::before{background:radial-gradient(circle at 18px 50%,var(--ink) 4px,transparent 4.5px) var(--sunwash);box-shadow:inset 0 0 0 1.5px var(--ink)}
.bar-mode:hover{color:var(--ink)}
.bar-ct{text-decoration:none;font-weight:800;color:var(--paper);background:var(--ink);border-radius:999px;padding:6px 14px;border:0;font:inherit;font-weight:800;cursor:pointer} /* v41: a clear button */
.bar-ct:hover{background:var(--ink-2)}
/* when the bar runs out of room (fitBar), the name beside his photo steps aside (the photo still opens the CV), then the switch's knob */
.bar.is-tight-2 .who-nm{display:none}
.bar.is-tight-3 .bar-mode::before{display:none}
.bar-lang{color:var(--ink-2);text-decoration:none;font-weight:600}
.bar-lang,.bar-ct{position:relative}
.bar-lang::after,.bar-ct::after{content:"";position:absolute;inset:-10px -2px}  /* about 40px to tap, same look */
.bar-lang:hover{color:var(--ink)}
.bar-lang[lang="ar"]{font-family:"Noto Kufi Arabic","Geeza Pro",Tahoma,sans-serif}
.bar-links{display:flex;gap:22px;align-items:center;margin-inline-start:auto}
/* the who chip: his photo and name, from the first second. It opens the 1-minute CV */
.bar-who{
  font:inherit;font-size:15px;font-weight:700;font-stretch:100%;color:var(--ink);background:none;border:0;padding:0;cursor:pointer;
  display:inline-flex;align-items:center;gap:10px;min-height:44px;min-width:0;flex:none;
}
.who-av{position:relative;flex:none;width:34px;height:34px;border-radius:50%;
  background:radial-gradient(circle at 50% 40%,#FFE59A 0%,#FFC53D 45%,#FFA81A 100%);
  box-shadow:0 0 0 2px var(--paper),0 0 0 3px var(--line-ink),0 0 16px 2px rgba(255,178,28,.3)}
.who-face{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 22%}
.who-cv,.who-nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}
.bar-who:hover .who-cv,.bar-who:hover .who-nm{text-decoration:underline;text-decoration-color:var(--sun);text-decoration-thickness:2px;text-underline-offset:.25em}
/* the funnel, live, across the very top of the page */
.bar-funnel{position:fixed;inset:0 0 auto 0;z-index:21;display:grid;grid-template-columns:repeat(6,1fr);gap:3px;height:4px;list-style:none;padding:0;margin:0}
.bar-funnel li{background:var(--line-ink);transform-origin:0 50%;transition:background .5s}
.bar-funnel li.is-on{background:var(--sun)}
.aside{cursor:pointer}
.aside{
  position:fixed;top:66px;right:var(--gutter);z-index:20;max-width:min(420px,calc(100vw - 2 * var(--gutter)));
  background:var(--sun);color:var(--ink);padding:12px 16px;font-size:15px;line-height:1.35;font-weight:500;border-radius:14px;box-shadow:var(--lift);
  display:grid;gap:10px;justify-items:start;
  transform:translateY(-16px);opacity:0;visibility:hidden;transition:transform .45s cubic-bezier(.16,1,.3,1),opacity .3s,visibility 0s .45s;
}
.aside-btn{font:inherit;font-weight:700;background:var(--ink);color:var(--paper);border:0;padding:8px 14px;cursor:pointer}
.aside.is-on{transform:none;opacity:1;visibility:visible;transition-delay:0s}

/* ---- section navigator, wide screens only ---- */
.dots{position:fixed;right:18px;top:50%;transform:translateY(-50%);z-index:19;display:none;gap:4px;justify-items:end}
.dots button{
  display:flex;align-items:center;gap:10px;flex-direction:row-reverse;font:inherit;font-size:13px;font-weight:600;font-stretch:85%;
  color:var(--ink);background:none;border:0;padding:5px 0;cursor:pointer;
  position:relative;width:24px;min-height:35px;
}
/* the label floats beside the diamond and takes no room, so the invisible labels never cover the page's cards */
.dots button span{position:absolute;right:20px;top:50%;translate:0 -50%}
.dots button::before{content:"";width:8px;height:8px;margin:0 1px;transform:rotate(45deg);box-shadow:inset 0 0 0 1.5px var(--mute);transition:background .2s,transform .2s,box-shadow .2s}
.dots button span{opacity:0;transform:translateX(6px);transition:opacity .2s,transform .2s;background:var(--ink);color:var(--paper);padding:3px 9px;border-radius:999px;white-space:nowrap;pointer-events:none}
.dots button:hover span,.dots button:focus-visible span{opacity:1;transform:none}
.dots button.is-here::before{box-shadow:inset 0 0 0 1.5px var(--ink);transform:rotate(45deg) scale(1.35)}
.dots button.is-woven::before{background:var(--sadu);box-shadow:none}
.dots button.is-here.is-woven::before{background:var(--sadu)}
@media (min-width:1200px){.dots{display:grid}}
/* the career track ends before the dots rail (F51) */
@media (min-width:1200px){.track{margin-inline-end:150px}}

[data-pro]{transition:opacity .25s}
.is-pro p.pro-only{display:block}

/* ---- who ---- */
.who{background:var(--haze);padding:calc(64px + var(--sec)) var(--gutter) var(--sec)}
.who-stage{
  margin:0 0 clamp(20px,4vh,40px);
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(20px,4vw,72px);align-items:end;
}
.who-name{
  margin-left:-.04em;
  font-size:var(--t-display);line-height:.88;font-weight:900;letter-spacing:-.04em;
  font-stretch:62%;transition:font-stretch 1.4s cubic-bezier(.16,1,.3,1);
}
.who-name.is-open{font-stretch:calc(110% - 48% * var(--squeeze))}
@media (min-width:768px){html:not([dir="rtl"]) .who-name{font-size:min(var(--t-display),8.4vw)}}
.who-out{margin-top:clamp(14px,2vh,24px);max-width:22ch;font-size:clamp(22px,2.4vw,36px);font-weight:700;line-height:1.3}
.who-role{margin-top:clamp(12px,2vh,20px);max-width:34ch;font-size:clamp(16px,1.2vw,19px);font-weight:600;color:var(--ink-2);line-height:1.35}
.who-map{margin-top:clamp(14px,2vh,22px);max-width:34ch;font-weight:600;color:var(--ink);padding-inline-start:14px;border-inline-start:3px solid var(--sadu)}
/* v37 the ticket from the front page: a paper stub with the same torn edge as the front page's stub, the result on the visitor's wash,
   5 holes (one punched per experiment answered). A copy docks on the WhatsApp button at the end */
.ticket{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;width:fit-content;max-width:100%;margin-top:clamp(18px,2.4vh,26px);padding:10px 14px;background:var(--paper);box-shadow:var(--lift);border-radius:0 0 6px 6px;color:var(--ink);font-size:15px;font-weight:600;line-height:1.55;text-decoration:none}
.ticket::before{content:"";position:absolute;inset-inline:0;top:-5px;height:6px;background:radial-gradient(circle at 5px 0,transparent 3.2px,var(--paper) 3.6px) 0 0/10px 6px repeat-x}
.ticket:hover .tk-t{text-decoration:underline;text-underline-offset:.2em}
.tk-holes{display:inline-flex;gap:6px}
.tk-holes i{position:relative;width:9px;height:9px;border-radius:50%;background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--ink-2)}
.tk-holes i.on{background:var(--haze);box-shadow:inset 0 0 0 1.5px var(--ink),inset 0 2px 3px 1px rgba(35,28,46,.45)}
/* v38: the front page's result, carried: the big line above the name, a small line under it */
.tk-head{margin:0 0 clamp(12px,2vh,20px);max-width:24ch;font-size:clamp(24px,2.6vw,38px);font-weight:800;line-height:1.2;letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
.tk-head b{font-weight:inherit}
.tk-head small{display:block;margin-top:6px;font-size:clamp(16px,1.2vw,19px);font-weight:600;letter-spacing:0;color:var(--ink-2)}
/* v38: one continuous take from the front page (browsers with cross-document view transitions; the others load as before) */
@view-transition{navigation:auto}
@media (prefers-reduced-motion:reduce){@view-transition{navigation:none}}
.tk-head{view-transition-name:p1ticket}
.who-photo{view-transition-name:p1face}
.tk-flake{position:absolute;inset:1.5px;border-radius:50%;background:var(--paper);box-shadow:0 1px 2px rgba(35,28,46,.25);pointer-events:none}
/* v34: back to Part 1, small, above the name (the chevron is mirrored in ar.css) */
.who-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-bottom:clamp(8px,1.5vh,16px);font-size:15px;font-weight:700;color:var(--ink-2);text-decoration:none}
.who-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s cubic-bezier(.23,1,.32,1)}
.who-back:hover{color:var(--ink);text-decoration:underline;text-underline-offset:.2em}
@media (hover:hover){.who-back:hover svg{transform:translateX(-3px)}}
/* the portrait rests on the limestone like a print */
.who-photo{
  width:100%;height:auto;aspect-ratio:4 / 5;object-fit:cover;object-position:50% 12%;
  border-radius:28px;
  -webkit-mask-image:linear-gradient(#000 72%,transparent 100%);mask-image:linear-gradient(#000 72%,transparent 100%);
}
/* «The full story»: the childhood shelf, the phone shop and the press quote, one tap away */
.more.story{margin-top:clamp(20px,3vh,32px)}
.more.story > p + p{margin-top:1.1em}

.press{margin:1.4em 0 0;padding:0}
.press p{font-size:clamp(24px,2.6vw,40px);font-weight:700;font-style:italic;line-height:1.15;letter-spacing:-.015em;text-wrap:pretty}
.press footer{margin-top:10px;font-size:.85em;color:var(--mute)}
.press footer:first-child{margin:0 0 10px}


/* optional depth: closed by default, one click to open */
.more{margin-top:18px;max-width:var(--measure)}
.more > summary,.fold summary{cursor:pointer;list-style:none}
.more > summary::-webkit-details-marker,.fold summary::-webkit-details-marker{display:none}
.more > summary{display:inline-flex;align-items:center;gap:10px;font-weight:700;color:var(--ink);padding:6px 0}
.more > summary::before{content:"+";content:"+"/"";display:grid;place-items:center;width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--ink);font-weight:700;line-height:1}
.more[open] > summary::before{content:"\2212";content:"\2212"/""}
.more > p,.more > blockquote{margin-top:1em}

/* the line that names the trick, after it has worked */
.reveal{
  max-width:52ch;padding-left:18px;border-left:3px solid var(--line);
  font-style:italic;color:var(--ink);
}
/* a lesson: a red tag, what just happened (l1), what it means (l2). No ruled box: the tag carries it. */
.lesson{
  margin-top:24px;max-width:52ch;display:grid;gap:8px;
  color:var(--ink);
}
/* each experiment opens with its tag: the sadu tooth, then «تجربة 3 · أول رقم» (marketers read the trade term) */
.exp-head{margin-bottom:14px}
.tag{
  display:inline-flex;align-items:center;gap:8px;color:var(--sadu-ink);
  font-size:13px;font-weight:600;line-height:1.5;letter-spacing:.04em;
}
/* the sadu tooth before every tag: two red triangles, 14 by 8 */
.tag::before{content:"";flex:none;width:14px;height:8px;background:conic-gradient(from 135deg at 25% 0,var(--sadu) 90deg,transparent 0) 0 0/7px 8px repeat-x}
.decoy .exp-head{margin-top:4px}
.log .exp-head{margin-left:var(--gutter);margin-right:var(--gutter)}

/* «ليش يصير كذا»: one tap to the depth, a ? in an ink ring on the start side */
.why{margin-top:6px;max-width:var(--measure)}
.why summary{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--ink);cursor:pointer;list-style:none;padding:8px 0;min-height:44px}
.why summary::-webkit-details-marker{display:none}
.why summary::before{content:"?";content:"?"/"";display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--ink);font-family:"Archivo",sans-serif;font-weight:700;font-size:13px;line-height:1}
.why[open] summary::before{background:var(--ink);color:var(--paper)}
.why > :not(summary){margin-top:8px;color:var(--ink-2)}
.lesson .l1{font-size:var(--t-l1);font-weight:750;line-height:1.35;text-wrap:pretty}
.lesson .l2{font-size:var(--t-l2);font-weight:450;line-height:1.55;color:var(--ink-2);text-wrap:pretty}
/* his facts, in red */
.fact{font-weight:700;color:var(--sadu-ink)}


.btn{
  justify-self:start;display:inline-block;
  font:inherit;font-weight:700;font-stretch:88%;
  background:var(--ink);color:var(--paper);border-radius:999px;
  border:0;padding:15px 26px;cursor:pointer;text-decoration:none;white-space:nowrap;
  transition:transform .12s ease-out,background .15s;
}
.btn:hover{color:var(--paper);background:#3a3046}
.btn:active{transform:translateY(2px) scale(.985)}
.btn[disabled]{opacity:.45;cursor:default}
.btn-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink);padding:10px 18px;font-size:.85em}
.btn-ghost:hover{background:var(--ink);color:var(--paper)}

/* ---- leak ---- */
.leak{padding:var(--sec) var(--gutter)}
.leak-lead{font-size:clamp(28px,3.6vw,56px);font-weight:800;line-height:1.1;letter-spacing:-.02em;max-width:20ch}
/* v34 «نفس الصرف»: two stores on one ink horizon. Store 1 an ink outline, store 2 the sadu weave (3.5 is his fact).
   The heights keep 1.9 : 3.5 whatever the spend; the numbers above them follow it */
.ss{display:grid;grid-template-columns:repeat(2,minmax(0,140px));gap:clamp(20px,4vw,44px);align-items:end;max-width:330px;margin:clamp(22px,3vh,34px) 0 14px;border-bottom:1.5px solid var(--ink)}
.ss-bar p{font-size:15px;font-weight:600;color:var(--ink-2);margin-bottom:6px}
.ss-bar b{display:block;font-family:"Archivo",sans-serif;font-variant-numeric:tabular-nums lining-nums;font-size:clamp(24px,2.6vw,36px);font-weight:800;color:var(--ink);line-height:1.05}
.ss-bar i{display:block;transform-origin:bottom;border-radius:6px 6px 0 0}
.ss-a i{height:calc(150px * 1.9 / 3.5);background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--ink)}
.ss-b i{height:150px;background:repeating-linear-gradient(135deg,var(--sadu) 0 6px,var(--ink) 6px 8px,var(--sadu) 8px 14px,#fff 14px 16px)}
/* v30: his real store result, named and after the chips, so it never reads as the bars' caption; it closes the experiment where the lesson line was */
.leak-proof{color:var(--sadu);font-weight:800;font-size:clamp(20px,2.2vw,30px);margin-top:14px}
/* v22 «Smaller budget?»: five small shopfronts on their own ink horizon, rising from 5,000 to 100,000+.
   The tapped one fills from the ground with the visitor's wash, under a saffron roof: the gap, as in the shops above */
.budget{margin:0 0 30px}
.budget-q{margin:0 0 10px;font-weight:700;font-size:clamp(18px,1.6vw,22px);color:var(--ink)}
.chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;align-items:end;max-width:420px;padding-bottom:0;border-bottom:1.5px solid var(--ink)}
.chip{
  --h:44px;position:relative;overflow:hidden;height:var(--h);margin:0;padding:0 2px;border:0;border-radius:8px 8px 2px 2px;
  background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--ink);cursor:pointer;
  font:700 15px/1 "Archivo",sans-serif;font-stretch:80%;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink);
  transition:transform .16s cubic-bezier(.16,1,.3,1)
}
.chip:nth-child(2){--h:48px}.chip:nth-child(3){--h:52px}.chip:nth-child(4){--h:56px}.chip:nth-child(5){--h:60px}
.chip span{position:relative;z-index:1}
.chip::after{content:"";position:absolute;inset:0;background:var(--sunwash);transform:scaleY(0);transform-origin:bottom;transition:transform .26s cubic-bezier(.16,1,.3,1)}
.chip::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--sun);z-index:1;transform:scaleY(0);transform-origin:top;transition:transform .26s cubic-bezier(.16,1,.3,1)}
.chip[aria-pressed="true"]::after,.chip[aria-pressed="true"]::before{transform:scaleY(1)}
@media (hover:hover) and (pointer:fine){.chip[aria-pressed="false"]:hover{transform:translateY(-2px)}}
.chip:focus-visible{outline:2px solid var(--ink);outline-offset:3px;box-shadow:inset 0 0 0 1.5px var(--ink),0 0 0 6px var(--sunwash)}
.budget-out{margin:0 0 26px;font-size:clamp(18px,1.7vw,24px);font-weight:600;color:var(--ink);text-wrap:balance}
/* v37: their spend from the front page, on its own row above the rising chips; the line under the chips */
.chip-mine{grid-column:1/-1;justify-self:start;--h:44px;padding:0 14px;margin-bottom:6px;border-radius:8px}
.chip-mine ~ .chip:nth-child(2){--h:44px}.chip-mine ~ .chip:nth-child(3){--h:48px}.chip-mine ~ .chip:nth-child(4){--h:52px}.chip-mine ~ .chip:nth-child(5){--h:56px}.chip-mine ~ .chip:nth-child(6){--h:60px}
.budget-mine{margin:10px 0 0;font-size:14px;font-weight:600;color:var(--ink-2)}
/* narrow phones: smaller figures, so «100,000+» fits its chip and the five chips stay one rising row */
@media (max-width:389px){.chip{font-size:13px}}
@media (max-width:359px){.chips{column-gap:4px}.chip{font-size:11.5px}}
/* «Results»: four of his facts, one tap away; the figures are red because they are his */
.win-num{font-size:clamp(28px,2.9vw,50px);font-weight:900;font-stretch:72%;line-height:1;letter-spacing:-.01em;white-space:nowrap;color:var(--sadu)}
.win-note{font-size:15px;color:var(--mute);line-height:1.45}

/* ---- the gift: a ten-point leak check ---- */
.check{padding:var(--sec) var(--gutter);background:var(--paper)}
.check-title{font-size:clamp(34px,5.4vw,92px);line-height:1;font-weight:800;letter-spacing:-.03em;max-width:15ch}
.quiz{list-style:none;padding:0;display:grid;gap:0}
/* the gift arrives tied: a white card with a red sadu ribbon and a knot; every answer pulls a quarter loose */
.gift-box{position:relative;margin-top:clamp(32px,5vh,56px);max-width:980px;background:var(--paper);border-radius:28px;box-shadow:var(--lift);padding:34px clamp(18px,3vw,36px) 8px}
.ribbon{position:absolute;left:0;right:0;top:12px;height:14px;display:flex;align-items:center;transition:transform .4s cubic-bezier(.16,1,.3,1),opacity .4s}
.ribbon i{flex:1;height:14px;display:block;transition:opacity .3s,transform .3s}
.ribbon i svg{display:block;width:100%;height:100%}
.ribbon i.is-loose{opacity:.14;transform:translateY(-3px)}
.ribbon-knot{flex:none;width:24px;height:24px;margin:0 -2px;background:var(--sadu);transform:rotate(45deg);box-shadow:inset 0 0 0 4px var(--sadu),inset 0 0 0 6px #fff;position:relative;z-index:1}
.ribbon.is-off{transform:translateY(-18px);opacity:0}
.quiz li:first-child{border-top:0}
.quiz li:last-child{border-bottom:0}
.quiz li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px clamp(16px,3vw,40px);align-items:center;padding:18px 0;border-top:1.5px solid var(--line)}
.quiz li:last-child{border-bottom:1.5px solid var(--line)}
.quiz p{font-size:clamp(18px,1.6vw,24px);font-weight:600;line-height:1.3}
.quiz .yn{display:flex;gap:8px}
.quiz button{font:inherit;font-weight:700;min-width:74px;padding:10px 16px;color:var(--ink);background:transparent;border:1.5px solid var(--line-ink);border-radius:999px;cursor:pointer;transition:background .15s,color .15s,transform .12s}
.quiz button:hover{border-color:var(--ink)}
.quiz button:active{transform:translateY(2px)}
.quiz button[aria-pressed="true"]{background:var(--sunwash);color:var(--ink);border-color:var(--ink)}  /* ink edge: the choice reads without relying on the pale wash */
.quiz button[aria-pressed="true"]::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--sun);margin-inline-end:7px;vertical-align:.12em}
.gift{margin-top:clamp(28px,4vh,48px);padding:clamp(22px,3vw,40px);background:var(--sunwash);color:var(--ink);border-radius:28px;max-width:980px;display:grid;gap:10px;justify-items:start}
.gift-label{font-weight:800;font-stretch:80%;font-size:.9em}
.gift-title{font-size:clamp(24px,2.8vw,42px);font-weight:900;line-height:1.05;letter-spacing:-.02em}
/* v34 the card's tool: two plain fields (or a link maker, or 4 Sundays), the answer, then the week's three ticks */
.gift-tool{display:grid;gap:12px;width:100%;max-width:640px;justify-items:start}
.gift-in{display:grid;gap:4px;width:100%;font-size:15px;font-weight:600;color:var(--ink-2)}
.gift-in input{font:inherit;font-size:18px;font-weight:600;color:var(--ink);background:var(--paper);border:1.5px solid var(--line-ink);border-radius:14px;padding:11px 14px;min-height:48px;width:100%}
.gift-in input:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-color:var(--ink)}
.gift-plats{display:flex;flex-wrap:wrap;gap:8px}
.gift-plats button{font:inherit;font-weight:700;font-size:15px;padding:8px 14px;min-height:44px;border-radius:999px;border:1.5px solid var(--line-ink);background:var(--paper);color:var(--ink);cursor:pointer}
.gift-plats button[aria-pressed="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.gift-out{font-size:clamp(19px,1.8vw,24px);font-weight:700;line-height:1.35}
.gift-out:empty{display:none}
.gift-link{display:block;width:100%;font:500 14px/1.45 "Archivo",sans-serif;background:var(--paper);padding:10px 12px;border-radius:12px;word-break:break-all;text-align:left}
.gift-cal{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0}
.gift-cal li{background:var(--paper);border-radius:12px;padding:8px 12px;font-weight:700;box-shadow:inset 0 0 0 1.5px var(--ink)}
.gift-week{width:100%;margin-top:8px;padding-top:14px;border-top:1.5px dashed rgba(35,28,46,.25)}
.gift-wk{font-weight:800}
.gift-steps{list-style:none;padding:0;display:grid;gap:8px;margin-top:8px}
.gift-steps label{display:flex;gap:10px;align-items:flex-start;cursor:pointer;line-height:1.45}
.gift-steps input{width:20px;height:20px;margin-top:.2em;accent-color:var(--ink);flex:none}
.gift-steps input:checked + span{text-decoration:line-through;color:var(--mute)}
.gift-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.gift .btn-ghost{color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.gift .btn-ghost:hover{background:var(--ink);color:var(--paper)}

/* ---- v36 the wording: one story ad frame (an example, no brand), a dates box and two ads for the same offer.
   Whichever is tapped, both flip to «You pay SAR 45» and slide together into one card ---- */
.decoy{padding:var(--sec) var(--gutter)}
.decoy-title{font-size:clamp(40px,7vw,130px);line-height:.92;font-weight:900;letter-spacing:-.04em;max-width:12ch}
.decoy-hint{margin-top:clamp(12px,2vh,20px);font-size:clamp(16px,1.2vw,19px);font-weight:600;color:var(--ink-2)}
.sad{
  position:relative;margin-top:clamp(24px,4vh,44px);max-width:560px;border-radius:28px;box-shadow:var(--lift);
  background:linear-gradient(180deg,var(--glow),var(--paper) 52%);padding:14px clamp(12px,2vw,20px) clamp(16px,2.2vw,22px);
}
.sad-top{display:flex;gap:4px}
.sad-top i{flex:1;height:3px;border-radius:2px;background:rgba(35,28,46,.16)}
.sad-top i:first-child{background:var(--ink)}
.sad-tag{display:inline-block;margin-top:10px;font-size:13px;font-weight:700;color:var(--ink-2);background:rgba(255,255,255,.75);padding:3px 10px;border-radius:999px}
.sad-art{display:block;width:min(200px,60%);height:auto;margin:2px auto 12px}
.offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,1.4vw,14px)}
.offer{
  position:relative;font:inherit;color:var(--ink);background:var(--paper);border:0;border-radius:18px;cursor:pointer;box-shadow:inset 0 0 0 1.5px var(--line-ink);
  display:grid;gap:6px;justify-items:center;padding:12px 8px 16px;perspective:900px;
  transition:background .2s,box-shadow .2s,opacity .2s;
}
.offer:not(:disabled){transition:background .2s,box-shadow .2s,opacity .2s,transform .35s cubic-bezier(.16,1,.3,1)}
.offer-tag{font-size:12px;font-weight:700;color:var(--mute);letter-spacing:.02em}
/* the two faces of each ad: the offer, and on its back what it really costs */
.offer-in{display:grid;width:100%;min-height:clamp(64px,8vw,84px);transform-style:preserve-3d;transition:transform .45s cubic-bezier(.65,0,.35,1)}
.offer-in > span{grid-area:1/1;display:grid;place-items:center;text-align:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;line-height:1.1}
.offer .face{font-size:clamp(26px,3vw,40px);font-weight:900;font-stretch:80%}
.offer .back{transform:rotateY(180deg);font-size:clamp(18px,1.8vw,24px);font-weight:700}
.offer .back b{font-family:"Archivo",sans-serif;font-variant-numeric:tabular-nums lining-nums;font-weight:800;font-size:1.6em;padding-bottom:2px;
  background:linear-gradient(var(--sadu),var(--sadu)) no-repeat 0 100%/0 3px;transition:background-size .3s cubic-bezier(.23,1,.32,1)}
.offers.is-flipped .offer-in{transform:rotateY(180deg)}
.offers.is-merged .offer .back b{background-size:100% 3px}
@media (hover:hover) and (pointer:fine){.offer:not(:disabled):hover{background:#FBF0EA;transform:translateY(-4px)}}
/* the pick: an ink outline, on top of the stack; the other ad steps back (no red, no ✗) */
.offer[aria-pressed="true"]{box-shadow:inset 0 0 0 2.5px var(--ink);z-index:2}
.offers.is-picked .offer[aria-pressed="false"]{opacity:.6}
.offer:disabled{cursor:default}
.offer-base{margin-top:12px;text-align:center;font-size:14px;font-weight:600;color:var(--ink-2)}
/* the third answer, for the sharp ones: a quiet link under the ad; it becomes a ✓ when chosen */
.offer-same{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;padding:0 4px;font:inherit;font-weight:700;color:var(--ink);background:none;border:0;cursor:pointer;
  text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.offer-same:disabled{cursor:default;text-decoration:none}
.offer-same[aria-pressed="true"]{font-size:22px}
@media (prefers-reduced-motion:reduce){
  .offer-in,.offers.is-flipped .offer-in{transform:none;transition:none}
  .offer .back{transform:none;opacity:0}
  .offers.is-flipped .face{opacity:0}
  .offers.is-flipped .back{opacity:1;animation:offer-fade .15s ease-out}
}
@keyframes offer-fade{from{opacity:0}}

/* ---- channels ---- */
.channels{padding:var(--sec) var(--gutter);background:var(--paper)}
.channels-title{font-size:clamp(34px,5.4vw,92px);line-height:1;font-weight:800;letter-spacing:-.03em;max-width:15ch}
.channels-sub{max-width:var(--measure);margin-top:20px;color:var(--ink-2)}
.tiles{
  list-style:none;padding:0;margin-top:14px;
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(8px,1vw,14px);
}
.tile{
  position:relative;display:grid;place-items:center;width:100%;aspect-ratio:4 / 3;padding:0;overflow:hidden;
  background:#fff;border:0;border-radius:18px;box-shadow:var(--lift);cursor:pointer;font:inherit;color:#111;
  transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .2s;
}
.tile img{position:absolute;inset:20% 18%;width:64%;height:60%;object-fit:contain;display:block}
.tile-word{font-weight:800;font-size:clamp(18px,2vw,30px);letter-spacing:-.02em}
.tile:hover,.tile:focus-visible{transform:translateY(-6px)}
.tile[aria-pressed="true"]{box-shadow:0 0 0 2px var(--ink),var(--lift)}
/* v34: the picks counter above the grid, «0 من 2 → 2 من 2 ✓» */
.pick-count{margin-top:clamp(28px,5vh,52px);display:inline-flex;align-items:center;gap:.35em;font-size:.88em;font-weight:650;color:var(--ink-2);background:var(--haze);border-radius:999px;padding:6px 14px 6px 12px}
.pick-count b{font-variant-numeric:tabular-nums;color:var(--ink)}
.pick-count.is-done::after{content:"\2713";font-weight:800;color:var(--ink)}
/* the 1st pick: the sun lands on it and stays, with a «1». The 2nd: an ink ring set off the tile, with a «2» */
.tile.is-first,.tile.is-first[aria-pressed="true"]{box-shadow:0 0 0 3px var(--sun),0 0 24px 6px rgba(255,178,28,.35)}
.tile.is-second,.tile.is-second[aria-pressed="true"]{box-shadow:var(--lift);outline:2px solid var(--ink);outline-offset:3px}
.tile .pick-n{position:absolute;top:8px;inset-inline-start:8px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font:800 12px/1 "Archivo",sans-serif;font-variant-numeric:tabular-nums;background:var(--sun);color:var(--ink)}
.tile.is-second .pick-n{background:var(--ink);color:var(--paper)}
/* the invitation: a small «جرّب» on the first tile, and a soft golden-hour ring that breathes twice */
.tiles li{position:relative}
.tile-try{position:absolute;bottom:calc(100% - 6px);inset-inline-start:50%;translate:-50% 0;z-index:2;font-size:13px;font-weight:700;line-height:1;color:var(--ink);background:var(--paper);box-shadow:var(--lift),inset 0 0 0 1.5px var(--line-ink);border-radius:999px;padding:6px 11px;pointer-events:none;white-space:nowrap}
.tiles.is-inviting li:first-child .tile{animation:invite 1.6s cubic-bezier(.23,1,.32,1) 2}
@media (prefers-reduced-motion:no-preference){.tile .pick-n{animation:pickIn .22s cubic-bezier(.23,1,.32,1)}}
@keyframes pickIn{from{opacity:0;transform:scale(.6)}}
@keyframes invite{0%{box-shadow:0 0 0 0 var(--glow),var(--lift)}60%{box-shadow:0 0 0 10px rgba(255,217,191,0),var(--lift)}100%{box-shadow:0 0 0 0 rgba(255,217,191,0),var(--lift)}}
/* the reveal card under the grid: logo, name, one big figure (his fact, sadu red), one line. The caret points at the tile tapped */
.reveal{position:relative;margin-top:22px;max-width:640px;background:var(--haze);border-radius:18px;padding:20px 22px;box-shadow:inset 0 0 0 1.5px var(--line-ink)}
.reveal::before{content:"";position:absolute;top:-8px;left:calc(var(--x,40px) - 8px);width:16px;height:8px;background:var(--line-ink);clip-path:polygon(50% 0,100% 100%,0 100%)}
.reveal::after{content:"";position:absolute;top:-6px;left:calc(var(--x,40px) - 6px);width:12px;height:7px;background:var(--haze);clip-path:polygon(50% 0,100% 100%,0 100%)}
.reveal-in{display:grid;grid-template-columns:52px minmax(0,1fr);gap:16px;align-items:start}
/* v37: the card spans the whole grid, so its caret can sit under any tile (desktop and iPad too); the words keep their measure */
#channelLine{max-width:none}
#channelLine .reveal-in{max-width:596px}
.reveal-logo{width:52px;height:52px;object-fit:contain;background:#fff;border-radius:12px;padding:8px;box-shadow:var(--lift)}
.reveal-name{display:block;font-weight:800;font-size:.95em}
.reveal-big{margin-top:2px;line-height:1.05;color:var(--sadu)}
.reveal-big span{font-weight:800;font-size:clamp(34px,4.6vw,58px);letter-spacing:-.02em;font-variant-numeric:tabular-nums lining-nums}
.reveal.is-word .reveal-big span{font-size:clamp(24px,2.8vw,34px)}
.reveal-big small{font-size:clamp(15px,1.2vw,18px);font-weight:700;letter-spacing:0;color:var(--sadu)}
.reveal-line{margin-top:8px;color:var(--ink-2);text-wrap:pretty}
/* the lesson repeats the two picks as a legend: their badge, then their name */
#channelReveal .you::before{display:inline-grid;place-items:center;width:1.1em;height:1.1em;margin-inline-end:.3em;border-radius:50%;font:800 .55em/1 "Archivo",sans-serif;vertical-align:.25em}
#channelReveal .you:first-of-type::before{content:"1";background:var(--sun);color:var(--ink)}
#channelReveal .you:last-of-type::before{content:"2";background:var(--ink);color:var(--paper)}

/* ---- ad builder ---- */
.matrix{padding:var(--sec) var(--gutter)}
.matrix-title{font-size:clamp(34px,5.4vw,92px);line-height:1;font-weight:800;letter-spacing:-.03em;max-width:17ch}
.matrix-sub{max-width:var(--measure);margin-top:20px;color:var(--ink-2)}
.sealed{
  position:relative;margin-top:16px;max-width:56ch;padding:22px 18px 16px 64px;font-weight:600;
  background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--line-ink),var(--lift);border-radius:10px;overflow:hidden;
}
/* a small white envelope: the flap, and a red sadu wax seal on it */
.sealed::before{content:"";position:absolute;left:0;right:0;top:0;height:16px;background:linear-gradient(to bottom right,transparent 49%,var(--line) 50%,transparent 52%) left/50% 100% no-repeat,linear-gradient(to bottom left,transparent 49%,var(--line) 50%,transparent 52%) right/50% 100% no-repeat}
.sealed::after{
  content:"";position:absolute;left:16px;top:50%;width:32px;height:32px;margin-top:-16px;border-radius:50%;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0 10 5 5 10 0 5Z' fill='%23fff'/%3E%3Cpath d='M5 3 7 5 5 7 3 5Z' fill='%23D3283E'/%3E%3C/svg%3E") center/12px 12px no-repeat,var(--sadu);
  box-shadow:inset 0 0 0 3px #B81F33,0 2px 6px -2px rgba(150,20,40,.5);
}
/* v34: the envelope sits under the feeling row and opens when the feeling is picked: the flap folds up, the seal breaks */
.sealed::before,.sealed::after{transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1)}
.sealed::before{transform-origin:50% 0}
.sealed.is-open::before{transform:scaleY(-1);opacity:0}
.sealed.is-open::after{transform:rotate(-18deg) scale(.86);opacity:.5}
.rows{margin-top:clamp(36px,6vh,64px);display:grid;gap:26px}
.row{border:0;padding:0;display:grid;gap:10px;grid-template-columns:repeat(var(--n,3),minmax(0,1fr))}
.row legend{padding:0;margin-bottom:10px;font-weight:700;font-stretch:80%;font-size:.95em;color:var(--ink-2)}
.row legend span{font-weight:400}
.row button{
  font:inherit;font-size:.92em;line-height:1.3;text-align:left;color:var(--ink);
  background:var(--paper);border:1.5px solid var(--line);border-radius:14px;
  padding:14px 16px;min-height:78px;cursor:pointer;display:grid;gap:6px;align-content:start;
  transition:background .15s,color .15s,border-color .15s,transform .12s;
}
.row button em{font-style:normal;font-weight:800;font-stretch:78%;font-size:.82em;color:var(--ink-2)}
.row button:hover{border-color:var(--ink)}
.row button:active{transform:translateY(2px)}
.row button[aria-pressed="true"]{background:var(--sunwash);color:var(--ink);border-color:var(--ink)}
.row button[aria-pressed="true"] em{color:var(--ink)}
/* v22 «نشاطك مو هنا؟»: a way out under the business cards, not a fourth choice */
.biz-else{margin:-14px 0 0;justify-self:end;font-weight:600;font-size:.92em}
.biz-else a{display:inline-flex;gap:6px;align-items:center;color:var(--ink)}

.studio{margin-top:clamp(40px,7vh,80px);display:grid;gap:18px}
.studio-tabs{display:flex;flex-wrap:wrap;gap:8px}
.studio-tabs button{
  display:flex;align-items:center;gap:10px;font:inherit;font-size:.85em;font-weight:600;font-stretch:85%;
  color:var(--ink);background:var(--paper);border:1.5px solid var(--line);border-radius:999px;padding:6px 14px 6px 6px;cursor:pointer;
}
.studio-tabs button i{display:grid;place-items:center;width:34px;height:34px;background:#fff;border-radius:50%;padding:6px}
.studio-tabs button i img{max-width:100%;max-height:100%;display:block}
.studio-tabs button[aria-selected="true"]{border-color:var(--ink);background:var(--sunwash)}
/* v24 «صوّر منتجك»: a pill like the tabs with a camera drawn in CSS; the file input is hidden but still takes focus */
.snap{position:relative;justify-self:start;display:inline-flex;align-items:center;gap:10px;font-size:.85em;font-weight:600;font-stretch:85%;color:var(--ink);background:var(--paper);border:1.5px solid var(--line);border-radius:999px;padding:8px 14px;cursor:pointer}
.snap::before{content:"";flex:none;width:20px;height:15px;border-radius:4px;background:radial-gradient(circle,var(--ink) 0 2px,var(--paper) 2.5px 4px,transparent 4.5px),var(--ink)}
.snap input{position:absolute;opacity:0;width:1px;height:1px}
.biz-name{justify-self:start;width:min(100%,300px);font:inherit;font-size:.9em;color:var(--ink);background:var(--paper);border:1.5px solid var(--line);border-radius:999px;padding:8px 16px}
.biz-name::placeholder{color:var(--mute)}
.biz-name:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.snap:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 6px var(--sunwash)}
.ad{min-height:8em}
.ad-stage{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center}
.ad-side{display:grid;gap:16px;max-width:52ch}
.ad-fine{font-size:13px;color:var(--mute)}
.phone{
  width:100%;max-width:340px;border-radius:34px;padding:10px;background:#fff;box-shadow:var(--lift-hi),inset 0 0 0 1.5px var(--line);
  color:var(--fg);font-family:"Archivo","Helvetica Neue",Arial,sans-serif;
}
.ph{border-radius:25px;overflow:hidden;background:var(--bg);position:relative;display:grid;aspect-ratio:9 / 16}
.ph-top{display:flex;align-items:center;gap:9px;padding:12px 14px;font-size:13px;font-weight:700;z-index:2}
.ph-top i{flex:none;width:32px;height:32px;border-radius:50%;background:var(--accent);display:grid;place-items:center;color:var(--bg);font-style:normal;font-weight:900;font-size:13px}
.ph-top small{display:block;font-weight:400;opacity:.75;font-size:11px}
/* the picture: the drawn product larger and centred, the headline over it */
.ph-art{display:grid;align-content:end;justify-items:start;gap:8px;padding:16px 18px;position:relative;overflow:hidden;min-height:0}
.ph-art svg{position:absolute;top:8%;inset-inline:0;margin-inline:auto;height:54%;width:auto;max-width:80%}
.ph-art p{position:relative}
/* the visitor's photo fills the picture, with a scrim under the headline */
.ph-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ph-art:has(.ph-photo)::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 50%,rgba(0,0,0,.5))}
.ph-art:has(.ph-photo) p{z-index:1}
.ph-meta .ph-art:has(.ph-photo),.ph-meta .ph-art:has(.ph-photo) .ph-sub{color:#fff}
.ph-head{font-size:clamp(26px,2.2vw,34px);font-weight:900;font-stretch:88%;line-height:.98;letter-spacing:-.02em;text-wrap:balance}
.ph-sub{font-size:16px;font-weight:600;line-height:1.2;color:var(--accent)}
.ph-cta{display:flex;justify-content:space-between;align-items:center;gap:10px;height:40px;padding:0 14px;background:var(--accent);color:var(--bg);font-size:13px;font-weight:700}
.ph-cta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ph-chev{flex:none;width:8px;height:8px;border:solid currentColor;border-width:2px 2px 0 0;rotate:45deg}
.ph-cap{font-size:13px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
/* platform icons drawn in CSS: a filled shape, made an outline by a white copy inside it */
.ic{display:block;flex:none;width:24px;height:24px;background:currentColor;position:relative}
.ic::after{content:"";position:absolute;inset:0;background:#fff;clip-path:inherit;scale:.78}
.ic-heart{clip-path:path("M12 21.5C5 16 1.5 12.5 1.5 8A5.5 5.5 0 0 1 12 5.5A5.5 5.5 0 0 1 22.5 8C22.5 12.5 19 16 12 21.5Z")}
.ic-com{clip-path:path("M12 2A10 10 0 1 1 6.6 20.4L2.5 21.5L3.6 17.4A10 10 0 0 1 12 2Z")}
.ic-share{clip-path:path("M22 2.5L2 9.5L10.5 13.5L14 22Z")}
.ic-save{clip-path:path("M5 2H19V22L12 16L5 22Z")}
/* Instagram feed post */
.ph-meta{background:#fff;color:#111;grid-template-rows:auto minmax(0,1fr) auto auto auto}
.ph-meta .ph-top{height:52px;padding:0 12px}
.ph-more{margin-inline-start:auto;width:18px;height:4px;background:radial-gradient(circle,currentColor 1.5px,transparent 2px) 0 0 / 6px 4px repeat-x}
.ph-meta .ph-art{background:var(--bg);color:var(--fg)}
.ph-acts{display:flex;align-items:center;gap:14px;height:42px;padding:0 12px}
.ph-acts .ic-save{margin-inline-start:auto}
.ph-meta .ph-cap{padding:0 12px 12px}
/* TikTok and Snapchat: the picture fills the screen */
.ph-tall{color:#fff}
.ph-tall .ph-art{position:absolute;inset:0;padding:0 20px}
.ph-tall .ph-art svg{top:0;bottom:0;margin-block:auto;height:46%}
/* TikTok: the headline as a text sticker, the side rail, the handle and the button bar */
.ph-tt .ph-art{align-content:start;justify-items:center;text-align:center;gap:6px;padding-block-start:50%;padding-inline:20px 64px}
.ph-tt .ph-art svg{top:auto;bottom:24%;height:33%}
.ph-tt .ph-art .ph-head{font-size:20px;line-height:1.6;letter-spacing:0;font-stretch:100%;color:#000}
.ph-tt .ph-art .ph-sub{font-size:14px;line-height:1.7;color:#000}
.ph-tt .ph-art p span{background:#fff;padding:3px 8px;border-radius:6px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.ph-rail{position:absolute;right:10px;bottom:178px;display:grid;justify-items:center;gap:18px;z-index:2;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.ph-rail .ic{scale:1.25}
.ph-rail .ic::after{display:none}
.ph-rail .ic-share{clip-path:path("M13 3L23 11.5L13 20V15C7.5 15 3.5 16.8 1 21C1.8 14 6 9.2 13 8.3Z")}
.ph-av{width:40px;height:40px;border-radius:50%;background:var(--accent);color:var(--bg);display:grid;place-items:center;font-style:normal;font-weight:900;font-size:15px;box-shadow:0 0 0 2px #fff}
.ph-disc{width:34px;height:34px;border-radius:50%;background:radial-gradient(circle,var(--accent) 0 6px,transparent 6.5px),conic-gradient(#161616,#4a4a4a,#161616,#4a4a4a,#161616);animation:ph-spin 5s linear infinite}
@keyframes ph-spin{to{rotate:360deg}}
@media (prefers-reduced-motion:reduce){.ph-disc{animation:none}}
.ph-foot{position:absolute;inset-inline:0;bottom:0;z-index:2;display:grid;justify-items:start;gap:6px;padding:28px 14px 14px;background:linear-gradient(transparent,rgba(0,0,0,.5))}
.ph-handle{font-size:15px}
.ph-tt .ph-cap{padding-inline-end:40px}
.ph-pill{font-size:11px;background:rgba(255,255,255,.25);border-radius:4px;padding:1px 6px}
.ph-foot .ph-cta{justify-self:stretch;height:36px;border-radius:4px;margin-top:4px}
/* Snapchat: brand at the top, the headline in the caption bar, swipe up and a white button */
.ph-snap{align-content:space-between}
.ph-snap .ph-top{background:linear-gradient(rgba(0,0,0,.4),transparent);padding-bottom:24px}
.ph-snap .ph-top i{width:30px;height:30px;border-radius:9px}
.ph-snap .ph-top small{opacity:.8}
.ph-snap .ph-art .ph-head{position:absolute;inset-inline:0;top:42%;background:rgba(0,0,0,.55);color:#fff;text-align:center;padding:8px 16px;font-size:17px;font-weight:600;line-height:1.35;letter-spacing:0;font-stretch:100%}
.ph-snap .ph-sub{display:none}
.ph-snap .ph-cta{position:relative;z-index:2;flex-direction:column;align-items:stretch;gap:10px;height:auto;padding:28px 16px 16px;background:linear-gradient(transparent,rgba(0,0,0,.4));color:#fff}
.ph-snap .ph-cta b{text-align:center;border-radius:999px;background:#fff;color:#111;padding:11px 14px;font-size:14px;font-weight:800}
.ph-swipe{text-align:center;font-weight:800;font-size:13px;letter-spacing:.02em}
.ph-swipe::before{content:"";display:block;width:14px;height:14px;margin:0 auto 4px;border:solid currentColor;border-width:3px 0 0 3px;transform:rotate(45deg)}
/* Google: words only, on a results page */
.ph-google{background:#fff;color:#202124;padding:18px 16px;gap:6px;font-family:Arial,sans-serif;align-content:start}
.ph-google .g-bar{height:38px;border-radius:999px;box-shadow:0 1px 6px rgba(32,33,36,.28);margin-bottom:16px;display:flex;align-items:center;gap:10px;padding:0 16px;font-size:13px;color:#5f6368}
.ph-google .g-bar::after{content:"";flex:none;margin-inline-start:auto;width:18px;height:18px;background:#5f6368;clip-path:path(evenodd,"M7.5 1A6.5 6.5 0 1 0 7.5 14A6.5 6.5 0 1 0 7.5 1ZM7.5 3A4.5 4.5 0 1 1 7.5 12A4.5 4.5 0 1 1 7.5 3ZM11.4 12.8L12.8 11.4L18 16.6L16.6 18Z")}
.ph-google .g-sp{font-size:12px;font-weight:700}
.g-site{display:flex;align-items:center;gap:10px}
.g-fav{flex:none;width:26px;height:26px;border-radius:50%;background:#f1f3f4;color:var(--accent);display:grid;place-items:center;font-style:normal;font-weight:700;font-size:12px}
.g-site span{display:grid;min-width:0;font-size:14px;line-height:1.3}
.ph-google .g-url{font-size:12px;color:#4d5156}
.g-kebab{flex:none;margin-inline-start:auto;width:4px;height:18px;background:radial-gradient(circle,#4d5156 1.5px,transparent 2px) 0 0 / 4px 6px repeat-y}
.ph-google .g-h{font-size:20px;line-height:1.25;color:#1a0dab}
.ph-google .g-d{font-size:13.5px;line-height:1.45;color:#4d5156}
.g-rest{display:grid;gap:22px;margin-top:18px}
.g-rest i{display:block;height:62px;background:linear-gradient(#f1f3f4,#f1f3f4) 0 0 / 45% 10px no-repeat,linear-gradient(#f1f3f4,#f1f3f4) 0 20px / 85% 14px no-repeat,linear-gradient(#f1f3f4,#f1f3f4) 0 42px / 100% 8px no-repeat,linear-gradient(#f1f3f4,#f1f3f4) 0 56px / 70% 6px no-repeat}
/* the «مثال» sticker on the bezel: every ad is marked as an example, and it stays still when the ad changes */
.ad-tag{position:absolute;top:-10px;inset-inline-end:16px;rotate:-4deg;z-index:4;background:var(--paper);color:var(--ink);border:1.5px solid var(--ink);border-radius:999px;padding:2px 10px;font-weight:700;font-size:13px;line-height:1.4}
/* v27 the proof page (/proof, /ar/proof): its own layout only, built from the look-D tokens. No saffron (nothing is the visitor's), sadu only on his real numbers (.win-num) */
.pf{max-width:1120px;margin-inline:auto;padding:clamp(20px,4vh,40px) var(--gutter) 96px}
/* the sky runs the full width and its horizon sits 24px above the header's end, always below the lead */
.pf-head{border-image:linear-gradient(180deg,#CBE0EC 0%,#E6EEF0 30%,#FBE6DA 58%,#FFD4B5 calc(100% - 24px),var(--haze) calc(100% - 23.5px)) fill 0/0/0 100vw;margin:calc(-1 * clamp(20px,4vh,40px)) calc(-1 * var(--gutter)) 0;padding:clamp(20px,4vh,40px) var(--gutter) clamp(48px,8vh,96px)}
.pf-nav{display:flex;justify-content:space-between;gap:16px;font-size:16px}
.pf-title{margin-top:clamp(28px,6vh,72px);font-size:var(--t-big);font-weight:900;font-stretch:72%;line-height:1;letter-spacing:-.02em}
.pf-lead,.pf-sub{margin-top:16px;max-width:var(--measure);font-size:var(--t-l2);color:var(--ink-2)}
.pf-sec{margin-top:clamp(64px,10vh,120px)}
.pf h2{font-size:clamp(30px,3.6vw,56px);font-weight:850;font-stretch:80%;line-height:1.05;letter-spacing:-.015em;word-spacing:.12em}
.ad-tag.pf-inline{position:static;display:inline-block;vertical-align:middle;margin-inline:4px}
.pf-ad{position:relative;display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:clamp(20px,3vw,44px);align-items:start;margin-top:28px;padding-top:28px;border-top:3px solid var(--ink)}
.pf-ad .phone{max-width:260px}
/* proof samples: the TikTok rail clears the top of the screen and the cup clears the handle; the Snapchat words get darker scrims */
.pf-ad .ph-tt .ph-rail{bottom:150px}
.pf-ad .ph-tt .ph-art svg{top:6%;bottom:auto;height:20%}
.pf-ad .ph-snap .ph-top{background:linear-gradient(rgba(0,0,0,.6),transparent)}
.pf-ad .ph-snap .ph-cta{background:linear-gradient(transparent,rgba(0,0,0,.6) 35%,rgba(0,0,0,.7))}
.dash{background:var(--paper);border-radius:14px;box-shadow:var(--lift),inset 0 0 0 1px var(--line);padding:14px;font-size:13px}
.dash-top{display:flex;align-items:center;gap:8px;font-weight:700}
.dash-top time{white-space:nowrap;margin-inline-start:auto;font-weight:400;color:var(--mute)}
.dash-kpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);margin-top:12px;border-radius:8px;overflow:hidden}
.dash-kpi div{background:var(--paper);padding:8px 10px}
.dash-kpi span{display:block;color:var(--mute);font-size:12px}
.dash-kpi b{font-size:17px;font-weight:800;font-stretch:85%}
.dash-bars{display:flex;align-items:end;gap:6px;height:64px;margin-top:12px;border-bottom:1px solid var(--line)}
.dash-bars i{flex:1;height:var(--h);background:var(--sky);border-radius:3px 3px 0 0}
.dash-bars i:last-child{background:var(--glow)}
.pf-fine{margin-top:8px;font-size:12px;color:var(--mute)}
.pf-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 16px;margin-top:16px;font-size:16px}
.pf-facts dt{color:var(--mute)}
.pf-facts dd{margin:0;font-weight:600}
.pf-quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:28px;margin-top:28px}
@media (min-width:900px){.pf-quotes{grid-template-columns:repeat(2,1fr)}}  /* 4 quotes: 2 rows of 2, never 3 + 1 */
.pf-q,.pf-fail,.pf-next,.pf-detail{position:relative;background:var(--paper);border-radius:16px;box-shadow:var(--lift);padding:28px 22px 20px}
.pf-q blockquote p{font-size:var(--t-l1);font-weight:700;line-height:1.3;text-wrap:pretty}
.pf-who{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:15px;color:var(--ink-2)}
.pf-av{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--glow);font-style:normal;font-weight:800}
.pf-voice{white-space:nowrap;max-width:100%;display:inline-flex;align-items:center;gap:10px;margin-top:14px;font:inherit;font-size:14px;color:var(--mute);background:none;border:1.5px dashed var(--line-ink);border-radius:999px;padding:6px 14px;cursor:not-allowed}
.pf-voice::before{content:"";border-block:6px solid transparent;border-left:10px solid currentColor}
.pf-voice i{width:56px;height:12px;background:repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 5px);opacity:.35}
.pf-math{list-style:none;padding:0;margin-top:24px}
.pf-math li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:16px 32px;align-items:start;padding:28px 0;border-top:1.5px solid var(--line)}
.pf-math li > p{display:grid;gap:6px}
.pf-math .win-num{white-space:normal}
.pf-detail .pf-facts{margin-top:0}
.pf-fail,.pf-next{max-width:var(--measure);margin-top:24px}
.pf-fail p + p{margin-top:.8em}
.pf-fail-who{font-weight:700}
.pf-steps{counter-reset:s;list-style:none;padding:0;display:grid;gap:16px}
.pf-steps li{counter-increment:s;display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:start}
.pf-steps li::before{content:counter(s);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--ink);font-weight:800}
.pf-go{margin-top:24px}
.pf-links{list-style:none;padding:0;display:grid;gap:16px;margin-top:20px}
.pf-links li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.pf-links span:not(.ad-tag){color:var(--ink-2)}
.pf-links img+span{flex:1 1 0;min-width:0}  /* the Meta row keeps its icon, words and tag on one line */
.pf-end{margin-top:clamp(64px,10vh,120px);font-size:16px}
@media (max-width:767px){
  .pf-ad,.pf-math li{grid-template-columns:minmax(0,1fr)}
  .pf-ad .phone{justify-self:center;width:min(100%,260px)}
}
@media (max-width:520px){.dash-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v24: the morph between platforms. The names exist only while #phone has .ph-morph, so they do nothing at rest */
.ph-morph .ph-art{view-transition-name:ad-media}
.ph-morph :is(.ph-head,.g-h){view-transition-name:ad-head}
.ph-morph :is(.ph-cta b,.ph-meta .ph-cta,.ph-tt .ph-cta){view-transition-name:ad-cta}
.ph-morph :is(.ph-top i,.ph-rail .ph-av,.g-fav){view-transition-name:ad-av}
::view-transition-group(ad-media),::view-transition-group(ad-head),::view-transition-group(ad-cta),::view-transition-group(ad-av){animation-duration:.45s;animation-timing-function:cubic-bezier(.16,1,.3,1)}
::view-transition-old(root),::view-transition-new(root){animation:none}
.ad:has(.loom:not([hidden])){display:flex;align-items:center;gap:20px}
/* the empty phone: an unwoven warp on a white bezel */
.loom{flex:none;width:clamp(96px,22vw,150px);aspect-ratio:9 / 16;border-radius:22px;padding:6px;background:#fff;box-shadow:var(--lift),inset 0 0 0 1.5px var(--line)}
.loom svg{display:block;width:100%;height:100%;border-radius:17px;background:var(--haze)}
/* the first ad is woven: a weft fills the phone top to bottom in 8 passes, then the creative shows through */
.phone{position:relative}
.weft{position:absolute;inset:10px;border-radius:25px;overflow:hidden;display:grid;grid-auto-rows:1fr;z-index:3;pointer-events:none}
.weft i{display:block;min-height:0}
.weft i svg{display:block;width:100%;height:100%}
.weft{animation:weft-in .6s steps(8,end) forwards,weft-out .3s .65s ease-out forwards}
@keyframes weft-in{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0)}}
@keyframes weft-out{to{opacity:0}}
.ad-body{
  display:grid;gap:0;max-width:980px;
  background:var(--paper);color:var(--ink);border-radius:28px;box-shadow:var(--lift);overflow:hidden;
}
.ad-part{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,30%);gap:clamp(14px,2.5vw,36px);
  padding:clamp(16px,2vw,26px) clamp(16px,2.4vw,32px);border-top:1px solid var(--line-ink);
}
.ad-part:first-child{border-top:0}
.ad-slot{font-size:12px;font-weight:700;font-stretch:80%;color:var(--mute);display:block;margin-bottom:4px}
.ad-text{font-weight:700;letter-spacing:-.015em;line-height:1.12;font-size:clamp(20px,2.4vw,36px)}
.ad-part[data-size="xl"] .ad-text{font-size:clamp(28px,4.2vw,64px);font-weight:900;font-stretch:88%;line-height:1}
.ad-part[data-size="s"] .ad-text{font-size:clamp(17px,1.5vw,22px);font-weight:500;line-height:1.35}
.ad-text .cta{display:inline-block;margin-top:12px;background:var(--ink);color:var(--paper);font-size:15px;font-weight:700;padding:9px 16px;letter-spacing:0}
/* inside exp 8's «Why this works»: the platform note, then the feeling's principle */
.ad-why b{display:block;font-weight:800;color:var(--ink)}
.ad-note{max-width:var(--measure);color:var(--ink-2);font-size:.95em}
.ad-meta{font-weight:600;font-stretch:80%;text-wrap:pretty}

/* ---- log ---- */
.log{padding:var(--sec) 0;background:var(--paper);overflow-x:clip}  /* the rows sliding in never widen the page */
.log-title{margin-left:var(--gutter);margin-right:var(--gutter)}
/* the career as knots on one sadu thread: the year and the logo (or the name), the rest one tap away */
.knot summary{list-style:none;cursor:pointer;display:grid;gap:14px;position:relative;padding-top:34px}
.knot summary::-webkit-details-marker{display:none}
.track li{position:relative}
.track li::before{content:"";position:absolute;top:9px;left:0;right:calc(-1 * clamp(24px,3vw,48px));height:6px;background:repeating-linear-gradient(90deg,var(--sadu) 0 6px,var(--ink) 6px 8px,var(--sadu) 8px 14px,#fff 14px 16px);opacity:.9}
.track li:last-child::before{right:0}
.knot summary::before{content:"";position:absolute;top:4px;left:0;width:14px;height:14px;transform:rotate(45deg);background:var(--paper);box-shadow:inset 0 0 0 2.5px var(--ink);z-index:1}
.knot[open] summary::before{background:var(--sadu);box-shadow:inset 0 0 0 2.5px var(--ink),inset 0 0 0 5px #fff}
/* the second line: independent work since 2023, thinner and dashed, under the thread: it leaves at the Alaown knot and runs on to Match */
.track li.side::after{content:"";position:absolute;top:25px;left:0;right:calc(-1 * clamp(24px,3vw,48px));border-top:4px dashed var(--sadu)}
.track li.side-end::after{top:15px;left:5px;height:14px;border-top:0;border-left:4px dashed var(--sadu);border-bottom:4px dashed var(--sadu)}
.track li.side:last-child::after{right:0}
.track li.end-job::before{right:0}
.track li.end-job{padding-top:26px} /* v41: a clear gap before Match, so the Aazr figure never reads as Match's */
.track li.side-row::before{display:none}
.side-row .side-tag summary{color:var(--mute)}
/* v36: each of the 6 stages opens with a small label on the thread («1 · Sales · 2014–2016»), not a knot */
.stage-h{position:absolute;top:2px;left:24px;z-index:1;margin:0;padding:0 6px;background:var(--paper);font-size:13.5px;line-height:16px;font-weight:800;color:var(--ink);white-space:nowrap}
.stage-h b{font-family:"Archivo",sans-serif;font-variant-numeric:tabular-nums;color:var(--sadu-ink)}
/* v36: as a stage's label comes into view, its stretch of thread is woven in (app.js: .is-weaving on the track, .woven per row) */
.track.is-weaving li::before{transform:scaleX(0);transform-origin:0 50%}
.track.is-weaving li.woven::before{transform:none;transition:transform .6s cubic-bezier(.65,0,.35,1) var(--wd,0s)}
.side-tag summary{list-style:none;cursor:pointer;position:absolute;top:18px;left:24px;z-index:1;padding:0 6px;background:var(--paper);font-size:13px;line-height:16px;font-weight:800;color:var(--ink)}
.side-tag summary::-webkit-details-marker{display:none}
.side-tag summary:hover,.side-tag[open] summary{color:var(--ink);text-decoration:underline;text-underline-offset:.2em}
.knot summary:hover .yr{text-decoration:underline;text-decoration-color:var(--sadu);text-decoration-thickness:3px;text-underline-offset:.1em}
.knot-name{display:grid;align-items:center;min-height:64px;font-weight:800;font-stretch:80%;font-size:1.3em;line-height:1.1;letter-spacing:-.01em;color:var(--ink-2)}
.knot .mark{margin-bottom:0;height:120px}
.knot .mark img.fill{height:120px}
.knot-body{padding-top:4px}
/* v30: each stop's figure, 2 to 4 words, under the logo (phones: beside it) */
.knot-num{font-size:15px;line-height:1.3;font-weight:800}
.log-title{font-size:clamp(34px,5.4vw,92px);line-height:1;font-weight:800;letter-spacing:-.03em;max-width:14ch}
/* a career stop's figure: Mohannad's fact, in red */
.knot-body .fact{font-weight:700;color:var(--sadu-ink)}
.track{
  list-style:none;padding:0 var(--gutter) 28px;margin-top:clamp(40px,7vh,80px);
  display:grid;grid-auto-flow:column;grid-auto-columns:min(78vw,380px);gap:clamp(24px,3vw,48px);
  overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-left:var(--gutter);
  scrollbar-color:var(--line) transparent;cursor:grab;
}
.track.is-drag{cursor:grabbing;scroll-snap-type:none;user-select:none}
.track li{scroll-snap-align:start}
/* v31: from 768px the timeline is a sideways strip; its end edge fades out until the last role is in view (app.js sets .at-end) */
/* v41: the sideways strip and its end fade are gone (they cut the labels off on desktop): one list at every width */
.mark{
  display:grid;place-items:center;height:150px;background:var(--tile,#fff);border-radius:18px;box-shadow:inset 0 0 0 1px var(--line-ink);overflow:hidden;margin-bottom:18px;
}
.mark img{max-width:100%;max-height:100%;display:block;-webkit-user-drag:none;user-select:none}
.mark img.pad{max-width:58%;max-height:94px;width:auto;height:auto}
.mark img.pad-wide{max-width:66%}
.mark img.fill{height:150px;width:auto;max-width:none}
.tile img.tile-wide{inset:26% 14%;width:72%;height:48%}
.mark-text{
  background:transparent;border:1.5px solid var(--line);color:var(--mute);
  font-weight:800;font-stretch:75%;font-size:1.3em;letter-spacing:-.01em;text-align:center;padding:0 18px;line-height:1.1;
}
.track .yr{display:block;font-family:"Archivo",sans-serif;font-variant-numeric:tabular-nums lining-nums;font-size:clamp(56px,7vw,104px);font-weight:900;font-stretch:62%;line-height:.9;letter-spacing:-.02em}
.track h3{font-size:1.15em;font-weight:700;margin:14px 0 8px}
.track p{color:var(--ink-2);font-size:.95em}
/* phones: the thread runs down the start edge, oldest at the top; the side line dashes beside it from the Alaown knot to Match */
@media all{ /* v41: career list at every width */
  .track{grid-auto-flow:row;grid-auto-columns:auto;overflow-x:visible;scroll-snap-type:none;cursor:auto;padding-inline-start:calc(var(--gutter) + 28px)}
  .track li::before{top:0;bottom:calc(-1 * clamp(24px,3vw,48px));left:-22px;right:auto;width:6px;height:auto;background:repeating-linear-gradient(180deg,var(--sadu) 0 6px,var(--ink) 6px 8px,var(--sadu) 8px 14px,#fff 14px 16px)}
  .track li:last-child::before{right:auto;bottom:0}
  .knot summary{grid-auto-flow:column;justify-content:start;align-items:center;padding-top:0}
  .knot summary::before{top:50%;left:-26px;margin-top:-7px}
  .knot .mark{height:64px;width:120px}
  .knot .mark img.fill{height:64px}
  .knot .mark img.pad{max-height:44px}
  .track .yr{font-size:44px}
  .track li.side::after{top:0;bottom:calc(-1 * clamp(24px,3vw,48px));left:-32px;right:auto;border-top:0;border-left:4px dashed var(--sadu)}
  .track li.side-end::after{top:58px;left:-32px;width:8px;height:auto;border-bottom:0;border-left:4px dashed var(--sadu);border-top:4px dashed var(--sadu)} /* 58px: level with the Alaown knot, under its stage label */
  .track li.side:last-child::after{right:auto;bottom:0}
  .track li.end-job::before{right:auto;bottom:0}
  .stage-h{position:static;display:block;width:max-content;max-width:100%;margin:0 0 10px;padding:0;white-space:normal}
  .track.is-weaving li::before{transform:scaleY(0);transform-origin:50% 0}
  .side-tag summary{position:static;display:inline-block;margin-top:10px;padding:6px 0;font-size:14px}
}
/* v30: in the phone list (under 768px) the figure goes under the logo; beside it, longer captions were cut off. The knot stays level with the year */
@media all{ /* v41: career list at every width */
  .knot summary{grid-auto-flow:row;grid-template-columns:auto auto}
  .knot-num{grid-column:2}
  .knot summary::before{top:32px}
}
/* v34: jobs with no logo file get a symbol, never an imitation: haze tile, dashed edge, a «Symbol» tag, the name beside it */
.mark.is-sym{position:relative;background:var(--haze);box-shadow:none;border:1.5px dashed rgba(35,28,46,.45)}
.sym-tag{position:absolute;inset-inline-start:8px;bottom:8px;padding:1px 7px;border-radius:999px;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line-ink);font-size:12px;line-height:16px;font-weight:700;color:var(--ink-2)}
.mark.is-sym + .knot-name{min-height:0;font-size:1.05em}
/* a knot opens: its "+" turns into "×" (the achievement is always shown; the fold holds the role and one detail) */
.knot .yr::after{content:"+";content:"+"/"";display:inline-block;margin-inline-start:.12em;font-size:.36em;font-weight:700;vertical-align:.9em;color:var(--ink-2);transition:transform .25s cubic-bezier(.23,1,.32,1)}
.knot[open] .yr::after{transform:rotate(45deg)}
@media all{ /* v41: career list at every width */
  .mark.is-sym + .knot-name{grid-column:2}
  .sym-tag{inset-inline-start:4px;bottom:4px;padding:0 5px;font-size:11.5px;line-height:15px}
}
/* the Alaown lockup is tall and narrow: it gets the tile's full height so its name can be read */
.knot .mark img.pad-tall{max-height:120px}
@media all{ /* v41: career list at every width */.knot .mark img.pad-tall{max-height:64px}}

/* ---- v36 certificates: their own section after the career line. Three paper cards, each with a woven sadu border
   (red thread, ink stitches) that draws in, then a strip of the platforms that certified him. Logo files untouched:
   the warm light runs under the logos and the text, never over them ---- */
.certs{padding:var(--sec) var(--gutter);background:var(--haze);overflow-x:clip}
.certs-title{margin-top:10px;font-size:clamp(34px,5.4vw,92px);line-height:1;font-weight:800;letter-spacing:-.03em;max-width:16ch}
.cert-cards{list-style:none;padding:0;margin:clamp(28px,5vh,56px) 0 0;display:grid;gap:14px;max-width:1000px}
.cert{
  position:relative;overflow:hidden;background:var(--paper);border-radius:18px;box-shadow:var(--lift);
  display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:2px 16px;min-height:112px;padding:20px 22px;
}
.cert > :not(.cert-border):not(.cert-sheen):not(.cert-seal){position:relative;z-index:1}
.cert-border{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);overflow:visible;pointer-events:none;z-index:1}
.cert-border rect{fill:none}
.cb-red{stroke:var(--sadu);stroke-width:2}
.cb-ink{stroke:var(--ink);stroke-width:1.2;stroke-dasharray:3 5;stroke-dashoffset:1.5}
.cert.is-waiting .cert-border{visibility:hidden}
.cert-sheen{position:absolute;top:-10%;bottom:-10%;left:0;width:40%;z-index:0;opacity:0;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,217,191,.6) 45%,rgba(255,248,235,.9) 50%,rgba(255,217,191,.6) 55%,transparent)}
.cert-logo{grid-row:1 / 4;width:88px;height:56px;background:var(--chip,#fff);border-radius:10px;position:relative}
.cert-logo img{position:absolute;inset:6px 8px;width:calc(100% - 16px);height:calc(100% - 12px);object-fit:contain;display:block}
.cert-fig{display:block;justify-self:start;font-family:"Archivo",sans-serif;font-weight:800;font-size:64px;line-height:.9;letter-spacing:-.03em;color:var(--sadu);font-variant-numeric:tabular-nums lining-nums}
.cert-fig small{font-size:15px;font-weight:600;letter-spacing:0;color:var(--ink-2);white-space:nowrap}
.cert-name{font-size:15px;font-weight:700;line-height:1.35;text-wrap:pretty}
.cert-date{font-size:13px;color:var(--mute)}
/* the one stamp on the page: a red ink ring with the year, pressed slightly turned in the end corner of the #1 card */
.cert-seal{position:absolute;top:14px;inset-inline-end:16px;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;
  border:2.5px solid var(--sadu);box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 4.5px var(--sadu);transform:rotate(-6deg);opacity:.85;pointer-events:none;
  font-family:"Archivo",sans-serif;font-size:13px;font-weight:800;color:var(--sadu-ink);mix-blend-mode:multiply;z-index:1}
.cert-rank{padding-inline-end:92px}
@media (hover:hover) and (pointer:fine){.cert{transition:translate .2s cubic-bezier(.23,1,.32,1)}.cert:hover{translate:0 -4px}}
.cert-strip{margin-top:clamp(20px,3vh,32px);display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px}
.cert-strip p{font-size:14px;font-weight:700;color:var(--ink-2)}
.cert-strip ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px 22px}
.cert-strip li{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.cert-strip img{width:28px;height:28px;object-fit:contain}
/* desktop: three portrait cards in a row */
@media (min-width:768px){
  .cert-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,28px)}
  .cert{aspect-ratio:3/4;grid-template-columns:1fr;align-content:start;gap:10px;padding:clamp(26px,2.6vw,36px)}
  .cert-logo{grid-row:auto;width:120px;height:64px;margin-bottom:auto}
  .cert-fig{font-size:88px;margin-top:clamp(24px,4vh,56px)}
  .cert-name{font-size:17px}
  .cert-rank{padding-inline-end:clamp(26px,2.6vw,36px)}
  .cert-seal{width:76px;height:76px;top:22px;inset-inline-end:22px}
}

/* ---- debrief ---- */
.debrief{padding:var(--sec) var(--gutter) 40px;background:linear-gradient(180deg,var(--haze) 0%,#FBF0EA 60%,#FFE7D6 100%)}

/* the highlighter: a value measured from the visitor, ink on saffron wash */
mark.hl{background:linear-gradient(180deg,transparent 18%,var(--sunwash) 18%,var(--sunwash) 88%,transparent 88%);color:var(--ink);padding:0 .2em;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* ---- the visitor as a lead ---- */
.lead{margin-top:clamp(56px,9vh,110px);display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,5vw,88px);align-items:start}
.lead h3,.debug h3{font-size:clamp(22px,2.2vw,32px);font-weight:700;margin-bottom:10px}
.lead-num{justify-self:start;font-size:clamp(96px,14vw,240px);font-weight:900;font-stretch:70%;line-height:.85;letter-spacing:-.03em}
.lead-tier{font-size:1.1em;font-weight:600;max-width:34ch;margin-top:14px}
.lead-why{list-style:none;padding:0;margin-top:18px;display:grid;gap:4px;font-size:15px;color:var(--ink-2)}
.lead-why b{color:var(--ink);background:var(--sunwash);padding:0 .2em;font-weight:700;display:inline-block;min-width:3.2em}
.funnel{list-style:none;padding:0;display:grid;gap:6px;margin-top:8px}
.funnel li{
  width:calc(100% - var(--i) * 9%);min-width:150px;padding:11px 14px;font-weight:700;font-stretch:85%;font-size:.92em;
  box-shadow:inset 0 0 0 1.5px var(--line);color:var(--ink-2);display:flex;justify-content:space-between;gap:12px;
}
.funnel li small{font-weight:400;font-stretch:100%;font-size:13px;align-self:center;text-align:right}
.funnel li.is-reached{background:var(--sun);color:var(--ink);box-shadow:none}
.funnel li.is-here{outline:3px solid var(--ink);outline-offset:3px}
.filing{margin-top:28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px}
.filing dt{color:var(--mute);font-size:.85em}
.filing dd{margin:0;font-weight:700;font-stretch:85%}

.exps,.ladder{margin-top:clamp(56px,9vh,110px)}
.exps h3,.ladder h3{font-size:clamp(22px,2.2vw,32px);font-weight:700;margin-bottom:10px}
.exps-sub{max-width:var(--measure);color:var(--ink-2);margin-bottom:20px}
.ladder-list{list-style:none;padding:0;margin:8px 0 28px;display:grid;gap:0;max-width:760px}
.ladder-list li{
  display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:baseline;
  padding:10px 16px;margin-left:calc(var(--i) * clamp(8px,2.4vw,34px));
  background:rgba(255,178,28,calc(.10 + var(--i) * .075));border-left:3px solid var(--sun);font-weight:600;
}
.ladder-list li span{color:var(--ink-2);font-weight:400;font-size:.9em}
.finale{margin-top:clamp(56px,9vh,110px);display:grid;gap:clamp(16px,2.4vh,26px);justify-items:start}
.finale-line{max-width:20ch;font-size:clamp(32px,4.8vw,80px);line-height:1.04;font-weight:800;letter-spacing:-.025em;text-wrap:balance}
.finale-motto{color:var(--ink-2);font-weight:600}
/* v34: the promise owners asked for most, right above the contact block */
.finale-note{font-weight:600;max-width:52ch;margin-top:-6px;color:var(--ink-2);text-wrap:pretty}
.funnel-note{margin-top:14px;font-size:14px;color:var(--mute);max-width:44ch}
.debug{margin-top:clamp(56px,9vh,110px)}
.debug-sub{max-width:var(--measure);color:var(--ink-2);margin-bottom:18px}
.debug-log{
  list-style:none;padding:0;max-height:300px;overflow:auto;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);border-radius:14px;
  font-size:14px;font-stretch:85%;scrollbar-color:var(--line) transparent;
}
.debug-log li{display:grid;grid-template-columns:64px minmax(0,1fr) minmax(0,1fr);gap:14px;padding:7px 14px}
.debug-log li:nth-child(odd){background:rgba(35,28,46,.03)}
.debug-log li span:first-child{color:var(--mute)}
.debug-log li span:nth-child(2){font-weight:700;color:var(--sun-deep)}
#card{margin-top:22px}

.attr{margin-top:clamp(56px,9vh,110px)}
.attr h3{font-size:clamp(22px,2.2vw,32px);font-weight:700;margin-bottom:10px}
.attr-sub{max-width:var(--measure);color:var(--ink-2);margin-bottom:22px}
.attr-rows{display:grid;gap:16px;max-width:1100px}
.attr-row{display:grid;grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:18px;align-items:center}
.attr-row b{font-weight:800;font-size:1.1em}
.attr-row small{display:block;font-weight:400;font-size:14px;margin-top:2px;color:var(--mute);line-height:1.3}
.attr-bar{display:flex;height:52px;background:rgba(35,28,46,.05);border-radius:10px;overflow:hidden}
.attr-bar i{display:grid;place-items:center;min-width:0;overflow:hidden;color:var(--ink);font-style:normal;font-size:14px;font-weight:700;font-stretch:80%;white-space:nowrap;padding:0 6px;text-overflow:clip;transition:flex-basis .6s cubic-bezier(.16,1,.3,1)}
.attr-key{list-style:none;padding:0;margin:18px 0 26px;display:flex;flex-wrap:wrap;gap:8px 20px;font-size:14px;color:var(--ink-2)}
.attr-key li{display:flex;align-items:center;gap:8px}
.attr-key i{width:14px;height:14px;display:block}
/* the owners' questions: one fold around the four */
.more.asks{margin-top:clamp(20px,3vh,36px);max-width:none}
.more.asks > summary{font-size:clamp(19px,1.7vw,26px);font-weight:800}
.more.asks > .fold:first-of-type{margin-top:14px}
.asks .fold p{max-width:var(--measure);padding-left:50px}
.asks .fold > div{padding-bottom:26px}
.fold{border-top:1.5px solid var(--line)}
/* «Behind the scenes»: a closed card; inside it, 5 tabs of flat blocks with their own headings */
.behind{margin-top:0}  /* v34: the first thing in the end section */
.fold.behind h3{display:block}
.behind .bk{border-top:1.5px solid var(--line);padding:28px 0 12px}
.behind .bk-pan > .bk:first-child{border-top:0;padding-top:4px}
/* v34: the card itself: a sadu weave along its top, a live line under the title, 5 tabs inside, one panel at a time */
.fold.behind{position:relative;background:var(--paper);border:0;border-radius:20px;box-shadow:inset 0 0 0 1.5px var(--line-ink),0 12px 32px -20px rgba(35,28,46,.28);padding:6px clamp(16px,3vw,32px) 0;overflow:hidden}
.fold.behind::before{content:"";position:absolute;inset:0 0 auto;height:6px;background:repeating-linear-gradient(90deg,var(--sadu) 0 6px,var(--ink) 6px 8px,var(--sadu) 8px 14px,#fff 14px 16px)}
.behind > summary{padding:26px 0 22px}
.behind .bk-live{font-size:14px;font-variant-numeric:tabular-nums;min-height:1.4em}
.bk-tabs{position:relative;display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * clamp(16px,3vw,32px)) 12px;padding:0 clamp(16px,3vw,32px);border-bottom:1.5px solid var(--line)}
.bk-tabs::-webkit-scrollbar{display:none}
.bk-tab{flex:none;min-height:44px;padding:10px 14px;border:0;background:none;font:inherit;font-size:15px;font-weight:700;color:var(--ink-2);white-space:nowrap;cursor:pointer;transition:color .15s ease}
.bk-tab:hover,.bk-tab[aria-selected="true"]{color:var(--ink)}
.bk-ind{position:absolute;left:0;bottom:-1.5px;width:0;height:3px;border-radius:3px;background:var(--ink);transition:transform .3s cubic-bezier(.23,1,.32,1),width .3s cubic-bezier(.23,1,.32,1)}
.did h3{font-size:clamp(22px,2.2vw,32px);font-weight:700;margin-bottom:10px}
.did-list{list-style:none;padding:0;max-width:640px}
.did-list li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;border-bottom:1px solid var(--line-ink)}
.did-list span{color:var(--ink-2)}
.did-list b{font-weight:700;background:var(--sunwash);padding:0 .3em;text-align:end}
.did-list small{color:var(--mute);font-size:.9em}
.bk-end{margin:8px 0 0;padding:16px 0 4px;border-top:1.5px solid var(--line);font-size:14px;color:var(--ink-2)}
/* opening the card draws a curtain from the middle out; reduced motion: it simply opens */
@keyframes curtain{from{clip-path:inset(0 50% 0 50%)}to{clip-path:inset(0)}}
@media (prefers-reduced-motion:no-preference){.behind[open] .bk-body{animation:curtain .5s cubic-bezier(.23,1,.32,1)}}
@media (prefers-reduced-motion:reduce){.bk-ind{transition:none}}
.behind .bk > *{margin-top:0}
.behind .bk > * + *{margin-top:24px}
.bk-verdict{max-width:var(--measure);font-weight:600;font-size:1.05em}
.fold:last-of-type{border-bottom:1.5px solid var(--line)}
.fold summary{display:grid;grid-template-columns:34px minmax(0,1fr);gap:2px 16px;padding:22px 0;align-items:baseline}
.fold summary::before{content:"+";content:"+"/"";grid-row:1 / 3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--ink);color:var(--ink);font-weight:700;font-size:20px;line-height:1;align-self:center}
.fold[open] summary::before{content:"\2212";content:"\2212"/"";background:var(--ink);color:var(--paper)}
.fold summary b{font-size:clamp(19px,1.7vw,26px);font-weight:700}
.fold summary span{grid-column:2;color:var(--ink-2);font-size:.92em}
.fold summary:hover b{text-decoration:underline;text-decoration-color:var(--sun);text-decoration-thickness:.14em;text-underline-offset:.2em}
.fold > div,.fold > figure{margin-top:6px!important;padding-bottom:36px}
.fold h3{display:none}
.fold .journey-head{justify-content:flex-start}
.journey{margin-top:clamp(56px,9vh,110px)}
.journey-head{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;justify-content:space-between;margin-bottom:18px}
.journey-head h3{font-size:clamp(22px,2.2vw,32px);font-weight:700}
.journey-btns{display:flex;flex-wrap:wrap;gap:10px}
.journey-grid{display:grid;grid-template-columns:minmax(0,1fr) clamp(180px,20vw,260px);gap:clamp(16px,2.5vw,36px)}
.journey canvas{display:block;width:100%;height:clamp(380px,46vw,560px);background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);border-radius:18px}
.journey figcaption{font-size:14px;color:var(--mute);margin-top:10px;line-height:1.4;max-width:60ch}

.foot{margin-top:clamp(48px,8vh,96px);display:flex;flex-wrap:wrap;align-items:baseline;gap:12px 36px;font-size:16px;color:var(--mute)}
.foot a{color:var(--ink-2)}
.foot .finale-motto{flex-basis:100%;font-size:15px}
/* ---- the one contact block: three equal buttons (email is a real button), the same at the end, in the recruiter card and
   in the CV. WhatsApp in ink, the other two on paper with an ink edge. Phones: one column; from 640px three across ---- */
.contact{display:grid;gap:10px;margin-top:clamp(8px,2vh,20px);width:100%;max-width:760px}
.contact .ct{display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:12px;align-items:center;min-height:56px;padding:8px 16px;border-radius:14px;background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--ink);color:var(--ink);text-decoration:none;transition:transform .12s cubic-bezier(.16,1,.3,1),box-shadow .2s}
.contact .ct svg{grid-row:1/3;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.contact .ct b{font-size:16px;font-weight:700;line-height:1.3}
.contact .ct small{font-size:13px;font-weight:600;line-height:1.3;opacity:.75;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.contact .ct-wa{background:var(--ink);color:var(--haze);box-shadow:var(--lift)}
.contact .ct-wa{position:relative}
.contact.has-ticket{margin-top:clamp(40px,5vh,52px)}
.tk-dock{position:absolute;bottom:calc(100% - 4px);inset-inline-start:12px;display:flex;align-items:center;gap:10px;padding:6px 10px 9px;background:var(--paper);color:var(--ink);border-radius:6px 6px 0 0;box-shadow:var(--lift);font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap;pointer-events:none}
.contact .ct:active{transform:scale(.97)}
.ct-note{margin:2px 0 0;font-size:13px;font-weight:600;color:var(--mute)}
@media (hover:hover) and (pointer:fine){.contact .ct:hover{transform:translateY(-2px)}}
@media (min-width:640px){.contact{grid-template-columns:repeat(3,minmax(0,1fr))}.ct-note{grid-column:1/-1}}
.hire .contact,.short .contact{max-width:none;margin-top:14px}
@media (min-width:640px){.hire .contact{grid-template-columns:1fr}}
/* the close button the CV and the recruiter card share, and their backdrop fade */
@keyframes sheet-fade{from{opacity:0}}
.sheet-x{font:inherit;font-size:26px;line-height:1;width:44px;height:44px;flex:none;background:none;border:0;color:var(--ink);cursor:pointer;margin-inline-end:-10px}
.sheet-x:hover{color:var(--ink-2)}
.linkish{font:inherit;color:inherit;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:.18em;cursor:pointer}
.linkish:hover{text-decoration-color:var(--sun);text-decoration-thickness:.14em}

/* ---- the short version: for the reader with thirty seconds, and for the printer ---- */
.short{
  width:min(780px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;margin:auto;
  border:0;padding:clamp(22px,4vw,48px);background:var(--paper);color:var(--ink);
  font-size:16px;line-height:1.45;
}
.short::backdrop{background:rgba(35,28,46,.28)}
.short-x{position:sticky;top:calc(6px - clamp(22px,4vw,48px));z-index:1;display:block;margin-inline:auto -10px;margin-block:-10px -34px;background:var(--paper);border-radius:50%}
.short-head{display:grid;grid-template-columns:96px 1fr;gap:20px;align-items:center;padding-inline-end:28px}
.short-head img{width:96px;height:96px;object-fit:cover;object-position:50% 22%;border-radius:50%}
.short h2:focus,.short h2:focus-visible{outline:none;box-shadow:none}
.l1[tabindex="-1"]:focus,.l1[tabindex="-1"]:focus-visible{outline:none;box-shadow:none}
.short h2{font-size:clamp(28px,4vw,44px);font-weight:900;letter-spacing:-.03em;line-height:1;font-stretch:100%}
.short-head p{margin-top:6px;color:var(--ink-2)}
.short-lead{margin-top:20px;font-size:1.08em;font-weight:500}
.short-lead2{margin-top:4px}
/* v38: job-type tags on each role, and the career as two threads (main job thick, what ran beside it thin), drawn once as the CV opens */
.rt{font-style:normal;font-size:.85em;font-weight:700;color:var(--mute);margin-inline-start:6px;white-space:nowrap}
.prt{display:none}
.lanes-box{margin:2px 0 10px}
.lanes{display:block;width:100%;max-width:520px;height:auto;overflow:visible}
.lanes text{font-size:10px;font-weight:700;fill:var(--ink-2);text-anchor:start}
.lanes text.end{text-anchor:end}
.lanes path{fill:none;stroke:var(--ink);stroke-linecap:round;stroke-dasharray:1;animation:lane .9s cubic-bezier(.23,1,.32,1) both}
.lanes .l1{stroke-width:4}
.lanes .l2{stroke-width:1.5;animation-duration:.65s;animation-delay:.25s}
.lanes .kn circle{fill:var(--paper);stroke:var(--ink);stroke-width:1.5}
.lanes-cap{margin:2px 0 0;font-size:.85em;font-weight:600;color:var(--mute)}
@keyframes lane{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.lanes path{animation:none}}
.short h3{margin:22px 0 8px;font-size:13px;font-weight:800;font-stretch:85%;color:var(--ink-2);border-top:2px solid var(--ink);padding-top:8px}
.short ul{padding-left:1.1em;display:grid;gap:5px}
.short-roles{list-style:none;padding-left:0!important;grid-template-columns:auto minmax(0,1fr)}
.short-roles li{display:grid;grid-column:1/-1;grid-template-columns:auto minmax(0,1fr);grid-template-columns:subgrid;gap:0 1em}
.short-roles b{font-weight:700;white-space:nowrap}
@media (max-width:420px){.short-roles{grid-template-columns:minmax(0,1fr)}.short-roles li{grid-template-columns:minmax(0,1fr)}}
.short a{color:var(--ink)}
.short-actions{margin-top:26px;display:flex;flex-wrap:wrap;gap:12px}
.short-url{display:none}
.nb{white-space:nowrap}
.short .btn{background:var(--ink);color:var(--paper)}
.short .btn-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.short-actions a.btn{display:inline-flex;align-items:center;justify-content:center}
.short .btn:hover{background:#3a3046;color:var(--paper)}

/* ---- v21 the recruiter card: one phone screen, facts already on the page. A bottom sheet on phones, a centred card
   from 768px. His finished cloth on top: every row woven, so the band is sadu red ---- */
.hire{
  position:fixed;inset:auto 0 0 0;margin:0;width:100%;max-width:none;max-height:100dvh;overflow:auto;overscroll-behavior:contain;
  padding:0 20px calc(20px + env(safe-area-inset-bottom,0px));border:0;border-radius:22px 22px 0 0;background:var(--paper);color:var(--ink);
  box-shadow:var(--lift-hi);font-size:16px;line-height:1.45;
}
.hire::backdrop{background:rgba(35,28,46,.28)}
@media (prefers-reduced-motion:no-preference){.hire::backdrop{animation:sheet-fade .2s ease-out}}
.hire.is-closing::backdrop{opacity:0;transition:opacity .2s}
@media (min-width:768px){.hire{inset:0;margin:auto;width:440px;max-height:calc(100dvh - 48px);border-radius:22px}}
.hire-weave{height:16px;margin:0 -20px 18px;border-bottom:1.5px solid var(--ink);overflow:hidden;border-radius:22px 22px 0 0}
.hire-weave svg{display:block;width:100%;height:100%}
.hire-x{position:absolute;top:22px;inset-inline-end:8px;margin:0}
.hire-head{display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;align-items:center;padding-inline-end:30px}
.hire-head img{width:88px;height:88px;border-radius:50%;object-fit:cover;object-position:50% 22%;background:var(--sky)}
.hire h2{font-size:28px;font-weight:900;letter-spacing:-.02em;line-height:1.05;font-stretch:100%}
.hire h2:focus,.hire h2:focus-visible{outline:none;box-shadow:none}
.hire-now{margin-top:6px;font-size:16px;font-weight:600;line-height:1.35}
.hire-now .nb{font-family:"Archivo",sans-serif;font-weight:600}
.hire-yrs{margin-top:2px;font-size:15px;color:var(--ink-2)}
.hire-nums{list-style:none;margin:18px 0 0;padding:12px 0;border-block:1.5px solid var(--ink);display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 14px}
.hire-nums li{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:baseline}
.hire-nums .fact{font-family:"Archivo",sans-serif;font-weight:800;font-stretch:100%;font-size:clamp(28px,8vw,36px);line-height:1.1;letter-spacing:-.02em;color:var(--sadu);font-variant-numeric:tabular-nums;white-space:nowrap}
.hire-nums li>span{font-size:14px;line-height:1.35;color:var(--ink-2)}
.hire-share{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.hire-go{display:grid;margin-top:10px}
.hire-share{margin-top:10px}
.hire .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 10px;text-align:center;white-space:normal;line-height:1.25}
.hire .btn:hover{background:#3a3046;color:var(--paper)}
.hire .btn-ghost{min-height:44px;padding:8px 10px;font-size:14px;background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.hire .btn-ghost:hover{background:var(--ink);color:var(--paper)}
.hire-note{white-space:pre-line;margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--haze);font-size:14px;line-height:1.5;-webkit-user-select:all;user-select:all}
.hire-try{margin-top:8px;text-align:center;font-size:15px}
.hire-try .linkish{min-height:44px;font-weight:600;color:var(--ink)}
.hire-try .linkish::after{content:" \2193";font-family:"Archivo",sans-serif}

/* ---- the visitor's attention, painted onto the page itself ---- */
.paint-layer{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}
.paint-layer i{position:absolute;left:0;right:0;background:var(--sun);mix-blend-mode:normal}
.paint-layer svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.paint-off{
  position:fixed;right:var(--gutter);bottom:14px;z-index:22;font:inherit;font-size:14px;font-weight:700;
  background:var(--paper);color:var(--ink);border:0;border-radius:999px;box-shadow:var(--lift);padding:10px 16px;cursor:pointer;
}

/* ---- the visitor's own session recording ---- */
.ghost-bar{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:40;display:flex;gap:16px;align-items:center;background:var(--sun);color:var(--ink);padding:10px 12px 10px 18px;font-weight:700;font-size:15px;border-radius:999px;box-shadow:var(--lift-hi);max-width:calc(100vw - 24px)}
.ghost-bar button{font:inherit;font-weight:800;background:var(--ink);color:var(--paper);border:0;padding:8px 16px;cursor:pointer}
.ghost-cursor{position:fixed;left:0;top:0;z-index:39;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:rgba(255,178,28,.35);box-shadow:0 0 0 2px var(--sun),0 0 24px rgba(255,178,28,.7);pointer-events:none;will-change:transform}
body.is-ghosting .bar,body.is-ghosting .dots{opacity:.25}

.foot{padding-bottom:40px}

[hidden]{display:none!important}

@media (max-width:1023px){
  .row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* phones: one row. The bar's own fitBar hides the name beside the photo when the row runs out of room */
@media (max-width:767px){
  .bar{gap:12px}
  .bar-who{min-width:0}
}
@media (max-width:520px){
  .bar{font-size:14px}
  .bar *{white-space:nowrap}
  .bar-links{gap:12px}
  .short-head{grid-template-columns:64px 1fr}
  .short-head img{width:64px;height:64px}
}
@media (max-width:767px){
  .ghost-bar{font-size:13px;gap:10px;bottom:14px;width:calc(100vw - 24px);justify-content:space-between}
  .who-stage{grid-template-columns:1fr}
  .who-photo{order:-1;max-width:100%;aspect-ratio:5 / 4;object-position:50% 16%}
  .who-stage{gap:8px}
  .who-name{font-size:clamp(44px,15vw,120px)}
  .quiz li{grid-template-columns:1fr}
  .ad:has(.loom:not([hidden])){gap:16px}
  .ad-stage{grid-template-columns:1fr;justify-items:center}
  .ad-side{justify-self:start}
  .attr-row{grid-template-columns:1fr;gap:4px}
  .ladder-list li{grid-template-columns:52px minmax(0,1fr)}
  .lead{grid-template-columns:1fr}
  .funnel li{width:calc(100% - var(--i) * 5%)}
  .debug-log li{grid-template-columns:52px minmax(0,1fr);}
  .debug-log li span:nth-child(3){grid-column:2}
  .bar-links{gap:12px}
  .pairs{grid-template-columns:1fr}
  .row{grid-template-columns:1fr}
  .row button{min-height:0}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ad-part{grid-template-columns:1fr}
  .journey-grid{grid-template-columns:1fr}
  .journey canvas{height:340px}
  .journey-side canvas{height:300px}
  .story{margin-left:0}
}

/* v26: every tap target answers the moment the finger lands (the choice still happens on release).
   Late in the file so the press wins over the hover lifts above */
@media (prefers-reduced-motion:no-preference){
  .door{transition:background .24s cubic-bezier(.16,1,.3,1),transform .24s cubic-bezier(.16,1,.3,1)}
  .door:active{transform:scale(.97);transition:background .24s cubic-bezier(.16,1,.3,1),transform .1s ease-out}
  .chip[aria-pressed]:active{transform:scale(.96)}
  .offer:not(:disabled):active,.tile:active{transform:scale(.97);transition-duration:.1s}
  .studio-tabs button,.sheet-x,.bar-mode,.bar-ct{transition:transform .1s ease-out}
  .studio-tabs button:active,.bar-mode:active,.bar-ct:active{transform:scale(.97)}
  .sheet-x:active{transform:scale(.9)}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .door,.door::before{transition:none}
  .chip,.chip::before,.chip::after{transition:none}
  h1,h2,.who-name,.verdict{transition:none}
  .who-name,.who-name.is-open{font-stretch:110%}
  .tile,.aside,.contact .ct,.bar-mode::before{transition:none}
  .contact .ct:active,.contact .ct:hover{transform:none}
  .ribbon,.ribbon i,.offer{transition:none!important}
  .tiles.is-inviting li:first-child .tile{animation:none}
  .sealed::before,.sealed::after{transition:none}
  .weft{display:none}
}

/* Printing the site gives a one-page CV, whatever is on screen. */
@media print{
  @page{size:A4;margin:10mm 12mm}
  .short-roles li{display:block}
  .lanes path{animation:none}
  .lanes-box{margin:0 0 4px}.lanes{max-width:420px}
  .prt{display:inline}.scr{display:none}
  html,body{background:#fff!important;color:#000}
  body:has(dialog.short) > *:not(dialog){display:none!important}
  body:has(dialog.short) dialog:not(.short){display:none!important}
  dialog.short{display:block!important;position:static;width:auto;max-width:none!important;max-height:none;overflow:visible;padding:0;margin:0;background:#fff;color:#000;font-size:10pt;line-height:1.35}
  /* v37: 10 roles since 2014 still fit one A4 page (cv.pdf, cv-ar.pdf) */
  .short-head{grid-template-columns:72px 1fr}.short-head img{width:72px;height:72px}
  .short-lead{margin-top:12px}.short h3{margin:12px 0 5px}.short ul{gap:2px}
  .short::backdrop{display:none}
  .short-actions,.short-x{display:none}
  .short-url{display:block;margin-top:10px;font-weight:600}
  .short h3{color:#000;break-after:avoid}
  .short-head p{color:#000}
  .short .contact{display:block;break-inside:avoid}
  .short .contact .ct{display:block;min-height:0;padding:0;background:none;box-shadow:none;color:#000;font-size:10pt;line-height:1.5}
  .short .contact .ct svg,.short .ct-note{display:none}
  .short .contact .ct small{font-size:inherit;opacity:1;margin-inline-start:6px}
}
/* the narrowest phones: keep the top bar on one line */
@media (max-width:380px){
  .bar{padding-left:12px;padding-right:12px}
  .bar-links{gap:9px}
}

/* v36 the journey's payoff under the career line: each stage (front) flips into what it means for their business (back) */
.log-end{margin:clamp(32px,6vh,64px) var(--gutter) 0;max-width:820px}
.log-end-h{margin:0 0 16px;font-size:clamp(20px,1.2vw + 15px,28px);line-height:1.25;font-weight:800;letter-spacing:-.01em}
.flips{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (min-width:768px){.flips{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
.flip{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:76px;padding:12px 14px;border-radius:14px;background:var(--haze);box-shadow:inset 0 0 0 1px var(--line-ink);transform-origin:50% 50%}
.flip .fr{display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:700;color:var(--mute)}
.flip .fr::before{content:"";flex:none;width:7px;height:7px;background:var(--sadu);transform:rotate(45deg)}
.flip .bk{font-size:16px;font-weight:800;line-height:1.3;color:var(--ink)}
.flip.is-front .bk{display:none}
.flip.is-front .fr{font-size:16px;color:var(--ink-2)}

/* ---- v41 «خيط واحد» (one thread) ---- */
/* his 6 stages as a small warp under his name and above each chapter; a chapter lights the stages it draws on */
.warp{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;max-width:440px}
.warp li{display:grid;align-content:start;gap:3px;color:var(--mute);font-size:12.5px;line-height:1.25;font-weight:700}
.warp li::before{content:"";height:7px;border-radius:2px;background:repeating-linear-gradient(90deg,var(--sadu) 0 6px,#F3D3D6 6px 9px);opacity:.25}
.warp li.on{color:var(--ink)}
.warp li.on::before{opacity:1}
.warp b{font-family:"Archivo",sans-serif;font-weight:800;font-size:12.5px;font-variant-numeric:tabular-nums}
.warp-hero{margin-top:18px}
/* chapter 3: guess first, then the bars grow */
.ss-guess{margin:12px 0 4px}
.ss-q{font-size:var(--t-q);font-weight:800;line-height:1.3}
.ss-opts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ss-guess.is-done button:not([aria-pressed="true"]){opacity:.45}
.ss.is-sealed i{transform:scaleY(0)!important}
.ss.is-sealed b{color:transparent;text-shadow:0 0 10px rgba(35,28,46,.55)}
.ss.is-sealed ~ .budget-out,.ss.is-sealed ~ .lesson{visibility:hidden}
/* chapter 1: a way in for owners who don't advertise yet */
.no-ads{display:block;margin:16px auto 0;font-weight:800;min-height:44px}
/* v41 chapter 1: the gift first, the questions after it are optional; the ribbon and box no longer wrap the questions */
.check .gift{margin-bottom:22px}
.gift-gen{font-size:14px;font-weight:600;color:var(--mute);margin-top:4px}
.check .ribbon{display:none}
.q-lines .yn{display:grid;grid-template-columns:1fr;gap:8px}
.q-lines .yn button{text-align:start;min-height:48px;padding:10px 14px;line-height:1.4}

.matrix .studio{margin-top:clamp(24px,4vh,40px)} /* v41: the finished example ad comes first, the choices under it */
.matrix .rows{margin-top:clamp(28px,5vh,48px)}
/* v41 «تقريرك»: the finished slip at the end, before «Behind the scenes» */
.mine{margin:0 auto clamp(32px,5vh,56px);max-width:760px;background:var(--paper);border-radius:22px;box-shadow:var(--lift);overflow:hidden;padding:clamp(18px,3vw,32px);position:relative}
.mine::before{content:"";position:absolute;inset:0 0 auto 0;height:12px;background:repeating-linear-gradient(135deg,var(--sadu) 0 6px,transparent 6px 12px),repeating-linear-gradient(45deg,var(--sadu) 0 6px,transparent 6px 12px)}
.mine-h{margin-top:8px;font-size:clamp(28px,4vw,44px);font-weight:900;line-height:1.1}
.mine-sub{margin-top:6px;color:var(--mute);font-weight:600;font-size:14px}
.mine-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:16px;font-size:14.5px;line-height:1.5}
.mine-grid > p{padding:10px 8px;border-bottom:1px solid var(--line)}
.mine-col{font-weight:800;border-bottom:2px solid var(--ink)!important}
.mine-his{color:var(--ink-2)}
.mine-you mark{background:var(--sunwash);color:var(--ink);font-weight:800;padding:0 3px;border-radius:3px}
.mine-empty{margin-top:14px;color:var(--mute);font-weight:600}
.mine-wa{margin-top:18px;width:100%;justify-content:center;min-height:52px}
.mine-note{margin-top:6px;text-align:center;font-size:13px;color:var(--mute);font-weight:600}
/* v41: the contact sheet */
.ct-sheet{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;margin:auto;border:0;border-radius:22px;padding:clamp(20px,4vw,36px);background:var(--haze);color:var(--ink)}
.ct-sheet::backdrop{background:rgba(35,28,46,.28)}
.ct-sheet .sheet-x{position:absolute;top:10px;inset-inline-end:10px}
.ct-title{font-size:26px;font-weight:900;margin-bottom:12px}
.ct-cvs{display:flex;flex-wrap:wrap;gap:8px}
.contact .ct-hi{background:var(--paper)}
@media (max-width:767px){.ct-sheet{margin:auto 0 0;width:100vw;max-width:100vw;border-radius:22px 22px 0 0}}
@media print{.ct-sheet,.mine{display:none!important}}
/* v41: the slip docked at the inline-start edge through the 4 chapters; a hole is punched per chapter; a tap opens «تقريرك» */
.slip-dock{position:fixed;inset-inline-start:0;top:46%;z-index:30;display:grid;place-items:center;width:18px;padding:9px 0;background:var(--paper);border-radius:0 12px 12px 0;box-shadow:var(--lift);text-decoration:none}
html[dir="rtl"] .slip-dock{border-radius:12px 0 0 12px}
.slip-dock .tk-holes{display:grid;gap:5px}
.slip-dock .tk-holes i{width:8px;height:8px}
@media (min-width:768px){.slip-dock{width:34px;padding:12px 6px}.slip-dock .tk-holes i{width:10px;height:10px}}
@media print{.slip-dock{display:none!important}}
.mine-wa{white-space:normal;text-align:center;line-height:1.3;padding-block:12px;height:auto}
/* v42: «تقريرك» shows the homepage sum and the exact message the button sends */
.mine-calc{margin-top:10px;font-size:14px;font-weight:700;background:var(--haze);border-radius:10px;padding:7px 10px}
.mine-calc mark{background:var(--sunwash);color:var(--ink);font-weight:800;padding:0 3px;border-radius:3px}
.mine-cap{margin-top:16px;font-size:13px;font-weight:700;color:var(--mute)}
.mine-msg{margin-top:6px;background:#F6F1EC;border:1px solid var(--line);border-radius:14px 14px 4px 14px;padding:10px 12px;font-size:14px;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere}
html[dir="rtl"] .mine-msg{border-radius:14px 14px 14px 4px}
/* v42: after the reveal, the two-ads choice stays changeable (the ads' own words, the current one pressed) */
.offer-switch{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.offer-switch .btn{min-height:44px}
.offer-switch .btn[aria-pressed="true"]{background:var(--sunwash);box-shadow:inset 0 0 0 2px var(--sun)}
