@import url("fonts.css");
@font-face { font-family: Plex; font-weight: 400; font-display: swap; src: url(fonts/plex-arabic-400.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Plex; font-weight: 600; font-display: swap; src: url(fonts/plex-arabic-600.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

/* LAB direction: white base, one navy band for cinema + motion. One accent (Visualisy purple), blue only for small marks. */
:root {
  color-scheme: light;
  --bg: #FFFFFF; --bg2: #F7F7F5; --tile: #F1F1EE; --ink: #0B0F1A; --ink2: #3D4454; --mute: #6B7385; --line: #E6E6E9;
  --acc: #622280; --acc2: #1C8FC0; --btn: #0B0F1A; --btn-ink: #FFFFFF;
  --hairline-plate: var(--bg); --hairline-hi: #0B0F1A; --hairline-edge: #9AA0AE; --hairline-mid: #C6C9D1; --hairline-lo: #E3E4E8;
}
.band { color-scheme: dark; --bg: #070B1A; --bg2: #0B1124; --tile: #0E1530; --ink: #EEF1F8; --ink2: #B7BED3; --mute: #8590AE; --line: rgba(255,255,255,.09);
  --acc: #B07DE0; --acc2: #43BDEB; --btn: #EEF1F8; --btn-ink: #070B1A; --hairline-plate: var(--bg); --hairline-hi: #E6EAF5; --hairline-edge: #6F7A98; --hairline-mid: #3A4566; --hairline-lo: #222B47; }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: Plex, "Geist", system-ui, sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="ar"] .disp { font-family: "Alexandria", Plex, sans-serif; font-weight: 300; }
.disp { font-family: "Geist", sans-serif; font-weight: 300; letter-spacing: -0.02em; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 22px; }
@media (min-width: 1024px) { .wrap { padding: 0 40px; } }
section { position: relative; background: var(--bg); color: var(--ink); }
.chap { padding: 112px 0; border-top: 1px solid var(--line); }
.band.chap { border-top: 0; }
.ico { width: 1em; height: 1em; flex: none; }
.ico * { stroke-width: 1.4; }

/* top bar */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.on { background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { height: 26px; width: auto; }
.nav { display: none; gap: 26px; font-size: 14px; color: var(--ink2); } @media (min-width: 1100px) { .nav { display: flex; } }
.nav a:hover { color: var(--ink); }
.top-r { display: flex; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s, background .2s, border-color .2s; cursor: pointer; border: 0; }
.btn-a { background: var(--btn); color: var(--btn-ink); } .btn-a:hover { transform: translateY(-2px); background: var(--acc); color: #fff; }
.btn-b { border: 1px solid var(--line); color: var(--ink); background: transparent; } .btn-b:hover { border-color: var(--ink2); }
.btn-s { min-height: 38px; padding: 0 16px; font-size: 13px; }

/* hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 112px 0 36px; overflow: hidden; }
.field { position: absolute; inset: -20%; pointer-events: none; background: radial-gradient(40% 35% at 22% 42%, rgba(43,172,226,.14), transparent 70%), radial-gradient(35% 30% at 72% 62%, rgba(98,34,128,.10), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(4%, -3%, 0) scale(1.06); } }
.hero-grid { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 32px; } }
.h1 { margin: 20px 0 0; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.3; }
.h1 em { font-style: normal; color: var(--acc); }
.sub { margin: 24px 0 0; max-width: 540px; font-size: 17px; color: var(--ink2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.l2l { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; margin-inline: auto; cursor: pointer; }
.l2l .cfig { position: absolute; inset: 6%; transition: opacity 1s ease; }
.l2l .cfig svg { width: 100%; height: 100%; }
.l2l .real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; clip-path: circle(0% at 50% 50%); transition: clip-path 1.6s cubic-bezier(.6,.05,.2,1); filter: drop-shadow(0 30px 40px rgba(11,15,26,.14)); }
.l2l.live .real { clip-path: circle(75% at 50% 50%); } .l2l.live .cfig { opacity: 0; }
.l2l .tag { position: absolute; bottom: 2%; inset-inline-start: 0; margin: 0; }
.rail { position: relative; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.rail b { color: var(--ink); font-weight: 600; } .rail .dot { display: inline-block; width: 7px; height: 7px; border-radius: 9px; background: var(--acc2); margin-inline-end: 8px; }

/* numbers strip */
.nums { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 1px solid var(--line); }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(4, 1fr); } }
.nums div { padding: 30px 0 26px; }
.nums div:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 900px) { .nums div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 26px; } .nums div:nth-child(n+3) { border-top: 0; } }
.nums .big { font-family: "Geist", sans-serif; font-weight: 200; font-size: clamp(52px, 6.5vw, 96px); line-height: 1; letter-spacing: -0.04em; }
.nums p { margin: 10px 0 0; color: var(--mute); font-size: 14px; max-width: 230px; }

/* chapter heads */
.chead { display: grid; gap: 14px; align-items: end; margin-bottom: 56px; }
@media (min-width: 1024px) { .chead { grid-template-columns: 150px 1fr; } }
.num { font-family: "Geist", sans-serif; font-weight: 200; font-size: clamp(60px, 8vw, 120px); line-height: .9; color: var(--acc); letter-spacing: -0.04em; }
.h2 { margin: 0; font-size: clamp(28px, 3.3vw, 48px); line-height: 1.3; }
.lead { margin: 14px 0 0; max-width: 700px; color: var(--ink2); font-size: 17px; }

/* specimen frame: the one frame every image wears (corner ticks + label strip) */
.spec { position: relative; border-radius: 18px; background: radial-gradient(70% 70% at 50% 42%, #FFFFFF, var(--tile)); overflow: hidden; }
.band .spec { background: radial-gradient(70% 70% at 50% 42%, #142048, var(--tile)); }
.spec::before, .spec::after { content: ""; position: absolute; z-index: 2; width: 14px; height: 14px; border: 1.5px solid var(--acc); pointer-events: none; opacity: .7; }
.spec::before { top: 12px; inset-inline-start: 12px; border-width: 1.5px 0 0 1.5px; }
[dir="rtl"] .spec::before { border-width: 1.5px 1.5px 0 0; }
.spec::after { bottom: 12px; inset-inline-end: 12px; border-width: 0 1.5px 1.5px 0; }
[dir="rtl"] .spec::after { border-width: 0 0 1.5px 1.5px; }
.spec .lab { position: absolute; z-index: 2; top: 12px; inset-inline-end: 14px; font-size: 10px; }
.spec img.fit { width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.spec:hover img.fit { transform: scale(1.05); }
.spec img.cover, .spec video { width: 100%; height: 100%; object-fit: cover; }

/* 01 depth: magnification chain (no pinning) */
.chain { display: grid; gap: 14px; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
@media (min-width: 900px) { .chain { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; } }
.link { scroll-snap-align: start; position: relative; }
.link .spec { aspect-ratio: 1; border-radius: 999px; cursor: zoom-in; }
.link .spec::before, .link .spec::after { display: none; }
.link .spec img.fit { padding: 12%; }
.link h3 { margin: 16px 0 0; font-size: 17px; font-weight: 600; }
.link p { margin: 2px 0 0; color: var(--mute); font-size: 14px; }
.link .sc { position: absolute; top: -8px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--bg); padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; }
[dir="rtl"] .link .sc { transform: translateX(50%); }
@media (min-width: 900px) { .link:not(:last-child)::after { content: ""; position: absolute; top: 50%; width: 14px; height: 1px; background: var(--acc); inset-inline-end: -14px; top: calc(50% - 40px); } }
.chain-note { margin-top: 28px; color: var(--mute); font-size: 14px; }

/* 02 cinema: two examples, smaller frames, arrows that say what causes what */
.flow { display: grid; gap: 10px; align-items: center; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr 96px 1fr 96px 1fr; } }
.flow .spec { aspect-ratio: 27/40; max-height: 420px; width: 100%; }
.flow figure { margin: 0; }
.flow figcaption { display: flex; gap: 10px; align-items: baseline; padding-top: 12px; font-size: 15px; }
.flow figcaption b { font-weight: 600; }
.arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--acc2); text-align: center; font-size: 12px; }
.arrow svg { width: 72px; height: 16px; }
[dir="rtl"] .arrow svg { transform: scaleX(-1); }
@media (max-width: 899px) { .arrow svg { transform: rotate(90deg); width: 40px; } [dir="rtl"] .arrow svg { transform: rotate(90deg); } }
.full { font-size: 13px; color: var(--acc2); border-bottom: 1px solid currentColor; margin-inline-start: auto; }
.claims { display: grid; margin-top: 24px; }
@media (min-width: 900px) { .claims { grid-template-columns: repeat(4, 1fr); } }
.claims div { padding: 22px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .claims div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 22px; } .claims div { padding-inline-end: 22px; } }
.claims b { display: block; font-size: 18px; margin-top: 6px; font-weight: 600; } .claims p { margin: 6px 0 0; color: var(--ink2); font-size: 15px; }
.sub-h { margin: 72px 0 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sub-h h3 { margin: 0; font-size: 22px; font-weight: 600; }
.shows { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; }
.shows .spec { aspect-ratio: 9/16; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
@media (min-width: 900px) { .strip { grid-auto-columns: calc((100% - 60px) / 6); } }
.strip .spec { aspect-ratio: 9/16; scroll-snap-align: start; cursor: zoom-in; }
.strip .cap { position: absolute; z-index: 2; inset-inline: 12px; bottom: 10px; font-size: 13px; font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* 03 audiences, 04 ways, 05 how */
.grid3 { display: grid; gap: 40px 36px; }
@media (min-width: 700px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.itile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tile); color: var(--acc); font-size: 22px; }
.aud h3 { margin: 18px 0 0; font-size: 19px; font-weight: 600; } .aud p { margin: 6px 0 0; color: var(--ink2); font-size: 15px; }
.fig-box { border-radius: 18px; background: var(--tile); padding: 14px; }
.fig { position: relative; width: 100%; aspect-ratio: 5/4; color: var(--ink); }
.cfig { position: relative; aspect-ratio: 5/4; }
.cap2 { display: flex; gap: 10px; align-items: baseline; padding-top: 14px; }
.cap2 h3 { margin: 0; font-size: 18px; font-weight: 600; } .step { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--acc); }
.desc { margin: 6px 0 0; color: var(--ink2); font-size: 15px; }
.lic { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.lic p { margin: 0; max-width: 640px; color: var(--ink2); }
.steps5 { display: grid; gap: 22px; }
@media (min-width: 700px) { .steps5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps5 { grid-template-columns: repeat(5, 1fr); } }
.two { display: grid; gap: 36px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
.two h3 { margin: 0 0 14px; font-size: 19px; font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; } .ticks li { display: flex; gap: 10px; padding: 6px 0; color: var(--ink2); font-size: 15px; } .ticks li::before { content: "—"; color: var(--acc); }

/* 06 gallery */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; }
.gf { flex: none; border-radius: 999px; border: 1px solid var(--line); padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink2); background: var(--bg); cursor: pointer; white-space: nowrap; }
.gf.on, .gf:hover { border-color: var(--ink); color: var(--btn-ink); background: var(--btn); }
.gal { display: grid; gap: 18px 14px; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .gal { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gal { grid-template-columns: repeat(5, 1fr); } }
.gal .spec { aspect-ratio: 1; cursor: zoom-in; }
.gal p { margin: 10px 2px 0; font-size: 13px; font-weight: 600; color: var(--ink2); line-height: 1.45; }
.gal li.hide, .gal.collapsed li.more { display: none; }
.center { text-align: center; margin-top: 40px; }

/* 07 motion */
.reel { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .reel { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reel { grid-template-columns: repeat(3, 1fr); } }
.reel figure { margin: 0; } .reel .spec { aspect-ratio: 1; }
.reel figcaption { display: flex; gap: 10px; align-items: baseline; padding-top: 12px; font-size: 15px; } .reel figcaption b { font-weight: 600; }

/* 08 clinic track */
.cards4 { display: grid; gap: 18px; }
@media (min-width: 700px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.vcard .spec { aspect-ratio: 1300/990; }
.vcard h4 { margin: 14px 0 0; font-size: 17px; font-weight: 600; } .vcard p { margin: 4px 0 0; color: var(--ink2); font-size: 14px; }
.trust { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 600; }
.trust span { display: block; font-weight: 400; color: var(--mute); font-size: 14px; }
.voices { display: grid; gap: 16px; }
@media (min-width: 900px) { .voices { grid-template-columns: repeat(3, 1fr); } }
.voices .spec { aspect-ratio: 4/3; }
.vplay { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; }
.vplay span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: #fff; color: #0B0F1A; font-size: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.vplay.playing span { opacity: 0; }

/* partners + contact */
.pgrid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .pgrid { grid-template-columns: 1.1fr .9fr; } }
.form { display: grid; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; } .form .span { grid-column: span 2; } }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.form input, .form select, .form textarea { width: 100%; border-radius: 12px; border: 1px solid #DADBE0; background: #fff; padding: 12px 14px; font: inherit; font-weight: 400; color: var(--ink); min-height: 48px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(98,34,128,.12); }

footer { padding: 44px 0 64px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }
footer b { color: var(--ink); }

/* lightbox */
#lb { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(7,11,26,.94); }
#lb.open { display: flex; }
#lb figure { margin: 0; max-width: min(92vw, 900px); text-align: center; color: #fff; }
#lb img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 14px; }
#lb figcaption { margin-top: 12px; font-weight: 600; } #lb small { display: block; color: #9AA3BC; font-weight: 400; font-size: 12px; }
#lb button { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }

.js [data-rv] { opacity: 0; transform: translateY(22px); }
@media (prefers-reduced-motion: reduce) { .field { animation: none; } .l2l .real { transition: none; } }

/* moving galleries: endless rows that pause on hover; tap opens the full image */
.mq { overflow: hidden; margin-inline: -22px; padding: 4px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq + .mq { margin-top: 14px; }
.mq-track { display: flex; gap: 14px; width: max-content; animation: mq 140s linear infinite; }
.mq.rev .mq-track { animation-direction: reverse; }
[dir="rtl"] .mq-track { animation-name: mq-rtl; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq .spec { flex: none; width: 210px; aspect-ratio: 9/16; cursor: zoom-in; }
.mq.tall .spec { width: 230px; aspect-ratio: 1; }
.mq .spec::before, .mq .spec::after { width: 10px; height: 10px; }
.mq .cap { position: absolute; z-index: 2; inset-inline: 12px; bottom: 10px; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.mq .cap.dark { color: var(--ink2); text-shadow: none; }
@keyframes mq { to { transform: translateX(-50%); } } @keyframes mq-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } .mq { overflow-x: auto; } }

/* fixes r2 */
.link .sc { z-index: 4; }
.grp { margin-top: 56px; }
.grp-h { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.grp-h h3 { margin: 0; font-size: 22px; font-weight: 600; }
.grp-h .mono:last-child { margin-inline-start: auto; }
.mq img[data-src]:not([src]) { visibility: hidden; }

/* body systems rail: the eye is done, every other system is made to order */
.systems { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 44px; }
@media (min-width: 640px) { .systems { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .systems { grid-template-columns: repeat(7, 1fr); } }
.sys { display: grid; justify-items: start; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.7); transition: border-color .2s, transform .2s; }
.sys:hover { border-color: var(--acc); transform: translateY(-2px); }
.sys-i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--tile); color: var(--acc); margin-bottom: 8px; overflow: hidden; }
.sys-i img { width: 100%; height: 100%; object-fit: contain; }
.organ { width: 34px; height: 34px; }
.sys b { font-size: 14px; font-weight: 600; } .sys small { font-size: 12px; color: var(--mute); }
.sys.on { border-color: var(--acc); }

/* carousels: still frame, arrows on desktop, swipe on touch; nothing moves by itself */
.car { position: relative; }
.car-t { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 0 10px; scrollbar-width: none; }
.car-t::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .car-t { grid-auto-columns: calc((100% - 42px) / 4); } }
@media (min-width: 1100px) { .car-t { grid-auto-columns: calc((100% - 70px) / 6); } }
.car-t .spec { aspect-ratio: 9/16; scroll-snap-align: start; cursor: zoom-in; }
.car-t .cap { position: absolute; z-index: 2; inset-inline: 12px; bottom: 10px; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.car-b { position: absolute; z-index: 5; top: calc(50% - 24px); width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; display: none; }
@media (hover: hover) and (min-width: 700px) { .car-b { display: grid; place-items: center; } }
.car-b.prev { inset-inline-start: -18px; } .car-b.next { inset-inline-end: -18px; }
.car-b[disabled] { opacity: .3; cursor: default; }

/* hero: one line pointing at the atlas grid */
.systems, .systems1 { position: relative; margin-top: 44px; }
.systems1 .sys { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; }
.systems1 .sys-i { margin: 0; }
/* 00: 14 body systems; the line drawing traces itself on hover / when it scrolls in */
.sysgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .sysgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .sysgrid { grid-template-columns: repeat(5, 1fr); } }
.sysc { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); transition: border-color .25s, transform .25s, box-shadow .25s; }
.sysc:hover { border-color: var(--acc); transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(98,34,128,.5); }
.sysc-i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--tile); color: var(--ink2); }
.sysc.done .sysc-i, .sysc:hover .sysc-i { color: var(--acc); }
.sysc b { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.sysc .mono { font-size: 10px; }
.sysc.done .mono { color: var(--acc); }
.sysc-n { position: absolute; top: 10px; inset-inline-end: 14px; font-family: "Geist", sans-serif; font-weight: 300; font-size: 26px; color: var(--ink); }
.sysc.done { border-color: var(--acc); background: linear-gradient(180deg, #FBF7FD, #fff); }
.organ path, .organ circle { stroke-dasharray: 160; stroke-dashoffset: 0; }
.sysc:hover .organ path, .sysc:hover .organ circle, .sysc.draw .organ path, .sysc.draw .organ circle { animation: trace 1.4s cubic-bezier(.6,.1,.2,1) both; }
@keyframes trace { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .sysc .organ * { animation: none !important; } }
.grid4 { display: grid; gap: 36px 28px; } @media (min-width: 700px) { .grid4 { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.benefit { display: flex; gap: 12px; align-items: baseline; margin: 18px 0 0; max-width: 720px; padding: 12px 16px; border-inline-start: 2px solid var(--acc); background: color-mix(in srgb, var(--acc) 6%, transparent); border-radius: 0 12px 12px 0; font-size: 16px; color: var(--ink); } [dir=rtl] .benefit { border-radius: 12px 0 0 12px; } .benefit b { flex: none; font-size: 12px; color: var(--acc); font-weight: 600; }

/* 00: one isometric atlas plate per body system (Hairline style, opens on hover/touch) */
.cfig svg.src { display: none !important; }
.sysgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
@media (min-width: 800px) { .sysgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .sysgrid { grid-template-columns: repeat(4, 1fr); } }
.orgc .fig-box { position: relative; padding: 8px; }
.orgc .cfig { width: 100%; }
.orgc-st { position: absolute; top: 12px; inset-inline-start: 14px; font-size: 10px; }
.orgc.done .fig-box { background: linear-gradient(180deg, #F6F0FA, var(--tile)); box-shadow: inset 0 0 0 1.5px var(--acc); }
.orgc.done .orgc-st { color: var(--acc); }
.orgc .cap2 { justify-content: space-between; }
.orgc-n { font-family: "Geist", sans-serif; font-weight: 300; font-size: 30px; line-height: 1; color: var(--ink); }
.orgc.done .orgc-n { color: var(--acc); }
.orgc .desc { margin-top: 2px; font-size: 13px; color: var(--mute); }
.orgc-n small { font-size: 14px; margin-inline-start: 2px; color: var(--mute); }

/* r5: review fixes + raw material + copyright */
.sc, .mono[dir="ltr"] { text-transform: none; }
.menu-b { display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.menu-b span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.menu-b[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-b[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 1100px) { .menu-b { display: none; } }
@media (max-width: 1099px) {
  .nav.open { display: grid; position: absolute; top: 68px; inset-inline: 0; gap: 0; padding: 8px 22px 18px; background: #fff; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
}
.own-badge { display: inline-flex; gap: 10px; align-items: center; margin: 18px 0 0; padding: 8px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); color: var(--acc); font-size: 14px; font-weight: 600; background: color-mix(in srgb, var(--acc) 5%, transparent); }
.own { display: grid; gap: 14px; margin: 0 0 48px; }
@media (min-width: 900px) { .own { grid-template-columns: 1fr 1fr; } }
.own > div { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); }
.own b { display: block; margin-top: 6px; font-size: 19px; font-weight: 600; }
.own p:not(.mono) { margin: 6px 0 0; color: var(--ink2); font-size: 15px; }
.own-x { opacity: .75; } .own-x b { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.own-v { border-color: var(--acc) !important; background: color-mix(in srgb, var(--acc) 10%, transparent); }
.own-v .mono { color: var(--acc); }
.makes article .fig-box { padding: 8px; }
.makes .cap2 { padding-top: 14px; } .mk-h { margin: 4px 0 0; font-size: 19px; font-weight: 600; }
.makes .full { display: inline-block; margin-top: 10px; }
.also { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.also b { color: var(--acc); font-size: 13px; margin-inline-end: 6px; }
.also span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink2); }
.spec .lab { z-index: 4; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.88); color: #3D4454; }
.band .spec .lab { background: rgba(7,11,26,.72); color: #DDE3F2; }
.shows .spec::before, .shows .spec::after { display: none; }
.full { white-space: nowrap; }
.nw { white-space: nowrap; }
.orgc-st { top: auto; bottom: 12px; }
.car { padding-inline: 0; }
@media (hover: hover) and (min-width: 700px) { .car-b.prev { inset-inline-start: -62px; } .car-b.next { inset-inline-end: -62px; } }
@media (hover: hover) and (min-width: 700px) and (max-width: 1360px) { .car { margin-inline: 56px; } .car-b.prev { inset-inline-start: -56px; } .car-b.next { inset-inline-end: -56px; } }
.car-t .cap { padding: 22px 10px 8px; inset-inline: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
@media (max-width: 899px) {
  .chain, .shows, .car-t { mask-image: linear-gradient(to left, #000 82%, transparent); -webkit-mask-image: linear-gradient(to left, #000 82%, transparent); }
  .shows { grid-template-columns: repeat(3, 72%); }
  .arrow { padding: 6px 0; } .arrow .mono { font-size: 10px; }
  .flow .spec { max-height: 360px; }
}
@media (max-width: 699px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 12px 8px; } .gal p { font-size: 11.5px; } .gal .spec img.fit { padding: 6%; } }
.swipe { display: none; margin: 10px 0 0; font-size: 12px; color: var(--mute); }
@media (max-width: 899px) { .swipe { display: block; } }
@media (max-width: 899px) { .arrow { flex-direction: row; justify-content: center; gap: 2px; } .arrow svg { margin-block: 12px; } }
.orgc .fig-box, .makes .fig-box { --hairline-edge: #6E7587; --hairline-mid: #A3A8B4; }

/* r6: number stamps (every number that sits on an image wears the same seal) */
.stamp { position: absolute; z-index: 5; width: 60px; height: 60px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 0; color: var(--acc); background: rgba(255,255,255,.9); box-shadow: 0 6px 18px -10px rgba(11,15,26,.35); pointer-events: none; }
.band .stamp { background: rgba(7,11,26,.78); }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.stamp circle { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 190; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.6,.1,.2,1); }
.stamp circle.in { stroke-width: .8; stroke-dasharray: 1.5 3; opacity: .7; }
.js .stamp:not(.on) circle:not(.in) { stroke-dashoffset: 190; }
.stamp b { position: relative; font-family: "Geist", sans-serif; font-weight: 300; font-size: 19px; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.stamp small { position: relative; margin-top: 3px; font-family: "Geist Mono", monospace; font-size: 7.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.stamp.tl { top: 10px; inset-inline-start: 10px; } .stamp.br { bottom: 10px; inset-inline-end: 10px; }
.stamp.ce { top: -6px; inset-inline-end: 4%; }
.link .stamp.ce { z-index: 6; }
.st-box, .orgc .fig-box { position: relative; }
.orgc .stamp { width: 64px; height: 64px; } .orgc .stamp b { font-size: 21px; }
.orgc.done .stamp b { color: var(--acc); }
.orgc .mk-h { margin-top: 14px; font-size: 18px; }
.steps5 .mk-h { margin-top: 14px; font-size: 18px; }
/* before / after: drag on desktop (or just move the mouse), slim handle strip for touch and keyboard */
.cmps { grid-auto-columns: 78%; }
@media (min-width: 700px) { .cmps { grid-auto-columns: calc((100% - 28px) / 3); } }
.cmp { margin: 0; scroll-snap-align: start; }
.cmp-box { position: relative; aspect-ratio: 9/16; max-height: 640px; border-radius: 18px; overflow: hidden; background: var(--tile); cursor: ew-resize; }
.cmp-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-a { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cmp-h { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.45); pointer-events: none; }
.cmp-h::after { content: "\2039\00a0\203A"; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #0B0F1A; font-size: 18px; letter-spacing: 2px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.cmp-l, .cmp-r { position: absolute; z-index: 3; top: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(7,11,26,.72); color: #DDE3F2; font-size: 10px; }
.cmp-l { left: 12px; } .cmp-r { right: 12px; }
.cmp-box input { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; width: 100%; height: 56px; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp figcaption { padding-top: 12px; font-size: 15px; font-weight: 600; }
/* flows stay three across at every width */
@media (max-width: 899px) {
  .flow { grid-template-columns: 1fr 16px 1fr 16px 1fr; gap: 6px; align-items: start; }
  .flow .arrow { flex-direction: column; padding: 0; margin-top: 20vw; }
  .flow .arrow .mono { display: none; }
  .flow .arrow svg { width: 16px; height: 16px; margin: 0; transform: none; }
  [dir="rtl"] .flow .arrow svg { transform: scaleX(-1); }
  .flow .spec .lab { display: none; }
  .flow figcaption { flex-wrap: wrap; gap: 2px 6px; font-size: 12px; line-height: 1.5; }
  .flow .full { font-size: 11px; margin: 0; }
  .flow .stamp { width: 40px; height: 40px; } .flow .stamp b { font-size: 13px; } .flow .stamp small { font-size: 5.5px; }
  .stamp.br { bottom: 6px; inset-inline-end: 6px; }
}
@media (max-width: 699px) { .orgc .stamp { width: 50px; height: 50px; } .orgc .stamp b { font-size: 16px; } .orgc .stamp small { font-size: 6px; } .stamp.tl { top: 7px; inset-inline-start: 7px; } }
.stamp small { text-transform: none; }

/* r7: sizes, mobile rows, stamps clear of drawings */
.num { font-size: clamp(44px, 5vw, 64px); }
@media (max-width: 1023px) { .l2l { max-width: 380px; } }
.cmp-box { aspect-ratio: 3/4; max-height: none; }
.chain { padding-top: 14px; }
@media (min-width: 600px) and (max-width: 899px) { .chain { grid-auto-columns: 36%; } }
@media (max-width: 599px) { .chain { grid-auto-columns: 62%; } }
@media (max-width: 899px) { .fig-box > .fig, .fig-box > .cfig { aspect-ratio: 16/10; } .orgc .fig-box > .cfig { aspect-ratio: 5/4; } }
@media (min-width: 600px) { .voices { grid-template-columns: repeat(3, 1fr); } }
.vcard .spec video, .voices .spec video, .reel .spec video { object-fit: contain; }
.sysgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 16px; }
.sysgrid > .orgc { flex: 0 0 calc((100% - 16px) / 2); }
@media (min-width: 800px) { .sysgrid > .orgc { flex-basis: calc((100% - 32px) / 3); } }
@media (min-width: 1100px) { .sysgrid > .orgc { flex-basis: calc((100% - 48px) / 4); } }
.stamp small { font-size: 8.5px; }
@media (max-width: 699px) {
  .orgc .fig-box { padding-top: 40px; } .orgc .stamp { width: 44px; height: 44px; } .orgc .stamp b { font-size: 14px; } .orgc .stamp small { font-size: 6.5px; }
  .flow { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; mask-image: linear-gradient(to left, #000 84%, transparent); -webkit-mask-image: linear-gradient(to left, #000 84%, transparent); }
  .flow::-webkit-scrollbar { display: none; }
  .flow figure { scroll-snap-align: start; } .flow .arrow { display: none; }
  .flow figcaption { font-size: 14px; } .flow .full { font-size: 13px; }
  .flow .spec .lab { display: block; }
  .flow .stamp { width: 46px; height: 46px; } .flow .stamp b { font-size: 15px; } .flow .stamp small { font-size: 6.5px; }
}
@media (min-width: 700px) and (max-width: 899px) { .flow .arrow svg { width: 18px; height: 18px; } .flow .arrow path { stroke-width: 2.4; } .flow .stamp { width: 46px; height: 46px; } .flow .stamp small { font-size: 6.5px; } }

/* r8: no side-scrolling strips. Content wraps; a set that slides always has arrows */
@media (max-width: 899px) {
  .chain { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 14px; overflow: visible; mask-image: none; -webkit-mask-image: none; scroll-snap-type: none; }
  .chain .link { flex: 0 0 calc((100% - 28px) / 3); }
}
@media (max-width: 599px) { .chain .link { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 699px) {
  .flow { grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; overflow: visible; mask-image: none; -webkit-mask-image: none; scroll-snap-type: none; gap: 6px; }
  .flow figure { display: grid; grid-template-columns: 46% 1fr; gap: 16px; align-items: center; }
  .flow .arrow { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; padding-inline-start: 18%; margin: 0; }
  .flow .arrow svg, [dir="rtl"] .flow .arrow svg { transform: rotate(90deg); width: 26px; height: 14px; margin: 6px 0; }
  .flow .arrow .mono { display: inline; font-size: 10px; }
  .flow figcaption { padding: 0; display: grid; gap: 6px; align-content: center; }
}
.car-t { scrollbar-width: none; }
@media (hover: none), (max-width: 699px) {
  .car { padding-bottom: 62px; margin-inline: 0; }
  .car-b { display: grid; place-items: center; top: auto; bottom: 0; width: 44px; height: 44px; }
  .car-b.prev { inset-inline-start: calc(50% - 52px); } .car-b.next { inset-inline-end: calc(50% - 52px); }
  .chain, .shows, .car-t { mask-image: none; -webkit-mask-image: none; }
}
.gal.car-t { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 56px) / 5); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 0 0 8px; }
.gal.car-t li { scroll-snap-align: start; }
@media (max-width: 1099px) { .gal.car-t { grid-auto-columns: calc((100% - 28px) / 3); } }
@media (max-width: 699px) { .gal.car-t { grid-auto-columns: calc((100% - 14px) / 2); } }
.grp { margin-top: 44px; }

/* chapters: each big category gets its own tone and a large outline numeral that drifts slower than the page */
:root { --mark: rgba(98,34,128,.13); } .band { --mark: rgba(176,125,224,.16); }
.chap { overflow-x: clip; }
.chap > .wrap { position: relative; z-index: 1; }
.chap-bg { position: absolute; z-index: 0; top: 36px; inset-inline-end: -1vw; font-family: "Geist", sans-serif; font-weight: 200; font-size: clamp(170px, 28vw, 440px); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.2px var(--mark); pointer-events: none; user-select: none; }
#atlasall, #depth, #who, #how, #clinic { background: var(--bg2); }
.chap { border-top: 0; }
.chap:not(.band) + .chap:not(.band) { box-shadow: inset 0 1px 0 var(--line); }
/* where am I: a progress line under the bar, the current chapter beside the logo, the active link in the menu */
.prog { position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 0; background: var(--acc); transition: width .1s linear; }
.now { display: none; margin-inline-end: auto; margin-inline-start: 14px; padding-inline-start: 14px; border-inline-start: 1px solid var(--line); font-size: 11px; color: var(--acc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.top.on .now:not(:empty) { display: block; }
@media (min-width: 1100px) { .top.on .now { display: none !important; } }
.nav a.on { color: var(--acc); }
@media (min-width: 1100px) { .nav a { position: relative; } .nav a.on::after { content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--acc); } }

/* r9: a clear next step after every section */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 56px; padding: 20px 24px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--acc) 30%, var(--line)); background: color-mix(in srgb, var(--acc) 5%, transparent); }
.cta-row p { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.cta-row .ctas { margin: 0; }
@media (max-width: 699px) { .cta-row { padding: 18px; } .cta-row .ctas, .cta-row .btn { width: 100%; } }

/* r10: chapters you can follow, a calm end-of-chapter block, no orphan cards, no fades */
section[id] { scroll-margin-top: 76px; }
.chain, .shows, .car-t { mask-image: none !important; -webkit-mask-image: none !important; }
:root { --mark: rgba(98,34,128,.09); } .band { --mark: rgba(176,125,224,.12); }
.now { font-family: Plex, "Geist", sans-serif; letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 600; color: var(--ink2); max-width: 46vw; }
.h1 + .sub, .hero .mono { text-wrap: balance; }

/* end of chapter: a hairline, the question, one clear button, a quiet second way, then the way to the next chapter */
.cta-row { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; margin-top: 72px; padding: 28px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.cta-row > p { align-self: center; font-size: 18px; max-width: 620px; }
.cta-row .ctas { justify-content: flex-end; }
.cta-row .btn-a { min-height: 52px; padding: 0 28px; font-size: 16px; }
.cta-row .btn-a:hover { transform: none; }
.cta-row .ctas::after { content: "يفتح واتساب برسالة جاهزة"; flex-basis: 100%; text-align: end; font-size: 12px; color: var(--mute); }
.next { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; min-height: 64px; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink); }
.next .mono { color: var(--acc); }
.next b { font-size: 19px; font-weight: 600; }
.next i { margin-inline-start: auto; font-style: normal; font-size: 20px; color: var(--acc); transition: transform .25s; }
.next:hover i { transform: translateY(4px); }
@media (max-width: 699px) { .cta-row { grid-template-columns: 1fr; } .cta-row .ctas { justify-content: stretch; } .cta-row .ctas::after { text-align: center; } .next b { font-size: 16px; } }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* desktop chapter rail (left side in RTL); the active chapter shows its number and name */
.rail { position: fixed; z-index: 40; top: 50%; inset-inline-end: 18px; transform: translateY(-50%); display: none; flex-direction: column; gap: 14px; transition: opacity .3s; }
@media (min-width: 1200px) { .rail { display: flex; } }
.rail.off { opacity: 0; pointer-events: none; }
.rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 10px; }
.rail i { width: 10px; height: 1.5px; background: var(--hairline-edge); transition: width .3s, background .3s; }
.rail a.on i { width: 26px; background: var(--acc); }
.rail span { position: absolute; inset-inline-end: 36px; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink2); background: rgba(255,255,255,.92); padding: 3px 10px; border-radius: 999px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.rail a.on span, .rail a:hover span { opacity: 1; transform: none; }

/* phones: a bottom bar with the chapter and one WhatsApp button; it steps aside near the chapter buttons and the form */
.mbar { position: fixed; z-index: 45; inset-inline: 0; bottom: 0; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transition: transform .3s ease; }
@media (max-width: 767px) { .mbar { display: flex; } body { padding-bottom: 64px; } }
.mbar.off { transform: translateY(110%); }
.mbar-t { font-size: 13px; font-weight: 600; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar .btn { min-height: 44px; }

/* galleries: square cards, smaller; arrows only when the row really slides */
.gal.car-t .spec { aspect-ratio: 1; }
.gal.car-t { grid-auto-columns: calc((100% - 70px) / 6); }
@media (max-width: 1199px) { .gal.car-t { grid-auto-columns: calc((100% - 56px) / 5); } }
@media (max-width: 899px) { .gal.car-t { grid-auto-columns: calc((100% - 42px) / 4); } }
@media (max-width: 599px) { .gal.car-t { grid-auto-columns: calc((100% - 28px) / 2.6); } .gal p { font-size: 11.5px; } }
.car.static .car-b { display: none !important; } .car.static { padding-bottom: 0; }

/* card sets wrap and centre their last row, so no card is left alone at the side */
.grid3, .reel, .steps5 { display: flex; flex-wrap: wrap; justify-content: center; }
.grid3 > *, .reel > *, .steps5 > * { min-width: 0; }
.grid3 { gap: 40px 28px; } .grid3 > * { flex: 0 0 calc((100% - 28px) / 2); }
@media (min-width: 1024px) { .grid3 > * { flex-basis: calc((100% - 56px) / 3); } }
@media (max-width: 599px) { .grid3 { gap: 28px 14px; } .grid3 > * { flex-basis: calc((100% - 14px) / 2); } .grid3 .mk-h { font-size: 15px; } .grid3 .desc { font-size: 13px; line-height: 1.6; } .grid3 .fig-box { padding: 4px; border-radius: 14px; } .grid3 .fig-box > .fig, .grid3 .fig-box > .cfig { aspect-ratio: 4/3; } }
.reel { gap: 16px; } .reel > * { flex: 0 0 100%; }
@media (min-width: 700px) { .reel > * { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1100px) { .reel > * { flex-basis: calc((100% - 32px) / 3); } }
.steps5 { gap: 22px 14px; } .steps5 > * { flex: 0 0 calc((100% - 14px) / 2); }
@media (min-width: 700px) { .steps5 > * { flex-basis: calc((100% - 28px) / 3); } }
@media (min-width: 1000px) { .steps5 > * { flex-basis: calc((100% - 56px) / 5); } }
@media (max-width: 599px) { .steps5 .mk-h { font-size: 15px; } .steps5 .desc { font-size: 13px; } .steps5 .stamp { width: 42px; height: 42px; } .steps5 .stamp b { font-size: 13px; } .steps5 .stamp small { font-size: 6px; } }
.cards4 { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; } .cards4 > * { flex: 0 0 100%; }
@media (min-width: 700px) { .cards4 > * { flex-basis: calc((100% - 18px) / 2); } }
@media (min-width: 1100px) { .cards4 > * { flex-basis: calc((100% - 54px) / 4); } }
/* tablet: the model -> AI -> motion arrows are visible and labelled */
@media (min-width: 700px) and (max-width: 899px) { .flow .arrow svg { width: 30px; height: 18px; } .flow .arrow .mono { display: block; font-size: 9px; } }
.btn { white-space: nowrap; }

/* r12: Visualisy brand colours carried through the page (purple #622280, blue #2BACE2, orange #F7941D, red #FB124D) */
:root { --vp: #622280; --vb: #2BACE2; --vo: #F7941D; --vr: #FB124D; --brand: var(--vp); }
.logo-v { height: 34px; width: 34px; }
/* each chapter carries one brand colour on its number, outline numeral, stamps, benefit bar, button line and rail tick */
#atlasall, #who, #clinic { --brand: var(--vp); }
#make, #ways, #motion { --brand: var(--vb); }
#depth, #how { --brand: var(--vo); }
#cinema, #gallery { --brand: var(--vr); }
.num { color: var(--brand); }
.chap-bg { -webkit-text-stroke-color: color-mix(in srgb, var(--brand) 22%, transparent); }
.stamp { color: var(--brand); }
.stamp small { color: color-mix(in srgb, var(--brand) 75%, #0B0F1A); }
.band .stamp small { color: color-mix(in srgb, var(--brand) 70%, #fff); }
.benefit { border-inline-start-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, transparent); }
.benefit b { color: color-mix(in srgb, var(--brand) 80%, #0B0F1A); }
.band .benefit b { color: color-mix(in srgb, var(--brand) 70%, #fff); }
.cta-row { border-top: 2px solid var(--brand); }
.next .mono, .next i { color: var(--brand); }
.chead .mono { color: color-mix(in srgb, var(--brand) 70%, var(--mute)); }
.prog { background: linear-gradient(90deg, var(--vp), var(--vb), var(--vo), var(--vr)); }
.h1 em { background: linear-gradient(90deg, var(--vp), var(--vb) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .h1 em { background: linear-gradient(270deg, var(--vp), var(--vb) 70%); -webkit-background-clip: text; background-clip: text; }
.field { background: radial-gradient(40% 35% at 22% 42%, color-mix(in srgb, var(--vb) 18%, transparent), transparent 70%), radial-gradient(35% 30% at 72% 62%, color-mix(in srgb, var(--vp) 14%, transparent), transparent 70%), radial-gradient(22% 20% at 86% 20%, color-mix(in srgb, var(--vo) 12%, transparent), transparent 70%), radial-gradient(20% 18% at 40% 88%, color-mix(in srgb, var(--vr) 9%, transparent), transparent 70%); }
.rail a.on i { background: var(--vp); }
.orgc.done .fig-box { box-shadow: inset 0 0 0 1.5px var(--vp); }

/* the four claims: designed tiles, each with its own brand colour */
.pillars { display: grid; gap: 14px; margin: 8px 0 0; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { position: relative; display: grid; align-content: start; gap: 6px; padding: 26px 22px 22px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 12%, transparent), transparent 60%); overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); }
.pillar:nth-child(1) { --c: var(--vb); } .pillar:nth-child(2) { --c: var(--vo); } .pillar:nth-child(3) { --c: var(--vr); } .pillar:nth-child(4) { --c: #B07DE0; }
.pillar-i { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 50%; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); font-size: 26px; }
.pillar-i .ico * { stroke-width: 1.3; }
.pillar .mono { color: color-mix(in srgb, var(--c) 70%, #fff); font-size: 11px; }
.pillar b { font-size: 19px; font-weight: 600; line-height: 1.4; }
.pillar > p:not(.mono) { margin: 0; color: var(--ink2); font-size: 15px; }
.pillar-k { justify-self: start; margin-top: 10px; padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); color: var(--ink); font-size: 10.5px; }

/* speed + accuracy: two designed panels joined by a plus, numbered rows instead of bullets */
.duo { display: grid; gap: 18px; align-items: stretch; margin-top: 56px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 56px 1fr; } }
.duo-c { padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg); }
.duo-c:first-child { --c: var(--vb); } .duo-c:last-child { --c: var(--vo); }
.duo-c { border-top: 3px solid var(--c); }
.duo-h { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.duo-h .pillar-i { margin: 0; width: 50px; height: 50px; font-size: 22px; }
.duo-h .mono { margin: 0; color: color-mix(in srgb, var(--c) 75%, #0B0F1A); }
.duo-h h3 { margin: 2px 0 0; font-size: 20px; font-weight: 600; }
.duo ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.duo li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.duo li .mono { color: var(--c); font-size: 13px; }
.duo li p { margin: 0; font-size: 15.5px; color: var(--ink); }
.duo-plus { display: grid; place-items: center; align-self: center; justify-self: center; width: 52px; height: 52px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1px var(--line); font-family: "Geist", sans-serif; font-weight: 200; font-size: 34px; color: var(--vp); }

/* before / after: the point of it */
.whole { margin: 22px 0 0; font-size: 20px; color: var(--ink2); }
.whole b { color: var(--ink); font-weight: 600; background: linear-gradient(90deg, var(--vo), var(--vr)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reel + .sub-h { margin-top: 56px; }

/* hero: the dive from organ to molecule (idea B) */
.hero-sub { max-width: 560px; }
.dive { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; cursor: pointer; touch-action: manipulation; }
@media (max-width: 1023px) { .dive { width: min(80vw, 420px); } }
.dive .disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(70% 70% at 50% 42%, #fff, var(--tile)); box-shadow: 0 30px 60px -30px rgba(11,15,26,.35), inset 0 0 0 1px var(--line); }
.dive .lv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; will-change: transform, clip-path; }
.dive .focus { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--vb); box-shadow: 0 0 0 6px color-mix(in srgb, var(--vb) 18%, transparent); transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s cubic-bezier(.2,.7,.2,1); }
.dive .focus.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.dstamp { position: absolute; top: -4px; left: 4%; width: 86px; height: 86px; border-radius: 50%; display: grid; place-content: center; justify-items: center; background: rgba(255,255,255,.94); box-shadow: 0 8px 22px -12px rgba(11,15,26,.4), inset 0 0 0 1.5px var(--vp); }
.dstamp b { font-family: "Geist", sans-serif; font-weight: 300; font-size: 26px; line-height: 1; color: var(--ink); }
.dstamp small { margin-top: 4px; font: 500 10px/1 "Geist Mono", monospace; color: var(--vp); }
.dive .lvl { position: absolute; bottom: -4px; right: 0; left: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.dive .lvl button { font: 600 12px/1 Plex, sans-serif; border: 0; min-height: 32px; padding: 8px 11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--mute); cursor: pointer; transition: background .3s, color .3s; }
.dive .lvl button.on { background: var(--ink); color: #fff; box-shadow: none; }
@media (max-width: 599px) { .dive .lvl button { padding: 7px 8px; font-size: 11px; } .dstamp { width: 68px; height: 68px; } .dstamp b { font-size: 20px; } }
/* phones: the dive comes first, the words right under it */
@media (max-width: 1023px) { .hero-grid > .dive { order: -1; } .hero { padding-top: 96px; } }

/* English page */
html[lang="en"] .cta-row .ctas::after { content: "Opens WhatsApp with a ready-to-send message"; }
.lang { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink2); }
.lang:hover { border-color: var(--ink2); color: var(--ink); }
html[lang="en"] .lang { font-family: Plex, sans-serif; }
