/* HeighJourney — Clinical Editorial redesign */
:root {
  --bg: #f6f7f9;
  --bg-elev: #ffffff;
  --ink: #0b1520;
  --ink-soft: #152433;
  --muted: #5c6b78;
  --line: rgba(11, 21, 32, 0.1);
  --line-strong: rgba(11, 21, 32, 0.18);
  --teal: #0f6e6a;
  --teal-deep: #0b5552;
  --sand: #d8c3a5;
  --dark: #071018;
  --dark-soft: #101c28;
  --on-dark: rgba(255, 255, 255, 0.78);
  --on-dark-soft: rgba(255, 255, 255, 0.55);
  --nav-h: 4.75rem;
  --max: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 110, 106, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(216, 195, 165, 0.16), transparent 50%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 1.02rem;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: currentColor;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  max-width: 34rem;
  line-height: 1.7;
}

.display {
  font-family: var(--font-display);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(246, 247, 249, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}
.logo-mark { width: 2rem; height: 2rem; border-radius: 0.35rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.25s;
}
.site-header.is-scrolled .logo-text strong { color: var(--ink); }
.logo-text span {
  margin-top: 0.22rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s;
}
.site-header.is-scrolled .logo-text span { color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; }
.site-header.is-scrolled .nav-links a { color: var(--muted); }
.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.65rem 1rem !important;
  background: var(--teal);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 3;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 1.5px;
  background: #fff;
  margin: 0.28rem auto;
  transition: 0.3s var(--ease);
}
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Language dropdown */
.lang-switcher { position: relative; }
.lang-label { display: none; }

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.lang-trigger:hover,
.lang-switcher.is-open .lang-trigger {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255, 255, 255, 0.14);
}
.site-header.is-scrolled .lang-trigger {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}
.site-header.is-scrolled .lang-trigger:hover,
.site-header.is-scrolled .lang-switcher.is-open .lang-trigger {
  border-color: var(--teal);
}
.lang-trigger-code {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang-trigger-name { display: none; }
.lang-caret {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}
.lang-switcher.is-open .lang-caret {
  transform: rotate(225deg) translateY(-1px);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 11.5rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(11, 21, 32, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 20;
}
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-switcher.is-open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  border-radius: 0.65rem;
  padding: 0.7rem 0.8rem;
  cursor: pointer;
  color: var(--ink);
  text-align: left;
  transition: background 0.15s;
}
html[dir="rtl"] .lang-option { text-align: right; }
.lang-option:hover { background: rgba(15, 110, 106, 0.08); }
.lang-option.is-active {
  background: rgba(15, 110, 106, 0.12);
  color: var(--teal-deep);
}
.lang-option-code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.lang-option.is-active .lang-option-code { color: var(--teal); }
.lang-option-name { font-size: 0.9rem; font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  max-width: 100%;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--teal); }
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
  background: var(--dark);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0.48;
  transform: scale(1.03);
  animation: heroZoom 16s var(--ease) forwards;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.88) 0%, rgba(7, 16, 24, 0.45) 48%, rgba(7, 16, 24, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 16, 24, 0.35) 0%, rgba(7, 16, 24, 0.15) 40%, rgba(7, 16, 24, 0.92) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-content { position: relative; z-index: 1; max-width: 40rem; }
.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 1rem 0 1.25rem;
  font-weight: 450;
}
.brand-hero em {
  font-style: italic;
  color: var(--sand);
}
.hero-copy {
  color: var(--on-dark);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 30rem;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

/* Sections */
.section { padding: clamp(4.25rem, 8vw, 7rem) 0; }
.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  max-width: 36rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 450;
}
.section-dark {
  background: var(--dark);
  color: #fff;
}
.section-dark .lead,
.section-dark .section-head p { color: var(--on-dark); }
.section-soft { background: rgba(255, 255, 255, 0.55); }

/* Split pillars — editorial, not cards */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
.split-visual {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--ink-soft);
}
.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}
.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.03em;
}
.split-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 1.75rem;
}
.split-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.85rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.split-list strong {
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.2rem;
}

/* Methods as calm rows */
.method-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.method-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.method-row .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--teal);
  line-height: 1;
}
.method-row h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.method-row p {
  color: var(--muted);
  max-width: 36rem;
  font-size: 0.96rem;
}
.method-row .tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 0.35rem;
}
.section-dark .method-row { border-bottom-color: rgba(255,255,255,0.12); }
.section-dark .method-row p,
.section-dark .method-row .tag { color: var(--on-dark-soft); }

/* Featured result — homepage one case */
.featured-result {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.featured-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  min-height: 22rem;
}
.featured-media figure {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  background: var(--ink-soft);
  min-height: 22rem;
}
.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-media figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 16, 24, 0.78);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.featured-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: 0.7rem 0 1rem;
  letter-spacing: -0.03em;
}
.featured-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}
.featured-stat {
  min-width: 5.5rem;
}
.featured-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.featured-stat span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Results page gallery */
.results-stage {
  display: grid;
  gap: 2.5rem;
}
.result-case {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.result-case:nth-child(even) .result-case-media { order: 2; }
.result-case-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.result-case-media.single { grid-template-columns: 1fr; }
.result-case-media figure {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 5;
  background: var(--ink-soft);
}
.result-case-media.single figure { aspect-ratio: 16 / 11; }
.result-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-case-media figcaption {
  position: absolute;
  inset: auto auto 0.7rem 0.7rem;
  background: rgba(7, 16, 24, 0.75);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}
.result-case-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.5rem 0 0.6rem;
  letter-spacing: -0.02em;
  font-weight: 450;
}
.result-case-copy p {
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.ba-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Journey */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.journey-step {
  padding: 1.5rem 1rem 1.5rem 0;
  border-top: 1px solid var(--line);
}
.journey-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--teal);
  margin-bottom: 0.9rem;
  line-height: 1;
}
.journey-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.journey-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq-list { display: grid; gap: 0.65rem; max-width: 46rem; }
.faq-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.2rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}

/* Contact */
.page-hero-compact {
  padding-bottom: 1.5rem;
}
.page-hero-compact h1 {
  max-width: 14ch;
}
.section-form-first {
  padding-top: 0.5rem;
}
.form-shell {
  max-width: 36rem;
}
.form-alt {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
}
.form-alt a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.contact-card {
  background: var(--dark);
  color: #fff;
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.contact-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 0.7rem 0 0.9rem;
  letter-spacing: -0.02em;
}
.contact-card p { color: var(--on-dark); margin-bottom: 1.5rem; }
.contact-links { display: grid; gap: 0.85rem; }
.contact-links a,
.contact-links div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-links small {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.contact-form { display: grid; gap: 0.9rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: #fff;
  outline: none;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--teal); }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-success {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: rgba(15, 110, 106, 0.1);
  color: var(--teal-deep);
  border: 1px solid rgba(15, 110, 106, 0.25);
}
.form-success.is-visible { display: block; }

/* Doctor bio + press */
.section-muted {
  background:
    linear-gradient(180deg, rgba(15, 110, 106, 0.04), transparent 40%),
    #eef1f3;
}
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0.7rem 0 0.85rem;
}
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.bio-col h3 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.bio-timeline {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.bio-timeline li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.bio-timeline span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  padding-top: 0.1rem;
}
.bio-timeline p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.45;
}
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}
.spec-row li {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
}
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.press-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: start;
  cursor: pointer;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: inherit;
  font: inherit;
  padding: 0;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.press-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(11, 21, 32, 0.1);
}
.press-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.6rem;
  height: 3.6rem;
  margin: -1.8rem 0 0 -1.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(7, 16, 24, 0.28);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.25s;
}
.press-play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.95rem;
  border-color: transparent transparent transparent var(--teal-deep);
  margin-left: 0.2rem;
}
.press-card:hover .press-play {
  transform: scale(1.08);
  background: var(--teal);
}
.press-card:hover .press-play::before {
  border-color: transparent transparent transparent #fff;
}
.video-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(56rem, calc(100vw - 1.5rem));
  width: 100%;
}
.video-modal::backdrop {
  background: rgba(7, 16, 24, 0.82);
  backdrop-filter: blur(6px);
}
.video-modal-frame {
  position: relative;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}
.video-modal-embed {
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-modal-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.video-modal-close:hover {
  background: #fff;
}
html[dir="rtl"] .video-modal-close {
  right: auto;
  left: 0.65rem;
}
html[dir="rtl"] .press-play::before {
  margin-left: 0;
  margin-right: 0.2rem;
  border-width: 0.55rem 0.95rem 0.55rem 0;
  border-color: transparent var(--teal-deep) transparent transparent;
}
html[dir="rtl"] .press-card:hover .press-play::before {
  border-color: transparent #fff transparent transparent;
}
.press-media {
  position: relative;
  aspect-ratio: 700 / 450;
  background: var(--ink);
  overflow: hidden;
}
.press-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), opacity 0.35s;
}
.press-card:hover .press-media img {
  transform: scale(1.05);
  opacity: 0.88;
}
.press-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 16, 24, 0.72);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.press-body {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
}
.press-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 500;
}
.press-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.press-watch {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
html[dir="rtl"] .press-tag {
  left: auto;
  right: 0.85rem;
}
html[dir="rtl"] .bio-timeline li {
  direction: rtl;
}

/* Page hero */
.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 3.25rem;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(15, 110, 106, 0.12), transparent 60%),
    linear-gradient(180deg, #eef2f4, var(--bg));
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0.8rem 0;
  max-width: 12ch;
  font-weight: 450;
}
.page-hero p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, rgba(7, 16, 24, 0.92), rgba(7, 16, 24, 0.78)),
    url("../images/doctor-surgery.webp") center/cover;
  color: #fff;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  max-width: 16ch;
  margin: 0.7rem auto 0.9rem;
  letter-spacing: -0.03em;
}
.cta-band p {
  color: var(--on-dark);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}
.cta-band .btn-group { justify-content: center; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  padding: 3.5rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand p { margin-top: 0.9rem; max-width: 22rem; font-size: 0.92rem; }
.footer-col h4 {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-col a {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--sand); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: var(--on-dark-soft);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }

/* RTL */
html[dir="rtl"] body {
  font-family: "Outfit", "Noto Sans Arabic", system-ui, sans-serif;
}
html[dir="rtl"] .eyebrow::before { order: 2; }
html[dir="rtl"] .split-list li,
html[dir="rtl"] .method-row {
  direction: rtl;
}
html[dir="rtl"] .featured-media figcaption,
html[dir="rtl"] .result-case-media figcaption {
  left: auto;
  right: 0.85rem;
  inset: auto 0.7rem 0.7rem auto;
}
html[lang="ar"] body { line-height: 1.75; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(246, 247, 249, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a,
  .site-header.is-scrolled .nav-links a,
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    font-size: 1.25rem;
    color: var(--ink) !important;
  }
  .nav-toggle { display: block; }

  .split,
  .featured-result,
  .result-case,
  .contact-grid,
  .footer-grid,
  .journey-steps,
  .bio-grid {
    grid-template-columns: 1fr;
  }
  .press-grid {
    grid-template-columns: 1fr 1fr;
  }
  .result-case:nth-child(even) .result-case-media { order: 0; }
  .method-row {
    grid-template-columns: 3rem 1fr;
  }
  .method-row .tag {
    grid-column: 2;
    padding-top: 0;
  }
  .form-row { grid-template-columns: 1fr; }
  .featured-media figure { min-height: 16rem; }
  .split-visual { min-height: 22rem; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 1.25rem, var(--max)); }
  .hero { align-items: center; padding-bottom: 3rem; }
  .brand-hero { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-meta { gap: 1.1rem; }
  .featured-media,
  .result-case-media,
  .press-grid { grid-template-columns: 1fr; }
  .featured-media figure,
  .result-case-media figure { min-height: 14rem; aspect-ratio: 5 / 4; }
  .bio-timeline li { grid-template-columns: 3.75rem 1fr; gap: 0.75rem; }
}

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