/* =========================================================
   Dr. Salah Aldekhayel — Plastic & Reconstructive Surgery
   Design system: ink / ivory / bronze. Editorial, restrained.
   Works in both LTR (en) and RTL (ar) via logical properties.
   ========================================================= */

/* =========================================================
   BRAND TOKENS — Dr. Salah Aldekhayel
   Identity (confirmed 7 Aug 2026): royal blue #005CAB + gold #A98545,
   deep navy #0E2A4E for dark surfaces. Two colours only.
   Theme variants are selected by <html data-theme="...">:
     (default)      light-clinical  — white/ivory, blue headings, gold accents
     data-theme=navy    navy-hero   — light page, deep-navy hero & dark sections
     data-theme=deep    deep-navy   — navy dominant throughout
   ========================================================= */
:root {
  /* brand constants — never change per theme */
  --blue:       #005CAB;
  --blue-deep:  #00457F;
  --blue-pale:  #99CEEC;
  --navy:       #0E2A4E;
  --navy-2:     #14355F;
  --gold:       #A98545;
  --gold-light: #D3BC8D;
  --champagne:  #E8D9B8;

  --ink:        #12161B;
  --ink-2:      #1C222A;
  --ink-soft:   #4A535F;
  --muted:      #7A8492;
  --paper:      #FBFAF7;
  --paper-2:    #F2EFE9;
  --paper-3:    #E9E4DB;
  --line:       #DFD9CE;
  --line-soft:  #EAE5DC;
  --bronze:     var(--gold);        /* legacy alias -> brand gold */
  --bronze-light:var(--gold-light);  /* legacy alias */
  --white:      #FFFFFF;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(18,22,27,.04), 0 4px 14px rgba(18,22,27,.05);
  --shadow-md: 0 2px 6px rgba(18,22,27,.05), 0 18px 48px rgba(18,22,27,.09);

  --ease: cubic-bezier(.22,.61,.36,1);

  --font-en-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-en-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-ar-display: "Amiri", "Noto Naskh Arabic", "Sakkal Majalla", "Traditional Arabic", Georgia, serif;
  --font-ar-body:    "IBM Plex Sans Arabic", "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ---------- THEME VARIANTS ---------- */
/* 1 · light-clinical (default): paper stays warm-neutral, blue leads, gold accents */
:root {
  --ink:        #12161B;
  --heading:    var(--blue-deep);
  --accent:     var(--gold);
  --dark-bg:    var(--navy);
  --dark-fg:    #F5F8FC;
  --dark-accent:var(--gold-light);
}

/* 2 · navy-hero: same light page, but hero and dark bands go deep navy */
html[data-theme="navy"] {
  --paper:   #FFFFFF;
  --paper-2: #F4F7FA;
  --paper-3: #E7EEF5;
  --line:    #D8E2ED;
  --line-soft:#EAF0F6;
  --heading: var(--blue-deep);
  --accent:  var(--gold);
  --dark-bg: var(--navy);
  --dark-fg: #F5F8FC;
}

/* 3 · deep-navy: navy dominant, gold accents, ivory text */
html[data-theme="deep"] {
  --paper:   #0E2A4E;
  --paper-2: #123A64;
  --paper-3: #16406F;
  --ink:     #F2F6FA;
  --ink-2:   #E6EDF5;
  --ink-soft:#C6D5E6;
  --muted:   #93A9C2;
  --line:    #23507F;
  --line-soft:#1B4270;
  --white:   #0E2A4E;
  --heading: #FFFFFF;
  --accent:  var(--gold-light);
  --dark-bg: #08203E;
  --dark-fg: #F5F8FC;
}

/* brand mark: real logo artwork replaces the old SA monogram circle */
.brand-mark {
  width: auto !important; height: 46px !important;
  border: 0 !important; border-radius: 0 !important;
  display: inline-flex !important; align-items: center;
}
.brand-mark .logo-fig { height: 46px; width: auto; display: block; }
.brand-name { color: var(--blue); }
html[data-theme="deep"] .brand-name { color: #FFFFFF; }
.footer .brand-name { color: inherit; }

/* ---------- language-scoped typography ---------- */
html[lang="en"] { --font-display: var(--font-en-display); --font-body: var(--font-en-body); }
html[lang="ar"] { --font-display: var(--font-ar-display); --font-body: var(--font-ar-body); }

/* Arabic needs slightly more line-height and less letter-spacing */
html[lang="ar"] { --lh-body: 2.0; --ls-h: 0; --ls-eyebrow: .10em; }
html[lang="en"] { --lh-body: 1.75; --ls-h: -.015em; --ls-eyebrow: .18em; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* `overflow-x: hidden` on body makes it a scroll container, and that kills
     `position: sticky` for everything inside it — which is why the contents
     list on the procedure pages sat still while the page scrolled. `clip`
     stops the same horizontal overflow without creating a scrollport. The
     `hidden` line stays first as the fallback for anything that does not
     support `clip`. */
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 780px; }
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--dark-bg); color: #E8E4DC; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: var(--ls-h); margin: 0; line-height: 1.15; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.5; font-weight: 700; }

.h-xl { font-size: clamp(38px, 6.6vw, 76px); }
.h-lg { font-size: clamp(30px, 4.4vw, 52px); }
.h-md { font-size: clamp(24px, 3vw, 34px); }
.h-sm { font-size: clamp(20px, 2.2vw, 25px); }

/* Arabic sets larger at the same px value and wraps to more lines, so the
   display scale is dialled back and line-height tightened. */
html[lang="ar"] .h-xl { font-size: clamp(31px, 4.9vw, 58px); line-height: 1.42; }
html[lang="ar"] .h-lg { font-size: clamp(26px, 3.5vw, 42px); line-height: 1.45; }
html[lang="ar"] .h-md { font-size: clamp(22px, 2.6vw, 30px); }
html[lang="ar"] .h-sm { font-size: clamp(19px, 2vw, 23px); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
html[lang="ar"] .eyebrow { text-transform: none; font-size: 13px; letter-spacing: 0; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--bronze); opacity: .55; flex: none; }
.section--ink .eyebrow { color: var(--bronze-light); }
.section--ink .eyebrow::before { background: var(--bronze-light); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #000; box-shadow: var(--shadow-md); }

.btn--wa { background: #1FA855; color: #fff; }
.btn--wa:hover { background: #17904699; background: #178f46; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(18,22,27,.03); }

/* Ghost buttons sitting on any dark surface */
.section--ink .btn--ghost,
.hero .btn--ghost,
.page-head .btn--ghost { border-color: rgba(232,228,220,.32); color: #E8E4DC; }
.section--ink .btn--ghost:hover,
.hero .btn--ghost:hover,
.page-head .btn--ghost:hover { border-color: rgba(232,228,220,.72); background: rgba(255,255,255,.07); color: #fff; }

.btn--sm { padding: 11px 18px; font-size: 14px; min-height: 44px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  color: var(--bronze);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--bronze); gap: 13px; }
.link-arrow .chev { transition: transform .25s var(--ease); }
html[dir="rtl"] .link-arrow .chev { transform: scaleX(-1); }

/* ---------- top utility bar ---------- */
/* The strip stays with the header on scroll — his call, 19 Nov. It carries
   the phone number, the clinic name and the language switch, which are the
   three things a visitor reaches for at any point in the page, so they
   should not be something you have to scroll back up to find.
   --chrome-h is the combined height; anchor landings and the sticky
   contents list both offset against it. */
:root { --util-h: 40px; --chrome-h: 114px; --bar-h: 0px; }
.util {
  position: sticky; top: 0; z-index: 61;
  background: var(--ink);
  color: rgba(232,228,220,.78);
  font-size: 13px;
  font-family: var(--font-body);
}
.util .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: var(--util-h); }
.util a { transition: color .2s var(--ease); }
.util a:hover { color: #fff; }
.util-left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.util-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.util-item svg { width: 14px; height: 14px; opacity: .6; flex: none; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(232,228,220,.28);
  border-radius: 999px; padding: 4px 13px;
  font-size: 12.5px; letter-spacing: .02em;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.lang-switch:hover { border-color: rgba(232,228,220,.6); background: rgba(255,255,255,.06); }
@media (max-width: 720px) { .util .util-left .hide-sm { display: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: var(--util-h); z-index: 60;
  background: rgba(251,250,247,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck { border-color: var(--line-soft); box-shadow: 0 1px 24px rgba(18,22,27,.05); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }

.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--bronze);
  display: grid; place-items: center;
  font-family: var(--font-en-display);
  font-size: 15px; letter-spacing: .06em; color: var(--bronze);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: var(--ls-h); }
html[lang="ar"] .brand-name { font-size: 19px; }
.brand-sub { font-family: var(--font-body); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .brand-sub { font-size: 12px; letter-spacing: 0; text-transform: none; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  font-family: var(--font-body); font-size: 15px; color: var(--ink-soft);
  padding-block: 6px; position: relative; transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: var(--to, left); transition: transform .3s var(--ease);
}
html[dir="rtl"] .nav a::after { --to: right; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
@media (max-width: 1040px) { .nav { display: none; } }
@media (max-width: 560px) { .header-cta .btn span { display: none; } .header-cta .btn { padding: 12px; } }
/* The English sub-line ("CONSULTANT PLASTIC & RECONSTRUCTIVE SURGERY") is far
   longer than the Arabic one, and `.brand { flex: none }` meant it could not
   shrink — so on English phones it pushed the WhatsApp button and the burger
   clean off the screen, leaving no way to open the navigation. `overflow-x:
   hidden` on body had been hiding that rather than fixing it. Let the brand
   shrink and the sub-line wrap. */
@media (max-width: 700px) {
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand-sub { font-size: 9.5px; letter-spacing: .05em; white-space: normal; }
  html[lang="ar"] .brand-sub { font-size: 11px; }
}

/* mobile menu */
.burger {
  display: none; background: none; border: 1px solid var(--line);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: background-color .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1040px) { .burger { display: inline-flex; } }

.mobile-nav {
  /* follows --chrome-h, so the drawer stays flush under the header instead
     of floating 40px below it once the strip has scrolled away */
  position: fixed; inset-block-start: var(--chrome-h); inset-inline: 0; z-index: 55;
  background: var(--paper); border-block-end: 1px solid var(--line);
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
}
/* Reaches down to just above the fixed action bar rather than stopping at
   70vh, which cut the last row in half and let page content show through
   underneath. dvh so the iOS address bar collapsing does not clip it. */
.mobile-nav.open {
  max-height: calc(100dvh - var(--chrome-h) - var(--bar-h));
  overflow-y: auto; overscroll-behavior: contain;
  box-shadow: var(--shadow-md);
}
@supports not (height: 100dvh) {
  .mobile-nav.open { max-height: calc(100vh - var(--chrome-h) - var(--bar-h)); }
}
.mobile-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 24px; }
.mobile-nav li { border-block-end: 1px solid var(--line-soft); }
.mobile-nav li:last-child { border: 0; }
.mobile-nav a { display: block; padding: 16px 2px; font-size: 17px; font-family: var(--font-body); }

/* ---------- hero ---------- */
.hero {
  background: var(--dark-bg);
  color: #EDE9E1;
  position: relative;
  overflow: hidden;
  padding-block: clamp(76px, 12vw, 150px) clamp(70px, 10vw, 128px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(211,188,141,.18), transparent 62%),
    radial-gradient(90% 70% at 10% 100%, rgba(0,92,171,.20), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 100% 3px;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 860px; }
.hero h1 { color: #FBF8F2; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--bronze-light); }
html[lang="ar"] .hero h1 em { font-style: normal; }
.hero .lede { color: rgba(237,233,225,.76); max-width: 62ch; font-size: clamp(17px, 1.9vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-actions .btn--primary { background: var(--paper); color: var(--ink); }
.hero-actions .btn--primary:hover { background: #fff; }

.hero-creds {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid rgba(237,233,225,.14);
  font-family: var(--font-body); font-size: 13.5px; color: rgba(237,233,225,.62);
}
.hero-creds span { display: inline-flex; align-items: center; gap: 9px; }
.hero-creds span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--bronze-light); flex: none; }

/* ---------- credential cards ---------- */
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cred {
  background: var(--paper); padding: 34px clamp(18px, 2.4vw, 30px);
  display: flex; flex-direction: column; gap: 9px;
}
.cred-k { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); color: var(--bronze); line-height: 1; }
html[lang="ar"] .cred-k { font-family: var(--font-en-display); }
.cred-t { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; }
.cred-d { font-family: var(--font-body); font-size: 13.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 860px) { .cred-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cred-grid { grid-template-columns: 1fr; } }

/* ---------- generic grids ---------- */
.grid { display: grid; gap: clamp(20px, 2.6vw, 34px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- procedure cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.8vw, 34px);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card-ico { width: 34px; height: 34px; color: var(--bronze); }
.card-ico svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }
.card h3 { font-size: 21px; }
html[lang="ar"] .card h3 { font-size: 22px; }
.card p { font-family: var(--font-body); font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: 6px; }

/* ---------- steps / journey ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px);
  padding-block: 30px; border-block-end: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-block-end: 0; }
.step-n {
  counter-increment: s;
  font-family: var(--font-en-display); font-size: 15px; color: var(--bronze);
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; flex: none;
}
.step-n::before { content: "0" counter(s); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { font-family: var(--font-body); font-size: 15.5px; color: var(--ink-soft); margin: 0; }

/* ---------- quote / statement ---------- */
.statement { max-width: 940px; }
.statement p {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.2vw, 38px);
  line-height: 1.35; color: #F3EFE7;
}
html[lang="ar"] .statement p { line-height: 1.75; }
.statement footer { margin-top: 26px; font-family: var(--font-body); font-size: 14px; color: rgba(232,228,220,.55); }

/* ---------- FAQ / accordion ---------- */
.faq { border-block-start: 1px solid var(--line); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 500;
  transition: color .2s var(--ease);
}
html[lang="ar"] .faq summary { font-weight: 700; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--bronze); }
.faq .sign { flex: none; width: 20px; height: 20px; position: relative; margin-top: 6px; }
.faq .sign::before, .faq .sign::after {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 20px; height: 1px; background: var(--bronze);
  transition: transform .3s var(--ease);
}
.faq .sign::after { transform: rotate(90deg); }
.faq details[open] .sign::after { transform: rotate(0deg); }
.faq .answer { padding: 0 0 26px; max-width: 74ch; }
.faq .answer p { font-family: var(--font-body); font-size: 16px; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 16px; padding-block: 20px; border-block-end: 1px solid var(--line); align-items: start; }
.contact-list li:last-child { border: 0; }
.contact-list svg { width: 20px; height: 20px; color: var(--bronze); stroke: currentColor; fill: none; stroke-width: 1.3; margin-top: 3px; }
.contact-list .k { font-family: var(--font-body); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 3px; }
html[lang="ar"] .contact-list .k { letter-spacing: 0; text-transform: none; font-size: 13px; }
.contact-list .v { font-family: var(--font-body); font-size: 16.5px; }
.map-frame { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted); font-family: var(--font-body); font-size: 14px; }

/* ---------- notice / compliance ---------- */
.notice {
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--bronze);
  background: var(--paper-2);
  border-radius: var(--r-sm);
  padding: 22px 26px;
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft);
  line-height: 1.75;
}
.notice strong { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark-bg); color: rgba(232,228,220,.72); font-family: var(--font-body); font-size: 14.5px; }
.site-footer .section { padding-block: clamp(52px, 6vw, 80px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 4vw, 60px); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(232,228,220,.45); margin-bottom: 18px; font-weight: 600; }
html[lang="ar"] .site-footer h4 { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-mark { border-color: var(--bronze-light); color: var(--bronze-light); }
.footer-brand .brand-name { color: #F0ECE4; }
.footer-brand .brand-sub { color: rgba(232,228,220,.45); }
.footer-about { margin-top: 20px; max-width: 42ch; line-height: 1.8; color: rgba(232,228,220,.55); font-size: 14px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(232,228,220,.2);
  display: grid; place-items: center; transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.socials a:hover { border-color: rgba(232,228,220,.55); background: rgba(255,255,255,.06); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-block: 26px;
  border-top: 1px solid rgba(232,228,220,.12);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: 13px; color: rgba(232,228,220,.42);
}
.footer-legal { max-width: 78ch; font-size: 12.5px; line-height: 1.8; color: rgba(232,228,220,.38); padding-bottom: 30px; }

/* ---------- sticky mobile action bar ---------- */
.action-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 70;
  display: none; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 28px rgba(18,22,27,.1);
}
.action-bar a {
  flex: 1; background: var(--paper); padding: 13px 8px 15px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-family: var(--font-body); font-size: 11.5px; color: var(--ink-soft);
}
html[lang="ar"] .action-bar a { font-size: 12.5px; }
.action-bar a.primary { background: #1FA855; color: #fff; }
.action-bar svg { width: 19px; height: 19px; }
@media (max-width: 780px) {
  /* --bar-h belongs on THIS breakpoint, not the 720px one: the action bar
     appears at 780 and is 78px tall, so the drawer was overlapping it by 8px
     between the two widths. body padding follows the same variable rather
     than a second hardcoded number that can drift from it. */
  :root { --bar-h: 80px; }
  .action-bar { display: flex; }
  body { padding-bottom: var(--bar-h); }
}

/* ---------- page header (interior pages) ---------- */
.page-head { background: var(--dark-bg); color: #EDE9E1; padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(100% 90% at 85% 10%, rgba(192,164,114,.14), transparent 60%);
}
.page-head .wrap { position: relative; z-index: 2; }

/* ---- Procedure header with media -------------------------------------
   The procedure image sits inside the header band, on the inline-END half
   (left in Arabic, right in English), masked so its inner edge dissolves
   into the header wash. Adopted 16 Nov 2026 — the image is a symbol for the
   procedure, so it belongs in the masthead, not as a figure in the article. */
.page-head--media { padding-block: clamp(56px, 7.5vw, 104px); }
.page-head--media .ph-media {
  position: absolute; inset-block: 0; inset-inline-end: 0; z-index: 1;
  width: clamp(360px, 50%, 820px);
  --ph-fade: to left;
}
html[dir="rtl"] .page-head--media .ph-media { --ph-fade: to right; }
.page-head--media .ph-media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 52% 46%;
  -webkit-mask-image: linear-gradient(var(--ph-fade), #000 62%, transparent 100%);
          mask-image: linear-gradient(var(--ph-fade), #000 62%, transparent 100%);
}
.page-head--media .wrap { padding-inline-end: clamp(0px, 44%, 700px); }
.page-head--media h1 { max-width: 16ch; }
.page-head--media .lede { max-width: 42ch; }

/* Phone: the band becomes a full-bleed masthead image with the title under it. */
@media (max-width: 900px) {
  .page-head--media { padding-block: 0 clamp(34px, 7vw, 52px); }
  .page-head--media .wrap {
    padding-inline-end: 0;
    padding-top: clamp(26px, 5.5vw, 38px);
  }
  .page-head--media h1, .page-head--media .lede { max-width: none; }
  .page-head--media .ph-media {
    position: static; width: auto;
    height: clamp(230px, 58vw, 360px);
  }
  .page-head--media .ph-media img {
    object-position: 52% 34%;
    -webkit-mask-image: none; mask-image: none;
  }
}
.page-head h1 { color: #FBF8F2; max-width: 20ch; }
.page-head .lede { color: rgba(237,233,225,.72); max-width: 60ch; margin-top: 18px; }
.crumbs { font-family: var(--font-body); font-size: 13px; color: rgba(237,233,225,.5); margin-bottom: 20px; display: flex; gap: 9px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }

/* ---------- prose (procedure pages) ---------- */
.prose { max-width: 74ch; overflow-wrap: break-word; }
.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 52px; margin-bottom: 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin-top: 32px; margin-bottom: 10px; }
.prose p { font-size: 17px; color: var(--ink-soft); }
.prose ul { padding-inline-start: 22px; margin: 0 0 1.2em; color: var(--ink-soft); }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--bronze); }
.prose strong { color: var(--ink); font-weight: 600; }

.aside-box {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 28px; margin-block: 34px;
}
.aside-box h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; font-weight: 600; }
html[lang="ar"] .aside-box h4 { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.aside-box p, .aside-box li { font-size: 15px; margin-bottom: .5em; }

/* `align-self: start` is load-bearing: as a plain grid item the aside
   stretches to the full height of the row, so a sticky box has no room to
   travel inside it and never moves. */
.toc { position: sticky; top: calc(var(--chrome-h) + 26px); align-self: start; }
.toc h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
html[lang="ar"] .toc h4 { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding-inline-start: 16px; font-family: var(--font-body); font-size: 14.5px; color: var(--ink-soft); border-inline-start: 1px solid transparent; margin-inline-start: -1px; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--bronze); border-color: var(--bronze); }
.layout-doc { display: grid; grid-template-columns: 230px 1fr; gap: clamp(30px, 5vw, 72px); }
/* minmax(0, 1fr), not 1fr: a plain 1fr will not shrink below its content's
   min-content width, so one long English word held the column wider than
   the screen at 320px. */
@media (max-width: 940px) { .layout-doc { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } .toc ul, .toc h4 { display: none; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--paper-2); border-block: 1px solid var(--line); }
.cta-band .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 36px); max-width: 22ch; }
.cta-band p { font-family: var(--font-body); font-size: 15.5px; color: var(--ink-soft); margin-top: 10px; max-width: 46ch; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- focus ---------- */
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 2px; }

/* ---------- print ---------- */
@media print {
  .util, .site-header, .action-bar, .mobile-nav, .cta-band { display: none !important; }
  body { background: #fff; }
  .hero, .page-head, .section--ink, .site-footer { background: #fff !important; color: #000 !important; }
}


/* ---------- media / featured videos ---------- */
.media-band { background: var(--paper-2); }
.media-grid {
  display: grid; gap: 14px; margin-top: clamp(20px, 3vw, 34px);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.media-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-md);
  text-decoration: none; color: inherit;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.media-card:hover {
  border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.media-play { flex: none; width: 30px; height: 30px; color: var(--gold); }
.media-play svg { width: 100%; height: 100%; display: block; }
.media-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.media-title { font-family: var(--font-display); font-size: 17px; color: var(--blue); line-height: 1.4; }
html[data-theme="deep"] .media-title { color: #FFFFFF; }
.media-outlet {
  font-family: var(--font-body); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
html[lang="ar"] .media-outlet { letter-spacing: 0; text-transform: none; font-size: 13px; }


/* ---------- brand colour application ---------- */
.h-lg, .h2, h1, h2 { color: var(--heading); }
.hero h1, .page-head h1, .section--ink h2, .cta-band h2, .site-footer h2,
.hero .h-lg, .page-head .h-lg { color: inherit; }
.eyebrow { color: var(--accent); }
a:not(.btn):not(.brand):not(.media-card) { color: var(--blue); }
html[data-theme="deep"] a:not(.btn):not(.brand):not(.media-card) { color: var(--gold-light); }
.hero a:not(.btn), .site-footer a:not(.btn), .page-head a:not(.btn) { color: inherit; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.hero-actions .btn--primary { background: var(--paper); color: var(--blue-deep); }
html[data-theme="deep"] .hero-actions .btn--primary { background: var(--gold-light); color: var(--navy); }
.cred-k { color: var(--blue); }
html[data-theme="deep"] .cred-k { color: var(--gold-light); }


/* =========================================================
   THEME 1 · LIGHT-CLINICAL — a genuinely light site.
   No dark hero: the hero and page headers become pale blue
   with blue type. This is what distinguishes it from theme 2,
   which keeps light pages but a deep-navy hero.
   ========================================================= */
html[data-theme="light"] .hero,
html[data-theme="light"] .page-head {
  background: linear-gradient(168deg, #FFFFFF 0%, #F1F6FB 46%, #E7EFF8 100%);
  color: var(--ink);
  border-bottom: 1px solid #DFE8F2;
}
html[data-theme="light"] .hero::before {
  background:
    radial-gradient(120% 80% at 82% 0%, rgba(169,133,69,.13), transparent 60%),
    radial-gradient(90% 70% at 8% 100%, rgba(0,92,171,.09), transparent 62%);
}
html[data-theme="light"] .hero::after { display: none; }
html[data-theme="light"] .page-head::before {
  background: radial-gradient(100% 90% at 85% 10%, rgba(169,133,69,.12), transparent 60%);
}
html[data-theme="light"] .hero h1,
html[data-theme="light"] .page-head h1 { color: var(--blue-deep); }
html[data-theme="light"] .hero h1 em { color: var(--gold); }
html[data-theme="light"] .hero .lede,
html[data-theme="light"] .page-head .lede { color: var(--ink-soft); }
html[data-theme="light"] .crumbs { color: var(--muted); }
html[data-theme="light"] .hero-creds {
  border-top-color: #D8E3EF;
  color: var(--ink-soft);
}
html[data-theme="light"] .hero-creds span::before { background: var(--gold); }
html[data-theme="light"] .hero-actions .btn--primary {
  background: var(--blue); color: #fff;
}
html[data-theme="light"] .hero-actions .btn--primary:hover { background: var(--blue-deep); }
html[data-theme="light"] .hero .btn--ghost,
html[data-theme="light"] .page-head .btn--ghost {
  border-color: rgba(0,92,171,.32); color: var(--blue-deep);
}
html[data-theme="light"] .hero .btn--ghost:hover,
html[data-theme="light"] .page-head .btn--ghost:hover {
  border-color: var(--blue); background: rgba(0,92,171,.05); color: var(--blue-deep);
}
/* mid-page dark band keeps rhythm but softens to a blue-tinted ink */
html[data-theme="light"] { --dark-bg: #14243A; }

/* THEME 2 · NAVY-HERO — pure white pages, deep navy hero (unchanged dark surfaces) */
html[data-theme="navy"] .hero { border-bottom: 0; }


/* ---------- procedure imagery + mandatory disclaimer ---------- */
.proc-figure { margin: 0 0 clamp(26px, 3.5vw, 42px); }
.proc-figure img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.proc-figure-cap {
  display: flex; align-items: flex-start; gap: 9px;
  margin-top: 11px; padding-inline-start: 2px;
  font-family: var(--font-body);
  font-size: 12.5px; line-height: 1.7; color: var(--muted);
}
html[lang="ar"] .proc-figure-cap { font-size: 13.5px; line-height: 1.9; }
.disclaimer-mark { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--gold); }
.disclaimer-mark svg { width: 100%; height: 100%; display: block; }
@media (max-width: 640px) { .proc-figure img { aspect-ratio: 4 / 3; } }

/* ---- Theme 3 (deep navy): header legibility ---------------------------
   His pick, 16 Nov, with one correction: the header text must be dark.
   Two things were wrong. The utility strip is painted with var(--ink),
   which is near-white in this theme, so a dark strip became a pale one
   with pale text on it. And the sticky header bar stays light in every
   theme, but deep's --ink-soft is pale blue and the global
   `a:not(.btn)` rule turns links gold — so the nav was gold-on-cream.
   Here the strip goes back to navy, and everything in the light header
   bar is forced to dark navy. The :not() chain is only there to outrank
   that global link rule.                                               */
html[data-theme="deep"] .util {
  background: var(--dark-bg);
  color: rgba(232, 228, 220, .78);
}
html[data-theme="deep"] .site-header { background: rgba(251, 250, 247, .94); }
html[data-theme="deep"] .site-header .brand-name { color: var(--blue-deep); }
html[data-theme="deep"] .site-header .brand-sub  { color: #5A6B7E; }
html[data-theme="deep"] .site-header .nav a:not(.btn):not(.brand) { color: var(--navy); }
html[data-theme="deep"] .site-header .nav a:not(.btn):not(.brand):hover,
html[data-theme="deep"] .site-header .nav a:not(.btn):not(.brand)[aria-current="page"] {
  color: var(--blue);
}
html[data-theme="deep"] .site-header.is-stuck { border-color: #D9E2EC; }

/* ---- Media cards with a thumbnail -------------------------------------
   His request, 17 Nov: show a frame from each interview — him, the host and
   the channel — rather than a text-only card. The card becomes a vertical
   stack: 16:9 still on top, title and outlet beneath, play button overlaid
   on the image instead of sitting beside the text.                      */
.media-card.has-thumb {
  flex-direction: column; align-items: stretch;
  gap: 0; padding: 0; overflow: hidden;
}
.media-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9;
  background: var(--paper-2); overflow: hidden;
}
.media-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.media-card.has-thumb:hover .media-thumb img { transform: scale(1.03); }
.media-thumb .media-play {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  transform: translate(-50%, -50%); width: 46px; height: 46px;
  color: #FFFFFF; filter: drop-shadow(0 2px 10px rgba(0,0,0,.45));
}
html[dir="rtl"] .media-thumb .media-play { transform: translate(50%, -50%); }
.media-card.has-thumb .media-body { padding: 15px 18px 17px; gap: 4px; }

/* ---- Procedure cards that lead with a photograph ----------------------
   Added 17 Nov 2026. The six procedure images were each used once, on their
   own page, while every card grid was text with a small gold icon — so the
   home page and the procedures index read as typeset rather than
   photographed. The card keeps its old shape; the image replaces the icon
   as a 16:10 band across the top, and the text moves into its own wrapper
   so the padding still applies to it alone.                             */
.card--shot { padding: 0; overflow: hidden; }
.card-shot {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--paper-2); border-block-end: 1px solid var(--line-soft);
}
.card-shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  object-position: 52% 50%;
  transition: transform .6s var(--ease);
}
a.card--shot:hover .card-shot img { transform: scale(1.04); }
.card--shot .card-text {
  display: flex; flex-direction: column; gap: 12px; flex: 1;
  padding: clamp(20px, 2.4vw, 28px);
}
.card--shot .card-text h3 { margin: 0; }

/* =========================================================================
   Photographs of the surgeon — added 17 Nov 2026
   -------------------------------------------------------------------------
   These are the only images on the site showing a real person. Three of them,
   deliberately: the hero portrait, the operating photograph beside the
   approach copy on the home page, and the standing portrait on About. The
   benchmark (Shafer, Marten, Mallucci) leads with the surgeon, not with
   anatomy, and this is the part of that pattern no competitor can copy.

   The studio portraits were shot against a charcoal gradient, which is why
   they sit inside the dark hero without a visible edge: the fade mask does
   the rest. Do not swap in a photograph on a light background without also
   removing the mask, or it will show a hard rectangle.
   ========================================================================= */

/* --- hero portrait ------------------------------------------------------ */
/* The file is a cut-out with a transparent background (his request, 17 Nov):
   he stands directly on the hero's own gradient instead of carrying a square
   of studio charcoal with him. That removes every edge except the bottom one,
   where the crop ends mid-thobe — a single mask stop dissolves that into the
   page. No side or top fades: there is nothing left to hide, and fading the
   sides of a cut-out would ghost his shoulders away.

   If this asset is ever replaced with a normal rectangular photograph, the
   four-sided mask has to come back with it; see git history or the launch
   checklist for the version that did that. */
.hero--portrait .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 46%, 580px);
  gap: clamp(20px, 2.5vw, 44px);
  align-items: end;
}
.hero--portrait .hero-inner { max-width: none; }

.hero-figure {
  margin: 0; position: relative;
  aspect-ratio: 1600 / 2120;       /* the file's own proportions — no crop */
  align-self: end;
}
.hero-figure img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

@media (max-width: 900px) {
  .hero--portrait .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-figure {
    order: -1; aspect-ratio: auto;
    height: clamp(280px, 62vw, 380px);
    margin-bottom: clamp(14px, 2.5vw, 24px);
  }
  /* `contain` at this height shrank him to a small floating figure; `cover`
     from the top keeps the head and shoulders at a readable size and the mask
     dissolves the chest into the hero */
  .hero-figure img {
    object-fit: cover; object-position: top center;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  }
}

/* --- image beside copy -------------------------------------------------- */
.split-media {
  display: grid;
  grid-template-columns: clamp(240px, 34%, 420px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split-media--prose { align-items: start; }
@media (max-width: 880px) {
  .split-media { grid-template-columns: 1fr; gap: clamp(26px, 5vw, 40px); }
}

.media-portrait { margin: 0; }
.media-portrait img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--r-md);
  box-shadow: 0 18px 44px rgba(14, 42, 78, .14);
}
/* the About prose is far taller than the portrait; sticky keeps him in view
   while the reader works down the biography instead of stranding a tall
   column of white space beside it */
@media (min-width: 881px) {
  .media-portrait--sticky { position: sticky; top: calc(var(--chrome-h) + 30px); align-self: start; }
}
@media (max-width: 880px) {
  .media-portrait img { aspect-ratio: 3 / 2; object-position: 50% 24%; }
}

/* A cut-out: transparent background, so no frame, no corner radius and no
   drop shadow — those are properties of a photograph's edge, and there isn't
   one any more. `contain` at the file's own proportions means nothing is
   cropped; the only mask is at the bottom, where the crop ends mid-thobe. */
.media-portrait--cut img {
  aspect-ratio: 1400 / 1930;
  object-fit: contain; object-position: bottom center;
  border-radius: 0; box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
}
@media (max-width: 880px) {
  .media-portrait--cut { display: flex; justify-content: center; }
  .media-portrait--cut img { max-width: 320px; }
}

.split-media .aside-box { margin-top: clamp(26px, 3vw, 40px); }

/* --- author card, "How to decide" --------------------------------------- */
.author-card { margin-bottom: 28px; }
.author-card img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 32%;
  border-radius: var(--r-md);
}
.author-meta { display: grid; gap: 3px; margin-top: 14px; }
.author-meta a {
  font-family: var(--font-display); font-size: 17px; line-height: 1.25;
  color: var(--ink);
}
html[lang="en"] .author-meta a { font-family: var(--font-en-display); }
.author-meta a:hover { color: var(--bronze); }
.author-meta span {
  font-family: var(--font-body); font-size: 12.5px; line-height: 1.5;
  color: var(--muted);
}
/* the contents list is hidden on narrow screens; the card is not — it becomes
   a byline above the article instead */
@media (max-width: 940px) {
  .author-card {
    display: grid; grid-template-columns: 76px 1fr; align-items: center;
    gap: 16px; margin-bottom: 8px;
  }
  .author-card img { aspect-ratio: 1 / 1; border-radius: 50%; }
  .author-meta { margin-top: 0; }
}

/* =========================================================================
   Procedure taxonomy — added 19 Nov 2026
   Surgical by body region, non-surgical by modality, plus Men. Empty groups
   never render, so the page grows as pages are written without ever showing
   a shelf with nothing on it.
   ========================================================================= */
.tax-group + .tax-group { padding-top: 0; }
.tax-region + .tax-region { margin-top: clamp(40px, 5vw, 68px); }
.tax-region-h {
  font-size: clamp(21px, 2.4vw, 27px);
  margin: clamp(18px, 2vw, 26px) 0 clamp(18px, 2vw, 24px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tax-group .eyebrow { margin-bottom: 4px; }

/* Procedures he performs whose pages are not written yet. Listed, never
   linked — see upcoming_list() in build.py for why there is no page. */
.upcoming {
  margin-top: clamp(20px, 2.4vw, 30px);
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
}
.upcoming-note {
  font-family: var(--font-body); font-size: 14px;
  color: var(--muted); margin-bottom: 14px;
}
.upcoming-list {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.upcoming-list li {
  font-family: var(--font-body); font-size: 14.5px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
}

/* =========================================================================
   Hover mega-menu — added 19 Nov 2026, widened 19 Nov
   Modelled on clinique-k.com. It lists EVERY procedure, not just the nine
   categories: the category-only version looked thin beside the benchmark,
   and untrue, since he performs all of them. Nothing in it is dead text —
   a procedure with a page links to it, one without links to its category
   where the the placeholder note note and the WhatsApp route are waiting.
   ========================================================================= */
/* Anchored to the header's wrap, not to the nav item, so the panel can be as
   wide as the page. .nav-has-mega is deliberately `static` for that reason —
   making it `relative` again collapses the panel to one nav link's width. */
.site-header .wrap { position: relative; }
.nav-has-mega { position: static; display: flex; align-items: center; }

.mega {
  position: absolute; inset-inline: 0; top: 100%;
  margin-top: 12px;
  background: var(--white, #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(14, 42, 78, .16);
  padding: clamp(22px, 2.4vw, 34px);
  /* the full menu is taller than a laptop viewport — cap it and let it
     scroll rather than running off the bottom of the screen */
  max-height: calc(100vh - var(--chrome-h) - 36px); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 60;
}
/* bridges the gap below the nav item so a diagonal mouse path to the panel
   does not dismiss it on the way down */
.mega::before { content: ""; position: absolute; inset-inline: 0; top: -14px; height: 14px; }
.nav-has-mega:hover .mega,
.nav-has-mega:focus-within .mega,
.nav-has-mega.is-open .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}

/* Each column spans three rows — kicker, heading, links — and borrows them
   from the parent grid, so every heading in a band sits on the same baseline
   and every rule under it lines up. The group kicker only appears above the
   first column of a band, which is exactly what used to knock that column
   out of alignment with its neighbours. */
.mega-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: auto auto 1fr;
  gap: 0 clamp(16px, 1.8vw, 30px);
  align-items: start;
}
.mega-col { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
@supports not (grid-template-rows: subgrid) {
  .mega-col { display: block; }
  .mega-kicker { min-height: 2.6em; }
}
.mega-inner > .mega-col:nth-child(n+6) { margin-top: clamp(22px, 2.4vw, 36px); }
@media (max-width: 1240px) {
  .mega-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mega-inner > .mega-col:nth-child(n+6) { margin-top: 0; }
  .mega-inner > .mega-col:nth-child(n+5) { margin-top: clamp(22px, 2.4vw, 36px); }
}
.mega-kicker {
  display: block; font-family: var(--font-body); font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--bronze);
  margin-bottom: 6px;
}
html[lang="ar"] .mega-kicker { letter-spacing: 0; text-transform: none; font-size: 12px; }
.mega-h {
  font-family: var(--font-display); font-size: 16px; color: var(--ink);
  margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  align-self: end;                /* rules align even when a name wraps */
}
html[lang="en"] .mega-h { font-family: var(--font-en-display); }
.mega-links > a {
  display: block; padding: 5px 0;
  font-family: var(--font-body); font-size: 13.5px; line-height: 1.35;
  color: var(--ink-soft); transition: color .18s var(--ease);
}
.mega-links > a:hover { color: var(--bronze); }
.mega-col a::after { content: none; }
.mega-kids {
  display: block; padding-inline-start: 12px; margin-bottom: 2px;
  border-inline-start: 1px solid var(--line);
}
.mega-kids a { display: block; padding: 3px 0; font-family: var(--font-body); font-size: 12.5px; color: var(--muted); }
.mega-kids a:hover { color: var(--bronze); }
.mega-all {
  display: inline-flex; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line-soft); width: 100%;
  font-family: var(--font-body); font-size: 14px;
}
html[data-theme="deep"] .mega { background: #FBFAF7; }
html[data-theme="deep"] .mega-links > a { color: var(--navy); }
html[data-theme="deep"] .mega-h { color: var(--blue-deep); }

/* phones: the categories become a nested list inside the existing drawer */
.mobile-sub { list-style: none; margin: 0 0 6px; padding: 0 0 0 14px; }
html[dir="rtl"] .mobile-sub { padding: 0 14px 0 0; }
.mobile-sub a { font-size: 15px; color: var(--muted); padding: 10px 2px; }

/* Anchor landings sit under the sticky header without this — clicking a
   category in the hover menu, or a contents link, scrolled the heading up
   behind the bar and landed the reader mid-section. 19 Nov. */
.tax-region,
.prose h2[id],
.prose h3[id],
section[id] { scroll-margin-top: calc(var(--chrome-h) + 22px); }

/* Third level: techniques a procedure is performed with. They sit inside the
   parent's pill rather than beside it — as siblings they implied a patient
   chooses between "a non-surgical facelift" and "Morpheus", which is not a
   choice that exists. 19 Nov. */
.upcoming-list li.has-kids {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  border-radius: var(--r-md); padding: 10px 14px;
}
.kid-row { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.kid-row::before {
  content: ""; width: 1px; align-self: stretch; margin-inline-end: 4px;
  background: var(--line);
}
.kid {
  font-size: 13px; color: var(--muted);
  padding: 3px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

/* phone drawer: the same full list, with the category names as dividers */
.mobile-sub { list-style: none; margin: 0 0 6px; padding: 0 0 0 14px; }
html[dir="rtl"] .mobile-sub { padding: 0 14px 0 0; }
.mobile-sub a { font-size: 15px; color: var(--muted); padding: 9px 2px; }
.mobile-sub .mobile-sub-h {
  font-family: var(--font-body); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bronze);
  margin: 16px 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
html[lang="ar"] .mobile-sub .mobile-sub-h { letter-spacing: 0; text-transform: none; font-size: 13px; }
.mobile-sub .is-kid a { padding-inline-start: 14px; font-size: 14px; opacity: .85; }

/* Placeholder procedure page — a real page for a procedure he performs whose
   write-up is not finished. noindex,follow; see build_placeholder(). */
.soon { text-align: center; padding-block: clamp(10px, 3vw, 36px); }
.soon-note {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px);
  color: var(--ink); margin-bottom: 18px;
}
html[lang="en"] .soon-note { font-family: var(--font-en-display); }
.soon-lede { color: var(--ink-soft); max-width: 56ch; margin: 0 auto 28px; }
.ph-kids {
  font-family: var(--font-body); font-size: 14px; color: var(--bronze);
  margin-bottom: 18px; letter-spacing: .02em;
}

/* Phones: the strip would eat a third of a short viewport, so only the
   header stays pinned there and the strip scrolls away as before. */
@media (max-width: 720px) {
  :root { --util-h: 0px; --chrome-h: 74px; }
  .util { position: static; }
}

/* --- cards for procedures whose page is not written yet ----------------- */
.card--soon .card-plate {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(211,188,141,.10), transparent 70%),
    linear-gradient(170deg, rgba(255,255,255,.05), transparent 60%),
    var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
}
.card--soon .card-plate .logo-fig { opacity: .34; }
.card--soon:hover .card-plate .logo-fig { opacity: .55; transition: opacity .3s var(--ease); }
.card-soon-note { font-size: 14px; color: var(--muted); margin: 0; }
.card-kids {
  display: block; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-body); font-size: 12.5px; color: var(--muted);
  line-height: 1.6;
}

/* ======================================================================
   Clinic photographs — Contact page, 20 Nov
   Three tall frames of the real place. Three is the right number: it
   fills the row on a desktop, and on a phone it collapses to a single
   column that is still worth scrolling past (two would look like a
   mistake, four like a brochure).
   ====================================================================== */
.clinic-gallery{
  display:grid; gap:clamp(12px,1.6vw,22px); margin-top:clamp(28px,3.5vw,44px);
  grid-template-columns:repeat(4,1fr);
}
.clinic-gallery figure{ margin:0; }
.clinic-gallery img{
  width:100%; height:100%; aspect-ratio:4/5; object-fit:cover; display:block;
  border-radius:var(--r-md,14px);
  box-shadow:0 18px 44px rgba(10,24,44,.16);
}
@media (max-width:1040px){
  /* Two by two. Four tall frames across a tablet would each be narrower
     than a phone's, which is the point at which a gallery stops being
     one. */
  .clinic-gallery{ grid-template-columns:1fr 1fr; }
}
@media (max-width:520px){
  .clinic-gallery{ grid-template-columns:1fr; }
}

/* A photograph inside a column of prose. Capped well short of the measure
   so it reads as an illustration beside the argument, not as a hero that
   wandered into the middle of the page. */
.prose-figure{
  margin:clamp(30px,3.4vw,44px) auto clamp(30px,3.4vw,44px);
  max-width:560px;
}
.prose-figure img{
  width:100%; height:auto; display:block; border-radius:var(--r-md,14px);
  box-shadow:0 18px 44px rgba(10,24,44,.16);
}

/* =========================================================================
   WORK ORDER v5 — 23 Nov 2026
   Everything below implements the independent review's work order. IDs in
   the comments (R-xx, N-xx) match CHANGELOG-v5.md.
   ========================================================================= */

/* ---- D · one type scale, defined once (N-01, N-02) ----------------------
   Phone value is the clamp minimum, desktop value the maximum. Colours:
   titles cream #EDE9E1; linked card titles gold; plain block titles
   off-white; small labels gold.                                         */
:root {
  --t-page: clamp(36px, 4.7vw, 60px);
  --t-sec: clamp(34px, 4.1vw, 52px);
  --t-sec-in: clamp(28px, 2.9vw, 36px);
  --t-cat: clamp(30px, 3.5vw, 44px);
  --t-card: clamp(23px, 2vw, 26px);
  --t-label: 12.5px;
  --t-list: clamp(18px, 1.5vw, 19px);
  --c-title: #EDE9E1;
  --c-offwhite: #F2F6FA;
  --c-gold: #D3BC8D;
}
html[lang="ar"] {
  --t-page: clamp(32px, 3.9vw, 50px);
  --t-sec: clamp(30px, 3.6vw, 46px);
  --t-sec-in: clamp(26px, 2.7vw, 34px);
  --t-label: 14px;
}
html[data-theme="deep"] { --heading: var(--c-title); }

/* page titles */
.page-head h1, .page-head .h-lg, html[lang="ar"] .page-head .h-lg { font-size: var(--t-page); color: var(--c-title); }
/* section titles: home sections, interviews, closing band */
.section .h-lg, .section .h2, .media-band .h2, .cta-band h2,
html[lang="ar"] .section .h-lg { font-size: var(--t-sec); color: var(--c-title); line-height: 1.18; }
html[lang="ar"] .section .h-lg, html[lang="ar"] .cta-band h2 { line-height: 1.45; }
/* section titles inside a page of prose (procedure pages, About, decide) */
.prose h2 { font-size: var(--t-sec-in); color: var(--c-title); }
/* card and block titles */
.card h3, html[lang="ar"] .card h3, .step h3, .faq-proc-h { font-size: var(--t-card); color: var(--c-offwhite); }
a.card h3, html[lang="ar"] a.card h3 { color: var(--c-gold); }
.media-title, html[data-theme="deep"] .media-title { font-size: var(--t-card); color: var(--c-gold); }
/* small labels above a title, everywhere */
.eyebrow, html[lang="ar"] .eyebrow, .section--ink .eyebrow { font-size: var(--t-label); color: var(--c-gold); }
html[lang="en"] .eyebrow { letter-spacing: .16em; }
/* "Before you decide" was picking up .statement p's 23/38 px serif in
   English; it is a small label in both languages. */
.statement p.eyebrow, html[lang="ar"] .statement p.eyebrow {
  font-family: var(--font-body); font-size: var(--t-label); line-height: 1.5; font-weight: 600;
}

/* ---- A · WhatsApp — one style everywhere (R-01, R-27, R-23) ------------- */
.btn--wa, .hero-actions .btn--wa, html[data-theme="deep"] .hero-actions .btn--wa { background: #15803D; color: #FFFFFF; border-color: #15803D; }
.btn--wa:hover { background: #166534; }
.action-bar a { font-size: 14px; padding: 12px 10px 14px; line-height: 1.25; text-align: center; }
html[lang="ar"] .action-bar a { font-size: 14px; }
.action-bar a.primary { background: #15803D; color: #FFFFFF; flex: 1.35; }
html[data-theme="deep"] .action-bar a:not(.primary) { color: var(--c-offwhite); }

/* ---- A · phone header (R-32, R-02) -------------------------------------- */
html[data-theme="deep"] .burger { border-color: #0E2A4E; }
html[data-theme="deep"] .burger span,
html[data-theme="deep"] .burger span::before,
html[data-theme="deep"] .burger span::after { background: #0E2A4E; }
html[data-theme="deep"] .burger[aria-expanded="true"] span { background: transparent; }
.burger span, .burger span::before, .burger span::after { height: 2px; width: 18px; }
.hdr-lang { display: none; }
@media (max-width: 1040px) {
  .hdr-lang {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 10px; border-radius: 999px;
    font-family: var(--font-body); font-size: 14px; font-weight: 600;
  }
  html[data-theme="deep"] .site-header .hdr-lang:not(.btn) { color: #0E2A4E; }
  html[lang="en"] .hdr-lang { font-family: var(--font-ar-body); font-size: 15px; }
  .util .lang-switch { display: none; }
  .header-cta { gap: 6px; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark .logo-fig { height: 38px; }
  html[lang="en"] .brand-sub { display: none; }
  html[lang="en"] .brand-name { font-size: 17px; }
}

/* ---- A · phone menu (R-03) ---------------------------------------------- */
.mobile-nav ul { padding: 4px var(--gutter) 18px; }
.mobile-nav li { border-block-end: 1px solid var(--line-soft); }
.mobile-nav .m-lang a, .mobile-nav .m-item a, .mobile-nav .m-group summary {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 2px;
  font-family: var(--font-body); font-size: 17px; color: var(--c-offwhite);
}
.mobile-nav .m-lang a { min-height: 44px; font-size: 15px; color: var(--c-gold); }
.mobile-nav .m-lang svg { width: 16px; height: 16px; }
html[lang="en"] .mobile-nav .m-lang a { font-family: var(--font-ar-body); }
.mobile-nav .m-label { border: 0; }
.mobile-nav .m-label a {
  display: flex; align-items: flex-end; min-height: 36px; padding: 6px 2px 4px;
  font-size: var(--t-label); font-weight: 600; color: var(--c-gold);
  letter-spacing: .14em; text-transform: uppercase;
}
html[lang="ar"] .mobile-nav .m-label a { letter-spacing: 0; text-transform: none; }
.mobile-nav .m-group details > summary { list-style: none; cursor: pointer; justify-content: space-between; padding-inline-start: 12px; }
.mobile-nav .m-group summary::-webkit-details-marker { display: none; }
.mobile-nav .m-group summary .chev { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .25s var(--ease); opacity: .7; }
.mobile-nav .m-group details[open] summary .chev { transform: rotate(-90deg); }
.mobile-nav .m-group details[open] summary { color: var(--c-gold); }
.mobile-nav .m-group ul { padding: 0 0 10px; padding-inline-start: 24px; }
.mobile-nav .m-group ul li { border: 0; }
.mobile-nav .m-group ul a {
  display: flex; align-items: center; min-height: 44px; padding: 0 2px;
  font-size: 15.5px; color: var(--ink-soft);
}
.mobile-nav .m-group ul a:hover { color: var(--c-gold); }
.mobile-nav .m-sub-h {
  font-size: var(--t-label); color: var(--c-gold); font-weight: 600; padding: 10px 2px 2px;
  letter-spacing: .12em; text-transform: uppercase;
}
html[lang="ar"] .mobile-nav .m-sub-h { letter-spacing: 0; text-transform: none; }

/* ---- A · home first screen on phones (R-33) ------------------------------ */
@media (max-width: 900px) {
  .hero--portrait { padding-top: 18px; }
  .hero-figure { height: clamp(200px, 50vw, 285px); margin-bottom: 8px; }
}
@media (max-width: 520px) {
  .hero--portrait .eyebrow {
    white-space: nowrap; margin-bottom: 12px;
    text-transform: none; letter-spacing: .01em; font-size: 12.5px;
  }
  .hero--portrait .eyebrow::before { display: none; }
  html[lang="ar"] .hero--portrait .eyebrow { font-size: 14px; }
  .hero--portrait h1 { font-size: 34px; line-height: 1.12; margin-bottom: 16px; }
  html[lang="ar"] .hero--portrait h1 { font-size: 30px; line-height: 1.4; }
}

/* ---- E · procedure page details ----------------------------------------- */
.ph-by { font-family: var(--font-body); font-size: 15px; color: rgba(237,233,225,.86); margin: 14px 0 0; }
html[lang="ar"] .ph-by { font-size: 15.5px; }
.toc-h, .aside-h {
  font-family: var(--font-body); font-size: var(--t-label); font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--c-gold); margin: 0 0 16px; line-height: 1.5;
}
html[lang="ar"] .toc-h, html[lang="ar"] .aside-h { letter-spacing: 0; text-transform: none; }
.aside-h { margin-bottom: 12px; }
@media (max-width: 940px) { .toc .toc-h { display: none; } }
.followup-note { font-size: 16px; }

/* ---- C · Procedures page (R-10, R-25) ----------------------------------- */
.proc-index { padding-top: clamp(30px, 4vw, 56px); }
.jump {
  display: flex; flex-wrap: wrap; gap: 4px 2px; margin-bottom: clamp(30px, 4vw, 56px);
  border-block: 1px solid var(--line); padding-block: 6px;
}
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
}
html[data-theme="deep"] .jump a:not(.btn) { color: var(--c-offwhite); }
html[data-theme="deep"] .jump a:not(.btn):hover { color: var(--c-gold); }
.cat-panel {
  display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: clamp(28px, 4vw, 60px);
  align-items: start; padding-block: clamp(34px, 4.5vw, 64px);
  border-block-start: 1px solid var(--line); scroll-margin-top: calc(var(--chrome-h) + 16px);
}
.cat-panel:first-of-type { border-block-start: 0; padding-top: 0; }
.cat-panel--flip { grid-template-columns: minmax(0, 1fr) 40%; }
.cat-panel--flip .cat-img { order: 2; }
.cat-img { margin: 0; }
.cat-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); display: block; }
.cat-h, html[lang="ar"] .cat-h { font-family: var(--font-display); font-size: var(--t-cat); color: var(--c-title); font-weight: 500; line-height: 1.2; }
html[lang="ar"] .cat-h { font-weight: 700; line-height: 1.45; }
.cat-rule { width: 56px; height: 1px; border: 0; background: var(--c-gold); margin: 16px 0 22px; opacity: .9; }
.cat-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(24px, 3vw, 48px); }
.cat-list li { break-inside: avoid; border-block-end: 1px solid var(--line-soft); }
.cat-list a {
  display: flex; align-items: center; min-height: 48px; padding: 6px 0;
  font-family: var(--font-body); font-size: var(--t-list); line-height: 1.4;
}
html[data-theme="deep"] .cat-list a:not(.btn) { color: var(--c-offwhite); }
html[data-theme="deep"] .cat-list a:not(.btn):hover,
html[data-theme="deep"] .cat-list a:not(.btn):focus-visible { color: var(--c-gold); }
.cat-text-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 3vw, 48px);
  border-block-start: 1px solid var(--line); padding-top: clamp(34px, 4.5vw, 64px);
}
.cat-text { scroll-margin-top: calc(var(--chrome-h) + 16px); }
.cat-text .cat-list { columns: 1; }
.cat-sub {
  font-family: var(--font-body); font-size: var(--t-label); font-weight: 600; color: var(--c-gold);
  letter-spacing: .14em; text-transform: uppercase; margin: 22px 0 4px; scroll-margin-top: calc(var(--chrome-h) + 16px);
}
.cat-sub:first-of-type { margin-top: 0; }
html[lang="ar"] .cat-sub { letter-spacing: 0; text-transform: none; }
@media (max-width: 1100px) { .cat-text-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .cat-panel, .cat-panel--flip { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cat-panel--flip .cat-img { order: 0; }
  .cat-img img { aspect-ratio: auto; height: 200px; }
  .cat-list { columns: 1; }
  .cat-text-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- F · FAQ page (N-03) and Reviews page (N-04) ------------------------ */
.faq-page .jump { margin-bottom: clamp(26px, 3vw, 44px); }
.faq-cat { padding-block: clamp(26px, 3.5vw, 48px); scroll-margin-top: calc(var(--chrome-h) + 16px); }
.faq-cat + .faq-cat { border-block-start: 1px solid var(--line); }
.faq-proc { margin-top: 26px; }
.faq-proc-h { font-family: var(--font-display); margin: 0 0 8px; }
html[lang="ar"] .faq-proc-h { font-weight: 700; }
.faq-more { margin: 14px 0 0; }
.faq details { scroll-margin-top: calc(var(--chrome-h) + 16px); }
.btn--outline { border: 1px solid var(--c-gold); color: var(--c-gold); background: transparent; }
html[data-theme="deep"] a.btn--outline { color: var(--c-gold); }
.btn--outline:hover { background: rgba(211,188,141,.1); }
.btn--outline svg { width: 14px; height: 14px; }
html[dir="rtl"] .btn--outline .chev { transform: scaleX(-1); }

/* ---- G · footer contrast and tap targets (R-23, R-24) ------------------- */
.site-footer { color: rgba(232,228,220,.86); }
.f-h {
  font-family: var(--font-body); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(232,228,220,.78); margin: 0 0 8px; font-weight: 600; line-height: 1.5;
}
html[lang="ar"] .f-h { letter-spacing: 0; text-transform: none; font-size: 14px; }
.site-footer ul { gap: 0; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer ul li.f-text { padding-block: 10px; line-height: 1.6; }
.footer-about { color: rgba(232,228,220,.78); }
.footer-brand .brand-sub { color: rgba(232,228,220,.75); }
.footer-legal { color: rgba(232,228,220,.75); margin-top: 32px; }
.footer-bottom { color: rgba(232,228,220,.75); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid { padding-bottom: 0; }
.socials { gap: 12px; }
.socials a { width: 44px; height: 44px; }
.crumbs { color: rgba(237,233,225,.78); align-items: center; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 480px) { .footer-legal { margin-top: 36px; } }

/* ---- G · skip link (R-29) ----------------------------------------------- */
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 200;
  background: #FBFAF7; color: #0E2A4E !important; padding: 12px 18px; border-radius: 6px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
/* specificity: the theme's global `a:not(.btn):not(.brand):not(.media-card)`
   rule turns every link gold; these outrank it deliberately. */
html[data-theme="deep"] .site-header a.hdr-lang:not(.btn):not(.brand):not(.media-card) { color: #0E2A4E; }
html[data-theme="deep"] .mobile-nav .m-item a:not(.btn):not(.brand):not(.media-card) { color: var(--c-offwhite); }
html[data-theme="deep"] .mobile-nav .m-lang a:not(.btn):not(.brand):not(.media-card),
html[data-theme="deep"] .mobile-nav .m-label a:not(.btn):not(.brand):not(.media-card) { color: var(--c-gold); }
html[data-theme="deep"] .mobile-nav .m-group ul a:not(.btn):not(.brand):not(.media-card) { color: #C6D5E6; }
html[data-theme="deep"] .mobile-nav a:not(.btn):not(.brand):not(.media-card):hover { color: var(--c-gold); }
.mobile-nav.open { height: calc(100dvh - var(--chrome-h) - var(--bar-h)); }
@media (max-width: 520px) {
  html[lang="en"] .hero--portrait .eyebrow { letter-spacing: 0; font-size: 12.5px; }
}
html[data-theme="deep"] .action-bar a:not(.btn):not(.brand):not(.media-card) { color: var(--c-offwhite); }
html[data-theme="deep"] .action-bar a.primary:not(.btn):not(.brand):not(.media-card) { color: #FFFFFF; }
/* run the open drawer down behind the action bar so no page shows between */
.mobile-nav.open { height: calc(100dvh - var(--chrome-h)); max-height: calc(100dvh - var(--chrome-h)); padding-bottom: var(--bar-h); }
.cat-img img { aspect-ratio: 4 / 3; }
html[data-theme="deep"] .cat-list a:not(.btn):not(.brand):not(.media-card) { color: var(--c-offwhite); }
html[data-theme="deep"] .cat-list a:not(.btn):not(.brand):not(.media-card):hover,
html[data-theme="deep"] .cat-list a:not(.btn):not(.brand):not(.media-card):focus-visible { color: var(--c-gold); }
html[data-theme="deep"] .jump a:not(.btn):not(.brand):not(.media-card) { color: var(--c-offwhite); }
html[data-theme="deep"] .jump a:not(.btn):not(.brand):not(.media-card):hover { color: var(--c-gold); }
@media (max-width: 760px) { .cat-img img { aspect-ratio: auto; height: 200px; } }
.cat-img img { height: auto; }
@media (max-width: 760px) { .cat-img img { height: 200px; } }
/* Six menu items since 23 Nov (FAQ and Reviews added): make room between
   the desktop breakpoint and 1320 px rather than letting the WhatsApp
   button run off the edge. */
@media (min-width: 1041px) and (max-width: 1320px) {
  .site-header .wrap { gap: 16px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14.5px; }
  .site-header .brand-sub { display: none; }
}
@media (min-width: 1041px) and (max-width: 1180px) {
  .header-cta .btn--wa span { display: none; }
  .header-cta .btn--wa { padding: 12px; }
}
/* contrast audit, 23 Nov: both measured below 4.5:1 on the navy surfaces */
.crumbs .sep { opacity: 1; }
html[data-theme="deep"] .card .link-arrow, html[data-theme="deep"] a.card .link-arrow { color: var(--c-gold); }

/* =========================================================================
   23 Nov, evening — his screenshot notes (1–11)
   ========================================================================= */
/* 1, 8: titles in gold — category titles (Procedures, FAQ, contact) and
   page titles. The home hero headline keeps its own cream + gold. */
.cat-h, html[lang="ar"] .cat-h { color: var(--c-gold); }
.page-head h1, .page-head .h-lg, html[lang="ar"] .page-head .h-lg { color: var(--c-gold); }

/* 11: in the desktop menu the group labels (Surgical / Non-surgical /
   Technology & recovery) sit above the category headings, so they are
   now larger than them. */
.mega-kicker, html[lang="ar"] .mega-kicker {
  font-family: var(--font-display); font-size: 22px; letter-spacing: 0;
  text-transform: none; color: #8A6A2F; font-weight: 600; margin-bottom: 10px; line-height: 1.2;
}
html[lang="ar"] .mega-kicker { font-size: 21px; font-weight: 700; }
.mega-h { font-size: 16px; }
@media (min-width: 1041px) { .mega-kicker { min-height: 1.4em; } }

/* 5: home hubs — one tile per main category */
.hubs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.hub { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden;
  background: rgba(255,255,255,.035); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.hub:hover { transform: translateY(-3px); border-color: rgba(211,188,141,.5); }
.hub-img img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.hub-t { font-family: var(--font-display); font-size: var(--t-card); color: var(--c-gold); padding: 18px 20px 4px; line-height: 1.25; }
html[lang="ar"] .hub-t { font-weight: 700; }
.hub-n { display: inline-flex; align-items: center; gap: 6px; padding: 0 20px 18px; font-family: var(--font-body);
  font-size: 14px; color: var(--c-offwhite); opacity: .85; }
.hub-n .chev { width: 12px; height: 12px; }
html[dir="rtl"] .hub-n .chev { transform: scaleX(-1); }
html[data-theme="deep"] a.hub:not(.btn) { color: inherit; }
@media (max-width: 1100px) { .hubs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hub-t { font-size: 20px; padding: 14px 14px 2px; } .hub-n { padding: 0 14px 14px; font-size: 13px; } }

/* sub-groups inside a panel (Non-surgical, Technology & recovery) */
.cat-body .cat-sub { margin-top: 26px; }
.cat-body .cat-sub:first-of-type { margin-top: 0; }

/* 9: link to the full page now sits inside each FAQ answer */
.answer .faq-more { margin: 10px 0 4px; }
.answer .faq-more .link-arrow { font-size: 14.5px; }

/* contact: Riyadh, then Dubai */
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(26px, 4vw, 56px);
  align-items: start; padding-block: clamp(26px, 3.5vw, 48px); }
.place + .place { border-block-start: 1px solid var(--line); }
.place .map-frame { min-height: 340px; }
.contact-grid--notes { border-block-start: 1px solid var(--line); padding-top: clamp(30px, 4vw, 52px); margin-top: clamp(10px, 2vw, 20px); }
@media (max-width: 900px) { .place { grid-template-columns: minmax(0, 1fr); } .place .map-frame { min-height: 260px; } }

/* footer: clinic name above its address */
.site-footer li.f-place strong { color: var(--c-offwhite); font-weight: 600; }

/* 4: eyebrow now names both clinics — may wrap on phones */
@media (max-width: 520px) { .hero--portrait .eyebrow { white-space: normal; line-height: 1.6; } }

/* WhatsApp clinic chooser */
.wa-sheet { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px;
  background: rgba(4, 14, 28, .62); }
.wa-sheet[hidden] { display: none; }
.wa-card { width: min(420px, 100%); background: #FBFAF7; color: #0E2A4E; border-radius: 16px; padding: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.wa-sheet-h { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin: 0 0 14px; color: #0E2A4E; }
html[data-theme="deep"] .wa-sheet a.wa-opt:not(.btn):not(.brand):not(.media-card) { color: #FFFFFF; }
.wa-opt { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px; margin-bottom: 10px;
  border-radius: 12px; background: #15803D; }
.wa-opt:hover { background: #166534; }
.wa-opt svg { width: 24px; height: 24px; flex: none; }
.wa-opt > span { display: flex; flex-direction: column; }
.wa-opt-h { font-family: var(--font-body); font-size: 16px; font-weight: 600; }
.wa-opt-n { font-family: var(--font-body); font-size: 14px; opacity: .92; text-align: start; }
html[dir="rtl"] .wa-opt-n { text-align: right; }
.wa-close { width: 100%; min-height: 44px; margin-top: 4px; border: 1px solid #C9D3DE; border-radius: 12px;
  background: transparent; color: #0E2A4E; font-family: var(--font-body); font-size: 15px; cursor: pointer; }
/* six menu items + the WhatsApp button overran the right margin up to
   ~1480 px (visible in his 23 Nov screenshots); extend the tighter header */
@media (min-width: 1041px) and (max-width: 1480px) {
  .site-header .wrap { gap: 16px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14.5px; }
  .site-header .brand-sub { display: none; }
}
.faq-q { display: flex; flex-direction: column; gap: 4px; }
.faq-tag { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--c-gold); letter-spacing: .02em; }
html[lang="ar"] .faq-tag { font-size: 14px; letter-spacing: 0; }

/* Reviews page, redesigned 23 Nov */
.rv { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.rv-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.rv-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255,255,255,.035); }
.rv-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(211,188,141,.55); color: var(--c-gold); }
.rv-ico svg { width: 24px; height: 24px; }
.rv-name, html[lang="ar"] .rv-name { font-family: var(--font-display); font-size: var(--t-card); color: var(--c-gold); margin: 6px 0 0; line-height: 1.25; }
.rv-desc { margin: 0 0 10px; color: var(--c-offwhite); opacity: .9; font-size: 16px; line-height: 1.7; flex: 1; }
.rv-note { display: flex; gap: 14px; align-items: flex-start; margin-top: clamp(22px, 3vw, 34px); padding: 18px 20px;
  border-inline-start: 2px solid var(--c-gold); background: rgba(211,188,141,.06); border-radius: 0 var(--r-md) var(--r-md) 0; }
html[dir="rtl"] .rv-note { border-radius: var(--r-md) 0 0 var(--r-md); }
.rv-note svg { width: 22px; height: 22px; flex: none; color: var(--c-gold); margin-top: 3px; }
.rv-note p { margin: 0; color: var(--c-offwhite); font-size: 16px; line-height: 1.7; }
.rv-fig { margin: 0; }
.rv-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
@media (max-width: 900px) {
  .rv { grid-template-columns: minmax(0, 1fr); }
  .rv-fig img { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) { .rv-cards { grid-template-columns: minmax(0, 1fr); } }

/* Final check (27 Nov): at 360 px the map's 4:3 ratio plus its minimum height
   forced it 7 px wider than the screen. On narrow screens it keeps the height
   and takes the column's width instead. */
@media (max-width: 900px) { .place .map-frame { aspect-ratio: auto; height: 260px; min-height: 0; width: 100%; } }

/* ---- Work order v6 (28 Nov) --------------------------------------------- */
/* F-07: Arabic home headline in three fixed lines */
.hero--portrait h1 .hl { white-space: nowrap; }
/* F-09: English home headline in three lines on desktop; phones unchanged */
.br-wide { display: none; }
@media (min-width: 1100px) {
  .br-wide { display: inline; }
  html[lang="en"] .hero--portrait h1 { font-size: 60px; }
  html[lang="en"] .hero--portrait .hero-grid { grid-template-columns: minmax(0, 1fr) clamp(300px, 37%, 580px); }
}
/* F-08: shorter eyebrow fits one line again on phones */
@media (max-width: 520px) { .hero--portrait .eyebrow { white-space: nowrap; } }
/* F-16: phone portrait cropped from the top of the file so the whole
   head-dress shows with navy above it (box height unchanged) */
@media (max-width: 900px) { .hero-figure img { object-position: 50% 0; } }
/* F-06: page-not-found */
.nf { min-height: 46vh; }
.nf-block { margin: 0; }
.nf-h { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); color: var(--c-offwhite); margin: 0 0 14px; line-height: 1.3; }
.nf-links { font-family: var(--font-body); font-size: 17px; margin: 0; }
.nf-links a { color: var(--c-gold); }
.nf .cat-rule { margin: 34px 0; }
/* F-14: privacy link beside the language switch */
.footer-bottom .f-end { display: inline-flex; gap: 18px; flex-wrap: wrap; }
