/* ==========================================================================
   Dr Sameh Elleuch Chtourou — "Untangle"
   Sage mist, blush, dusk violet. Newsreader + Albert Sans / Noto Naskh Arabic + Almarai.
   ========================================================================== */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-style: normal; font-display: swap;
  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"; src: url("../fonts/newsreader-latin-wght-italic.woff2") format("woff2-variations"); font-weight: 200 800; font-style: italic; font-display: swap;
  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"; src: url("../fonts/newsreader-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-ext-wght-italic.woff2") format("woff2-variations"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap;
  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: "Albert Sans"; src: url("../fonts/albert-sans-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("../fonts/noto-naskh-arabic-arabic-wght-normal.woff2") format("woff2-variations"); font-weight: 400 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Almarai"; src: url("../fonts/almarai-arabic-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Almarai"; src: url("../fonts/almarai-arabic-400-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Almarai"; src: url("../fonts/almarai-arabic-700-normal.woff2") format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }

:root {
  --mist: #edf0eb;
  --paper: #f7f8f4;
  --white: #ffffff;
  --ink: #1c2826;
  --ink-2: #51605c;
  --mute: #87948d;
  --rule: #d6ddd4;
  --sage: #7e9c8b;
  --sage-deep: #3e5f53;
  --sage-tint: #e3ebe4;
  --blush: #e9b9aa;
  --blush-tint: #f7e6df;
  --blush-deep: #9c4c3a;
  --lilac: #bbaee0;
  --lilac-tint: #e7e4f3;
  --dusk: #24203a;
  --dusk-2: #312a4c;

  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-text: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-xs: .8125rem; --t-sm: .9375rem; --t-md: 1.0625rem; --t-lg: 1.3125rem;
  --t-xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  --t-2xl: clamp(2.3rem, 1.4rem + 3.3vw, 4rem);
  --t-hero: clamp(2.8rem, 1rem + 4.6vw, 5.6rem);
  --gutter: clamp(1.25rem, .5rem + 3.4vw, 4rem);
  --max: 80rem;
  --header-h: 4.5rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
}
[dir="rtl"] { --f-display: "Noto Naskh Arabic", "Almarai", serif; --f-text: "Almarai", "Albert Sans", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--f-text); font-size: var(--t-md); line-height: 1.65; overflow-x: hidden; overflow-x: clip; }
[dir="rtl"] body { font-size: 1.0625rem; line-height: 1.95; }
img, svg, iframe, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--blush); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 6px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.ltr-num { direction: ltr; unicode-bidi: isolate; }
.i { width: 1.1em; height: 1.1em; flex: none; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-size: var(--t-sm); font-weight: 600; text-decoration: none;
  border-radius: 99px; padding: .9rem 1.5rem; border: 1px solid transparent; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: .6rem 1.1rem; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--sage-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 8px 22px -12px rgba(28, 40, 38, .45); }
.btn--light { background: #fff; color: var(--dusk); }
.btn--light:hover { background: var(--lilac-tint); }
.btn--icon { padding: .9rem; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color .4s, box-shadow .4s, transform .6s var(--ease); }
.site-header.is-solid { background: rgba(237, 240, 235, .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }
.header__row { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-inline-end: auto; min-width: 0; }
.brand__mark { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--sage-deep); stroke-width: 1.8; stroke-linecap: round; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--f-display); font-size: 1.2rem; font-weight: 450; white-space: nowrap; }
[dir="rtl"] .brand__name { font-weight: 600; font-size: 1.15rem; }
.brand__role { font-size: var(--t-xs); color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); position: relative; transition: color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: -.45rem; height: 2px; background: var(--blush); border-radius: 2px; }
.nav .lang { border: 1px solid var(--rule); border-radius: 99px; padding: .25rem .8rem; background: var(--paper); }
.menu-btn { display: none; background: none; border: 0; padding: .5rem; margin-inline-end: -.5rem; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.menu-btn span + span { margin-top: 7px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(1.5rem, 5vh, 3.5rem)); padding-bottom: 2.5rem; min-height: min(100svh, 960px); display: flex; flex-direction: column; justify-content: center; }
.threads { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 35%, #000 60%); mask-image: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 35%, #000 60%); }
[dir="rtl"] .threads { -webkit-mask-image: linear-gradient(270deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 35%, #000 60%); mask-image: linear-gradient(270deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 35%, #000 60%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.status { display: inline-flex; align-items: center; gap: .55rem; font-size: var(--t-sm); font-weight: 600; background: rgba(255, 255, 255, .8); border: 1px solid var(--rule); border-radius: 99px; padding: .3rem .9rem .3rem .75rem; margin-bottom: 1.5rem; }
.status i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--mute); }
.status.is-open { color: var(--sage-deep); }
.status.is-open i { background: var(--sage-deep); animation: live 2.4s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(62, 95, 83, .45); } 70% { box-shadow: 0 0 0 9px rgba(62, 95, 83, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 95, 83, 0); } }
.hero__role { font-size: var(--t-md); font-weight: 600; color: var(--sage-deep); margin-bottom: .9rem; }
.hero__name { font-family: var(--f-display); font-weight: 360; font-size: var(--t-hero); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1.75rem; }
.hero__dr { display: block; font-size: .36em; font-style: italic; color: var(--ink-2); margin-bottom: .1em; letter-spacing: 0; }
.hero__name .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__name .line > span { display: block; }
[dir="rtl"] .hero__name { font-weight: 600; line-height: 1.45; letter-spacing: 0; font-size: clamp(2.8rem, 1.2rem + 4.8vw, 5.4rem); }
[dir="rtl"] .hero__dr { font-style: normal; }
.hero__lead { max-width: 44ch; color: var(--ink-2); font-size: var(--t-lg); line-height: 1.55; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.arch { position: relative; margin: 0; justify-self: center; width: min(100%, 440px); aspect-ratio: 4 / 5; border-radius: 999px 999px 36px 36px; overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px -50px rgba(28, 40, 38, .5); }
.arch__bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 15%, #fff 0%, var(--blush-tint) 38%, #cfdcd2 100%); z-index: -1; }
.arch picture { position: absolute; inset: 0; }
.arch img { position: absolute; bottom: 0; left: 50%; height: 100%; width: auto; max-width: none; transform: translateX(-46%); }
.creds { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: clamp(2rem, 5vh, 3.5rem); }
.creds li { font-size: var(--t-sm); padding: .4rem .9rem; border-radius: 99px; background: rgba(255, 255, 255, .7); border: 1px solid var(--rule); }

.js .hero__name .line > span { transform: translateY(105%); }
.js .hero__role, .js .hero__lead, .js .hero__actions, .js .status, .js .creds li { opacity: 0; transform: translateY(12px); }
.js .arch { clip-path: inset(100% 0 0 0 round 999px 999px 36px 36px); }
.js .arch img { transform: translateX(-46%) scale(1.06); }
.js .threads { opacity: 0; }
.js .site-header { transform: translateY(-100%); }
.is-ready .threads { opacity: 1; transition: opacity 1.6s; }
.is-ready .arch { clip-path: inset(0 0 0 0 round 999px 999px 36px 36px); transition: clip-path 1.4s var(--ease-io) .2s; }
.is-ready .arch img { transform: translateX(-46%); transition: transform 2s var(--ease) .2s; }
.is-ready .hero__name .line > span { transform: none; transition: transform 1.1s var(--ease-io); }
.is-ready .hero__name .line:nth-of-type(1) > span { transition-delay: .35s; }
.is-ready .hero__name .line:nth-of-type(2) > span { transition-delay: .5s; }
.is-ready .hero__role, .is-ready .hero__lead, .is-ready .hero__actions, .is-ready .status, .is-ready .creds li { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-ready .hero__role { transition-delay: .2s; } .is-ready .hero__lead { transition-delay: .8s; } .is-ready .hero__actions { transition-delay: .95s; } .is-ready .status { transition-delay: 1.1s; }
.is-ready .creds li { transition-delay: calc(1.1s + var(--i, 0) * 70ms); }
.is-ready .site-header { transform: none; transition-delay: .9s; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section--flush { padding-top: 0; }
.care-sec, .graphs-sec, .cab-sec { background: var(--paper); }
.tint-sec { background: var(--sage-tint); }
.myths-sec { background: var(--mist); }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.title { font-family: var(--f-display); font-weight: 380; font-size: var(--t-2xl); line-height: 1.05; letter-spacing: -.015em; overflow-wrap: break-word; hyphens: auto; }
[dir="rtl"] .title { font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.title--md { font-size: var(--t-xl); margin-bottom: .75rem; }
.head__intro { color: var(--ink-2); max-width: 50ch; margin: 0; }
.sub { font-size: var(--t-sm); font-weight: 700; color: var(--sage-deep); margin-bottom: .9rem; }
.note { font-size: var(--t-xs); color: var(--mute); margin: 1.25rem 0 0; }
.js .reveal { clip-path: inset(0 0 100% 0); transform: translateY(.2em); }
.reveal.is-in { clip-path: inset(-.3em -.2em -.5em -.2em); transform: none; transition: clip-path 1s var(--ease-io), transform 1s var(--ease-io); }

/* ---------- Care ---------- */
.care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); }
.care li { border-top: 1px solid var(--rule); padding: 1.5rem 0 1.75rem; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .5rem 1.5rem; align-items: baseline; }
.care h3 { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.2; font-weight: 400; }
[dir="rtl"] .care h3 { font-weight: 600; font-size: 1.35rem; }
.care p { margin: 0; color: var(--ink-2); font-size: var(--t-sm); }
.js [data-stagger] > li { opacity: 0; transform: translateY(14px); }
[data-stagger].is-in > li { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.approaches { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.approaches .sub { margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills li { border: 1px solid var(--sage); color: var(--sage-deep); border-radius: 99px; padding: .45rem 1rem; font-size: var(--t-sm); font-weight: 500; }

/* ---------- Toggle ---------- */
.toggle { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; background: rgba(255, 255, 255, .75); border: 1px solid var(--rule); border-radius: 99px; padding: 4px; margin-bottom: 1.5rem; }
.toggle button { position: relative; z-index: 1; background: none; border: 0; border-radius: 99px; padding: .6rem 1.1rem; font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); cursor: pointer; transition: color .35s, background-color .35s; white-space: nowrap; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- CBT ---------- */
.cbt { display: flex; flex-direction: column; align-items: center; }
.cbt__stage { position: relative; width: min(100%, 680px); margin-inline: auto; }
.cbt__svg { width: 100%; height: auto; padding: 3% 0; }
.cbt__edge { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 4 9; stroke: var(--blush-deep); animation: flowdash 1.1s linear infinite; transition: stroke .6s; }
.cbt__head { fill: var(--blush-deep); transition: fill .6s; }
[data-mode="b"] .cbt__edge { stroke: var(--sage-deep); animation-duration: 3s; }
[data-mode="b"] .cbt__head { fill: var(--sage-deep); }
@keyframes flowdash { to { stroke-dashoffset: -13; } }
.cbt__node { fill: var(--blush-deep); transform-box: fill-box; transform-origin: center; animation: nodep 2.4s ease-in-out infinite; transition: fill .6s; }
[data-mode="b"] .cbt__node { fill: var(--sage-deep); animation-duration: 4s; }
.cbt__node:nth-of-type(2) { animation-delay: .4s; } .cbt__node:nth-of-type(3) { animation-delay: .8s; }
@keyframes nodep { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.cbt__box { position: absolute; background: #fff; border-radius: 20px; padding: .9rem 1.1rem 1rem; box-shadow: 0 20px 40px -28px rgba(28, 40, 38, .5); border: 1px solid var(--rule); }
.cbt__box b { display: block; font-size: var(--t-xs); font-weight: 700; color: var(--blush-deep); margin-bottom: .25rem; transition: color .6s; }
[data-mode="b"] .cbt__box b { color: var(--sage-deep); }
.cbt__box p { margin: 0; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.35; }
[dir="rtl"] .cbt__box p { font-size: 1.05rem; line-height: 1.7; }
.cbt__box p span:not([hidden]), .cbt__note span:not([hidden]) { animation: fadein .6s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cbt__box--t { top: 0; left: 50%; transform: translateX(-50%); width: 50%; text-align: center; }
.cbt__box--r { bottom: 0; right: 0; width: 38%; }
.cbt__box--l { bottom: 0; left: 0; width: 38%; }
[dir="rtl"] .cbt__box--r { right: 0; left: auto; } [dir="rtl"] .cbt__box--l { left: 0; right: auto; }
.cbt__center { position: absolute; top: 56%; left: 50%; transform: translate(-50%, -50%); width: 34%; text-align: center; }
.cbt__center small { font-size: var(--t-xs); font-weight: 700; color: var(--mute); }
.cbt__center p { margin: .15rem 0 0; font-size: var(--t-md); font-weight: 600; }
.cbt__note { max-width: 46ch; text-align: center; margin: 2rem auto 0; font-size: var(--t-lg); font-family: var(--f-display); font-style: italic; color: var(--ink-2); }
[dir="rtl"] .cbt__note { font-style: normal; }

/* ---------- Graphs ---------- */
.graphs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 6rem); }
.graph .head__intro { margin-bottom: 1.5rem; min-height: 5.2em; }
.graph__svg { width: 100%; height: auto; background: #fff; border-radius: 22px; border: 1px solid var(--rule); padding: .5rem; }
.gx { stroke: var(--ink); stroke-width: 1.2; }
.gg { stroke: var(--rule); stroke-dasharray: 2 5; }
.gl { font-family: var(--f-text); font-size: 12px; font-weight: 600; fill: var(--ink-2); }
.gp { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: opacity .3s; }
.gp--a { stroke: var(--blush-deep); } .gp--b { stroke: var(--sage-deep); }
.graph.is-in[data-mode="a"] .gp--a, .graph.is-in[data-mode="b"] .gp--b { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-io), opacity .2s; }
.gm { opacity: 0; transition: opacity .5s; font-family: var(--f-text); font-size: 12px; font-weight: 600; }
.gm--a path { fill: none; stroke: var(--blush-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gm--a text { fill: var(--blush-deep); } .gm--b circle { fill: var(--sage-deep); } .gm--b text { fill: var(--sage-deep); }
.graph.is-in[data-mode="a"] .gm--a, .graph.is-in[data-mode="b"] .gm--b { opacity: 1; transition-delay: 1.8s; }
.graph__note { margin: 1rem 0 0; color: var(--ink-2); font-size: var(--t-sm); min-height: 3.4em; }
.graph__note span:not([hidden]) { animation: fadein .6s var(--ease); }
.wz--hyper { fill: var(--blush-tint); } .wz--hypo { fill: var(--lilac-tint); } .wz--win { fill: #d9e7dd; }
.wave { animation: wave 7s linear infinite; }
.wave path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; transition: opacity .7s; }
.wave__b { opacity: 0; }
[data-mode="b"] .wave__a { opacity: 0; } [data-mode="b"] .wave__b { opacity: 1; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-280px); } }
.wl { font-family: var(--f-text); pointer-events: none; }
.wl__k { font-size: 12.5px; font-weight: 700; fill: var(--ink); }
.wl__v { font-size: 11px; fill: var(--ink-2); }
.wl--win .wl__k { fill: var(--sage-deep); }
.wsep { stroke: #fff; stroke-width: 2; }
[dir="rtl"] .wl { direction: rtl; }

/* ---------- Breathing ---------- */
.dusk { background: radial-gradient(60% 80% at 75% 50%, var(--dusk-2) 0%, var(--dusk) 70%); color: #fff; overflow: hidden; }
.dusk .head__intro { color: #c7c0dc; margin-bottom: 2rem; }
.dusk .title { margin-bottom: 1.1rem; }
.note--dusk { color: #9d95b8; }
.breath { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.breath__stage { position: relative; width: min(100%, 420px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.breath__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.breath__ring circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1.5; }
.breath__ring .breath__prog { stroke: var(--lilac); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: opacity .4s; }
.breath.is-running .breath__prog, .breath.is-done .breath__prog { opacity: 1; }
.breath__orb { position: absolute; inset: 12%; display: grid; place-items: center; transform: scale(.58); transition: transform 5s cubic-bezier(.45, 0, .55, 1); }
.breath.is-in .breath__orb { transform: scale(1); }
.breath:not(.is-running) .breath__orb { animation: idle 6s ease-in-out infinite; }
@keyframes idle { 0%, 100% { transform: scale(.58); } 50% { transform: scale(.66); } }
.orb { position: absolute; border-radius: 50%; inset: 0; }
.orb--1 { background: radial-gradient(circle at 35% 35%, rgba(187, 174, 224, .9), rgba(187, 174, 224, .15) 70%); filter: blur(2px); }
.orb--2 { inset: 14%; background: radial-gradient(circle at 60% 60%, rgba(233, 185, 170, .9), rgba(233, 185, 170, .1) 70%); mix-blend-mode: screen; }
.orb--3 { inset: 34%; background: radial-gradient(circle, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%); }
.breath__cue { position: relative; z-index: 1; margin: 0; text-align: center; display: grid; gap: .2rem; text-shadow: 0 2px 16px rgba(36, 32, 58, .6); }
.breath__cue b { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
[dir="rtl"] .breath__cue b { font-style: normal; font-weight: 600; }
.breath__cue span { font-size: var(--t-sm); color: #e3dff0; font-variant-numeric: tabular-nums; }

/* ---------- Myths ---------- */
.myths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.myth { position: relative; display: block; width: 100%; min-height: 14.5rem; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1000px; text-align: start; }
.myth__face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1.5rem; border-radius: 24px; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: transform .8s var(--ease-io); }
.myth__front { background: #fff; border: 1px solid var(--rule); }
.myth__back { background: var(--sage-deep); color: #fff; transform: rotateY(180deg); }
.myth[aria-pressed="true"] .myth__front { transform: rotateY(-180deg); }
.myth[aria-pressed="true"] .myth__back { transform: rotateY(0); }
.myth__q { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.3; }
[dir="rtl"] .myth__q { font-weight: 600; font-size: 1.25rem; line-height: 1.7; }
.myth__a { font-size: var(--t-md); line-height: 1.55; }
.myth__cta { font-size: var(--t-xs); font-weight: 700; color: var(--blush-deep); display: inline-flex; align-items: center; gap: .4rem; }
.myth__back .myth__cta { color: var(--blush); }
.myth:hover .myth__front { border-color: var(--sage); }

/* ---------- Visit ---------- */
.visitx { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.steps { margin-top: 2.25rem; }
.steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(62, 95, 83, .2); }
.steps__n { font-family: var(--f-display); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--sage-deep); }
[dir="rtl"] .steps__n { font-style: normal; }
.steps h3 { font-size: var(--t-md); font-weight: 700; margin-bottom: .2rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: var(--t-sm); }
.visitx__side { display: grid; gap: 1rem; padding-top: .5rem; }
.secret { display: flex; gap: 1rem; background: #fff; border-radius: 24px; padding: 1.5rem; border: 1px solid var(--rule); }
.secret .i { width: 1.8rem; height: 1.8rem; color: var(--sage-deep); }
.secret h3 { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: .35rem; }
[dir="rtl"] .secret h3 { font-weight: 600; }
.secret p { margin: 0; color: var(--ink-2); }
.crisis { display: flex; gap: .9rem; align-items: flex-start; background: var(--blush-tint); color: #5e2a1f; border-radius: 24px; padding: 1.4rem 1.5rem; margin: 0; }
.crisis .i { width: 1.5rem; height: 1.5rem; color: var(--blush-deep); margin-top: .15rem; }

/* ---------- Practice ---------- */
.cab { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); grid-template-areas: "photo info" "photo map"; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4.5rem); }
.cab__photo { grid-area: photo; margin: 0; }
.cab__photo img { width: 100%; height: auto; border-radius: 28px; }
.cab__photo figcaption { font-size: var(--t-xs); color: var(--mute); margin-top: .6rem; }
.cab__info { grid-area: info; }
.address { font-style: normal; font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.22; margin-bottom: 2rem; }
[dir="rtl"] .address { font-weight: 600; line-height: 1.7; }
.address span { display: block; }
.address sup { font-size: .5em; line-height: 0; }
.address small { display: block; font-family: var(--f-text); font-size: var(--t-sm); color: var(--ink-2); margin-top: .7rem; }
.hours dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--rule); }
.hours dl > div:last-child { border-bottom: 1px solid var(--rule); }
.hours dt { font-weight: 600; }
.hours dd { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours .is-today dt, .hours .is-today dd { color: var(--sage-deep); }
.status--inline { margin: 1.25rem .75rem 0 0; margin-inline: 0 .75rem; }
.cnam { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--sage-deep); margin: 1.25rem 0 0; }
.cnam .i { width: 1.3rem; height: 1.3rem; }
.map { grid-area: map; position: relative; border-radius: 28px; overflow: hidden; background: var(--sage-tint); min-height: 22rem; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75); }
.map__links { position: absolute; inset-inline-start: 1rem; bottom: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; z-index: 2; }

/* ---------- Contact / FAQ ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); }
.contact__note { margin-top: 1.25rem; }
.mail { display: inline-flex; flex-direction: column; margin-top: 2rem; text-decoration: none; }
.mail__k { font-size: var(--t-xs); color: var(--ink-2); }
.mail .ltr { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); border-bottom: 2px solid var(--blush); line-height: 1.4; }
.phones li { border-top: 1px solid var(--rule); }
.phones li:last-child { border-bottom: 1px solid var(--rule); }
.phones a { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: 1.2rem 0; text-decoration: none; }
.phones__k { font-size: var(--t-sm); color: var(--ink-2); }
.phones__v { font-family: "Newsreader", Georgia, serif; font-weight: 340; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1; text-align: start; font-variant-numeric: lining-nums tabular-nums; }
[dir="rtl"] .phones__v { text-align: end; }
.phones__go { font-size: var(--t-sm); font-weight: 700; color: var(--sage-deep); }
.phones a:hover .phones__v { color: var(--sage-deep); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem 5rem; padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); align-items: start; }
.faq-wrap .title { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; font-size: var(--t-lg); font-weight: 600; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--sage-tint) linear-gradient(var(--ink), var(--ink)) center / 9px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 9px no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blush-tint); }
.faq summary:hover { color: var(--sage-deep); }
.faq__a { color: var(--ink-2); padding-bottom: 1.4rem; max-width: 62ch; }
.faq details[open] .faq__a { animation: fadein .45s var(--ease); }
#questions { padding-bottom: clamp(4.5rem, 9vw, 8rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dusk); color: #b8b1cf; font-size: var(--t-sm); padding-block: 4.5rem 3rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; }
.footer__sig { font-family: var(--f-display); font-size: var(--t-xl); color: #fff; line-height: 1.15; margin-bottom: .8rem; }
[dir="rtl"] .footer__sig { font-weight: 600; }
.site-footer li + li { margin-top: .35rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer sup { line-height: 0; }
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid #3c3459; padding-top: 1.5rem; font-size: var(--t-xs); }

.callbar { display: none; position: fixed; z-index: 40; inset: auto .75rem calc(.75rem + env(safe-area-inset-bottom)) .75rem; gap: .5rem; transform: translateY(160%); transition: transform .5s var(--ease); }
.callbar.is-shown { transform: none; }
.callbar .btn--ink { flex: 1; padding-block: 1rem; box-shadow: 0 12px 30px -12px rgba(28, 40, 38, .6); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0; z-index: -1; background: var(--mist); flex-direction: column; align-items: flex-start; justify-content: center; gap: .3rem; padding: var(--gutter); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav a { font-family: var(--f-display); font-size: 2.4rem; line-height: 1.35; color: var(--ink); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease); }
  [dir="rtl"] .nav a { font-weight: 600; }
  .nav a[aria-current="true"]::after { display: none; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav .lang { font-family: var(--f-text); font-size: var(--t-md); margin-top: 1.5rem; padding: .4rem 1rem; }
  .menu-btn { display: block; }
  .header-call { display: none; }
  body.menu-open { overflow: hidden; }
  .site-header.menu-on { background: var(--mist); }
  .head, .graphs, .breath, .visitx, .contact, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .title { position: static; }
  .myths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cab { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "photo info" "map map"; }
  .care { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --header-h: 4rem; }
  body { font-size: 1rem; }
  .brand__role { display: none; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .arch { width: min(78%, 330px); order: -1; }
  .threads { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0,0,0,.2) 60%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0,0,0,.2) 60%); }
  [dir="rtl"] .threads { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0,0,0,.2) 60%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0,0,0,.2) 60%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .care li { grid-template-columns: minmax(0, 1fr); }
  .toggle { display: grid; width: 100%; }
  .toggle button { white-space: normal; padding: .6rem .6rem; }
  .cbt__svg { display: none; }
  .cbt__stage { display: grid; gap: .75rem; }
  .cbt__box, .cbt__center { position: static; transform: none; width: auto; text-align: start; }
  .cbt__center { order: -1; padding: .5rem 0; }
  .cbt__box { border-inline-start: 4px solid var(--blush-deep); }
  [data-mode="b"] .cbt__box { border-inline-start-color: var(--sage-deep); }
  .myths { grid-template-columns: minmax(0, 1fr); }
  .myth { min-height: 13rem; }
  .cab { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "info" "map"; }
  .phones a { grid-template-columns: 1fr auto; }
  .phones__k { grid-column: 1 / -1; }
  .map { min-height: 20rem; }
  .callbar { display: flex; }
  .site-footer { padding-bottom: 7rem; }
  .footer__grid { grid-template-columns: 1fr; }
}
.wot-legend { display: none; }
@media (max-width: 760px) {
  .wl { display: none; }
  .wot-legend { display: grid; gap: .4rem; margin-top: 1rem; font-size: var(--t-sm); color: var(--ink-2); }
  .wot-legend li { display: flex; gap: .5rem; align-items: baseline; }
  .wot-legend i { flex: none; width: .8rem; height: .8rem; border-radius: 3px; transform: translateY(.1em); }
  .wot-legend b { color: var(--ink); font-weight: 600; }
  .wot-legend__1 i { background: var(--blush-tint); border: 1px solid var(--blush); }
  .wot-legend__2 i { background: #d9e7dd; border: 1px solid var(--sage); }
  .wot-legend__3 i { background: var(--lilac-tint); border: 1px solid var(--lilac); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
@media print { .site-header, .callbar, .map, .threads, .breath__stage { display: none !important; } }
.breath.is-running [data-breath-btn] .i { display: none; }
