/* Dr Shady Habboush: calm, warm, bilingual. Motion lives in main.js + the .motion blocks below. */
/* Fonts: 2 self-hosted families (Newsreader + IBM Plex Sans Arabic, which also carries Plex Latin). Subsets: latin + arabic. */
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/plex-arabic-400-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/plex-arabic-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/plex-arabic-500-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/plex-arabic-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/plex-arabic-600-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/plex-arabic-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:400;font-display:swap;src:url(fonts/newsreader-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 500;font-display:swap;src:url(fonts/newsreader-roman-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root{
  --paper:#F7F2EA;--paper2:#EFE7DB;--card:#FCF9F4;--ink:#22302E;--mut:#5D6662;--soft:#616965;
  --acc:#9C5641;--acc2:#C08A73;--sage:#7C8C80;--line:#E3D8C8;--line2:#D8CBB8;
  --ease:cubic-bezier(.2,.7,.2,1);--ease2:cubic-bezier(.45,0,.2,1);
  --serif:"Newsreader",Georgia,serif;--sans:"IBM Plex Sans Arabic",system-ui,-apple-system,"Segoe UI",sans-serif;
  --r:18px;
}
[dir=rtl]{--serif:"IBM Plex Sans Arabic","Geeza Pro",system-ui,sans-serif;--sans:"IBM Plex Sans Arabic","Geeza Pro",system-ui,sans-serif}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-padding-top:84px}
body{background:var(--paper);color:var(--ink);font:400 17px/1.7 var(--sans);overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
[dir=rtl] body{font-size:18px;line-height:1.9}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.08;letter-spacing:-.01em;color:var(--ink)}
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3{font-weight:500;line-height:1.5;letter-spacing:0}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
svg{display:block}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
.narrow{max-width:860px}
.skip{position:absolute;inset-inline-start:12px;top:-60px;background:var(--ink);color:var(--paper);padding:10px 16px;border-radius:10px;z-index:99}
.skip:focus{top:12px}
:focus-visible{outline:2px solid var(--acc);outline-offset:3px;border-radius:6px}

/* type */
.eyebrow{display:flex;align-items:center;gap:12px;font-size:12.5px;letter-spacing:.18em;text-transform:uppercase;font-weight:500;color:var(--acc);margin-bottom:18px}
.eyebrow:before{content:"";width:28px;height:1px;background:currentColor;flex:none;transform-origin:left center}
[dir=rtl] .eyebrow{letter-spacing:0;text-transform:none;font-size:15px}
[dir=rtl] .eyebrow:before{transform-origin:right center}
h2{font-size:clamp(34px,4.4vw,54px);margin-bottom:18px}
[dir=rtl] h2{font-size:clamp(29px,3.6vw,44px)}
.sub,.sh p{color:var(--mut);max-width:620px}
section{padding:112px 0;position:relative}
.alt{background:var(--paper2)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:start}
.two>*,.hg>*,.pg>*{min-width:0}
.sh{margin-bottom:44px}

/* links + buttons */
.btn{position:relative;display:inline-flex;align-items:center;gap:10px;border-radius:999px;padding:14px 24px;font:500 15px/1.2 var(--sans);border:1px solid transparent;transition:background-color .45s var(--ease),color .45s var(--ease),border-color .45s var(--ease),box-shadow .45s var(--ease),transform .45s var(--ease);white-space:nowrap}
.btn svg{width:18px;height:18px;flex:none}
.btn .arr{width:16px;height:16px;transition:transform .45s var(--ease)}
[dir=rtl] .btn .arr{transform:scaleX(-1)}
.btn:hover .arr{transform:translateX(3px)}
[dir=rtl] .btn:hover .arr{transform:scaleX(-1) translateX(3px)}
.btn-solid{background:var(--ink);color:var(--paper)}
.btn-solid:hover{background:#2f413e;box-shadow:0 12px 28px -16px rgba(34,48,46,.55);transform:translateY(-1px)}
.btn-quiet{border-color:var(--line2);color:var(--ink);background:transparent}
.btn-quiet:hover{border-color:var(--ink);background:rgba(255,255,255,.45)}
.btn-sm{padding:10px 18px;font-size:14px}
.pend{font-size:11px;font-weight:500;letter-spacing:.04em;opacity:.65;border:1px dashed currentColor;border-radius:999px;padding:1px 8px}
.ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.ul-link,.links a,footer a,.urgent a,.em a{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .5s var(--ease),color .3s}
[dir=rtl] .links a,[dir=rtl] footer a{background-position:100% 100%}
.links a:hover,footer a:hover{background-size:100% 1px;color:var(--ink)}
.urgent a,.em a{background-size:100% 1px;font-weight:600}

/* header */
header{position:sticky;top:0;z-index:40;background:rgba(247,242,234,.78);-webkit-backdrop-filter:saturate(1.2) blur(12px);backdrop-filter:saturate(1.2) blur(12px);border-bottom:1px solid transparent;transition:border-color .5s,background-color .5s}
header.scrolled{border-bottom-color:var(--line);background:rgba(247,242,234,.92)}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px;gap:20px}
.brand{font-family:var(--serif);font-size:22px;line-height:1.05;white-space:nowrap}
[dir=rtl] .brand{font-size:21px;line-height:1.3}
.brand small{display:block;font-family:var(--sans);font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--mut);margin-top:3px}
[dir=rtl] .brand small{letter-spacing:0;text-transform:none;font-size:12.5px;margin-top:0}
.links{display:flex;gap:28px;font-size:14.5px;color:var(--mut)}
.navr{display:flex;align-items:center;gap:10px}
.lang{font-size:14px;border:1px solid var(--line2);border-radius:999px;padding:8px 14px;transition:border-color .4s,background-color .4s}
.lang:hover{border-color:var(--ink);background:rgba(255,255,255,.5)}

/* hero */
.hero{padding:76px 0 0;overflow:hidden;isolation:isolate}
.glow{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.glow i{position:absolute;border-radius:50%;will-change:transform}
.glow i:nth-child(1){width:62vw;height:62vw;max-width:820px;max-height:820px;top:-28%;inset-inline-end:-12%;background:radial-gradient(closest-side,rgba(192,138,115,.22),rgba(192,138,115,0))}
.glow i:nth-child(2){width:54vw;height:54vw;max-width:700px;max-height:700px;bottom:-30%;inset-inline-start:-14%;background:radial-gradient(closest-side,rgba(124,140,128,.20),rgba(124,140,128,0))}
.glow i:nth-child(3){width:36vw;height:36vw;max-width:480px;max-height:480px;top:18%;inset-inline-start:34%;background:radial-gradient(closest-side,rgba(255,252,246,.85),rgba(255,252,246,0))}
.hg{display:grid;grid-template-columns:1.12fr .88fr;gap:72px;align-items:center}
.hero h1{font-size:clamp(46px,6.2vw,86px);margin-bottom:24px}
[dir=rtl] .hero h1{font-size:clamp(38px,5.2vw,66px);line-height:1.4}
.hero h1 em{font-style:italic;color:var(--acc)}
[dir=rtl] .hero h1 em{font-style:normal}
.lead{font-size:19px;color:var(--mut);max-width:530px}
[dir=rtl] .lead{font-size:19.5px}
.figure{position:relative;justify-self:end;width:100%;max-width:440px}
.figure:before{content:"";position:absolute;inset:18px -18px -18px 18px;border:1px solid var(--line2);border-radius:240px 240px 22px 22px;z-index:-1}
[dir=rtl] .figure:before{inset:18px 18px -18px -18px}
[dir=rtl] .figure{justify-self:start}
.arch{border-radius:240px 240px 22px 22px;overflow:hidden;background:var(--paper2);aspect-ratio:4/5;will-change:transform}
.arch-in{position:absolute;inset:-6% 0;will-change:transform}
.arch{position:relative}
.arch picture,.arch img{width:100%;height:100%}
.arch img{object-fit:cover;object-position:50% 30%}
.ecg{margin-top:56px;height:clamp(54px,5vw,90px);color:var(--acc)}
.ecg svg{width:100%;height:100%}
[dir=rtl] .ecg svg{transform:scaleX(-1)}
.ecg path{stroke:currentColor}
.ecg-base{stroke-width:1.3;opacity:.55}
.ecg-pulse{stroke-width:1.9;opacity:0;stroke-dasharray:.07 .93;stroke-dashoffset:.07}

/* facts */
.facts{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(252,249,244,.6)}
.facts ul{list-style:none;display:grid;grid-template-columns:repeat(3,1fr)}
.facts li{padding:30px 28px 30px 0;display:flex;flex-direction:column;gap:6px}
.facts li+li{padding-inline-start:28px;border-inline-start:1px solid var(--line)}
[dir=rtl] .facts li{padding:30px 0 30px 28px}
[dir=rtl] .facts li+li{padding-inline-start:28px}
.facts b{font-family:var(--serif);font-weight:400;font-size:40px;line-height:1.1;color:var(--acc)}
[dir=rtl] .facts b{font-size:32px;line-height:1.35}
.facts .num{font-variant-numeric:tabular-nums lining-nums;display:inline-block;min-width:2.6ch}
[dir=rtl] .facts .num{font-family:"Newsreader",Georgia,serif;font-size:40px;line-height:1.1}
.facts li>span{font-size:14.5px;color:var(--mut)}

/* about */
.about .body p{color:var(--mut);margin-bottom:16px;max-width:560px}
.about .body p:first-child{color:var(--ink);font-size:19px}
.about-art{color:var(--acc);margin-top:40px;max-width:420px;opacity:.85}
.lineart .la-heart{opacity:.9}
.lineart .la-trace{opacity:.45}
.creds{list-style:none;margin-top:30px}
.creds li{padding:15px 0;border-top:1px solid var(--line);display:flex;flex-direction:column}
.creds li:last-child{border-bottom:1px solid var(--line)}
.creds b{font-weight:500}
.creds small{color:var(--soft);font-size:14px}

/* care */
.group+.group{margin-top:56px}
.gt{font-size:26px;margin-bottom:20px}
[dir=rtl] .gt{font-size:23px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:28px 26px;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .5s var(--ease)}
.card:hover{transform:translateY(-3px);border-color:var(--line2);box-shadow:0 22px 40px -30px rgba(34,48,46,.35)}
.card h3{font-size:24px;margin-bottom:10px}
[dir=rtl] .card h3{font-size:20px}
.card p{font-size:15.5px;color:var(--mut)}
.note,.policy{margin-top:26px;font-size:15px;color:var(--mut);display:flex;gap:12px;align-items:flex-start;max-width:760px}
.note svg,.policy svg{width:19px;height:19px;flex:none;margin-top:4px;color:var(--sage)}

/* when */
.signs{list-style:none;margin-top:28px}
.signs li{padding:14px 0;border-top:1px solid var(--line);display:flex;gap:14px}
.signs li:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--acc2);margin-top:11px;flex:none}
.aside{display:flex;flex-direction:column;gap:16px;position:sticky;top:110px}
.urgent{background:#F3E2DA;border-radius:var(--r);padding:30px;color:#5E2E22}
.urgent h3,.soft h3{font-size:25px;margin-bottom:8px;color:inherit}
[dir=rtl] .urgent h3,[dir=rtl] .soft h3{font-size:21px}
.soft{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:30px}
.soft p{color:var(--mut)}

/* faq */
details{border-top:1px solid var(--line)}
details:last-of-type{border-bottom:1px solid var(--line)}
summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0;font-family:var(--serif);font-size:22px;line-height:1.3;transition:color .3s}
[dir=rtl] summary{font-size:19px;line-height:1.6}
summary::-webkit-details-marker{display:none}
summary:hover{color:var(--acc)}
summary i{position:relative;width:14px;height:14px;flex:none}
summary i:before,summary i:after{content:"";position:absolute;inset:6px 0 auto;height:1.5px;background:currentColor;transition:transform .45s var(--ease)}
summary i:after{transform:rotate(90deg)}
details[open] summary i:after{transform:rotate(0)}
.a{padding:0 0 26px;color:var(--mut);max-width:720px}
.a.opening{animation:open .55s var(--ease)}
@keyframes open{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* contact */
.panel{position:relative;background:var(--card);border:1px solid var(--line);border-radius:26px;padding:56px;overflow:hidden}
.pg{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:stretch}
.practises{font-family:var(--serif);font-size:22px;line-height:1.4;margin:6px 0 6px}
[dir=rtl] .practises{font-size:20px;line-height:1.7}
.rows{margin-top:34px}
.rows div{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:13px 0;border-top:1px solid var(--line);font-size:15.5px}
.rows dt{color:var(--soft)}
.tbd{color:var(--soft);font-style:italic}
[dir=rtl] .tbd{font-style:normal}
.em{margin-top:20px;border-radius:14px;background:#F3E2DA;color:#5E2E22;padding:16px 22px;font-size:15px}

footer{padding:40px 0 120px;font-size:14px;color:var(--soft);border-top:1px solid var(--line)}
footer p+p{margin-top:8px}

.fab{position:fixed;bottom:20px;inset-inline-end:20px;z-index:45;display:inline-flex;align-items:center;gap:10px;background:var(--ink);color:var(--paper);border-radius:999px;padding:13px 20px;font-size:15px;font-weight:500;box-shadow:0 14px 32px -16px rgba(34,48,46,.6);transition:opacity .5s var(--ease),transform .5s var(--ease),background-color .4s}
.fab svg{width:20px;height:20px}
.fab:hover{background:#2f413e}

/* ---------- v2 components ---------- */
/* header scroll progress: an ECG trace that draws as you read */
header{position:sticky}
.progress{position:absolute;inset-inline:0;bottom:-7px;height:14px;pointer-events:none;color:var(--acc);opacity:0;transition:opacity .6s var(--ease)}
header.scrolled .progress{opacity:1}
.progress svg{width:100%;height:100%}
[dir=rtl] .progress svg{transform:scaleX(-1)}
.progress path{stroke-linejoin:round;stroke-linecap:round}
.pr-base{stroke:var(--line2);stroke-width:1.2}
.pr-line{stroke:currentColor;stroke-width:2;stroke-dasharray:1;stroke-dashoffset:1}
html:not(.motion) .progress{display:none}

/* split headings */
.split .w{display:inline-block;overflow:hidden;vertical-align:top;padding:.06em .02em .16em;margin:-.06em -.02em -.16em}
.split .w>span{display:inline-block;will-change:transform}
[dir=rtl] .split .w{padding:.12em .04em .22em;margin:-.12em -.04em -.22em}

/* cursor glow (desktop only, motion only) */
.cursor-glow{position:fixed;top:0;left:0;width:520px;height:520px;margin:-260px 0 0 -260px;border-radius:50%;pointer-events:none;z-index:30;mix-blend-mode:multiply;opacity:0;
  background:radial-gradient(closest-side,rgba(192,138,115,.16),rgba(192,138,115,.06) 55%,rgba(192,138,115,0));transition:opacity .8s var(--ease);will-change:transform}
.cursor-glow.on{opacity:1}
@media (hover:none),(pointer:coarse){.cursor-glow{display:none}}
html:not(.motion) .cursor-glow{display:none}

/* hero arch reveal */
.arch{transform:translateZ(0)}

/* marquee */
.marquee{direction:ltr;overflow:hidden;border-bottom:1px solid var(--line);padding:22px 0;background:var(--paper)}
.mq-track{display:flex;width:max-content}
.mq-row{display:flex;align-items:center;flex:none}
.mq-row span{font-family:var(--serif);font-size:clamp(22px,2.4vw,32px);color:var(--ink);white-space:nowrap;padding:0 26px;opacity:.82}
.mq-row i{color:var(--acc2);display:flex}
.motion .mq-track{animation:mq 46s linear infinite}
[dir=rtl] .motion .mq-track{animation-direction:reverse}
[dir=rtl] .mq-row span{direction:rtl;unicode-bidi:isolate}
.marquee:hover .mq-track{animation-play-state:paused}
@keyframes mq{to{transform:translate3d(-50%,0,0)}}
html:not(.motion) .mq-row+.mq-row{display:none}
html:not(.motion) .mq-track{width:auto;flex-wrap:wrap;justify-content:center}
html:not(.motion) .mq-row{flex-wrap:wrap;justify-content:center;row-gap:8px}

/* about photo */
.reveal-img{overflow:hidden;border-radius:var(--r)}
.about-photo{margin-top:36px;aspect-ratio:4/5;max-width:520px;background:var(--paper2)}
.about-photo picture,.about-photo img{width:100%;height:100%}
.about-photo img{object-fit:cover;object-position:50% 35%}

/* cards tilt */
.tilt{transform-style:preserve-3d;will-change:transform}

/* visit (pinned on desktop) */
.visit{padding:120px 0}
.visit-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}
.visit-head .btn{margin-top:36px}
.vbar{margin-top:34px;height:2px;background:var(--line);border-radius:2px;overflow:hidden;max-width:360px}
.vbar i{display:block;height:100%;background:var(--acc);transform-origin:left center;transform:scaleX(0)}
[dir=rtl] .vbar i{transform-origin:right center}
html:not(.motion) .vbar{display:none}
.steps{list-style:none;counter-reset:s}
.step{display:grid;grid-template-columns:72px 1fr;gap:18px;padding:30px 0;border-top:1px solid var(--line)}
.step:last-child{border-bottom:1px solid var(--line)}
.sn{font-family:"Newsreader",Georgia,serif;font-size:44px;line-height:1;color:var(--acc);font-variant-numeric:lining-nums}
.step h3{font-size:27px;margin-bottom:8px}
[dir=rtl] .step h3{font-size:22px}
.step p{color:var(--mut)}

/* gallery: horizontal strip (native scroll + snap; pinned and scrubbed on desktop when motion is on) */
.gallery{overflow:hidden}
.gal-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:44px}
.gal-hint{display:inline-flex;align-items:center;gap:10px;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--mut);white-space:nowrap;padding-bottom:10px}
[dir=rtl] .gal-hint{letter-spacing:0;text-transform:none;font-size:15px}
.gal-hint svg{width:18px;height:18px}
[dir=rtl] .gal-hint svg{transform:scaleX(-1)}
.gal-hint .m{display:none}
.gal-strip{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px max(24px,calc((100vw - 1160px)/2 + 24px)) 18px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.gal-strip::-webkit-scrollbar{display:none}
.gcard{flex:none;width:clamp(230px,24vw,340px);scroll-snap-align:start}
.gcard:nth-child(3n+2){margin-top:46px}
.gimg{border-radius:var(--r);overflow:hidden;aspect-ratio:3/4;background:var(--paper2)}
.gimg picture,.gimg img{width:100%;height:100%}
.gimg img{object-fit:cover;object-position:50% 30%;transform:scale(1.08);transition:transform 1.2s var(--ease)}
.gcard:hover .gimg img{transform:scale(1.12)}
.gcard figcaption{display:flex;gap:12px;align-items:baseline;font-size:14.5px;color:var(--mut);padding:14px 4px 0}
.gcard figcaption span{font-family:"Newsreader",Georgia,serif;color:var(--acc);font-size:15px}
.gallery.gal-pinned{padding-top:100px;padding-bottom:60px}
.gal-pinned .gcard{width:clamp(220px,19vw,300px)}
.gal-pinned .gal-head{margin-bottom:28px}
.gal-pinned .gal-strip{overflow:visible;scroll-snap-type:none;will-change:transform}
.gallery .note{margin-top:30px}

/* reviews */
.rev-head{display:grid;grid-template-columns:1.25fr .75fr;gap:56px;align-items:end;margin-bottom:44px}
.scores{display:flex;flex-direction:column;gap:12px}
.score{display:flex;align-items:center;gap:14px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 18px;font-size:15px;transition:border-color .4s var(--ease),transform .4s var(--ease)}
.score:hover{border-color:var(--line2);transform:translateY(-2px)}
.stars{display:inline-flex;gap:2px;color:#B8783F;flex:none}
.stars svg{width:15px;height:15px}
.rgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.rcard{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:26px 24px 22px;display:flex;flex-direction:column;gap:16px;min-height:220px}
.rcard blockquote{flex:1}
.rcard blockquote p{font-family:"Newsreader",Georgia,serif;font-size:21px;line-height:1.35;color:var(--ink)}
.rcard figcaption{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:13.5px;color:var(--soft);border-top:1px solid var(--line);padding-top:14px}
.rcard figcaption b{color:var(--ink);font-weight:500;width:100%}
.rcard .src a{color:var(--acc);background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .5s var(--ease)}
.rcard .src a:hover{background-size:100% 1px}
.rcard .seen,.rcard .orig{width:100%}
.rev-foot{margin-top:36px}
.rev-foot .ctas{margin-top:0}

/* contact + map */
.btn-wa{background:#1F5F4A}
.btn-wa:hover{background:#174B3A}
.map-wrap{display:flex;flex-direction:column;gap:12px;border-radius:var(--r)}
.map{position:relative;border-radius:var(--r);overflow:hidden;border:1px solid var(--line);min-height:360px;flex:1;background:linear-gradient(135deg,#FBF7F1,#F0E7DB)}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:saturate(.75) contrast(1.02)}
.map-link{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;color:var(--acc);align-self:flex-start}
.map-link svg{width:16px;height:16px}
[dir=rtl] .map-link svg{transform:scaleX(-1)}

/* ---------- intro (first visit per session, motion only; built by main.js) ---------- */
.intro{position:fixed;inset:0;z-index:100;background:var(--paper);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;color:var(--acc)}
.intro svg{width:100%;height:90px}
[dir=rtl] .intro svg{transform:scaleX(-1)}
.intro path{stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.intro p{padding:0 24px;text-align:center;font-family:var(--serif);font-size:20px;color:var(--ink);opacity:0}

/* ---------- motion helpers ---------- */
.motion.js-wait .h-in{opacity:0}
.motion .glow i:nth-child(1){animation:drift1 26s var(--ease2) infinite alternate}
.motion .glow i:nth-child(2){animation:drift2 32s var(--ease2) infinite alternate}
.motion .glow i:nth-child(3){animation:drift3 22s var(--ease2) infinite alternate}
@keyframes drift1{to{transform:translate3d(-6%,8%,0) scale(1.08)}}
@keyframes drift2{to{transform:translate3d(8%,-6%,0) scale(1.12)}}
@keyframes drift3{to{transform:translate3d(-10%,6%,0) scale(.92)}}
.motion .ecg-pulse{animation:pulse 7s linear 3.4s infinite}
@keyframes pulse{0%{stroke-dashoffset:.07;opacity:0}6%{opacity:.75}88%{opacity:.75}100%{stroke-dashoffset:-.93;opacity:0}}
.motion.hero-off .glow i,.motion.hero-off .ecg-pulse{animation-play-state:paused}
.motion .fab{opacity:0;transform:translate3d(0,14px,0);pointer-events:none}
.motion .fab.show{opacity:1;transform:none;pointer-events:auto}
.a.opening{animation:open .55s var(--ease)}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}

@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important}
  .ecg-pulse{opacity:0}
}

/* ---------- responsive ---------- */
@media (max-width:1100px){.links{display:none}.rgrid{grid-template-columns:1fr 1fr}}
@media (max-width:900px){
  .cards{grid-template-columns:1fr 1fr}
  .pg{grid-template-columns:1fr}
  .visit-grid{grid-template-columns:1fr;gap:28px}
  .rev-head{grid-template-columns:1fr;gap:28px}
}
@media (max-width:760px){
  body{font-size:16.5px}
  .wrap{padding:0 20px}
  section{padding:76px 0}
  .visit{padding:76px 0}
  .two,.hg{grid-template-columns:1fr;gap:40px}
  .hero{padding-top:36px}
  .hero h1{font-size:clamp(42px,11.5vw,56px)}
  [dir=rtl] .hero h1{font-size:clamp(34px,9.6vw,46px)}
  .lead{font-size:17.5px}
  .figure,[dir=rtl] .figure{justify-self:center;max-width:330px}
  .figure:before{inset:12px -12px -12px 12px}
  [dir=rtl] .figure:before{inset:12px 12px -12px -12px}
  .ecg{margin-top:44px;height:54px}
  .facts ul{grid-template-columns:1fr}
  .facts li,[dir=rtl] .facts li{padding:18px 0;gap:2px}
  .facts li+li{padding-inline-start:0;border-inline-start:0;border-top:1px solid var(--line)}
  .facts b{font-size:30px}
  [dir=rtl] .facts b{font-size:26px}
  [dir=rtl] .facts .num{font-size:32px}
  .marquee{padding:16px 0}
  .cards{grid-template-columns:1fr}
  .aside{position:static}
  .step{grid-template-columns:52px 1fr;padding:24px 0}
  .sn{font-size:34px}
  .step h3{font-size:23px}
  [dir=rtl] .step h3{font-size:20px}
  .gal-head{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:28px}
  .gal-hint .d{display:none}.gal-hint .m{display:inline}
  .gal-strip{padding-inline:20px;gap:12px;scroll-padding-inline:20px}
  .gcard{width:68vw}
  .gcard:nth-child(3n+2){margin-top:0}
  .rgrid{grid-template-columns:1fr;gap:12px}
  .rcard{min-height:0;padding:22px 20px 18px}
  .rcard blockquote p{font-size:19.5px}
  .panel{padding:32px 22px;border-radius:22px}
  .map{min-height:280px}
  .eyebrow{font-size:11.5px;letter-spacing:.14em}
  [dir=rtl] .eyebrow{font-size:14px;letter-spacing:0}
  .rows div{grid-template-columns:1fr;gap:0}
  summary{font-size:19.5px;padding:20px 0}
  .sm-hide{display:none}
  .brand{font-size:19px}
  .brand small{font-size:9.5px}
  .nav{height:64px}
  .navr .btn-sm{display:none}
  .fab{bottom:16px;inset-inline-end:16px;padding:14px}
  .fab span{display:none}
  footer{padding-bottom:100px}
}
@media (max-width:420px){.ctas .btn{width:100%;justify-content:center;white-space:normal;text-align:center;padding:14px 16px;font-size:14.5px}.panel{padding:30px 18px}}
/* GSAP owns transforms on these when motion is on */
.motion .tilt{transition:border-color .5s var(--ease),box-shadow .5s var(--ease)}
.motion .card.tilt:hover{transform:none}
.motion .magnet{transition-property:background-color,color,border-color,box-shadow}
.motion .btn-solid.magnet:hover{transform:none}

/* ---------- v3: guide pages (conditions / procedures / tests), licence line, card links ---------- */
.hero.sub{padding-top:52px}
.hero.sub h1{font-size:clamp(40px,4.9vw,66px);margin-bottom:22px}
[dir=rtl] .hero.sub h1{font-size:clamp(32px,4vw,52px);line-height:1.45}
.hero.sub .lead{font-size:18px;max-width:560px}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px 8px;font-size:13.5px;color:var(--soft);margin-bottom:26px}
.crumbs li+li:before{content:"/";margin-inline-end:8px;color:var(--line2)}
.crumbs a{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .5s var(--ease),color .3s}
.crumbs a:hover{background-size:100% 1px;color:var(--ink)}
.card{display:flex;flex-direction:column}
.card p{flex:1}
.card .more{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font-size:14.5px;font-weight:500;color:var(--acc);align-self:flex-start}
.card .more svg{width:15px;height:15px;transition:transform .45s var(--ease)}
.card .more:hover svg{transform:translateX(3px)}
[dir=rtl] .card .more svg{transform:scaleX(-1)}
[dir=rtl] .card .more:hover svg{transform:scaleX(-1) translateX(3px)}
.hubline{margin-top:14px;font-size:15px;color:var(--mut)}
.hubline a,.srcs a{color:var(--acc);background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat}
.hubline a:hover,.srcs a:hover{color:var(--ink)}
.gsteps .steps{margin-top:6px}
.gsteps .step{grid-template-columns:64px 1fr;padding:22px 0}
.gsteps .step p{color:var(--ink);font-size:17px}
.gsteps .sn{font-size:34px}
.prose p{color:var(--mut);margin-bottom:16px;max-width:640px}
.prose p:first-child{color:var(--ink);font-size:18.5px}
.extra{margin-top:56px}
.extra h3{font-size:26px;margin-bottom:20px}
[dir=rtl] .extra h3{font-size:22px}
.xwrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--r);background:var(--card)}
.xtable{width:100%;border-collapse:collapse;font-size:15.5px;min-width:560px}
.xtable th,.xtable td{padding:15px 20px;text-align:start;vertical-align:top;border-top:1px solid var(--line)}
.xtable thead th{border-top:0;background:var(--paper2);font-weight:500;color:var(--ink)}
.xtable tbody th{font-weight:500;color:var(--ink);width:30%}
.xtable td{color:var(--mut)}
.xlist{list-style:none;counter-reset:x;display:grid;gap:0}
.xlist li{display:grid;grid-template-columns:52px 1fr;gap:14px;padding:16px 0;border-top:1px solid var(--line)}
.xlist li:last-child{border-bottom:1px solid var(--line)}
.xlist .sn{font-size:28px}
.xrows{margin-top:0}
.xrows div{grid-template-columns:220px 1fr}
.srcs{margin-top:56px;padding-top:30px;border-top:1px solid var(--line);font-size:15px;color:var(--mut)}
.srcs h3{font-size:22px;margin-bottom:6px}
.srcs ol{margin:14px 0 0;padding-inline-start:20px;display:grid;gap:8px}
.srcs a{word-break:break-word}
.updated{margin-top:22px;font-size:14px;color:var(--soft)}
.book-rows{align-self:center}
footer .licence{color:var(--mut)}
@media (max-width:760px){
  .hero.sub{padding-top:28px}
  .hero.sub h1{font-size:clamp(34px,9.4vw,46px)}
  [dir=rtl] .hero.sub h1{font-size:clamp(28px,8vw,38px)}
  .extra{margin-top:40px}
  .xrows div{grid-template-columns:1fr;gap:2px}
  .gsteps .step{grid-template-columns:48px 1fr}
}
