
/* Layout: deep ink background with slow teal/blue glows; frosted-glass panels carry all content. 2-col hero, 3-col specialties, 5-step journey, contact. Fully RTL/LTR via logical properties. */
:root {
  --ink: #030814;
  --navy: #0a1834;
  --text: #f4f0e6;
  --mute: #9eabc4;
  --gold: #d4af6a;
  --gold-hi: #f2deb0;
  --gold-lo: #9c7536;
  --deep: #1f4fa8;
  --champagne: #e8cf9e;
  --glass: rgba(130, 165, 235, 0.05);
  --glass-hi: rgba(165, 190, 245, 0.10);
  --edge: rgba(225, 195, 140, 0.20);
  --font: "IBM Plex Sans Arabic", "Geeza Pro", "Segoe UI", system-ui, sans-serif;
  --label: "IBM Plex Sans Condensed", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --r: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font-family: var(--font); font-size: 16.5px; line-height: 1.75; overflow-x: hidden; }
html:not([lang="en"]) [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }

.glow { position: fixed; z-index: 0; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.glow.a { width: 560px; height: 560px; background: var(--gold); opacity: .13; top: -180px; inset-inline-end: -160px; animation: drift 28s ease-in-out infinite alternate; }
.glow.b { width: 520px; height: 520px; background: var(--deep); opacity: .22; top: 40%; inset-inline-start: -220px; animation: drift 34s ease-in-out infinite alternate-reverse; }
.glow.c { width: 380px; height: 380px; background: var(--champagne); opacity: .10; bottom: -180px; inset-inline-end: 25%; animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(50px, 40px) scale(1.1); } }
.grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 3px 3px; }

.wrap { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.glass {
  background:
    radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(242,222,176,.11), transparent 62%),
    linear-gradient(160deg, var(--glass-hi), var(--glass) 65%);
  border: 1px solid var(--edge); border-radius: var(--r);
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(242,222,176,.22), 0 24px 70px -28px rgba(0,0,0,.8);
}
.label { font: 500 12.5px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .label { letter-spacing: 0; font-size: 14px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; padding-block: 14px; }
nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 8px; padding-inline: 18px 10px; border-radius: 999px; }
/* The gold logo is a plain image, so it shows in every browser (the earlier CSS-mask version stayed blank
   on some phones). A soft glow pulses on it instead of the masked sheen. */
.logo-gold {
  display: block; aspect-ratio: 1563 / 625; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(212,175,106,.25));
  animation: glint 5.5s ease-in-out infinite;
}
@keyframes glint {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(212,175,106,.25)) brightness(1); }
  50% { filter: drop-shadow(0 0 22px rgba(212,175,106,.38)) brightness(1.14); }
}
.mark { height: 34px; width: auto; }
.links { display: flex; gap: 26px; }
.links a { color: var(--mute); text-decoration: none; font-size: 15px; transition: color .2s; }
.links a:hover { color: var(--text); }
.nav-end { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
  font: 600 15px/1 var(--font); color: var(--ink);
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  border: 0; border-radius: 999px; padding: 13px 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 30px -12px rgba(212,175,106,.6); transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 14px 36px -10px rgba(212,175,106,.75); }
.btn.ghost { background: var(--glass-hi); color: var(--text); border: 1px solid var(--edge); box-shadow: none; }
.lang { padding: 10px 16px; font-size: 14px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.arrow { width: 15px; height: 15px; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 64px 88px; }
.hero > * { min-width: 0; }
h1 { font-weight: 600; font-size: clamp(36px, 5.4vw, 66px); line-height: 1.15; letter-spacing: -.01em; margin: 16px 0 20px; text-wrap: balance; }
html[lang="en"] h1 { letter-spacing: -.025em; line-height: 1.05; }
h1 em { font-style: normal; color: var(--champagne); background: linear-gradient(100deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { color: var(--mute); font-size: 18.5px; max-width: 46ch; margin: 0 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

.card-id { padding: 32px 28px 26px; display: grid; gap: 22px; }
.card-id .logo { width: 100%; }
.spec { display: grid; gap: 10px; }
.spec div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid rgba(225,195,140,.09); }
.spec b { font-weight: 500; }
.spec span { font: 400 13px/1 var(--label); color: var(--mute); letter-spacing: .06em; }

/* Sections */
section { padding-block: 72px; }
.sec-head { max-width: 680px; margin-bottom: 40px; }
h2 { font-weight: 600; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.2; margin: 14px 0 12px; text-wrap: balance; }
.sec-head p { color: var(--mute); margin: 0; }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area { padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, border-color .3s; }
.area:hover { transform: translateY(-4px); border-color: rgba(212,175,106,.45); }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(212,175,106,.1); border: 1px solid rgba(212,175,106,.28); }
.ico svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.area h3 { font-weight: 600; font-size: 21px; margin: 0; line-height: 1.35; }
.area ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--mute); font-size: 15.5px; }
.area li { display: flex; gap: 10px; align-items: baseline; }
.area li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }

/* Journey */
.journey { padding: 32px; overflow-x: auto; }
.track { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); min-width: 860px; position: relative; }
.track::before { content: ""; position: absolute; inset-inline: 0; top: 17px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--champagne) 85%, transparent); opacity: .5; }
.step { padding-inline-end: 20px; position: relative; }
.num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--gold); color: var(--gold); font: 500 14px/1 var(--label); margin-bottom: 18px; position: relative; box-shadow: 0 0 18px -4px var(--gold); }
.step h4 { font-weight: 600; font-size: 17px; margin: 0 0 6px; line-height: 1.4; }
.step p { color: var(--mute); font-size: 14.5px; margin: 0; }
.note { margin-top: 18px; color: var(--mute); font-size: 14px; }

/* Clinics & contact */
.clinics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.clinics > *, .extras > * { min-width: 0; }
.clinic { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.clinic h3 { font-weight: 600; font-size: 20px; line-height: 1.4; margin: 0; }
.clinic .city { color: var(--mute); font-size: 14px; margin-top: -8px; }
.daypills { display: flex; gap: 8px; flex-wrap: wrap; }
.daypill { font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(212,175,106,.45); color: var(--gold-hi); background: rgba(212,175,106,.08); }
.hours { font-size: 22px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.book { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(225,195,140,.12); display: grid; gap: 12px; }
.book .k { color: var(--mute); font-size: 13.5px; }
.tel { font: 500 22px/1 var(--label); letter-spacing: .06em; direction: ltr; unicode-bidi: isolate; text-align: start; color: var(--champagne); font-variant-numeric: tabular-nums; user-select: all; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.sm { padding: 11px 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.book .via { color: var(--mute); font-size: 14.5px; margin: 0; }

.week { margin-top: 18px; padding: 24px; overflow-x: auto; }
.week h3 { font-weight: 600; font-size: 18px; margin: 0 0 16px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; min-width: 660px; }
.d { padding: 12px 10px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid rgba(225,195,140,.08); display: flex; flex-direction: column; gap: 8px; min-height: 112px; }
.d b { font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.d .today { display: none; font-size: 11px; font-weight: 500; color: var(--ink); background: var(--gold); border-radius: 999px; padding: 2px 8px; }
.d.is-today { border-color: var(--gold); box-shadow: 0 0 24px -10px var(--gold); }
.d.is-today .today { display: inline-block; }
.slot { font-size: 12.5px; line-height: 1.45; padding: 7px 9px; border-radius: 10px; background: rgba(212,175,106,.10); border: 1px solid rgba(212,175,106,.25); }
.slot span { display: block; color: var(--mute); font-variant-numeric: tabular-nums; }
.off { color: var(--mute); font-size: 13px; opacity: .6; }

.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.extra { padding: 26px; display: grid; gap: 14px; align-content: start; }
.extra h3 { font-weight: 600; font-size: 19px; margin: 0; }
.extra p { color: var(--mute); margin: 0; font-size: 15px; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.si { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: rgba(212,175,106,.10); border: 1px solid rgba(212,175,106,.35); transition: color .2s, background .2s; }
.si svg { width: 18px; height: 18px; }
.social a:hover .si { color: var(--ink); background: var(--gold); }
.social a > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.foot-social { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-social a { text-decoration: none; }
.foot-social a:hover .si { color: var(--ink); background: var(--gold); }
.social a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 14px; text-decoration: none; color: var(--text); background: rgba(0,0,0,.22); border: 1px solid rgba(225,195,140,.14); transition: border-color .2s, transform .2s; }
.social a:hover { border-color: var(--gold); transform: translateY(-2px); }
.social a b { font-weight: 500; font-size: 14.5px; }
.social a span { font: 400 12.5px/1.2 var(--label); color: var(--mute); direction: ltr; unicode-bidi: isolate; }

.links a[aria-current="page"] { color: var(--gold-hi); }
section, [id] { scroll-margin-top: 110px; }
.more { margin-top: 22px; }

/* About page */
.page-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; padding-block: 56px 32px; }
.page-hero > * { min-width: 0; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.monogram { padding: 40px 32px; display: grid; gap: 24px; position: relative; overflow: hidden; }
.monogram::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,106,.22), transparent 70%); pointer-events: none; }
.facts { display: grid; gap: 0; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-top: 1px solid rgba(225,195,140,.12); }
.fact .k { color: var(--mute); font-size: 14.5px; }
.fact .v { font-weight: 500; text-align: end; }
.bio { padding: 32px; max-width: 860px; }
.bio p { margin: 0; font-size: 17.5px; color: var(--text); max-width: 68ch; }
.bio p + p { margin-top: 14px; color: var(--mute); font-size: 16.5px; }
.quals { padding: 32px; max-width: 860px; }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; }
.qlist li { position: relative; padding-inline-start: 38px; padding-block-end: 26px; }
.qlist li:last-child { padding-block-end: 0; }
.qlist li::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); box-shadow: 0 0 14px -2px var(--gold); }
.qlist li::after { content: ""; position: absolute; inset-inline-start: 7px; top: 24px; bottom: 2px; width: 1px; background: linear-gradient(var(--gold), rgba(212,175,106,.1)); }
.qlist li:last-child::after { display: none; }
.qlist h3 { font-weight: 600; font-size: 18px; margin: 0; line-height: 1.45; }
.qlist p { margin: 2px 0 0; color: var(--mute); font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.value { padding: 26px; display: grid; gap: 10px; align-content: start; }
.value h3 { font-weight: 600; font-size: 19px; margin: 0; }
.value p { color: var(--mute); margin: 0; font-size: 15.5px; }
.cta-band { padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); }

/* Conditions page */
.cond-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.fchip { font: 500 14px/1 var(--font); color: var(--mute); padding: 10px 16px; border-radius: 999px; cursor: pointer; background: rgba(0,0,0,.22); border: 1px solid rgba(225,195,140,.16); transition: all .2s; }
.fchip[aria-pressed="true"] { color: var(--ink); background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); border-color: transparent; }
.fchip .n { font: 400 12px/1 var(--label); opacity: .75; margin-inline-start: 6px; }
.search { flex: 1 1 220px; min-width: 0; max-width: 340px; margin-inline-start: auto; font: 400 15px/1 var(--font); color: var(--text); padding: 12px 18px; border-radius: 999px; background: rgba(0,0,0,.3); border: 1px solid rgba(225,195,140,.2); }
.search::placeholder { color: var(--mute); }
.conds { display: grid; gap: 12px; max-width: 900px; }
.cond { border-radius: 18px; }
.cond summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.cond summary::-webkit-details-marker { display: none; }
.cond summary h3 { font-weight: 600; font-size: 18px; margin: 4px 0 0; line-height: 1.4; }
.ctag { font: 500 12px/1 var(--label); color: var(--gold); letter-spacing: .08em; }
html[lang="ar"] .ctag { letter-spacing: 0; font-size: 13px; }
.chev { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(212,175,106,.35); color: var(--gold); transition: transform .25s; }
.chev svg { width: 14px; height: 14px; }
.cond[open] .chev { transform: rotate(180deg); }
.cond[open] { border-color: rgba(212,175,106,.45); }
.cbody { padding: 0 22px 22px; display: grid; gap: 14px; }
.cbody > p { margin: 0; color: var(--text); }
.cbody h4 { margin: 0 0 4px; font-weight: 600; font-size: 14.5px; color: var(--champagne); }
.cbody div p { margin: 0; color: var(--mute); font-size: 15.5px; }
.empty { color: var(--mute); padding: 24px; text-align: center; }
.disclaimer { margin-top: 22px; color: var(--mute); font-size: 14px; max-width: 900px; }

@media (max-width: 920px) {
  .page-hero { grid-template-columns: 1fr; padding-block: 32px 16px; }
  .values { grid-template-columns: 1fr; }
  .search { max-width: none; margin-inline-start: 0; }
}

/* ---------- Motion ---------- */
#dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.progress { position: fixed; top: env(safe-area-inset-top, 0px); inset-inline: 0; height: 2px; z-index: 20; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold)); box-shadow: 0 0 12px var(--gold); pointer-events: none; }
html[dir="rtl"] .progress { transform-origin: right; }
header { transition: padding .35s ease; }
header nav { transition: border-color .35s, box-shadow .35s; }
header.scrolled { padding-block: 8px; }
header.scrolled nav { border-color: rgba(212,175,106,.38); box-shadow: inset 0 1px 0 rgba(242,222,176,.22), 0 14px 40px -14px rgba(0,0,0,.9); }

.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); translate: -130% 0; transition: translate .8s ease; pointer-events: none; }
.btn.ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(242,222,176,.22) 50%, transparent 70%); }
.btn:hover::after { translate: 130% 0; }

h1 em { background-size: 220% 100%; animation: text-sheen 7s ease-in-out infinite; }
@keyframes text-sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* Hero entrance */
.hero > div > *, .page-hero > div > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero > div > :nth-child(2), .page-hero > div > :nth-child(2) { animation-delay: .08s; }
.hero > div > :nth-child(3), .page-hero > div > :nth-child(3) { animation-delay: .16s; }
.hero > div > :nth-child(4), .page-hero > div > :nth-child(4) { animation-delay: .24s; }
.card-id, .monogram { animation: rise 1.1s .2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } }

/* Tilt on the identity card */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.tilt.moving { transition: transform .08s linear; }

/* Page switch */
main[data-view] { animation: view-in .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes view-in { from { opacity: 0; translate: 0 18px; } }

/* Scroll reveal: only where the browser drives it from scroll position */
@supports (animation-timeline: view()) {
  .sec-head, .area, .stat, .journey, .clinic, .week, .extra, .bio, .quals, .value, .cond, .cta-band, .disclaimer {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  .qlist li { animation: reveal linear both; animation-timeline: view(); animation-range: entry 10% entry 90%; }
  @keyframes reveal { from { opacity: 0; translate: 0 44px; scale: .97; } }
}
.step .num { transition: transform .3s, box-shadow .3s; }
.step:hover .num { transform: scale(1.15); box-shadow: 0 0 26px -2px var(--gold); }

/* Portraits */
.card-id.photo-card { padding: 10px; }
.photo { margin: 0; position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 580px; border-radius: calc(var(--r) - 8px); overflow: hidden; outline: 1px solid rgba(212,175,106,.28); outline-offset: -1px; }
.photo-wide { aspect-ratio: 4 / 3; max-height: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; scale: 1.02; transition: scale 1.4s cubic-bezier(.2,.7,.2,1); filter: saturate(1.04) contrast(1.04); }
.photo-card:hover .photo img, .monogram:hover .photo img { scale: 1.07; }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7,18,42,.94) 0%, rgba(7,18,42,.45) 30%, transparent 58%), linear-gradient(160deg, rgba(212,175,106,.12), transparent 45%); }
.photo-wide::after { background: linear-gradient(to top, rgba(7,18,42,.6) 0%, transparent 40%), linear-gradient(160deg, rgba(212,175,106,.12), transparent 45%); }
.photo figcaption { position: absolute; inset-inline: 22px; bottom: 20px; z-index: 1; display: grid; gap: 4px; }
.photo figcaption b { font-weight: 600; font-size: 22px; }
.photo figcaption .role { color: var(--mute); font-size: 14.5px; line-height: 1.5; }
.pill-gold { font-style: normal; justify-self: start; margin-top: 8px; font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; color: var(--ink); background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: -40px; }
.stat { padding: 22px 20px; text-align: center; display: grid; gap: 6px; }
.stat .num-big { font: 600 clamp(34px, 4.4vw, 50px)/1 var(--font); font-variant-numeric: tabular-nums; background: linear-gradient(120deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold); }
.stat .num-big small { font-size: .5em; }
.stat .cap { color: var(--mute); font-size: 14.5px; }
@media (max-width: 920px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -24px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tilt { transform: none !important; }
}

footer { padding-block: 32px 56px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 24px; color: var(--mute); font-size: 14px; }
.foot .mark { height: 28px; }

@media (max-width: 920px) {
  .hero, .clinics, .extras { grid-template-columns: 1fr; }
  .hero { padding-block: 36px 56px; gap: 32px; }
  .areas { grid-template-columns: 1fr; }
  nav { flex-wrap: wrap; border-radius: 26px; row-gap: 6px; }
  .links { order: 3; width: 100%; gap: 20px; overflow-x: auto; padding-block: 4px 6px; padding-inline: 2px; scrollbar-width: none; }
  .links a { white-space: nowrap; font-size: 14px; }
}
@media (max-width: 440px) {
  .area, .journey, .card-id, .clinic, .week, .extra { padding: 20px; }
  nav .btn:not(.lang) { display: none; }
  .mark { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .glow, .logo-gold { animation: none; }
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero balance: text and portrait share the stage ---------- */
@media (min-width: 921px) {
  main .hero.wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-block: 28px 20px; }
}
main .hero.wrap h1 { font-size: clamp(36px, 4.2vw, 60px); margin-block: 16px 20px; }
html[lang="ar"] main .hero.wrap h1 { line-height: 1.4; }
html[lang="en"] main .hero.wrap h1 { line-height: 1.08; }
main .hero.wrap .lede { max-width: 44ch; }
main .hero.wrap .card-id.photo-card { scale: 1; align-self: center; width: 100%; max-width: 500px; justify-self: center; }
main .hero.wrap .photo-card .photo img { aspect-ratio: 4 / 4.5; }
/* Photo stays beside the text on small screens too */
@media (max-width: 920px) {
  main .hero.wrap { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 12px; align-items: center; padding-block: 18px 10px; }
  main .hero.wrap h1 { font-size: clamp(21px, 5.6vw, 42px); margin-block: 10px 12px; }
  main .hero.wrap .lede { font-size: clamp(12.5px, 2.5vw, 16px); line-height: 1.7; margin-bottom: 16px; }
  main .hero.wrap .label { font-size: clamp(10.5px, 2.2vw, 13px); gap: 8px; }
  main .hero.wrap .label::before { width: 14px; }
  main .hero.wrap .cta { gap: 8px; }
  main .hero.wrap .btn { padding: 11px 14px; font-size: clamp(12px, 2.4vw, 15px); }
  main .hero.wrap .trust { margin-top: 14px; gap: 6px 14px; font-size: clamp(11px, 2.2vw, 14px); }
  main .hero.wrap .card-id.photo-card { max-width: none; }
  main .hero.wrap .photo-card .photo img { aspect-ratio: 3 / 4.4; }
  main .hero.wrap .photo figcaption { margin-top: -22px; }
  main .hero.wrap .photo figcaption b { font-size: clamp(13px, 3vw, 20px); }
  main .hero.wrap .photo figcaption .role { display: none; }
  main .hero.wrap .pill-gold { font-size: clamp(9.5px, 2vw, 12px); padding: 4px 8px; margin-top: 4px; }
}
@media (max-width: 520px) {
  main .hero.wrap .cta .btn.ghost, main .hero.wrap .trust { display: none; }
}

/* ---------- Open layout: no boxed cards ---------- */
:root { --hair: rgba(225,195,140,.16); }
.area.glass, .stat.glass, .clinic.glass, .week.glass, .extra.glass, .bio.glass, .quals.glass,
.value.glass, .cta-band.glass, .journey.glass, .monogram.glass, .card-id.glass, .cond.glass, .foot.glass {
  background: none; border: 0; border-radius: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
/* Specialties: columns split by fine gold rules */
.areas { gap: 0; }
.area.glass { padding: 6px 32px; border-inline-start: 1px solid var(--hair); }
.area.glass:first-child { border-inline-start: 0; padding-inline-start: 0; }
.area.glass:last-child { padding-inline-end: 0; }
.area:hover { transform: none; }
.ico { width: auto; height: auto; background: none; border: 0; place-items: start; }
.ico svg { width: 30px; height: 30px; stroke-width: 1.3; }
/* Stats: one ruled band */
.stats { gap: 0; margin-top: 0; border-block: 1px solid var(--hair); }
.stat.glass { padding: 30px 12px; border-inline-start: 1px solid var(--hair); }
.stat.glass:first-child { border-inline-start: 0; }
/* Journey, bio, qualifications sit on the page itself */
.journey.glass, .quals.glass, .bio.glass { padding: 0; }
.bio p { font-size: clamp(18px, 2vw, 21px); line-height: 1.8; }
/* Clinics: a gold rule on top instead of a card */
.clinics { gap: 56px; }
.clinic.glass { padding: 26px 0 0; border-top: 1px solid var(--gold); }
.daypills { gap: 18px; }
.daypill { padding: 0; border: 0; background: none; color: var(--gold-hi); font-weight: 600; font-size: 15px; }
.week.glass { padding: 0; margin-top: 64px; }
.d { background: none; border: 0; border-inline-start: 1px solid var(--hair); border-radius: 0; padding: 2px 14px; min-height: 0; }
.d:first-child { border-inline-start: 0; padding-inline-start: 0; }
.d.is-today { box-shadow: none; }
.d.is-today b > span { color: var(--gold-hi); }
.slot { background: none; border: 0; border-radius: 0; border-inline-start: 2px solid var(--gold); padding: 0; padding-inline-start: 10px; }
.extras { gap: 56px; margin-top: 64px; }
.extra.glass { padding: 26px 0 0; border-top: 1px solid var(--hair); }
.social { gap: 14px 30px; }
.social a { padding: 4px 0; background: none; border: 0; border-radius: 0; }
.social a:hover { transform: none; }
.social a:hover b { color: var(--gold-hi); }
.si, .social a:hover .si, .foot-social a:hover .si { width: auto; height: auto; background: none; border: 0; border-radius: 0; }
.si svg { width: 22px; height: 22px; }
.social a:hover .si, .foot-social a:hover .si { color: var(--gold-hi); }
/* About page */
.monogram.glass { padding: 0; overflow: visible; }
.monogram::before { display: none; }
.values { gap: 0 40px; }
.value.glass { padding: 24px 0; border-top: 1px solid var(--hair); }
.cta-band.glass { padding: 36px 0; border-block: 1px solid var(--hair); }
.card-id.photo-card { padding: 0; }
/* Conditions: a ruled list, not cards */
.conds { gap: 0; border-top: 1px solid var(--hair); }
.cond.glass { border-bottom: 1px solid var(--hair); }
.cond[open] { border-color: var(--hair); }
.cond summary { padding: 22px 0; }
.cond summary:hover h3, .cond[open] summary h3 { color: var(--gold-hi); }
.cbody { padding: 0 0 26px; }
.chev { border: 0; width: auto; height: auto; }
.chev svg { width: 18px; height: 18px; }
.fchip, .fchip[aria-pressed="true"] { background: none; border: 0; border-radius: 0; padding: 10px 2px; margin-inline-end: 16px; border-bottom: 2px solid transparent; }
.fchip[aria-pressed="true"] { color: var(--gold-hi); border-bottom-color: var(--gold); }
.search { background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: 12px 2px; }
.search:focus-visible { outline: 0; border-bottom-color: var(--gold); }
/* Footer */
.foot.glass { padding: 26px 0 0; border-top: 1px solid var(--hair); }

/* Cut-out portraits: the doctor stands on the page, lit by a gold glow */
.photo { overflow: visible; outline: 0; border-radius: 0; isolation: isolate; }
.photo::after { display: none; }
.photo::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 14%; width: 82%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,106,.30), rgba(212,175,106,.08) 45%, transparent 70%); filter: blur(10px); pointer-events: none; }
.photo img { -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%); mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.55)); }
.photo-wide { aspect-ratio: 5 / 4; }
.photo figcaption { position: static; margin-top: -36px; padding-inline: 4px; position: relative; }
.photo-card .photo { aspect-ratio: auto; max-height: none; display: grid; }
.photo-card .photo img { aspect-ratio: 4 / 4.4; height: auto; }

@media (max-width: 920px) {
  .area.glass, .area.glass:first-child, .area.glass:last-child { padding: 26px 0; border-inline-start: 0; border-top: 1px solid var(--hair); }
  .area.glass:first-child { border-top: 0; padding-top: 0; }
  .stat.glass:nth-child(3) { border-inline-start: 0; }
  .stat.glass:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .values { gap: 0; }
}
@media (max-width: 440px) {
  .area.glass, .journey.glass, .card-id.glass, .clinic.glass, .week.glass, .extra.glass { padding-inline: 0; }
}

/* ---------- Bold home page ---------- */
.hero-stage { position: relative; overflow: hidden; }
.hero-word {
  position: absolute; z-index: 0; inset-inline: 0; top: 50%; translate: 0 -46%;
  text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font: 700 clamp(120px, 22vw, 330px)/.85 var(--font); letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(212,175,106,.30);
  animation: word-in 1.6s cubic-bezier(.2,.7,.2,1) both;
}
html[lang="en"] .hero-word { letter-spacing: -.05em; }
@keyframes word-in { from { opacity: 0; letter-spacing: .08em; } }
.hero { position: relative; z-index: 1; grid-template-columns: 1.15fr .85fr; padding-block: 56px 40px; }
.hero h1 { font-weight: 700; font-size: clamp(46px, 7.2vw, 100px); line-height: 1.12; letter-spacing: -.015em; margin-block: 18px 24px; }
html[lang="en"] .hero h1 { line-height: 1; letter-spacing: -.04em; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); }
.hero .btn { padding: 16px 26px; font-size: 16px; }
.card-id.photo-card { scale: 1.08; transform-origin: bottom center; }

.marquee { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--hair); padding-block: 22px; margin-block: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track-m { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .track-m { animation-play-state: paused; }
.mset { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; }
.mi { font-weight: 600; font-size: clamp(24px, 3.4vw, 44px); white-space: nowrap; line-height: 1.2; }
.mi:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.mset i { font-style: normal; color: var(--gold); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
html[dir="rtl"] .track-m { animation-name: marquee-rtl; }

.stats { margin-top: 0; border-top: 0; }
.stat .num-big { font-size: clamp(52px, 7vw, 96px); font-weight: 700; }

.area h3 { font-size: clamp(22px, 2.3vw, 30px); }

.statement { padding-block: 110px; }
.big-words { margin: 0; max-width: 24ch; font-weight: 600; font-size: clamp(32px, 4.8vw, 68px); line-height: 1.28; letter-spacing: -.01em; text-wrap: balance; }
html[lang="en"] .big-words { line-height: 1.12; letter-spacing: -.03em; max-width: 22ch; }
.big-words em { font-style: normal; }
.big-words .w { color: rgba(244,237,225,.24); transition: color .5s ease; }
.big-words .w.on { color: var(--text); }
.big-words .w.gold.on { color: var(--gold-hi); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .hero-word { top: 62%; }
  .card-id.photo-card { scale: 1; max-width: 460px; justify-self: center; width: 100%; }
  .statement { padding-block: 72px; }
}
/* Focus areas */
.focus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fblock { display: grid; gap: 18px; align-content: start; padding: 8px 44px; border-inline-start: 1px solid var(--hair); }
.fblock:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fblock:last-child { padding-inline-end: 0; }
.fblock h3 { margin: 0; font-weight: 700; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.2; text-wrap: balance; }
.flead { margin: 0; color: var(--mute); font-size: 17px; max-width: 46ch; }
.fblock .btn { justify-self: start; margin-top: 6px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.checks li::before { content: ""; flex: none; width: 14px; height: 8px; border-inline-start: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-3px) rotate(-45deg); }
html[dir="rtl"] .checks li::before { transform: translateY(-3px) rotate(45deg) scaleX(-1); }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); color: var(--mute); font-size: 15px; }
.also-k { color: var(--gold); font-weight: 600; }
.also a { color: var(--gold-hi); text-decoration: none; font-weight: 500; }
.also a:hover { text-decoration: underline; }

/* Implant comparison */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.opt { display: grid; gap: 14px; align-content: start; padding-top: 26px; border-top: 1px solid var(--gold); }
.opt-tag { justify-self: start; font-size: 12.5px; font-weight: 600; color: var(--ink); padding: 5px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); }
.opt h3 { margin: 0; font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); }
.opt > p { margin: 0; color: var(--mute); font-size: 16.5px; max-width: 52ch; }
@media (max-width: 920px) {
  .focus, .compare { grid-template-columns: 1fr; }
  .fblock, .fblock:first-child, .fblock:last-child { padding: 32px 0; border-inline-start: 0; border-top: 1px solid var(--hair); }
  .fblock:first-child { border-top: 0; padding-top: 0; }
  .compare { gap: 40px; }
}
@supports (animation-timeline: view()) {
  .fblock, .opt, .also, .reel { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}

header nav .btn { white-space: nowrap; }
header .links { gap: 26px; }

/* About: portrait centered above the name */
main[data-view="about"] .page-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; }
main[data-view="about"] .page-hero .monogram { order: -1; width: 100%; max-width: 480px; }
main[data-view="about"] .page-hero .photo-wide { aspect-ratio: 1 / 1; }
main[data-view="about"] .page-hero .lede { margin-inline: auto; }
main[data-view="about"] .page-hero .cta { justify-content: center; }

@media (min-width: 921px) { .ladder.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#varicocele .opt > p { color: var(--mute); }
#varicocele .note { margin-top: 26px; font-size: 15px; }

/* Check marks: same tick shape in both directions */
.checks li::before, html[dir="rtl"] .checks li::before { border: 0; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-3px) rotate(-45deg); }

/* Trust: credentials, doctor's word, first visit */
.creds { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--hair); }
.cred { display: grid; gap: 4px; align-content: start; padding: 26px 22px; border-inline-start: 1px solid var(--hair); }
.cred:first-child { border-inline-start: 0; padding-inline-start: 0; }
.cred b { font-size: 16.5px; font-weight: 700; color: var(--gold-hi); line-height: 1.5; }
html[lang="ar"] .cred b { font-family: var(--display-ar); }
.cred > span { color: var(--mute); font-size: 14px; }
.msg { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.msg-photo { aspect-ratio: 1 / 1.05; max-width: 440px; justify-self: center; }
.msg-text { display: grid; gap: 22px; justify-items: start; }
.msg blockquote { margin: 0; }
.msg blockquote p { margin: 0; font-weight: 700; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.6; text-wrap: balance; }
html[lang="ar"] .msg blockquote p { font-family: var(--display-ar); }
html[lang="en"] .msg blockquote p { line-height: 1.25; }
.msg-sign { margin: 0; display: grid; gap: 2px; padding-inline-start: 18px; border-inline-start: 2px solid var(--gold); }
.msg-sign b { color: var(--gold-hi); font-size: 18px; }
.msg-sign span { color: var(--mute); font-size: 14.5px; }
.promise { margin-top: 34px; font-size: 15.5px; color: var(--text); }
@media (max-width: 920px) {
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred { padding: 20px 14px; }
  .cred:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .msg { grid-template-columns: 1fr; gap: 20px; }
  .msg-photo { max-width: 320px; }
}

/* Treatment-abroad page: list of downsides */
:root { --bad: #e89a9a; }
.cons { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cons li { display: flex; gap: 12px; align-items: baseline; }
.cons li::before { content: "×"; flex: none; color: var(--bad); font: 700 19px/1 var(--label); }
.cons li > div { min-width: 0; }
.cons b { display: block; font-weight: 700; font-size: 16.5px; line-height: 1.6; }
html[lang="ar"] .cons b { font-family: var(--display-ar); font-weight: 600; }
.cons p { margin: 3px 0 0; color: var(--mute); font-size: 15.5px; }
#abroad-cons { gap: 48px 56px; }
/* Nine pages in the menu: on wide screens the logo is the Home link */
@media (min-width: 1361px) {
  header .links a[data-nav="home"] { display: none; }
  header .links { gap: 20px; }
  /* A wider page on big screens, so the logo, the seven links and the buttons all fit inside the top bar
     (at 1160px the buttons spilled to the left edge and left an empty band on the right) */
  .wrap { max-width: 1280px; }
}

/* Story */
.story-hello { font-size: clamp(20px, 2.4vw, 28px); color: var(--gold-hi) !important; font-weight: 600; margin-top: 10px !important; }
.story-line { max-width: 820px; }
.story-line li { padding-block-end: 40px; }
.place { display: block; font-size: 13.5px; font-weight: 600; color: var(--gold); margin-bottom: 4px; }
.story-line h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.story-line p { color: var(--text); font-size: 18px; line-height: 2; margin-top: 8px; max-width: 60ch; opacity: .88; }
.story-quote { margin: 56px 0 0; padding: 44px 0; border-block: 1px solid var(--gold); max-width: 900px; }
.story-quote p { margin: 0; font-weight: 700; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.6; text-wrap: balance; }
html[lang="ar"] .story-quote p { font-family: var(--display-ar); }
.story-quote footer { margin-top: 18px; padding: 0; color: var(--gold-hi); font-size: 16px; font-weight: 600; }

/* Articles */
.art-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.art-list.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; }
.art { display: grid; gap: 10px; align-content: start; padding-block: 28px; border-top: 1px solid var(--hair); text-decoration: none; color: var(--text); transition: border-color .3s; }
.art:hover { border-top-color: var(--gold); }
.art-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--mute); }
.art-meta b { color: var(--gold); font-weight: 600; }
.art h3 { margin: 0; font-size: clamp(20px, 2vw, 25px); font-weight: 700; line-height: 1.45; text-wrap: balance; transition: color .25s; }
.art:hover h3 { color: var(--gold-hi); }
.art p { margin: 0; color: var(--mute); font-size: 15.5px; }
.art .more-link { color: var(--gold-hi); font-size: 14.5px; font-weight: 600; margin-top: 4px; }
.art-reader { max-width: 800px; padding-block: 48px 40px; }
.art-back { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-hi); text-decoration: none; font-size: 15px; font-weight: 600; margin-bottom: 34px; }
.art-back:hover { text-decoration: underline; }
.art-reader h1 { font-size: clamp(32px, 4.4vw, 54px); margin: 16px 0 18px; text-wrap: balance; }
.art-dek { font-size: 20px; color: var(--mute); margin: 0 0 12px; max-width: 60ch; }
.art-by { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--mute); font-size: 14px; padding-block: 18px; border-block: 1px solid var(--hair); margin-block: 26px 12px; }
.art-by b { color: var(--text); font-weight: 600; }
.art-body h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 44px 0 12px; color: var(--gold-hi); }
.art-body p { font-size: 18px; line-height: 2; margin: 0; max-width: 66ch; }
html[lang="en"] .art-body p { line-height: 1.8; }
.art-end { margin-top: 56px; }
.refs { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hair); }
.refs h2 { font-size: 18px; margin: 0 0 14px; color: var(--gold-hi); }
.refs ol { margin: 0; padding-inline-start: 22px; display: grid; gap: 10px; direction: ltr; text-align: left; color: var(--mute); font: 400 14px/1.6 "IBM Plex Sans Arabic", system-ui, sans-serif; }
.art-meta .ev { color: var(--mute); }
@media (max-width: 920px) { .art-list, .art-list.three { grid-template-columns: 1fr; } }

/* Patient guide */
.g-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.guide { padding-block: 72px; }
.g-head { max-width: 780px; margin-bottom: 44px; }
.g-head h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; margin: 16px 0; line-height: 1.2; }
.g-intro { margin: 0; color: var(--mute); font-size: 18px; max-width: 62ch; }
.g-intro + .g-intro { margin-top: 12px; }
.g-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.g-block { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--hair); }
.g-block h3 { margin: 0; font-size: 21px; font-weight: 700; color: var(--gold-hi); }
.g-sub { margin: 72px 0 26px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--gold); counter-reset: step; }
.ladder li { counter-increment: step; padding: 26px 24px 4px; border-inline-start: 1px solid var(--hair); }
.ladder li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.ladder li::before { content: counter(step); display: block; margin-bottom: 12px; font: 800 44px/1 var(--display-ar, var(--font)); background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[lang="ar"] .ladder li::before { content: counter(step, arabic-indic); }
.ladder h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.ladder p { margin: 0; color: var(--mute); font-size: 15px; }
.myths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.myth { display: grid; gap: 8px; padding-block: 22px; border-top: 1px solid var(--hair); }
.myth p { margin: 0; }
.myth .m { color: var(--mute); }
.myth .f { font-size: 16.5px; }
.myth b { font-weight: 700; margin-inline-end: 8px; }
.myth .m b { color: #e58f8f; }
.myth .f b { color: var(--gold-hi); }
@media (max-width: 920px) {
  .g-grid, .myths { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; border-top: 0; }
  .ladder li, .ladder li:first-child { padding: 22px 0; border-inline-start: 0; border-top: 1px solid var(--hair); }
  .ladder li:first-child { border-top-color: var(--gold); }
}
@supports (animation-timeline: view()) {
  .g-block, .ladder li, .myth { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}

/* Instagram videos */
.reels-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.reels-head .sec-head { margin-bottom: 28px; }
.reels-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.rbtn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--gold-hi); background: none; border: 1px solid rgba(212,175,106,.4); transition: background .25s, color .25s; }
.rbtn:hover { background: var(--gold); color: var(--ink); }
.rbtn svg { width: 20px; height: 20px; }
html[dir="rtl"] .rbtn svg { transform: scaleX(-1); }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 250px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 8px 18px; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; overscroll-behavior-x: contain; }
.reel { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: var(--text); background: var(--navy); outline: 1px solid rgba(212,175,106,.2); outline-offset: -1px; transition: translate .45s cubic-bezier(.2,.7,.2,1), outline-color .3s; }
.reel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale .9s cubic-bezier(.2,.7,.2,1); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,18,42,.95) 0%, rgba(7,18,42,.4) 38%, transparent 62%); pointer-events: none; }
.reel:hover, .reel:focus-visible { translate: 0 -6px; outline-color: var(--gold); }
.reel:hover img { scale: 1.06; }
.play { position: absolute; z-index: 2; top: 44%; left: 50%; translate: -50% -50%; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi); background: rgba(7,18,42,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(242,222,176,.55); transition: background .3s, color .3s, scale .3s; }
.play::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s cubic-bezier(.2,.7,.2,1) infinite; }
@keyframes ping { from { opacity: .8; scale: 1; } to { opacity: 0; scale: 1.6; } }
.play svg { width: 22px; height: 22px; margin-inline-start: 3px; }
html[dir="rtl"] .play svg { margin-inline-start: 0; margin-inline-end: 3px; }
.reel:hover .play { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); color: var(--ink); scale: 1.08; }
.rmeta { position: absolute; z-index: 2; inset-inline: 16px; bottom: 16px; display: grid; gap: 6px; }
.rmeta time { font: 500 12px/1 var(--label); color: var(--gold); letter-spacing: .06em; }
.rmeta p { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reels-updated { margin: 6px 0 0; color: var(--mute); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .play::before { display: none; } }

/* WhatsApp */
:root { --wa: var(--gold); --wa-ink: var(--ink); }
.wa-btn, .wa-float, .wa-nav:hover { background-image: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); }
.wa-nav { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--wa); border: 1px solid rgba(212,175,106,.45); transition: background .25s, color .25s; }
.wa-nav svg { width: 20px; height: 20px; }
.wa-nav:hover { background: var(--wa); color: var(--wa-ink); }
.wa-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 64px; padding-block: 30px; border-block: 1px solid var(--hair); }
.wa-band > div:first-child { display: grid; gap: 10px; }
.wa-band h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.wa-note { margin: 0; color: var(--mute); font-size: 14.5px; max-width: 48ch; }
.wa-btn { background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 30px -12px rgba(212,175,106,.7); }
.wa-btn:hover { box-shadow: 0 14px 36px -10px rgba(212,175,106,.85); }
.wa-btn svg { width: 20px; height: 20px; }
.wa-float { position: fixed; z-index: 30; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 18px; margin-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px;
  background: var(--wa); color: var(--wa-ink); box-shadow: 0 12px 34px -8px rgba(0,0,0,.7), 0 0 0 0 rgba(212,175,106,.5); animation: wa-pulse 2.8s ease-out infinite; transition: transform .25s; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; }
@keyframes wa-pulse { 0% { box-shadow: 0 12px 34px -8px rgba(0,0,0,.7), 0 0 0 0 rgba(212,175,106,.5); } 70%, 100% { box-shadow: 0 12px 34px -8px rgba(0,0,0,.7), 0 0 0 16px rgba(212,175,106,0); } }
html.menu-open .wa-float { display: none; }
@media (max-width: 520px) { .wa-float { padding: 14px; } .wa-float > span { display: none; } .wa-nav { display: none; } }
footer { padding-bottom: 96px; }

/* Hero trust line */
.trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--mute); font-size: 14.5px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: "✦"; color: var(--gold); font-size: 12px; }
.hero > div > :nth-child(5) { animation-delay: .32s; }

/* ---------- Arabic type: Alexandria for headings, Almarai for text ----------
   XB Sols (library font 57) is kept for the home page's main headline and the doctor's name only.
   One face covers every weight, so it never gets a fake bold. It is limited to Arabic letters:
   Latin letters and digits beside it still come from Alexandria. */
@font-face {
  font-family: "XB Sols";
  src: url("/assets/fonts/XB-Sols.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
html[lang="ar"] {
  --font: "Almarai", "IBM Plex Sans Arabic", "Geeza Pro", system-ui, sans-serif;
  --display-ar: "Alexandria", "Almarai", "Geeza Pro", system-ui, sans-serif;
  --name-ar: "XB Sols", "Alexandria", "Almarai", "Geeza Pro", system-ui, sans-serif;
}
html[lang="ar"] :is(main .hero.wrap h1, main .hero.wrap .photo figcaption b, main[data-view="about"] .page-hero h1) { font-family: var(--name-ar); }
/* The gold words are painted through the text, and the paint stops at the line box. XB Sols draws its
   dots well below that (the two dots under «في»), so the painted area is stretched down to reach them.
   Vertical padding on an inline element does not move the lines. */
html[lang="ar"] main .hero.wrap h1 em { padding-block: .12em .5em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html[lang="ar"] body { font-family: var(--font); line-height: 1.85; }
html[lang="ar"] :is(h1, h2, h3, h4, .big-words, .mi, .num-big, .btn, .label, .links a, .photo figcaption b, .opt-tag, .pill-gold, .daypill, .hours, .fchip, .also-k, .ctag) { font-family: var(--display-ar); }
html[lang="ar"] h1 { font-weight: 800; line-height: 1.3; }
html[lang="ar"] .hero h1 { line-height: 1.28; letter-spacing: 0; }
html[lang="ar"] :is(h2, h3) { font-weight: 700; line-height: 1.45; }
html[lang="ar"] .big-words { font-weight: 700; line-height: 1.5; }
html[lang="ar"] .label { font-weight: 500; }
html[lang="ar"] .num-big { font-weight: 800; }

/* ---------- Navy ground ---------- */
body { background: radial-gradient(120% 60% at 50% -12%, var(--navy) 0%, var(--ink) 58%) fixed, var(--ink); }
.grain { background-image: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0,0,0,.55) 100%), radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px); background-size: 100% 100%, 3px 3px; opacity: 1; }

/* ---------- Luxury details ---------- */
.label { display: inline-flex; align-items: center; gap: 14px; }
.label::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); flex: none; }
html[dir="rtl"] .label::before { background: linear-gradient(270deg, var(--gold-lo), var(--gold-hi)); }
.sec-head h2 { letter-spacing: -.005em; }
section + section { position: relative; }
section + section::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(560px, 70%); height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,106,.35), transparent); }
.statement::before, #journey::before { display: none; }
::selection { background: rgba(212,175,106,.35); color: var(--text); }
.big-words .w { color: rgba(244,240,230,.22); }

/* ---------- Top bar: open, full width, no pill ---------- */
header { padding-block: 0; isolation: isolate; }
header::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0;
  background: linear-gradient(to bottom, rgba(7,18,42,.55), rgba(7,18,42,0));
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
header.scrolled { padding-block: 0; }
header.scrolled::after {
  background: rgba(7,18,42,.78);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: rgba(212,175,106,.28);
}
header nav.glass, header.scrolled nav.glass {
  background: none; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: 20px 0; transition: padding .35s ease;
}
header.scrolled nav.glass { padding: 10px 0; }
header .mark { height: 76px; transition: height .35s ease; }
header.scrolled .mark { height: 52px; }
.links { gap: 34px; }
.links a { position: relative; color: rgba(244,237,225,.72); font-size: 15.5px; font-weight: 500; padding-block: 6px; }
.links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold-lo)); transform: scaleX(0); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.links a:hover, .links a[aria-current="page"] { color: var(--text); }
.links a:hover::after, .links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-end { gap: 14px; }
.btn.ghost.lang { background: none; border: 0; box-shadow: none; padding: 8px 4px; color: var(--mute); font-weight: 500; }
.btn.ghost.lang:hover { color: var(--gold-hi); }
.btn.ghost.lang::after { display: none; }

.menu-btn { display: none; position: relative; z-index: 3; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.menu-btn i { position: absolute; inset-inline: 10px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .35s cubic-bezier(.2,.7,.2,1), top .35s; }
.menu-btn i:first-child { top: 17px; }
.menu-btn i:last-child { top: 26px; }
html.menu-open .menu-btn i:first-child { top: 21px; transform: rotate(45deg); }
html.menu-open .menu-btn i:last-child { top: 21px; transform: rotate(-45deg); }
header nav > a, .nav-end { position: relative; z-index: 3; }

.links a { white-space: nowrap; }
@media (max-width: 1360px) {
  nav { flex-wrap: nowrap; }
  header .mark { height: 58px; }
  header.scrolled .mark { height: 44px; }
  .menu-btn { display: block; }
  .links {
    position: fixed; inset: 0; z-index: 2; width: auto; order: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px));
    padding-block: 100px 60px; overflow-y: auto;
    background: rgba(7,18,42,.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s;
  }
  html.menu-open .links { opacity: 1; visibility: visible; transition: opacity .35s ease; }
  .links a { font-size: clamp(30px, 9vw, 44px); font-weight: 600; color: var(--text); padding-block: 8px; white-space: normal;
    translate: 0 16px; opacity: 0; transition: translate .5s cubic-bezier(.2,.7,.2,1), opacity .5s, color .2s; }
  html.menu-open .links a { translate: 0 0; opacity: 1; }
  html.menu-open .links a:nth-child(2) { transition-delay: .05s; }
  html.menu-open .links a:nth-child(3) { transition-delay: .1s; }
  html.menu-open .links a:nth-child(4) { transition-delay: .15s; }
  .links a::after { inset-inline-end: auto; width: 48px; }
  .links a[aria-current="page"] { color: var(--gold-hi); }
  html.menu-open, html.menu-open body { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .track-m { animation: none; }
  .big-words .w { color: var(--text); }
  .big-words .w.gold { color: var(--gold-hi); }
}

/* ================= Gloss: a polished, reflective finish ================= */
:root { --gloss: linear-gradient(to bottom, rgba(255,255,255,.62) 0%, rgba(255,255,255,.16) 46%, rgba(255,255,255,0) 50%, rgba(0,0,0,.10) 100%); }
/* Gold buttons: glassy highlight across the top half */
.btn:not(.ghost), .wa-float, .opt-tag, .pill-gold, .d .today {
  background-image: var(--gloss), linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -3px 8px rgba(120,82,14,.45), 0 12px 30px -12px rgba(212,175,106,.7);
  border: 1px solid rgba(255,246,214,.55);
}
.btn:not(.ghost):hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -3px 8px rgba(120,82,14,.45), 0 16px 40px -10px rgba(212,175,106,.9); }
/* Outline buttons and round controls: clear glass with a gloss line */
.btn.ghost:not(.lang), .rbtn, .wa-nav, .play {
  background-image: linear-gradient(to bottom, rgba(255,255,255,.20) 0%, rgba(255,255,255,.05) 48%, rgba(255,255,255,0) 52%);
  background-color: rgba(212,175,106,.07);
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(232,207,158,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 26px -14px rgba(0,0,0,.8);
}
/* Video covers: a reflection across the corner that slides on hover */
.reel::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.08) 24%, transparent 40%, transparent 60%, rgba(255,255,255,.10) 100%);
  background-size: 220% 220%; background-position: 0 0; transition: background-position .9s cubic-bezier(.2,.7,.2,1);
}
.reel:hover::before { background-position: 100% 100%; }
/* Top bar: polished glass once you scroll */
header.scrolled::after {
  background: linear-gradient(to bottom, rgba(255,255,255,.10), rgba(255,255,255,0) 55%), rgba(7,18,42,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 40px -18px rgba(0,0,0,.9);
}
/* Headline gold and section rules catch the light */
.label::before { box-shadow: 0 0 10px rgba(242,222,176,.6); }
.cta-band.glass, .wa-band { background: linear-gradient(to bottom, rgba(255,255,255,.045), rgba(255,255,255,0) 60%); }

/* ================= Hero background video ================= */
/* The stage slides up under the menu bar so the footage runs to the top of the page. */
main[data-view="home"] .hero-stage { margin-top: -116px; padding-top: 116px; }
/* The video box is taller than the stage and shifted up: the top strip of the frame,
   where the corner watermark sits, is always outside the visible area. */
.hero-video { position: absolute; z-index: 0; left: 0; top: -18%; width: 100%; height: 118%; object-fit: cover; object-position: 50% 26%; pointer-events: none; }
.hero-shade {
  position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(3,8,20,.74) 0%, rgba(3,8,20,.60) 38%, rgba(3,8,20,.84) 80%, var(--ink) 100%),
    linear-gradient(to left, rgba(3,8,20,.52), rgba(3,8,20,0) 62%);
}
html[dir="ltr"] .hero-shade {
  background:
    linear-gradient(to bottom, rgba(3,8,20,.74) 0%, rgba(3,8,20,.60) 38%, rgba(3,8,20,.84) 80%, var(--ink) 100%),
    linear-gradient(to right, rgba(3,8,20,.52), rgba(3,8,20,0) 62%);
}
@media (max-width: 920px) { main[data-view="home"] .hero-stage { margin-top: -98px; padding-top: 98px; } }

/* ================= Portraits: files are cropped to the figure, so always show all of it ================= */
.photo img { object-fit: contain; object-position: 50% 100%; }
main .hero.wrap .photo-card .photo img { aspect-ratio: 672 / 850; }
/* ================= Clinics: the branch is the headline of each card ================= */
.clinic .hosp { color: var(--mute); font-size: 14.5px; }
.clinic h3.branch { display: flex; align-items: center; gap: 12px; margin: -8px 0 8px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.3; color: var(--gold-hi); }
.clinic h3.branch svg { width: .78em; height: .78em; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.clinic > .k { color: var(--mute); font-size: 13.5px; margin-bottom: -8px; }
.daypill { font-size: 17px; }
.slot b { display: block; font-weight: 700; font-size: 13.5px; color: var(--gold-hi); }
.slot b span { display: inline; color: inherit; }

/* The caption sits under the photo, inside its column (older offsets pushed it sideways) */
.photo figcaption { inset: auto; }
/* Small line above the headline: room to wrap on narrow screens */
main .hero.wrap .label { line-height: 1.6; align-items: baseline; }
main .hero.wrap .label::before { align-self: center; }

/* ---------- Fit on every screen ---------- */
body { margin: 0; }
/* Gold words are painted through the letters, and the paint stops at the line box. It is stretched down
   so dots below the line (the two under «في») stay visible. Inline padding does not move the lines. */
h1 em { padding-block: .1em .4em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Phone numbers sit under their labels in Arabic, not on the far side */
html[dir="rtl"] .tel { text-align: right; }

/* Link from a condition to its own service page (live site only) */
.cmore { justify-self: start; color: var(--gold-hi); font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(212,175,106,.45); padding-bottom: 2px; }
.cmore:hover { color: var(--text); }

/* Portraits stand on the page with nothing behind them: no gold glow, no dark drop shadow around the figure */
.photo::before { display: none; }
.photo img { filter: none; }

/* The doctor's full name under the hero portrait, larger */
main .hero.wrap .photo figcaption b { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.35; }
@media (max-width: 920px) { main .hero.wrap .photo figcaption b { font-size: clamp(16px, 4vw, 28px); } }

/* Phones: label across the top, headline beside the portrait, then the intro and button at full width,
   so the headline and the text stay at a readable size */
@media (max-width: 600px) {
  main .hero.wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 8px; row-gap: 0; align-items: center; }   /* larger portrait */
  main .hero.wrap > div:first-child { display: contents; }
  main .hero.wrap .label { grid-column: 1 / -1; grid-row: 1; font-size: 12.5px; margin-bottom: 6px; }
  main .hero.wrap h1 { grid-column: 1; grid-row: 2; font-size: clamp(25px, 7.4vw, 36px); margin-block: 0; }
  main .hero.wrap h1 em::before { content: "\A"; white-space: pre; }   /* the gold half starts its own line, as before */
  /* Arabic headline: the white words on one line and the gold words on the next. The headline column is
     45% of the screen less 18px, and the longer (white) line is about 6.4em wide in this font, so the size follows the screen. */
  html[lang="ar"] main .hero.wrap h1 { font-size: min(calc((45vw - 18px) / 6.6), 36px); }
  html[lang="ar"] main .hero.wrap h1 > [data-l] { white-space: nowrap; }
  html[lang="en"] main .hero.wrap h1 { font-size: clamp(24px, 6.6vw, 32px); }
  /* The doctor's name sits centred under the portrait */
  main .hero.wrap .photo figcaption { justify-items: center; text-align: center; }
  main .hero.wrap .card-id.photo-card { grid-column: 2; grid-row: 2; }
  main .hero.wrap .lede { grid-column: 1 / -1; grid-row: 3; font-size: 15px; line-height: 1.85; max-width: none; margin: 18px 0; }
  main .hero.wrap .cta { grid-column: 1 / -1; grid-row: 4; }
  main .hero.wrap .trust { grid-column: 1 / -1; grid-row: 5; }
  main .hero.wrap .btn { font-size: 15px; padding: 13px 20px; }
  main .hero.wrap .pill-gold { display: none; }   /* the line above the headline already names the fellowship */
}

/* Treatment journey: a vertical list below laptop width, instead of a strip that hides steps off screen */
@media (max-width: 900px) {
  .journey { overflow-x: visible; }
  .track { min-width: 0; grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .track::before { inset-inline: auto; inset-inline-start: 17.5px; top: 18px; bottom: 18px; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), var(--champagne) 80%, transparent); }
  .step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; align-items: start; padding-inline-end: 0; }
  .step .num { grid-row: 1 / span 2; margin-bottom: 0; }
  .step h4, .step p { grid-column: 2; }
}

/* Weekly schedule: one day per row on phones, instead of a table that runs off screen */
@media (max-width: 720px) {
  .week { overflow-x: visible; }
  .days { min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .d, .d:first-child { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-inline-start: 0; border-top: 1px solid var(--hair); }
  .d:first-child { border-top: 0; }
  .d > b { flex: none; }
}

/* Menu: a narrow panel on the menu button's side with normal-size links, instead of a full-screen list
   of huge words. The rest of the page dims behind it, and a tap there closes it. */
@media (max-width: 1360px) {
  header nav .links {
    inset: 0; inset-inline-start: auto; width: min(290px, 78vw);
    justify-content: flex-start; align-items: stretch; gap: 0;
    padding-block: 100px 28px; padding-inline: 24px;
    background: rgba(7,18,42,.97);
    border-inline-start: 1px solid rgba(212,175,106,.22);
    box-shadow: 0 0 0 100vmax rgba(2,6,16,.55);
  }
  header nav .links a { font-size: 17px; font-weight: 500; line-height: 1.6; padding-block: 13px; border-bottom: 1px solid rgba(225,195,140,.12); translate: 0 8px; }
  html.menu-open header nav .links a { translate: 0 0; }
  header nav .links a:last-child { border-bottom: 0; }
  header nav .links a::after { display: none; }
}

/* Erectile-dysfunction menu: a dropdown under the link on wide screens, an indented sub-list in the side menu */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd .dd-top { display: inline-flex; align-items: center; gap: 7px; }
.nav-dd .dd-top i { width: 6px; height: 6px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-dd .dd-menu { position: absolute; top: calc(100% + 12px); inset-inline-start: -16px; z-index: 5; min-width: 270px; display: grid; padding: 8px;
  background: rgba(7,18,42,.97); border: 1px solid rgba(212,175,106,.28); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.75);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.nav-dd::after { content: ""; position: absolute; inset-inline: -16px; top: 100%; height: 16px; }
.nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.links .dd-menu a { padding: 10px 12px; border-radius: 9px; font-size: 14.5px; color: var(--text); }
.links .dd-menu a::after { display: none; }
.links .dd-menu a:hover { background: rgba(212,175,106,.1); color: var(--gold-hi); }
@media (max-width: 1360px) {
  .nav-dd { display: block; border-bottom: 1px solid rgba(225,195,140,.12); }
  .nav-dd::after, .nav-dd .dd-top i { display: none; }
  header nav .links .nav-dd .dd-top { display: flex; border-bottom: 0; }
  .nav-dd .dd-menu { position: static; min-width: 0; padding: 0 0 10px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  header nav .links .dd-menu a { font-size: 15px; padding-block: 8px; padding-inline: 14px 0; border-bottom: 0; border-radius: 0; color: var(--mute); border-inline-start: 1px solid rgba(212,175,106,.3); }
}

/* Credentials under the hero (the moving strip above them is gone): an open row, each item marked by a short
   gold line at its start; no cells and no dividing lines. Two columns on tablets, one list on phones. */
.creds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 34px 30px; border-bottom: 0; }
.creds .cred, .creds .cred:first-child, .creds .cred:nth-child(odd), .creds .cred:nth-child(n+3) {
  position: relative; padding: 0; padding-inline-start: 18px; border: 0; }
.cred::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; bottom: .3em; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
@media (max-width: 920px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; padding-block: 28px 24px; } }
@media (max-width: 520px) { .creds { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 24px 20px; } }

/* Hero portrait: the name sits directly under the picture, centred, on every screen; no gold box under it */
main .hero.wrap .photo figcaption { justify-items: center; text-align: center; margin-top: 0; }
main .hero.wrap .photo figcaption .pill-gold { display: none; }


/* footer links (hosting copy) */
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.foot-links a { color: var(--mute); text-decoration: none; }
.foot-links a:hover { color: var(--gold-hi); }
